@be-link/tfs-cli-nodejs 0.0.215 → 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 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;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"}
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.215",
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.200",
32
+ "vitality-meta": "1.0.209",
33
33
  "@be-link/cs-cli-nodejs": "0.1.97"
34
34
  },
35
35
  "engines": {
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/tfs/modules/tencentAdAttribution/types.ts"],"names":[],"mappings":""}