@be-link/tfs-cli-nodejs 0.0.138 → 0.0.139
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 +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/tfs/modules/touristMaterial/service.d.ts +8 -0
- package/tfs/modules/touristMaterial/service.js +19 -0
- package/tfs/modules/touristMaterial/service.js.map +1 -0
- package/tfs/modules/touristMaterial/types.d.ts +16 -0
- package/tfs/modules/touristMaterial/types.js +3 -0
- package/tfs/modules/touristMaterial/types.js.map +1 -0
package/index.d.ts
CHANGED
|
@@ -12,5 +12,6 @@ import tradeOrderCouponCodeService from './tfs/modules/tradeOrderCouponCode/serv
|
|
|
12
12
|
import groupBookingService from './tfs/modules/groupBooking/service';
|
|
13
13
|
import fulfillInfoService from './tfs/modules/fulfillInfo/service';
|
|
14
14
|
import insuranceRecordService from './tfs/modules/insuranceRecord/service';
|
|
15
|
+
import touristMaterialService from './tfs/modules/touristMaterial/service';
|
|
15
16
|
/** 业务模块 */
|
|
16
|
-
export { BizError, rescheduleService, tourTeamService, tourGroupService, tourismInfoService, itineraryService, departureGroupService, departureGroupSearchService, contractService, jobService, tradeOrderCouponCodeService, groupBookingService, fulfillInfoService, insuranceRecordService, };
|
|
17
|
+
export { BizError, rescheduleService, tourTeamService, tourGroupService, tourismInfoService, itineraryService, departureGroupService, departureGroupSearchService, contractService, jobService, tradeOrderCouponCodeService, groupBookingService, fulfillInfoService, insuranceRecordService, touristMaterialService, };
|
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.insuranceRecordService = exports.fulfillInfoService = exports.groupBookingService = exports.tradeOrderCouponCodeService = exports.jobService = exports.contractService = exports.departureGroupSearchService = exports.departureGroupService = exports.itineraryService = exports.tourismInfoService = exports.tourGroupService = exports.tourTeamService = exports.rescheduleService = exports.BizError = void 0;
|
|
6
|
+
exports.touristMaterialService = exports.insuranceRecordService = exports.fulfillInfoService = exports.groupBookingService = exports.tradeOrderCouponCodeService = exports.jobService = exports.contractService = exports.departureGroupSearchService = 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"));
|
|
@@ -32,4 +32,6 @@ const service_12 = __importDefault(require("./tfs/modules/fulfillInfo/service"))
|
|
|
32
32
|
exports.fulfillInfoService = service_12.default;
|
|
33
33
|
const service_13 = __importDefault(require("./tfs/modules/insuranceRecord/service"));
|
|
34
34
|
exports.insuranceRecordService = service_13.default;
|
|
35
|
+
const service_14 = __importDefault(require("./tfs/modules/touristMaterial/service"));
|
|
36
|
+
exports.touristMaterialService = service_14.default;
|
|
35
37
|
//# 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;AAkBtC,mBAlBK,kBAAQ,CAkBL;AAjBV,+EAAgE;AAkB9D,4BAlBK,iBAAiB,CAkBL;AAjBnB,6EAA4D;AAkB1D,0BAlBK,iBAAe,CAkBL;AAjBjB,8EAA8D;AAkB5D,2BAlBK,iBAAgB,CAkBL;AAjBlB,gFAAkE;AAkBhE,6BAlBK,iBAAkB,CAkBL;AAjBpB,8EAA8D;AAkB5D,2BAlBK,iBAAgB,CAkBL;AAjBlB,mFAAwE;AAkBtE,gCAlBK,iBAAqB,CAkBL;AAjBvB,6FAAwF;AAkBtF,sCAlBK,iBAA2B,CAkBL;AAjB7B,6EAA4D;AAkB1D,0BAlBK,iBAAe,CAkBL;AAjBjB,wEAAkD;AAkBhD,qBAlBK,iBAAU,CAkBL;AAjBZ,0FAAoF;AAkBlF,sCAlBK,kBAA2B,CAkBL;AAjB7B,kFAAoE;AAkBlE,8BAlBK,kBAAmB,CAkBL;AAjBrB,iFAAkE;AAkBhE,6BAlBK,kBAAkB,CAkBL;AAjBpB,qFAA0E;AAkBxE,iCAlBK,kBAAsB,CAkBL;AAjBxB,qFAA0E;AAkBxE,iCAlBK,kBAAsB,CAkBL"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@be-link/tfs-cli-nodejs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.139",
|
|
4
4
|
"description": "交易履约服务Nodejs客户端",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"axios": "0.27.2",
|
|
40
40
|
"uuid": "^9.0.1",
|
|
41
|
-
"vitality-meta": "1.0.
|
|
41
|
+
"vitality-meta": "1.0.196"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|
|
44
44
|
"node": ">18"
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import BaseService from '../baseService';
|
|
2
|
+
import { Service } from './types';
|
|
3
|
+
declare class OrderTouristMaterialService extends BaseService implements Service.Controller {
|
|
4
|
+
protected prefixUrl: string;
|
|
5
|
+
create(request: Service.Request.ICreate): Promise<void>;
|
|
6
|
+
}
|
|
7
|
+
declare const touristMaterialService: OrderTouristMaterialService;
|
|
8
|
+
export default touristMaterialService;
|
|
@@ -0,0 +1,19 @@
|
|
|
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 OrderTouristMaterialService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/tourist-material';
|
|
12
|
+
}
|
|
13
|
+
create(request) {
|
|
14
|
+
return (0, http_1.callApi)(this.getApiUrl(this.create), request);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
const touristMaterialService = new OrderTouristMaterialService();
|
|
18
|
+
exports.default = touristMaterialService;
|
|
19
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/tfs/modules/touristMaterial/service.ts"],"names":[],"mappings":";;;;;AAAA,qCAAoC;AACpC,iEAAwC;AAGxC,MAAM,2BAA4B,SAAQ,qBAAW;IAArD;;QACY,cAAS,GAAG,mBAAmB,CAAA;IAK3C,CAAC;IAHC,MAAM,CAAC,OAAgC;QACrC,OAAO,IAAA,cAAO,EAA+B,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,CAAA;IACpF,CAAC;CACF;AAED,MAAM,sBAAsB,GAAG,IAAI,2BAA2B,EAAE,CAAA;AAEhE,kBAAe,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as PosEnums from 'vitality-meta/enums/pos';
|
|
2
|
+
export declare namespace Service {
|
|
3
|
+
namespace Request {
|
|
4
|
+
interface ICreate {
|
|
5
|
+
orderId: string;
|
|
6
|
+
itemId: string;
|
|
7
|
+
touristMaterialInfos: Record<string, PosEnums.TouristMaterialVisaTypeEnum>;
|
|
8
|
+
adjustmentOrderId?: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
namespace Response { }
|
|
12
|
+
interface Controller {
|
|
13
|
+
/** 创建出行人材料记录 */
|
|
14
|
+
create(request: Request.ICreate): Promise<void>;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/tfs/modules/touristMaterial/types.ts"],"names":[],"mappings":""}
|