tencentcloud-sdk-nodejs 4.0.503 → 4.0.505
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.
- package/CHANGELOG.md +297 -0
- package/SERVICE_CHANGELOG.md +368 -8
- package/package.json +1 -1
- package/products.md +28 -28
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +23 -1
- package/src/services/bda/v20200324/bda_models.ts +13 -5
- package/src/services/bpaas/v20181217/bpaas_models.ts +25 -1
- package/src/services/captcha/v20190722/captcha_client.ts +1 -1
- package/src/services/cbs/v20170312/cbs_client.ts +1 -3
- package/src/services/cbs/v20170312/cbs_models.ts +24 -24
- package/src/services/ccc/v20200210/ccc_client.ts +13 -1
- package/src/services/ccc/v20200210/ccc_models.ts +54 -29
- package/src/services/cdc/v20201214/cdc_models.ts +6 -0
- package/src/services/cfw/v20190904/cfw_models.ts +1 -1
- package/src/services/cvm/v20170312/cvm_models.ts +18 -38
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +65 -10
- package/src/services/gme/v20180711/gme_client.ts +6 -6
- package/src/services/gme/v20180711/gme_models.ts +7 -7
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +2 -2
- package/src/services/mps/v20190612/mps_models.ts +15 -6
- package/src/services/nlp/v20190408/nlp_client.ts +28 -4
- package/src/services/nlp/v20190408/nlp_models.ts +118 -38
- package/src/services/postgres/v20170312/postgres_client.ts +143 -44
- package/src/services/postgres/v20170312/postgres_models.ts +620 -212
- package/src/services/redis/v20180412/redis_client.ts +1 -1
- package/src/services/redis/v20180412/redis_models.ts +33 -33
- package/src/services/ses/v20201002/ses_client.ts +12 -0
- package/src/services/ses/v20201002/ses_models.ts +25 -0
- package/src/services/tcss/v20201101/tcss_client.ts +1 -1
- package/src/services/tcss/v20201101/tcss_models.ts +1 -1
- package/src/services/tem/v20210701/tem_models.ts +5 -0
- package/src/services/tiia/v20190529/tiia_client.ts +1 -1
- package/src/services/tiia/v20190529/tiia_models.ts +1 -1
- package/src/services/tione/v20211111/tione_models.ts +5 -0
- package/src/services/tsf/v20180326/tsf_models.ts +3 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +19 -1
- package/tencentcloud/services/bda/v20200324/bda_models.d.ts +12 -5
- package/tencentcloud/services/bpaas/v20181217/bpaas_models.d.ts +21 -1
- package/tencentcloud/services/captcha/v20190722/captcha_client.d.ts +1 -1
- package/tencentcloud/services/captcha/v20190722/captcha_client.js +1 -1
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +1 -3
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +1 -3
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +21 -21
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +5 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +6 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +46 -24
- package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +5 -0
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +14 -37
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +47 -2
- package/tencentcloud/services/gme/v20180711/gme_client.d.ts +6 -6
- package/tencentcloud/services/gme/v20180711/gme_client.js +6 -6
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +7 -7
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +2 -2
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +12 -4
- package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +9 -1
- package/tencentcloud/services/nlp/v20190408/nlp_client.js +12 -0
- package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +103 -35
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +45 -13
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +66 -18
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +517 -170
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +33 -33
- package/tencentcloud/services/ses/v20201002/ses_client.d.ts +5 -1
- package/tencentcloud/services/ses/v20201002/ses_client.js +6 -0
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +22 -0
- package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_client.js +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +1 -1
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +4 -0
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +1 -1
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +1 -1
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +1 -1
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +4 -0
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +1 -0
- package/test/ccc.v20200210.test.js +10 -0
- package/test/nlp.v20190408.test.js +20 -0
- package/test/postgres.v20170312.test.js +92 -12
- package/test/ses.v20201002.test.js +10 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeExtensionRequest, StopAutoCalloutTaskRequest, CreateSDKLoginTokenResponse, ModifyStaffRequest, DeleteStaffResponse, DisableCCCPhoneNumberResponse, DescribeProtectedTelCdrResponse, DescribeAutoCalloutTaskRequest, CreateUserSigResponse, DescribeIMCdrsResponse, CreateCallOutSessionResponse, DescribeCarrierPrivilegeNumberApplicantsRequest, DisableCCCPhoneNumberRequest, DescribeExtensionsResponse, DeleteExtensionRequest, DescribeTelCallInfoResponse, DescribeTelCdrRequest, DescribeAutoCalloutTasksResponse, ModifyExtensionResponse, CreateStaffResponse, DescribeSkillGroupInfoListResponse, UnbindStaffSkillGroupListResponse, DescribeStaffInfoListResponse, CreateCarrierPrivilegeNumberApplicantRequest, CreateExtensionResponse, CreateUserSigRequest, CreateCCCSkillGroupRequest, DescribeAutoCalloutTaskResponse, CreateCCCSkillGroupResponse, DescribeTelSessionRequest, DescribeIMCdrsRequest, DescribeSkillGroupInfoListRequest, CreateCarrierPrivilegeNumberApplicantResponse, DescribeStaffInfoListRequest, ResetExtensionPasswordResponse, ModifyExtensionRequest, CreateAutoCalloutTaskResponse, DeleteStaffRequest, DescribeCCCBuyInfoListRequest, DescribeTelCallInfoRequest, CreateExtensionRequest, CreateAutoCalloutTaskRequest, UnbindStaffSkillGroupListRequest, StopAutoCalloutTaskResponse, DescribeCCCBuyInfoListResponse, DeleteExtensionResponse, BindStaffSkillGroupListRequest, DescribePSTNActiveSessionListRequest, DescribeCallInMetricsResponse, DescribeActiveCarrierPrivilegeNumberResponse, DescribeTelCdrResponse, DescribeStaffStatusMetricsRequest, ResetExtensionPasswordRequest, CreateStaffRequest, DescribeChatMessagesResponse, DescribePSTNActiveSessionListResponse, DescribeAutoCalloutTasksRequest, DescribeChatMessagesRequest, DescribeTelSessionResponse, ModifyStaffResponse, DescribeStaffStatusMetricsResponse, DescribeCarrierPrivilegeNumberApplicantsResponse,
|
|
3
|
+
import { DescribeExtensionRequest, StopAutoCalloutTaskRequest, HangUpCallRequest, CreateSDKLoginTokenResponse, ModifyStaffRequest, DeleteStaffResponse, DisableCCCPhoneNumberResponse, DescribeProtectedTelCdrResponse, DescribeAutoCalloutTaskRequest, CreateUserSigResponse, DescribeIMCdrsResponse, CreateCallOutSessionResponse, DescribeCarrierPrivilegeNumberApplicantsRequest, DisableCCCPhoneNumberRequest, DescribeExtensionsResponse, DeleteExtensionRequest, DescribeTelCallInfoResponse, DescribeTelCdrRequest, DescribeAutoCalloutTasksResponse, ModifyExtensionResponse, CreateStaffResponse, DescribeSkillGroupInfoListResponse, UnbindStaffSkillGroupListResponse, DescribeStaffInfoListResponse, CreateCarrierPrivilegeNumberApplicantRequest, CreateExtensionResponse, CreateUserSigRequest, CreateCCCSkillGroupRequest, DescribeAutoCalloutTaskResponse, CreateCCCSkillGroupResponse, DescribeTelSessionRequest, DescribeIMCdrsRequest, DescribeSkillGroupInfoListRequest, CreateCarrierPrivilegeNumberApplicantResponse, DescribeStaffInfoListRequest, ResetExtensionPasswordResponse, ModifyExtensionRequest, CreateAutoCalloutTaskResponse, DeleteStaffRequest, DescribeCCCBuyInfoListRequest, DescribeTelCallInfoRequest, CreateExtensionRequest, CreateAutoCalloutTaskRequest, UnbindStaffSkillGroupListRequest, CreateCallOutSessionRequest, StopAutoCalloutTaskResponse, DescribeCCCBuyInfoListResponse, DeleteExtensionResponse, BindStaffSkillGroupListRequest, DescribePSTNActiveSessionListRequest, DescribeCallInMetricsResponse, DescribeActiveCarrierPrivilegeNumberResponse, DescribeTelCdrResponse, DescribeStaffStatusMetricsRequest, ResetExtensionPasswordRequest, CreateStaffRequest, DescribeChatMessagesResponse, DescribePSTNActiveSessionListResponse, DescribeAutoCalloutTasksRequest, DescribeChatMessagesRequest, DescribeTelSessionResponse, ModifyStaffResponse, DescribeStaffStatusMetricsResponse, DescribeCarrierPrivilegeNumberApplicantsResponse, HangUpCallResponse, BindStaffSkillGroupListResponse, DescribeExtensionsRequest, DescribeProtectedTelCdrRequest, CreateSDKLoginTokenRequest, DescribeActiveCarrierPrivilegeNumberRequest, DescribeCallInMetricsRequest, DescribeExtensionResponse } from "./ccc_models";
|
|
4
4
|
/**
|
|
5
5
|
* ccc client
|
|
6
6
|
* @class
|
|
@@ -19,6 +19,10 @@ export declare class Client extends AbstractClient {
|
|
|
19
19
|
* 获取坐席信息列表
|
|
20
20
|
*/
|
|
21
21
|
DescribeStaffInfoList(req: DescribeStaffInfoListRequest, cb?: (error: string, rep: DescribeStaffInfoListResponse) => void): Promise<DescribeStaffInfoListResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* 挂断电话
|
|
24
|
+
*/
|
|
25
|
+
HangUpCall(req: HangUpCallRequest, cb?: (error: string, rep: HangUpCallResponse) => void): Promise<HangUpCallResponse>;
|
|
22
26
|
/**
|
|
23
27
|
* 获取当前正在通话的会话列表
|
|
24
28
|
*/
|
|
@@ -45,6 +45,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
45
45
|
async DescribeStaffInfoList(req, cb) {
|
|
46
46
|
return this.request("DescribeStaffInfoList", req, cb);
|
|
47
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* 挂断电话
|
|
50
|
+
*/
|
|
51
|
+
async HangUpCall(req, cb) {
|
|
52
|
+
return this.request("HangUpCall", req, cb);
|
|
53
|
+
}
|
|
48
54
|
/**
|
|
49
55
|
* 获取当前正在通话的会话列表
|
|
50
56
|
*/
|
|
@@ -24,6 +24,19 @@ export interface StopAutoCalloutTaskRequest {
|
|
|
24
24
|
*/
|
|
25
25
|
TaskId: number;
|
|
26
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* HangUpCall请求参数结构体
|
|
29
|
+
*/
|
|
30
|
+
export interface HangUpCallRequest {
|
|
31
|
+
/**
|
|
32
|
+
* TCCC 实例应用 ID
|
|
33
|
+
*/
|
|
34
|
+
SdkAppId: number;
|
|
35
|
+
/**
|
|
36
|
+
* 会话ID
|
|
37
|
+
*/
|
|
38
|
+
SessionId: string;
|
|
39
|
+
}
|
|
27
40
|
/**
|
|
28
41
|
* CreateSDKLoginToken返回参数结构体
|
|
29
42
|
*/
|
|
@@ -1722,6 +1735,35 @@ export interface UnbindStaffSkillGroupListRequest {
|
|
|
1722
1735
|
*/
|
|
1723
1736
|
SkillGroupList: Array<number>;
|
|
1724
1737
|
}
|
|
1738
|
+
/**
|
|
1739
|
+
* CreateCallOutSession请求参数结构体
|
|
1740
|
+
*/
|
|
1741
|
+
export interface CreateCallOutSessionRequest {
|
|
1742
|
+
/**
|
|
1743
|
+
* 应用 ID
|
|
1744
|
+
*/
|
|
1745
|
+
SdkAppId: number;
|
|
1746
|
+
/**
|
|
1747
|
+
* 客服用户 ID,一般为客服邮箱
|
|
1748
|
+
*/
|
|
1749
|
+
UserId: string;
|
|
1750
|
+
/**
|
|
1751
|
+
* 被叫号码,须带 0086 前缀
|
|
1752
|
+
*/
|
|
1753
|
+
Callee: string;
|
|
1754
|
+
/**
|
|
1755
|
+
* 主叫号码,须带 0086 前缀
|
|
1756
|
+
*/
|
|
1757
|
+
Caller?: string;
|
|
1758
|
+
/**
|
|
1759
|
+
* 是否强制使用手机外呼,当前只支持 true,若为 true 请确保已配置白名单
|
|
1760
|
+
*/
|
|
1761
|
+
IsForceUseMobile?: boolean;
|
|
1762
|
+
/**
|
|
1763
|
+
* 自定义数据,长度限制 1024 字节
|
|
1764
|
+
*/
|
|
1765
|
+
Uui?: string;
|
|
1766
|
+
}
|
|
1725
1767
|
/**
|
|
1726
1768
|
* StopAutoCalloutTask返回参数结构体
|
|
1727
1769
|
*/
|
|
@@ -2243,33 +2285,13 @@ export interface DescribeCarrierPrivilegeNumberApplicantsResponse {
|
|
|
2243
2285
|
RequestId?: string;
|
|
2244
2286
|
}
|
|
2245
2287
|
/**
|
|
2246
|
-
*
|
|
2288
|
+
* HangUpCall返回参数结构体
|
|
2247
2289
|
*/
|
|
2248
|
-
export interface
|
|
2249
|
-
/**
|
|
2250
|
-
* 应用 ID
|
|
2251
|
-
*/
|
|
2252
|
-
SdkAppId: number;
|
|
2253
|
-
/**
|
|
2254
|
-
* 客服用户 ID,一般为客服邮箱
|
|
2255
|
-
*/
|
|
2256
|
-
UserId: string;
|
|
2290
|
+
export interface HangUpCallResponse {
|
|
2257
2291
|
/**
|
|
2258
|
-
*
|
|
2259
|
-
*/
|
|
2260
|
-
Callee: string;
|
|
2261
|
-
/**
|
|
2262
|
-
* 主叫号码,须带 0086 前缀
|
|
2263
|
-
*/
|
|
2264
|
-
Caller?: string;
|
|
2265
|
-
/**
|
|
2266
|
-
* 是否强制使用手机外呼,当前只支持 true,若为 true 请确保已配置白名单
|
|
2267
|
-
*/
|
|
2268
|
-
IsForceUseMobile?: boolean;
|
|
2269
|
-
/**
|
|
2270
|
-
* 自定义数据,长度限制 1024 字节
|
|
2292
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2271
2293
|
*/
|
|
2272
|
-
|
|
2294
|
+
RequestId?: string;
|
|
2273
2295
|
}
|
|
2274
2296
|
/**
|
|
2275
2297
|
* BindStaffSkillGroupList返回参数结构体
|
|
@@ -2703,6 +2703,19 @@ export interface Instance {
|
|
|
2703
2703
|
* 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api接口删除实例<br><li>FALSE:表示关闭实例保护,允许通过api接口删除实例<br><br>默认取值:FALSE。
|
|
2704
2704
|
*/
|
|
2705
2705
|
DisableApiTermination?: boolean;
|
|
2706
|
+
/**
|
|
2707
|
+
* 默认登录用户。
|
|
2708
|
+
*/
|
|
2709
|
+
DefaultLoginUser?: string;
|
|
2710
|
+
/**
|
|
2711
|
+
* 默认登录端口。
|
|
2712
|
+
*/
|
|
2713
|
+
DefaultLoginPort?: number;
|
|
2714
|
+
/**
|
|
2715
|
+
* 实例的最新操作错误信息。
|
|
2716
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2717
|
+
*/
|
|
2718
|
+
LatestOperationErrorMsg?: string;
|
|
2706
2719
|
}
|
|
2707
2720
|
/**
|
|
2708
2721
|
* CreateLaunchTemplateVersion请求参数结构体
|
|
@@ -3435,43 +3448,7 @@ export interface DescribeInstancesRequest {
|
|
|
3435
3448
|
*/
|
|
3436
3449
|
InstanceIds?: Array<string>;
|
|
3437
3450
|
/**
|
|
3438
|
-
* <li><strong>zone</strong></li>
|
|
3439
|
-
<p style="padding-left: 30px;">按照【<strong>可用区</strong>】进行过滤。可用区形如:ap-guangzhou-1。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:<a href="https://cloud.tencent.com/document/product/213/6091">可用区列表</a></p>
|
|
3440
|
-
<li><strong>project-id</strong></li>
|
|
3441
|
-
<p style="padding-left: 30px;">按照【<strong>项目ID</strong>】进行过滤,可通过调用[DescribeProject](https://cloud.tencent.com/document/api/378/4400)查询已创建的项目列表或登录[控制台](https://console.cloud.tencent.com/cvm/index)进行查看;也可以调用[AddProject](https://cloud.tencent.com/document/api/378/4398)创建新的项目。项目ID形如:1002189。</p><p style="padding-left: 30px;">类型:Integer</p><p style="padding-left: 30px;">必选:否</p>
|
|
3442
|
-
<li><strong>host-id</strong></li>
|
|
3443
|
-
<p style="padding-left: 30px;">按照【<strong>[CDH](https://cloud.tencent.com/document/product/416) ID</strong>】进行过滤。[CDH](https://cloud.tencent.com/document/product/416) ID形如:host-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
3444
|
-
<li><strong>dedicated-cluster-id</strong></li>
|
|
3445
|
-
<p style="padding-left: 30px;">按照【<strong>[CDC](https://cloud.tencent.com/document/product/1346) ID</strong>】进行过滤。[CDC](https://cloud.tencent.com/document/product/1346) ID形如:cluster-xxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
3446
|
-
<li><strong>vpc-id</strong></li>
|
|
3447
|
-
<p style="padding-left: 30px;">按照【<strong>VPC ID</strong>】进行过滤。VPC ID形如:vpc-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
3448
|
-
<li><strong>subnet-id</strong></li>
|
|
3449
|
-
<p style="padding-left: 30px;">按照【<strong>子网ID</strong>】进行过滤。子网ID形如:subnet-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
3450
|
-
<li><strong>instance-id</strong></li>
|
|
3451
|
-
<p style="padding-left: 30px;">按照【<strong>实例ID</strong>】进行过滤。实例ID形如:ins-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
3452
|
-
<li><strong>uuid</strong></li>
|
|
3453
|
-
<p style="padding-left: 30px;">按照【<strong>实例UUID</strong>】进行过滤。实例UUID形如:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
3454
|
-
<li><strong>security-group-id</strong></li>
|
|
3455
|
-
<p style="padding-left: 30px;">按照【<strong>安全组ID</strong>】进行过滤。安全组ID形如: sg-8jlk3f3r。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
3456
|
-
<li><strong>instance-name</strong></li>
|
|
3457
|
-
<p style="padding-left: 30px;">按照【<strong>实例名称</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
3458
|
-
<li><strong>instance-charge-type</strong></li>
|
|
3459
|
-
<p style="padding-left: 30px;">按照【<strong>实例计费模式</strong>】进行过滤。(PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费 | CDHPAID:表示[CDH](https://cloud.tencent.com/document/product/416)付费,即只对[CDH](https://cloud.tencent.com/document/product/416)计费,不对[CDH](https://cloud.tencent.com/document/product/416)上的实例计费。)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
3460
|
-
<li><strong>instance-state</strong></li>
|
|
3461
|
-
<p style="padding-left: 30px;">按照【<strong>实例状态</strong>】进行过滤。状态类型详见[实例状态表](https://cloud.tencent.com/document/api/213/15753#InstanceStatus)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
3462
|
-
<li><strong>private-ip-address</strong></li>
|
|
3463
|
-
<p style="padding-left: 30px;">按照【<strong>实例主网卡的内网IP</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
3464
|
-
<li><strong>public-ip-address</strong></li>
|
|
3465
|
-
<p style="padding-left: 30px;">按照【<strong>实例主网卡的公网IP</strong>】进行过滤,包含实例创建时自动分配的IP和实例创建后手动绑定的弹性IP。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
3466
|
-
<li><strong>ipv6-address</strong></li>
|
|
3467
|
-
<p style="padding-left: 30px;">按照【<strong>实例的IPv6地址</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
3468
|
-
<li><strong>tag-key</strong></li>
|
|
3469
|
-
<p style="padding-left: 30px;">按照【<strong>标签键</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
3470
|
-
<li><strong>tag-value</strong></li>
|
|
3471
|
-
<p style="padding-left: 30px;">按照【<strong>标签值</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
3472
|
-
<li><strong>tag:tag-key</strong></li>
|
|
3473
|
-
<p style="padding-left: 30px;">按照【<strong>标签键值对</strong>】进行过滤。tag-key使用具体的标签键进行替换。使用请参考示例2。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
3474
|
-
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`InstanceIds`和`Filters`。
|
|
3451
|
+
* <li><strong>zone</strong></li> <p style="padding-left: 30px;">按照【<strong>可用区</strong>】进行过滤。可用区形如:ap-guangzhou-1。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:<a href="https://cloud.tencent.com/document/product/213/6091">可用区列表</a></p> <li><strong>project-id</strong></li> <p style="padding-left: 30px;">按照【<strong>项目ID</strong>】进行过滤,可通过调用[DescribeProject](https://cloud.tencent.com/document/api/378/4400)查询已创建的项目列表或登录[控制台](https://console.cloud.tencent.com/cvm/index)进行查看;也可以调用[AddProject](https://cloud.tencent.com/document/api/378/4398)创建新的项目。项目ID形如:1002189。</p><p style="padding-left: 30px;">类型:Integer</p><p style="padding-left: 30px;">必选:否</p> <li><strong>host-id</strong></li> <p style="padding-left: 30px;">按照【<strong>[CDH](https://cloud.tencent.com/document/product/416) ID</strong>】进行过滤。[CDH](https://cloud.tencent.com/document/product/416) ID形如:host-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>dedicated-cluster-id</strong></li> <p style="padding-left: 30px;">按照【<strong>[CDC](https://cloud.tencent.com/document/product/1346) ID</strong>】进行过滤。[CDC](https://cloud.tencent.com/document/product/1346) ID形如:cluster-xxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>vpc-id</strong></li> <p style="padding-left: 30px;">按照【<strong>VPC ID</strong>】进行过滤。VPC ID形如:vpc-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>subnet-id</strong></li> <p style="padding-left: 30px;">按照【<strong>子网ID</strong>】进行过滤。子网ID形如:subnet-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-id</strong></li> <p style="padding-left: 30px;">按照【<strong>实例ID</strong>】进行过滤。实例ID形如:ins-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>uuid</strong></li> <p style="padding-left: 30px;">按照【<strong>实例UUID</strong>】进行过滤。实例UUID形如:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>security-group-id</strong></li> <p style="padding-left: 30px;">按照【<strong>安全组ID</strong>】进行过滤。安全组ID形如: sg-8jlk3f3r。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-name</strong></li> <p style="padding-left: 30px;">按照【<strong>实例名称</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-charge-type</strong></li> <p style="padding-left: 30px;">按照【<strong>实例计费模式</strong>】进行过滤。(PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费 | CDHPAID:表示[CDH](https://cloud.tencent.com/document/product/416)付费,即只对[CDH](https://cloud.tencent.com/document/product/416)计费,不对[CDH](https://cloud.tencent.com/document/product/416)上的实例计费。)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-state</strong></li> <p style="padding-left: 30px;">按照【<strong>实例状态</strong>】进行过滤。状态类型详见[实例状态表](https://cloud.tencent.com/document/api/213/15753#InstanceStatus)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>private-ip-address</strong></li> <p style="padding-left: 30px;">按照【<strong>实例主网卡的内网IP</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>public-ip-address</strong></li> <p style="padding-left: 30px;">按照【<strong>实例主网卡的公网IP</strong>】进行过滤,包含实例创建时自动分配的IP和实例创建后手动绑定的弹性IP。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>ipv6-address</strong></li> <p style="padding-left: 30px;">按照【<strong>实例的IPv6地址</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>tag-key</strong></li> <p style="padding-left: 30px;">按照【<strong>标签键</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>tag-value</strong></li> <p style="padding-left: 30px;">按照【<strong>标签值</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>tag:tag-key</strong></li> <p style="padding-left: 30px;">按照【<strong>标签键值对</strong>】进行过滤。tag-key使用具体的标签键进行替换。使用请参考示例2。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`InstanceIds`和`Filters`。
|
|
3475
3452
|
*/
|
|
3476
3453
|
Filters?: Array<Filter>;
|
|
3477
3454
|
/**
|
|
@@ -114,8 +114,21 @@ export interface DescribeAccountsRequest {
|
|
|
114
114
|
/**
|
|
115
115
|
* 数据库类型,取值范围:
|
|
116
116
|
<li> MYSQL </li>
|
|
117
|
+
该参数已废用
|
|
117
118
|
*/
|
|
118
119
|
DbType?: string;
|
|
120
|
+
/**
|
|
121
|
+
* 需要过滤的账户列表
|
|
122
|
+
*/
|
|
123
|
+
Hosts?: Array<string>;
|
|
124
|
+
/**
|
|
125
|
+
* 限制量
|
|
126
|
+
*/
|
|
127
|
+
Limit?: number;
|
|
128
|
+
/**
|
|
129
|
+
* 偏移量
|
|
130
|
+
*/
|
|
131
|
+
Offset?: number;
|
|
119
132
|
}
|
|
120
133
|
/**
|
|
121
134
|
* ModifyMaintainPeriodConfig请求参数结构体
|
|
@@ -144,10 +157,12 @@ export interface ModifyMaintainPeriodConfigRequest {
|
|
|
144
157
|
export interface DescribeRollbackTimeRangeResponse {
|
|
145
158
|
/**
|
|
146
159
|
* 有效回归时间范围开始时间点(已废弃)
|
|
160
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
147
161
|
*/
|
|
148
162
|
TimeRangeStart: string;
|
|
149
163
|
/**
|
|
150
164
|
* 有效回归时间范围结束时间点(已废弃)
|
|
165
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
151
166
|
*/
|
|
152
167
|
TimeRangeEnd: string;
|
|
153
168
|
/**
|
|
@@ -410,6 +425,7 @@ export interface DescribeClusterParamsResponse {
|
|
|
410
425
|
TotalCount: number;
|
|
411
426
|
/**
|
|
412
427
|
* 实例参数列表
|
|
428
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
413
429
|
*/
|
|
414
430
|
Items: Array<ParamInfo>;
|
|
415
431
|
/**
|
|
@@ -1224,6 +1240,10 @@ export interface DescribeProjectSecurityGroupsResponse {
|
|
|
1224
1240
|
* 安全组详情
|
|
1225
1241
|
*/
|
|
1226
1242
|
Groups: Array<SecurityGroup>;
|
|
1243
|
+
/**
|
|
1244
|
+
* 总数量
|
|
1245
|
+
*/
|
|
1246
|
+
Total: number;
|
|
1227
1247
|
/**
|
|
1228
1248
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1229
1249
|
*/
|
|
@@ -1446,6 +1466,10 @@ export interface DescribeBackupListRequest {
|
|
|
1446
1466
|
* 备份备注名,模糊查询
|
|
1447
1467
|
*/
|
|
1448
1468
|
BackupNames?: Array<string>;
|
|
1469
|
+
/**
|
|
1470
|
+
* 快照备份Id列表
|
|
1471
|
+
*/
|
|
1472
|
+
SnapshotIdList?: Array<number>;
|
|
1449
1473
|
}
|
|
1450
1474
|
/**
|
|
1451
1475
|
* SearchClusterDatabases请求参数结构体
|
|
@@ -1908,7 +1932,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
1908
1932
|
*/
|
|
1909
1933
|
AlarmPolicyIds?: Array<string>;
|
|
1910
1934
|
/**
|
|
1911
|
-
*
|
|
1935
|
+
* 参数数组,暂时支持character_set_server (utf8|latin1|gbk|utf8mb4) ,lower_case_table_names,1-大小写不敏感,0-大小写敏感
|
|
1912
1936
|
*/
|
|
1913
1937
|
ClusterParams?: Array<ParamItem>;
|
|
1914
1938
|
/**
|
|
@@ -2193,7 +2217,19 @@ export interface DescribeProjectSecurityGroupsRequest {
|
|
|
2193
2217
|
/**
|
|
2194
2218
|
* 项目ID
|
|
2195
2219
|
*/
|
|
2196
|
-
ProjectId
|
|
2220
|
+
ProjectId?: number;
|
|
2221
|
+
/**
|
|
2222
|
+
* 限制量
|
|
2223
|
+
*/
|
|
2224
|
+
Limit?: number;
|
|
2225
|
+
/**
|
|
2226
|
+
* 偏移量
|
|
2227
|
+
*/
|
|
2228
|
+
Offset?: number;
|
|
2229
|
+
/**
|
|
2230
|
+
* 搜索关键字
|
|
2231
|
+
*/
|
|
2232
|
+
SearchKey?: string;
|
|
2197
2233
|
}
|
|
2198
2234
|
/**
|
|
2199
2235
|
* ModifyClusterParam返回参数结构体
|
|
@@ -3888,8 +3924,13 @@ export interface ModifyClusterParamRequest {
|
|
|
3888
3924
|
export interface DescribeAccountsResponse {
|
|
3889
3925
|
/**
|
|
3890
3926
|
* 数据库账号列表
|
|
3927
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3891
3928
|
*/
|
|
3892
3929
|
AccountSet: Array<Account>;
|
|
3930
|
+
/**
|
|
3931
|
+
* 账号总数量
|
|
3932
|
+
*/
|
|
3933
|
+
TotalCount: number;
|
|
3893
3934
|
/**
|
|
3894
3935
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3895
3936
|
*/
|
|
@@ -3958,6 +3999,10 @@ export interface DescribeClusterParamsRequest {
|
|
|
3958
3999
|
* 集群ID
|
|
3959
4000
|
*/
|
|
3960
4001
|
ClusterId: string;
|
|
4002
|
+
/**
|
|
4003
|
+
* 参数名字
|
|
4004
|
+
*/
|
|
4005
|
+
ParamName?: string;
|
|
3961
4006
|
}
|
|
3962
4007
|
/**
|
|
3963
4008
|
* 审计日志详细信息
|
|
@@ -20,7 +20,7 @@ export declare class Client extends AbstractClient {
|
|
|
20
20
|
*/
|
|
21
21
|
UpdateScanUsers(req: UpdateScanUsersRequest, cb?: (error: string, rep: UpdateScanUsersResponse) => void): Promise<UpdateScanUsersResponse>;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* 查询语音消息转文本热句模型列表
|
|
24
24
|
*/
|
|
25
25
|
GetCustomizationList(req: GetCustomizationListRequest, cb?: (error: string, rep: GetCustomizationListResponse) => void): Promise<GetCustomizationListResponse>;
|
|
26
26
|
/**
|
|
@@ -32,7 +32,7 @@ export declare class Client extends AbstractClient {
|
|
|
32
32
|
*/
|
|
33
33
|
DescribeRealtimeScanConfig(req: DescribeRealtimeScanConfigRequest, cb?: (error: string, rep: DescribeRealtimeScanConfigResponse) => void): Promise<DescribeRealtimeScanConfigResponse>;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* 用户使用该接口可以创建语音消息转文本热句模型,以供识别调用
|
|
36
36
|
*/
|
|
37
37
|
CreateCustomization(req: CreateCustomizationRequest, cb?: (error: string, rep: CreateCustomizationResponse) => void): Promise<CreateCustomizationResponse>;
|
|
38
38
|
/**
|
|
@@ -112,7 +112,7 @@ export declare class Client extends AbstractClient {
|
|
|
112
112
|
<h4 id="Callback_Declare"><b>回调相关说明:</b></h4>
|
|
113
113
|
<li>如果在请求参数中指定了回调地址参数 Callback,即一个 HTTP(S) 协议接口的 URL,则需要支持 POST 方法,传输数据编码采用 UTF-8。</li>
|
|
114
114
|
<li>在推送回调数据后,接收到的 HTTP 状态码为 200 时,表示推送成功。</li>
|
|
115
|
-
<li>HTTP
|
|
115
|
+
<li>HTTP 请求参数(query)说明:</li>
|
|
116
116
|
<table>
|
|
117
117
|
<thread>
|
|
118
118
|
<tr>
|
|
@@ -205,7 +205,7 @@ export declare class Client extends AbstractClient {
|
|
|
205
205
|
*/
|
|
206
206
|
DescribeAppStatistics(req: DescribeAppStatisticsRequest, cb?: (error: string, rep: DescribeAppStatisticsResponse) => void): Promise<DescribeAppStatisticsResponse>;
|
|
207
207
|
/**
|
|
208
|
-
*
|
|
208
|
+
* 用户通过该接口可以更新语音消息转文本热句模型。
|
|
209
209
|
*/
|
|
210
210
|
ModifyCustomization(req: ModifyCustomizationRequest, cb?: (error: string, rep: ModifyCustomizationResponse) => void): Promise<ModifyCustomizationResponse>;
|
|
211
211
|
/**
|
|
@@ -226,7 +226,7 @@ export declare class Client extends AbstractClient {
|
|
|
226
226
|
*/
|
|
227
227
|
DescribeApplicationList(req: DescribeApplicationListRequest, cb?: (error: string, rep: DescribeApplicationListResponse) => void): Promise<DescribeApplicationListResponse>;
|
|
228
228
|
/**
|
|
229
|
-
*
|
|
229
|
+
* 通过该接口,用户可以修改语音消息转文本热句模型状态,上下线热句模型
|
|
230
230
|
*/
|
|
231
231
|
ModifyCustomizationState(req: ModifyCustomizationStateRequest, cb?: (error: string, rep: ModifyCustomizationStateResponse) => void): Promise<ModifyCustomizationStateResponse>;
|
|
232
232
|
/**
|
|
@@ -236,7 +236,7 @@ export declare class Client extends AbstractClient {
|
|
|
236
236
|
*/
|
|
237
237
|
ModifyUserMicStatus(req: ModifyUserMicStatusRequest, cb?: (error: string, rep: ModifyUserMicStatusResponse) => void): Promise<ModifyUserMicStatusResponse>;
|
|
238
238
|
/**
|
|
239
|
-
*
|
|
239
|
+
* 用户通过该接口可以删除语音消息转文本热句模型
|
|
240
240
|
*/
|
|
241
241
|
DeleteCustomization(req: DeleteCustomizationRequest, cb?: (error: string, rep: DeleteCustomizationResponse) => void): Promise<DeleteCustomizationResponse>;
|
|
242
242
|
/**
|
|
@@ -46,7 +46,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
46
46
|
return this.request("UpdateScanUsers", req, cb);
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* 查询语音消息转文本热句模型列表
|
|
50
50
|
*/
|
|
51
51
|
async GetCustomizationList(req, cb) {
|
|
52
52
|
return this.request("GetCustomizationList", req, cb);
|
|
@@ -64,7 +64,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
64
64
|
return this.request("DescribeRealtimeScanConfig", req, cb);
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* 用户使用该接口可以创建语音消息转文本热句模型,以供识别调用
|
|
68
68
|
*/
|
|
69
69
|
async CreateCustomization(req, cb) {
|
|
70
70
|
return this.request("CreateCustomization", req, cb);
|
|
@@ -152,7 +152,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
152
152
|
<h4 id="Callback_Declare"><b>回调相关说明:</b></h4>
|
|
153
153
|
<li>如果在请求参数中指定了回调地址参数 Callback,即一个 HTTP(S) 协议接口的 URL,则需要支持 POST 方法,传输数据编码采用 UTF-8。</li>
|
|
154
154
|
<li>在推送回调数据后,接收到的 HTTP 状态码为 200 时,表示推送成功。</li>
|
|
155
|
-
<li>HTTP
|
|
155
|
+
<li>HTTP 请求参数(query)说明:</li>
|
|
156
156
|
<table>
|
|
157
157
|
<thread>
|
|
158
158
|
<tr>
|
|
@@ -251,7 +251,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
251
251
|
return this.request("DescribeAppStatistics", req, cb);
|
|
252
252
|
}
|
|
253
253
|
/**
|
|
254
|
-
*
|
|
254
|
+
* 用户通过该接口可以更新语音消息转文本热句模型。
|
|
255
255
|
*/
|
|
256
256
|
async ModifyCustomization(req, cb) {
|
|
257
257
|
return this.request("ModifyCustomization", req, cb);
|
|
@@ -282,7 +282,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
282
282
|
return this.request("DescribeApplicationList", req, cb);
|
|
283
283
|
}
|
|
284
284
|
/**
|
|
285
|
-
*
|
|
285
|
+
* 通过该接口,用户可以修改语音消息转文本热句模型状态,上下线热句模型
|
|
286
286
|
*/
|
|
287
287
|
async ModifyCustomizationState(req, cb) {
|
|
288
288
|
return this.request("ModifyCustomizationState", req, cb);
|
|
@@ -296,7 +296,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
296
296
|
return this.request("ModifyUserMicStatus", req, cb);
|
|
297
297
|
}
|
|
298
298
|
/**
|
|
299
|
-
*
|
|
299
|
+
* 用户通过该接口可以删除语音消息转文本热句模型
|
|
300
300
|
*/
|
|
301
301
|
async DeleteCustomization(req, cb) {
|
|
302
302
|
return this.request("DeleteCustomization", req, cb);
|
|
@@ -244,7 +244,7 @@ export interface ModifyUserMicStatusRequest {
|
|
|
244
244
|
Users: Array<UserMicStatus>;
|
|
245
245
|
}
|
|
246
246
|
/**
|
|
247
|
-
*
|
|
247
|
+
* 语音消息转文本热句模型配置
|
|
248
248
|
*/
|
|
249
249
|
export interface CustomizationConfigs {
|
|
250
250
|
/**
|
|
@@ -391,7 +391,7 @@ export interface ModifyCustomizationResponse {
|
|
|
391
391
|
*/
|
|
392
392
|
ErrorCode: number;
|
|
393
393
|
/**
|
|
394
|
-
*
|
|
394
|
+
* 模型ID
|
|
395
395
|
*/
|
|
396
396
|
ModelId: string;
|
|
397
397
|
/**
|
|
@@ -430,7 +430,7 @@ export interface DescribeScanResultListRequest {
|
|
|
430
430
|
*/
|
|
431
431
|
export interface ModifyCustomizationStateResponse {
|
|
432
432
|
/**
|
|
433
|
-
*
|
|
433
|
+
* 模型ID
|
|
434
434
|
*/
|
|
435
435
|
ModelId: string;
|
|
436
436
|
/**
|
|
@@ -529,7 +529,7 @@ export interface CreateScanUserRequest {
|
|
|
529
529
|
*/
|
|
530
530
|
export interface ModifyCustomizationStateRequest {
|
|
531
531
|
/**
|
|
532
|
-
*
|
|
532
|
+
* 模型ID
|
|
533
533
|
*/
|
|
534
534
|
ModelId: string;
|
|
535
535
|
/**
|
|
@@ -603,7 +603,7 @@ Age :子任务完成后的结果,0:成年人,1:未成年人,100:未知
|
|
|
603
603
|
*/
|
|
604
604
|
export interface GetCustomizationListResponse {
|
|
605
605
|
/**
|
|
606
|
-
*
|
|
606
|
+
* 语音消息转文本热句模型配置
|
|
607
607
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
608
608
|
*/
|
|
609
609
|
CustomizationConfigs: Array<CustomizationConfigs>;
|
|
@@ -797,7 +797,7 @@ export interface ModifyCustomizationRequest {
|
|
|
797
797
|
*/
|
|
798
798
|
TextUrl: string;
|
|
799
799
|
/**
|
|
800
|
-
*
|
|
800
|
+
* 修改的模型ID
|
|
801
801
|
*/
|
|
802
802
|
ModelId: string;
|
|
803
803
|
}
|
|
@@ -1263,7 +1263,7 @@ export interface StatusInfo {
|
|
|
1263
1263
|
*/
|
|
1264
1264
|
export interface DeleteCustomizationRequest {
|
|
1265
1265
|
/**
|
|
1266
|
-
*
|
|
1266
|
+
* 删除的模型ID
|
|
1267
1267
|
*/
|
|
1268
1268
|
ModelId: string;
|
|
1269
1269
|
/**
|
|
@@ -1591,11 +1591,11 @@ export interface DescribeBlueprintsResponse {
|
|
|
1591
1591
|
/**
|
|
1592
1592
|
* 符合条件的镜像数量。
|
|
1593
1593
|
*/
|
|
1594
|
-
TotalCount
|
|
1594
|
+
TotalCount: number;
|
|
1595
1595
|
/**
|
|
1596
1596
|
* 镜像详细信息列表。
|
|
1597
1597
|
*/
|
|
1598
|
-
BlueprintSet
|
|
1598
|
+
BlueprintSet: Array<Blueprint>;
|
|
1599
1599
|
/**
|
|
1600
1600
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1601
1601
|
*/
|
|
@@ -830,7 +830,7 @@ export interface EnhanceConfig {
|
|
|
830
830
|
*/
|
|
831
831
|
export interface MediaInputInfo {
|
|
832
832
|
/**
|
|
833
|
-
* 输入来源对象的类型,支持 COS
|
|
833
|
+
* 输入来源对象的类型,支持 COS、URL 两种。
|
|
834
834
|
*/
|
|
835
835
|
Type: string;
|
|
836
836
|
/**
|
|
@@ -3632,6 +3632,8 @@ export interface LiveStreamTaskNotifyConfig {
|
|
|
3632
3632
|
TopicName?: string;
|
|
3633
3633
|
/**
|
|
3634
3634
|
* 通知类型,默认CMQ,指定URL时HTTP回调推送到 NotifyUrl 指定的地址。
|
|
3635
|
+
|
|
3636
|
+
<font color="red"> 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。 </font>
|
|
3635
3637
|
*/
|
|
3636
3638
|
NotifyType?: string;
|
|
3637
3639
|
/**
|
|
@@ -4262,6 +4264,12 @@ export interface ProcessMediaRequest {
|
|
|
4262
4264
|
注意3:编排的 Trigger 只是用来自动化触发场景,在手动发起的请求中已经配置的 Trigger 无意义。
|
|
4263
4265
|
*/
|
|
4264
4266
|
ScheduleId?: number;
|
|
4267
|
+
/**
|
|
4268
|
+
* 任务类型,默认Online
|
|
4269
|
+
<li> Online:实时任务</li>
|
|
4270
|
+
<li> Offline:闲时任务,不保证实效性,默认3天内处理完</li>
|
|
4271
|
+
*/
|
|
4272
|
+
TaskType?: string;
|
|
4265
4273
|
}
|
|
4266
4274
|
/**
|
|
4267
4275
|
* 查询输入的RTSP配置信息。
|
|
@@ -8240,11 +8248,11 @@ export interface TaskNotifyConfig {
|
|
|
8240
8248
|
/**
|
|
8241
8249
|
* CMQ或TDMQ-CMQ 的模型,有 Queue 和 Topic 两种。
|
|
8242
8250
|
*/
|
|
8243
|
-
CmqModel
|
|
8251
|
+
CmqModel?: string;
|
|
8244
8252
|
/**
|
|
8245
8253
|
* CMQ或TDMQ-CMQ 的园区,如 sh,bj 等。
|
|
8246
8254
|
*/
|
|
8247
|
-
CmqRegion
|
|
8255
|
+
CmqRegion?: string;
|
|
8248
8256
|
/**
|
|
8249
8257
|
* 当模型为 Topic 时有效,表示接收事件通知的 CMQ 或 TDMQ-CMQ 的主题名。
|
|
8250
8258
|
*/
|
|
@@ -8263,7 +8271,7 @@ export interface TaskNotifyConfig {
|
|
|
8263
8271
|
<li>TDMQ-CMQ:消息队列</li>
|
|
8264
8272
|
<li>URL:指定URL时HTTP回调推送到 NotifyUrl 指定的地址,回调协议http+json,包体内容同解析事件通知接口的输出参数 </li>
|
|
8265
8273
|
<li>SCF:不推荐使用,需要在控制台额外配置SCF</li>
|
|
8266
|
-
|
|
8274
|
+
<font color="red"> 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。 </font>
|
|
8267
8275
|
*/
|
|
8268
8276
|
NotifyType?: string;
|
|
8269
8277
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { LexicalAnalysisResponse, SentenceEmbeddingRequest, WordSimilarityRequest, SearchWordItemsResponse, TextSimilarityResponse, WordEmbeddingRequest, ChatBotResponse, AutoSummarizationRequest, ChatBotRequest, TextClassificationResponse, KeywordsExtractionRequest, TextCorrectionRequest, TextCorrectionProResponse, TextSimilarityProRequest, UpdateDictResponse, DescribeDictsRequest, WordSimilarityResponse, CreateWordItemsRequest, DeleteWordItemsResponse, SentenceEmbeddingResponse, UpdateDictRequest, DeleteDictResponse, DescribeWordItemsRequest,
|
|
3
|
+
import { LexicalAnalysisResponse, SentenceEmbeddingRequest, TextClassificationRequest, WordSimilarityRequest, SearchWordItemsResponse, TextSimilarityResponse, WordEmbeddingRequest, ChatBotResponse, AutoSummarizationRequest, ChatBotRequest, TextClassificationResponse, KeywordsExtractionRequest, TextCorrectionRequest, TextCorrectionProResponse, TextSimilarityProRequest, UpdateDictResponse, DescribeDictsRequest, WordSimilarityResponse, CreateWordItemsRequest, DeleteWordItemsResponse, SentenceEmbeddingResponse, UpdateDictRequest, DeleteDictResponse, DescribeWordItemsRequest, GenerateCoupletResponse, CreateDictResponse, TextSimilarityRequest, AutoSummarizationResponse, WordEmbeddingResponse, DescribeWordItemsResponse, SimilarWordsRequest, DescribeDictRequest, GeneratePoetryResponse, DeleteWordItemsRequest, DescribeDictResponse, TextCorrectionProRequest, TextCorrectionResponse, TextSimilarityProResponse, DescribeDictsResponse, DependencyParsingRequest, DeleteDictRequest, SentimentAnalysisResponse, DependencyParsingResponse, SimilarWordsResponse, GenerateCoupletRequest, LexicalAnalysisRequest, GeneratePoetryRequest, CreateWordItemsResponse, SentimentAnalysisRequest, SearchWordItemsRequest, KeywordsExtractionResponse, CreateDictRequest } from "./nlp_models";
|
|
4
4
|
/**
|
|
5
5
|
* nlp client
|
|
6
6
|
* @class
|
|
@@ -47,6 +47,10 @@ https://ai.tencent.com/ailab/nlp/zh/embedding.html
|
|
|
47
47
|
* 根据指定的名称、描述创建自定义词库。
|
|
48
48
|
*/
|
|
49
49
|
CreateDict(req: CreateDictRequest, cb?: (error: string, rep: CreateDictResponse) => void): Promise<CreateDictResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* 根据用户输入的命题关键词自动生成一首七言律诗或五言律诗。(如需开通请联系商务)
|
|
52
|
+
*/
|
|
53
|
+
GeneratePoetry(req: GeneratePoetryRequest, cb?: (error: string, rep: GeneratePoetryResponse) => void): Promise<GeneratePoetryResponse>;
|
|
50
54
|
/**
|
|
51
55
|
* 文本分类接口能够对用户输入的文本进行自动分类,将其映射到具体的类目上,用户只需要提供待分类的文本,而无需关注具体实现。
|
|
52
56
|
|
|
@@ -77,6 +81,10 @@ https://ai.tencent.com/ailab/nlp/zh/embedding.html
|
|
|
77
81
|
此功能是基于千亿级大规模互联网语料和LSTM、BERT等深度神经网络模型进行训练,并持续迭代更新,以保证效果不断提升,是搜索引擎、语音识别、内容审核等功能更好运行的基础之一。
|
|
78
82
|
*/
|
|
79
83
|
TextCorrection(req: TextCorrectionRequest, cb?: (error: string, rep: TextCorrectionResponse) => void): Promise<TextCorrectionResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* 根据用户输入的命题关键词自动生成一副春联,包括上联、下联和横批。(如需开通请联系商务)
|
|
86
|
+
*/
|
|
87
|
+
GenerateCouplet(req: GenerateCoupletRequest, cb?: (error: string, rep: GenerateCoupletResponse) => void): Promise<GenerateCoupletResponse>;
|
|
80
88
|
/**
|
|
81
89
|
* 向指定的词库中添加词条。
|
|
82
90
|
*/
|