tencentcloud-sdk-nodejs 4.0.416 → 4.0.417

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 (61) hide show
  1. package/CHANGELOG.md +324 -0
  2. package/SERVICE_CHANGELOG.md +550 -16
  3. package/package.json +1 -1
  4. package/products.md +18 -18
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ams/v20201229/ams_client.ts +13 -11
  7. package/src/services/ams/v20201229/ams_models.ts +69 -15
  8. package/src/services/billing/v20180709/billing_models.ts +49 -0
  9. package/src/services/cat/v20180409/cat_models.ts +4 -4
  10. package/src/services/cbs/v20170312/cbs_models.ts +5 -5
  11. package/src/services/irp/index.ts +2 -0
  12. package/src/services/irp/v20220805/index.ts +6 -0
  13. package/src/services/irp/v20220805/irp_client.ts +85 -0
  14. package/src/services/irp/v20220805/irp_models.ts +549 -0
  15. package/src/services/lighthouse/v20200324/lighthouse_models.ts +1 -1
  16. package/src/services/mongodb/v20190725/mongodb_client.ts +12 -0
  17. package/src/services/mongodb/v20190725/mongodb_models.ts +20 -0
  18. package/src/services/privatedns/v20201028/privatedns_models.ts +16 -1
  19. package/src/services/pts/v20210728/pts_models.ts +5 -0
  20. package/src/services/tcbr/v20220217/tcbr_models.ts +5 -0
  21. package/src/services/tcr/v20190924/tcr_client.ts +1 -0
  22. package/src/services/tcr/v20190924/tcr_models.ts +44 -1
  23. package/src/services/tcss/v20201101/tcss_models.ts +20 -0
  24. package/src/services/teo/v20220106/teo_client.ts +1 -0
  25. package/src/services/teo/v20220106/teo_models.ts +408 -303
  26. package/src/services/trtc/v20190722/trtc_models.ts +1 -1
  27. package/src/services/tts/v20190823/tts_client.ts +1 -0
  28. package/src/services/tts/v20190823/tts_models.ts +40 -0
  29. package/src/services/wedata/v20210820/wedata_client.ts +105 -68
  30. package/tencentcloud/common/sdk_version.d.ts +1 -1
  31. package/tencentcloud/common/sdk_version.js +1 -1
  32. package/tencentcloud/services/ams/v20201229/ams_client.d.ts +11 -10
  33. package/tencentcloud/services/ams/v20201229/ams_client.js +11 -10
  34. package/tencentcloud/services/ams/v20201229/ams_models.d.ts +58 -12
  35. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +40 -0
  36. package/tencentcloud/services/cat/v20180409/cat_models.d.ts +4 -4
  37. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +4 -4
  38. package/tencentcloud/services/irp/index.d.ts +4 -0
  39. package/tencentcloud/services/irp/index.js +2 -0
  40. package/tencentcloud/services/irp/v20220805/index.d.ts +6 -0
  41. package/tencentcloud/services/irp/v20220805/index.js +9 -0
  42. package/tencentcloud/services/irp/v20220805/irp_client.d.ts +26 -0
  43. package/tencentcloud/services/irp/v20220805/irp_client.js +55 -0
  44. package/tencentcloud/services/irp/v20220805/irp_models.d.ts +442 -0
  45. package/tencentcloud/services/irp/v20220805/irp_models.js +18 -0
  46. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +1 -1
  47. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
  48. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
  49. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +18 -0
  50. package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +13 -1
  51. package/tencentcloud/services/pts/v20210728/pts_models.d.ts +4 -0
  52. package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +4 -0
  53. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +37 -1
  54. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +16 -0
  55. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +353 -259
  56. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
  57. package/tencentcloud/services/tts/v20190823/tts_models.d.ts +33 -0
  58. package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +72 -35
  59. package/tencentcloud/services/wedata/v20210820/wedata_client.js +72 -35
  60. package/test/irp.v20220805.test.js +61 -0
  61. package/test/mongodb.v20190725.test.js +10 -0
package/products.md CHANGED
@@ -7,8 +7,8 @@
7
7
  | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2022-05-23 06:01:54 |
8
8
  | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-05-23 06:01:56 |
9
9
  | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2022-04-15 06:01:25 |
10
- | ams | [音频内容检测](https://cloud.tencent.com/document/product/1219) | 2022-06-23 06:06:13 |
11
- | antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-08-09 10:41:42 |
10
+ | ams | [音频内容检测](https://cloud.tencent.com/document/product/1219) | 2022-08-15 06:07:00 |
11
+ | antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-08-15 06:07:08 |
12
12
  | apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
13
13
  | ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
14
14
  | api | [云 API](https://cloud.tencent.com/document/product/1278) | 2022-06-07 06:00:45 |
@@ -21,7 +21,7 @@
21
21
  | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2022-08-08 06:04:56 |
22
22
  | bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2022-08-04 06:09:29 |
23
23
  | bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2022-08-09 10:42:14 |
24
- | billing | [计费相关](https://cloud.tencent.com/document/product/555) | 2022-06-08 06:04:08 |
24
+ | billing | [计费相关](https://cloud.tencent.com/document/product/555) | 2022-08-15 06:09:23 |
25
25
  | bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
26
26
  | bm | [黑石物理服务器1.0](https://cloud.tencent.com/document/product/386) | 2022-08-09 11:50:03 |
27
27
  | bma | [品牌经营管家](https://cloud.tencent.com/document/product/1296) | 2022-08-02 06:05:09 |
@@ -35,8 +35,8 @@
35
35
  | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2022-08-09 11:58:28 |
36
36
  | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2022-08-03 06:08:12 |
37
37
  | casb | [云数据加密代理网关](https://cloud.tencent.com/document/product/1303) | 2022-04-04 06:11:55 |
38
- | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-08-04 06:12:14 |
39
- | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-08-08 06:07:22 |
38
+ | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-08-15 06:11:03 |
39
+ | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-08-15 06:11:13 |
40
40
  | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-08-11 06:14:26 |
41
41
  | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-08-04 06:13:03 |
42
42
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2022-07-30 15:07:54 |
@@ -58,7 +58,7 @@
58
58
  | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2022-06-24 06:09:00 |
59
59
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2022-04-04 06:23:04 |
60
60
  | cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
61
- | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-08-11 06:21:37 |
61
+ | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-08-15 06:16:16 |
62
62
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
63
63
  | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-08-08 06:14:02 |
64
64
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-08-05 06:14:19 |
@@ -112,10 +112,10 @@
112
112
  | iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2022-04-04 06:49:46 |
113
113
  | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-07-19 16:17:21 |
114
114
  | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2022-08-11 06:37:02 |
115
- | irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2022-08-02 06:22:49 |
115
+ | irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2022-08-12 14:06:35 |
116
116
  | ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2022-06-10 17:14:46 |
117
117
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-08-05 06:26:44 |
118
- | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-08-11 06:38:25 |
118
+ | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-08-15 06:29:48 |
119
119
  | live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-08-11 06:39:01 |
120
120
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
121
121
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
@@ -125,7 +125,7 @@
125
125
  | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
126
126
  | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2022-07-29 06:12:05 |
127
127
  | mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2022-04-04 06:57:51 |
128
- | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-08-11 06:40:51 |
128
+ | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-08-15 06:31:24 |
129
129
  | monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-08-09 12:18:17 |
130
130
  | mps | [视频处理](https://cloud.tencent.com/document/product/862) | 2022-07-30 15:15:41 |
131
131
  | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2022-06-28 06:14:04 |
@@ -140,8 +140,8 @@
140
140
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-06-13 06:15:36 |
141
141
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2022-04-04 07:02:02 |
142
142
  | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2022-08-11 06:43:45 |
143
- | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2022-08-01 11:48:13 |
144
- | pts | [性能测试服务](https://cloud.tencent.com/document/product/1484) | 2022-07-29 11:04:42 |
143
+ | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2022-08-15 06:34:53 |
144
+ | pts | [性能测试服务](https://cloud.tencent.com/document/product/1484) | 2022-08-15 06:35:03 |
145
145
  | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2022-08-05 06:32:35 |
146
146
  | redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2022-08-11 06:44:49 |
147
147
  | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2022-07-27 21:10:02 |
@@ -171,17 +171,17 @@
171
171
  | tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2022-04-04 07:09:07 |
172
172
  | tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2022-04-08 06:12:54 |
173
173
  | tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2022-08-01 11:52:06 |
174
- | tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2022-08-02 06:31:39 |
174
+ | tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2022-08-15 06:39:26 |
175
175
  | tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
176
176
  | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
177
177
  | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2022-07-18 06:16:41 |
178
- | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2022-08-04 06:52:35 |
179
- | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2022-08-11 06:51:30 |
178
+ | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2022-08-15 06:39:36 |
179
+ | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2022-08-15 06:40:11 |
180
180
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-07-05 06:21:49 |
181
181
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-04-04 07:15:50 |
182
182
  | tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-07-29 06:15:49 |
183
183
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2022-08-12 11:47:08 |
184
- | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-08-11 06:53:53 |
184
+ | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-08-15 06:42:02 |
185
185
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-06-02 06:15:03 |
186
186
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
187
187
  | tic | [腾讯云IaC平台](https://cloud.tencent.com/document/product/1213) | 2022-04-04 07:16:52 |
@@ -196,11 +196,11 @@
196
196
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-04-04 07:18:11 |
197
197
  | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-05-19 06:19:37 |
198
198
  | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2022-07-27 06:17:54 |
199
- | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-08-08 06:44:27 |
199
+ | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-08-15 06:44:54 |
200
200
  | tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2022-08-10 06:55:45 |
201
201
  | tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-07-27 06:18:08 |
202
202
  | tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2022-04-04 07:22:40 |
203
- | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2022-06-07 06:15:49 |
203
+ | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2022-08-15 06:46:14 |
204
204
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
205
205
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-06-23 06:20:49 |
206
206
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
@@ -208,7 +208,7 @@
208
208
  | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-08-10 06:57:28 |
209
209
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-07-29 06:18:30 |
210
210
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-04-04 07:39:05 |
211
- | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2022-08-05 15:51:29 |
211
+ | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2022-08-12 15:11:35 |
212
212
  | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
213
213
  | yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2022-07-30 15:22:03 |
214
214
  | youmall | [](https://cloud.tencent.com/document/product) | 2019-01-11 11:24:15 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.416"
1
+ export const sdkVersion = "4.0.417"
@@ -20,7 +20,7 @@ import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
21
  TextResult,
22
22
  DescribeTasksRequest,
23
- StorageInfo,
23
+ AudioResultDetailSpeakerResult,
24
24
  CreateAudioModerationSyncTaskRequest,
25
25
  BucketInfo,
26
26
  CreateAudioModerationTaskResponse,
@@ -29,6 +29,7 @@ import {
29
29
  DescribeTaskDetailResponse,
30
30
  CreateAudioModerationTaskRequest,
31
31
  TaskInput,
32
+ StorageInfo,
32
33
  DescribeTaskDetailRequest,
33
34
  CreateAudioModerationSyncTaskResponse,
34
35
  TaskLabel,
@@ -92,19 +93,20 @@ export class Client extends AbstractClient {
92
93
  }
93
94
 
94
95
  /**
95
- * 本接口(CreateAudioModerationSyncTask) 用于提交短音频内容进行智能审核任务,使用前请您登录控制台开通音频内容安全服务。
96
+ * 本接口(CreateAudioModerationSyncTask) 用于提交短音频内容进行智能审核任务,使用前请您使用腾讯云主账号登录控制台 [开通音频内容安全服务](https://console.cloud.tencent.com/cms/audio/package) 并调整好对应的业务配置。
96
97
 
97
- 功能使用说明:
98
- 前往“内容安全控制台-音频内容安全”开启使用音频内容安全服务,首次开通可获得10小时免费调用时长;
98
+ ### 接口使用说明:
99
+ - 前往“[内容安全控制台-图片内容安全](https://console.cloud.tencent.com/cms/audio/package)”开启使用音频内容安全服务,首次开通服务的用户可免费领用试用套餐包,包含**10小时**免费调用时长,有效期为1个月。
100
+ - 该接口为收费接口,计费方式敬请参见 [腾讯云音频内容安全定价](https://cloud.tencent.com/product/ams/pricing)。
99
101
 
100
- 接口限制:
101
- - 音频文件大小支持:文件 < 5M;
102
- - 音频文件时长小于60s,超过60s音频调用则报错;
103
- - 音频码率类型支持:8Kbps - 16Kbps
104
- - 音频文件支持格式:wav、mp3;
102
+ ### 接口调用说明:
103
+ - 音频文件大小支持:**文件 < 5M**;
104
+ - 音频文件**时长小于60s**,超过60s音频调用则报错;
105
+ - 音频文件支持格式:**wav (PCM编码)** 、**mp3**、**m4a** (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:**16kHz/16bit/单声道**)
105
106
  - 接口仅限音频文件传入,视频文件传入请调用长音频异步接口;
106
- - 接口默认QPS为10,默认接口请求频率限制20次/秒,如需要更高的并发或请求频率,请工单咨询;
107
- - 接口超时为5s,每一次请求超过该时长会报错;
107
+ - 接口**默认QPS为20**,如需自定义配置并发或请求频率,请工单咨询;
108
+ - 接口**默认超时为5s**,请求如超过该时长则接口会报错。
109
+
108
110
  */
109
111
  async CreateAudioModerationSyncTask(
110
112
  req: CreateAudioModerationSyncTaskRequest,
@@ -108,23 +108,32 @@ export interface DescribeTasksRequest {
108
108
  }
109
109
 
110
110
  /**
111
- * 用于表示数据存储的相关信息
111
+ * 音频说话人声纹识别返回结果
112
112
  */
113
- export interface StorageInfo {
113
+ export interface AudioResultDetailSpeakerResult {
114
114
  /**
115
- * 该字段表示文件访问类型,取值为**URL**(资源链接)和**COS** (腾讯云对象存储);该字段应当与传入的访问类型相对应,可用于强校验并方便系统快速识别访问地址;若不传入此参数,则默认值为URL,此时系统将自动判定访问地址类型。
116
- */
117
- Type?: string
115
+ * 该字段用于返回检测结果需要检测的内容类型。
116
+ 注意:此字段可能返回 null,表示取不到有效值。
117
+ */
118
+ Label: string
118
119
 
119
120
  /**
120
- * 该字段表示文件访问的链接地址,格式为标准URL格式。<br> 备注:当Type为URL时此字段不为空,该参数与BucketInfo参数须传入其中之一
121
- */
122
- Url?: string
121
+ * 该字段用于返回呻吟检测的置信度,取值范围:0(置信度最低)-100(置信度最高),越高代表音频越有可能属于说话人声纹。
122
+ 注意:此字段可能返回 null,表示取不到有效值。
123
+ */
124
+ Score: number
123
125
 
124
126
  /**
125
- * 该字段表示文件访问的腾讯云存储桶信息。<br> 备注:当Type为COS时此字段不为空,该参数与Url参数须传入其中之一。
126
- */
127
- BucketInfo?: BucketInfo
127
+ * 该字段用于返回对应说话人的片段在音频文件内的开始时间,单位为毫秒。
128
+ 注意:此字段可能返回 null,表示取不到有效值。
129
+ */
130
+ StartTime: number
131
+
132
+ /**
133
+ * 该字段用于返回对应说话人的片段在音频文件内的结束时间,单位为毫秒。
134
+ 注意:此字段可能返回 null,表示取不到有效值。
135
+ */
136
+ EndTime: number
128
137
  }
129
138
 
130
139
  /**
@@ -142,7 +151,7 @@ export interface CreateAudioModerationSyncTaskRequest {
142
151
  DataId: string
143
152
 
144
153
  /**
145
- * 音频文件资源格式,当前为mp3,wav,请按照实际文件格式填入
154
+ * 音频文件资源格式,当前支持格式:wav、mp3、m4a,请按照实际文件格式填入。
146
155
  */
147
156
  FileFormat: string
148
157
 
@@ -153,14 +162,14 @@ export interface CreateAudioModerationSyncTaskRequest {
153
162
 
154
163
  /**
155
164
  * 数据Base64编码,短音频同步接口仅传入可音频内容;
156
- 支持范围:文件大小不能超过5M,时长不可超过60s,码率范围为8-16Kbps
157
- 支持格式:wav、mp3
165
+ 支持范围:文件大小不能超过5M,时长不可超过60s;
166
+ 支持格式:wav (PCM编码)、mp3、m4a (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:16kHz/16bit/单声道)。
158
167
  */
159
168
  FileContent?: string
160
169
 
161
170
  /**
162
171
  * 音频资源访问链接,与FileContent参数必须二选一输入;
163
- 支持范围:同FileContent;
172
+ 支持范围及格式:同FileContent;
164
173
  */
165
174
  FileUrl?: string
166
175
  }
@@ -398,6 +407,26 @@ export interface TaskInput {
398
407
  Input?: StorageInfo
399
408
  }
400
409
 
410
+ /**
411
+ * 用于表示数据存储的相关信息
412
+ */
413
+ export interface StorageInfo {
414
+ /**
415
+ * 该字段表示文件访问类型,取值为**URL**(资源链接)和**COS** (腾讯云对象存储);该字段应当与传入的访问类型相对应,可用于强校验并方便系统快速识别访问地址;若不传入此参数,则默认值为URL,此时系统将自动判定访问地址类型。
416
+ */
417
+ Type?: string
418
+
419
+ /**
420
+ * 该字段表示文件访问的链接地址,格式为标准URL格式。<br> 备注:当Type为URL时此字段不为空,该参数与BucketInfo参数须传入其中之一
421
+ */
422
+ Url?: string
423
+
424
+ /**
425
+ * 该字段表示文件访问的腾讯云存储桶信息。<br> 备注:当Type为COS时此字段不为空,该参数与Url参数须传入其中之一。
426
+ */
427
+ BucketInfo?: BucketInfo
428
+ }
429
+
401
430
  /**
402
431
  * DescribeTaskDetail请求参数结构体
403
432
  */
@@ -468,6 +497,31 @@ Block 建议屏蔽;
468
497
  */
469
498
  MoanResults: Array<MoanResult>
470
499
 
500
+ /**
501
+ * 该字段用于返回当前标签(Lable)下的二级标签。
502
+ 注意:此字段可能返回null,表示取不到有效值。
503
+ 注意:此字段可能返回 null,表示取不到有效值。
504
+ */
505
+ SubLabel: string
506
+
507
+ /**
508
+ * 该字段用于返回音频小语种检测的详细审核结果。具体结果内容请参见AudioResultDetailLanguageResult数据结构的细节描述。
509
+ 注意:此字段可能返回 null,表示取不到有效值。
510
+ */
511
+ LanguageResults: Array<AudioResultDetailLanguageResult>
512
+
513
+ /**
514
+ * 音频中说话人识别返回结果;
515
+ 注意:此字段可能返回 null,表示取不到有效值。
516
+ */
517
+ SpeakerResults: Array<AudioResultDetailSpeakerResult>
518
+
519
+ /**
520
+ * 识别类标签结果信息列表
521
+ 注意:此字段可能返回 null,表示取不到有效值。
522
+ */
523
+ RecognitionResults: Array<RecognitionResult>
524
+
471
525
  /**
472
526
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
473
527
  */
@@ -316,6 +316,11 @@ export interface ProjectSummaryOverviewItem {
316
316
  * 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
317
317
  */
318
318
  TotalCost: string
319
+
320
+ /**
321
+ * 分成金金额
322
+ */
323
+ TransferPayAmount: string
319
324
  }
320
325
 
321
326
  /**
@@ -1262,6 +1267,11 @@ export interface RegionSummaryOverviewItem {
1262
1267
  * 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
1263
1268
  */
1264
1269
  TotalCost: string
1270
+
1271
+ /**
1272
+ * 分成金金额
1273
+ */
1274
+ TransferPayAmount: string
1265
1275
  }
1266
1276
 
1267
1277
  /**
@@ -1574,6 +1584,11 @@ export interface BusinessSummaryOverviewItem {
1574
1584
  * 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
1575
1585
  */
1576
1586
  TotalCost: string
1587
+
1588
+ /**
1589
+ * 分成金金额
1590
+ */
1591
+ TransferPayAmount: string
1577
1592
  }
1578
1593
 
1579
1594
  /**
@@ -2550,6 +2565,30 @@ export interface TagSummaryOverviewItem {
2550
2565
  注意:此字段可能返回 null,表示取不到有效值。
2551
2566
  */
2552
2567
  TotalCost: string
2568
+
2569
+ /**
2570
+ * 现金金额
2571
+ 注意:此字段可能返回 null,表示取不到有效值。
2572
+ */
2573
+ CashPayAmount: string
2574
+
2575
+ /**
2576
+ * 赠送金金额
2577
+ 注意:此字段可能返回 null,表示取不到有效值。
2578
+ */
2579
+ IncentivePayAmount: string
2580
+
2581
+ /**
2582
+ * 代金券金额
2583
+ 注意:此字段可能返回 null,表示取不到有效值。
2584
+ */
2585
+ VoucherPayAmount: string
2586
+
2587
+ /**
2588
+ * 分成金金额
2589
+ 注意:此字段可能返回 null,表示取不到有效值。
2590
+ */
2591
+ TransferPayAmount: string
2553
2592
  }
2554
2593
 
2555
2594
  /**
@@ -3149,6 +3188,11 @@ export interface PayModeSummaryOverviewItem {
3149
3188
  * 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
3150
3189
  */
3151
3190
  TotalCost: string
3191
+
3192
+ /**
3193
+ * 分成金金额
3194
+ */
3195
+ TransferPayAmount: string
3152
3196
  }
3153
3197
 
3154
3198
  /**
@@ -3179,6 +3223,11 @@ export interface BusinessSummaryTotal {
3179
3223
  * 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
3180
3224
  */
3181
3225
  TotalCost: string
3226
+
3227
+ /**
3228
+ * 分成金金额
3229
+ */
3230
+ TransferPayAmount: string
3182
3231
  }
3183
3232
 
3184
3233
  /**
@@ -31,7 +31,7 @@ export interface DescribeNodesRequest {
31
31
  * 节点区域
32
32
  <li> 1 = 中国大陆 </li>
33
33
  <li> 2 = 港澳台 </li>
34
- <li> 3 = 海外 </li>
34
+ <li> 3 = 境外</li>
35
35
  */
36
36
  Location?: number
37
37
 
@@ -271,9 +271,9 @@ AnalyzeTaskType_MediaStream:音视频体验
271
271
 
272
272
  这里实际按拨测结果中的地区来填写即可
273
273
 
274
- 国内一般是省级单位,如广东、广西、香港特区、新疆;直辖市则填北京、上海
274
+ 国内一般是省级单位,如广东、广西、中国香港、新疆;直辖市则填北京、上海
275
275
 
276
- 海外一般是国家名,如澳大利亚、新加坡
276
+ 境外一般是国家名,如澳大利亚、新加坡
277
277
  */
278
278
  Districts?: Array<string>
279
279
 
@@ -816,7 +816,7 @@ export interface NodeDefineExt {
816
816
  * 区域
817
817
  <li> 1 = 中国大陆 </li>
818
818
  <li> 2 = 港澳台 </li>
819
- <li> 3 = 国外 </li>
819
+ <li> 3 = 境外 </li>
820
820
  注意:此字段可能返回 null,表示取不到有效值。
821
821
  */
822
822
  Location: number
@@ -1137,11 +1137,6 @@ export interface ModifyDiskAttributesRequest {
1137
1137
  */
1138
1138
  DiskIds: Array<string>
1139
1139
 
1140
- /**
1141
- * 新的云硬盘项目ID,只支持修改弹性云盘的项目ID。通过[DescribeProject](/document/api/378/4400)接口查询可用项目及其ID。
1142
- */
1143
- ProjectId?: number
1144
-
1145
1140
  /**
1146
1141
  * 新的云硬盘名称。
1147
1142
  */
@@ -1152,6 +1147,11 @@ export interface ModifyDiskAttributesRequest {
1152
1147
  */
1153
1148
  Portable?: boolean
1154
1149
 
1150
+ /**
1151
+ * 新的云硬盘项目ID,只支持修改弹性云盘的项目ID。通过[DescribeProject](/document/api/378/4400)接口查询可用项目及其ID。
1152
+ */
1153
+ ProjectId?: number
1154
+
1155
1155
  /**
1156
1156
  * 成功挂载到云主机后该云硬盘是否随云主机销毁,TRUE表示随云主机销毁,FALSE表示不随云主机销毁。仅支持按量计费云硬盘数据盘。
1157
1157
  */
@@ -1,5 +1,7 @@
1
1
  import { v20220324 } from "./v20220324"
2
+ import { v20220805 } from "./v20220805"
2
3
 
3
4
  export const irp = {
4
5
  v20220324: v20220324,
6
+ v20220805: v20220805,
5
7
  }
@@ -0,0 +1,6 @@
1
+ import * as Models from "./irp_models"
2
+ import { Client } from "./irp_client"
3
+ export const v20220805 = {
4
+ Client: Client,
5
+ Models: Models,
6
+ }
@@ -0,0 +1,85 @@
1
+ /* eslint-disable @typescript-eslint/no-unused-vars */
2
+ /*
3
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import { AbstractClient } from "../../../common/abstract_client"
19
+ import { ClientConfig } from "../../../common/interface"
20
+ import {
21
+ ReportFeedItemResponse,
22
+ ReportFeedUserRequest,
23
+ FeedUserInfo,
24
+ FeedRecommendResponse,
25
+ DocItem,
26
+ DislikeInfo,
27
+ ReportFeedBehaviorResponse,
28
+ ReportFeedItemRequest,
29
+ UserIdInfo,
30
+ RecItemData,
31
+ ReportFeedBehaviorRequest,
32
+ FeedBehaviorInfo,
33
+ ReportFeedUserResponse,
34
+ FeedRecommendRequest,
35
+ } from "./irp_models"
36
+
37
+ /**
38
+ * irp client
39
+ * @class
40
+ */
41
+ export class Client extends AbstractClient {
42
+ constructor(clientConfig: ClientConfig) {
43
+ super("irp.tencentcloudapi.com", "2022-08-05", clientConfig)
44
+ }
45
+
46
+ /**
47
+ * 上报用户信息,请务必确认用户的唯一性,并在请求推荐结果时指定用户的唯一标识信息(UserId),否则将无法进行千人千面的推荐
48
+ */
49
+ async ReportFeedUser(
50
+ req: ReportFeedUserRequest,
51
+ cb?: (error: string, rep: ReportFeedUserResponse) => void
52
+ ): Promise<ReportFeedUserResponse> {
53
+ return this.request("ReportFeedUser", req, cb)
54
+ }
55
+
56
+ /**
57
+ * 上报被用于推荐的信息流内容
58
+ */
59
+ async ReportFeedItem(
60
+ req: ReportFeedItemRequest,
61
+ cb?: (error: string, rep: ReportFeedItemResponse) => void
62
+ ): Promise<ReportFeedItemResponse> {
63
+ return this.request("ReportFeedItem", req, cb)
64
+ }
65
+
66
+ /**
67
+ * 上报场景内的行为数据,随着数据的积累,模型的效果会逐渐稳定。
68
+ */
69
+ async ReportFeedBehavior(
70
+ req: ReportFeedBehaviorRequest,
71
+ cb?: (error: string, rep: ReportFeedBehaviorResponse) => void
72
+ ): Promise<ReportFeedBehaviorResponse> {
73
+ return this.request("ReportFeedBehavior", req, cb)
74
+ }
75
+
76
+ /**
77
+ * 获取信息流推荐结果
78
+ */
79
+ async FeedRecommend(
80
+ req: FeedRecommendRequest,
81
+ cb?: (error: string, rep: FeedRecommendResponse) => void
82
+ ): Promise<FeedRecommendResponse> {
83
+ return this.request("FeedRecommend", req, cb)
84
+ }
85
+ }