tencentcloud-sdk-nodejs 4.1.114 → 4.1.115

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 (88) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/ams/index.js +2 -2
  3. package/es/services/btoe/index.js +2 -2
  4. package/es/services/dbbrain/index.js +2 -2
  5. package/es/services/gme/v20180711/gme_client.js +27 -0
  6. package/es/services/ims/index.js +2 -2
  7. package/es/services/iotcloud/index.js +2 -2
  8. package/es/services/iotexplorer/v20190423/iotexplorer_client.js +26 -2
  9. package/es/services/iotvideo/index.js +2 -2
  10. package/es/services/irp/index.js +2 -2
  11. package/es/services/mongodb/index.js +2 -2
  12. package/es/services/ocr/v20181119/ocr_client.js +10 -4
  13. package/es/services/organization/index.js +2 -2
  14. package/es/services/tem/index.js +2 -2
  15. package/es/services/teo/index.js +2 -2
  16. package/es/services/thpc/index.js +2 -2
  17. package/es/services/tke/index.js +2 -2
  18. package/es/services/tms/index.js +2 -2
  19. package/es/services/vm/index.js +2 -2
  20. package/es/services/vod/index.js +2 -2
  21. package/package.json +1 -1
  22. package/tencentcloud/common/sdk_version.d.ts +1 -1
  23. package/tencentcloud/common/sdk_version.js +1 -1
  24. package/tencentcloud/services/ams/index.d.ts +4 -4
  25. package/tencentcloud/services/ams/index.js +2 -2
  26. package/tencentcloud/services/bi/v20220105/bi_models.d.ts +2 -2
  27. package/tencentcloud/services/btoe/index.d.ts +4 -4
  28. package/tencentcloud/services/btoe/index.js +2 -2
  29. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +1 -1
  30. package/tencentcloud/services/chc/v20230418/chc_models.d.ts +29 -0
  31. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +1 -1
  32. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +1 -1
  33. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +86 -80
  34. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +39 -4
  35. package/tencentcloud/services/ctem/v20231128/ctem_models.d.ts +16 -0
  36. package/tencentcloud/services/dbbrain/index.d.ts +4 -4
  37. package/tencentcloud/services/dbbrain/index.js +2 -2
  38. package/tencentcloud/services/dc/v20180410/dc_models.d.ts +8 -0
  39. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +10 -10
  40. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +73 -3
  41. package/tencentcloud/services/es/v20250101/es_models.d.ts +76 -13
  42. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +17 -0
  43. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +9 -0
  44. package/tencentcloud/services/gme/v20180711/gme_client.d.ts +39 -1
  45. package/tencentcloud/services/gme/v20180711/gme_client.js +56 -0
  46. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +674 -74
  47. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +8 -0
  48. package/tencentcloud/services/ims/index.d.ts +4 -4
  49. package/tencentcloud/services/ims/index.js +2 -2
  50. package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +18 -2
  51. package/tencentcloud/services/iotcloud/index.d.ts +4 -4
  52. package/tencentcloud/services/iotcloud/index.js +2 -2
  53. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +35 -3
  54. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +51 -3
  55. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +576 -131
  56. package/tencentcloud/services/iotvideo/index.d.ts +4 -4
  57. package/tencentcloud/services/iotvideo/index.js +2 -2
  58. package/tencentcloud/services/irp/index.d.ts +4 -4
  59. package/tencentcloud/services/irp/index.js +2 -2
  60. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +21 -0
  61. package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -2
  62. package/tencentcloud/services/lkeap/v20240522/lkeap_models.d.ts +8 -0
  63. package/tencentcloud/services/mongodb/index.d.ts +4 -4
  64. package/tencentcloud/services/mongodb/index.js +2 -2
  65. package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +61 -0
  66. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +13 -5
  67. package/tencentcloud/services/ocr/v20181119/ocr_client.js +18 -6
  68. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +184 -77
  69. package/tencentcloud/services/organization/index.d.ts +4 -4
  70. package/tencentcloud/services/organization/index.js +2 -2
  71. package/tencentcloud/services/tem/index.d.ts +4 -4
  72. package/tencentcloud/services/tem/index.js +2 -2
  73. package/tencentcloud/services/teo/index.d.ts +4 -4
  74. package/tencentcloud/services/teo/index.js +2 -2
  75. package/tencentcloud/services/thpc/index.d.ts +4 -4
  76. package/tencentcloud/services/thpc/index.js +2 -2
  77. package/tencentcloud/services/tke/index.d.ts +4 -4
  78. package/tencentcloud/services/tke/index.js +2 -2
  79. package/tencentcloud/services/tms/index.d.ts +4 -4
  80. package/tencentcloud/services/tms/index.js +2 -2
  81. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +2 -2
  82. package/tencentcloud/services/vm/index.d.ts +4 -4
  83. package/tencentcloud/services/vm/index.js +2 -2
  84. package/tencentcloud/services/vod/index.d.ts +4 -4
  85. package/tencentcloud/services/vod/index.js +2 -2
  86. package/tencentcloud/services/wsa/v20250508/wsa_client.d.ts +1 -1
  87. package/tencentcloud/services/wsa/v20250508/wsa_client.js +1 -1
  88. package/tencentcloud/services/wsa/v20250508/wsa_models.d.ts +1 -1
@@ -84,7 +84,7 @@ export interface AlarmInfo {
84
84
  */
85
85
  AlarmPeriod?: number;
86
86
  /**
87
- * 关联的告警通知模板列表。
87
+ * 关联的告警通知渠道组列表。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/product/614/56462)获取关联的告警通知渠道组列表,和MonitorNotice互斥
88
88
  */
89
89
  AlarmNoticeIds?: Array<string>;
90
90
  /**
@@ -145,6 +145,10 @@ export interface AlarmInfo {
145
145
  Condition互斥。
146
146
  */
147
147
  MultiConditions?: Array<MultiCondition>;
148
+ /**
149
+ * 云监控通知渠道相关信息,和AlarmNoticeIds互斥
150
+ */
151
+ MonitorNotice?: MonitorNotice;
148
152
  }
149
153
  /**
150
154
  * 日志结果信息
@@ -2631,7 +2635,7 @@ export interface ModifyAlarmRequest {
2631
2635
  */
2632
2636
  AlarmPeriod?: number;
2633
2637
  /**
2634
- * 关联的告警通知渠道列表。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/product/614/56462)获取告警通知渠道列表
2638
+ * 关联的告警通知渠道组列表。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/product/614/56462)获取关联的告警通知渠道组列表,和MonitorNotice互斥
2635
2639
  */
2636
2640
  AlarmNoticeIds?: Array<string>;
2637
2641
  /**
@@ -2847,9 +2851,9 @@ export interface CreateAlarmRequest {
2847
2851
  */
2848
2852
  AlarmPeriod: number;
2849
2853
  /**
2850
- * 关联的告警通知渠道组列表。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/product/614/56462)获取关联的告警通知渠道组列表
2854
+ * 关联的告警通知渠道组列表。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/product/614/56462)获取关联的告警通知渠道组列表,和MonitorNotice互斥
2851
2855
  */
2852
- AlarmNoticeIds: Array<string>;
2856
+ AlarmNoticeIds?: Array<string>;
2853
2857
  /**
2854
2858
  * 告警发送通知的触发条件
2855
2859
  注意:
@@ -5256,6 +5260,15 @@ export interface DeleteAlarmResponse {
5256
5260
  */
5257
5261
  RequestId?: string;
5258
5262
  }
5263
+ /**
5264
+ * 提供多个Notice信息
5265
+ */
5266
+ export interface MonitorNotice {
5267
+ /**
5268
+ * 以数组的形式提供MonitorNoticeRule
5269
+ */
5270
+ Notices?: Array<MonitorNoticeRule>;
5271
+ }
5259
5272
  /**
5260
5273
  * 回调地址
5261
5274
  */
@@ -5536,6 +5549,10 @@ export interface AlertHistoryRecord {
5536
5549
  0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。
5537
5550
  */
5538
5551
  MonitorObjectType?: number;
5552
+ /**
5553
+ * 通知渠道类型,0默认代表cls内部通知渠道,1代表云监控通知渠道
5554
+ */
5555
+ SendType?: number;
5539
5556
  }
5540
5557
  /**
5541
5558
  * DescribeKafkaRecharges返回参数结构体
@@ -6605,6 +6622,24 @@ export interface RuleInfo {
6605
6622
  */
6606
6623
  DynamicIndex?: DynamicIndex;
6607
6624
  }
6625
+ /**
6626
+ * 云监控通知渠道组信息
6627
+ */
6628
+ export interface MonitorNoticeRule {
6629
+ /**
6630
+ * 云监控通知模版ID
6631
+ */
6632
+ NoticeId?: string;
6633
+ /**
6634
+ * 云监控内容模版ID,不传默认内容模版
6635
+ 注意:此字段可能返回 null,表示取不到有效值。
6636
+ */
6637
+ ContentTmplId?: string;
6638
+ /**
6639
+ * 告警级别,0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)
6640
+ */
6641
+ AlarmLevels?: Array<number | bigint>;
6642
+ }
6608
6643
  /**
6609
6644
  * CreateConfig返回参数结构体
6610
6645
  */
@@ -318,6 +318,22 @@ export interface DisplayAsset {
318
318
  * 公共字段
319
319
  */
320
320
  DisplayToolCommon?: DisplayToolCommon;
321
+ /**
322
+ * 端口数据
323
+ */
324
+ Ports?: string;
325
+ /**
326
+ * 服务数据
327
+ */
328
+ Services?: string;
329
+ /**
330
+ * 域名数据
331
+ */
332
+ Domains?: string;
333
+ /**
334
+ * 端口和服务最近更新时间
335
+ */
336
+ LastModify?: string;
321
337
  }
322
338
  /**
323
339
  * DescribeWechatApplets返回参数结构体
@@ -1,10 +1,10 @@
1
1
  export declare const dbbrain: {
2
- v20210527: {
3
- Client: typeof import("./v20210527/dbbrain_client").Client;
4
- Models: typeof import("./v20210527/dbbrain_models");
5
- };
6
2
  v20191016: {
7
3
  Client: typeof import("./v20191016/dbbrain_client").Client;
8
4
  Models: typeof import("./v20191016/dbbrain_models");
9
5
  };
6
+ v20210527: {
7
+ Client: typeof import("./v20210527/dbbrain_client").Client;
8
+ Models: typeof import("./v20210527/dbbrain_models");
9
+ };
10
10
  };
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.dbbrain = void 0;
4
- const v20210527_1 = require("./v20210527");
5
4
  const v20191016_1 = require("./v20191016");
5
+ const v20210527_1 = require("./v20210527");
6
6
  exports.dbbrain = {
7
- v20210527: v20210527_1.v20210527,
8
7
  v20191016: v20191016_1.v20191016,
8
+ v20210527: v20210527_1.v20210527,
9
9
  };
@@ -1758,6 +1758,14 @@ export interface DirectConnectTunnel {
1758
1758
  * 是否共享通道
1759
1759
  */
1760
1760
  ShareOrNot?: number;
1761
+ /**
1762
+ * 接入点名称
1763
+ */
1764
+ AccessPointName?: string;
1765
+ /**
1766
+ * 接入点ID
1767
+ */
1768
+ AccessPointId?: string;
1761
1769
  }
1762
1770
  /**
1763
1771
  * DisableInternetAddress请求参数结构体
@@ -957,11 +957,11 @@ export interface ContinueMigrateJobResponse {
957
957
  */
958
958
  export interface CreateMigrationServiceRequest {
959
959
  /**
960
- * 源实例数据库类型,如mysql,redis,percona,mongodb,postgresql,sqlserver,mariadb,cynosdbmysql
960
+ * 源实例数据库类型,如mysql,redis,percona,mongodb,postgresql,sqlserver,mariadb,cynosdbmysql(表示TDSQL-C MySQL数据库)
961
961
  */
962
962
  SrcDatabaseType: string;
963
963
  /**
964
- * 目标实例数据库类型,如mysql,redis,percona,mongodb,postgresql,sqlserver,mariadb,cynosdbmysql
964
+ * 目标实例数据库类型,如mysql,redis,percona,mongodb,postgresql,sqlserver,mariadb,cynosdbmysql(表示TDSQL-C MySQL数据库)
965
965
  */
966
966
  DstDatabaseType: string;
967
967
  /**
@@ -973,7 +973,7 @@ export interface CreateMigrationServiceRequest {
973
973
  */
974
974
  DstRegion: string;
975
975
  /**
976
- * 实例规格,包括:small、medium、large、xlarge、2xlarge
976
+ * 实例规格,包括:small、medium、large、xlarge、2xlarge。当前未计费链路仅支持medium字段值。不同规格类型参考[计费概述](https://cloud.tencent.com/document/product/571/18736)
977
977
  */
978
978
  InstanceClass: string;
979
979
  /**
@@ -1219,7 +1219,7 @@ export interface DBEndpointInfo {
1219
1219
  */
1220
1220
  Region: string;
1221
1221
  /**
1222
- * 实例网络接入类型,如:extranet(外网)、ipv6(公网ipv6)、cvm(云主机自建)、dcg(专线接入)、vpncloud(vpn接入的实例)、cdb(云数据库)、ccn(云联网)、intranet(自研上云)、vpc(私有网络)等,注意具体可选值依赖当前链路
1222
+ * 实例网络接入类型,如:extranet(外网)、ipv6(公网ipv6)、cvm(云服务器自建)、dcg(专线接入)、vpncloud(vpn接入的实例)、cdb(云数据库)、ccn(云联网)、intranet(自研上云)、vpc(私有网络)等,注意具体可选值依赖当前链路
1223
1223
  */
1224
1224
  AccessType: string;
1225
1225
  /**
@@ -1243,12 +1243,12 @@ export interface DBEndpointInfo {
1243
1243
  /**
1244
1244
  * 此参数为数组类型,可以传多个键值对结构对象。
1245
1245
  MongoDB可定义如下的参数:
1246
- 'AuthDatabase':'admin',
1247
- 'AuthFlag': "1",
1248
- 'AuthMechanism':"SCRAM-SHA-1",
1249
- "fetchMethod":"oplog",
1250
- "connectMode":"srv",
1251
- "EncryptedConnProtocol":"mongo_atlas_ssl";
1246
+ 'AuthDatabase':'admin', //认证库
1247
+ 'AuthFlag': "1", //实例是否需要认证,"0": 不用认证;"1":需要认证
1248
+ 'AuthMechanism':"SCRAM-SHA-1", //实例认证方式
1249
+ "fetchMethod":"oplog", //fetchMethod表示迁移方式,支持oplog、change_stream
1250
+ "connectMode":"srv", //外网srv连接模式
1251
+ "EncryptedConnProtocol":"mongo_atlas_ssl"; //加密连接方式
1252
1252
  其中fetchMethod表示迁移方式,还可支持change_stream;EncryptedConnProtocol值为mongo_atlas_ssl表示使用atlas ssl连接方式。
1253
1253
  */
1254
1254
  ExtraAttr?: Array<KeyValuePairOption>;
@@ -723,6 +723,10 @@ export interface LoadAutoScaleStrategy {
723
723
  * 优雅缩容等待时间
724
724
  */
725
725
  GraceDownTime?: number;
726
+ /**
727
+ * 是否开启任务保护
728
+ */
729
+ GraceDownProtectFlag?: boolean;
726
730
  /**
727
731
  * 绑定标签列表
728
732
  注意:此字段可能返回 null,表示取不到有效值。
@@ -3316,6 +3320,10 @@ export interface TimeAutoScaleStrategy {
3316
3320
  * 优雅缩容等待时间
3317
3321
  */
3318
3322
  GraceDownTime?: number;
3323
+ /**
3324
+ * 是否开启任务保护
3325
+ */
3326
+ GraceDownProtectFlag?: boolean;
3319
3327
  /**
3320
3328
  * 绑定标签列表
3321
3329
  注意:此字段可能返回 null,表示取不到有效值。
@@ -4274,6 +4282,14 @@ export interface CreateInstanceRequest {
4274
4282
  * CLB id
4275
4283
  */
4276
4284
  LoadBalancerId?: string;
4285
+ /**
4286
+ * 数据库类型:mysql8/tdsql8
4287
+ */
4288
+ DefaultMetaVersion?: string;
4289
+ /**
4290
+ * 是否开通审计:0:不开通,1:开通
4291
+ */
4292
+ NeedCdbAudit?: number;
4277
4293
  }
4278
4294
  /**
4279
4295
  * 动态生成的变更详情条目
@@ -4905,6 +4921,14 @@ export interface InquiryPriceCreateInstanceRequest {
4905
4921
  * 可用区的规格信息
4906
4922
  */
4907
4923
  MultiZoneSettings?: Array<MultiZoneSetting>;
4924
+ /**
4925
+ * 数据库版本
4926
+ */
4927
+ DefaultMetaVersion?: string;
4928
+ /**
4929
+ * 0:不开通审计;1:开通审计
4930
+ */
4931
+ NeedCdbAudit?: number;
4908
4932
  }
4909
4933
  /**
4910
4934
  * DescribeSLInstance返回参数结构体
@@ -4988,6 +5012,19 @@ export interface DescribeSLInstanceResponse {
4988
5012
  */
4989
5013
  RequestId?: string;
4990
5014
  }
5015
+ /**
5016
+ * 标签信息
5017
+ */
5018
+ export interface TagInfo {
5019
+ /**
5020
+ * 标签键
5021
+ */
5022
+ Key?: string;
5023
+ /**
5024
+ * 标签值
5025
+ */
5026
+ Value?: string;
5027
+ }
4991
5028
  /**
4992
5029
  * ModifySLInstance返回参数结构体
4993
5030
  */
@@ -5811,6 +5848,11 @@ export interface DescribeNodeDataDisksRequest {
5811
5848
  * 数据偏移值
5812
5849
  */
5813
5850
  Offset?: number;
5851
+ /**
5852
+ * 场景值:
5853
+ ModifyDiskExtraPerformance :调整数据盘额外性能
5854
+ */
5855
+ Scene?: string;
5814
5856
  }
5815
5857
  /**
5816
5858
  * 停止服务时的参数
@@ -6735,6 +6777,10 @@ export interface DescribeNodeDataDisksResponse {
6735
6777
  * 云盘最大容量
6736
6778
  */
6737
6779
  MaxSize?: number;
6780
+ /**
6781
+ * 云硬盘最大额外性能值
6782
+ */
6783
+ MaxThroughputPerformance?: number;
6738
6784
  /**
6739
6785
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6740
6786
  */
@@ -9373,6 +9419,14 @@ export interface CreateClusterRequest {
9373
9419
  * clb id
9374
9420
  */
9375
9421
  LoadBalancerId?: string;
9422
+ /**
9423
+ * 数据库版本:mysql8/tdsql8/mysql5
9424
+ */
9425
+ DefaultMetaVersion?: string;
9426
+ /**
9427
+ * 是否开通数据库审计
9428
+ */
9429
+ NeedCdbAudit?: number;
9376
9430
  }
9377
9431
  /**
9378
9432
  * CreateCloudInstance请求参数结构体
@@ -9415,8 +9469,8 @@ export interface CreateCloudInstanceRequest {
9415
9469
  */
9416
9470
  ProductId?: number;
9417
9471
  /**
9418
- * 客户端token,唯一随机标识,时效5分钟,需要调用者指定 防止客户端重新创建资源,小于等于64个字符,例如 a9a90aa6----fae36063280
9419
- 示例值:a9a90aa6----fae36063280
9472
+ * 客户端token,唯一随机标识,时效5分钟,需要调用者指定 防止客户端重新创建资源,小于等于64个字符,例如 a9a90aa6fae36063280
9473
+ 示例值:a9a90aa6fae36063280
9420
9474
  */
9421
9475
  ClientToken?: string;
9422
9476
  /**
@@ -9443,7 +9497,7 @@ export interface CreateCloudInstanceRequest {
9443
9497
  */
9444
9498
  Tags?: Array<Tag>;
9445
9499
  /**
9446
- * 登陆密码,LoginSettings中的Password字段
9500
+ * 登录密码,LoginSettings中的Password字段
9447
9501
  */
9448
9502
  LoginSettings?: LoginSettings;
9449
9503
  /**
@@ -9454,6 +9508,14 @@ export interface CreateCloudInstanceRequest {
9454
9508
  * 可用区id
9455
9509
  */
9456
9510
  ZoneId?: number;
9511
+ /**
9512
+ * 数据库版本
9513
+ */
9514
+ DefaultMetaVersion?: string;
9515
+ /**
9516
+ * 是否开通审计
9517
+ */
9518
+ NeedCdbAudit?: number;
9457
9519
  }
9458
9520
  /**
9459
9521
  * 资源详情
@@ -9944,6 +10006,14 @@ export interface CBSInstance {
9944
10006
  * 包销到期时间
9945
10007
  */
9946
10008
  UnderwriteExpiredTime?: string;
10009
+ /**
10010
+ * 标签
10011
+ */
10012
+ Tags?: Array<TagInfo>;
10013
+ /**
10014
+ * 云硬盘额外性能值,单位:MB/s
10015
+ */
10016
+ ThroughputPerformance?: number;
9947
10017
  }
9948
10018
  /**
9949
10019
  * 单个pod状态
@@ -208,12 +208,20 @@ export interface ParseDocumentResponse {
208
208
  */
209
209
  export interface Document {
210
210
  /**
211
- * 文件类型。
212
- 支持的文件类型:PDF、DOC、DOCX、PPT、PPTX、MD、TXT、XLS、XLSX、CSV、PNG、JPG、JPEG、BMP、GIF、WEBP、HEIC、EPS、ICNS、IM、PCX、PPM、TIFF、XBM、HEIF、JP2
213
- 支持的文件大小:
214
- - PDF、DOC、DOCX、PPT、PPTX 支持100M
215
- - MD、TXT、XLS、XLSX、CSV 支持10M
216
- - 其他支持20M
211
+ * 支持的文件类型:PDF、DOC、DOCX、PPT、PPTX、MD、TXT、XLS、
212
+ XLSX、CSV、PNG、JPG、JPEG、BMP、GIF、WEBP、HEIC、EPS、ICNS、
213
+ IM、PCX、PPM、TIFF、XBM、HEIF、JP2
214
+
215
+ 文档解析支持的文件大小:
216
+ -PDF、DOC、DOCX、PPT、PPTX支持100M
217
+ -MD、TXT、XLS、XLSX、CSV支特10M
218
+ -其他支持20M
219
+
220
+ 文本切片支持的文件大小:
221
+ -PDF最大300M
222
+ -D0CX、D0C、PPT、PPTX最大200M
223
+ -TXT、MD最大10M
224
+ -其他最大20M
217
225
  */
218
226
  FileType: string;
219
227
  /**
@@ -391,6 +399,19 @@ export interface ChunkConfig {
391
399
  */
392
400
  ChunkOverlap?: number;
393
401
  }
402
+ /**
403
+ * 具体的function调用
404
+ */
405
+ export interface ToolCallFunction {
406
+ /**
407
+ * function名称
408
+ */
409
+ Name?: string;
410
+ /**
411
+ * function参数,一般为json字符串
412
+ */
413
+ Arguments?: string;
414
+ }
394
415
  /**
395
416
  * 会话内容,按对话时间从旧到新在数组中排列,长度受模型窗口大小限制。
396
417
  */
@@ -407,18 +428,30 @@ export interface OutputMessage {
407
428
  * 推理内容
408
429
  */
409
430
  ReasoningContent?: string;
431
+ /**
432
+ * 模型生成的工具调用
433
+ */
434
+ ToolCalls?: Array<ToolCall>;
410
435
  }
411
436
  /**
412
437
  * 文档信息
413
438
  */
414
439
  export interface ParseDocument {
415
440
  /**
416
- * 文件类型。
417
- 支持的文件类型:PDF、DOC、DOCX、PPT、PPTX、MD、TXT、XLS、XLSX、CSV、PNG、JPG、JPEG、BMP、GIF、WEBP、HEIC、EPS、ICNS、IM、PCX、PPM、TIFF、XBM、HEIF、JP2
418
- 支持的文件大小:
419
- - PDF、DOC、DOCX、PPT、PPTX 支持100M
420
- - MD、TXT、XLS、XLSX、CSV 支持10M
421
- - 其他支持20M
441
+ * 支持的文件类型:PDF、DOC、DOCX、PPT、PPTX、MD、TXT、XLS、
442
+ XLSX、CSV、PNG、JPG、JPEG、BMP、GIF、WEBP、HEIC、EPS、ICNS、
443
+ IM、PCX、PPM、TIFF、XBM、HEIF、JP2
444
+
445
+ 文档解析支持的文件大小:
446
+ -PDF、DOC、DOCX、PPT、PPTX支持100M
447
+ -MD、TXT、XLS、XLSX、CSV支特10M
448
+ -其他支持20M
449
+
450
+ 文本切片支持的文件大小:
451
+ -PDF最大300M
452
+ -D0CX、D0C、PPT、PPTX最大200M
453
+ -TXT、MD最大10M
454
+ -其他最大20M
422
455
  */
423
456
  FileType: string;
424
457
  /**
@@ -429,6 +462,7 @@ export interface ParseDocument {
429
462
  * 文件的 base64 值,携带 MineType前缀信息。编码后的后的文件不超过 10M。
430
463
  支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过3秒。
431
464
  支持的图片像素:单边介于20-10000px之间。
465
+ 文件的 FileUrl、FileContent必须提供一个,如果都提供只使用 FileUrl。
432
466
  */
433
467
  FileContent?: string;
434
468
  /**
@@ -478,6 +512,27 @@ export interface ChunkDocumentAsyncResponse {
478
512
  */
479
513
  RequestId?: string;
480
514
  }
515
+ /**
516
+ * 模型生成的工具调用
517
+ */
518
+ export interface ToolCall {
519
+ /**
520
+ * 工具调用id
521
+ */
522
+ Id?: string;
523
+ /**
524
+ * 工具调用类型,当前只支持function
525
+ */
526
+ Type?: string;
527
+ /**
528
+ * 具体的function调用
529
+ */
530
+ Function?: ToolCallFunction;
531
+ /**
532
+ * 索引值
533
+ */
534
+ Index?: number;
535
+ }
481
536
  /**
482
537
  * 联网搜索选项。
483
538
  */
@@ -587,13 +642,21 @@ export interface ChunkDocument {
587
642
  */
588
643
  export interface Message {
589
644
  /**
590
- * 角色, system', ‘user','assistant'或者'tool', 在message中, 除了system,其他必须是user与assistant交替(一问一答)
645
+ * 角色,可选值包括 systemuserassistanttool
591
646
  */
592
647
  Role?: string;
593
648
  /**
594
649
  * 具体文本内容
595
650
  */
596
651
  Content?: string;
652
+ /**
653
+ * 当role为tool时传入,标识具体的函数调用
654
+ */
655
+ ToolCallId?: string;
656
+ /**
657
+ * 模型生成的工具调用
658
+ */
659
+ ToolCalls?: Array<ToolCall>;
597
660
  }
598
661
  /**
599
662
  * ChatCompletions返回参数结构体
@@ -2531,6 +2531,14 @@ export interface MiniAppCreateFlowOption {
2531
2531
  * 在短信通知、填写、签署流程中,若标题、按钮、合同详情等地方存在“合同”字样时,可根据此配置指定文案,可选文案如下: <ul><li> <b>0</b> :合同(默认值)</li> <li> <b>1</b> :文件</li> <li> <b>2</b> :协议</li><li> <b>3</b> :文书</li></ul>效果如下:![FlowDisplayType](https://qcloudimg.tencent-cloud.cn/raw/e4a2c4d638717cc901d3dbd5137c9bbc.png)
2532
2532
  */
2533
2533
  FlowDisplayType?: number;
2534
+ /**
2535
+ * 小程序集成发起,是否禁止发起时修改合同内容
2536
+ <ul>
2537
+ <li>false:默认值,不禁止发起时修改合同内容</li>
2538
+ <li>true:禁止发起时修改合同内容</li>
2539
+ </ul>
2540
+ */
2541
+ ForbidEditFlow?: boolean;
2534
2542
  }
2535
2543
  /**
2536
2544
  * 部门信息
@@ -8503,6 +8511,7 @@ export interface CreateMultiFlowSignQRCodeRequest {
8503
8511
  /**
8504
8512
  * 二维码的有效期限,默认为7天,最高设定不得超过90天。
8505
8513
  一旦超过二维码的有效期限,该二维码将自动失效。
8514
+ * @deprecated
8506
8515
  */
8507
8516
  QrEffectiveDay?: number;
8508
8517
  /**
@@ -8553,6 +8562,14 @@ export interface CreateMultiFlowSignQRCodeRequest {
8553
8562
  例如,通过参数FlowName设定的扫码发起合同名称为“员工入职合同”,当扫码人张三(手机号18800009527)扫码签署时,合同名称将自动生成为“员工入职合同-张三-9527”。
8554
8563
  */
8555
8564
  FlowNameAppendScannerInfo?: boolean;
8565
+ /**
8566
+ * 签署二维码的名称(可自定义此名称),长度不能超过200,只能由中文、字母、数字和下划线组成,会在生成的二维码图片上展示,若为空,则使用FlowName
8567
+ */
8568
+ QrCodeName?: string;
8569
+ /**
8570
+ * 签署二维码截止时间,格式为Unix标准时间戳(秒),如果未设置签署截止时间,则默认为签署二维码创建后的7天时截止,最长可设置为签署二维码创建后的365天时截止。
8571
+ */
8572
+ QrCodeExpiredOn?: number;
8556
8573
  }
8557
8574
  /**
8558
8575
  * DeleteExtendedServiceAuthInfos请求参数结构体
@@ -5551,6 +5551,7 @@ export interface ChannelCreateMultiFlowSignQRCodeRequest {
5551
5551
  FlowEffectiveDay?: number;
5552
5552
  /**
5553
5553
  * 二维码的有效期限,默认为7天,最高设定不得超过90天。 一旦超过二维码的有效期限,该二维码将自动失效。
5554
+ * @deprecated
5554
5555
  */
5555
5556
  QrEffectiveDay?: number;
5556
5557
  /**
@@ -5586,6 +5587,14 @@ export interface ChannelCreateMultiFlowSignQRCodeRequest {
5586
5587
  * 合同流程名称是否应包含扫码签署人的信息,且遵循特定格式(flowname-姓名-手机号后四位)。 例如,通过参数FlowName设定的扫码发起合同名称为“员工入职合同”,当扫码人张三(手机号18800009527)扫码签署时,合同名称将自动生成为“员工入职合同-张三-9527”。
5587
5588
  */
5588
5589
  FlowNameAppendScannerInfo?: boolean;
5590
+ /**
5591
+ * 签署二维码的名称(可自定义此名称),长度不能超过200,只能由中文、字母、数字和下划线组成,会在生成的二维码图片上展示,若为空,则使用FlowName
5592
+ */
5593
+ QrCodeName?: string;
5594
+ /**
5595
+ * 签署二维码截止时间,格式为Unix标准时间戳(秒),如果未设置签署截止时间,则默认为签署二维码创建后的7天时截止,最长可设置为签署二维码创建后的365天时截止。
5596
+ */
5597
+ QrCodeExpiredOn?: number;
5589
5598
  }
5590
5599
  /**
5591
5600
  * 企业认证可选项,其中包括 社会信用代码是否一致,企业名称是否一致,法人是否一致, 对公打款账号是否一致等信息。
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { ModifyAppStatusRequest, CreateCustomizationResponse, ModifyCustomizationStateRequest, DescribeScanResultListRequest, StartRecordRequest, ModifyRecordInfoRequest, GetCustomizationListResponse, DeleteScanUserRequest, ModifyUserMicStatusRequest, UpdateScanUsersResponse, DescribeAgeDetectTaskRequest, DeleteCustomizationResponse, DescribeApplicationListRequest, GetCustomizationListRequest, DescribeRecordInfoResponse, DescribeApplicationListResponse, StopRecordResponse, DescribeUserInAndOutTimeRequest, StartRecordResponse, DescribeScanResultListResponse, CreateAppResponse, DescribeRecordInfoRequest, DescribeRoomInfoRequest, ModifyCustomizationResponse, DeleteCustomizationRequest, CreateAgeDetectTaskRequest, DescribeAppStatisticsResponse, DeleteScanUserResponse, DescribeRoomInfoResponse, DescribeTaskInfoRequest, ScanVoiceRequest, DescribeApplicationDataRequest, CreateScanUserResponse, ModifyUserMicStatusResponse, DescribeTaskInfoResponse, DeleteRoomMemberResponse, ModifyCustomizationRequest, DescribeUserInAndOutTimeResponse, DescribeAppStatisticsRequest, StopRecordRequest, CreateAppRequest, ScanVoiceResponse, CreateAgeDetectTaskResponse, DescribeRealtimeScanConfigResponse, DeleteRoomMemberRequest, CreateCustomizationRequest, UpdateScanRoomsRequest, DescribeRealtimeScanConfigRequest, ModifyCustomizationStateResponse, CreateScanUserRequest, DescribeAgeDetectTaskResponse, UpdateScanRoomsResponse, DescribeApplicationDataResponse, UpdateScanUsersRequest, ModifyAppStatusResponse, ModifyRecordInfoResponse } from "./gme_models";
3
+ import { ModifyAppStatusRequest, ModifyRecordInfoRequest, ModifyCustomizationStateRequest, StartAIConversationResponse, CreateScanUserRequest, StartAIConversationRequest, DescribeScanResultListRequest, StartRecordRequest, GetCustomizationListResponse, DeleteScanUserRequest, ModifyUserMicStatusRequest, UpdateScanUsersResponse, ControlAIConversationResponse, DescribeAgeDetectTaskRequest, DeleteCustomizationResponse, DescribeApplicationListRequest, GetCustomizationListRequest, RegisterVoicePrintResponse, DescribeRecordInfoResponse, DescribeApplicationListResponse, StopRecordResponse, DeleteVoicePrintRequest, DescribeUserInAndOutTimeRequest, StartRecordResponse, DescribeScanResultListResponse, CreateAppResponse, DescribeRecordInfoRequest, DescribeRoomInfoRequest, ModifyCustomizationResponse, DeleteCustomizationRequest, CreateAgeDetectTaskRequest, DescribeAppStatisticsResponse, DescribeVoicePrintResponse, DeleteScanUserResponse, DescribeRoomInfoResponse, DescribeAIConversationResponse, DescribeVoicePrintRequest, DescribeTaskInfoRequest, ScanVoiceRequest, RegisterVoicePrintRequest, UpdateVoicePrintRequest, DescribeApplicationDataRequest, CreateScanUserResponse, DeleteVoicePrintResponse, ModifyUserMicStatusResponse, DescribeTaskInfoResponse, DeleteRoomMemberResponse, ModifyCustomizationRequest, StopAIConversationResponse, DescribeAIConversationRequest, DescribeUserInAndOutTimeResponse, DescribeAppStatisticsRequest, StopRecordRequest, CreateAppRequest, ControlAIConversationRequest, ScanVoiceResponse, CreateAgeDetectTaskResponse, DescribeRealtimeScanConfigResponse, DeleteRoomMemberRequest, CreateCustomizationRequest, UpdateScanRoomsRequest, DescribeRealtimeScanConfigRequest, DescribeAgeDetectTaskResponse, StopAIConversationRequest, UpdateAIConversationRequest, UpdateScanRoomsResponse, DescribeApplicationDataResponse, UpdateAIConversationResponse, UpdateVoicePrintResponse, UpdateScanUsersRequest, ModifyAppStatusResponse, CreateCustomizationResponse, ModifyCustomizationStateResponse, ModifyRecordInfoResponse } from "./gme_models";
4
4
  /**
5
5
  * gme client
6
6
  * @class
@@ -16,6 +16,14 @@ export declare class Client extends AbstractClient {
16
16
 
17
17
  */
18
18
  StopRecord(req: StopRecordRequest, cb?: (error: string, rep: StopRecordResponse) => void): Promise<StopRecordResponse>;
19
+ /**
20
+ * 更新AIConversation参数
21
+ */
22
+ UpdateAIConversation(req: UpdateAIConversationRequest, cb?: (error: string, rep: UpdateAIConversationResponse) => void): Promise<UpdateAIConversationResponse>;
23
+ /**
24
+ * 停止AI对话任务
25
+ */
26
+ StopAIConversation(req: StopAIConversationRequest, cb?: (error: string, rep: StopAIConversationResponse) => void): Promise<StopAIConversationResponse>;
19
27
  /**
20
28
  * 删除自定义送检用户。**接口使用前提**:目前 DeleteScanUser 接口通过白名单开放,如需使用,需要 [提交工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=438&level2_id=445&source=0&data_title=%E6%B8%B8%E6%88%8F%E5%A4%9A%E5%AA%92%E4%BD%93%E5%BC%95%E6%93%8EGME&step=1)。
21
29
  */
@@ -33,10 +41,20 @@ export declare class Client extends AbstractClient {
33
41
  * 拉取用户在房间得进出时间
34
42
  */
35
43
  DescribeUserInAndOutTime(req: DescribeUserInAndOutTimeRequest, cb?: (error: string, rep: DescribeUserInAndOutTimeResponse) => void): Promise<DescribeUserInAndOutTimeResponse>;
44
+ /**
45
+ * 传入声纹ID,删除之前注册的声纹信息
46
+ */
47
+ DeleteVoicePrint(req: DeleteVoicePrintRequest, cb?: (error: string, rep: DeleteVoicePrintResponse) => void): Promise<DeleteVoicePrintResponse>;
36
48
  /**
37
49
  * 更新自定义送检房间号。**接口使用前提**:目前 UpdateScanRooms 接口通过白名单开放,如需使用,需要 [提交工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=438&level2_id=445&source=0&data_title=%E6%B8%B8%E6%88%8F%E5%A4%9A%E5%AA%92%E4%BD%93%E5%BC%95%E6%93%8EGME&step=1)。
38
50
  */
39
51
  UpdateScanRooms(req: UpdateScanRoomsRequest, cb?: (error: string, rep: UpdateScanRoomsResponse) => void): Promise<UpdateScanRoomsResponse>;
52
+ /**
53
+ * 启动AI对话任务,AI通道机器人进入GME房间,与房间内指定的成员进行AI对话,适用于智能客服,AI口语教师等场景
54
+
55
+ GME AI对话功能内置语音转文本能力,同时提供通道服务,即客户可灵活指定第三方AI模型(LLM)服务和文本转音频(TTS)服务,更多[功能说明](https://cloud.tencent.com/document/product/647/108901)。
56
+ */
57
+ StartAIConversation(req: StartAIConversationRequest, cb?: (error: string, rep: StartAIConversationResponse) => void): Promise<StartAIConversationResponse>;
40
58
  /**
41
59
  * 用户使用该接口可以创建语音消息转文本热句模型,以供识别调用
42
60
  */
@@ -45,6 +63,10 @@ export declare class Client extends AbstractClient {
45
63
  * 查询房间录制的详细信息
46
64
  */
47
65
  DescribeTaskInfo(req: DescribeTaskInfoRequest, cb?: (error: string, rep: DescribeTaskInfoResponse) => void): Promise<DescribeTaskInfoResponse>;
66
+ /**
67
+ * 传入音频base64串,注册声纹信息,返回声纹ID
68
+ */
69
+ RegisterVoicePrint(req: RegisterVoicePrintRequest, cb?: (error: string, rep: RegisterVoicePrintResponse) => void): Promise<RegisterVoicePrintResponse>;
48
70
  /**
49
71
  * 目前该功能底层能力已不具备,不对外提供,目前需要下线,走预下线流程。
50
72
 
@@ -61,6 +83,10 @@ export declare class Client extends AbstractClient {
61
83
  </br>
62
84
  */
63
85
  CreateAgeDetectTask(req: CreateAgeDetectTaskRequest, cb?: (error: string, rep: CreateAgeDetectTaskResponse) => void): Promise<CreateAgeDetectTaskResponse>;
86
+ /**
87
+ * 传入声纹ID以及对应音频信息,更新对应声纹信息
88
+ */
89
+ UpdateVoicePrint(req: UpdateVoicePrintRequest, cb?: (error: string, rep: UpdateVoicePrintResponse) => void): Promise<UpdateVoicePrintResponse>;
64
90
  /**
65
91
  * 本接口(DeleteRoomMember)用户删除房间或者剔除房间内用户
66
92
  */
@@ -69,6 +95,10 @@ export declare class Client extends AbstractClient {
69
95
  * 本接口(DescribeApplicationData)用于获取数据详情信息,最多可拉取最近90天的数据。
70
96
  */
71
97
  DescribeApplicationData(req: DescribeApplicationDataRequest, cb?: (error: string, rep: DescribeApplicationDataResponse) => void): Promise<DescribeApplicationDataResponse>;
98
+ /**
99
+ * 查询AI对话任务状态。
100
+ */
101
+ DescribeAIConversation(req: DescribeAIConversationRequest, cb?: (error: string, rep: DescribeAIConversationResponse) => void): Promise<DescribeAIConversationResponse>;
72
102
  /**
73
103
  * 本接口(ScanVoice)用于提交语音检测任务,检测任务列表最多支持100个。使用前请您登录[控制台 - 服务配置](https://console.cloud.tencent.com/gamegme/conf)开启语音内容安全服务。
74
104
  </br></br>
@@ -228,6 +258,10 @@ export declare class Client extends AbstractClient {
228
258
  * 修改录制配置信息
229
259
  */
230
260
  ModifyRecordInfo(req: ModifyRecordInfoRequest, cb?: (error: string, rep: ModifyRecordInfoResponse) => void): Promise<ModifyRecordInfoResponse>;
261
+ /**
262
+ * 查询先前注册的声纹信息
263
+ */
264
+ DescribeVoicePrint(req: DescribeVoicePrintRequest, cb?: (error: string, rep: DescribeVoicePrintResponse) => void): Promise<DescribeVoicePrintResponse>;
231
265
  /**
232
266
  * 本接口(CreateApp)用于创建一个GME应用。
233
267
  */
@@ -259,6 +293,10 @@ export declare class Client extends AbstractClient {
259
293
  * 用户通过该接口可以删除语音消息转文本热句模型
260
294
  */
261
295
  DeleteCustomization(req: DeleteCustomizationRequest, cb?: (error: string, rep: DeleteCustomizationResponse) => void): Promise<DeleteCustomizationResponse>;
296
+ /**
297
+ * 提供服务端控制机器人的功能
298
+ */
299
+ ControlAIConversation(req: ControlAIConversationRequest, cb?: (error: string, rep: ControlAIConversationResponse) => void): Promise<ControlAIConversationResponse>;
262
300
  /**
263
301
  * 开启录制
264
302
  */