tencentcloud-sdk-nodejs 4.0.504 → 4.0.506

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 (73) hide show
  1. package/CHANGELOG.md +277 -0
  2. package/README.md +17 -29
  3. package/SERVICE_CHANGELOG.md +272 -75
  4. package/examples/cvm_role.js +26 -0
  5. package/package.json +1 -1
  6. package/products.md +21 -21
  7. package/src/common/abstract_client.ts +27 -19
  8. package/src/common/cvm_role_credential.ts +62 -0
  9. package/src/common/http/fetch.ts +2 -2
  10. package/src/common/interface.ts +8 -1
  11. package/src/common/sdk_version.ts +1 -1
  12. package/src/services/antiddos/v20200309/antiddos_models.ts +23 -1
  13. package/src/services/billing/v20180709/billing_models.ts +4 -6
  14. package/src/services/ccc/v20200210/ccc_client.ts +13 -1
  15. package/src/services/ccc/v20200210/ccc_models.ts +54 -29
  16. package/src/services/cfs/v20190719/cfs_models.ts +12 -0
  17. package/src/services/cfw/v20190904/cfw_models.ts +1 -1
  18. package/src/services/cvm/v20170312/cvm_models.ts +24 -39
  19. package/src/services/essbasic/v20210526/essbasic_client.ts +1 -1
  20. package/src/services/gme/v20180711/gme_client.ts +6 -6
  21. package/src/services/gme/v20180711/gme_models.ts +7 -7
  22. package/src/services/mps/v20190612/mps_models.ts +15 -6
  23. package/src/services/nlp/v20190408/nlp_client.ts +28 -4
  24. package/src/services/nlp/v20190408/nlp_models.ts +118 -38
  25. package/src/services/ses/v20201002/ses_client.ts +12 -0
  26. package/src/services/ses/v20201002/ses_models.ts +25 -0
  27. package/src/services/ssl/v20191205/ssl_client.ts +1 -0
  28. package/src/services/ssl/v20191205/ssl_models.ts +47 -0
  29. package/src/services/thpc/v20220401/thpc_models.ts +5 -5
  30. package/src/services/tione/v20211111/tione_models.ts +29 -2
  31. package/src/services/trtc/v20190722/trtc_models.ts +4 -4
  32. package/src/services/tsf/v20180326/tsf_models.ts +3 -2
  33. package/src/services/vpc/v20170312/vpc_client.ts +1 -1
  34. package/src/services/vpc/v20170312/vpc_models.ts +14 -8
  35. package/tencentcloud/common/abstract_client.d.ts +3 -2
  36. package/tencentcloud/common/abstract_client.js +21 -13
  37. package/tencentcloud/common/cvm_role_credential.d.ts +17 -0
  38. package/tencentcloud/common/cvm_role_credential.js +47 -0
  39. package/tencentcloud/common/http/fetch.d.ts +2 -2
  40. package/tencentcloud/common/interface.d.ts +7 -1
  41. package/tencentcloud/common/sdk_version.d.ts +1 -1
  42. package/tencentcloud/common/sdk_version.js +1 -1
  43. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +19 -1
  44. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +4 -6
  45. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +5 -1
  46. package/tencentcloud/services/ccc/v20200210/ccc_client.js +6 -0
  47. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +46 -24
  48. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +10 -0
  49. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1 -1
  50. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +19 -38
  51. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
  52. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
  53. package/tencentcloud/services/gme/v20180711/gme_client.d.ts +6 -6
  54. package/tencentcloud/services/gme/v20180711/gme_client.js +6 -6
  55. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +7 -7
  56. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +12 -4
  57. package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +9 -1
  58. package/tencentcloud/services/nlp/v20190408/nlp_client.js +12 -0
  59. package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +103 -35
  60. package/tencentcloud/services/ses/v20201002/ses_client.d.ts +5 -1
  61. package/tencentcloud/services/ses/v20201002/ses_client.js +6 -0
  62. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +22 -0
  63. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +40 -0
  64. package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +5 -5
  65. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +24 -2
  66. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +4 -4
  67. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +1 -0
  68. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -1
  69. package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -1
  70. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +11 -6
  71. package/test/ccc.v20200210.test.js +10 -0
  72. package/test/nlp.v20190408.test.js +20 -0
  73. package/test/ses.v20201002.test.js +10 -0
@@ -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
- * CreateCallOutSession请求参数结构体
2288
+ * HangUpCall返回参数结构体
2247
2289
  */
2248
- export interface CreateCallOutSessionRequest {
2249
- /**
2250
- * 应用 ID
2251
- */
2252
- SdkAppId: number;
2253
- /**
2254
- * 客服用户 ID,一般为客服邮箱
2255
- */
2256
- UserId: string;
2290
+ export interface HangUpCallResponse {
2257
2291
  /**
2258
- * 被叫号码,须带 0086 前缀
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
- Uui?: string;
2294
+ RequestId?: string;
2273
2295
  }
2274
2296
  /**
2275
2297
  * BindStaffSkillGroupList返回参数结构体
@@ -777,6 +777,16 @@ export interface UserQuota {
777
777
  * 文件系统ID
778
778
  */
779
779
  FileSystemId: string;
780
+ /**
781
+ * 容量使用,单位GiB
782
+ 注意:此字段可能返回 null,表示取不到有效值。
783
+ */
784
+ CapacityUsed?: number;
785
+ /**
786
+ * 文件使用个数,单位个
787
+ 注意:此字段可能返回 null,表示取不到有效值。
788
+ */
789
+ FileUsed?: number;
780
790
  }
781
791
  /**
782
792
  * DeleteMountTarget请求参数结构体
@@ -2450,7 +2450,7 @@ export interface DeleteAcRuleRequest {
2450
2450
  */
2451
2451
  export interface DeleteAllAccessControlRuleResponse {
2452
2452
  /**
2453
- * 状态值 0: 修改成功, !0: 修改失败
2453
+ * 状态值 0: 修改成功, 0: 修改失败
2454
2454
  */
2455
2455
  Status: number;
2456
2456
  /**
@@ -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>】进行过滤,可通过调用[DescribeProjects](https://cloud.tencent.com/document/api/651/78725)查询已创建的项目列表或登录[控制台](https://console.cloud.tencent.com/cvm/index)进行查看;也可以调用[AddProject](https://cloud.tencent.com/document/api/651/81952)创建新的项目。项目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
  /**
@@ -4135,7 +4112,11 @@ export interface ExportImagesResponse {
4135
4112
  /**
4136
4113
  * 导出镜像任务ID
4137
4114
  */
4138
- TaskId: number;
4115
+ TaskId?: number;
4116
+ /**
4117
+ * 导出镜像的COS文件名列表
4118
+ */
4119
+ CosPaths?: Array<string>;
4139
4120
  /**
4140
4121
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4141
4122
  */
@@ -24,7 +24,7 @@ export declare class Client extends AbstractClient {
24
24
  */
25
25
  ChannelCreateFlowByFiles(req: ChannelCreateFlowByFilesRequest, cb?: (error: string, rep: ChannelCreateFlowByFilesResponse) => void): Promise<ChannelCreateFlowByFilesResponse>;
26
26
  /**
27
- * 渠道通过图片为子客代创建印章,图片最大5m;此接口不可直接使用,请联系运营/客服咨询相关流程
27
+ * 渠道通过图片为子客代创建印章,图片最大5MB
28
28
  */
29
29
  CreateSealByImage(req: CreateSealByImageRequest, cb?: (error: string, rep: CreateSealByImageResponse) => void): Promise<CreateSealByImageResponse>;
30
30
  /**
@@ -50,7 +50,7 @@ class Client extends abstract_client_1.AbstractClient {
50
50
  return this.request("ChannelCreateFlowByFiles", req, cb);
51
51
  }
52
52
  /**
53
- * 渠道通过图片为子客代创建印章,图片最大5m;此接口不可直接使用,请联系运营/客服咨询相关流程
53
+ * 渠道通过图片为子客代创建印章,图片最大5MB
54
54
  */
55
55
  async CreateSealByImage(req, cb) {
56
56
  return this.request("CreateSealByImage", req, cb);
@@ -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 头参数说明:</li>
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 头参数说明:</li>
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
- * 自学习模型ID
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
- * 自学习模型ID
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
- * 自学习模型ID
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
- * 要修改的模型ID
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
- * 要删除的模型ID
1266
+ * 删除的模型ID
1267
1267
  */
1268
1268
  ModelId: string;
1269
1269
  /**
@@ -830,7 +830,7 @@ export interface EnhanceConfig {
830
830
  */
831
831
  export interface MediaInputInfo {
832
832
  /**
833
- * 输入来源对象的类型,支持 COSURL 两种。
833
+ * 输入来源对象的类型,支持 COSURL 两种。
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: string;
8251
+ CmqModel?: string;
8244
8252
  /**
8245
8253
  * CMQ或TDMQ-CMQ 的园区,如 sh,bj 等。
8246
8254
  */
8247
- CmqRegion: string;
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
- 目前 默认CMQ
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, TextClassificationRequest, CreateDictResponse, TextSimilarityRequest, AutoSummarizationResponse, WordEmbeddingResponse, DescribeWordItemsResponse, SimilarWordsRequest, DescribeDictRequest, SentimentAnalysisResponse, DeleteWordItemsRequest, DescribeDictResponse, TextCorrectionProRequest, TextCorrectionResponse, TextSimilarityProResponse, DescribeDictsResponse, DependencyParsingRequest, DeleteDictRequest, SimilarWordsResponse, DependencyParsingResponse, LexicalAnalysisRequest, CreateWordItemsResponse, SentimentAnalysisRequest, SearchWordItemsRequest, KeywordsExtractionResponse, CreateDictRequest } from "./nlp_models";
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
  */
@@ -83,6 +83,12 @@ https://ai.tencent.com/ailab/nlp/zh/embedding.html
83
83
  async CreateDict(req, cb) {
84
84
  return this.request("CreateDict", req, cb);
85
85
  }
86
+ /**
87
+ * 根据用户输入的命题关键词自动生成一首七言律诗或五言律诗。(如需开通请联系商务)
88
+ */
89
+ async GeneratePoetry(req, cb) {
90
+ return this.request("GeneratePoetry", req, cb);
91
+ }
86
92
  /**
87
93
  * 文本分类接口能够对用户输入的文本进行自动分类,将其映射到具体的类目上,用户只需要提供待分类的文本,而无需关注具体实现。
88
94
 
@@ -123,6 +129,12 @@ https://ai.tencent.com/ailab/nlp/zh/embedding.html
123
129
  async TextCorrection(req, cb) {
124
130
  return this.request("TextCorrection", req, cb);
125
131
  }
132
+ /**
133
+ * 根据用户输入的命题关键词自动生成一副春联,包括上联、下联和横批。(如需开通请联系商务)
134
+ */
135
+ async GenerateCouplet(req, cb) {
136
+ return this.request("GenerateCouplet", req, cb);
137
+ }
126
138
  /**
127
139
  * 向指定的词库中添加词条。
128
140
  */