tencentcloud-sdk-nodejs 4.1.57 → 4.1.59
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/csip/v20221121/csip_client.js +3 -0
- package/es/services/goosefs/v20220519/goosefs_client.js +3 -0
- package/es/services/ocr/v20181119/ocr_client.js +4 -10
- package/es/services/ssl/v20191205/ssl_client.js +3 -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/cfs/v20190719/cfs_models.d.ts +2 -2
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +5 -1
- package/tencentcloud/services/csip/v20221121/csip_client.js +6 -0
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +226 -23
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -0
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +17 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +14 -6
- package/tencentcloud/services/goosefs/v20220519/goosefs_client.d.ts +5 -1
- package/tencentcloud/services/goosefs/v20220519/goosefs_client.js +6 -0
- package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +56 -30
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +5 -1
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +32 -0
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +1 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +79 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +7 -19
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +8 -24
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +24 -189
- package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +5 -1
- package/tencentcloud/services/ssl/v20191205/ssl_client.js +6 -0
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +47 -0
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +32 -2
|
@@ -77,6 +77,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
77
77
|
async CreateDataRepositoryTask(req, cb) {
|
|
78
78
|
return this.request("CreateDataRepositoryTask", req, cb);
|
|
79
79
|
}
|
|
80
|
+
/**
|
|
81
|
+
* 生成客户端的挂载命令
|
|
82
|
+
*/
|
|
83
|
+
async BuildClientNodeMountCommand(req, cb) {
|
|
84
|
+
return this.request("BuildClientNodeMountCommand", req, cb);
|
|
85
|
+
}
|
|
80
86
|
/**
|
|
81
87
|
* 删除文件系统
|
|
82
88
|
*/
|
|
@@ -155,9 +155,9 @@ export interface DescribeFilesetGeneralConfigResponse {
|
|
|
155
155
|
RequestId?: string;
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
158
|
-
*
|
|
158
|
+
* DetachFileSystemBucket返回参数结构体
|
|
159
159
|
*/
|
|
160
|
-
export interface
|
|
160
|
+
export interface DetachFileSystemBucketResponse {
|
|
161
161
|
/**
|
|
162
162
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
163
163
|
*/
|
|
@@ -449,25 +449,26 @@ export interface CreateFileSystemRequest {
|
|
|
449
449
|
ClusterPort?: number;
|
|
450
450
|
}
|
|
451
451
|
/**
|
|
452
|
-
*
|
|
452
|
+
* DeleteCrossVpcSubnetSupportForClientNode返回参数结构体
|
|
453
453
|
*/
|
|
454
|
-
export interface
|
|
455
|
-
/**
|
|
456
|
-
* 集群ID
|
|
457
|
-
*/
|
|
458
|
-
ClusterId?: string;
|
|
454
|
+
export interface DeleteCrossVpcSubnetSupportForClientNodeResponse {
|
|
459
455
|
/**
|
|
460
|
-
*
|
|
456
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
461
457
|
*/
|
|
462
|
-
|
|
458
|
+
RequestId?: string;
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* BuildClientNodeMountCommand请求参数结构体
|
|
462
|
+
*/
|
|
463
|
+
export interface BuildClientNodeMountCommandRequest {
|
|
463
464
|
/**
|
|
464
|
-
*
|
|
465
|
+
* 文件系统ID
|
|
465
466
|
*/
|
|
466
|
-
|
|
467
|
+
FileSystemId: string;
|
|
467
468
|
/**
|
|
468
|
-
*
|
|
469
|
+
* 自定义挂载目录的绝对路径, 如果未指定, 则会使用默认值, 格式/goosefsx/${fs_id}-proxy. 比如/goosefsx/x-c60-a2b3d4-proxy
|
|
469
470
|
*/
|
|
470
|
-
|
|
471
|
+
CustomMountDir?: string;
|
|
471
472
|
}
|
|
472
473
|
/**
|
|
473
474
|
* DeleteFileSystem返回参数结构体
|
|
@@ -672,9 +673,9 @@ export interface FilesetInfo {
|
|
|
672
673
|
Status?: string;
|
|
673
674
|
}
|
|
674
675
|
/**
|
|
675
|
-
*
|
|
676
|
+
* ExpandCapacity返回参数结构体
|
|
676
677
|
*/
|
|
677
|
-
export interface
|
|
678
|
+
export interface ExpandCapacityResponse {
|
|
678
679
|
/**
|
|
679
680
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
680
681
|
*/
|
|
@@ -753,6 +754,15 @@ export interface QueryCrossVpcSubnetSupportForClientNodeResponse {
|
|
|
753
754
|
*/
|
|
754
755
|
RequestId?: string;
|
|
755
756
|
}
|
|
757
|
+
/**
|
|
758
|
+
* UpdateFileset返回参数结构体
|
|
759
|
+
*/
|
|
760
|
+
export interface UpdateFilesetResponse {
|
|
761
|
+
/**
|
|
762
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
763
|
+
*/
|
|
764
|
+
RequestId?: string;
|
|
765
|
+
}
|
|
756
766
|
/**
|
|
757
767
|
* DescribeFileSystems请求参数结构体
|
|
758
768
|
*/
|
|
@@ -824,13 +834,25 @@ export interface DescribeClusterRolesResponse {
|
|
|
824
834
|
RequestId?: string;
|
|
825
835
|
}
|
|
826
836
|
/**
|
|
827
|
-
*
|
|
837
|
+
* ClusterRole
|
|
828
838
|
*/
|
|
829
|
-
export interface
|
|
839
|
+
export interface ClusterRole {
|
|
830
840
|
/**
|
|
831
|
-
*
|
|
841
|
+
* 集群ID
|
|
832
842
|
*/
|
|
833
|
-
|
|
843
|
+
ClusterId?: string;
|
|
844
|
+
/**
|
|
845
|
+
* 角色名
|
|
846
|
+
*/
|
|
847
|
+
RoleName?: string;
|
|
848
|
+
/**
|
|
849
|
+
* 描述
|
|
850
|
+
*/
|
|
851
|
+
Description?: string;
|
|
852
|
+
/**
|
|
853
|
+
* 目录列表
|
|
854
|
+
*/
|
|
855
|
+
DirectoryList?: Array<string>;
|
|
834
856
|
}
|
|
835
857
|
/**
|
|
836
858
|
* DeleteFileset返回参数结构体
|
|
@@ -897,13 +919,17 @@ export interface AddCrossVpcSubnetSupportForClientNodeRequest {
|
|
|
897
919
|
SubnetInfo: SubnetInfo;
|
|
898
920
|
}
|
|
899
921
|
/**
|
|
900
|
-
*
|
|
922
|
+
* DescribeDataRepositoryTaskStatus请求参数结构体
|
|
901
923
|
*/
|
|
902
|
-
export interface
|
|
924
|
+
export interface DescribeDataRepositoryTaskStatusRequest {
|
|
903
925
|
/**
|
|
904
|
-
*
|
|
926
|
+
* task id
|
|
905
927
|
*/
|
|
906
|
-
|
|
928
|
+
TaskId: string;
|
|
929
|
+
/**
|
|
930
|
+
* file system id
|
|
931
|
+
*/
|
|
932
|
+
FileSystemId: string;
|
|
907
933
|
}
|
|
908
934
|
/**
|
|
909
935
|
* 角色凭证
|
|
@@ -1026,17 +1052,17 @@ export interface DescribeClientNodesResponse {
|
|
|
1026
1052
|
RequestId?: string;
|
|
1027
1053
|
}
|
|
1028
1054
|
/**
|
|
1029
|
-
*
|
|
1055
|
+
* BuildClientNodeMountCommand返回参数结构体
|
|
1030
1056
|
*/
|
|
1031
|
-
export interface
|
|
1057
|
+
export interface BuildClientNodeMountCommandResponse {
|
|
1032
1058
|
/**
|
|
1033
|
-
*
|
|
1059
|
+
* 挂载命令
|
|
1034
1060
|
*/
|
|
1035
|
-
|
|
1061
|
+
Command?: string;
|
|
1036
1062
|
/**
|
|
1037
|
-
*
|
|
1063
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1038
1064
|
*/
|
|
1039
|
-
|
|
1065
|
+
RequestId?: string;
|
|
1040
1066
|
}
|
|
1041
1067
|
/**
|
|
1042
1068
|
* DescribeClusterClientToken返回参数结构体
|
|
@@ -1546,6 +1546,10 @@ export interface AndroidAppVersionInfo {
|
|
|
1546
1546
|
* 应用资源清理模式(实例安装应用所用资源),取值:CLEANUP_ON_UNINSTALL(默认值),卸载 App 时清理;CLEANUP_AFTER_INSTALL,安装 App 后立即清理。普通应用只有 CLEANUP_AFTER_INSTALL 模式。
|
|
1547
1547
|
*/
|
|
1548
1548
|
CleanupMode?: string;
|
|
1549
|
+
/**
|
|
1550
|
+
* 安卓应用版本名称
|
|
1551
|
+
*/
|
|
1552
|
+
AndroidAppVersionName?: string;
|
|
1549
1553
|
}
|
|
1550
1554
|
/**
|
|
1551
1555
|
* DeleteAndroidAppVersion请求参数结构体
|
|
@@ -1791,7 +1795,7 @@ export interface DescribeAndroidAppsRequest {
|
|
|
1791
1795
|
*/
|
|
1792
1796
|
AndroidAppIds?: Array<string>;
|
|
1793
1797
|
/**
|
|
1794
|
-
*
|
|
1798
|
+
* 过滤条件,支持过滤的字段有:UserId
|
|
1795
1799
|
*/
|
|
1796
1800
|
Filters?: Array<Filter>;
|
|
1797
1801
|
}
|
|
@@ -467,6 +467,10 @@ export interface ChatCompletionsResponse {
|
|
|
467
467
|
* 推荐问答。
|
|
468
468
|
*/
|
|
469
469
|
RecommendedQuestions?: Array<string>;
|
|
470
|
+
/**
|
|
471
|
+
* AI搜索返回状态
|
|
472
|
+
*/
|
|
473
|
+
Processes?: Processes;
|
|
470
474
|
/**
|
|
471
475
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header "X-TC-RequestId" 中。
|
|
472
476
|
*/
|
|
@@ -1288,6 +1292,10 @@ export interface ChatCompletionsRequest {
|
|
|
1288
1292
|
* 知识注入相关的参数信息
|
|
1289
1293
|
*/
|
|
1290
1294
|
WebSearchOptions?: WebSearchOptions;
|
|
1295
|
+
/**
|
|
1296
|
+
* 用户传入Topic
|
|
1297
|
+
*/
|
|
1298
|
+
TopicChoice?: string;
|
|
1291
1299
|
}
|
|
1292
1300
|
/**
|
|
1293
1301
|
* 外部知识
|
|
@@ -1583,6 +1591,26 @@ export interface Delta {
|
|
|
1583
1591
|
*/
|
|
1584
1592
|
ReasoningContent?: string;
|
|
1585
1593
|
}
|
|
1594
|
+
/**
|
|
1595
|
+
* 大模型执行状态
|
|
1596
|
+
*/
|
|
1597
|
+
export interface Processes {
|
|
1598
|
+
/**
|
|
1599
|
+
* 输出信息
|
|
1600
|
+
*/
|
|
1601
|
+
Message?: string;
|
|
1602
|
+
/**
|
|
1603
|
+
* plan:开始获取资料…
|
|
1604
|
+
recall:找到 n 篇相关资料
|
|
1605
|
+
quote:引用 n 篇资料作为参考
|
|
1606
|
+
|
|
1607
|
+
*/
|
|
1608
|
+
State?: string;
|
|
1609
|
+
/**
|
|
1610
|
+
* 当状态是recall和quote,会给出来相关数量
|
|
1611
|
+
*/
|
|
1612
|
+
Num?: number;
|
|
1613
|
+
}
|
|
1586
1614
|
/**
|
|
1587
1615
|
* TextToImageLite返回参数结构体
|
|
1588
1616
|
*/
|
|
@@ -1799,6 +1827,10 @@ export interface WebSearchOptions {
|
|
|
1799
1827
|
* 用户位置详细信息
|
|
1800
1828
|
*/
|
|
1801
1829
|
UserLocation?: UserLocation;
|
|
1830
|
+
/**
|
|
1831
|
+
* 打开开关,会返回搜索状态
|
|
1832
|
+
*/
|
|
1833
|
+
Processes?: boolean;
|
|
1802
1834
|
}
|
|
1803
1835
|
/**
|
|
1804
1836
|
* ActivateService请求参数结构体
|
|
@@ -3176,6 +3176,11 @@ export interface ImageTaskInput {
|
|
|
3176
3176
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3177
3177
|
*/
|
|
3178
3178
|
EraseConfig?: ImageEraseConfig;
|
|
3179
|
+
/**
|
|
3180
|
+
* 盲水印配置。
|
|
3181
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3182
|
+
*/
|
|
3183
|
+
BlindWatermarkConfig?: BlindWatermarkConfig;
|
|
3179
3184
|
}
|
|
3180
3185
|
/**
|
|
3181
3186
|
* 查询输出的HLS拉流URL信息。
|
|
@@ -7251,6 +7256,24 @@ export interface DescribeOutputHLSPullSettings {
|
|
|
7251
7256
|
*/
|
|
7252
7257
|
ServerUrls: Array<DescribeOutputHLSPullServerUrl>;
|
|
7253
7258
|
}
|
|
7259
|
+
/**
|
|
7260
|
+
* 增加盲水印配置
|
|
7261
|
+
*/
|
|
7262
|
+
export interface AddBlindWatermarkConfig {
|
|
7263
|
+
/**
|
|
7264
|
+
* 能力配置开关,可选值:
|
|
7265
|
+
<li>ON:开启;</li>
|
|
7266
|
+
<li>OFF:关闭。</li>
|
|
7267
|
+
默认值:ON。
|
|
7268
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7269
|
+
*/
|
|
7270
|
+
Switch?: string;
|
|
7271
|
+
/**
|
|
7272
|
+
* 盲水印嵌入数据
|
|
7273
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7274
|
+
*/
|
|
7275
|
+
EmbedInfo?: BlindWatermarkEmbedInfo;
|
|
7276
|
+
}
|
|
7254
7277
|
/**
|
|
7255
7278
|
* 翻译的输入。
|
|
7256
7279
|
*/
|
|
@@ -7995,6 +8018,16 @@ export interface DescribeContentReviewTemplatesResponse {
|
|
|
7995
8018
|
*/
|
|
7996
8019
|
RequestId?: string;
|
|
7997
8020
|
}
|
|
8021
|
+
/**
|
|
8022
|
+
* 嵌入盲水印配置
|
|
8023
|
+
*/
|
|
8024
|
+
export interface BlindWatermarkEmbedInfo {
|
|
8025
|
+
/**
|
|
8026
|
+
* 盲水印文字,需要经过 URL 安全的 Base64 编码。
|
|
8027
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8028
|
+
*/
|
|
8029
|
+
EmbedText?: string;
|
|
8030
|
+
}
|
|
7998
8031
|
/**
|
|
7999
8032
|
* DescribeStreamLinkActivateState返回参数结构体
|
|
8000
8033
|
*/
|
|
@@ -10458,6 +10491,26 @@ export interface AiRecognitionTaskOcrFullTextSegmentTextItem {
|
|
|
10458
10491
|
*/
|
|
10459
10492
|
Text?: string;
|
|
10460
10493
|
}
|
|
10494
|
+
/**
|
|
10495
|
+
* 盲水印配置
|
|
10496
|
+
*/
|
|
10497
|
+
export interface BlindWatermarkConfig {
|
|
10498
|
+
/**
|
|
10499
|
+
* 增加盲水印
|
|
10500
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10501
|
+
*/
|
|
10502
|
+
AddBlindWatermark?: AddBlindWatermarkConfig;
|
|
10503
|
+
/**
|
|
10504
|
+
* 提取盲水印
|
|
10505
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10506
|
+
*/
|
|
10507
|
+
ExtractBlindWatermark?: ExtractBlindWatermarkConfig;
|
|
10508
|
+
/**
|
|
10509
|
+
* 移除盲水印
|
|
10510
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10511
|
+
*/
|
|
10512
|
+
RemoveBlindWatermark?: RemoveBlindWatermarkConfig;
|
|
10513
|
+
}
|
|
10461
10514
|
/**
|
|
10462
10515
|
* DeleteAsrHotwords返回参数结构体
|
|
10463
10516
|
*/
|
|
@@ -11867,6 +11920,19 @@ export interface ParseNotificationResponse {
|
|
|
11867
11920
|
*/
|
|
11868
11921
|
RequestId?: string;
|
|
11869
11922
|
}
|
|
11923
|
+
/**
|
|
11924
|
+
* 移除盲水印配置
|
|
11925
|
+
*/
|
|
11926
|
+
export interface RemoveBlindWatermarkConfig {
|
|
11927
|
+
/**
|
|
11928
|
+
* 能力配置开关,可选值:
|
|
11929
|
+
<li>ON:开启;</li>
|
|
11930
|
+
<li>OFF:关闭。</li>
|
|
11931
|
+
默认值:ON。
|
|
11932
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11933
|
+
*/
|
|
11934
|
+
Switch?: string;
|
|
11935
|
+
}
|
|
11870
11936
|
/**
|
|
11871
11937
|
* 视频编辑/合成任务 视频图像转换操作。
|
|
11872
11938
|
*/
|
|
@@ -15934,6 +16000,19 @@ export interface AiAnalysisTaskHeadTailOutput {
|
|
|
15934
16000
|
*/
|
|
15935
16001
|
TailTimeOffset?: number;
|
|
15936
16002
|
}
|
|
16003
|
+
/**
|
|
16004
|
+
* 提取盲水印配置
|
|
16005
|
+
*/
|
|
16006
|
+
export interface ExtractBlindWatermarkConfig {
|
|
16007
|
+
/**
|
|
16008
|
+
* 能力配置开关,可选值:
|
|
16009
|
+
<li>ON:开启;</li>
|
|
16010
|
+
<li>OFF:关闭。</li>
|
|
16011
|
+
默认值:ON。
|
|
16012
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16013
|
+
*/
|
|
16014
|
+
Switch?: string;
|
|
16015
|
+
}
|
|
15937
16016
|
/**
|
|
15938
16017
|
* DescribeVideoDatabaseEntryTaskDetail返回参数结构体
|
|
15939
16018
|
*/
|
|
@@ -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, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, ExtractDocMultiRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, ExtractDocMultiProRequest, MLIDPassportOCRRequest,
|
|
3
|
+
import { TableOCRRequest, RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, ExtractDocMultiRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, ExtractDocMultiProRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, TollInvoiceOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, HKIDCardOCRResponse, MainlandPermitOCRRequest, EnterpriseLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, ExtractDocMultiProResponse, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, OrgCodeCertOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, ExtractDocMultiResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, ExtractDocBasicResponse, EnglishOCRRequest, RecognizeValidIDCardOCRResponse, IDCardOCRResponse, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, VatInvoiceVerifyNewRequest, InstitutionOCRRequest, RecognizeGeneralTextImageWarnResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, HandwritingEssayOCRRequest, BankSlipOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, HandwritingEssayOCRResponse, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RecognizeEncryptedIDCardOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, RecognizeStoreNameResponse, GetOCRTokenRequest, RideHailingTransportLicenseOCRRequest, VatInvoiceVerifyNewResponse, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, BankCardOCRResponse, RecognizeHealthCodeOCRRequest, BusinessCardOCRRequest, FinanBillOCRRequest, RecognizeGeneralTextImageWarnRequest, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
|
|
4
4
|
/**
|
|
5
5
|
* ocr client
|
|
6
6
|
* @class
|
|
@@ -245,13 +245,6 @@ export declare class Client extends AbstractClient {
|
|
|
245
245
|
默认接口请求频率限制:5次/秒。
|
|
246
246
|
*/
|
|
247
247
|
FlightInvoiceOCR(req: FlightInvoiceOCRRequest, cb?: (error: string, rep: FlightInvoiceOCRResponse) => void): Promise<FlightInvoiceOCRResponse>;
|
|
248
|
-
/**
|
|
249
|
-
* 本接口支持泰国身份证识别,识别字段包括泰文姓名、英文姓名、地址、出生日期、身份证号码、首次领用日期、签发日期等字段。
|
|
250
|
-
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
|
251
|
-
|
|
252
|
-
默认接口请求频率限制:10次/秒
|
|
253
|
-
*/
|
|
254
|
-
RecognizeThaiIDCardOCR(req: RecognizeThaiIDCardOCRRequest, cb?: (error: string, rep: RecognizeThaiIDCardOCRResponse) => void): Promise<RecognizeThaiIDCardOCRResponse>;
|
|
255
248
|
/**
|
|
256
249
|
* 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票等常用标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
|
257
250
|
|
|
@@ -555,11 +548,12 @@ export declare class Client extends AbstractClient {
|
|
|
555
548
|
*/
|
|
556
549
|
GeneralBasicOCR(req: GeneralBasicOCRRequest, cb?: (error: string, rep: GeneralBasicOCRResponse) => void): Promise<GeneralBasicOCRResponse>;
|
|
557
550
|
/**
|
|
558
|
-
*
|
|
551
|
+
* 本接口支持泰国身份证识别,识别字段包括泰文姓名、英文姓名、地址、出生日期、身份证号码、首次领用日期、签发日期等字段。
|
|
552
|
+
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
|
559
553
|
|
|
560
|
-
默认接口请求频率限制:
|
|
554
|
+
默认接口请求频率限制:10次/秒
|
|
561
555
|
*/
|
|
562
|
-
|
|
556
|
+
RecognizeThaiIDCardOCR(req: RecognizeThaiIDCardOCRRequest, cb?: (error: string, rep: RecognizeThaiIDCardOCRResponse) => void): Promise<RecognizeThaiIDCardOCRResponse>;
|
|
563
557
|
/**
|
|
564
558
|
* 本接口当前仅支持复杂磅单收发货单抽取,更多强推理场景支持定制咨询。点击[立即体验](https://ocrdemo.cloud.tencent.com/)。
|
|
565
559
|
|
|
@@ -680,12 +674,6 @@ export declare class Client extends AbstractClient {
|
|
|
680
674
|
默认接口请求频率限制:5次/秒。
|
|
681
675
|
*/
|
|
682
676
|
InstitutionOCR(req: InstitutionOCRRequest, cb?: (error: string, rep: InstitutionOCRResponse) => void): Promise<InstitutionOCRResponse>;
|
|
683
|
-
/**
|
|
684
|
-
* 本接口支持识别并提取制式卡证、票据、表单等结构化场景的字段信息。无需任何配置,灵活高效。适用于各类结构化信息录入场景。点击[立即体验](https://ocrdemo.cloud.tencent.com/)。
|
|
685
|
-
|
|
686
|
-
默认接口请求频率限制:5次/秒。
|
|
687
|
-
*/
|
|
688
|
-
SmartStructuralOCRV2(req: SmartStructuralOCRV2Request, cb?: (error: string, rep: SmartStructuralOCRV2Response) => void): Promise<SmartStructuralOCRV2Response>;
|
|
689
677
|
/**
|
|
690
678
|
* 本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。
|
|
691
679
|
|
|
@@ -820,11 +808,11 @@ export declare class Client extends AbstractClient {
|
|
|
820
808
|
*/
|
|
821
809
|
FinanBillOCR(req: FinanBillOCRRequest, cb?: (error: string, rep: FinanBillOCRResponse) => void): Promise<FinanBillOCRResponse>;
|
|
822
810
|
/**
|
|
823
|
-
*
|
|
811
|
+
* 本接口支持 单张、多张、多类型 票据的混合识别,同时支持自选需要识别的票据类型,已支持票种包括:增值税发票(专票、普票、卷票)、全电发票、非税发票、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,并支持其他类发票的识别。
|
|
824
812
|
|
|
825
813
|
默认接口请求频率限制:5次/秒。
|
|
826
814
|
*/
|
|
827
|
-
|
|
815
|
+
MixedInvoiceOCR(req: MixedInvoiceOCRRequest, cb?: (error: string, rep: MixedInvoiceOCRResponse) => void): Promise<MixedInvoiceOCRResponse>;
|
|
828
816
|
/**
|
|
829
817
|
* 本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖北、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
|
|
830
818
|
|
|
@@ -309,15 +309,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
309
309
|
async FlightInvoiceOCR(req, cb) {
|
|
310
310
|
return this.request("FlightInvoiceOCR", req, cb);
|
|
311
311
|
}
|
|
312
|
-
/**
|
|
313
|
-
* 本接口支持泰国身份证识别,识别字段包括泰文姓名、英文姓名、地址、出生日期、身份证号码、首次领用日期、签发日期等字段。
|
|
314
|
-
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
|
315
|
-
|
|
316
|
-
默认接口请求频率限制:10次/秒
|
|
317
|
-
*/
|
|
318
|
-
async RecognizeThaiIDCardOCR(req, cb) {
|
|
319
|
-
return this.request("RecognizeThaiIDCardOCR", req, cb);
|
|
320
|
-
}
|
|
321
312
|
/**
|
|
322
313
|
* 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票等常用标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
|
323
314
|
|
|
@@ -637,12 +628,13 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
637
628
|
return this.request("GeneralBasicOCR", req, cb);
|
|
638
629
|
}
|
|
639
630
|
/**
|
|
640
|
-
*
|
|
631
|
+
* 本接口支持泰国身份证识别,识别字段包括泰文姓名、英文姓名、地址、出生日期、身份证号码、首次领用日期、签发日期等字段。
|
|
632
|
+
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
|
641
633
|
|
|
642
|
-
默认接口请求频率限制:
|
|
634
|
+
默认接口请求频率限制:10次/秒
|
|
643
635
|
*/
|
|
644
|
-
async
|
|
645
|
-
return this.request("
|
|
636
|
+
async RecognizeThaiIDCardOCR(req, cb) {
|
|
637
|
+
return this.request("RecognizeThaiIDCardOCR", req, cb);
|
|
646
638
|
}
|
|
647
639
|
/**
|
|
648
640
|
* 本接口当前仅支持复杂磅单收发货单抽取,更多强推理场景支持定制咨询。点击[立即体验](https://ocrdemo.cloud.tencent.com/)。
|
|
@@ -790,14 +782,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
790
782
|
async InstitutionOCR(req, cb) {
|
|
791
783
|
return this.request("InstitutionOCR", req, cb);
|
|
792
784
|
}
|
|
793
|
-
/**
|
|
794
|
-
* 本接口支持识别并提取制式卡证、票据、表单等结构化场景的字段信息。无需任何配置,灵活高效。适用于各类结构化信息录入场景。点击[立即体验](https://ocrdemo.cloud.tencent.com/)。
|
|
795
|
-
|
|
796
|
-
默认接口请求频率限制:5次/秒。
|
|
797
|
-
*/
|
|
798
|
-
async SmartStructuralOCRV2(req, cb) {
|
|
799
|
-
return this.request("SmartStructuralOCRV2", req, cb);
|
|
800
|
-
}
|
|
801
785
|
/**
|
|
802
786
|
* 本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。
|
|
803
787
|
|
|
@@ -974,12 +958,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
974
958
|
return this.request("FinanBillOCR", req, cb);
|
|
975
959
|
}
|
|
976
960
|
/**
|
|
977
|
-
*
|
|
961
|
+
* 本接口支持 单张、多张、多类型 票据的混合识别,同时支持自选需要识别的票据类型,已支持票种包括:增值税发票(专票、普票、卷票)、全电发票、非税发票、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,并支持其他类发票的识别。
|
|
978
962
|
|
|
979
963
|
默认接口请求频率限制:5次/秒。
|
|
980
964
|
*/
|
|
981
|
-
async
|
|
982
|
-
return this.request("
|
|
965
|
+
async MixedInvoiceOCR(req, cb) {
|
|
966
|
+
return this.request("MixedInvoiceOCR", req, cb);
|
|
983
967
|
}
|
|
984
968
|
/**
|
|
985
969
|
* 本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖北、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
|