tencentcloud-sdk-nodejs-ocr 4.0.973 → 4.0.974

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ocr",
3
- "version": "4.0.973",
3
+ "version": "4.0.974",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -14,10 +14,10 @@
14
14
  | apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
15
15
  | ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
16
16
  | api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 |
17
- | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2024-11-06 01:08:54 |
17
+ | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2024-11-19 01:08:29 |
18
18
  | apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2024-11-15 01:09:10 |
19
- | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-11-15 01:09:21 |
20
- | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-11-11 01:05:31 |
19
+ | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-11-19 01:09:17 |
20
+ | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-11-18 01:09:31 |
21
21
  | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-05-18 01:04:02 |
22
22
  | ba | [ICP备案](https://cloud.tencent.com/document/product/243) | 2024-04-22 01:08:02 |
23
23
  | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-11-15 01:10:08 |
@@ -39,8 +39,8 @@
39
39
  | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2024-10-23 01:09:56 |
40
40
  | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2024-06-19 01:14:59 |
41
41
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-11-15 01:13:36 |
42
- | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-11-15 01:13:45 |
43
- | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-11-15 01:14:07 |
42
+ | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-11-18 01:13:02 |
43
+ | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-11-19 01:13:32 |
44
44
  | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-11-15 01:14:36 |
45
45
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-11-15 01:15:46 |
46
46
  | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-10-25 01:16:59 |
@@ -57,8 +57,8 @@
57
57
  | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 |
58
58
  | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
59
59
  | cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
60
- | ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-11-15 01:19:10 |
61
- | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-11-05 01:20:40 |
60
+ | ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-11-19 01:18:11 |
61
+ | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-11-19 01:18:55 |
62
62
  | cloudapp | [云应用](https://cloud.tencent.com/document/product/1689) | 2024-11-05 01:21:22 |
63
63
  | cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-11-08 01:21:05 |
64
64
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 |
@@ -76,7 +76,7 @@
76
76
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-11-15 01:23:47 |
77
77
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
78
78
  | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-11-07 01:24:28 |
79
- | dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-11-15 01:27:43 |
79
+ | dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-11-19 01:26:13 |
80
80
  | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
81
81
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
82
82
  | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2024-10-22 01:16:15 |
@@ -99,10 +99,10 @@
99
99
  | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
100
100
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-11-15 01:34:09 |
101
101
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-11-15 01:34:50 |
102
- | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-11-15 01:35:24 |
103
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-11-15 01:36:14 |
104
- | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-11-15 01:36:59 |
105
- | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-11-14 01:38:53 |
102
+ | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-11-19 01:33:25 |
103
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-11-19 01:34:13 |
104
+ | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-11-18 01:34:30 |
105
+ | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-11-19 01:35:00 |
106
106
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-11-15 01:37:24 |
107
107
  | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2024-11-15 01:37:30 |
108
108
  | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2024-10-30 01:36:27 |
@@ -116,7 +116,7 @@
116
116
  | hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2024-11-14 01:40:52 |
117
117
  | hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 |
118
118
  | hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2024-05-09 01:16:27 |
119
- | hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-11-12 01:40:53 |
119
+ | hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-11-19 01:36:48 |
120
120
  | iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2024-11-14 01:41:32 |
121
121
  | ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 |
122
122
  | icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2024-04-22 01:17:48 |
@@ -128,7 +128,7 @@
128
128
  | ioa | [iOA 零信任安全管理系统](https://cloud.tencent.com/document/product/1092) | 2024-11-11 01:39:45 |
129
129
  | iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2023-07-17 01:22:28 |
130
130
  | iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2024-06-05 01:47:50 |
131
- | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-11-07 01:40:20 |
131
+ | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-11-19 01:38:03 |
132
132
  | iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2023-05-18 01:33:02 |
133
133
  | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2024-11-06 01:44:05 |
134
134
  | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2024-03-20 01:18:54 |
@@ -139,7 +139,7 @@
139
139
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-11-07 01:44:48 |
140
140
  | lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-11-08 01:44:33 |
141
141
  | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-11-07 01:45:38 |
142
- | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-11-15 01:45:49 |
142
+ | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-11-19 01:43:16 |
143
143
  | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-11-14 01:49:38 |
144
144
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
145
145
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
@@ -151,30 +151,30 @@
151
151
  | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2024-11-11 01:49:22 |
152
152
  | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-08-23 01:55:12 |
153
153
  | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-11-05 01:57:16 |
154
- | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-10-22 01:25:28 |
154
+ | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-11-19 01:46:18 |
155
155
  | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-11-05 01:58:59 |
156
156
  | mqtt | [消息队列 MQTT 版](https://cloud.tencent.com/document/product/1778) | 2024-11-01 01:51:29 |
157
- | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-11-15 01:52:05 |
157
+ | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-11-18 01:47:53 |
158
158
  | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-11-14 01:54:52 |
159
159
  | msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2024-04-17 14:48:31 |
160
160
  | mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
161
161
  | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-09-27 01:23:18 |
162
162
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
163
163
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-11-05 02:01:14 |
164
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-11-15 01:53:15 |
165
- | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-11-15 01:54:17 |
164
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-11-18 14:22:23 |
165
+ | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-11-19 01:50:13 |
166
166
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-11-08 01:54:14 |
167
- | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-11-15 01:55:27 |
167
+ | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-11-19 01:51:23 |
168
168
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-05-18 01:44:14 |
169
169
  | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2024-09-25 01:28:57 |
170
- | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-11-08 01:56:01 |
170
+ | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-11-19 01:52:11 |
171
171
  | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2024-11-07 01:56:43 |
172
- | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-10-22 01:28:15 |
173
- | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-11-11 01:58:20 |
172
+ | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-11-19 01:52:44 |
173
+ | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-11-19 01:52:53 |
174
174
  | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-10-25 02:05:36 |
175
175
  | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 |
176
176
  | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
177
- | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2024-11-15 01:57:50 |
177
+ | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2024-11-18 01:52:29 |
178
178
  | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2024-11-14 02:00:43 |
179
179
  | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2024-10-22 01:28:58 |
180
180
  | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2024-08-12 02:09:46 |
@@ -209,7 +209,7 @@
209
209
  | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-11-04 02:03:35 |
210
210
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2024-07-10 01:25:35 |
211
211
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-06-04 02:17:43 |
212
- | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-11-11 02:06:49 |
212
+ | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-11-19 01:59:41 |
213
213
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-11-14 02:08:25 |
214
214
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-11-05 02:16:13 |
215
215
  | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-11-06 02:09:56 |
@@ -225,14 +225,14 @@
225
225
  | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2024-11-08 02:10:17 |
226
226
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
227
227
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2024-10-30 02:12:39 |
228
- | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-10-31 02:18:23 |
228
+ | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-11-19 02:04:30 |
229
229
  | tourism | [文旅客情大数据](https://cloud.tencent.com/document/product/1684) | 2024-03-20 01:28:59 |
230
230
  | trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
231
231
  | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-10-22 12:32:33 |
232
232
  | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-11-08 02:10:59 |
233
233
  | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-11-14 02:13:50 |
234
234
  | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-11-15 02:11:01 |
235
- | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-11-07 02:12:18 |
235
+ | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-11-18 10:47:50 |
236
236
  | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-09-25 01:37:11 |
237
237
  | tsi | [腾讯同传系统](https://cloud.tencent.com/document/product/1399) | 2024-10-23 01:36:51 |
238
238
  | tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2024-03-20 01:30:06 |
@@ -243,13 +243,13 @@
243
243
  | vdb | [向量数据库](https://cloud.tencent.com/document/product/1709) | 2024-10-16 01:30:53 |
244
244
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-07-26 02:26:34 |
245
245
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 |
246
- | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-09-11 19:07:13 |
247
- | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-11-15 02:16:09 |
246
+ | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-11-18 02:09:13 |
247
+ | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-11-19 02:10:09 |
248
248
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-09-06 02:27:27 |
249
249
  | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-10-16 01:32:39 |
250
- | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-11-14 02:22:02 |
251
- | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-03-20 01:32:09 |
252
- | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-11-12 02:23:06 |
250
+ | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-11-19 02:12:25 |
251
+ | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-11-19 02:13:24 |
252
+ | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-11-18 02:12:52 |
253
253
  | weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-11-07 02:23:06 |
254
254
  | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
255
255
  | yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2024-06-05 02:38:46 |
@@ -1073,8 +1073,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
1073
1073
  * 本接口支持不动产权证关键字段的识别,包括使用期限、面积、用途、权利性质、权利类型、坐落、共有情况、权利人、权利其他状况等。
1074
1074
 
1075
1075
  默认接口请求频率限制:5次/秒。
1076
-
1077
-
1078
1076
  */
1079
1077
  async EstateCertOCR(
1080
1078
  req: EstateCertOCRRequest,
@@ -1542,7 +1540,7 @@ export class Client extends TencentCloudCommon.AbstractClient {
1542
1540
  /**
1543
1541
  * 本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://cloud.tencent.com/product/smart-ocr)。
1544
1542
 
1545
- 默认接口请求频率限制:1次/秒。
1543
+ 默认接口请求频率限制:5次/秒。
1546
1544
  */
1547
1545
  async SmartStructuralPro(
1548
1546
  req: SmartStructuralProRequest,
@@ -70,31 +70,31 @@ export interface TextWaybill {
70
70
  /**
71
71
  * 收件人姓名
72
72
  */
73
- RecName: WaybillObj
73
+ RecName?: WaybillObj
74
74
  /**
75
75
  * 收件人手机号
76
76
  */
77
- RecNum: WaybillObj
77
+ RecNum?: WaybillObj
78
78
  /**
79
79
  * 收件人地址
80
80
  */
81
- RecAddr: WaybillObj
81
+ RecAddr?: WaybillObj
82
82
  /**
83
83
  * 寄件人姓名
84
84
  */
85
- SenderName: WaybillObj
85
+ SenderName?: WaybillObj
86
86
  /**
87
87
  * 寄件人手机号
88
88
  */
89
- SenderNum: WaybillObj
89
+ SenderNum?: WaybillObj
90
90
  /**
91
91
  * 寄件人地址
92
92
  */
93
- SenderAddr: WaybillObj
93
+ SenderAddr?: WaybillObj
94
94
  /**
95
95
  * 运单号
96
96
  */
97
- WaybillNum: WaybillObj
97
+ WaybillNum?: WaybillObj
98
98
  }
99
99
 
100
100
  /**
@@ -455,7 +455,7 @@ OK:表示识别成功;FailedOperation.UnsupportedInvioce:表示不支持
455
455
  FailedOperation.UnKnowError:表示识别失败;
456
456
  其它错误码见各个票据接口的定义。
457
457
  */
458
- Code: string
458
+ Code?: string
459
459
  /**
460
460
  * 识别出的图片所属的票据类型。
461
461
  -1:未知类型
@@ -473,19 +473,19 @@ FailedOperation.UnKnowError:表示识别失败;
473
473
  15:非税发票
474
474
  16:全电发票
475
475
  */
476
- Type: number
476
+ Type?: number
477
477
  /**
478
478
  * 识别出的图片在混贴票据图片中的位置信息。与Angel结合可以得出原图位置,组成RotatedRect((X+0.5\*Width,Y+0.5\*Height), (Width, Height), Angle),详情可参考OpenCV文档。
479
479
  */
480
- Rect: Rect
480
+ Rect?: Rect
481
481
  /**
482
482
  * 识别出的图片在混贴票据图片中的旋转角度。
483
483
  */
484
- Angle: number
484
+ Angle?: number
485
485
  /**
486
486
  * 识别到的内容。
487
487
  */
488
- SingleInvoiceInfos: Array<SingleInvoiceInfo>
488
+ SingleInvoiceInfos?: Array<SingleInvoiceInfo>
489
489
  /**
490
490
  * 发票处于识别图片或PDF文件中的页教,默认从1开始。
491
491
  */
@@ -549,51 +549,51 @@ export interface EstateCertOCRResponse {
549
549
  /**
550
550
  * 权利人
551
551
  */
552
- Obligee: string
552
+ Obligee?: string
553
553
  /**
554
554
  * 共有情况
555
555
  */
556
- Ownership: string
556
+ Ownership?: string
557
557
  /**
558
558
  * 坐落
559
559
  */
560
- Location: string
560
+ Location?: string
561
561
  /**
562
562
  * 不动产单元号
563
563
  */
564
- Unit: string
564
+ Unit?: string
565
565
  /**
566
566
  * 权利类型
567
567
  */
568
- Type: string
568
+ Type?: string
569
569
  /**
570
570
  * 权利性质
571
571
  */
572
- Property: string
572
+ Property?: string
573
573
  /**
574
574
  * 用途
575
575
  */
576
- Usage: string
576
+ Usage?: string
577
577
  /**
578
578
  * 面积
579
579
  */
580
- Area: string
580
+ Area?: string
581
581
  /**
582
582
  * 使用期限
583
583
  */
584
- Term: string
584
+ Term?: string
585
585
  /**
586
586
  * 权利其他状况,多行会用换行符\n连接。
587
587
  */
588
- Other: string
588
+ Other?: string
589
589
  /**
590
590
  * 图片旋转角度
591
591
  */
592
- Angle: number
592
+ Angle?: number
593
593
  /**
594
594
  * 不动产权号
595
595
  */
596
- Number: string
596
+ Number?: string
597
597
  /**
598
598
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
599
599
  */
@@ -1289,19 +1289,19 @@ export interface Rect {
1289
1289
  /**
1290
1290
  * 左上角x
1291
1291
  */
1292
- X: number
1292
+ X?: number
1293
1293
  /**
1294
1294
  * 左上角y
1295
1295
  */
1296
- Y: number
1296
+ Y?: number
1297
1297
  /**
1298
1298
  * 宽度
1299
1299
  */
1300
- Width: number
1300
+ Width?: number
1301
1301
  /**
1302
1302
  * 高度
1303
1303
  */
1304
- Height: number
1304
+ Height?: number
1305
1305
  }
1306
1306
 
1307
1307
  /**
@@ -1686,15 +1686,15 @@ export interface InvoiceGeneralInfo {
1686
1686
  * 识别出的字段名称(关键字),支持以下字段识别(注:下划线表示一个字段):
1687
1687
  发票代码、发票号码、日期、合计金额(小写)、合计金额(大写)、购买方识别号、销售方识别号、校验码、购买方名称、销售方名称、时间、种类、发票消费类型、省、市、是否有公司印章、发票名称、<span style="text-decoration:underline">购买方地址、电话</span>、<span style="text-decoration:underline">销售方地址、电话</span>、购买方开户行及账号、销售方开户行及账号、经办人取票用户、经办人支付信息、经办人商户号、经办人订单号、<span style="text-decoration:underline">货物或应税劳务、服务名称</span>、数量、单价、税率、税额、金额、单位、规格型号、合计税额、合计金额、备注、收款人、复核、开票人、密码区、行业分类
1688
1688
  */
1689
- Name: string
1689
+ Name?: string
1690
1690
  /**
1691
1691
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
1692
1692
  */
1693
- Value: string
1693
+ Value?: string
1694
1694
  /**
1695
1695
  * 文本行在旋转纠正之后的图像中的像素坐标。
1696
1696
  */
1697
- Rect: Rect
1697
+ Rect?: Rect
1698
1698
  }
1699
1699
 
1700
1700
  /**
@@ -1705,17 +1705,17 @@ export interface TextVatInvoice {
1705
1705
  * 识别出的字段名称(关键字)。支持以下字段的识别:
1706
1706
  发票代码、 发票号码、 打印发票代码、 打印发票号码、 开票日期、 购买方识别号、 小写金额、 价税合计(大写)、 销售方识别号、 校验码、 购买方名称、 销售方名称、 税额、 复核、 联次名称、 备注、 联次、 密码区、 开票人、 收款人、 (货物或应税劳务、服务名称)、省、 市、 服务类型、 通行费标志、 是否代开、 是否收购、 合计金额、 是否有公司印章、 发票消费类型、 车船税、 机器编号、 成品油标志、 税率、 合计税额、 (购买方地址、电话)、 (销售方地址、电话)、 单价、 金额、 销售方开户行及账号、 购买方开户行及账号、 规格型号、 发票名称、 单位、 数量、 校验码备选、 校验码后六位备选、发票号码备选、车牌号、类型、通行日期起、通行日期止、发票类型。
1707
1707
  */
1708
- Name: string
1708
+ Name?: string
1709
1709
  /**
1710
1710
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
1711
1711
  */
1712
- Value: string
1712
+ Value?: string
1713
1713
  /**
1714
1714
  * 字段在原图中的中的四点坐标。
1715
1715
  注意:此字段可能返回 null,表示取不到有效值。
1716
1716
  注意:此字段可能返回 null,表示取不到有效值。
1717
1717
  */
1718
- Polygon: Polygon
1718
+ Polygon?: Polygon
1719
1719
  }
1720
1720
 
1721
1721
  /**
@@ -2044,7 +2044,7 @@ export interface InvoiceDetectInfo {
2044
2044
  /**
2045
2045
  * 识别出的图片在混贴票据图片中的旋转角度。
2046
2046
  */
2047
- Angle: number
2047
+ Angle?: number
2048
2048
  /**
2049
2049
  * 识别出的图片所属的票据类型。
2050
2050
  -1:未知类型
@@ -2064,16 +2064,16 @@ export interface InvoiceDetectInfo {
2064
2064
  13:过路过桥费发票
2065
2065
  14:购物小票
2066
2066
  */
2067
- Type: number
2067
+ Type?: number
2068
2068
  /**
2069
2069
  * 识别出的图片在混贴票据图片中的位置信息。与Angel结合可以得出原图位置,组成RotatedRect((X+0.5\*Width,Y+0.5\*Height), (Width, Height), Angle),详情可参考OpenCV文档。
2070
2070
  */
2071
- Rect: Rect
2071
+ Rect?: Rect
2072
2072
  /**
2073
2073
  * 入参 ReturnImage 为 True 时返回 Base64 编码后的图片。
2074
2074
  注意:此字段可能返回 null,表示取不到有效值。
2075
2075
  */
2076
- Image: string
2076
+ Image?: string
2077
2077
  }
2078
2078
 
2079
2079
  /**
@@ -2316,15 +2316,15 @@ export interface OnlineTaxiItineraryInfo {
2316
2316
  * 识别出的字段名称(关键字),支持以下字段:
2317
2317
  发票代码、 机打代码、 发票号码、 发动机号码、 合格证号、 机打号码、 价税合计(小写)、 销货单位名称、 身份证号码/组织机构代码、 购买方名称、 销售方纳税人识别号、 购买方纳税人识别号、主管税务机关、 主管税务机关代码、 开票日期、 不含税价(小写)、 吨位、增值税税率或征收率、 车辆识别代号/车架号码、 增值税税额、 厂牌型号、 省、 市、 发票消费类型、 销售方电话、 销售方账号、 产地、 进口证明书号、 车辆类型、 机器编号、备注、开票人、限乘人数、商检单号、销售方地址、销售方开户银行、价税合计、发票类型。
2318
2318
  */
2319
- Name: string
2319
+ Name?: string
2320
2320
  /**
2321
2321
  * 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
2322
2322
  */
2323
- Value: string
2323
+ Value?: string
2324
2324
  /**
2325
2325
  * 字段所在行,下标从0开始,非行字段或未能识别行号的返回-1
2326
2326
  */
2327
- Row: number
2327
+ Row?: number
2328
2328
  }
2329
2329
 
2330
2330
  /**
@@ -2452,11 +2452,11 @@ export interface FinanBillInfo {
2452
2452
  【银行承兑汇票】或【商业承兑汇票】
2453
2453
  出票日期、行号1、行号2、出票人全称、出票人账号、付款行全称、收款人全称、收款人账号、收款人开户行、出票金额大写、出票金额小写、汇票到期日、付款行行号、付款行地址。
2454
2454
  */
2455
- Name: string
2455
+ Name?: string
2456
2456
  /**
2457
2457
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
2458
2458
  */
2459
- Value: string
2459
+ Value?: string
2460
2460
  }
2461
2461
 
2462
2462
  /**
@@ -2591,15 +2591,15 @@ export interface TollInvoiceInfo {
2591
2591
  * 识别出的字段名称(关键字)。支持以下字段的识别:
2592
2592
  发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志。
2593
2593
  */
2594
- Name: string
2594
+ Name?: string
2595
2595
  /**
2596
2596
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
2597
2597
  */
2598
- Value: string
2598
+ Value?: string
2599
2599
  /**
2600
2600
  * 文本行在旋转纠正之后的图像中的像素坐标。
2601
2601
  */
2602
- Rect: Rect
2602
+ Rect?: Rect
2603
2603
  }
2604
2604
 
2605
2605
  /**
@@ -2610,15 +2610,15 @@ export interface BankSlipInfo {
2610
2610
  * 识别出的字段名称(关键字),支持以下字段:
2611
2611
  付款开户行、收款开户行、付款账号、收款账号、回单类型、回单编号、币种、流水号、凭证号码、交易机构、交易金额、手续费、日期等字段信息。
2612
2612
  */
2613
- Name: string
2613
+ Name?: string
2614
2614
  /**
2615
2615
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
2616
2616
  */
2617
- Value: string
2617
+ Value?: string
2618
2618
  /**
2619
2619
  * 文本行在旋转纠正之后的图像中的像素坐标。
2620
2620
  */
2621
- Rect: Rect
2621
+ Rect?: Rect
2622
2622
  }
2623
2623
 
2624
2624
  /**
@@ -2629,11 +2629,11 @@ export interface SmartStructuralOCRResponse {
2629
2629
  * 图片旋转角度(角度制),文本的水平方向
2630
2630
  为 0;顺时针为正,逆时针为负
2631
2631
  */
2632
- Angle: number
2632
+ Angle?: number
2633
2633
  /**
2634
2634
  * 识别信息
2635
2635
  */
2636
- StructuralItems: Array<StructuralItem>
2636
+ StructuralItems?: Array<StructuralItem>
2637
2637
  /**
2638
2638
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2639
2639
  */
@@ -2684,15 +2684,15 @@ export interface BusInvoiceInfo {
2684
2684
  * 识别出的字段名称(关键字),支持以下字段:
2685
2685
  发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次。
2686
2686
  */
2687
- Name: string
2687
+ Name?: string
2688
2688
  /**
2689
2689
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
2690
2690
  */
2691
- Value: string
2691
+ Value?: string
2692
2692
  /**
2693
2693
  * 文本行在旋转纠正之后的图像中的像素坐标。
2694
2694
  */
2695
- Rect: Rect
2695
+ Rect?: Rect
2696
2696
  }
2697
2697
 
2698
2698
  /**
@@ -4740,15 +4740,15 @@ export interface SingleInvoiceInfo {
4740
4740
  /**
4741
4741
  * 识别出的字段名称
4742
4742
  */
4743
- Name: string
4743
+ Name?: string
4744
4744
  /**
4745
4745
  * 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
4746
4746
  */
4747
- Value: string
4747
+ Value?: string
4748
4748
  /**
4749
4749
  * 字段属于第几行,用于相同字段的排版,如发票明细表格项目,普通字段使用默认值为-1,表示无列排版。
4750
4750
  */
4751
- Row: number
4751
+ Row?: number
4752
4752
  }
4753
4753
 
4754
4754
  /**
@@ -4962,15 +4962,15 @@ export interface EduPaperOCRResponse {
4962
4962
  /**
4963
4963
  * 检测到的文本信息,具体内容请点击左侧链接。
4964
4964
  */
4965
- EduPaperInfos: Array<TextEduPaper>
4965
+ EduPaperInfos?: Array<TextEduPaper>
4966
4966
  /**
4967
4967
  * 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。
4968
4968
  */
4969
- Angle: number
4969
+ Angle?: number
4970
4970
  /**
4971
4971
  * 结构化方式输出,具体内容请点击左侧链接。
4972
4972
  */
4973
- QuestionBlockInfos: Array<QuestionBlockObj>
4973
+ QuestionBlockInfos?: Array<QuestionBlockObj>
4974
4974
  /**
4975
4975
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4976
4976
  */
@@ -6016,7 +6016,7 @@ export interface GeneralBasicOCRRequest {
6016
6016
  */
6017
6017
  ImageBase64?: string
6018
6018
  /**
6019
- * 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
6019
+ * 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
6020
6020
  */
6021
6021
  ImageUrl?: string
6022
6022
  /**
@@ -6825,15 +6825,15 @@ export interface ShipInvoiceInfo {
6825
6825
  * 识别出的字段名称(关键字),支持以下字段:
6826
6826
  发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种。
6827
6827
  */
6828
- Name: string
6828
+ Name?: string
6829
6829
  /**
6830
6830
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
6831
6831
  */
6832
- Value: string
6832
+ Value?: string
6833
6833
  /**
6834
6834
  * 文本行在旋转纠正之后的图像中的像素坐标。
6835
6835
  */
6836
- Rect: Rect
6836
+ Rect?: Rect
6837
6837
  }
6838
6838
 
6839
6839
  /**
@@ -6873,7 +6873,7 @@ export interface GeneralAccurateOCRRequest {
6873
6873
  ImageBase64?: string
6874
6874
  /**
6875
6875
  * 图片的 Url 地址。
6876
- 要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。
6876
+ 要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。图片下载时间不超过 3 秒。
6877
6877
  图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
6878
6878
  */
6879
6879
  ImageUrl?: string
@@ -7236,11 +7236,11 @@ export interface FinanBillSliceInfo {
7236
7236
  * 识别出的字段名称(关键字),支持以下字段:
7237
7237
  大写金额、小写金额、账号、票号1、票号2、收款人、大写日期、同城交换号、地址-省份、地址-城市、付款行全称、支票密码、支票用途。
7238
7238
  */
7239
- Name: string
7239
+ Name?: string
7240
7240
  /**
7241
7241
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
7242
7242
  */
7243
- Value: string
7243
+ Value?: string
7244
7244
  }
7245
7245
 
7246
7246
  /**
@@ -7719,15 +7719,15 @@ export interface DutyPaidProofInfo {
7719
7719
  * 识别出的字段名称(关键字),支持以下字段:
7720
7720
  税号 、纳税人识别号 、纳税人名称 、金额合计大写 、金额合计小写 、填发日期 、税务机关 、填票人。
7721
7721
  */
7722
- Name: string
7722
+ Name?: string
7723
7723
  /**
7724
7724
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
7725
7725
  */
7726
- Value: string
7726
+ Value?: string
7727
7727
  /**
7728
7728
  * 文本行在旋转纠正之后的图像中的像素坐标。
7729
7729
  */
7730
- Rect: Rect
7730
+ Rect?: Rect
7731
7731
  }
7732
7732
 
7733
7733
  /**
@@ -8840,19 +8840,19 @@ export interface Polygon {
8840
8840
  /**
8841
8841
  * 左上顶点坐标
8842
8842
  */
8843
- LeftTop: Coord
8843
+ LeftTop?: Coord
8844
8844
  /**
8845
8845
  * 右上顶点坐标
8846
8846
  */
8847
- RightTop: Coord
8847
+ RightTop?: Coord
8848
8848
  /**
8849
8849
  * 右下顶点坐标
8850
8850
  */
8851
- RightBottom: Coord
8851
+ RightBottom?: Coord
8852
8852
  /**
8853
8853
  * 左下顶点坐标
8854
8854
  */
8855
- LeftBottom: Coord
8855
+ LeftBottom?: Coord
8856
8856
  }
8857
8857
 
8858
8858
  /**
@@ -8976,7 +8976,7 @@ export interface InsuranceBillOCRResponse {
8976
8976
  /**
8977
8977
  * 保险单据识别结果,具体内容请点击左侧链接。
8978
8978
  */
8979
- InsuranceBillInfos: Array<InsuranceBillInfo>
8979
+ InsuranceBillInfos?: Array<InsuranceBillInfo>
8980
8980
  /**
8981
8981
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8982
8982
  */
@@ -10505,15 +10505,15 @@ export interface VatRollInvoiceInfo {
10505
10505
  * 识别出的字段名称(关键字),支持以下字段:
10506
10506
  发票代码、合计金额(小写)、合计金额(大写)、开票日期、发票号码、购买方识别号、销售方识别号、校验码、销售方名称、购买方名称、发票消费类型、省、市、是否有公司印章、单价、金额、数量、服务类型、品名、种类。
10507
10507
  */
10508
- Name: string
10508
+ Name?: string
10509
10509
  /**
10510
10510
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
10511
10511
  */
10512
- Value: string
10512
+ Value?: string
10513
10513
  /**
10514
10514
  * 文本行在旋转纠正之后的图像中的像素坐标。
10515
10515
  */
10516
- Rect: Rect
10516
+ Rect?: Rect
10517
10517
  }
10518
10518
 
10519
10519
  /**
@@ -535,8 +535,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
535
535
  * 本接口支持不动产权证关键字段的识别,包括使用期限、面积、用途、权利性质、权利类型、坐落、共有情况、权利人、权利其他状况等。
536
536
 
537
537
  默认接口请求频率限制:5次/秒。
538
-
539
-
540
538
  */
541
539
  EstateCertOCR(req: EstateCertOCRRequest, cb?: (error: string, rep: EstateCertOCRResponse) => void): Promise<EstateCertOCRResponse>;
542
540
  /**
@@ -794,7 +792,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
794
792
  /**
795
793
  * 本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://cloud.tencent.com/product/smart-ocr)。
796
794
 
797
- 默认接口请求频率限制:1次/秒。
795
+ 默认接口请求频率限制:5次/秒。
798
796
  */
799
797
  SmartStructuralPro(req: SmartStructuralProRequest, cb?: (error: string, rep: SmartStructuralProResponse) => void): Promise<SmartStructuralProResponse>;
800
798
  /**
@@ -624,8 +624,6 @@ class Client extends TencentCloudCommon.AbstractClient {
624
624
  * 本接口支持不动产权证关键字段的识别,包括使用期限、面积、用途、权利性质、权利类型、坐落、共有情况、权利人、权利其他状况等。
625
625
 
626
626
  默认接口请求频率限制:5次/秒。
627
-
628
-
629
627
  */
630
628
  async EstateCertOCR(req, cb) {
631
629
  return this.request("EstateCertOCR", req, cb);
@@ -953,7 +951,7 @@ class Client extends TencentCloudCommon.AbstractClient {
953
951
  /**
954
952
  * 本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://cloud.tencent.com/product/smart-ocr)。
955
953
 
956
- 默认接口请求频率限制:1次/秒。
954
+ 默认接口请求频率限制:5次/秒。
957
955
  */
958
956
  async SmartStructuralPro(req, cb) {
959
957
  return this.request("SmartStructuralPro", req, cb);
@@ -51,31 +51,31 @@ export interface TextWaybill {
51
51
  /**
52
52
  * 收件人姓名
53
53
  */
54
- RecName: WaybillObj;
54
+ RecName?: WaybillObj;
55
55
  /**
56
56
  * 收件人手机号
57
57
  */
58
- RecNum: WaybillObj;
58
+ RecNum?: WaybillObj;
59
59
  /**
60
60
  * 收件人地址
61
61
  */
62
- RecAddr: WaybillObj;
62
+ RecAddr?: WaybillObj;
63
63
  /**
64
64
  * 寄件人姓名
65
65
  */
66
- SenderName: WaybillObj;
66
+ SenderName?: WaybillObj;
67
67
  /**
68
68
  * 寄件人手机号
69
69
  */
70
- SenderNum: WaybillObj;
70
+ SenderNum?: WaybillObj;
71
71
  /**
72
72
  * 寄件人地址
73
73
  */
74
- SenderAddr: WaybillObj;
74
+ SenderAddr?: WaybillObj;
75
75
  /**
76
76
  * 运单号
77
77
  */
78
- WaybillNum: WaybillObj;
78
+ WaybillNum?: WaybillObj;
79
79
  }
80
80
  /**
81
81
  * RecognizeOnlineTaxiItineraryOCR返回参数结构体
@@ -425,7 +425,7 @@ export interface MixedInvoiceItem {
425
425
  FailedOperation.UnKnowError:表示识别失败;
426
426
  其它错误码见各个票据接口的定义。
427
427
  */
428
- Code: string;
428
+ Code?: string;
429
429
  /**
430
430
  * 识别出的图片所属的票据类型。
431
431
  -1:未知类型
@@ -443,19 +443,19 @@ export interface MixedInvoiceItem {
443
443
  15:非税发票
444
444
  16:全电发票
445
445
  */
446
- Type: number;
446
+ Type?: number;
447
447
  /**
448
448
  * 识别出的图片在混贴票据图片中的位置信息。与Angel结合可以得出原图位置,组成RotatedRect((X+0.5\*Width,Y+0.5\*Height), (Width, Height), Angle),详情可参考OpenCV文档。
449
449
  */
450
- Rect: Rect;
450
+ Rect?: Rect;
451
451
  /**
452
452
  * 识别出的图片在混贴票据图片中的旋转角度。
453
453
  */
454
- Angle: number;
454
+ Angle?: number;
455
455
  /**
456
456
  * 识别到的内容。
457
457
  */
458
- SingleInvoiceInfos: Array<SingleInvoiceInfo>;
458
+ SingleInvoiceInfos?: Array<SingleInvoiceInfo>;
459
459
  /**
460
460
  * 发票处于识别图片或PDF文件中的页教,默认从1开始。
461
461
  */
@@ -516,51 +516,51 @@ export interface EstateCertOCRResponse {
516
516
  /**
517
517
  * 权利人
518
518
  */
519
- Obligee: string;
519
+ Obligee?: string;
520
520
  /**
521
521
  * 共有情况
522
522
  */
523
- Ownership: string;
523
+ Ownership?: string;
524
524
  /**
525
525
  * 坐落
526
526
  */
527
- Location: string;
527
+ Location?: string;
528
528
  /**
529
529
  * 不动产单元号
530
530
  */
531
- Unit: string;
531
+ Unit?: string;
532
532
  /**
533
533
  * 权利类型
534
534
  */
535
- Type: string;
535
+ Type?: string;
536
536
  /**
537
537
  * 权利性质
538
538
  */
539
- Property: string;
539
+ Property?: string;
540
540
  /**
541
541
  * 用途
542
542
  */
543
- Usage: string;
543
+ Usage?: string;
544
544
  /**
545
545
  * 面积
546
546
  */
547
- Area: string;
547
+ Area?: string;
548
548
  /**
549
549
  * 使用期限
550
550
  */
551
- Term: string;
551
+ Term?: string;
552
552
  /**
553
553
  * 权利其他状况,多行会用换行符\n连接。
554
554
  */
555
- Other: string;
555
+ Other?: string;
556
556
  /**
557
557
  * 图片旋转角度
558
558
  */
559
- Angle: number;
559
+ Angle?: number;
560
560
  /**
561
561
  * 不动产权号
562
562
  */
563
- Number: string;
563
+ Number?: string;
564
564
  /**
565
565
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
566
566
  */
@@ -1236,19 +1236,19 @@ export interface Rect {
1236
1236
  /**
1237
1237
  * 左上角x
1238
1238
  */
1239
- X: number;
1239
+ X?: number;
1240
1240
  /**
1241
1241
  * 左上角y
1242
1242
  */
1243
- Y: number;
1243
+ Y?: number;
1244
1244
  /**
1245
1245
  * 宽度
1246
1246
  */
1247
- Width: number;
1247
+ Width?: number;
1248
1248
  /**
1249
1249
  * 高度
1250
1250
  */
1251
- Height: number;
1251
+ Height?: number;
1252
1252
  }
1253
1253
  /**
1254
1254
  * 全部车牌信息
@@ -1618,15 +1618,15 @@ export interface InvoiceGeneralInfo {
1618
1618
  * 识别出的字段名称(关键字),支持以下字段识别(注:下划线表示一个字段):
1619
1619
  发票代码、发票号码、日期、合计金额(小写)、合计金额(大写)、购买方识别号、销售方识别号、校验码、购买方名称、销售方名称、时间、种类、发票消费类型、省、市、是否有公司印章、发票名称、<span style="text-decoration:underline">购买方地址、电话</span>、<span style="text-decoration:underline">销售方地址、电话</span>、购买方开户行及账号、销售方开户行及账号、经办人取票用户、经办人支付信息、经办人商户号、经办人订单号、<span style="text-decoration:underline">货物或应税劳务、服务名称</span>、数量、单价、税率、税额、金额、单位、规格型号、合计税额、合计金额、备注、收款人、复核、开票人、密码区、行业分类
1620
1620
  */
1621
- Name: string;
1621
+ Name?: string;
1622
1622
  /**
1623
1623
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
1624
1624
  */
1625
- Value: string;
1625
+ Value?: string;
1626
1626
  /**
1627
1627
  * 文本行在旋转纠正之后的图像中的像素坐标。
1628
1628
  */
1629
- Rect: Rect;
1629
+ Rect?: Rect;
1630
1630
  }
1631
1631
  /**
1632
1632
  * 增值税发票识别结果
@@ -1636,17 +1636,17 @@ export interface TextVatInvoice {
1636
1636
  * 识别出的字段名称(关键字)。支持以下字段的识别:
1637
1637
  发票代码、 发票号码、 打印发票代码、 打印发票号码、 开票日期、 购买方识别号、 小写金额、 价税合计(大写)、 销售方识别号、 校验码、 购买方名称、 销售方名称、 税额、 复核、 联次名称、 备注、 联次、 密码区、 开票人、 收款人、 (货物或应税劳务、服务名称)、省、 市、 服务类型、 通行费标志、 是否代开、 是否收购、 合计金额、 是否有公司印章、 发票消费类型、 车船税、 机器编号、 成品油标志、 税率、 合计税额、 (购买方地址、电话)、 (销售方地址、电话)、 单价、 金额、 销售方开户行及账号、 购买方开户行及账号、 规格型号、 发票名称、 单位、 数量、 校验码备选、 校验码后六位备选、发票号码备选、车牌号、类型、通行日期起、通行日期止、发票类型。
1638
1638
  */
1639
- Name: string;
1639
+ Name?: string;
1640
1640
  /**
1641
1641
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
1642
1642
  */
1643
- Value: string;
1643
+ Value?: string;
1644
1644
  /**
1645
1645
  * 字段在原图中的中的四点坐标。
1646
1646
  注意:此字段可能返回 null,表示取不到有效值。
1647
1647
  注意:此字段可能返回 null,表示取不到有效值。
1648
1648
  */
1649
- Polygon: Polygon;
1649
+ Polygon?: Polygon;
1650
1650
  }
1651
1651
  /**
1652
1652
  * InstitutionOCR返回参数结构体
@@ -1963,7 +1963,7 @@ export interface InvoiceDetectInfo {
1963
1963
  /**
1964
1964
  * 识别出的图片在混贴票据图片中的旋转角度。
1965
1965
  */
1966
- Angle: number;
1966
+ Angle?: number;
1967
1967
  /**
1968
1968
  * 识别出的图片所属的票据类型。
1969
1969
  -1:未知类型
@@ -1983,16 +1983,16 @@ export interface InvoiceDetectInfo {
1983
1983
  13:过路过桥费发票
1984
1984
  14:购物小票
1985
1985
  */
1986
- Type: number;
1986
+ Type?: number;
1987
1987
  /**
1988
1988
  * 识别出的图片在混贴票据图片中的位置信息。与Angel结合可以得出原图位置,组成RotatedRect((X+0.5\*Width,Y+0.5\*Height), (Width, Height), Angle),详情可参考OpenCV文档。
1989
1989
  */
1990
- Rect: Rect;
1990
+ Rect?: Rect;
1991
1991
  /**
1992
1992
  * 入参 ReturnImage 为 True 时返回 Base64 编码后的图片。
1993
1993
  注意:此字段可能返回 null,表示取不到有效值。
1994
1994
  */
1995
- Image: string;
1995
+ Image?: string;
1996
1996
  }
1997
1997
  /**
1998
1998
  * MainlandPermitOCR请求参数结构体
@@ -2227,15 +2227,15 @@ export interface OnlineTaxiItineraryInfo {
2227
2227
  * 识别出的字段名称(关键字),支持以下字段:
2228
2228
  发票代码、 机打代码、 发票号码、 发动机号码、 合格证号、 机打号码、 价税合计(小写)、 销货单位名称、 身份证号码/组织机构代码、 购买方名称、 销售方纳税人识别号、 购买方纳税人识别号、主管税务机关、 主管税务机关代码、 开票日期、 不含税价(小写)、 吨位、增值税税率或征收率、 车辆识别代号/车架号码、 增值税税额、 厂牌型号、 省、 市、 发票消费类型、 销售方电话、 销售方账号、 产地、 进口证明书号、 车辆类型、 机器编号、备注、开票人、限乘人数、商检单号、销售方地址、销售方开户银行、价税合计、发票类型。
2229
2229
  */
2230
- Name: string;
2230
+ Name?: string;
2231
2231
  /**
2232
2232
  * 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
2233
2233
  */
2234
- Value: string;
2234
+ Value?: string;
2235
2235
  /**
2236
2236
  * 字段所在行,下标从0开始,非行字段或未能识别行号的返回-1
2237
2237
  */
2238
- Row: number;
2238
+ Row?: number;
2239
2239
  }
2240
2240
  /**
2241
2241
  * 机票详细信息元组
@@ -2359,11 +2359,11 @@ export interface FinanBillInfo {
2359
2359
  【银行承兑汇票】或【商业承兑汇票】
2360
2360
  出票日期、行号1、行号2、出票人全称、出票人账号、付款行全称、收款人全称、收款人账号、收款人开户行、出票金额大写、出票金额小写、汇票到期日、付款行行号、付款行地址。
2361
2361
  */
2362
- Name: string;
2362
+ Name?: string;
2363
2363
  /**
2364
2364
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
2365
2365
  */
2366
- Value: string;
2366
+ Value?: string;
2367
2367
  }
2368
2368
  /**
2369
2369
  * TrainTicketOCR返回参数结构体
@@ -2495,15 +2495,15 @@ export interface TollInvoiceInfo {
2495
2495
  * 识别出的字段名称(关键字)。支持以下字段的识别:
2496
2496
  发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志。
2497
2497
  */
2498
- Name: string;
2498
+ Name?: string;
2499
2499
  /**
2500
2500
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
2501
2501
  */
2502
- Value: string;
2502
+ Value?: string;
2503
2503
  /**
2504
2504
  * 文本行在旋转纠正之后的图像中的像素坐标。
2505
2505
  */
2506
- Rect: Rect;
2506
+ Rect?: Rect;
2507
2507
  }
2508
2508
  /**
2509
2509
  * 银行回单识别出的字段
@@ -2513,15 +2513,15 @@ export interface BankSlipInfo {
2513
2513
  * 识别出的字段名称(关键字),支持以下字段:
2514
2514
  付款开户行、收款开户行、付款账号、收款账号、回单类型、回单编号、币种、流水号、凭证号码、交易机构、交易金额、手续费、日期等字段信息。
2515
2515
  */
2516
- Name: string;
2516
+ Name?: string;
2517
2517
  /**
2518
2518
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
2519
2519
  */
2520
- Value: string;
2520
+ Value?: string;
2521
2521
  /**
2522
2522
  * 文本行在旋转纠正之后的图像中的像素坐标。
2523
2523
  */
2524
- Rect: Rect;
2524
+ Rect?: Rect;
2525
2525
  }
2526
2526
  /**
2527
2527
  * SmartStructuralOCR返回参数结构体
@@ -2531,11 +2531,11 @@ export interface SmartStructuralOCRResponse {
2531
2531
  * 图片旋转角度(角度制),文本的水平方向
2532
2532
  为 0;顺时针为正,逆时针为负
2533
2533
  */
2534
- Angle: number;
2534
+ Angle?: number;
2535
2535
  /**
2536
2536
  * 识别信息
2537
2537
  */
2538
- StructuralItems: Array<StructuralItem>;
2538
+ StructuralItems?: Array<StructuralItem>;
2539
2539
  /**
2540
2540
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2541
2541
  */
@@ -2583,15 +2583,15 @@ export interface BusInvoiceInfo {
2583
2583
  * 识别出的字段名称(关键字),支持以下字段:
2584
2584
  发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次。
2585
2585
  */
2586
- Name: string;
2586
+ Name?: string;
2587
2587
  /**
2588
2588
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
2589
2589
  */
2590
- Value: string;
2590
+ Value?: string;
2591
2591
  /**
2592
2592
  * 文本行在旋转纠正之后的图像中的像素坐标。
2593
2593
  */
2594
- Rect: Rect;
2594
+ Rect?: Rect;
2595
2595
  }
2596
2596
  /**
2597
2597
  * 单元格数据
@@ -4591,15 +4591,15 @@ export interface SingleInvoiceInfo {
4591
4591
  /**
4592
4592
  * 识别出的字段名称
4593
4593
  */
4594
- Name: string;
4594
+ Name?: string;
4595
4595
  /**
4596
4596
  * 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
4597
4597
  */
4598
- Value: string;
4598
+ Value?: string;
4599
4599
  /**
4600
4600
  * 字段属于第几行,用于相同字段的排版,如发票明细表格项目,普通字段使用默认值为-1,表示无列排版。
4601
4601
  */
4602
- Row: number;
4602
+ Row?: number;
4603
4603
  }
4604
4604
  /**
4605
4605
  * RecognizeContainerOCR请求参数结构体
@@ -4807,15 +4807,15 @@ export interface EduPaperOCRResponse {
4807
4807
  /**
4808
4808
  * 检测到的文本信息,具体内容请点击左侧链接。
4809
4809
  */
4810
- EduPaperInfos: Array<TextEduPaper>;
4810
+ EduPaperInfos?: Array<TextEduPaper>;
4811
4811
  /**
4812
4812
  * 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。
4813
4813
  */
4814
- Angle: number;
4814
+ Angle?: number;
4815
4815
  /**
4816
4816
  * 结构化方式输出,具体内容请点击左侧链接。
4817
4817
  */
4818
- QuestionBlockInfos: Array<QuestionBlockObj>;
4818
+ QuestionBlockInfos?: Array<QuestionBlockObj>;
4819
4819
  /**
4820
4820
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4821
4821
  */
@@ -5841,7 +5841,7 @@ export interface GeneralBasicOCRRequest {
5841
5841
  */
5842
5842
  ImageBase64?: string;
5843
5843
  /**
5844
- * 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
5844
+ * 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
5845
5845
  */
5846
5846
  ImageUrl?: string;
5847
5847
  /**
@@ -6633,15 +6633,15 @@ export interface ShipInvoiceInfo {
6633
6633
  * 识别出的字段名称(关键字),支持以下字段:
6634
6634
  发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种。
6635
6635
  */
6636
- Name: string;
6636
+ Name?: string;
6637
6637
  /**
6638
6638
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
6639
6639
  */
6640
- Value: string;
6640
+ Value?: string;
6641
6641
  /**
6642
6642
  * 文本行在旋转纠正之后的图像中的像素坐标。
6643
6643
  */
6644
- Rect: Rect;
6644
+ Rect?: Rect;
6645
6645
  }
6646
6646
  /**
6647
6647
  * 医疗发票识别结果
@@ -6679,7 +6679,7 @@ export interface GeneralAccurateOCRRequest {
6679
6679
  ImageBase64?: string;
6680
6680
  /**
6681
6681
  * 图片的 Url 地址。
6682
- 要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。
6682
+ 要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。图片下载时间不超过 3 秒。
6683
6683
  图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
6684
6684
  */
6685
6685
  ImageUrl?: string;
@@ -7030,11 +7030,11 @@ export interface FinanBillSliceInfo {
7030
7030
  * 识别出的字段名称(关键字),支持以下字段:
7031
7031
  大写金额、小写金额、账号、票号1、票号2、收款人、大写日期、同城交换号、地址-省份、地址-城市、付款行全称、支票密码、支票用途。
7032
7032
  */
7033
- Name: string;
7033
+ Name?: string;
7034
7034
  /**
7035
7035
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
7036
7036
  */
7037
- Value: string;
7037
+ Value?: string;
7038
7038
  }
7039
7039
  /**
7040
7040
  * RideHailingDriverLicenseOCR请求参数结构体
@@ -7499,15 +7499,15 @@ export interface DutyPaidProofInfo {
7499
7499
  * 识别出的字段名称(关键字),支持以下字段:
7500
7500
  税号 、纳税人识别号 、纳税人名称 、金额合计大写 、金额合计小写 、填发日期 、税务机关 、填票人。
7501
7501
  */
7502
- Name: string;
7502
+ Name?: string;
7503
7503
  /**
7504
7504
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
7505
7505
  */
7506
- Value: string;
7506
+ Value?: string;
7507
7507
  /**
7508
7508
  * 文本行在旋转纠正之后的图像中的像素坐标。
7509
7509
  */
7510
- Rect: Rect;
7510
+ Rect?: Rect;
7511
7511
  }
7512
7512
  /**
7513
7513
  * FinanBillOCR返回参数结构体
@@ -8588,19 +8588,19 @@ export interface Polygon {
8588
8588
  /**
8589
8589
  * 左上顶点坐标
8590
8590
  */
8591
- LeftTop: Coord;
8591
+ LeftTop?: Coord;
8592
8592
  /**
8593
8593
  * 右上顶点坐标
8594
8594
  */
8595
- RightTop: Coord;
8595
+ RightTop?: Coord;
8596
8596
  /**
8597
8597
  * 右下顶点坐标
8598
8598
  */
8599
- RightBottom: Coord;
8599
+ RightBottom?: Coord;
8600
8600
  /**
8601
8601
  * 左下顶点坐标
8602
8602
  */
8603
- LeftBottom: Coord;
8603
+ LeftBottom?: Coord;
8604
8604
  }
8605
8605
  /**
8606
8606
  * GetTaskState返回参数结构体
@@ -8718,7 +8718,7 @@ export interface InsuranceBillOCRResponse {
8718
8718
  /**
8719
8719
  * 保险单据识别结果,具体内容请点击左侧链接。
8720
8720
  */
8721
- InsuranceBillInfos: Array<InsuranceBillInfo>;
8721
+ InsuranceBillInfos?: Array<InsuranceBillInfo>;
8722
8722
  /**
8723
8723
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8724
8724
  */
@@ -10205,15 +10205,15 @@ export interface VatRollInvoiceInfo {
10205
10205
  * 识别出的字段名称(关键字),支持以下字段:
10206
10206
  发票代码、合计金额(小写)、合计金额(大写)、开票日期、发票号码、购买方识别号、销售方识别号、校验码、销售方名称、购买方名称、发票消费类型、省、市、是否有公司印章、单价、金额、数量、服务类型、品名、种类。
10207
10207
  */
10208
- Name: string;
10208
+ Name?: string;
10209
10209
  /**
10210
10210
  * 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
10211
10211
  */
10212
- Value: string;
10212
+ Value?: string;
10213
10213
  /**
10214
10214
  * 文本行在旋转纠正之后的图像中的像素坐标。
10215
10215
  */
10216
- Rect: Rect;
10216
+ Rect?: Rect;
10217
10217
  }
10218
10218
  /**
10219
10219
  * RecognizeOnlineTaxiItineraryOCR请求参数结构体