@be-link/tfs-cli-nodejs 0.0.130 → 0.0.131
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
|
@@ -4,8 +4,6 @@ declare class TourMaterialService extends BaseService implements ItemTourMateria
|
|
|
4
4
|
protected prefixUrl: string;
|
|
5
5
|
getTourMaterial(request: ItemTourMaterial.Request.IGetItemTourMaterial): Promise<ItemTourMaterial.Response.IGetItemTourMaterial>;
|
|
6
6
|
updateTourMaterial(request: ItemTourMaterial.Request.IUpdateItemTourMateria): Promise<void>;
|
|
7
|
-
disableTourMaterial(request: ItemTourMaterial.Request.IGetItemTourMaterial): Promise<void>;
|
|
8
|
-
queryTourMaterialItems(request: ItemTourMaterial.Request.IQueryTourMaterialItems): Promise<ItemTourMaterial.Response.IQueryTourMaterialItems>;
|
|
9
7
|
}
|
|
10
8
|
declare const tourMaterialService: TourMaterialService;
|
|
11
9
|
export default tourMaterialService;
|
|
@@ -16,12 +16,6 @@ class TourMaterialService extends baseService_1.default {
|
|
|
16
16
|
updateTourMaterial(request) {
|
|
17
17
|
return (0, http_1.callApi)(this.getApiUrl(this.updateTourMaterial), request);
|
|
18
18
|
}
|
|
19
|
-
disableTourMaterial(request) {
|
|
20
|
-
return (0, http_1.callApi)(this.getApiUrl(this.disableTourMaterial), request);
|
|
21
|
-
}
|
|
22
|
-
queryTourMaterialItems(request) {
|
|
23
|
-
return (0, http_1.callApi)(this.getApiUrl(this.queryTourMaterialItems), request);
|
|
24
|
-
}
|
|
25
19
|
}
|
|
26
20
|
const tourMaterialService = new TourMaterialService();
|
|
27
21
|
exports.default = tourMaterialService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/tfs/modules/tourMaterial/service.ts"],"names":[],"mappings":";;;;;AAAA,qCAAoC;AACpC,iEAAwC;AAGxC,MAAM,mBAAoB,SAAQ,qBAAW;IAA7C;;QACY,cAAS,GAAW,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/tfs/modules/tourMaterial/service.ts"],"names":[],"mappings":";;;;;AAAA,qCAAoC;AACpC,iEAAwC;AAGxC,MAAM,mBAAoB,SAAQ,qBAAW;IAA7C;;QACY,cAAS,GAAW,gBAAgB,CAAA;IAQhD,CAAC;IANC,eAAe,CAAC,OAAsD;QACpE,OAAO,IAAA,cAAO,EAAiD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC,CAAA;IAC/G,CAAC;IACD,kBAAkB,CAAC,OAAwD;QACzE,OAAO,IAAA,cAAO,EAAoD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,kBAAkB,CAAC,EAAC,OAAO,CAAC,CAAA;IACpH,CAAC;CACF;AAED,MAAM,mBAAmB,GAAG,IAAI,mBAAmB,EAAE,CAAA;AAErD,kBAAe,mBAAmB,CAAA"}
|
|
@@ -5,25 +5,15 @@ export declare namespace ItemTourMaterial {
|
|
|
5
5
|
/** 商品ID */
|
|
6
6
|
itemId: string;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
orderId: string;
|
|
8
|
+
interface IUpdateItemTourMateria extends Fulfill.Entity.TourMaterial {
|
|
9
|
+
/** 列表2 */
|
|
10
|
+
items2?: Fulfill.Entity.TourMaterialItem[];
|
|
12
11
|
}
|
|
13
12
|
}
|
|
14
13
|
namespace Response {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
itemId: string;
|
|
19
|
-
/** 出行材料类型 */
|
|
20
|
-
materialType: string;
|
|
21
|
-
/** 代办签证清单 */
|
|
22
|
-
agentVisaItems?: Fulfill.Entity.TourMaterialItem[];
|
|
23
|
-
/** 自备签证清单 */
|
|
24
|
-
selfVisaItems?: Fulfill.Entity.TourMaterialItem[];
|
|
25
|
-
/** 其他材料清单 */
|
|
26
|
-
otherItems?: Fulfill.Entity.TourMaterialItem[];
|
|
14
|
+
interface IGetItemTourMaterial extends Fulfill.Entity.TourMaterial {
|
|
15
|
+
/** 列表2 */
|
|
16
|
+
items2?: Fulfill.Entity.TourMaterialItem[];
|
|
27
17
|
}
|
|
28
18
|
}
|
|
29
19
|
interface Controller {
|
|
@@ -31,9 +21,5 @@ export declare namespace ItemTourMaterial {
|
|
|
31
21
|
getTourMaterial(request: Request.IGetItemTourMaterial): Promise<Response.IGetItemTourMaterial>;
|
|
32
22
|
/** 更新商品出行材料 */
|
|
33
23
|
updateTourMaterial(request: Request.IUpdateItemTourMateria): Promise<void>;
|
|
34
|
-
/** 关闭商品出行材料 */
|
|
35
|
-
disableTourMaterial(request: Request.IGetItemTourMaterial): Promise<void>;
|
|
36
|
-
/** 查看材料清单(快照) */
|
|
37
|
-
queryTourMaterialItems(request: Request.IQueryTourMaterialItems): Promise<Response.IQueryTourMaterialItems>;
|
|
38
24
|
}
|
|
39
25
|
}
|