tencentcloud-sdk-nodejs 4.1.223 → 4.1.224
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/es/common/sdk_version.js +1 -1
- package/es/services/antiddos/index.js +2 -0
- package/es/services/antiddos/v20250903/antiddos_client.js +12 -0
- package/es/services/antiddos/v20250903/antiddos_models.js +1 -0
- package/es/services/antiddos/v20250903/index.js +6 -0
- package/es/services/cvm/v20170312/cvm_client.js +7 -4
- package/es/services/ocr/v20181119/ocr_client.js +0 -6
- package/es/services/organization/v20210331/organization_client.js +7 -4
- package/es/services/tione/v20211111/tione_client.js +6 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/index.d.ts +4 -0
- package/tencentcloud/services/antiddos/index.js +2 -0
- package/tencentcloud/services/antiddos/v20250903/antiddos_client.d.ts +18 -0
- package/tencentcloud/services/antiddos/v20250903/antiddos_client.js +43 -0
- package/tencentcloud/services/antiddos/v20250903/antiddos_models.d.ts +115 -0
- package/tencentcloud/services/antiddos/v20250903/antiddos_models.js +18 -0
- package/tencentcloud/services/antiddos/v20250903/index.d.ts +6 -0
- package/tencentcloud/services/antiddos/v20250903/index.js +10 -0
- package/tencentcloud/services/apis/v20240801/apis_models.d.ts +65 -0
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +14 -10
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +15 -5
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +18 -6
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +29 -7
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +95 -64
- package/tencentcloud/services/dataagent/v20250513/dataagent_models.d.ts +53 -34
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +12 -12
- package/tencentcloud/services/es/v20180416/es_models.d.ts +22 -22
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -13
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +0 -16
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +65 -178
- package/tencentcloud/services/organization/v20210331/organization_client.d.ts +9 -5
- package/tencentcloud/services/organization/v20210331/organization_client.js +12 -6
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +42 -20
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +10 -15
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +21 -9
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +37 -33
- package/tencentcloud/services/tione/v20211111/tione_client.d.ts +9 -1
- package/tencentcloud/services/tione/v20211111/tione_client.js +12 -0
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +655 -349
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +10 -9
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +1 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +1 -1
- package/tencentcloud/services/wimgs/v20251106/wimgs_models.d.ts +3 -13
|
@@ -427,33 +427,37 @@ export interface QueryUserAuthorityResponse {
|
|
|
427
427
|
*/
|
|
428
428
|
export interface ModifyKnowledgeBaseRequest {
|
|
429
429
|
/**
|
|
430
|
-
*
|
|
430
|
+
* <p>实例id</p>
|
|
431
431
|
*/
|
|
432
432
|
InstanceId: string;
|
|
433
433
|
/**
|
|
434
|
-
*
|
|
434
|
+
* <p>操作类型:Create,Update,Delete</p>
|
|
435
435
|
*/
|
|
436
436
|
OperateType: string;
|
|
437
437
|
/**
|
|
438
|
-
*
|
|
438
|
+
* <p>知识库id,update和delete时必填</p>
|
|
439
439
|
*/
|
|
440
440
|
KnowledgeBaseId?: string;
|
|
441
441
|
/**
|
|
442
|
-
*
|
|
442
|
+
* <p>知识库名称,create和update时必填。只允许字母、数字、汉字、下划线</p>
|
|
443
443
|
*/
|
|
444
444
|
KnowledgeBaseName?: string;
|
|
445
445
|
/**
|
|
446
|
-
*
|
|
446
|
+
* <p>知识库描述,create和update时必填</p>
|
|
447
447
|
*/
|
|
448
448
|
KnowledgeBaseDesc?: string;
|
|
449
449
|
/**
|
|
450
|
-
* 1仅自己使用,2指定用户,0
|
|
450
|
+
* <p>1仅自己使用,2指定用户,0全员</p>
|
|
451
451
|
*/
|
|
452
452
|
UseScope?: number;
|
|
453
453
|
/**
|
|
454
|
-
*
|
|
454
|
+
* <p>可使用用户列表</p>
|
|
455
455
|
*/
|
|
456
456
|
AuthorityUins?: Array<string>;
|
|
457
|
+
/**
|
|
458
|
+
* <p>知识库任务配置</p>
|
|
459
|
+
*/
|
|
460
|
+
Config?: KnowledgeTaskConfig;
|
|
457
461
|
}
|
|
458
462
|
/**
|
|
459
463
|
* DeleteChunk返回参数结构体
|
|
@@ -499,34 +503,37 @@ export interface CosFileInfo {
|
|
|
499
503
|
*/
|
|
500
504
|
export interface KnowledgeBase {
|
|
501
505
|
/**
|
|
502
|
-
*
|
|
506
|
+
* <p>知识库id</p>
|
|
503
507
|
*/
|
|
504
508
|
KnowledgeBaseId?: string;
|
|
505
509
|
/**
|
|
506
|
-
*
|
|
507
|
-
|
|
510
|
+
* <p>知识库名称</p>
|
|
508
511
|
*/
|
|
509
512
|
KnowledgeBaseName?: string;
|
|
510
513
|
/**
|
|
511
|
-
*
|
|
514
|
+
* <p>知识库描述</p>
|
|
512
515
|
*/
|
|
513
516
|
KnowledgeBaseDesc?: string;
|
|
514
517
|
/**
|
|
515
|
-
*
|
|
518
|
+
* <p>创建者subuin</p>
|
|
516
519
|
*/
|
|
517
520
|
Creator?: string;
|
|
518
521
|
/**
|
|
519
|
-
*
|
|
522
|
+
* <p>创建时间</p>
|
|
520
523
|
*/
|
|
521
524
|
CreateTime?: string;
|
|
522
525
|
/**
|
|
523
|
-
*
|
|
526
|
+
* <p>文件数量</p>
|
|
524
527
|
*/
|
|
525
528
|
FileNum?: number;
|
|
526
529
|
/**
|
|
527
|
-
*
|
|
530
|
+
* <p>知识库关联的数据库列表,目前是只绑定一个数据源,数组预留拓展</p>
|
|
528
531
|
*/
|
|
529
532
|
DatasourceIds?: Array<string>;
|
|
533
|
+
/**
|
|
534
|
+
* <p>知识库任务配置</p>
|
|
535
|
+
*/
|
|
536
|
+
Config?: KnowledgeTaskConfig;
|
|
530
537
|
}
|
|
531
538
|
/**
|
|
532
539
|
* ModifyUserAuthority请求参数结构体
|
|
@@ -878,6 +885,10 @@ export interface FileInfo {
|
|
|
878
885
|
* <p>网页地址</p>
|
|
879
886
|
*/
|
|
880
887
|
WebUrl?: string;
|
|
888
|
+
/**
|
|
889
|
+
* <p>文件能力标识列表</p>
|
|
890
|
+
*/
|
|
891
|
+
Capabilities?: Array<string>;
|
|
881
892
|
}
|
|
882
893
|
/**
|
|
883
894
|
* GetKnowledgeBaseFileList请求参数结构体
|
|
@@ -1003,83 +1014,91 @@ export interface UpdateSceneResponse {
|
|
|
1003
1014
|
*/
|
|
1004
1015
|
export interface Scene {
|
|
1005
1016
|
/**
|
|
1006
|
-
*
|
|
1017
|
+
* <p>场景ID</p>
|
|
1007
1018
|
*/
|
|
1008
1019
|
SceneId?: string;
|
|
1009
1020
|
/**
|
|
1010
|
-
*
|
|
1021
|
+
* <p>场景名称</p>
|
|
1011
1022
|
*/
|
|
1012
1023
|
SceneName?: string;
|
|
1013
1024
|
/**
|
|
1014
|
-
*
|
|
1025
|
+
* <p>技能列表,包含:rag(知识检索)、data_analytics(数据分析)、data_prediction(数据预测)</p>
|
|
1015
1026
|
*/
|
|
1016
1027
|
Skills?: Array<string>;
|
|
1017
1028
|
/**
|
|
1018
|
-
*
|
|
1029
|
+
* <p>提示词文本</p>
|
|
1019
1030
|
*/
|
|
1020
1031
|
Prompt?: string;
|
|
1021
1032
|
/**
|
|
1022
|
-
*
|
|
1033
|
+
* <p>描述</p>
|
|
1023
1034
|
*/
|
|
1024
1035
|
Description?: string;
|
|
1025
1036
|
/**
|
|
1026
|
-
*
|
|
1037
|
+
* <p>检索配置</p>
|
|
1027
1038
|
*/
|
|
1028
1039
|
SearchConfig?: SearchConfig;
|
|
1029
1040
|
/**
|
|
1030
|
-
*
|
|
1041
|
+
* <p>示例问答列表</p>
|
|
1031
1042
|
*/
|
|
1032
1043
|
ExampleQAList?: Array<ExampleQA>;
|
|
1033
1044
|
/**
|
|
1034
|
-
*
|
|
1045
|
+
* <p>记录的创建时间</p>
|
|
1035
1046
|
*/
|
|
1036
1047
|
CreateTime?: string;
|
|
1037
1048
|
/**
|
|
1038
|
-
*
|
|
1049
|
+
* <p>记录的最后更新时间</p>
|
|
1039
1050
|
*/
|
|
1040
1051
|
UpdateTime?: string;
|
|
1041
1052
|
/**
|
|
1042
|
-
*
|
|
1053
|
+
* <p>创建者Uin</p>
|
|
1043
1054
|
*/
|
|
1044
1055
|
CreatorUin?: string;
|
|
1056
|
+
/**
|
|
1057
|
+
* <p>知识</p>
|
|
1058
|
+
*/
|
|
1059
|
+
Knowledge?: string;
|
|
1045
1060
|
}
|
|
1046
1061
|
/**
|
|
1047
1062
|
* 任务配置
|
|
1048
1063
|
*/
|
|
1049
1064
|
export interface KnowledgeTaskConfig {
|
|
1050
1065
|
/**
|
|
1051
|
-
*
|
|
1066
|
+
* <p>切片类型 0:自定义切片,1:智能切片</p>
|
|
1052
1067
|
*/
|
|
1053
1068
|
ChunkType?: number;
|
|
1054
1069
|
/**
|
|
1055
|
-
*
|
|
1070
|
+
* <p>/智能切片:最小值 1000,默认 4800 自定义切片:正整数即可,默认值 1000</p>
|
|
1056
1071
|
*/
|
|
1057
1072
|
MaxChunkSize?: number;
|
|
1058
1073
|
/**
|
|
1059
|
-
*
|
|
1074
|
+
* <p>切片分隔符,自定义切片使用:默认值为:["\n\n", "\n", "。", "!", "?", ",", ""]</p>
|
|
1060
1075
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1061
1076
|
*/
|
|
1062
1077
|
Delimiters?: Array<string>;
|
|
1063
1078
|
/**
|
|
1064
|
-
*
|
|
1079
|
+
* <p>自定义切片使用:默认0 可重叠字符长度</p>
|
|
1065
1080
|
*/
|
|
1066
1081
|
ChunkOverlap?: number;
|
|
1067
1082
|
/**
|
|
1068
|
-
*
|
|
1083
|
+
* <p>表格类文档解析</p>
|
|
1069
1084
|
*/
|
|
1070
1085
|
Columns?: Array<ColumnInfo>;
|
|
1071
1086
|
/**
|
|
1072
|
-
*
|
|
1087
|
+
* <p>带检索的索引列表</p>
|
|
1073
1088
|
*/
|
|
1074
1089
|
Indexes?: Array<number | bigint>;
|
|
1075
1090
|
/**
|
|
1076
|
-
* 0:不生成文档摘要,1:生成文档概要。默认0,当取1时,GenParaSummary必须也为1
|
|
1091
|
+
* <p>0:不生成文档摘要,1:生成文档概要。默认0,当取1时,GenParaSummary必须也为1</p>
|
|
1077
1092
|
*/
|
|
1078
1093
|
GenDocSummary?: number;
|
|
1079
1094
|
/**
|
|
1080
|
-
* 0:不生成段落摘要,1:生成段落概要。默认0
|
|
1095
|
+
* <p>0:不生成段落摘要,1:生成段落概要。默认0</p>
|
|
1081
1096
|
*/
|
|
1082
1097
|
GenParaSummary?: number;
|
|
1098
|
+
/**
|
|
1099
|
+
* <p>0:不开启图片理解,1:开启图片理解。默认1</p><p>取值范围:[1, 10000]</p><p>默认值:1</p>
|
|
1100
|
+
*/
|
|
1101
|
+
EnableImageUnderstanding?: number;
|
|
1083
1102
|
}
|
|
1084
1103
|
/**
|
|
1085
1104
|
* UpdateScene请求参数结构体
|
|
@@ -1108,7 +1127,7 @@ export interface CreateDataAgentSessionRequest {
|
|
|
1108
1127
|
*/
|
|
1109
1128
|
export interface ModifyKnowledgeBaseResponse {
|
|
1110
1129
|
/**
|
|
1111
|
-
*
|
|
1130
|
+
* <p>知识库id</p>
|
|
1112
1131
|
*/
|
|
1113
1132
|
KnowledgeBaseId?: string;
|
|
1114
1133
|
/**
|
|
@@ -788,11 +788,11 @@ export interface CompleteMigrateJobResponse {
|
|
|
788
788
|
*/
|
|
789
789
|
export interface DescribeMigrateDBInstancesResponse {
|
|
790
790
|
/**
|
|
791
|
-
*
|
|
791
|
+
* <p>符合筛选条件的数量</p>
|
|
792
792
|
*/
|
|
793
793
|
TotalCount?: number;
|
|
794
794
|
/**
|
|
795
|
-
*
|
|
795
|
+
* <p>实例列表</p>
|
|
796
796
|
*/
|
|
797
797
|
Instances?: Array<MigrateDBItem>;
|
|
798
798
|
/**
|
|
@@ -3119,43 +3119,43 @@ export interface MigrateDBItem {
|
|
|
3119
3119
|
*/
|
|
3120
3120
|
export interface DescribeMigrateDBInstancesRequest {
|
|
3121
3121
|
/**
|
|
3122
|
-
*
|
|
3122
|
+
* <p>数据库类型,如mysql,percona,mariadb,tdsqlmysql,mariadb,postgresql,cynosdbmysql,redis,tendis,keewidb,tdstore,mongodb,clickhouse,sqlserver等。</p>
|
|
3123
3123
|
*/
|
|
3124
3124
|
DatabaseType: string;
|
|
3125
3125
|
/**
|
|
3126
|
-
*
|
|
3126
|
+
* <p>实例作为迁移的源还是目标,src(表示源),dst(表示目标)</p>
|
|
3127
3127
|
*/
|
|
3128
3128
|
MigrateRole?: string;
|
|
3129
3129
|
/**
|
|
3130
|
-
*
|
|
3130
|
+
* <p>云数据库实例ID,可通过对应业务实例列表获取实例信息。</p>
|
|
3131
3131
|
*/
|
|
3132
3132
|
InstanceId?: string;
|
|
3133
3133
|
/**
|
|
3134
|
-
*
|
|
3134
|
+
* <p>云数据库名称,可通过对应业务实例列表获取实例信息。</p>
|
|
3135
3135
|
*/
|
|
3136
3136
|
InstanceName?: string;
|
|
3137
3137
|
/**
|
|
3138
|
-
*
|
|
3138
|
+
* <p>返回数量限制</p>
|
|
3139
3139
|
*/
|
|
3140
3140
|
Limit?: number;
|
|
3141
3141
|
/**
|
|
3142
|
-
*
|
|
3142
|
+
* <p>偏移量</p>
|
|
3143
3143
|
*/
|
|
3144
3144
|
Offset?: number;
|
|
3145
3145
|
/**
|
|
3146
|
-
*
|
|
3146
|
+
* <p>资源所属账号 为空值或self(表示本账号内资源)、other(表示其他账户资源)</p>
|
|
3147
3147
|
*/
|
|
3148
3148
|
AccountMode?: string;
|
|
3149
3149
|
/**
|
|
3150
|
-
*
|
|
3150
|
+
* <p>临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。</p>
|
|
3151
3151
|
*/
|
|
3152
3152
|
TmpSecretId?: string;
|
|
3153
3153
|
/**
|
|
3154
|
-
*
|
|
3154
|
+
* <p>临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。</p>
|
|
3155
3155
|
*/
|
|
3156
3156
|
TmpSecretKey?: string;
|
|
3157
3157
|
/**
|
|
3158
|
-
*
|
|
3158
|
+
* <p>临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。</p>
|
|
3159
3159
|
*/
|
|
3160
3160
|
TmpToken?: string;
|
|
3161
3161
|
}
|
|
@@ -1086,106 +1086,106 @@ export interface CreateServerlessSpaceV2Response {
|
|
|
1086
1086
|
*/
|
|
1087
1087
|
export interface ServerlessSpace {
|
|
1088
1088
|
/**
|
|
1089
|
-
* Serverless索引空间ID
|
|
1089
|
+
* <p>Serverless索引空间ID</p>
|
|
1090
1090
|
*/
|
|
1091
1091
|
SpaceId?: string;
|
|
1092
1092
|
/**
|
|
1093
|
-
* Serverless
|
|
1093
|
+
* <p>Serverless索引空间名</p>
|
|
1094
1094
|
*/
|
|
1095
1095
|
SpaceName?: string;
|
|
1096
1096
|
/**
|
|
1097
|
-
* Serverless
|
|
1097
|
+
* <p>Serverless索引空间状态</p><p>枚举值:</p><ul><li>0: 创建中</li><li>1: 正常</li><li>2: 流程中</li><li>-3: 已删除</li><li>-4: 隔离中</li></ul>
|
|
1098
1098
|
*/
|
|
1099
1099
|
Status?: number;
|
|
1100
1100
|
/**
|
|
1101
|
-
*
|
|
1101
|
+
* <p>创建日期</p>
|
|
1102
1102
|
*/
|
|
1103
1103
|
CreateTime?: string;
|
|
1104
1104
|
/**
|
|
1105
|
-
*
|
|
1105
|
+
* <p>空间内索引数量</p>
|
|
1106
1106
|
*/
|
|
1107
1107
|
IndexCount?: number;
|
|
1108
1108
|
/**
|
|
1109
|
-
* kibana公网uri
|
|
1109
|
+
* <p>kibana公网uri</p>
|
|
1110
1110
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1111
1111
|
*/
|
|
1112
1112
|
KibanaUrl?: string;
|
|
1113
1113
|
/**
|
|
1114
|
-
* kibana内网url
|
|
1114
|
+
* <p>kibana内网url</p>
|
|
1115
1115
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1116
1116
|
*/
|
|
1117
1117
|
KibanaPrivateUrl?: string;
|
|
1118
1118
|
/**
|
|
1119
|
-
*
|
|
1119
|
+
* <p>空间内网访问地址</p>
|
|
1120
1120
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1121
1121
|
*/
|
|
1122
1122
|
IndexAccessUrl?: string;
|
|
1123
1123
|
/**
|
|
1124
|
-
*
|
|
1124
|
+
* <p>空间白名单</p>
|
|
1125
1125
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1126
1126
|
*/
|
|
1127
1127
|
KibanaPublicAcl?: EsAcl;
|
|
1128
1128
|
/**
|
|
1129
|
-
*
|
|
1129
|
+
* <p>空间检索分析域名</p>
|
|
1130
1130
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1131
1131
|
*/
|
|
1132
1132
|
KibanaEmbedUrl?: string;
|
|
1133
1133
|
/**
|
|
1134
|
-
*
|
|
1134
|
+
* <p>数据联路</p>
|
|
1135
1135
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1136
1136
|
*/
|
|
1137
1137
|
DiDataList?: DiData;
|
|
1138
1138
|
/**
|
|
1139
|
-
*
|
|
1139
|
+
* <p>空间vpc信息</p>
|
|
1140
1140
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1141
1141
|
*/
|
|
1142
1142
|
VpcInfo?: Array<VpcInfo>;
|
|
1143
1143
|
/**
|
|
1144
|
-
*
|
|
1144
|
+
* <p>地域</p>
|
|
1145
1145
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1146
1146
|
*/
|
|
1147
1147
|
Region?: string;
|
|
1148
1148
|
/**
|
|
1149
|
-
*
|
|
1149
|
+
* <p>可用区</p>
|
|
1150
1150
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1151
1151
|
*/
|
|
1152
1152
|
Zone?: string;
|
|
1153
1153
|
/**
|
|
1154
|
-
* kibana公网开关,0关闭,1
|
|
1154
|
+
* <p>kibana公网开关,0关闭,1开启</p>
|
|
1155
1155
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1156
1156
|
*/
|
|
1157
1157
|
EnableKibanaPublicAccess?: number;
|
|
1158
1158
|
/**
|
|
1159
|
-
* kibana内网开关,0关闭,1
|
|
1159
|
+
* <p>kibana内网开关,0关闭,1开启</p>
|
|
1160
1160
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1161
1161
|
*/
|
|
1162
1162
|
EnableKibanaPrivateAccess?: number;
|
|
1163
1163
|
/**
|
|
1164
|
-
*
|
|
1164
|
+
* <p>空间所属appid</p>
|
|
1165
1165
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1166
1166
|
*/
|
|
1167
1167
|
AppId?: number;
|
|
1168
1168
|
/**
|
|
1169
|
-
*
|
|
1169
|
+
* <p>//默认en, 可选zh-CN</p>
|
|
1170
1170
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1171
1171
|
*/
|
|
1172
1172
|
KibanaLanguage?: string;
|
|
1173
1173
|
/**
|
|
1174
|
-
* 0
|
|
1174
|
+
* <p>0</p>
|
|
1175
1175
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1176
1176
|
*/
|
|
1177
1177
|
ClusterType?: number;
|
|
1178
1178
|
/**
|
|
1179
|
-
*
|
|
1179
|
+
* <p>空间标签信息</p>
|
|
1180
1180
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1181
1181
|
*/
|
|
1182
1182
|
TagList?: Array<TagInfo>;
|
|
1183
1183
|
/**
|
|
1184
|
-
*
|
|
1184
|
+
* <p>是否开启mcp服务</p>
|
|
1185
1185
|
*/
|
|
1186
1186
|
EnableMcpAccess?: number;
|
|
1187
1187
|
/**
|
|
1188
|
-
* mcp
|
|
1188
|
+
* <p>mcp的访问地址</p>
|
|
1189
1189
|
*/
|
|
1190
1190
|
McpAccess?: string;
|
|
1191
1191
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { TableOCRRequest, RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, QuotaInvoiceOCRRequest, VinOCRResponse, BankCardOCRRequest, CarInvoiceOCRRequest, DescribeQuestionMarkAgentJobResponse, ExtractDocMultiRequest, QuestionSplitLayoutOCRRequest, DescribeMarkEssayAgentJobResponse, EstateCertOCRResponse, ExtractDocMultiProRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, IDCardOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, SubmitQuestionMarkAgentJobRequest, DriverLicenseOCRRequest, VerifyBizLicenseEnterprise4Response, TollInvoiceOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, HKIDCardOCRResponse, MainlandPermitOCRRequest, EnglishOCRRequest, VehicleLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, ExtractDocMultiProResponse, RecognizeTravelCardOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest,
|
|
3
|
+
import { TableOCRRequest, RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, QuotaInvoiceOCRRequest, VinOCRResponse, BankCardOCRRequest, CarInvoiceOCRRequest, DescribeQuestionMarkAgentJobResponse, ExtractDocMultiRequest, QuestionSplitLayoutOCRRequest, DescribeMarkEssayAgentJobResponse, EstateCertOCRResponse, ExtractDocMultiProRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, IDCardOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, SubmitQuestionMarkAgentJobRequest, DriverLicenseOCRRequest, VerifyBizLicenseEnterprise4Response, TollInvoiceOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, HKIDCardOCRResponse, MainlandPermitOCRRequest, EnglishOCRRequest, VehicleLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, ExtractDocMultiProResponse, RecognizeTravelCardOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, ExtractDocAgentResponse, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, MLIDCardOCRRequest, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, InvoiceGeneralOCRResponse, ExtractDocMultiResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, RecognizeHealthCodeOCRResponse, SubmitExtractDocAgentJobResponse, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, QuestionSplitLayoutOCRResponse, SubmitMarkEssayAgentJobRequest, LicensePlateOCRRequest, GeneralBasicOCRRequest, SubmitMarkEssayAgentJobResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, SubmitQuestionMarkAgentJobResponse, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, ExtractDocBasicResponse, EnterpriseLicenseOCRRequest, SmartStructuralOCRResponse, GeneralAccurateOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, VatInvoiceVerifyNewRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, GetOCRTokenRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, DescribeExtractDocAgentJobRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, HandwritingEssayOCRRequest, BankSlipOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, DescribeQuestionMarkAgentJobRequest, MixedInvoiceOCRRequest, DescribeExtractDocAgentJobResponse, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, HandwritingEssayOCRResponse, VerifyBizLicenseEnterprise4Request, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, TrainTicketOCRRequest, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, PermitOCRRequest, EnglishOCRResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RecognizeEncryptedIDCardOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, SubmitExtractDocAgentJobRequest, ExtractDocAgentRequest, AdvertiseOCRResponse, RecognizeTravelCardOCRResponse, VatRollInvoiceOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, RecognizeStoreNameResponse, WaybillOCRRequest, RideHailingTransportLicenseOCRRequest, VatInvoiceVerifyNewResponse, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, BankCardOCRResponse, RecognizeHealthCodeOCRRequest, BusinessCardOCRRequest, FinanBillOCRRequest, RecognizeValidIDCardOCRResponse, DescribeMarkEssayAgentJobRequest, GeneralFastOCRResponse } from "./ocr_models";
|
|
4
4
|
/**
|
|
5
5
|
* ocr client
|
|
6
6
|
* @class
|
|
@@ -262,12 +262,6 @@ export declare class Client extends AbstractClient {
|
|
|
262
262
|
默认接口请求频率限制:5次/秒。
|
|
263
263
|
*/
|
|
264
264
|
FlightInvoiceOCR(req: FlightInvoiceOCRRequest, cb?: (error: string, rep: FlightInvoiceOCRResponse) => void): Promise<FlightInvoiceOCRResponse>;
|
|
265
|
-
/**
|
|
266
|
-
* 图像切边矫正增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度,可以作为所有识别场景的图像预处理原子能力,从而提升识别效果。
|
|
267
|
-
|
|
268
|
-
默认接口请求频率限制:5次/秒。
|
|
269
|
-
*/
|
|
270
|
-
CropEnhanceImageOCR(req: CropEnhanceImageOCRRequest, cb?: (error: string, rep: CropEnhanceImageOCRResponse) => void): Promise<CropEnhanceImageOCRResponse>;
|
|
271
265
|
/**
|
|
272
266
|
* 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票等常用标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
|
273
267
|
|
|
@@ -626,12 +620,6 @@ export declare class Client extends AbstractClient {
|
|
|
626
620
|
默认接口请求频率限制:10次/秒。
|
|
627
621
|
*/
|
|
628
622
|
BankCardOCR(req: BankCardOCRRequest, cb?: (error: string, rep: BankCardOCRResponse) => void): Promise<BankCardOCRResponse>;
|
|
629
|
-
/**
|
|
630
|
-
* 本功能可自动清除试卷图片中的手写与批改痕迹,并输出洁净的空白试卷。也可以配合集成图像切边矫正技术,能自动定位、拉平试卷区域,从而在最优预处理基础上实现更佳的擦除效果。
|
|
631
|
-
|
|
632
|
-
默认接口请求频率限制:5次/秒。
|
|
633
|
-
*/
|
|
634
|
-
EraseHandwrittenImageOCR(req: EraseHandwrittenImageOCRRequest, cb?: (error: string, rep: EraseHandwrittenImageOCRResponse) => void): Promise<EraseHandwrittenImageOCRResponse>;
|
|
635
623
|
/**
|
|
636
624
|
* 获取ocr的token值
|
|
637
625
|
*/
|
|
@@ -332,14 +332,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
332
332
|
async FlightInvoiceOCR(req, cb) {
|
|
333
333
|
return this.request("FlightInvoiceOCR", req, cb);
|
|
334
334
|
}
|
|
335
|
-
/**
|
|
336
|
-
* 图像切边矫正增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度,可以作为所有识别场景的图像预处理原子能力,从而提升识别效果。
|
|
337
|
-
|
|
338
|
-
默认接口请求频率限制:5次/秒。
|
|
339
|
-
*/
|
|
340
|
-
async CropEnhanceImageOCR(req, cb) {
|
|
341
|
-
return this.request("CropEnhanceImageOCR", req, cb);
|
|
342
|
-
}
|
|
343
335
|
/**
|
|
344
336
|
* 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票等常用标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
|
345
337
|
|
|
@@ -728,14 +720,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
728
720
|
async BankCardOCR(req, cb) {
|
|
729
721
|
return this.request("BankCardOCR", req, cb);
|
|
730
722
|
}
|
|
731
|
-
/**
|
|
732
|
-
* 本功能可自动清除试卷图片中的手写与批改痕迹,并输出洁净的空白试卷。也可以配合集成图像切边矫正技术,能自动定位、拉平试卷区域,从而在最优预处理基础上实现更佳的擦除效果。
|
|
733
|
-
|
|
734
|
-
默认接口请求频率限制:5次/秒。
|
|
735
|
-
*/
|
|
736
|
-
async EraseHandwrittenImageOCR(req, cb) {
|
|
737
|
-
return this.request("EraseHandwrittenImageOCR", req, cb);
|
|
738
|
-
}
|
|
739
723
|
/**
|
|
740
724
|
* 获取ocr的token值
|
|
741
725
|
*/
|