@be-link/tfs-cli-nodejs 0.0.17 → 0.0.19
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 +1 -1
- package/tfs/modules/tourGroup/service.d.ts +1 -0
- package/tfs/modules/tourGroup/service.js +3 -0
- package/tfs/modules/tourGroup/service.js.map +1 -1
- package/tfs/modules/tourGroup/type.d.ts +11 -0
- package/tfs/modules/tourTeam/service.d.ts +2 -0
- package/tfs/modules/tourTeam/service.js +6 -0
- package/tfs/modules/tourTeam/service.js.map +1 -1
- package/tfs/modules/tourTeam/type.d.ts +19 -2
package/package.json
CHANGED
|
@@ -9,6 +9,7 @@ declare class TourGroupService extends BaseService implements TourGroup.Controll
|
|
|
9
9
|
updateGroup(param: TourGroup.Request.updateGroupParam): Promise<void>;
|
|
10
10
|
batchCreateGroup(request: TourGroup.Request.batchCreateGroupParam): Promise<TourGroup.Response.batchCreateGroupRes>;
|
|
11
11
|
batchUpdateGroup(request: TourGroup.Request.batchUpdateGroupParam[]): Promise<void>;
|
|
12
|
+
queryGroupInfoByOrderIds(request: TourGroup.Request.queryGroupInfoByOrderIdsParam): Promise<TourGroup.Response.queryGroupInfoByOrderIdsRes>;
|
|
12
13
|
}
|
|
13
14
|
declare const tourGroupService: TourGroupService;
|
|
14
15
|
export default tourGroupService;
|
|
@@ -31,6 +31,9 @@ class TourGroupService extends baseService_1.default {
|
|
|
31
31
|
batchUpdateGroup(request) {
|
|
32
32
|
return (0, http_1.callApi)(this.getApiUrl(this.batchUpdateGroup), request);
|
|
33
33
|
}
|
|
34
|
+
queryGroupInfoByOrderIds(request) {
|
|
35
|
+
return (0, http_1.callApi)(this.getApiUrl(this.queryGroupInfoByOrderIds), request);
|
|
36
|
+
}
|
|
34
37
|
}
|
|
35
38
|
const tourGroupService = new TourGroupService();
|
|
36
39
|
exports.default = tourGroupService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/tfs/modules/tourGroup/service.ts"],"names":[],"mappings":";;;;;AAAA,qCAAoC;AACpC,iEAAwC;AAGxC,MAAM,gBAAiB,SAAQ,qBAAW;IAA1C;;QACY,cAAS,GAAW,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/tfs/modules/tourGroup/service.ts"],"names":[],"mappings":";;;;;AAAA,qCAAoC;AACpC,iEAAwC;AAGxC,MAAM,gBAAiB,SAAQ,qBAAW;IAA1C;;QACY,cAAS,GAAW,aAAa,CAAA;IAqC7C,CAAC;IAnCC,yBAAyB,CACvB,KAAuD;QAEvD,OAAO,IAAA,cAAO,EAAoD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,yBAAyB,CAAC,EAAE,KAAK,CAAC,CAAA;IAC1H,CAAC;IAED,WAAW,CAAC,KAAyC;QACnD,OAAO,IAAA,cAAO,EAAsC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,KAAK,CAAC,CAAA;IAC9F,CAAC;IAED,cAAc,CAAC,OAA8C;QAC3D,OAAO,IAAA,cAAO,EAAyC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,CAAA;IACtG,CAAC;IAED,sCAAsC,CAAC,KAAkE;QACvG,OAAO,IAAA,cAAO,EAAiE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,sCAAsC,CAAC,EAAE,KAAK,CAAC,CAAA;IACpJ,CAAC;IAED,WAAW,CAAC,KAAyC;QACnD,OAAO,IAAA,cAAO,EAAsC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,KAAK,CAAC,CAAA;IAC9F,CAAC;IAED,gBAAgB,CAAC,OAAgD;QAC/D,OAAO,IAAA,cAAO,EAA2C,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC,CAAA;IAC1G,CAAC;IAED,gBAAgB,CAAC,OAAkD;QACjE,OAAO,IAAA,cAAO,EAA2C,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC,CAAA;IAC1G,CAAC;IAED,wBAAwB,CAAC,OAAwD;QAC/E,OAAO,IAAA,cAAO,EAAmD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,wBAAwB,CAAC,EAAE,OAAO,CAAC,CAAA;IAC1H,CAAC;CAGF;AAED,MAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAA;AAE/C,kBAAe,gBAAgB,CAAA"}
|
|
@@ -27,6 +27,9 @@ export declare namespace TourGroup {
|
|
|
27
27
|
teamIdList: string[];
|
|
28
28
|
orderIdList: string[];
|
|
29
29
|
}
|
|
30
|
+
interface queryGroupInfoByOrderIdsParam {
|
|
31
|
+
orderIds: string[];
|
|
32
|
+
}
|
|
30
33
|
}
|
|
31
34
|
namespace Response {
|
|
32
35
|
interface queryOrderIdListByGroupIdRes {
|
|
@@ -40,6 +43,8 @@ export declare namespace TourGroup {
|
|
|
40
43
|
id: string;
|
|
41
44
|
orderList: string[];
|
|
42
45
|
}[];
|
|
46
|
+
itemId: string;
|
|
47
|
+
fulfillAt: number;
|
|
43
48
|
}
|
|
44
49
|
interface queryGroupInfoRes {
|
|
45
50
|
unSplit: {
|
|
@@ -83,6 +88,11 @@ export declare namespace TourGroup {
|
|
|
83
88
|
}[];
|
|
84
89
|
};
|
|
85
90
|
}
|
|
91
|
+
interface queryGroupInfoByOrderIdsRes {
|
|
92
|
+
[orderId: string]: {
|
|
93
|
+
groupId: string;
|
|
94
|
+
};
|
|
95
|
+
}
|
|
86
96
|
}
|
|
87
97
|
interface Controller {
|
|
88
98
|
queryOrderIdListByGroupId(param: Request.queryOrderIdListByGroupIdParam): Promise<Response.queryOrderIdListByGroupIdRes>;
|
|
@@ -92,5 +102,6 @@ export declare namespace TourGroup {
|
|
|
92
102
|
queryGroupInfo(request: Request.queryGroupInfoParam): Promise<Response.queryGroupInfoRes>;
|
|
93
103
|
batchCreateGroup(request: Request.batchCreateGroupParam): Promise<Response.batchCreateGroupRes>;
|
|
94
104
|
batchUpdateGroup(request: Request.batchUpdateGroupParam[]): Promise<void>;
|
|
105
|
+
queryGroupInfoByOrderIds(request: Request.queryGroupInfoByOrderIdsParam): Promise<Response.queryGroupInfoByOrderIdsRes>;
|
|
95
106
|
}
|
|
96
107
|
}
|
|
@@ -7,6 +7,8 @@ declare class TourTeamService extends BaseService implements TourTeam.Controller
|
|
|
7
7
|
deleteTourTeam(param: TourTeam.Request.deleteTourTeamParam): Promise<void>;
|
|
8
8
|
queryTeamInfoByOrderId(param: TourTeam.Request.queryTeamInfoByOrderIdParam): Promise<TourTeam.Response.queryTeamInfoByOrderIdRes>;
|
|
9
9
|
setTeamLeader(param: TourTeam.Request.setTeamLeaderParam): Promise<void>;
|
|
10
|
+
queryTeamsByOrderIds(param: TourTeam.Request.queryTeamsByOrderIdsParam): Promise<TourTeam.Response.queryTeamsByOrderIdsRes>;
|
|
11
|
+
queryTeamTouristByOrderId(param: TourTeam.Request.queryTeamTouristByOrderIdParam): Promise<TourTeam.Response.queryTeamTouristByOrderIdRes>;
|
|
10
12
|
updateTourTeam(param: TourTeam.Request.updateTourTeamParam): Promise<void>;
|
|
11
13
|
upsertOrderToTeam(param: TourTeam.Request.upsertOrderToTeamParam): Promise<void>;
|
|
12
14
|
}
|
|
@@ -25,6 +25,12 @@ class TourTeamService extends baseService_1.default {
|
|
|
25
25
|
setTeamLeader(param) {
|
|
26
26
|
return (0, http_1.callApi)(this.getApiUrl(this.setTeamLeader), param);
|
|
27
27
|
}
|
|
28
|
+
queryTeamsByOrderIds(param) {
|
|
29
|
+
return (0, http_1.callApi)(this.getApiUrl(this.queryTeamsByOrderIds), param);
|
|
30
|
+
}
|
|
31
|
+
queryTeamTouristByOrderId(param) {
|
|
32
|
+
return (0, http_1.callApi)(this.getApiUrl(this.queryTeamTouristByOrderId), param);
|
|
33
|
+
}
|
|
28
34
|
updateTourTeam(param) {
|
|
29
35
|
return (0, http_1.callApi)(this.getApiUrl(this.updateTourTeam), param);
|
|
30
36
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/tfs/modules/tourTeam/service.ts"],"names":[],"mappings":";;;;;AAAA,qCAAoC;AACpC,iEAAwC;AAGxC,MAAM,eAAgB,SAAQ,qBAAW;IAAzC;;QACY,cAAS,GAAW,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/tfs/modules/tourTeam/service.ts"],"names":[],"mappings":";;;;;AAAA,qCAAoC;AACpC,iEAAwC;AAGxC,MAAM,eAAgB,SAAQ,qBAAW;IAAzC;;QACY,cAAS,GAAW,YAAY,CAAA;IAsC5C,CAAC;IApCC,aAAa,CAAC,OAA4C;QACxD,OAAO,IAAA,cAAO,EAAuC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,OAAO,CAAC,CAAA;IACnG,CAAC;IAED,cAAc,CAAC,KAA2C;QACxD,OAAO,IAAA,cAAO,EAAwC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,KAAK,CAAC,CAAA;IACnG,CAAC;IAED,cAAc,CAAC,KAA2C;QACxD,OAAO,IAAA,cAAO,EAAwC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,KAAK,CAAC,CAAA;IACnG,CAAC;IAED,sBAAsB,CAAC,KAAmD;QACxE,OAAO,IAAA,cAAO,EAAgD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,sBAAsB,CAAC,EAAE,KAAK,CAAC,CAAA;IACnH,CAAC;IAED,aAAa,CAAC,KAA0C;QACtD,OAAO,IAAA,cAAO,EAAuC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,KAAK,CAAC,CAAA;IACjG,CAAC;IAED,oBAAoB,CAAC,KAAiD;QACpE,OAAO,IAAA,cAAO,EAA8C,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,oBAAoB,CAAC,EAAE,KAAK,CAAC,CAAA;IAC/G,CAAC;IAED,yBAAyB,CAAC,KAAsD;QAC9E,OAAO,IAAA,cAAO,EAAmD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,yBAAyB,CAAC,EAAE,KAAK,CAAC,CAAA;IACzH,CAAC;IAED,cAAc,CAAC,KAA2C;QACxD,OAAO,IAAA,cAAO,EAAwC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,KAAK,CAAC,CAAA;IACnG,CAAC;IAED,iBAAiB,CAAC,KAA8C;QAC9D,OAAO,IAAA,cAAO,EAA2C,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAAE,KAAK,CAAC,CAAA;IACzG,CAAC;CAEF;AAED,MAAM,eAAe,GAAG,IAAI,eAAe,EAAE,CAAA;AAE7C,kBAAe,eAAe,CAAA"}
|
|
@@ -29,6 +29,9 @@ export declare namespace TourTeam {
|
|
|
29
29
|
name: string;
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
+
interface queryTeamsByOrderIdsParam {
|
|
33
|
+
orderIdList: string[];
|
|
34
|
+
}
|
|
32
35
|
interface upsertOrderToTeamParam {
|
|
33
36
|
teamId?: string;
|
|
34
37
|
orderIdList: string[];
|
|
@@ -40,6 +43,9 @@ export declare namespace TourTeam {
|
|
|
40
43
|
itemId: string;
|
|
41
44
|
fulfillTime: number;
|
|
42
45
|
}
|
|
46
|
+
interface queryTeamTouristByOrderIdParam {
|
|
47
|
+
orderId: string;
|
|
48
|
+
}
|
|
43
49
|
}
|
|
44
50
|
namespace Response {
|
|
45
51
|
interface queryTeamInfoRes {
|
|
@@ -51,7 +57,7 @@ export declare namespace TourTeam {
|
|
|
51
57
|
};
|
|
52
58
|
orders: {
|
|
53
59
|
id: string;
|
|
54
|
-
|
|
60
|
+
tourists: {
|
|
55
61
|
name: string;
|
|
56
62
|
mobile: string;
|
|
57
63
|
}[];
|
|
@@ -59,7 +65,7 @@ export declare namespace TourTeam {
|
|
|
59
65
|
}[];
|
|
60
66
|
orderList: {
|
|
61
67
|
id: string;
|
|
62
|
-
|
|
68
|
+
tourists: {
|
|
63
69
|
name: string;
|
|
64
70
|
mobile: string;
|
|
65
71
|
}[];
|
|
@@ -70,6 +76,15 @@ export declare namespace TourTeam {
|
|
|
70
76
|
leaderInfo: any;
|
|
71
77
|
orders: string[];
|
|
72
78
|
}
|
|
79
|
+
interface queryTeamsByOrderIdsRes {
|
|
80
|
+
[tradeOrderId: string]: string;
|
|
81
|
+
}
|
|
82
|
+
interface queryTeamTouristByOrderIdRes {
|
|
83
|
+
tourists: {
|
|
84
|
+
name: string;
|
|
85
|
+
mobile: string;
|
|
86
|
+
}[];
|
|
87
|
+
}
|
|
73
88
|
}
|
|
74
89
|
interface Controller {
|
|
75
90
|
queryTeamInfo(param: Request.queryTeamInfoParam): Promise<Response.queryTeamInfoRes>;
|
|
@@ -79,5 +94,7 @@ export declare namespace TourTeam {
|
|
|
79
94
|
upsertOrderToTeam(param: Request.upsertOrderToTeamParam): Promise<void>;
|
|
80
95
|
deleteTourTeam(param: Request.deleteTourTeamParam): Promise<void>;
|
|
81
96
|
setTeamLeader(param: Request.setTeamLeaderParam): Promise<void>;
|
|
97
|
+
queryTeamsByOrderIds(param: Request.queryTeamsByOrderIdsParam): Promise<Response.queryTeamsByOrderIdsRes>;
|
|
98
|
+
queryTeamTouristByOrderId(param: Request.queryTeamTouristByOrderIdParam): Promise<Response.queryTeamTouristByOrderIdRes>;
|
|
82
99
|
}
|
|
83
100
|
}
|