tencentcloud-sdk-nodejs 4.0.541 → 4.0.543
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/CHANGELOG.md +299 -0
- package/SERVICE_CHANGELOG.md +321 -166
- package/package.json +1 -1
- package/products.md +30 -30
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_models.ts +20 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +2 -2
- package/src/services/cam/v20190116/cam_client.ts +1 -1
- package/src/services/cam/v20190116/cam_models.ts +3 -3
- package/src/services/captcha/v20190722/captcha_client.ts +2 -2
- package/src/services/captcha/v20190722/captcha_models.ts +69 -2
- package/src/services/cfw/v20190904/cfw_client.ts +23 -10
- package/src/services/cfw/v20190904/cfw_models.ts +236 -71
- package/src/services/cls/v20201016/cls_models.ts +8 -8
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +24 -12
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +51 -0
- package/src/services/dts/v20211206/dts_models.ts +7 -7
- package/src/services/ess/v20201111/ess_client.ts +1 -1
- package/src/services/ess/v20201111/ess_models.ts +4 -4
- package/src/services/lcic/v20220817/lcic_models.ts +1 -3
- package/src/services/live/v20180801/live_client.ts +2 -2
- package/src/services/mariadb/v20170312/mariadb_client.ts +12 -0
- package/src/services/mariadb/v20170312/mariadb_models.ts +25 -0
- package/src/services/oceanus/v20190422/oceanus_client.ts +2 -0
- package/src/services/oceanus/v20190422/oceanus_models.ts +113 -0
- package/src/services/ocr/v20181119/ocr_client.ts +67 -25
- package/src/services/ocr/v20181119/ocr_models.ts +287 -72
- package/src/services/partners/v20180321/partners_client.ts +2 -2
- package/src/services/scf/v20180416/scf_models.ts +6 -0
- package/src/services/ssa/v20180608/ssa_models.ts +4 -4
- package/src/services/tat/v20201028/tat_models.ts +15 -0
- package/src/services/tdmq/v20200217/tdmq_client.ts +29 -14
- package/src/services/tdmq/v20200217/tdmq_models.ts +137 -12
- package/src/services/teo/v20220901/teo_models.ts +7 -0
- package/src/services/tke/v20180525/tke_client.ts +2 -1
- package/src/services/tke/v20180525/tke_models.ts +73 -40
- package/src/services/trtc/v20190722/trtc_models.ts +6 -0
- package/src/services/vpc/v20170312/vpc_client.ts +2 -2
- package/src/services/vpc/v20170312/vpc_models.ts +52 -33
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +17 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +2 -2
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +1 -1
- package/tencentcloud/services/cam/v20190116/cam_client.js +1 -1
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +3 -3
- package/tencentcloud/services/captcha/v20190722/captcha_client.d.ts +2 -2
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +58 -2
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +7 -3
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +9 -3
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +202 -64
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +8 -8
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +9 -5
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +12 -6
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +43 -0
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +7 -7
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +4 -4
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +1 -3
- package/tencentcloud/services/live/v20180801/live_client.d.ts +2 -2
- package/tencentcloud/services/live/v20180801/live_client.js +2 -2
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +5 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +6 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +22 -0
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +95 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +25 -10
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +32 -11
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +246 -62
- package/tencentcloud/services/partners/v20180321/partners_client.d.ts +2 -2
- package/tencentcloud/services/partners/v20180321/partners_client.js +2 -2
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +5 -0
- package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +4 -4
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +12 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +9 -5
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +12 -6
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +117 -12
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +6 -0
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +1 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +1 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +64 -36
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +5 -0
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +52 -33
- package/test/cfw.v20190904.test.js +12 -2
- package/test/cynosdb.v20190107.test.js +14 -4
- package/test/mariadb.v20170312.test.js +10 -0
- package/test/ocr.v20181119.test.js +34 -4
- package/test/tdmq.v20200217.test.js +14 -4
|
@@ -812,7 +812,7 @@ export interface DescribeIntegrationEmployeesRequest {
|
|
|
812
812
|
*/
|
|
813
813
|
export interface CreateFlowRequest {
|
|
814
814
|
/**
|
|
815
|
-
* 调用方用户信息,userId
|
|
815
|
+
* 调用方用户信息,userId 必填。支持填入集团子公司经办人 userId代发合同。
|
|
816
816
|
*/
|
|
817
817
|
Operator: UserInfo
|
|
818
818
|
|
|
@@ -1322,7 +1322,7 @@ export interface FailedCreateStaffData {
|
|
|
1322
1322
|
*/
|
|
1323
1323
|
export interface CreateFlowByFilesRequest {
|
|
1324
1324
|
/**
|
|
1325
|
-
* 调用方用户信息,userId
|
|
1325
|
+
* 调用方用户信息,userId 必填。支持填入集团子公司经办人 userId 代发合同
|
|
1326
1326
|
*/
|
|
1327
1327
|
Operator: UserInfo
|
|
1328
1328
|
|
|
@@ -1822,7 +1822,7 @@ export interface AuthorizedUser {
|
|
|
1822
1822
|
*/
|
|
1823
1823
|
export interface CreateDocumentRequest {
|
|
1824
1824
|
/**
|
|
1825
|
-
* 调用方用户信息,userId
|
|
1825
|
+
* 调用方用户信息,userId 必填。支持填入集团子公司经办人 userId代发合同。
|
|
1826
1826
|
*/
|
|
1827
1827
|
Operator: UserInfo
|
|
1828
1828
|
|
|
@@ -2624,7 +2624,7 @@ export interface IntegrationMainOrganizationUser {
|
|
|
2624
2624
|
*/
|
|
2625
2625
|
export interface StartFlowRequest {
|
|
2626
2626
|
/**
|
|
2627
|
-
* 调用方用户信息,userId
|
|
2627
|
+
* 调用方用户信息,userId 必填。支持填入集团子公司经办人 userId代发合同。
|
|
2628
2628
|
*/
|
|
2629
2629
|
Operator: UserInfo
|
|
2630
2630
|
|
|
@@ -56,7 +56,6 @@ export interface CreateRoomRequest {
|
|
|
56
56
|
* 房间子类型,可以有以下取值:
|
|
57
57
|
videodoc 文档+视频
|
|
58
58
|
video 纯视频
|
|
59
|
-
coteaching 双师
|
|
60
59
|
*/
|
|
61
60
|
SubType: string
|
|
62
61
|
|
|
@@ -1434,7 +1433,6 @@ export interface DescribeRoomResponse {
|
|
|
1434
1433
|
* 房间子类型,可以有以下取值:
|
|
1435
1434
|
videodoc 文档+视频
|
|
1436
1435
|
video 纯视频
|
|
1437
|
-
coteaching 双师
|
|
1438
1436
|
*/
|
|
1439
1437
|
SubType?: string
|
|
1440
1438
|
|
|
@@ -1827,7 +1825,7 @@ export interface RoomInfo {
|
|
|
1827
1825
|
MaxMicNumber: number
|
|
1828
1826
|
|
|
1829
1827
|
/**
|
|
1830
|
-
* 房间子类型,可以有以下取值: videodoc 文档+视频 video 纯视频
|
|
1828
|
+
* 房间子类型,可以有以下取值: videodoc 文档+视频 video 纯视频
|
|
1831
1829
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1832
1830
|
*/
|
|
1833
1831
|
SubType: string
|
|
@@ -1127,7 +1127,7 @@ DomainName+AppName+StreamName+TemplateId唯一标识单个转码规则,如需
|
|
|
1127
1127
|
}
|
|
1128
1128
|
|
|
1129
1129
|
/**
|
|
1130
|
-
*
|
|
1130
|
+
* 修改直播时移模板。
|
|
1131
1131
|
*/
|
|
1132
1132
|
async ModifyLiveTimeShiftTemplate(
|
|
1133
1133
|
req: ModifyLiveTimeShiftTemplateRequest,
|
|
@@ -1555,7 +1555,7 @@ DomainName+AppName+StreamName+TemplateId唯一标识单个转码规则,如需
|
|
|
1555
1555
|
}
|
|
1556
1556
|
|
|
1557
1557
|
/**
|
|
1558
|
-
*
|
|
1558
|
+
* 创建直播时移模板。
|
|
1559
1559
|
*/
|
|
1560
1560
|
async CreateLiveTimeShiftTemplate(
|
|
1561
1561
|
req: CreateLiveTimeShiftTemplateRequest,
|
|
@@ -88,6 +88,7 @@ import {
|
|
|
88
88
|
ModifyRealServerAccessStrategyRequest,
|
|
89
89
|
DescribeBackupTimeRequest,
|
|
90
90
|
DescribeSaleInfoResponse,
|
|
91
|
+
ModifyDBEncryptAttributesResponse,
|
|
91
92
|
DescribeDBEncryptAttributesResponse,
|
|
92
93
|
DestroyDBInstanceRequest,
|
|
93
94
|
DatabaseTable,
|
|
@@ -157,6 +158,7 @@ import {
|
|
|
157
158
|
ActivateHourDBInstanceResponse,
|
|
158
159
|
DescribeInstanceNodeInfoRequest,
|
|
159
160
|
CreateHourDBInstanceResponse,
|
|
161
|
+
ModifyDBEncryptAttributesRequest,
|
|
160
162
|
CreateAccountResponse,
|
|
161
163
|
IsolateDedicatedDBInstanceResponse,
|
|
162
164
|
DescribeLogFileRetentionPeriodResponse,
|
|
@@ -693,6 +695,16 @@ export class Client extends AbstractClient {
|
|
|
693
695
|
return this.request("CreateTmpInstances", req, cb)
|
|
694
696
|
}
|
|
695
697
|
|
|
698
|
+
/**
|
|
699
|
+
* 本接口(ModifyDBEncryptAttributes)用于修改实例数据加密。
|
|
700
|
+
*/
|
|
701
|
+
async ModifyDBEncryptAttributes(
|
|
702
|
+
req: ModifyDBEncryptAttributesRequest,
|
|
703
|
+
cb?: (error: string, rep: ModifyDBEncryptAttributesResponse) => void
|
|
704
|
+
): Promise<ModifyDBEncryptAttributesResponse> {
|
|
705
|
+
return this.request("ModifyDBEncryptAttributes", req, cb)
|
|
706
|
+
}
|
|
707
|
+
|
|
696
708
|
/**
|
|
697
709
|
* 本接口(DescribeAccounts)用于查询指定云数据库实例的账号列表。
|
|
698
710
|
*/
|
|
@@ -1642,6 +1642,16 @@ export interface DescribeSaleInfoResponse {
|
|
|
1642
1642
|
RequestId?: string
|
|
1643
1643
|
}
|
|
1644
1644
|
|
|
1645
|
+
/**
|
|
1646
|
+
* ModifyDBEncryptAttributes返回参数结构体
|
|
1647
|
+
*/
|
|
1648
|
+
export interface ModifyDBEncryptAttributesResponse {
|
|
1649
|
+
/**
|
|
1650
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1651
|
+
*/
|
|
1652
|
+
RequestId?: string
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1645
1655
|
/**
|
|
1646
1656
|
* DescribeDBEncryptAttributes返回参数结构体
|
|
1647
1657
|
*/
|
|
@@ -3389,6 +3399,21 @@ export interface CreateHourDBInstanceResponse {
|
|
|
3389
3399
|
RequestId?: string
|
|
3390
3400
|
}
|
|
3391
3401
|
|
|
3402
|
+
/**
|
|
3403
|
+
* ModifyDBEncryptAttributes请求参数结构体
|
|
3404
|
+
*/
|
|
3405
|
+
export interface ModifyDBEncryptAttributesRequest {
|
|
3406
|
+
/**
|
|
3407
|
+
* 实例Id,形如:tdsql-ow728lmc。
|
|
3408
|
+
*/
|
|
3409
|
+
InstanceId: string
|
|
3410
|
+
|
|
3411
|
+
/**
|
|
3412
|
+
* 是否启用数据加密,开启后暂不支持关闭。本接口的可选值为:1-开启数据加密。
|
|
3413
|
+
*/
|
|
3414
|
+
EncryptEnabled: number
|
|
3415
|
+
}
|
|
3416
|
+
|
|
3392
3417
|
/**
|
|
3393
3418
|
* CreateAccount返回参数结构体
|
|
3394
3419
|
*/
|
|
@@ -921,6 +921,44 @@ export interface Tag {
|
|
|
921
921
|
TagValue?: string
|
|
922
922
|
}
|
|
923
923
|
|
|
924
|
+
/**
|
|
925
|
+
* 树状结构资源列表对象
|
|
926
|
+
*/
|
|
927
|
+
export interface DescribeTreeResourcesRsp {
|
|
928
|
+
/**
|
|
929
|
+
* 父节点ID
|
|
930
|
+
*/
|
|
931
|
+
ParentId?: string
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* 文件夹ID
|
|
935
|
+
*/
|
|
936
|
+
Id?: string
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* 文件夹名称
|
|
940
|
+
*/
|
|
941
|
+
Name?: string
|
|
942
|
+
|
|
943
|
+
/**
|
|
944
|
+
* 文件夹下资源数字
|
|
945
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
946
|
+
*/
|
|
947
|
+
Items?: Array<TreeResourceItem>
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* 子节点
|
|
951
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
952
|
+
*/
|
|
953
|
+
Children?: Array<DescribeTreeResourcesRsp>
|
|
954
|
+
|
|
955
|
+
/**
|
|
956
|
+
* 资源总数
|
|
957
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
958
|
+
*/
|
|
959
|
+
TotalCount?: number
|
|
960
|
+
}
|
|
961
|
+
|
|
924
962
|
/**
|
|
925
963
|
* DescribeResources请求参数结构体
|
|
926
964
|
*/
|
|
@@ -952,6 +990,45 @@ export interface DescribeResourcesRequest {
|
|
|
952
990
|
WorkSpaceId?: string
|
|
953
991
|
}
|
|
954
992
|
|
|
993
|
+
/**
|
|
994
|
+
* 树状结构资源对象
|
|
995
|
+
*/
|
|
996
|
+
export interface TreeResourceItem {
|
|
997
|
+
/**
|
|
998
|
+
* 资源ID
|
|
999
|
+
*/
|
|
1000
|
+
ResourceId: string
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* 资源名称
|
|
1004
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1005
|
+
*/
|
|
1006
|
+
Name: string
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* 资源类型
|
|
1010
|
+
*/
|
|
1011
|
+
ResourceType: number
|
|
1012
|
+
|
|
1013
|
+
/**
|
|
1014
|
+
* 备注
|
|
1015
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1016
|
+
*/
|
|
1017
|
+
Remark: string
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* 文件名
|
|
1021
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1022
|
+
*/
|
|
1023
|
+
FileName: string
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* 目录ID
|
|
1027
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1028
|
+
*/
|
|
1029
|
+
FolderId: string
|
|
1030
|
+
}
|
|
1031
|
+
|
|
955
1032
|
/**
|
|
956
1033
|
* 资源参数描述
|
|
957
1034
|
*/
|
|
@@ -1121,6 +1198,42 @@ export interface DeleteJobsResponse {
|
|
|
1121
1198
|
* DescribeTreeResources返回参数结构体
|
|
1122
1199
|
*/
|
|
1123
1200
|
export interface DescribeTreeResourcesResponse {
|
|
1201
|
+
/**
|
|
1202
|
+
* 父节点ID
|
|
1203
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1204
|
+
*/
|
|
1205
|
+
ParentId?: string
|
|
1206
|
+
|
|
1207
|
+
/**
|
|
1208
|
+
* 文件夹ID
|
|
1209
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1210
|
+
*/
|
|
1211
|
+
Id?: string
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
* 文件夹名
|
|
1215
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1216
|
+
*/
|
|
1217
|
+
Name?: string
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* 文件列表
|
|
1221
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1222
|
+
*/
|
|
1223
|
+
Items?: Array<TreeResourceItem>
|
|
1224
|
+
|
|
1225
|
+
/**
|
|
1226
|
+
* 子目录列表
|
|
1227
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1228
|
+
*/
|
|
1229
|
+
Children?: Array<DescribeTreeResourcesRsp>
|
|
1230
|
+
|
|
1231
|
+
/**
|
|
1232
|
+
* 资源总数
|
|
1233
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1234
|
+
*/
|
|
1235
|
+
TotalCount?: number
|
|
1236
|
+
|
|
1124
1237
|
/**
|
|
1125
1238
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1126
1239
|
*/
|
|
@@ -38,6 +38,7 @@ import {
|
|
|
38
38
|
FinanBillSliceOCRResponse,
|
|
39
39
|
DriverLicenseOCRResponse,
|
|
40
40
|
WaybillOCRResponse,
|
|
41
|
+
CreateAIFormTaskRequest,
|
|
41
42
|
Words,
|
|
42
43
|
VerifyBizLicenseRequest,
|
|
43
44
|
TextDetectionEn,
|
|
@@ -55,7 +56,7 @@ import {
|
|
|
55
56
|
SealInfo,
|
|
56
57
|
RecognizePhilippinesVoteIDOCRRequest,
|
|
57
58
|
InvoiceGeneralInfo,
|
|
58
|
-
|
|
59
|
+
TextVatInvoice,
|
|
59
60
|
InstitutionOCRResponse,
|
|
60
61
|
VehicleInvoiceInfo,
|
|
61
62
|
DriverLicenseOCRRequest,
|
|
@@ -65,12 +66,14 @@ import {
|
|
|
65
66
|
TextEduPaper,
|
|
66
67
|
QrcodeOCRResponse,
|
|
67
68
|
WaybillObj,
|
|
69
|
+
WordCoordPoint,
|
|
68
70
|
InvoiceDetectInfo,
|
|
69
71
|
MainlandPermitOCRRequest,
|
|
70
72
|
EnterpriseLicenseOCRRequest,
|
|
71
73
|
BankCardOCRRequest,
|
|
72
74
|
StructuralItem,
|
|
73
75
|
OnlineTaxiItineraryInfo,
|
|
76
|
+
VehicleRegCertOCRRequest,
|
|
74
77
|
PropOwnerCertOCRResponse,
|
|
75
78
|
FinanBillInfo,
|
|
76
79
|
TrainTicketOCRResponse,
|
|
@@ -80,7 +83,7 @@ import {
|
|
|
80
83
|
FormulaOCRResponse,
|
|
81
84
|
BusInvoiceInfo,
|
|
82
85
|
SmartStructuralOCRRequest,
|
|
83
|
-
|
|
86
|
+
TableCellInfo,
|
|
84
87
|
GeneralHandwritingOCRRequest,
|
|
85
88
|
BizLicenseOCRRequest,
|
|
86
89
|
MixedInvoiceDetectResponse,
|
|
@@ -108,13 +111,15 @@ import {
|
|
|
108
111
|
HKIDCardOCRResponse,
|
|
109
112
|
MedicalInvoiceInfo,
|
|
110
113
|
VatInvoiceGoodsInfo,
|
|
114
|
+
OrgCodeCertOCRResponse,
|
|
111
115
|
PermitOCRRequest,
|
|
112
116
|
InvoiceGeneralOCRResponse,
|
|
117
|
+
SmartFormFileUrl,
|
|
113
118
|
VatInvoiceVerifyNewResponse,
|
|
114
119
|
TaxiInvoiceOCRRequest,
|
|
115
120
|
PropOwnerCertOCRRequest,
|
|
116
121
|
RecognizeContainerOCRRequest,
|
|
117
|
-
|
|
122
|
+
EduPaperOCRRequest,
|
|
118
123
|
VatRollInvoiceOCRResponse,
|
|
119
124
|
VatInvoiceVerifyRequest,
|
|
120
125
|
EduPaperOCRResponse,
|
|
@@ -127,7 +132,7 @@ import {
|
|
|
127
132
|
QrcodeImgSize,
|
|
128
133
|
PassportOCRResponse,
|
|
129
134
|
VerifyBasicBizLicenseResponse,
|
|
130
|
-
|
|
135
|
+
TextDetectRequest,
|
|
131
136
|
RecognizeTravelCardOCRResponse,
|
|
132
137
|
ProductDataRecord,
|
|
133
138
|
LicensePlateOCRRequest,
|
|
@@ -164,6 +169,7 @@ import {
|
|
|
164
169
|
MLIDPassportOCRResponse,
|
|
165
170
|
VatRollInvoiceOCRRequest,
|
|
166
171
|
TableTitle,
|
|
172
|
+
RecognizeTableAccurateOCRRequest,
|
|
167
173
|
Coord,
|
|
168
174
|
SealOCRResponse,
|
|
169
175
|
DutyPaidProofInfo,
|
|
@@ -172,9 +178,9 @@ import {
|
|
|
172
178
|
BankSlipOCRResponse,
|
|
173
179
|
PassInvoiceInfo,
|
|
174
180
|
QuestionObj,
|
|
175
|
-
|
|
181
|
+
TableInfo,
|
|
176
182
|
VinOCRResponse,
|
|
177
|
-
|
|
183
|
+
GetTaskStateResponse,
|
|
178
184
|
FormulaOCRRequest,
|
|
179
185
|
PassportOCRRequest,
|
|
180
186
|
DutyPaidProofOCRRequest,
|
|
@@ -182,15 +188,17 @@ import {
|
|
|
182
188
|
RecognizePhilippinesVoteIDOCRResponse,
|
|
183
189
|
QueryBarCodeRequest,
|
|
184
190
|
ItemCoord,
|
|
185
|
-
|
|
191
|
+
CreateAIFormTaskResponse,
|
|
186
192
|
MixedInvoiceOCRRequest,
|
|
187
193
|
TableDetectInfo,
|
|
188
194
|
ResidenceBookletOCRResponse,
|
|
189
195
|
CarInvoiceOCRResponse,
|
|
196
|
+
VehicleRegCertOCRResponse,
|
|
190
197
|
GeneralFastOCRRequest,
|
|
191
198
|
MedicalInvoiceItem,
|
|
192
199
|
ShipInvoiceOCRResponse,
|
|
193
200
|
InsuranceBillInfo,
|
|
201
|
+
GetTaskStateRequest,
|
|
194
202
|
RecognizeMedicalInvoiceOCRRequest,
|
|
195
203
|
ClassifyDetectInfo,
|
|
196
204
|
GeneralEfficientOCRResponse,
|
|
@@ -198,6 +206,7 @@ import {
|
|
|
198
206
|
SealOCRRequest,
|
|
199
207
|
VerifyOfdVatInvoiceOCRResponse,
|
|
200
208
|
TextTable,
|
|
209
|
+
RecognizeTableAccurateOCRResponse,
|
|
201
210
|
ResidenceBookletOCRRequest,
|
|
202
211
|
BusInvoiceOCRResponse,
|
|
203
212
|
QrcodeResultsInfo,
|
|
@@ -506,6 +515,18 @@ export class Client extends AbstractClient {
|
|
|
506
515
|
return this.request("RecognizeContainerOCR", req, cb)
|
|
507
516
|
}
|
|
508
517
|
|
|
518
|
+
/**
|
|
519
|
+
* 本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。
|
|
520
|
+
|
|
521
|
+
默认接口请求频率限制:2次/秒。
|
|
522
|
+
*/
|
|
523
|
+
async RecognizeTableAccurateOCR(
|
|
524
|
+
req: RecognizeTableAccurateOCRRequest,
|
|
525
|
+
cb?: (error: string, rep: RecognizeTableAccurateOCRResponse) => void
|
|
526
|
+
): Promise<RecognizeTableAccurateOCRResponse> {
|
|
527
|
+
return this.request("RecognizeTableAccurateOCR", req, cb)
|
|
528
|
+
}
|
|
529
|
+
|
|
509
530
|
/**
|
|
510
531
|
* 本接口支持多张、多类型票据的混合检测和自动分类,返回对应票据类型。目前已支持增值税发票、增值税发票(卷票)、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票、酒店账单、客运限额发票、购物小票、完税证明共15种票据。
|
|
511
532
|
*/
|
|
@@ -659,14 +680,13 @@ export class Client extends AbstractClient {
|
|
|
659
680
|
}
|
|
660
681
|
|
|
661
682
|
/**
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
return this.request("RecognizeMedicalInvoiceOCR", req, cb)
|
|
683
|
+
* 支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo(超连接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
|
|
684
|
+
*/
|
|
685
|
+
async GetTaskState(
|
|
686
|
+
req: GetTaskStateRequest,
|
|
687
|
+
cb?: (error: string, rep: GetTaskStateResponse) => void
|
|
688
|
+
): Promise<GetTaskStateResponse> {
|
|
689
|
+
return this.request("GetTaskState", req, cb)
|
|
670
690
|
}
|
|
671
691
|
|
|
672
692
|
/**
|
|
@@ -702,17 +722,15 @@ export class Client extends AbstractClient {
|
|
|
702
722
|
}
|
|
703
723
|
|
|
704
724
|
/**
|
|
705
|
-
*
|
|
706
|
-
|
|
707
|
-
您可以输入营业执照注册号或营业执照图片(若两者都输入则只用注册号做查询),接口返回查询到的工商照面信息,并比对要校验的字段与查询结果的一致性。
|
|
725
|
+
* 本接口可创建智能表单录入任务,支持多个识别图片和PDF的URL上传,返回含有识别内容的操作页面URL。
|
|
708
726
|
|
|
709
|
-
|
|
727
|
+
智能表单录入产品提供高准确率的表单识别技术和人工核对工具,支持自定义字段,将识别结果自动填入到自定义条目中,并提供人工操作工具,完成整个表单识别过程。适用性强,可对票据、合同、货单等文件的识别,适用于金融、货代、保险、档案等领域。本产品免费公测中,您可以点击demo(超连接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
|
|
710
728
|
*/
|
|
711
|
-
async
|
|
712
|
-
req:
|
|
713
|
-
cb?: (error: string, rep:
|
|
714
|
-
): Promise<
|
|
715
|
-
return this.request("
|
|
729
|
+
async CreateAIFormTask(
|
|
730
|
+
req: CreateAIFormTaskRequest,
|
|
731
|
+
cb?: (error: string, rep: CreateAIFormTaskResponse) => void
|
|
732
|
+
): Promise<CreateAIFormTaskResponse> {
|
|
733
|
+
return this.request("CreateAIFormTask", req, cb)
|
|
716
734
|
}
|
|
717
735
|
|
|
718
736
|
/**
|
|
@@ -857,6 +875,17 @@ export class Client extends AbstractClient {
|
|
|
857
875
|
return this.request("BusInvoiceOCR", req, cb)
|
|
858
876
|
}
|
|
859
877
|
|
|
878
|
+
/**
|
|
879
|
+
* 医疗发票识别目前支持全国统一门诊发票、全国统一住院发票、以及部分地方的门诊和住院发票的识别。
|
|
880
|
+
|
|
881
|
+
*/
|
|
882
|
+
async RecognizeMedicalInvoiceOCR(
|
|
883
|
+
req: RecognizeMedicalInvoiceOCRRequest,
|
|
884
|
+
cb?: (error: string, rep: RecognizeMedicalInvoiceOCRResponse) => void
|
|
885
|
+
): Promise<RecognizeMedicalInvoiceOCRResponse> {
|
|
886
|
+
return this.request("RecognizeMedicalInvoiceOCR", req, cb)
|
|
887
|
+
}
|
|
888
|
+
|
|
860
889
|
/**
|
|
861
890
|
* 本接口支持增值税专用发票、增值税普通发票、增值税电子发票全字段的内容检测和识别,包括发票代码、发票号码、打印发票代码、打印发票号码、开票日期、合计金额、校验码、税率、合计税额、价税合计、购买方识别号、复核、销售方识别号、开票人、密码区1、密码区2、密码区3、密码区4、发票名称、购买方名称、销售方名称、服务名称、备注、规格型号、数量、单价、金额、税额、收款人等字段。
|
|
862
891
|
|
|
@@ -1215,6 +1244,20 @@ export class Client extends AbstractClient {
|
|
|
1215
1244
|
return this.request("PassportOCR", req, cb)
|
|
1216
1245
|
}
|
|
1217
1246
|
|
|
1247
|
+
/**
|
|
1248
|
+
* 本接口支持营业执照信息的识别与准确性核验,返回的真实工商照面信息比营业执照识别及核验(基础版)接口更详细。
|
|
1249
|
+
|
|
1250
|
+
您可以输入营业执照注册号或营业执照图片(若两者都输入则只用注册号做查询),接口返回查询到的工商照面信息,并比对要校验的字段与查询结果的一致性。
|
|
1251
|
+
|
|
1252
|
+
查询到工商信息包括:统一社会信用代码、组织机构代码、经营期限、法人姓名、经营状态、经营业务范围及方式、注册资金、注册币种、登记机关、开业日期、企业(机构)类型、注销日期、吊销日期、许可经营项目、一般经营项目、核准时间、省、地级市、区/县、住所所在行政区划代码、行业门类代码、行业门类名称、国民经济行业代码、国民经济行业名称、经营(业务)范围等。
|
|
1253
|
+
*/
|
|
1254
|
+
async VerifyBizLicense(
|
|
1255
|
+
req: VerifyBizLicenseRequest,
|
|
1256
|
+
cb?: (error: string, rep: VerifyBizLicenseResponse) => void
|
|
1257
|
+
): Promise<VerifyBizLicenseResponse> {
|
|
1258
|
+
return this.request("VerifyBizLicense", req, cb)
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1218
1261
|
/**
|
|
1219
1262
|
* 本接口支持常见银行票据的自动分类和识别。整单识别包括支票(含现金支票、普通支票、转账支票),承兑汇票(含银行承兑汇票、商业承兑汇票)以及进账单等,适用于中国人民银行印发的 2010 版银行票据凭证版式(银发[2010]299 号)。
|
|
1220
1263
|
*/
|
|
@@ -1303,7 +1346,6 @@ export class Client extends AbstractClient {
|
|
|
1303
1346
|
/**
|
|
1304
1347
|
* 本接口支持泰国身份证识别,识别字段包括泰文姓名、英文姓名、地址、出生日期、身份证号码。
|
|
1305
1348
|
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
|
1306
|
-
|
|
1307
1349
|
*/
|
|
1308
1350
|
async RecognizeThaiIDCardOCR(
|
|
1309
1351
|
req: RecognizeThaiIDCardOCRRequest,
|