tencentcloud-sdk-nodejs 4.1.313 → 4.1.314

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 (132) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/adp/v20260520/adp_client.js +3 -0
  3. package/es/services/bma/index.js +2 -2
  4. package/es/services/btoe/index.js +2 -2
  5. package/es/services/cii/index.js +2 -2
  6. package/es/services/cls/v20201016/cls_client.js +16 -4
  7. package/es/services/dts/index.js +2 -2
  8. package/es/services/edgezone/index.js +4 -0
  9. package/es/services/edgezone/v20260401/edgezone_client.js +63 -0
  10. package/es/services/edgezone/v20260401/edgezone_models.js +1 -0
  11. package/es/services/edgezone/v20260401/index.js +6 -0
  12. package/es/services/eis/index.js +2 -2
  13. package/es/services/es/index.js +2 -2
  14. package/es/services/gme/v20180711/gme_client.js +3 -0
  15. package/es/services/iai/index.js +2 -2
  16. package/es/services/index.js +1 -0
  17. package/es/services/iotvideo/index.js +2 -2
  18. package/es/services/irp/index.js +2 -2
  19. package/es/services/mongodb/index.js +2 -2
  20. package/es/services/rce/index.js +2 -2
  21. package/es/services/tcb/v20180608/tcb_client.js +32 -8
  22. package/es/services/tem/index.js +2 -2
  23. package/es/services/teo/index.js +2 -2
  24. package/es/services/tsw/index.js +2 -2
  25. package/es/services/vm/index.js +2 -2
  26. package/es/services/vod/index.js +2 -2
  27. package/es/services/vod/v20180717/vod_client.js +3 -0
  28. package/es/services/waf/v20180125/waf_client.js +3 -0
  29. package/es/services/yunsou/index.js +2 -2
  30. package/package.json +1 -1
  31. package/tencentcloud/common/sdk_version.d.ts +1 -1
  32. package/tencentcloud/common/sdk_version.js +1 -1
  33. package/tencentcloud/services/adp/v20260520/adp_client.d.ts +6 -2
  34. package/tencentcloud/services/adp/v20260520/adp_client.js +7 -1
  35. package/tencentcloud/services/adp/v20260520/adp_models.d.ts +245 -128
  36. package/tencentcloud/services/ags/v20250920/ags_models.d.ts +1 -1
  37. package/tencentcloud/services/alb/v20251030/alb_models.d.ts +53 -75
  38. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
  39. package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
  40. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +1 -1
  41. package/tencentcloud/services/bdrc/v20260330/bdrc_models.d.ts +7 -3
  42. package/tencentcloud/services/billing/v20180709/billing_client.d.ts +2 -2
  43. package/tencentcloud/services/billing/v20180709/billing_client.js +2 -2
  44. package/tencentcloud/services/bma/index.d.ts +4 -4
  45. package/tencentcloud/services/bma/index.js +2 -2
  46. package/tencentcloud/services/btoe/index.d.ts +4 -4
  47. package/tencentcloud/services/btoe/index.js +2 -2
  48. package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +19 -28
  49. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +8 -0
  50. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +24 -19
  51. package/tencentcloud/services/cds/v20180420/cds_models.d.ts +25 -25
  52. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +28 -8
  53. package/tencentcloud/services/cii/index.d.ts +4 -4
  54. package/tencentcloud/services/cii/index.js +2 -2
  55. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +21 -5
  56. package/tencentcloud/services/cls/v20201016/cls_client.js +30 -6
  57. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +377 -66
  58. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +4 -0
  59. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +14 -14
  60. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +5 -1
  61. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +3 -3
  62. package/tencentcloud/services/dlc/v20210125/dlc_client.js +3 -3
  63. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +220 -19
  64. package/tencentcloud/services/dts/index.d.ts +4 -4
  65. package/tencentcloud/services/dts/index.js +2 -2
  66. package/tencentcloud/services/edgezone/index.d.ts +6 -0
  67. package/tencentcloud/services/edgezone/index.js +7 -0
  68. package/tencentcloud/services/edgezone/v20260401/edgezone_client.d.ts +90 -0
  69. package/tencentcloud/services/edgezone/v20260401/edgezone_client.js +149 -0
  70. package/tencentcloud/services/edgezone/v20260401/edgezone_models.d.ts +1044 -0
  71. package/tencentcloud/services/edgezone/v20260401/edgezone_models.js +18 -0
  72. package/tencentcloud/services/edgezone/v20260401/index.d.ts +6 -0
  73. package/tencentcloud/services/edgezone/v20260401/index.js +10 -0
  74. package/tencentcloud/services/eis/index.d.ts +4 -4
  75. package/tencentcloud/services/eis/index.js +2 -2
  76. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +8 -0
  77. package/tencentcloud/services/es/index.d.ts +4 -4
  78. package/tencentcloud/services/es/index.js +2 -2
  79. package/tencentcloud/services/gme/v20180711/gme_client.d.ts +5 -1
  80. package/tencentcloud/services/gme/v20180711/gme_client.js +6 -0
  81. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +244 -75
  82. package/tencentcloud/services/iai/index.d.ts +4 -4
  83. package/tencentcloud/services/iai/index.js +2 -2
  84. package/tencentcloud/services/igtm/v20231024/igtm_models.d.ts +17 -17
  85. package/tencentcloud/services/index.d.ts +1 -0
  86. package/tencentcloud/services/index.js +6 -4
  87. package/tencentcloud/services/iotvideo/index.d.ts +4 -4
  88. package/tencentcloud/services/iotvideo/index.js +2 -2
  89. package/tencentcloud/services/irp/index.d.ts +4 -4
  90. package/tencentcloud/services/irp/index.js +2 -2
  91. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +11 -24
  92. package/tencentcloud/services/mongodb/index.d.ts +4 -4
  93. package/tencentcloud/services/mongodb/index.js +2 -2
  94. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +13 -9
  95. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +17 -7
  96. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +36 -66
  97. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +20 -12
  98. package/tencentcloud/services/rce/index.d.ts +4 -4
  99. package/tencentcloud/services/rce/index.js +2 -2
  100. package/tencentcloud/services/rce/v20260130/rce_models.d.ts +311 -86
  101. package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +73 -14
  102. package/tencentcloud/services/tcb/v20180608/tcb_client.js +92 -17
  103. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +583 -128
  104. package/tencentcloud/services/tdai/v20250717/tdai_client.d.ts +1 -1
  105. package/tencentcloud/services/tdai/v20250717/tdai_models.d.ts +35 -10
  106. package/tencentcloud/services/tem/index.d.ts +4 -4
  107. package/tencentcloud/services/tem/index.js +2 -2
  108. package/tencentcloud/services/teo/index.d.ts +4 -4
  109. package/tencentcloud/services/teo/index.js +2 -2
  110. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +1 -1
  111. package/tencentcloud/services/teo/v20220901/teo_client.js +1 -1
  112. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +7 -11
  113. package/tencentcloud/services/tokenhub/v20260322/tokenhub_models.d.ts +15 -19
  114. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
  115. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +124 -50
  116. package/tencentcloud/services/tsw/index.d.ts +4 -4
  117. package/tencentcloud/services/tsw/index.js +2 -2
  118. package/tencentcloud/services/vm/index.d.ts +4 -4
  119. package/tencentcloud/services/vm/index.js +2 -2
  120. package/tencentcloud/services/vod/index.d.ts +4 -4
  121. package/tencentcloud/services/vod/index.js +2 -2
  122. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +5 -1
  123. package/tencentcloud/services/vod/v20180717/vod_client.js +6 -0
  124. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +292 -374
  125. package/tencentcloud/services/vod/v20240718/vod_models.d.ts +8 -14
  126. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +91 -52
  127. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
  128. package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
  129. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +144 -13
  130. package/tencentcloud/services/wedata/v20250806/wedata_models.d.ts +20 -6
  131. package/tencentcloud/services/yunsou/index.d.ts +4 -4
  132. package/tencentcloud/services/yunsou/index.js +2 -2
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) 2018 Tencent. 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
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import * as Models from "./edgezone_models";
2
+ import { Client } from "./edgezone_client";
3
+ export declare const v20260401: {
4
+ Client: typeof Client;
5
+ Models: typeof Models;
6
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.v20260401 = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const Models = tslib_1.__importStar(require("./edgezone_models"));
6
+ const edgezone_client_1 = require("./edgezone_client");
7
+ exports.v20260401 = {
8
+ Client: edgezone_client_1.Client,
9
+ Models: Models
10
+ };
@@ -1,10 +1,10 @@
1
1
  export declare const eis: {
2
- v20200715: {
3
- Client: typeof import("./v20200715/eis_client").Client;
4
- Models: typeof import("./v20200715/eis_models");
5
- };
6
2
  v20210601: {
7
3
  Client: typeof import("./v20210601/eis_client").Client;
8
4
  Models: typeof import("./v20210601/eis_models");
9
5
  };
6
+ v20200715: {
7
+ Client: typeof import("./v20200715/eis_client").Client;
8
+ Models: typeof import("./v20200715/eis_models");
9
+ };
10
10
  };
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.eis = void 0;
4
- const v20200715_1 = require("./v20200715");
5
4
  const v20210601_1 = require("./v20210601");
5
+ const v20200715_1 = require("./v20200715");
6
6
  exports.eis = {
7
- v20200715: v20200715_1.v20200715,
8
7
  v20210601: v20210601_1.v20210601,
8
+ v20200715: v20200715_1.v20200715,
9
9
  };
@@ -11464,6 +11464,14 @@ export interface CreateCloudInstanceRequest {
11464
11464
  * <p>是否开启实例保护</p>
11465
11465
  */
11466
11466
  TerminateProtection?: boolean;
11467
+ /**
11468
+ * <p>是否启用emr-proxy</p><p>枚举值:</p><ul><li>true: 启用</li><li>false: 关闭</li></ul>
11469
+ */
11470
+ EnableEmrProxy?: boolean;
11471
+ /**
11472
+ * <p>日志存储服务实例id</p>
11473
+ */
11474
+ LogStoreID?: string;
11467
11475
  }
11468
11476
  /**
11469
11477
  * 资源详情
@@ -1,10 +1,10 @@
1
1
  export declare const es: {
2
- v20180416: {
3
- Client: typeof import("./v20180416/es_client").Client;
4
- Models: typeof import("./v20180416/es_models");
5
- };
6
2
  v20250101: {
7
3
  Client: typeof import("./v20250101/es_client").Client;
8
4
  Models: typeof import("./v20250101/es_models");
9
5
  };
6
+ v20180416: {
7
+ Client: typeof import("./v20180416/es_client").Client;
8
+ Models: typeof import("./v20180416/es_models");
9
+ };
10
10
  };
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.es = void 0;
4
- const v20180416_1 = require("./v20180416");
5
4
  const v20250101_1 = require("./v20250101");
5
+ const v20180416_1 = require("./v20180416");
6
6
  exports.es = {
7
- v20180416: v20180416_1.v20180416,
8
7
  v20250101: v20250101_1.v20250101,
8
+ v20180416: v20180416_1.v20180416,
9
9
  };
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { ModifyAppStatusRequest, ModifyRecordInfoRequest, ModifyCustomizationStateRequest, StartAIConversationResponse, CreateScanUserRequest, StartAIConversationRequest, DescribeScanResultListRequest, StartRecordRequest, GetCustomizationListResponse, DeleteScanUserRequest, ModifyUserMicStatusRequest, UpdateScanUsersResponse, ControlAIConversationResponse, DescribeAgeDetectTaskRequest, DeleteCustomizationResponse, DescribeApplicationListRequest, GetCustomizationListRequest, RegisterVoicePrintResponse, DescribeRecordInfoResponse, CreateAppResponse, StopRecordResponse, DeleteVoicePrintRequest, DescribeUserInAndOutTimeRequest, StartRecordResponse, DescribeScanResultListResponse, DescribeApplicationListResponse, DescribeRecordInfoRequest, DescribeRoomInfoRequest, DescribeAuditResultExternalRequest, ModifyCustomizationResponse, DeleteCustomizationRequest, CreateAgeDetectTaskRequest, DescribeAppStatisticsResponse, DescribeVoicePrintResponse, DeleteScanUserResponse, DescribeRoomInfoResponse, DescribeAIConversationResponse, DescribeVoicePrintRequest, DescribeTaskInfoRequest, DescribeAuditResultExternalResponse, ScanVoiceRequest, RegisterVoicePrintRequest, UpdateVoicePrintRequest, DescribeApplicationDataRequest, CreateScanUserResponse, DeleteVoicePrintResponse, ModifyUserMicStatusResponse, DescribeTaskInfoResponse, DeleteRoomMemberResponse, ModifyCustomizationRequest, StopAIConversationResponse, DescribeAIConversationRequest, DescribeUserInAndOutTimeResponse, DescribeAppStatisticsRequest, StopRecordRequest, CreateAppRequest, ControlAIConversationRequest, ScanVoiceResponse, CreateAgeDetectTaskResponse, DescribeRealtimeScanConfigResponse, DeleteRoomMemberRequest, CreateCustomizationRequest, UpdateScanRoomsRequest, DescribeRealtimeScanConfigRequest, DescribeAgeDetectTaskResponse, StopAIConversationRequest, UpdateAIConversationRequest, UpdateScanRoomsResponse, DescribeApplicationDataResponse, UpdateAIConversationResponse, UpdateVoicePrintResponse, UpdateScanUsersRequest, ModifyAppStatusResponse, CreateCustomizationResponse, ModifyCustomizationStateResponse, ModifyRecordInfoResponse } from "./gme_models";
3
+ import { ModifyAppStatusRequest, ModifyRecordInfoRequest, ModifyCustomizationStateRequest, StartAIConversationResponse, StartAIConversationRequest, DescribeScanResultListRequest, StartRecordRequest, GetCustomizationListResponse, DeleteScanUserRequest, ModifyUserMicStatusRequest, UpdateScanUsersResponse, ControlAIConversationResponse, DescribeAgeDetectTaskRequest, DeleteCustomizationResponse, DescribeApplicationListRequest, GetCustomizationListRequest, RegisterVoicePrintResponse, DescribeRecordInfoResponse, CreateAppResponse, StopRecordResponse, DeleteVoicePrintRequest, DescribeUserInAndOutTimeRequest, StartRecordResponse, DescribeScanResultListResponse, DescribeApplicationListResponse, DescribeRecordInfoRequest, DescribeRoomInfoRequest, DescribeAuditResultExternalRequest, ModifyCustomizationResponse, DeleteCustomizationRequest, CreateAgeDetectTaskRequest, DescribeAppStatisticsResponse, DescribeVoicePrintResponse, DeleteScanUserResponse, DescribeRoomInfoResponse, DescribeAIConversationResponse, DescribeVoicePrintRequest, DescribeTaskInfoRequest, DescribeAuditResultExternalResponse, ScanVoiceRequest, RegisterVoicePrintRequest, UpdateVoicePrintRequest, DescribeApplicationDataRequest, CreateScanUserResponse, CreateAudioModerationSyncResponse, DeleteVoicePrintResponse, CreateAudioModerationSyncRequest, ModifyUserMicStatusResponse, DescribeTaskInfoResponse, DeleteRoomMemberResponse, ModifyCustomizationRequest, StopAIConversationResponse, DescribeAIConversationRequest, DescribeUserInAndOutTimeResponse, DescribeAppStatisticsRequest, StopRecordRequest, CreateAppRequest, ControlAIConversationRequest, ScanVoiceResponse, CreateAgeDetectTaskResponse, DescribeRealtimeScanConfigResponse, DeleteRoomMemberRequest, CreateCustomizationRequest, UpdateScanRoomsRequest, DescribeRealtimeScanConfigRequest, CreateScanUserRequest, DescribeAgeDetectTaskResponse, StopAIConversationRequest, UpdateAIConversationRequest, UpdateScanRoomsResponse, DescribeApplicationDataResponse, UpdateAIConversationResponse, UpdateVoicePrintResponse, UpdateScanUsersRequest, ModifyAppStatusResponse, CreateCustomizationResponse, ModifyCustomizationStateResponse, ModifyRecordInfoResponse } from "./gme_models";
4
4
  /**
5
5
  * gme client
6
6
  * @class
@@ -53,6 +53,10 @@ export declare class Client extends AbstractClient {
53
53
  * 更新自定义送检房间号。**接口使用前提**:目前 UpdateScanRooms 接口通过白名单开放,如需使用,需要 [提交工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=438&level2_id=445&source=0&data_title=%E6%B8%B8%E6%88%8F%E5%A4%9A%E5%AA%92%E4%BD%93%E5%BC%95%E6%93%8EGME&step=1)。
54
54
  */
55
55
  UpdateScanRooms(req: UpdateScanRoomsRequest, cb?: (error: string, rep: UpdateScanRoomsResponse) => void): Promise<UpdateScanRoomsResponse>;
56
+ /**
57
+ * 短音频内容理解同步接口
58
+ */
59
+ CreateAudioModerationSync(req: CreateAudioModerationSyncRequest, cb?: (error: string, rep: CreateAudioModerationSyncResponse) => void): Promise<CreateAudioModerationSyncResponse>;
56
60
  /**
57
61
  * 启动AI对话任务,AI通道机器人进入GME房间,与房间内指定的成员进行AI对话,适用于智能客服,AI口语教师等场景
58
62
 
@@ -95,6 +95,12 @@ class Client extends abstract_client_1.AbstractClient {
95
95
  async UpdateScanRooms(req, cb) {
96
96
  return this.request("UpdateScanRooms", req, cb);
97
97
  }
98
+ /**
99
+ * 短音频内容理解同步接口
100
+ */
101
+ async CreateAudioModerationSync(req, cb) {
102
+ return this.request("CreateAudioModerationSync", req, cb);
103
+ }
98
104
  /**
99
105
  * 启动AI对话任务,AI通道机器人进入GME房间,与房间内指定的成员进行AI对话,适用于智能客服,AI口语教师等场景
100
106
 
@@ -272,28 +272,77 @@ export interface StartAIConversationResponse {
272
272
  RequestId?: string;
273
273
  }
274
274
  /**
275
- * CreateScanUser请求参数结构体
275
+ * 语音转文字参数
276
276
  */
277
- export interface CreateScanUserRequest {
277
+ export interface STTConfig {
278
278
  /**
279
- * 应用ID,登录控制台 - 服务管理创建应用得到的AppID
279
+ *
280
+ 语音转文字支持识别的语言,默认是"zh" 中文
281
+
282
+ 可通过购买「AI智能识别时长包」解锁或领取包月套餐体验版解锁不同语言.
283
+
284
+ 语音转文本不同套餐版本支持的语言如下:
285
+
286
+ **基础版**:
287
+ - "zh": 中文(简体)
288
+ - "zh-TW": 中文(繁体)
289
+ - "en": 英语
290
+
291
+ **标准版:**
292
+ - "8k_zh_large": 普方大模型引擎. 当前模型同时支持中文等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升.
293
+ - "16k_zh_large": 普方英大模型引擎. 当前模型同时支持中文、英文、多种中文方言等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.
294
+ - "16k_multi_lang": 多语种大模型引擎. 当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别).
295
+ - "16k_zh_en": 中英大模型引擎. 当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.
296
+
297
+ **高级版:**
298
+ - "zh-dialect": 中国方言
299
+ - "zh-yue": 中国粤语
300
+ - "vi": 越南语
301
+ - "ja": 日语
302
+ - "ko": 韩语
303
+ - "id": 印度尼西亚语
304
+ - "th": 泰语
305
+ - "pt": 葡萄牙语
306
+ - "tr": 土耳其语
307
+ - "ar": 阿拉伯语
308
+ - "es": 西班牙语
309
+ - "hi": 印地语
310
+ - "fr": 法语
311
+ - "ms": 马来语
312
+ - "fil": 菲律宾语
313
+ - "de": 德语
314
+ - "it": 意大利语
315
+ - "ru": 俄语
316
+ - "sv": 瑞典语
317
+ - "da": 丹麦语
318
+ - "no": 挪威语
319
+
320
+ **注意:**
321
+ 如果缺少满足您需求的语言,请联系我们技术人员。
280
322
  */
281
- BizId: number;
323
+ Language?: string;
282
324
  /**
283
- * 需要新增送检的用户号。示例:1234
284
- (若UserId不填,则UserIdString必填;两者选其一;两者都填以UserIdString为准)
325
+ * **发起模糊识别为高级版能力,默认按照高级版收费,仅支持填写基础版和高级版语言.**
326
+ 注意:不支持填写"zh-dialect"
285
327
  */
286
- UserId?: number;
328
+ AlternativeLanguage?: Array<string>;
287
329
  /**
288
- * 需要新增送检的用户号,长度不超过1024字符。示例:"1234"(若UserIdString不填,则UserId必填;两者选其一;两者都填以UserIdString为准)
330
+ * 自定义参数,联系后台使用
331
+
289
332
  */
290
- UserIdString?: string;
333
+ CustomParam?: string;
291
334
  /**
292
- * 当前用户送检过期时间,单位:秒。
293
- 若参数不为0,则在过期时间之后,用户不会被送检。
294
- 若参数为0,则送检配置不会自动失效。
335
+ * 语音识别vad的时间,范围为240-2000,默认为1000,单位为ms。更小的值会让语音识别分句更快。
295
336
  */
296
- ExpirationTime?: number;
337
+ VadSilenceTime?: number;
338
+ /**
339
+ * 热词表:该参数用于提升识别准确率。 单个热词限制:"热词|权重",单个热词不超过30个字符(最多10个汉字),权重[1-11]或者100,如:“腾讯云|5” 或 “ASR|11”; 热词表限制:多个热词用英文逗号分割,最多支持128个热词,如:“腾讯云|10,语音识别|5,ASR|11”;
340
+ */
341
+ HotWordList?: string;
342
+ /**
343
+ * vad的远场人声抑制能力(不会对asr识别效果造成影响),范围为[0, 3],默认为0。推荐设置为2,有较好的远场人声抑制能力。
344
+ */
345
+ VadLevel?: number;
297
346
  }
298
347
  /**
299
348
  * StartAIConversation请求参数结构体
@@ -1428,6 +1477,63 @@ export interface CreateScanUserResponse {
1428
1477
  */
1429
1478
  RequestId?: string;
1430
1479
  }
1480
+ /**
1481
+ * CreateAudioModerationSync返回参数结构体
1482
+ */
1483
+ export interface CreateAudioModerationSyncResponse {
1484
+ /**
1485
+ * <p>返回传入的DataId</p>
1486
+ */
1487
+ DataId?: string;
1488
+ /**
1489
+ * <p>审核返回的任务id</p>
1490
+ */
1491
+ TaskId?: string;
1492
+ /**
1493
+ * <p>文件名</p>
1494
+ */
1495
+ FileName?: string;
1496
+ /**
1497
+ * <p>1:语音。 2:图片。</p><p>枚举值:</p><ul><li>1: 语音</li><li>2: 图片</li></ul>
1498
+ */
1499
+ MediaType?: number;
1500
+ /**
1501
+ * <p>0:建议通过。 1 :建议人工重新内容识别。 2:建议屏蔽。</p><p>枚举值:</p><ul><li>0: 建议通过</li><li>1: 建议人工重新内容识别</li><li>2: 建议屏蔽</li></ul>
1502
+ */
1503
+ Suggest?: number;
1504
+ /**
1505
+ * <p>置信度分数,取值范围:0(置信度最低)-100(置信度最高 ),越高代表越有可能属于当前返回的标签。 实例值:100</p>
1506
+ */
1507
+ Rate?: number;
1508
+ /**
1509
+ * <p>Normal:正常文本 Ad:广告 Porn:色情 Abuse:谩骂 Illegal: 违禁 Polity: 涉政 Terror: 暴恐 Sexy: 性感 Moan: 呻吟/娇喘 QRCode: 二维码 Custom: 自定义</p>
1510
+ */
1511
+ Label?: string;
1512
+ /**
1513
+ * <p>子标签</p>
1514
+ */
1515
+ SubLabel?: string;
1516
+ /**
1517
+ * <p>音频链接地址</p>
1518
+ */
1519
+ Audio?: string;
1520
+ /**
1521
+ * <p>审核识别音频文本</p>
1522
+ */
1523
+ AudioText?: string;
1524
+ /**
1525
+ * <p>审核明细</p>
1526
+ */
1527
+ CheckDetail?: Array<ModerationCheckDetail>;
1528
+ /**
1529
+ * <p>音频时长,单位 ms</p>
1530
+ */
1531
+ Duration?: number;
1532
+ /**
1533
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1534
+ */
1535
+ RequestId?: string;
1536
+ }
1431
1537
  /**
1432
1538
  * 断句配置
1433
1539
  */
@@ -1454,6 +1560,59 @@ export interface TurnDetection {
1454
1560
  */
1455
1561
  SemanticEagerness?: string;
1456
1562
  }
1563
+ /**
1564
+ * 内容理解结果明细
1565
+ */
1566
+ export interface ModerationCheckDetail {
1567
+ /**
1568
+ * <p>该字段在内容理解回调事件中可直接忽略,仅在第三方审核时存在,检出违规的模型场景,枚举值:Ad/Porn/Abuse/Illegal/Polity/Terror/Sexy/Moan/Custom</p>
1569
+ */
1570
+ Scene?: string;
1571
+ /**
1572
+ * <p>Normal:正常文本 Ad:广告 Porn:色情 Abuse:谩骂 Illegal: 违禁 Polity: 涉政 Terror: 暴恐 Sexy: 性感 Moan: 呻吟/娇喘 QRCode: 二维码 Custom: 自定义</p>
1573
+ */
1574
+ Label?: string;
1575
+ /**
1576
+ * <p>二级标签</p>
1577
+ */
1578
+ SubLabel?: string;
1579
+ /**
1580
+ * <p>处理建议</p>
1581
+ */
1582
+ Suggest?: number;
1583
+ /**
1584
+ * <p>自定义词库名</p>
1585
+ */
1586
+ LibName?: string;
1587
+ /**
1588
+ * <p>命中的关键词</p>
1589
+ */
1590
+ Keywords?: Array<string>;
1591
+ /**
1592
+ * <p>中文二级标签。</p>
1593
+ */
1594
+ Desc?: string;
1595
+ /**
1596
+ * <p>置信度分值</p>
1597
+ */
1598
+ Score?: number;
1599
+ /**
1600
+ * <p>违规严重程度: 0-不区分 1-轻度 2-严重</p>
1601
+ */
1602
+ Severity?: number;
1603
+ /**
1604
+ * <p>违规严重程度描述 仅名单内sdkappid返回 负面表达,正面或中性表达,语义模糊</p>
1605
+ */
1606
+ SeverityDesc?: string;
1607
+ /**
1608
+ * <p>音频切片位置信息</p>
1609
+ */
1610
+ AudioSegments?: AudioSegments;
1611
+ /**
1612
+ * <p>图片命中坐标信息。</p>
1613
+ */
1614
+ ImageLocation?: ImageLocation;
1615
+ }
1457
1616
  /**
1458
1617
  * 声纹配置参数
1459
1618
  */
@@ -1476,6 +1635,39 @@ export interface DeleteVoicePrintResponse {
1476
1635
  */
1477
1636
  RequestId?: string;
1478
1637
  }
1638
+ /**
1639
+ * CreateAudioModerationSync请求参数结构体
1640
+ */
1641
+ export interface CreateAudioModerationSyncRequest {
1642
+ /**
1643
+ * <p>sdkappid app账号</p>
1644
+ */
1645
+ Sdkappid: number;
1646
+ /**
1647
+ * <p>BizType为策略的具体的编号, GME业务 2_2_3_sdkappid</p>
1648
+ */
1649
+ BizType?: string;
1650
+ /**
1651
+ * <p>数据标识,可以由英文字母、数字、下划线、-、@#组成,不超过64个字符</p>
1652
+ */
1653
+ DataId?: string;
1654
+ /**
1655
+ * <p>音频格式,当FileUrl为空时,必填。音频文件资源格式,当前支持格式:wav、mp3、m4a,请按照实际文件格式填入。 示例值:mp3</p>
1656
+ */
1657
+ FileFormat?: string;
1658
+ /**
1659
+ * <p>文件名称,可以由英文字母、数字、下划线、-、@#组成,不超过64个字符 示例值:file_name</p>
1660
+ */
1661
+ FileName?: string;
1662
+ /**
1663
+ * <p>数据Base64编码,短音频同步接口仅传入可音频内容; 支持范围:文件大小不能超过5M,时长不可超过60s; 支持格式:wav (PCM编码)、mp3、m4a (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:16kHz/16bit/单声道)。 示例值:1</p>
1664
+ */
1665
+ FileContent?: string;
1666
+ /**
1667
+ * <p>音频资源访问链接,与FileContent参数必须二选一输入; 支持范围及格式:同FileContent;</p>
1668
+ */
1669
+ FileUrl?: string;
1670
+ }
1479
1671
  /**
1480
1672
  * ModifyUserMicStatus返回参数结构体
1481
1673
  */
@@ -1787,6 +1979,19 @@ export interface CreateAppRequest {
1787
1979
  */
1788
1980
  Tags?: Array<Tag>;
1789
1981
  }
1982
+ /**
1983
+ * 音频片段时间信息
1984
+ */
1985
+ export interface AudioSegments {
1986
+ /**
1987
+ * <p>该参数用于返回对应语种标签的片段在音频文件内的开始时间,单位为秒。 示例值:0</p>
1988
+ */
1989
+ StartTime?: number;
1990
+ /**
1991
+ * <p>该参数用于返回对应语种标签的片段在音频文件内的结束时间,单位为秒。 示例值:15</p>
1992
+ */
1993
+ FinishTime?: number;
1994
+ }
1790
1995
  /**
1791
1996
  * ControlAIConversation请求参数结构体
1792
1997
  */
@@ -1969,6 +2174,19 @@ export interface DeleteRoomMemberRequest {
1969
2174
  */
1970
2175
  StrUids?: Array<string>;
1971
2176
  }
2177
+ /**
2178
+ * 图片违规位置坐标
2179
+ */
2180
+ export interface ImageLocation {
2181
+ /**
2182
+ * <p>该参数用于返回检测框左上角位置的横坐标(x)所在的像素位置,结合剩余参数可唯一确定检测框的大小和位置。 示例值:51</p>
2183
+ */
2184
+ X?: number;
2185
+ /**
2186
+ * <p>该参数用于返回检测框左上角位置的纵坐标(y)所在的像素位置,结合剩余参数可唯一确定检测框的大小和位置。 示例值:448</p>
2187
+ */
2188
+ Y?: number;
2189
+ }
1972
2190
  /**
1973
2191
  * CreateCustomization请求参数结构体
1974
2192
  */
@@ -2026,77 +2244,28 @@ export interface InvokeLLM {
2026
2244
  Interrupt?: boolean;
2027
2245
  }
2028
2246
  /**
2029
- * 语音转文字参数
2247
+ * CreateScanUser请求参数结构体
2030
2248
  */
2031
- export interface STTConfig {
2032
- /**
2033
- *
2034
- 语音转文字支持识别的语言,默认是"zh" 中文
2035
-
2036
- 可通过购买「AI智能识别时长包」解锁或领取包月套餐体验版解锁不同语言.
2037
-
2038
- 语音转文本不同套餐版本支持的语言如下:
2039
-
2040
- **基础版**:
2041
- - "zh": 中文(简体)
2042
- - "zh-TW": 中文(繁体)
2043
- - "en": 英语
2044
-
2045
- **标准版:**
2046
- - "8k_zh_large": 普方大模型引擎. 当前模型同时支持中文等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升.
2047
- - "16k_zh_large": 普方英大模型引擎. 当前模型同时支持中文、英文、多种中文方言等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.
2048
- - "16k_multi_lang": 多语种大模型引擎. 当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别).
2049
- - "16k_zh_en": 中英大模型引擎. 当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.
2050
-
2051
- **高级版:**
2052
- - "zh-dialect": 中国方言
2053
- - "zh-yue": 中国粤语
2054
- - "vi": 越南语
2055
- - "ja": 日语
2056
- - "ko": 韩语
2057
- - "id": 印度尼西亚语
2058
- - "th": 泰语
2059
- - "pt": 葡萄牙语
2060
- - "tr": 土耳其语
2061
- - "ar": 阿拉伯语
2062
- - "es": 西班牙语
2063
- - "hi": 印地语
2064
- - "fr": 法语
2065
- - "ms": 马来语
2066
- - "fil": 菲律宾语
2067
- - "de": 德语
2068
- - "it": 意大利语
2069
- - "ru": 俄语
2070
- - "sv": 瑞典语
2071
- - "da": 丹麦语
2072
- - "no": 挪威语
2073
-
2074
- **注意:**
2075
- 如果缺少满足您需求的语言,请联系我们技术人员。
2076
- */
2077
- Language?: string;
2078
- /**
2079
- * **发起模糊识别为高级版能力,默认按照高级版收费,仅支持填写基础版和高级版语言.**
2080
- 注意:不支持填写"zh-dialect"
2081
- */
2082
- AlternativeLanguage?: Array<string>;
2249
+ export interface CreateScanUserRequest {
2083
2250
  /**
2084
- * 自定义参数,联系后台使用
2085
-
2251
+ * 应用ID,登录控制台 - 服务管理创建应用得到的AppID
2086
2252
  */
2087
- CustomParam?: string;
2253
+ BizId: number;
2088
2254
  /**
2089
- * 语音识别vad的时间,范围为240-2000,默认为1000,单位为ms。更小的值会让语音识别分句更快。
2255
+ * 需要新增送检的用户号。示例:1234
2256
+ (若UserId不填,则UserIdString必填;两者选其一;两者都填以UserIdString为准)
2090
2257
  */
2091
- VadSilenceTime?: number;
2258
+ UserId?: number;
2092
2259
  /**
2093
- * 热词表:该参数用于提升识别准确率。 单个热词限制:"热词|权重",单个热词不超过30个字符(最多10个汉字),权重[1-11]或者100,如:“腾讯云|5” 或 “ASR|11”; 热词表限制:多个热词用英文逗号分割,最多支持128个热词,如:“腾讯云|10,语音识别|5,ASR|11”;
2260
+ * 需要新增送检的用户号,长度不超过1024字符。示例:"1234"(若UserIdString不填,则UserId必填;两者选其一;两者都填以UserIdString为准)
2094
2261
  */
2095
- HotWordList?: string;
2262
+ UserIdString?: string;
2096
2263
  /**
2097
- * vad的远场人声抑制能力(不会对asr识别效果造成影响),范围为[0, 3],默认为0。推荐设置为2,有较好的远场人声抑制能力。
2264
+ * 当前用户送检过期时间,单位:秒。
2265
+ 若参数不为0,则在过期时间之后,用户不会被送检。
2266
+ 若参数为0,则送检配置不会自动失效。
2098
2267
  */
2099
- VadLevel?: number;
2268
+ ExpirationTime?: number;
2100
2269
  }
2101
2270
  /**
2102
2271
  * 流式转文本用量数据
@@ -1,10 +1,10 @@
1
1
  export declare const iai: {
2
- v20180301: {
3
- Client: typeof import("./v20180301/iai_client").Client;
4
- Models: typeof import("./v20180301/iai_models");
5
- };
6
2
  v20200303: {
7
3
  Client: typeof import("./v20200303/iai_client").Client;
8
4
  Models: typeof import("./v20200303/iai_models");
9
5
  };
6
+ v20180301: {
7
+ Client: typeof import("./v20180301/iai_client").Client;
8
+ Models: typeof import("./v20180301/iai_models");
9
+ };
10
10
  };
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.iai = void 0;
4
- const v20180301_1 = require("./v20180301");
5
4
  const v20200303_1 = require("./v20200303");
5
+ const v20180301_1 = require("./v20180301");
6
6
  exports.iai = {
7
- v20180301: v20180301_1.v20180301,
8
7
  v20200303: v20200303_1.v20200303,
8
+ v20180301: v20180301_1.v20180301,
9
9
  };