tencentcloud-sdk-nodejs 4.0.581 → 4.0.582

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 (34) hide show
  1. package/CHANGELOG.md +109 -0
  2. package/SERVICE_CHANGELOG.md +152 -34
  3. package/package.json +1 -1
  4. package/products.md +9 -9
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cwp/v20180228/cwp_client.ts +4 -2
  7. package/src/services/ess/v20201111/ess_client.ts +25 -1
  8. package/src/services/ess/v20201111/ess_models.ts +78 -8
  9. package/src/services/rum/v20210622/rum_client.ts +86 -38
  10. package/src/services/rum/v20210622/rum_models.ts +283 -13
  11. package/src/services/trp/v20210515/trp_client.ts +55 -17
  12. package/src/services/trp/v20210515/trp_models.ts +157 -26
  13. package/src/services/waf/v20180125/waf_client.ts +39 -14
  14. package/src/services/waf/v20180125/waf_models.ts +197 -25
  15. package/tencentcloud/common/sdk_version.d.ts +1 -1
  16. package/tencentcloud/common/sdk_version.js +1 -1
  17. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +3 -1
  18. package/tencentcloud/services/cwp/v20180228/cwp_client.js +3 -1
  19. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +9 -1
  20. package/tencentcloud/services/ess/v20201111/ess_client.js +12 -0
  21. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +68 -8
  22. package/tencentcloud/services/rum/v20210622/rum_client.d.ts +29 -13
  23. package/tencentcloud/services/rum/v20210622/rum_client.js +42 -18
  24. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +236 -12
  25. package/tencentcloud/services/trp/v20210515/trp_client.d.ts +17 -5
  26. package/tencentcloud/services/trp/v20210515/trp_client.js +24 -6
  27. package/tencentcloud/services/trp/v20210515/trp_models.d.ts +140 -26
  28. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +13 -5
  29. package/tencentcloud/services/waf/v20180125/waf_client.js +18 -6
  30. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +168 -23
  31. package/test/ess.v20201111.test.js +20 -0
  32. package/test/rum.v20210622.test.js +52 -12
  33. package/test/trp.v20210515.test.js +34 -4
  34. package/test/waf.v20180125.test.js +24 -4
@@ -356,6 +356,61 @@ export interface DescribeRumLogListResponse {
356
356
  RequestId?: string
357
357
  }
358
358
 
359
+ /**
360
+ * DescribeAppMetricsData请求参数结构体
361
+ */
362
+ export interface DescribeAppMetricsDataRequest {
363
+ /**
364
+ * app 项目ID
365
+ */
366
+ ProjectID: number
367
+
368
+ /**
369
+ * 查询的表名
370
+ */
371
+ From: string
372
+
373
+ /**
374
+ * 查询指标 field
375
+ */
376
+ Fields: string
377
+
378
+ /**
379
+ * 查询的过滤条件
380
+ */
381
+ Filter: string
382
+
383
+ /**
384
+ * 查询简单过滤条件
385
+ */
386
+ FilterSimple?: string
387
+
388
+ /**
389
+ * group by 条件
390
+ */
391
+ GroupBy?: Array<string>
392
+
393
+ /**
394
+ * order by 条件
395
+ */
396
+ OrderBy?: Array<string>
397
+
398
+ /**
399
+ * limit 参数
400
+ */
401
+ Limit?: number
402
+
403
+ /**
404
+ * offset 参数
405
+ */
406
+ Offset?: number
407
+
408
+ /**
409
+ * group by 参数
410
+ */
411
+ GroupByModifier?: string
412
+ }
413
+
359
414
  /**
360
415
  * DescribeDataPvUrlInfo返回参数结构体
361
416
  */
@@ -511,6 +566,36 @@ export interface DescribeErrorResponse {
511
566
  RequestId?: string
512
567
  }
513
568
 
569
+ /**
570
+ * DescribeAppMetricsData返回参数结构体
571
+ */
572
+ export interface DescribeAppMetricsDataResponse {
573
+ /**
574
+ * 查询数据返回
575
+ */
576
+ Data: string
577
+
578
+ /**
579
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
580
+ */
581
+ RequestId?: string
582
+ }
583
+
584
+ /**
585
+ * DescribeAppSingleCaseDetailList返回参数结构体
586
+ */
587
+ export interface DescribeAppSingleCaseDetailListResponse {
588
+ /**
589
+ * 查询数据返回
590
+ */
591
+ Data: string
592
+
593
+ /**
594
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
595
+ */
596
+ RequestId?: string
597
+ }
598
+
514
599
  /**
515
600
  * DeleteWhitelist返回参数结构体
516
601
  */
@@ -1242,6 +1327,21 @@ export interface DeleteInstanceResponse {
1242
1327
  RequestId?: string
1243
1328
  }
1244
1329
 
1330
+ /**
1331
+ * DescribeAppSingleCaseList返回参数结构体
1332
+ */
1333
+ export interface DescribeAppSingleCaseListResponse {
1334
+ /**
1335
+ * 查询数据返回
1336
+ */
1337
+ Data: string
1338
+
1339
+ /**
1340
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1341
+ */
1342
+ RequestId?: string
1343
+ }
1344
+
1245
1345
  /**
1246
1346
  * DescribeDataPerformancePage请求参数结构体
1247
1347
  */
@@ -1598,13 +1698,18 @@ export interface StopInstanceResponse {
1598
1698
  }
1599
1699
 
1600
1700
  /**
1601
- * DescribeProjectLimits请求参数结构体
1701
+ * DescribeDataCustomUrl返回参数结构体
1602
1702
  */
1603
- export interface DescribeProjectLimitsRequest {
1703
+ export interface DescribeDataCustomUrlResponse {
1604
1704
  /**
1605
- * 项目ID
1705
+ * 返回值
1606
1706
  */
1607
- ProjectID: number
1707
+ Result: string
1708
+
1709
+ /**
1710
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1711
+ */
1712
+ RequestId?: string
1608
1713
  }
1609
1714
 
1610
1715
  /**
@@ -2115,18 +2220,13 @@ export interface DescribeDataLogUrlInfoRequest {
2115
2220
  }
2116
2221
 
2117
2222
  /**
2118
- * DescribeDataCustomUrl返回参数结构体
2223
+ * DescribeProjectLimits请求参数结构体
2119
2224
  */
2120
- export interface DescribeDataCustomUrlResponse {
2121
- /**
2122
- * 返回值
2123
- */
2124
- Result: string
2125
-
2225
+ export interface DescribeProjectLimitsRequest {
2126
2226
  /**
2127
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2227
+ * 项目ID
2128
2228
  */
2129
- RequestId?: string
2229
+ ProjectID: number
2130
2230
  }
2131
2231
 
2132
2232
  /**
@@ -2359,6 +2459,56 @@ export interface CreateStarProjectRequest {
2359
2459
  ID: number
2360
2460
  }
2361
2461
 
2462
+ /**
2463
+ * DescribeAppSingleCaseList请求参数结构体
2464
+ */
2465
+ export interface DescribeAppSingleCaseListRequest {
2466
+ /**
2467
+ * app 项目 ID
2468
+ */
2469
+ ProjectID: number
2470
+
2471
+ /**
2472
+ * 查询的表名
2473
+ */
2474
+ From: string
2475
+
2476
+ /**
2477
+ * 查询指标 field
2478
+ */
2479
+ Fields: string
2480
+
2481
+ /**
2482
+ * 查询的过滤条件
2483
+ */
2484
+ Filter: string
2485
+
2486
+ /**
2487
+ * 查询简单过滤条件
2488
+ */
2489
+ FilterSimple?: string
2490
+
2491
+ /**
2492
+ * group by 条件
2493
+ */
2494
+ GroupBy?: Array<string>
2495
+
2496
+ /**
2497
+ * order by 条件
2498
+ */
2499
+ OrderBy?: Array<string>
2500
+
2501
+ /**
2502
+ * limit 参数
2503
+ */
2504
+ Limit?: number
2505
+
2506
+ /**
2507
+ * offset 参数
2508
+ */
2509
+ Offset?: number
2510
+ }
2511
+
2362
2512
  /**
2363
2513
  * DescribeReleaseFileSign请求参数结构体
2364
2514
  */
@@ -3386,6 +3536,21 @@ export interface DescribeDataEventUrlRequest {
3386
3536
  Env?: string
3387
3537
  }
3388
3538
 
3539
+ /**
3540
+ * DescribeAppDimensionMetrics返回参数结构体
3541
+ */
3542
+ export interface DescribeAppDimensionMetricsResponse {
3543
+ /**
3544
+ * 查询数据返回
3545
+ */
3546
+ Data: string
3547
+
3548
+ /**
3549
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3550
+ */
3551
+ RequestId?: string
3552
+ }
3553
+
3389
3554
  /**
3390
3555
  * DescribeOfflineLogConfigs请求参数结构体
3391
3556
  */
@@ -3396,6 +3561,56 @@ export interface DescribeOfflineLogConfigsRequest {
3396
3561
  ProjectKey: string
3397
3562
  }
3398
3563
 
3564
+ /**
3565
+ * DescribeAppSingleCaseDetailList请求参数结构体
3566
+ */
3567
+ export interface DescribeAppSingleCaseDetailListRequest {
3568
+ /**
3569
+ * app 项目ID
3570
+ */
3571
+ ProjectID: number
3572
+
3573
+ /**
3574
+ * 查询的表名
3575
+ */
3576
+ From: string
3577
+
3578
+ /**
3579
+ * 查询指标 field
3580
+ */
3581
+ Fields: string
3582
+
3583
+ /**
3584
+ * 查询的过滤条件
3585
+ */
3586
+ Filter: string
3587
+
3588
+ /**
3589
+ * 查询简单过滤条件
3590
+ */
3591
+ FilterSimple?: string
3592
+
3593
+ /**
3594
+ * group by 条件
3595
+ */
3596
+ GroupBy?: Array<string>
3597
+
3598
+ /**
3599
+ * order by 条件
3600
+ */
3601
+ OrderBy?: Array<string>
3602
+
3603
+ /**
3604
+ * limit 参数
3605
+ */
3606
+ Limit?: number
3607
+
3608
+ /**
3609
+ * offset 参数
3610
+ */
3611
+ Offset?: number
3612
+ }
3613
+
3399
3614
  /**
3400
3615
  * DescribeRumGroupLog请求参数结构体
3401
3616
  */
@@ -4246,6 +4461,61 @@ export interface DescribeDataSetUrlStatisticsResponse {
4246
4461
  RequestId?: string
4247
4462
  }
4248
4463
 
4464
+ /**
4465
+ * DescribeAppDimensionMetrics请求参数结构体
4466
+ */
4467
+ export interface DescribeAppDimensionMetricsRequest {
4468
+ /**
4469
+ * app 项目ID
4470
+ */
4471
+ ProjectID: number
4472
+
4473
+ /**
4474
+ * 查询的表名
4475
+ */
4476
+ From: string
4477
+
4478
+ /**
4479
+ * 查询指标 fields
4480
+ */
4481
+ Fields: string
4482
+
4483
+ /**
4484
+ * 查询的过滤条件
4485
+ */
4486
+ Filter: string
4487
+
4488
+ /**
4489
+ * 查询简单过滤条件
4490
+ */
4491
+ FilterSimple?: string
4492
+
4493
+ /**
4494
+ * group by 条件
4495
+ */
4496
+ GroupBy?: Array<string>
4497
+
4498
+ /**
4499
+ * order by 条件
4500
+ */
4501
+ OrderBy?: Array<string>
4502
+
4503
+ /**
4504
+ * limit 参数
4505
+ */
4506
+ Limit?: number
4507
+
4508
+ /**
4509
+ * offset 参数
4510
+ */
4511
+ Offset?: number
4512
+
4513
+ /**
4514
+ * 业务上下文参数
4515
+ */
4516
+ BusinessContext?: string
4517
+ }
4518
+
4249
4519
  /**
4250
4520
  * Rum实例信息
4251
4521
  */
@@ -38,13 +38,13 @@ import {
38
38
  DescribeTraceCodeByIdResponse,
39
39
  CustomRule,
40
40
  DescribeProductsResponse,
41
- CreateCodeBatchResponse,
41
+ CreateTraceChainResponse,
42
42
  DescribeTraceDataListResponse,
43
43
  DescribeTraceCodesRequest,
44
44
  CreateTraceCodesAsyncRequest,
45
45
  ModifyTraceDataResponse,
46
- DeleteProductRequest,
47
- CreateTraceChainResponse,
46
+ AuthorizedTransferResponse,
47
+ CreateCodeBatchResponse,
48
48
  CorpQuota,
49
49
  CreateCustomRuleRequest,
50
50
  DescribeCodePackStatusRequest,
@@ -57,6 +57,7 @@ import {
57
57
  DescribeCodePackStatusResponse,
58
58
  Job,
59
59
  TraceData,
60
+ EffectFeedbackResponse,
60
61
  PackSpec,
61
62
  ModifyCustomRuleResponse,
62
63
  ModifyMerchantResponse,
@@ -65,14 +66,18 @@ import {
65
66
  CreateTraceDataRequest,
66
67
  Ext,
67
68
  DescribeCorpQuotasRequest,
69
+ AuthorizedTransferRequest,
70
+ ReportBatchCallbackStatusRequest,
68
71
  CreateProductRequest,
69
72
  CreateCustomPackRequest,
70
73
  CreateCodePackRequest,
71
74
  CreateCodeBatchRequest,
72
75
  TraceItem,
73
76
  DescribeCustomRuleByIdRequest,
77
+ ReportBatchCallbackStatusResponse,
74
78
  ChainData,
75
79
  PhaseData,
80
+ DeleteProductRequest,
76
81
  ModifyTraceDataRanksRequest,
77
82
  ModifyCustomRuleStatusResponse,
78
83
  CreateCustomPackResponse,
@@ -80,10 +85,12 @@ import {
80
85
  DescribeTmpTokenResponse,
81
86
  DescribeCodePackUrlRequest,
82
87
  DeleteProductResponse,
88
+ OutputAuthorizedTransfer,
83
89
  DeleteTraceDataResponse,
84
90
  ModifyCustomRuleStatusRequest,
85
91
  CreateCodePackResponse,
86
92
  DescribeMerchantByIdResponse,
93
+ EffectFeedbackRequest,
87
94
  DescribeTraceDataByIdResponse,
88
95
  CodeItem,
89
96
  CreateTraceDataResponse,
@@ -106,6 +113,7 @@ import {
106
113
  DescribeScanLogsRequest,
107
114
  ModifyTraceCodeUnlinkResponse,
108
115
  DescribeTraceDataByIdRequest,
116
+ InputEncryptData,
109
117
  Merchant,
110
118
  Product,
111
119
  DescribeTmpTokenRequest,
@@ -123,11 +131,11 @@ import {
123
131
  DescribeCodePacksRequest,
124
132
  DescribeJobFileUrlResponse,
125
133
  DescribeTraceCodeByIdRequest,
126
- DeleteMerchantRequest,
134
+ ModifyCodeBatchResponse,
127
135
  ScanStat,
128
136
  ModifyTraceCodeResponse,
129
137
  DescribeCodePackUrlResponse,
130
- ModifyCodeBatchResponse,
138
+ DeleteMerchantRequest,
131
139
  } from "./trp_models"
132
140
 
133
141
  /**
@@ -170,6 +178,16 @@ export class Client extends AbstractClient {
170
178
  return this.request("ModifyTraceCodeUnlink", req, cb)
171
179
  }
172
180
 
181
+ /**
182
+ * 接收客户侧的用户已授权的号码。
183
+ */
184
+ async AuthorizedTransfer(
185
+ req: AuthorizedTransferRequest,
186
+ cb?: (error: string, rep: AuthorizedTransferResponse) => void
187
+ ): Promise<AuthorizedTransferResponse> {
188
+ return this.request("AuthorizedTransfer", req, cb)
189
+ }
190
+
173
191
  /**
174
192
  * 查自定义码规则
175
193
  */
@@ -270,6 +288,16 @@ export class Client extends AbstractClient {
270
288
  return this.request("DescribeCorpQuotas", req, cb)
271
289
  }
272
290
 
291
+ /**
292
+ * 接收离线筛选包回执,用于效果统计和分析。
293
+ */
294
+ async ReportBatchCallbackStatus(
295
+ req: ReportBatchCallbackStatusRequest,
296
+ cb?: (error: string, rep: ReportBatchCallbackStatusResponse) => void
297
+ ): Promise<ReportBatchCallbackStatusResponse> {
298
+ return this.request("ReportBatchCallbackStatus", req, cb)
299
+ }
300
+
273
301
  /**
274
302
  * 修改自定义码规则
275
303
  */
@@ -471,6 +499,16 @@ export class Client extends AbstractClient {
471
499
  return this.request("CreateCodeBatch", req, cb)
472
500
  }
473
501
 
502
+ /**
503
+ * 接收客户反馈的各环节数据
504
+ */
505
+ async EffectFeedback(
506
+ req: EffectFeedbackRequest,
507
+ cb?: (error: string, rep: EffectFeedbackResponse) => void
508
+ ): Promise<EffectFeedbackResponse> {
509
+ return this.request("EffectFeedback", req, cb)
510
+ }
511
+
474
512
  /**
475
513
  * 删除批次
476
514
  */
@@ -502,13 +540,13 @@ export class Client extends AbstractClient {
502
540
  }
503
541
 
504
542
  /**
505
- * 新建商户
543
+ * 生成普通码包
506
544
  */
507
- async CreateMerchant(
508
- req: CreateMerchantRequest,
509
- cb?: (error: string, rep: CreateMerchantResponse) => void
510
- ): Promise<CreateMerchantResponse> {
511
- return this.request("CreateMerchant", req, cb)
545
+ async CreateCodePack(
546
+ req: CreateCodePackRequest,
547
+ cb?: (error: string, rep: CreateCodePackResponse) => void
548
+ ): Promise<CreateCodePackResponse> {
549
+ return this.request("CreateCodePack", req, cb)
512
550
  }
513
551
 
514
552
  /**
@@ -572,13 +610,13 @@ export class Client extends AbstractClient {
572
610
  }
573
611
 
574
612
  /**
575
- * 生成普通码包
613
+ * 新建商户
576
614
  */
577
- async CreateCodePack(
578
- req: CreateCodePackRequest,
579
- cb?: (error: string, rep: CreateCodePackResponse) => void
580
- ): Promise<CreateCodePackResponse> {
581
- return this.request("CreateCodePack", req, cb)
615
+ async CreateMerchant(
616
+ req: CreateMerchantRequest,
617
+ cb?: (error: string, rep: CreateMerchantResponse) => void
618
+ ): Promise<CreateMerchantResponse> {
619
+ return this.request("CreateMerchant", req, cb)
582
620
  }
583
621
 
584
622
  /**