@be-link/tfs-cli-nodejs 0.0.214 → 0.0.216
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/job/service.d.ts +1 -1
- package/tfs/modules/job/service.js +2 -2
- package/tfs/modules/job/type.d.ts +1 -1
- package/tfs/modules/tencentAdAttribution/service.d.ts +8 -0
- package/tfs/modules/tencentAdAttribution/service.js +19 -0
- package/tfs/modules/tencentAdAttribution/service.js.map +1 -0
- package/tfs/modules/tencentAdAttribution/types.d.ts +25 -0
- package/tfs/modules/tencentAdAttribution/types.js +3 -0
- package/tfs/modules/tencentAdAttribution/types.js.map +1 -0
package/index.d.ts
CHANGED
|
@@ -13,5 +13,6 @@ 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
15
|
import touristMaterialService from './tfs/modules/touristMaterial/service';
|
|
16
|
+
import tencentAdAttributionService from './tfs/modules/tencentAdAttribution/service';
|
|
16
17
|
/** 业务模块 */
|
|
17
|
-
export { BizError, rescheduleService, tourTeamService, tourGroupService, tourismInfoService, itineraryService, departureGroupService, departureGroupSearchService, contractService, jobService, tradeOrderCouponCodeService, groupBookingService, fulfillInfoService, insuranceRecordService, touristMaterialService, };
|
|
18
|
+
export { BizError, rescheduleService, tourTeamService, tourGroupService, tourismInfoService, itineraryService, departureGroupService, departureGroupSearchService, contractService, jobService, tradeOrderCouponCodeService, groupBookingService, fulfillInfoService, insuranceRecordService, touristMaterialService, tencentAdAttributionService, };
|
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.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;
|
|
6
|
+
exports.tencentAdAttributionService = 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"));
|
|
@@ -34,4 +34,6 @@ const service_13 = __importDefault(require("./tfs/modules/insuranceRecord/servic
|
|
|
34
34
|
exports.insuranceRecordService = service_13.default;
|
|
35
35
|
const service_14 = __importDefault(require("./tfs/modules/touristMaterial/service"));
|
|
36
36
|
exports.touristMaterialService = service_14.default;
|
|
37
|
+
const service_15 = __importDefault(require("./tfs/modules/tencentAdAttribution/service"));
|
|
38
|
+
exports.tencentAdAttributionService = service_15.default;
|
|
37
39
|
//# 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;AAmBtC,mBAnBK,kBAAQ,CAmBL;AAlBV,+EAAgE;AAmB9D,4BAnBK,iBAAiB,CAmBL;AAlBnB,6EAA4D;AAmB1D,0BAnBK,iBAAe,CAmBL;AAlBjB,8EAA8D;AAmB5D,2BAnBK,iBAAgB,CAmBL;AAlBlB,gFAAkE;AAmBhE,6BAnBK,iBAAkB,CAmBL;AAlBpB,8EAA8D;AAmB5D,2BAnBK,iBAAgB,CAmBL;AAlBlB,mFAAwE;AAmBtE,gCAnBK,iBAAqB,CAmBL;AAlBvB,6FAAwF;AAmBtF,sCAnBK,iBAA2B,CAmBL;AAlB7B,6EAA4D;AAmB1D,0BAnBK,iBAAe,CAmBL;AAlBjB,wEAAkD;AAmBhD,qBAnBK,iBAAU,CAmBL;AAlBZ,0FAAoF;AAmBlF,sCAnBK,kBAA2B,CAmBL;AAlB7B,kFAAoE;AAmBlE,8BAnBK,kBAAmB,CAmBL;AAlBrB,iFAAkE;AAmBhE,6BAnBK,kBAAkB,CAmBL;AAlBpB,qFAA0E;AAmBxE,iCAnBK,kBAAsB,CAmBL;AAlBxB,qFAA0E;AAmBxE,iCAnBK,kBAAsB,CAmBL;AAlBxB,0FAAoF;AAmBlF,sCAnBK,kBAA2B,CAmBL"}
|
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.216",
|
|
4
4
|
"description": "交易履约服务Nodejs客户端",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "dev@8848top.com",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"axios": "0.27.2",
|
|
31
31
|
"uuid": "^9.0.1",
|
|
32
|
-
"vitality-meta": "1.0.
|
|
32
|
+
"vitality-meta": "1.0.209",
|
|
33
33
|
"@be-link/cs-cli-nodejs": "0.1.97"
|
|
34
34
|
},
|
|
35
35
|
"engines": {
|
|
@@ -21,7 +21,7 @@ declare class JobService extends BaseService implements Job.Controller {
|
|
|
21
21
|
jobUnapprovedDepartureOrderRemind(): Promise<void>;
|
|
22
22
|
supplierApprovalTouristMaterialRemind(): Promise<void>;
|
|
23
23
|
userVisaInterviewRemind(): Promise<void>;
|
|
24
|
-
|
|
24
|
+
userUnconfirmedVisaInterviewRemind(): Promise<void>;
|
|
25
25
|
}
|
|
26
26
|
declare const jobService: JobService;
|
|
27
27
|
export default jobService;
|
|
@@ -61,8 +61,8 @@ class JobService extends baseService_1.default {
|
|
|
61
61
|
userVisaInterviewRemind() {
|
|
62
62
|
return (0, http_1.callApi)(this.getApiUrl(this.userVisaInterviewRemind));
|
|
63
63
|
}
|
|
64
|
-
|
|
65
|
-
return (0, http_1.callApi)(this.getApiUrl(this.
|
|
64
|
+
userUnconfirmedVisaInterviewRemind() {
|
|
65
|
+
return (0, http_1.callApi)(this.getApiUrl(this.userUnconfirmedVisaInterviewRemind));
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
const jobService = new JobService();
|
|
@@ -36,6 +36,6 @@ export declare namespace Job {
|
|
|
36
36
|
/** 面签时间的 T-2 早上10点 提醒用户准备面签 (无论用户是否点确认,都提醒)*/
|
|
37
37
|
userVisaInterviewRemind(): Promise<void>;
|
|
38
38
|
/** 面签时间的 T+2 下午14点 用户面签还未点确认,飞书提醒计调和小管家 */
|
|
39
|
-
|
|
39
|
+
userUnconfirmedVisaInterviewRemind(): Promise<void>;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import BaseService from '../baseService';
|
|
2
|
+
import { Service } from './types';
|
|
3
|
+
declare class TencentAdAttributionService extends BaseService implements Service.Controller {
|
|
4
|
+
protected prefixUrl: string;
|
|
5
|
+
create(request: Service.Request.IReceiveDataCreate): Promise<void>;
|
|
6
|
+
}
|
|
7
|
+
declare const tencentAdAttributionService: TencentAdAttributionService;
|
|
8
|
+
export default tencentAdAttributionService;
|
|
@@ -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 TencentAdAttributionService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/tencent-ad-attribution';
|
|
12
|
+
}
|
|
13
|
+
create(request) {
|
|
14
|
+
return (0, http_1.callApi)(this.getApiUrl(this.create), request);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
const tencentAdAttributionService = new TencentAdAttributionService();
|
|
18
|
+
exports.default = tencentAdAttributionService;
|
|
19
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/tfs/modules/tencentAdAttribution/service.ts"],"names":[],"mappings":";;;;;AACA,qCAAoC;AACpC,iEAAwC;AAExC,MAAM,2BAA4B,SAAQ,qBAAW;IAArD;;QACY,cAAS,GAAG,yBAAyB,CAAA;IAIjD,CAAC;IAHC,MAAM,CAAC,OAA2C;QAChD,OAAO,IAAA,cAAO,EAA+B,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,CAAA;IACpF,CAAC;CACF;AACD,MAAM,2BAA2B,GAAG,IAAI,2BAA2B,EAAE,CAAA;AAErE,kBAAe,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AdResourceType } from 'vitality-meta/enums/tencentAd';
|
|
2
|
+
export declare namespace Service {
|
|
3
|
+
namespace Request {
|
|
4
|
+
interface IReceiveDataCreate {
|
|
5
|
+
channel: AdResourceType;
|
|
6
|
+
unionId: string;
|
|
7
|
+
openId: string;
|
|
8
|
+
clickId: string;
|
|
9
|
+
clickTime: number;
|
|
10
|
+
actType?: string;
|
|
11
|
+
actTime?: number;
|
|
12
|
+
impressionTime?: number;
|
|
13
|
+
advertiserId: string;
|
|
14
|
+
dynamicCreativeId: string;
|
|
15
|
+
dynamicCreativeName?: string;
|
|
16
|
+
siteSetName?: string;
|
|
17
|
+
callback: string;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
namespace Response { }
|
|
21
|
+
interface Controller {
|
|
22
|
+
/** 创建用户来源记录 */
|
|
23
|
+
create(request: Request.IReceiveDataCreate): Promise<void>;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/tfs/modules/tencentAdAttribution/types.ts"],"names":[],"mappings":""}
|