tencentcloud-sdk-ocr 1.0.240 → 1.0.244
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 +10 -2
- 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: 4bc4c54870944a49b1c0c1d4fb8626f49258230d
|
4
|
+
data.tar.gz: e734fe12c995a8a20b96859668ecec1efbd0927f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6cac2da2087b64a0ffbf3a72f64c3e0f546cf82f1bb5f1ece4a75d0d2d91bc80197f9fffed0fa8744e0d46d82c40e354de9af7c6444103c78d1bc3c646a77bf
|
7
|
+
data.tar.gz: ebc8828b7eaebc4bc702b29b7ec5ef249422887aae94b4e47072631e2ce4649720da15b9845d3ddff440a2650decd51d9c7b5175b00087affc2c51a9b80b4b52
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.244
|
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
|
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.244
|
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-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|