@be-link/tfs-cli-nodejs 0.0.19 → 0.0.21
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/enums/GourpBizType.d.ts +6 -0
- package/tfs/enums/GourpBizType.js +3 -0
- package/tfs/enums/GourpBizType.js.map +1 -0
- package/tfs/modules/tourGroup/type.d.ts +9 -18
- package/tfs/modules/tourTeam/service.d.ts +1 -1
- package/tfs/modules/tourTeam/service.js +2 -2
- package/tfs/modules/tourTeam/service.js.map +1 -1
- package/tfs/modules/tourTeam/type.d.ts +12 -5
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GourpBizType.js","sourceRoot":"","sources":["../../../src/tfs/enums/GourpBizType.ts"],"names":[],"mappings":""}
|
|
@@ -24,8 +24,10 @@ export declare namespace TourGroup {
|
|
|
24
24
|
}
|
|
25
25
|
interface batchUpdateGroupParam {
|
|
26
26
|
groupId: string;
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
idList: {
|
|
28
|
+
id: string;
|
|
29
|
+
type: string;
|
|
30
|
+
}[];
|
|
29
31
|
}
|
|
30
32
|
interface queryGroupInfoByOrderIdsParam {
|
|
31
33
|
orderIds: string[];
|
|
@@ -48,8 +50,9 @@ export declare namespace TourGroup {
|
|
|
48
50
|
}
|
|
49
51
|
interface queryGroupInfoRes {
|
|
50
52
|
unSplit: {
|
|
51
|
-
|
|
53
|
+
resList: {
|
|
52
54
|
id: string;
|
|
55
|
+
type: 'team' | 'order';
|
|
53
56
|
orderList: {
|
|
54
57
|
id: string;
|
|
55
58
|
tourists: {
|
|
@@ -58,17 +61,12 @@ export declare namespace TourGroup {
|
|
|
58
61
|
};
|
|
59
62
|
}[];
|
|
60
63
|
};
|
|
61
|
-
orderList: {
|
|
62
|
-
id: string;
|
|
63
|
-
tourists: {
|
|
64
|
-
name: string;
|
|
65
|
-
mobile: string;
|
|
66
|
-
};
|
|
67
|
-
}[];
|
|
68
64
|
}[];
|
|
69
65
|
split: {
|
|
70
66
|
group: {
|
|
71
|
-
|
|
67
|
+
id: string;
|
|
68
|
+
limitCount: number;
|
|
69
|
+
resList: {
|
|
72
70
|
id: string;
|
|
73
71
|
orderList: {
|
|
74
72
|
id: string;
|
|
@@ -78,13 +76,6 @@ export declare namespace TourGroup {
|
|
|
78
76
|
};
|
|
79
77
|
}[];
|
|
80
78
|
}[];
|
|
81
|
-
orderList: {
|
|
82
|
-
id: string;
|
|
83
|
-
tourists: {
|
|
84
|
-
name: string;
|
|
85
|
-
mobile: string;
|
|
86
|
-
};
|
|
87
|
-
}[];
|
|
88
79
|
}[];
|
|
89
80
|
};
|
|
90
81
|
}
|
|
@@ -8,7 +8,7 @@ declare class TourTeamService extends BaseService implements TourTeam.Controller
|
|
|
8
8
|
queryTeamInfoByOrderId(param: TourTeam.Request.queryTeamInfoByOrderIdParam): Promise<TourTeam.Response.queryTeamInfoByOrderIdRes>;
|
|
9
9
|
setTeamLeader(param: TourTeam.Request.setTeamLeaderParam): Promise<void>;
|
|
10
10
|
queryTeamsByOrderIds(param: TourTeam.Request.queryTeamsByOrderIdsParam): Promise<TourTeam.Response.queryTeamsByOrderIdsRes>;
|
|
11
|
-
|
|
11
|
+
queryTeamTouristByOrderIds(param: TourTeam.Request.queryTeamTouristByOrderIdsParam): Promise<TourTeam.Response.queryTeamTouristByOrderIdsRes>;
|
|
12
12
|
updateTourTeam(param: TourTeam.Request.updateTourTeamParam): Promise<void>;
|
|
13
13
|
upsertOrderToTeam(param: TourTeam.Request.upsertOrderToTeamParam): Promise<void>;
|
|
14
14
|
}
|
|
@@ -28,8 +28,8 @@ class TourTeamService extends baseService_1.default {
|
|
|
28
28
|
queryTeamsByOrderIds(param) {
|
|
29
29
|
return (0, http_1.callApi)(this.getApiUrl(this.queryTeamsByOrderIds), param);
|
|
30
30
|
}
|
|
31
|
-
|
|
32
|
-
return (0, http_1.callApi)(this.getApiUrl(this.
|
|
31
|
+
queryTeamTouristByOrderIds(param) {
|
|
32
|
+
return (0, http_1.callApi)(this.getApiUrl(this.queryTeamTouristByOrderIds), param);
|
|
33
33
|
}
|
|
34
34
|
updateTourTeam(param) {
|
|
35
35
|
return (0, http_1.callApi)(this.getApiUrl(this.updateTourTeam), param);
|
|
@@ -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;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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A;IAC3H,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"}
|
|
@@ -43,8 +43,8 @@ export declare namespace TourTeam {
|
|
|
43
43
|
itemId: string;
|
|
44
44
|
fulfillTime: number;
|
|
45
45
|
}
|
|
46
|
-
interface
|
|
47
|
-
|
|
46
|
+
interface queryTeamTouristByOrderIdsParam {
|
|
47
|
+
orderIds: string[];
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
namespace Response {
|
|
@@ -77,9 +77,16 @@ export declare namespace TourTeam {
|
|
|
77
77
|
orders: string[];
|
|
78
78
|
}
|
|
79
79
|
interface queryTeamsByOrderIdsRes {
|
|
80
|
-
[tradeOrderId: string]:
|
|
80
|
+
[tradeOrderId: string]: {
|
|
81
|
+
teamId: string;
|
|
82
|
+
leaderInfo: {
|
|
83
|
+
name: string;
|
|
84
|
+
mobile: string;
|
|
85
|
+
idCard: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
81
88
|
}
|
|
82
|
-
interface
|
|
89
|
+
interface queryTeamTouristByOrderIdsRes {
|
|
83
90
|
tourists: {
|
|
84
91
|
name: string;
|
|
85
92
|
mobile: string;
|
|
@@ -95,6 +102,6 @@ export declare namespace TourTeam {
|
|
|
95
102
|
deleteTourTeam(param: Request.deleteTourTeamParam): Promise<void>;
|
|
96
103
|
setTeamLeader(param: Request.setTeamLeaderParam): Promise<void>;
|
|
97
104
|
queryTeamsByOrderIds(param: Request.queryTeamsByOrderIdsParam): Promise<Response.queryTeamsByOrderIdsRes>;
|
|
98
|
-
|
|
105
|
+
queryTeamTouristByOrderIds(param: Request.queryTeamTouristByOrderIdsParam): Promise<Response.queryTeamTouristByOrderIdsRes>;
|
|
99
106
|
}
|
|
100
107
|
}
|