tencentcloud-sdk-ocr 1.0.239 → 1.0.243
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181119/client.rb +3 -1
- data/lib/v20181119/models.rb +12 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19e846e23d686897381beb7564ed0fc110ed5538
|
4
|
+
data.tar.gz: e250587fe0f27d01ae428df47a58fe13d7a2498a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed70802bba8e87b7830c8a0917a4c84b88d658ea17b833ddc94b69da0ef169b9a9e382cf492d858ddaa12642c18856f2e0ffb7a5b4ebe058f33b80a3592aee1a
|
7
|
+
data.tar.gz: 4919f85b15e2967261b7eb1272c14979ef69089b267ef87d4843a416453fcf870a5d897104285377fafbeb790f3b927a6956cd0f2ee621e688d2c1cca4435e08
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.243
|
data/lib/v20181119/client.rb
CHANGED
@@ -254,7 +254,9 @@ module TencentCloud
|
|
254
254
|
|
255
255
|
# 驾驶证副页:包括证号、姓名、档案编号、记录。
|
256
256
|
|
257
|
-
# 另外,本接口还支持复印件、翻拍和PS
|
257
|
+
# 另外,本接口还支持复印件、翻拍和PS告警功能。同时支持识别交管12123APP发放的电子驾驶证正页。
|
258
|
+
|
259
|
+
# 电子驾驶证正页:包括证号、姓名、性别、国籍、出生日期、初次领证日期、准驾车型、有效期开始时间、有效期截止时间、档案编号、状态、累积记分。
|
258
260
|
|
259
261
|
# @param request: Request instance for DriverLicenseOCR.
|
260
262
|
# @type request: :class:`Tencentcloud::ocr::V20181119::DriverLicenseOCRRequest`
|
data/lib/v20181119/models.rb
CHANGED
@@ -1078,12 +1078,16 @@ module TencentCloud
|
|
1078
1078
|
# @type RecognizeWarnMsg: Array
|
1079
1079
|
# @param IssuingAuthority: 发证单位
|
1080
1080
|
# @type IssuingAuthority: String
|
1081
|
+
# @param State: 状态(仅电子驾驶证支持返回该字段)
|
1082
|
+
# @type State: String
|
1083
|
+
# @param CumulativeScore: 累积记分(仅电子驾驶证支持返回该字段)
|
1084
|
+
# @type CumulativeScore: String
|
1081
1085
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1082
1086
|
# @type RequestId: String
|
1083
1087
|
|
1084
|
-
attr_accessor :Name, :Sex, :Nationality, :Address, :DateOfBirth, :DateOfFirstIssue, :Class, :StartDate, :EndDate, :CardCode, :ArchivesCode, :Record, :RecognizeWarnCode, :RecognizeWarnMsg, :IssuingAuthority, :RequestId
|
1088
|
+
attr_accessor :Name, :Sex, :Nationality, :Address, :DateOfBirth, :DateOfFirstIssue, :Class, :StartDate, :EndDate, :CardCode, :ArchivesCode, :Record, :RecognizeWarnCode, :RecognizeWarnMsg, :IssuingAuthority, :State, :CumulativeScore, :RequestId
|
1085
1089
|
|
1086
|
-
def initialize(name=nil, sex=nil, nationality=nil, address=nil, dateofbirth=nil, dateoffirstissue=nil, _class=nil, startdate=nil, enddate=nil, cardcode=nil, archivescode=nil, record=nil, recognizewarncode=nil, recognizewarnmsg=nil, issuingauthority=nil, requestid=nil)
|
1090
|
+
def initialize(name=nil, sex=nil, nationality=nil, address=nil, dateofbirth=nil, dateoffirstissue=nil, _class=nil, startdate=nil, enddate=nil, cardcode=nil, archivescode=nil, record=nil, recognizewarncode=nil, recognizewarnmsg=nil, issuingauthority=nil, state=nil, cumulativescore=nil, requestid=nil)
|
1087
1091
|
@Name = name
|
1088
1092
|
@Sex = sex
|
1089
1093
|
@Nationality = nationality
|
@@ -1099,6 +1103,8 @@ module TencentCloud
|
|
1099
1103
|
@RecognizeWarnCode = recognizewarncode
|
1100
1104
|
@RecognizeWarnMsg = recognizewarnmsg
|
1101
1105
|
@IssuingAuthority = issuingauthority
|
1106
|
+
@State = state
|
1107
|
+
@CumulativeScore = cumulativescore
|
1102
1108
|
@RequestId = requestid
|
1103
1109
|
end
|
1104
1110
|
|
@@ -1118,6 +1124,8 @@ module TencentCloud
|
|
1118
1124
|
@RecognizeWarnCode = params['RecognizeWarnCode']
|
1119
1125
|
@RecognizeWarnMsg = params['RecognizeWarnMsg']
|
1120
1126
|
@IssuingAuthority = params['IssuingAuthority']
|
1127
|
+
@State = params['State']
|
1128
|
+
@CumulativeScore = params['CumulativeScore']
|
1121
1129
|
@RequestId = params['RequestId']
|
1122
1130
|
end
|
1123
1131
|
end
|
@@ -2716,8 +2724,8 @@ module TencentCloud
|
|
2716
2724
|
|
2717
2725
|
# 通用机打发票信息
|
2718
2726
|
class InvoiceGeneralInfo < TencentCloud::Common::AbstractModel
|
2719
|
-
# @param Name: 识别出的字段名称(关键字)
|
2720
|
-
# 发票代码、发票号码、日期、合计金额(小写)、合计金额(大写)
|
2727
|
+
# @param Name: 识别出的字段名称(关键字),支持以下字段识别(注:下划线表示一个字段):
|
2728
|
+
# 发票代码、发票号码、日期、合计金额(小写)、合计金额(大写)、购买方识别号、销售方识别号、校验码、购买方名称、销售方名称、时间、种类、发票消费类型、省、市、是否有公司印章、发票名称、<span style="text-decoration:underline">购买方地址、电话</span>、<span style="text-decoration:underline">销售方地址、电话</span>、购买方开户行及账号、销售方开户行及账号、经办人取票用户、经办人支付信息、经办人商户号、经办人订单号、<span style="text-decoration:underline">货物或应税劳务、服务名称</span>、数量、单价、税率、税额、金额、单位、规格型号、合计税额、合计金额、备注、收款人、复核、开票人、密码区、行业分类
|
2721
2729
|
# @type Name: String
|
2722
2730
|
# @param Value: 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
|
2723
2731
|
# @type Value: String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ocr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.243
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|