tencentcloud-sdk-nodejs 4.0.504 → 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.
Files changed (42) hide show
  1. package/CHANGELOG.md +149 -0
  2. package/SERVICE_CHANGELOG.md +182 -66
  3. package/package.json +1 -1
  4. package/products.md +14 -14
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/antiddos/v20200309/antiddos_models.ts +23 -1
  7. package/src/services/ccc/v20200210/ccc_client.ts +13 -1
  8. package/src/services/ccc/v20200210/ccc_models.ts +54 -29
  9. package/src/services/cfw/v20190904/cfw_models.ts +1 -1
  10. package/src/services/cvm/v20170312/cvm_models.ts +18 -38
  11. package/src/services/gme/v20180711/gme_client.ts +6 -6
  12. package/src/services/gme/v20180711/gme_models.ts +7 -7
  13. package/src/services/mps/v20190612/mps_models.ts +15 -6
  14. package/src/services/nlp/v20190408/nlp_client.ts +28 -4
  15. package/src/services/nlp/v20190408/nlp_models.ts +118 -38
  16. package/src/services/ses/v20201002/ses_client.ts +12 -0
  17. package/src/services/ses/v20201002/ses_models.ts +25 -0
  18. package/src/services/tione/v20211111/tione_models.ts +5 -0
  19. package/src/services/tsf/v20180326/tsf_models.ts +3 -2
  20. package/tencentcloud/common/sdk_version.d.ts +1 -1
  21. package/tencentcloud/common/sdk_version.js +1 -1
  22. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +19 -1
  23. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +5 -1
  24. package/tencentcloud/services/ccc/v20200210/ccc_client.js +6 -0
  25. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +46 -24
  26. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1 -1
  27. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +14 -37
  28. package/tencentcloud/services/gme/v20180711/gme_client.d.ts +6 -6
  29. package/tencentcloud/services/gme/v20180711/gme_client.js +6 -6
  30. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +7 -7
  31. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +12 -4
  32. package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +9 -1
  33. package/tencentcloud/services/nlp/v20190408/nlp_client.js +12 -0
  34. package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +103 -35
  35. package/tencentcloud/services/ses/v20201002/ses_client.d.ts +5 -1
  36. package/tencentcloud/services/ses/v20201002/ses_client.js +6 -0
  37. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +22 -0
  38. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +4 -0
  39. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +1 -0
  40. package/test/ccc.v20200210.test.js +10 -0
  41. package/test/nlp.v20190408.test.js +20 -0
  42. package/test/ses.v20201002.test.js +10 -0
@@ -4995,6 +4995,11 @@ export interface SwitchWaterPrintConfigRequest {
4995
4995
  * 水印开启/关闭状态,1表示开启;0表示关闭
4996
4996
  */
4997
4997
  OpenStatus: number
4998
+
4999
+ /**
5000
+ * 是否开启代理,1开启则忽略IP+端口校验;0关闭则需要IP+端口校验
5001
+ */
5002
+ CloudSdkProxy?: number
4998
5003
  }
4999
5004
 
5000
5005
  /**
@@ -5136,6 +5141,12 @@ shortfpcheckall(精简模式)
5136
5141
  ]
5137
5142
  */
5138
5143
  Verify?: string
5144
+
5145
+ /**
5146
+ * 是否开启代理,1开启则忽略IP+端口校验;0关闭则需要IP+端口校验
5147
+ 注意:此字段可能返回 null,表示取不到有效值。
5148
+ */
5149
+ CloudSdkProxy?: number
5139
5150
  }
5140
5151
 
5141
5152
  /**
@@ -5554,6 +5565,17 @@ export interface BGPInstance {
5554
5565
  * 攻击封堵套餐标记
5555
5566
  */
5556
5567
  VitalityVersion: number
5568
+
5569
+ /**
5570
+ * 网络线路
5571
+ 注意:此字段可能返回 null,表示取不到有效值。
5572
+ */
5573
+ Line: number
5574
+
5575
+ /**
5576
+ * 弹性业务带宽开关
5577
+ */
5578
+ ElasticServiceBandwidth: number
5557
5579
  }
5558
5580
 
5559
5581
  /**
@@ -5636,7 +5658,7 @@ export interface DescribeBizTrendRequest {
5636
5658
  Business: string
5637
5659
 
5638
5660
  /**
5639
- * 统计周期,可取值300,1800,3600,21600,86400,单位秒
5661
+ * 统计周期,可取值60,300,1800,3600,21600,86400,单位秒
5640
5662
  */
5641
5663
  Period: number
5642
5664
 
@@ -20,6 +20,7 @@ import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
21
  DescribeExtensionRequest,
22
22
  StopAutoCalloutTaskRequest,
23
+ HangUpCallRequest,
23
24
  CreateSDKLoginTokenResponse,
24
25
  ModifyStaffRequest,
25
26
  DeleteStaffResponse,
@@ -82,6 +83,7 @@ import {
82
83
  CreateAutoCalloutTaskRequest,
83
84
  Filter,
84
85
  UnbindStaffSkillGroupListRequest,
86
+ CreateCallOutSessionRequest,
85
87
  StopAutoCalloutTaskResponse,
86
88
  SkillGroupItem,
87
89
  MessageBody,
@@ -109,7 +111,7 @@ import {
109
111
  ModifyStaffResponse,
110
112
  DescribeStaffStatusMetricsResponse,
111
113
  DescribeCarrierPrivilegeNumberApplicantsResponse,
112
- CreateCallOutSessionRequest,
114
+ HangUpCallResponse,
113
115
  BindStaffSkillGroupListResponse,
114
116
  DescribeExtensionsRequest,
115
117
  DescribeProtectedTelCdrRequest,
@@ -159,6 +161,16 @@ export class Client extends AbstractClient {
159
161
  return this.request("DescribeStaffInfoList", req, cb)
160
162
  }
161
163
 
164
+ /**
165
+ * 挂断电话
166
+ */
167
+ async HangUpCall(
168
+ req: HangUpCallRequest,
169
+ cb?: (error: string, rep: HangUpCallResponse) => void
170
+ ): Promise<HangUpCallResponse> {
171
+ return this.request("HangUpCall", req, cb)
172
+ }
173
+
162
174
  /**
163
175
  * 获取当前正在通话的会话列表
164
176
  */
@@ -45,6 +45,21 @@ export interface StopAutoCalloutTaskRequest {
45
45
  TaskId: number
46
46
  }
47
47
 
48
+ /**
49
+ * HangUpCall请求参数结构体
50
+ */
51
+ export interface HangUpCallRequest {
52
+ /**
53
+ * TCCC 实例应用 ID
54
+ */
55
+ SdkAppId: number
56
+
57
+ /**
58
+ * 会话ID
59
+ */
60
+ SessionId: string
61
+ }
62
+
48
63
  /**
49
64
  * CreateSDKLoginToken返回参数结构体
50
65
  */
@@ -2063,6 +2078,41 @@ export interface UnbindStaffSkillGroupListRequest {
2063
2078
  SkillGroupList: Array<number>
2064
2079
  }
2065
2080
 
2081
+ /**
2082
+ * CreateCallOutSession请求参数结构体
2083
+ */
2084
+ export interface CreateCallOutSessionRequest {
2085
+ /**
2086
+ * 应用 ID
2087
+ */
2088
+ SdkAppId: number
2089
+
2090
+ /**
2091
+ * 客服用户 ID,一般为客服邮箱
2092
+ */
2093
+ UserId: string
2094
+
2095
+ /**
2096
+ * 被叫号码,须带 0086 前缀
2097
+ */
2098
+ Callee: string
2099
+
2100
+ /**
2101
+ * 主叫号码,须带 0086 前缀
2102
+ */
2103
+ Caller?: string
2104
+
2105
+ /**
2106
+ * 是否强制使用手机外呼,当前只支持 true,若为 true 请确保已配置白名单
2107
+ */
2108
+ IsForceUseMobile?: boolean
2109
+
2110
+ /**
2111
+ * 自定义数据,长度限制 1024 字节
2112
+ */
2113
+ Uui?: string
2114
+ }
2115
+
2066
2116
  /**
2067
2117
  * StopAutoCalloutTask返回参数结构体
2068
2118
  */
@@ -2676,38 +2726,13 @@ export interface DescribeCarrierPrivilegeNumberApplicantsResponse {
2676
2726
  }
2677
2727
 
2678
2728
  /**
2679
- * CreateCallOutSession请求参数结构体
2729
+ * HangUpCall返回参数结构体
2680
2730
  */
2681
- export interface CreateCallOutSessionRequest {
2682
- /**
2683
- * 应用 ID
2684
- */
2685
- SdkAppId: number
2686
-
2687
- /**
2688
- * 客服用户 ID,一般为客服邮箱
2689
- */
2690
- UserId: string
2691
-
2731
+ export interface HangUpCallResponse {
2692
2732
  /**
2693
- * 被叫号码,须带 0086 前缀
2694
- */
2695
- Callee: string
2696
-
2697
- /**
2698
- * 主叫号码,须带 0086 前缀
2699
- */
2700
- Caller?: string
2701
-
2702
- /**
2703
- * 是否强制使用手机外呼,当前只支持 true,若为 true 请确保已配置白名单
2704
- */
2705
- IsForceUseMobile?: boolean
2706
-
2707
- /**
2708
- * 自定义数据,长度限制 1024 字节
2733
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2709
2734
  */
2710
- Uui?: string
2735
+ RequestId?: string
2711
2736
  }
2712
2737
 
2713
2738
  /**
@@ -2907,7 +2907,7 @@ export interface DeleteAcRuleRequest {
2907
2907
  */
2908
2908
  export interface DeleteAllAccessControlRuleResponse {
2909
2909
  /**
2910
- * 状态值 0: 修改成功, !0: 修改失败
2910
+ * 状态值 0: 修改成功, 0: 修改失败
2911
2911
  */
2912
2912
  Status: number
2913
2913
 
@@ -3198,6 +3198,22 @@ export interface Instance {
3198
3198
  * 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api接口删除实例<br><li>FALSE:表示关闭实例保护,允许通过api接口删除实例<br><br>默认取值:FALSE。
3199
3199
  */
3200
3200
  DisableApiTermination?: boolean
3201
+
3202
+ /**
3203
+ * 默认登录用户。
3204
+ */
3205
+ DefaultLoginUser?: string
3206
+
3207
+ /**
3208
+ * 默认登录端口。
3209
+ */
3210
+ DefaultLoginPort?: number
3211
+
3212
+ /**
3213
+ * 实例的最新操作错误信息。
3214
+ 注意:此字段可能返回 null,表示取不到有效值。
3215
+ */
3216
+ LatestOperationErrorMsg?: string
3201
3217
  }
3202
3218
 
3203
3219
  /**
@@ -4066,44 +4082,8 @@ export interface DescribeInstancesRequest {
4066
4082
  InstanceIds?: Array<string>
4067
4083
 
4068
4084
  /**
4069
- * <li><strong>zone</strong></li>
4070
- <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>
4071
- <li><strong>project-id</strong></li>
4072
- <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>
4073
- <li><strong>host-id</strong></li>
4074
- <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>
4075
- <li><strong>dedicated-cluster-id</strong></li>
4076
- <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>
4077
- <li><strong>vpc-id</strong></li>
4078
- <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>
4079
- <li><strong>subnet-id</strong></li>
4080
- <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>
4081
- <li><strong>instance-id</strong></li>
4082
- <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>
4083
- <li><strong>uuid</strong></li>
4084
- <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>
4085
- <li><strong>security-group-id</strong></li>
4086
- <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>
4087
- <li><strong>instance-name</strong></li>
4088
- <p style="padding-left: 30px;">按照【<strong>实例名称</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
4089
- <li><strong>instance-charge-type</strong></li>
4090
- <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>
4091
- <li><strong>instance-state</strong></li>
4092
- <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>
4093
- <li><strong>private-ip-address</strong></li>
4094
- <p style="padding-left: 30px;">按照【<strong>实例主网卡的内网IP</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
4095
- <li><strong>public-ip-address</strong></li>
4096
- <p style="padding-left: 30px;">按照【<strong>实例主网卡的公网IP</strong>】进行过滤,包含实例创建时自动分配的IP和实例创建后手动绑定的弹性IP。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
4097
- <li><strong>ipv6-address</strong></li>
4098
- <p style="padding-left: 30px;">按照【<strong>实例的IPv6地址</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
4099
- <li><strong>tag-key</strong></li>
4100
- <p style="padding-left: 30px;">按照【<strong>标签键</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
4101
- <li><strong>tag-value</strong></li>
4102
- <p style="padding-left: 30px;">按照【<strong>标签值</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
4103
- <li><strong>tag:tag-key</strong></li>
4104
- <p style="padding-left: 30px;">按照【<strong>标签键值对</strong>】进行过滤。tag-key使用具体的标签键进行替换。使用请参考示例2。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
4105
- 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`InstanceIds`和`Filters`。
4106
- */
4085
+ * <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`。
4086
+ */
4107
4087
  Filters?: Array<Filter>
4108
4088
 
4109
4089
  /**
@@ -139,7 +139,7 @@ export class Client extends AbstractClient {
139
139
  }
140
140
 
141
141
  /**
142
- * 查询语音消息转文本自学习模型列表
142
+ * 查询语音消息转文本热句模型列表
143
143
  */
144
144
  async GetCustomizationList(
145
145
  req: GetCustomizationListRequest,
@@ -169,7 +169,7 @@ export class Client extends AbstractClient {
169
169
  }
170
170
 
171
171
  /**
172
- * 用户使用该接口可以创建语音消息转文本自学习模型,以供识别调用
172
+ * 用户使用该接口可以创建语音消息转文本热句模型,以供识别调用
173
173
  */
174
174
  async CreateCustomization(
175
175
  req: CreateCustomizationRequest,
@@ -273,7 +273,7 @@ export class Client extends AbstractClient {
273
273
  <h4 id="Callback_Declare"><b>回调相关说明:</b></h4>
274
274
  <li>如果在请求参数中指定了回调地址参数 Callback,即一个 HTTP(S) 协议接口的 URL,则需要支持 POST 方法,传输数据编码采用 UTF-8。</li>
275
275
  <li>在推送回调数据后,接收到的 HTTP 状态码为 200 时,表示推送成功。</li>
276
- <li>HTTP 头参数说明:</li>
276
+ <li>HTTP 请求参数(query)说明:</li>
277
277
  <table>
278
278
  <thread>
279
279
  <tr>
@@ -384,7 +384,7 @@ export class Client extends AbstractClient {
384
384
  }
385
385
 
386
386
  /**
387
- * 用户通过该接口可以更新语音消息转文本自学习模型。
387
+ * 用户通过该接口可以更新语音消息转文本热句模型。
388
388
  */
389
389
  async ModifyCustomization(
390
390
  req: ModifyCustomizationRequest,
@@ -435,7 +435,7 @@ export class Client extends AbstractClient {
435
435
  }
436
436
 
437
437
  /**
438
- * 通过该接口,用户可以修改语音消息转文本自学习模型状态,上下线自学习模型
438
+ * 通过该接口,用户可以修改语音消息转文本热句模型状态,上下线热句模型
439
439
  */
440
440
  async ModifyCustomizationState(
441
441
  req: ModifyCustomizationStateRequest,
@@ -457,7 +457,7 @@ export class Client extends AbstractClient {
457
457
  }
458
458
 
459
459
  /**
460
- * 用户通过该接口可以删除语音消息转文本自学习模型
460
+ * 用户通过该接口可以删除语音消息转文本热句模型
461
461
  */
462
462
  async DeleteCustomization(
463
463
  req: DeleteCustomizationRequest,
@@ -305,7 +305,7 @@ export interface ModifyUserMicStatusRequest {
305
305
  }
306
306
 
307
307
  /**
308
- * 语音消息转文本自学习模型配置
308
+ * 语音消息转文本热句模型配置
309
309
  */
310
310
  export interface CustomizationConfigs {
311
311
  /**
@@ -477,7 +477,7 @@ export interface ModifyCustomizationResponse {
477
477
  ErrorCode: number
478
478
 
479
479
  /**
480
- * 自学习模型ID
480
+ * 模型ID
481
481
  */
482
482
  ModelId: string
483
483
 
@@ -522,7 +522,7 @@ export interface DescribeScanResultListRequest {
522
522
  */
523
523
  export interface ModifyCustomizationStateResponse {
524
524
  /**
525
- * 自学习模型ID
525
+ * 模型ID
526
526
  */
527
527
  ModelId: string
528
528
 
@@ -639,7 +639,7 @@ export interface CreateScanUserRequest {
639
639
  */
640
640
  export interface ModifyCustomizationStateRequest {
641
641
  /**
642
- * 自学习模型ID
642
+ * 模型ID
643
643
  */
644
644
  ModelId: string
645
645
 
@@ -725,7 +725,7 @@ Age :子任务完成后的结果,0:成年人,1:未成年人,100:未知
725
725
  */
726
726
  export interface GetCustomizationListResponse {
727
727
  /**
728
- * 语音消息转文本自学习模型配置
728
+ * 语音消息转文本热句模型配置
729
729
  注意:此字段可能返回 null,表示取不到有效值。
730
730
  */
731
731
  CustomizationConfigs: Array<CustomizationConfigs>
@@ -953,7 +953,7 @@ export interface ModifyCustomizationRequest {
953
953
  TextUrl: string
954
954
 
955
955
  /**
956
- * 要修改的模型ID
956
+ * 修改的模型ID
957
957
  */
958
958
  ModelId: string
959
959
  }
@@ -1501,7 +1501,7 @@ export interface StatusInfo {
1501
1501
  */
1502
1502
  export interface DeleteCustomizationRequest {
1503
1503
  /**
1504
- * 要删除的模型ID
1504
+ * 删除的模型ID
1505
1505
  */
1506
1506
  ModelId: string
1507
1507
 
@@ -988,7 +988,7 @@ export interface EnhanceConfig {
988
988
  */
989
989
  export interface MediaInputInfo {
990
990
  /**
991
- * 输入来源对象的类型,支持 COSURL 两种。
991
+ * 输入来源对象的类型,支持 COSURL 两种。
992
992
  */
993
993
  Type: string
994
994
 
@@ -4240,8 +4240,10 @@ export interface LiveStreamTaskNotifyConfig {
4240
4240
  TopicName?: string
4241
4241
 
4242
4242
  /**
4243
- * 通知类型,默认CMQ,指定URL时HTTP回调推送到 NotifyUrl 指定的地址。
4244
- */
4243
+ * 通知类型,默认CMQ,指定URL时HTTP回调推送到 NotifyUrl 指定的地址。
4244
+
4245
+ <font color="red"> 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。 </font>
4246
+ */
4245
4247
  NotifyType?: string
4246
4248
 
4247
4249
  /**
@@ -4979,6 +4981,13 @@ export interface ProcessMediaRequest {
4979
4981
  注意3:编排的 Trigger 只是用来自动化触发场景,在手动发起的请求中已经配置的 Trigger 无意义。
4980
4982
  */
4981
4983
  ScheduleId?: number
4984
+
4985
+ /**
4986
+ * 任务类型,默认Online
4987
+ <li> Online:实时任务</li>
4988
+ <li> Offline:闲时任务,不保证实效性,默认3天内处理完</li>
4989
+ */
4990
+ TaskType?: string
4982
4991
  }
4983
4992
 
4984
4993
  /**
@@ -9627,12 +9636,12 @@ export interface TaskNotifyConfig {
9627
9636
  /**
9628
9637
  * CMQ或TDMQ-CMQ 的模型,有 Queue 和 Topic 两种。
9629
9638
  */
9630
- CmqModel: string
9639
+ CmqModel?: string
9631
9640
 
9632
9641
  /**
9633
9642
  * CMQ或TDMQ-CMQ 的园区,如 sh,bj 等。
9634
9643
  */
9635
- CmqRegion: string
9644
+ CmqRegion?: string
9636
9645
 
9637
9646
  /**
9638
9647
  * 当模型为 Topic 时有效,表示接收事件通知的 CMQ 或 TDMQ-CMQ 的主题名。
@@ -9655,7 +9664,7 @@ export interface TaskNotifyConfig {
9655
9664
  <li>TDMQ-CMQ:消息队列</li>
9656
9665
  <li>URL:指定URL时HTTP回调推送到 NotifyUrl 指定的地址,回调协议http+json,包体内容同解析事件通知接口的输出参数 </li>
9657
9666
  <li>SCF:不推荐使用,需要在控制台额外配置SCF</li>
9658
- 目前 默认CMQ
9667
+ <font color="red"> 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。 </font>
9659
9668
  */
9660
9669
  NotifyType?: string
9661
9670
 
@@ -20,6 +20,7 @@ import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
21
  LexicalAnalysisResponse,
22
22
  SentenceEmbeddingRequest,
23
+ TextClassificationRequest,
23
24
  WordSimilarityRequest,
24
25
  SearchWordItemsResponse,
25
26
  DpToken,
@@ -47,7 +48,7 @@ import {
47
48
  UpdateDictRequest,
48
49
  DeleteDictResponse,
49
50
  DescribeWordItemsRequest,
50
- TextClassificationRequest,
51
+ GenerateCoupletResponse,
51
52
  CreateDictResponse,
52
53
  TextSimilarityRequest,
53
54
  AutoSummarizationResponse,
@@ -56,7 +57,7 @@ import {
56
57
  SimilarWordsRequest,
57
58
  DescribeDictRequest,
58
59
  PosToken,
59
- SentimentAnalysisResponse,
60
+ GeneratePoetryResponse,
60
61
  DeleteWordItemsRequest,
61
62
  DescribeDictResponse,
62
63
  TextCorrectionProRequest,
@@ -65,12 +66,15 @@ import {
65
66
  DescribeDictsResponse,
66
67
  DependencyParsingRequest,
67
68
  DeleteDictRequest,
69
+ Similarity,
68
70
  NerToken,
69
- SimilarWordsResponse,
71
+ SentimentAnalysisResponse,
70
72
  DependencyParsingResponse,
71
- Similarity,
73
+ SimilarWordsResponse,
74
+ GenerateCoupletRequest,
72
75
  CCIToken,
73
76
  LexicalAnalysisRequest,
77
+ GeneratePoetryRequest,
74
78
  CreateWordItemsResponse,
75
79
  SentimentAnalysisRequest,
76
80
  SearchWordItemsRequest,
@@ -175,6 +179,16 @@ https://ai.tencent.com/ailab/nlp/zh/embedding.html
175
179
  return this.request("CreateDict", req, cb)
176
180
  }
177
181
 
182
+ /**
183
+ * 根据用户输入的命题关键词自动生成一首七言律诗或五言律诗。(如需开通请联系商务)
184
+ */
185
+ async GeneratePoetry(
186
+ req: GeneratePoetryRequest,
187
+ cb?: (error: string, rep: GeneratePoetryResponse) => void
188
+ ): Promise<GeneratePoetryResponse> {
189
+ return this.request("GeneratePoetry", req, cb)
190
+ }
191
+
178
192
  /**
179
193
  * 文本分类接口能够对用户输入的文本进行自动分类,将其映射到具体的类目上,用户只需要提供待分类的文本,而无需关注具体实现。
180
194
 
@@ -235,6 +249,16 @@ https://ai.tencent.com/ailab/nlp/zh/embedding.html
235
249
  return this.request("TextCorrection", req, cb)
236
250
  }
237
251
 
252
+ /**
253
+ * 根据用户输入的命题关键词自动生成一副春联,包括上联、下联和横批。(如需开通请联系商务)
254
+ */
255
+ async GenerateCouplet(
256
+ req: GenerateCoupletRequest,
257
+ cb?: (error: string, rep: GenerateCoupletResponse) => void
258
+ ): Promise<GenerateCoupletResponse> {
259
+ return this.request("GenerateCouplet", req, cb)
260
+ }
261
+
238
262
  /**
239
263
  * 向指定的词库中添加词条。
240
264
  */