@hyext/types-ext-sdk-hy 3.12.0-beta.4 → 3.12.0-beta.6

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.
Files changed (2) hide show
  1. package/index.d.ts +66 -20
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -259,6 +259,12 @@ namespace ad {
259
259
  * @returns 调用结果
260
260
  */
261
261
  function ztSetIegPageType(params: ZtSetIegPageTypeReq): Promise<void>;
262
+ /**
263
+ * IEG点击打开appstore上报
264
+ * @param params - 传入参数
265
+ * @returns 调用结果
266
+ */
267
+ function ztPresentAppStore(params: ZtPresentAppStoreReq): Promise<void>;
262
268
  }
263
269
 
264
270
  /**
@@ -283,40 +289,42 @@ type ZtAfterPageReq = {
283
289
  tab1: string;
284
290
  };
285
291
 
286
- /**
287
- * 下一页信息
288
- * @property url - 目标页为url时,只需要传url。非url时,需要构造下面的pageInfo参数,两者传一即可
289
- * @property pageName - 页面名称
290
- * @property pageType - 页面类型, 1-一般页, 2-详情页
291
- * @property tab1 - tab名称
292
- */
293
- type AfterPageInfo = {
294
- url: string;
295
- pageName: string;
296
- pageType: number;
297
- tab1: string;
298
- };
299
-
300
292
  /**
301
293
  * IEG点击不发生跳转上报参数
302
- * @property url - 目标页为url时,只需要传url,非url时,需要构造下面的pageInfo参数,两者传一即可
303
294
  * @property sceneId - 场景id
304
295
  * @property scene - 场景值
305
296
  * @property subScene - 子场景值
306
297
  * @property curlocation - 当前路径,例子:推荐/猜你喜欢
307
298
  * @property gameAppid - 腾讯游戏appid
299
+ * @property adid - 广告banner位id或者内容id
300
+ * @property sceneType - 资源类类型, 1-表示内容资源位, 2-表示banner位推广资源
301
+ * @property dataMap - SDK上报关键内容
308
302
  * @property actionType - action类型
309
- * @property afterPage - 下一页信息
310
303
  */
311
304
  type ZtReportActionReq = {
312
- url: string;
313
305
  sceneId: string;
314
306
  scene: number;
315
307
  subScene: string;
316
- curlocation: number;
308
+ curlocation: string;
317
309
  gameAppid: string;
310
+ adid: string;
311
+ sceneType: string;
312
+ dataMap: any;
318
313
  actionType: number;
319
- afterPage: AfterPageInfo;
314
+ };
315
+
316
+ /**
317
+ * 下一页信息
318
+ * @property url - 目标页为url时,只需要传url。非url时,需要构造下面的pageInfo参数,两者传一即可
319
+ * @property pageName - 页面名称
320
+ * @property pageType - 页面类型, 1-一般页, 2-详情页
321
+ * @property tab1 - tab名称
322
+ */
323
+ type AfterPageInfo = {
324
+ url: string;
325
+ pageName: string;
326
+ pageType: number;
327
+ tab1: string;
320
328
  };
321
329
 
322
330
  /**
@@ -326,14 +334,20 @@ type ZtReportActionReq = {
326
334
  * @property subScene - 子场景值
327
335
  * @property curlocation - 当前路径,例子:推荐/猜你喜欢
328
336
  * @property gameAppid - 腾讯游戏appid
337
+ * @property adid - 广告banner位id或者内容id
338
+ * @property sceneType - 资源类类型, 1-表示内容资源位, 2-表示banner位推广资源
339
+ * @property dataMap - SDK上报关键内容
329
340
  * @property afterPage - 下一页信息
330
341
  */
331
342
  type ZtReportClickReq = {
332
343
  sceneId: string;
333
344
  scene: number;
334
345
  subScene: string;
335
- curlocation: number;
346
+ curlocation: string;
336
347
  gameAppid: string;
348
+ adid: string;
349
+ sceneType: string;
350
+ dataMap: any;
337
351
  afterPage: AfterPageInfo;
338
352
  };
339
353
 
@@ -342,13 +356,21 @@ type ZtReportClickReq = {
342
356
  * @property sceneId - 场景id
343
357
  * @property scene - 场景值
344
358
  * @property subScene - 子场景值
359
+ * @property curlocation - 当前路径,例子:推荐/猜你喜欢
345
360
  * @property gameAppid - 腾讯游戏appid
361
+ * @property adid - 广告banner位id或者内容id
362
+ * @property sceneType - 资源类类型, 1-表示内容资源位, 2-表示banner位推广资源
363
+ * @property dataMap - SDK上报关键内容
346
364
  */
347
365
  type ZtReportShowReq = {
348
366
  sceneId: string;
349
367
  scene: number;
350
368
  subScene: string;
369
+ curlocation: string;
351
370
  gameAppid: string;
371
+ adid: string;
372
+ sceneType: string;
373
+ dataMap: any;
352
374
  };
353
375
 
354
376
  /**
@@ -359,6 +381,30 @@ type ZtSetIegPageTypeReq = {
359
381
  pageType: number;
360
382
  };
361
383
 
384
+ /**
385
+ * IEG点击打开appstore上报参数
386
+ * @property sceneId - 场景id
387
+ * @property scene - 场景值
388
+ * @property subScene - 子场景值
389
+ * @property curlocation - 当前路径,例子:推荐/猜你喜欢
390
+ * @property gameAppid - 腾讯游戏appid
391
+ * @property adid - 广告banner位id或者内容id
392
+ * @property sceneType - 资源类类型, 1-表示内容资源位, 2-表示banner位推广资源
393
+ * @property dataMap - SDK上报关键内容
394
+ * @property appStoreLink - appstore链接
395
+ */
396
+ type ZtPresentAppStoreReq = {
397
+ sceneId: string;
398
+ scene: number;
399
+ subScene: string;
400
+ curlocation: string;
401
+ gameAppid: string;
402
+ adid: string;
403
+ sceneType: string;
404
+ dataMap: any;
405
+ appStoreLink: string;
406
+ };
407
+
362
408
  /**
363
409
  * AR特效
364
410
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyext/types-ext-sdk-hy",
3
- "version": "3.12.0-beta.4",
3
+ "version": "3.12.0-beta.6",
4
4
  "description": "TypeScript definitions for @hyext/ext-sdk-hy",
5
5
  "types": "./index.d.ts",
6
6
  "main": "",