tencentcloud-sdk-nodejs 4.0.542 → 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 +188 -0
- package/SERVICE_CHANGELOG.md +264 -37
- package/package.json +1 -1
- package/products.md +18 -18
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cam/v20190116/cam_client.ts +1 -1
- package/src/services/cam/v20190116/cam_models.ts +3 -3
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +24 -12
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +51 -0
- 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/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/scf/v20180416/scf_models.ts +6 -0
- package/src/services/ssa/v20180608/ssa_models.ts +4 -4
- 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 +61 -28
- package/src/services/trtc/v20190722/trtc_models.ts +6 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- 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/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/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/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/scf/v20180416/scf_models.d.ts +5 -0
- package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +4 -4
- 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 +52 -24
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +5 -0
- package/test/cynosdb.v20190107.test.js +14 -4
- package/test/ocr.v20181119.test.js +34 -4
- package/test/tdmq.v20200217.test.js +14 -4
|
@@ -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,
|