@freelog/tools-lib 0.1.138 → 0.1.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.
@@ -19,6 +19,14 @@ interface AdsDetailsParamsType {
19
19
  place: 1 | 2 | 3 | 4;
20
20
  }
21
21
  export declare function adsDetails(params: AdsDetailsParamsType): Promise<any>;
22
+ interface EventTrackingAdsVisitParamsType {
23
+ _id: string;
24
+ }
25
+ export declare function eventTrackingAdsVisit(params: EventTrackingAdsVisitParamsType): Promise<any>;
26
+ interface EventTrackingAdsClickParamsType {
27
+ _id: string;
28
+ }
29
+ export declare function eventTrackingAdsClick(params: EventTrackingAdsClickParamsType): Promise<any>;
22
30
  interface GetBaseTaskInfoParamsType {
23
31
  }
24
32
  export declare function getBaseTaskInfo(params?: GetBaseTaskInfoParamsType): Promise<any>;
@@ -2362,6 +2362,20 @@ function adsDetails(params) {
2362
2362
  params: params
2363
2363
  });
2364
2364
  }
2365
+ function eventTrackingAdsVisit(params) {
2366
+ return FUtil.Request({
2367
+ method: 'GET',
2368
+ url: "/v2/activities/ads/visit",
2369
+ params: params
2370
+ });
2371
+ }
2372
+ function eventTrackingAdsClick(params) {
2373
+ return FUtil.Request({
2374
+ method: 'GET',
2375
+ url: "/v2/activities/ads/click",
2376
+ params: params
2377
+ });
2378
+ }
2365
2379
  function getBaseTaskInfo(params) {
2366
2380
  if (params === void 0) {
2367
2381
  params = {};
@@ -2480,6 +2494,8 @@ var Activity = {
2480
2494
  find4Client: find4Client,
2481
2495
  adsList: adsList,
2482
2496
  adsDetails: adsDetails,
2497
+ eventTrackingAdsVisit: eventTrackingAdsVisit,
2498
+ eventTrackingAdsClick: eventTrackingAdsClick,
2483
2499
  getBaseTaskInfo: getBaseTaskInfo,
2484
2500
  getResourceTaskInfo: getResourceTaskInfo,
2485
2501
  getNodeTaskInfo: getNodeTaskInfo,