tencentcloud-sdk-ocr 1.0.241 → 1.0.245

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d27301f5c4bcf75e9cd00019851cdb4bb0e6b4a6
4
- data.tar.gz: a4ac0b6c55ead81b4093605409be031e5d48848b
3
+ metadata.gz: 76657a68a7862f9747df84785d5d35ad8347e252
4
+ data.tar.gz: 797a9bab853e061675f8ae9b6ea383befc9a9d19
5
5
  SHA512:
6
- metadata.gz: 2f34a7e3230964fb61d07946a490c95e13a5edaa5852df1bd91a80e2326a200cfbb71163c68bb54765e1bbd67fdb2032f6e95906c04f3bbf07858f218011a3ff
7
- data.tar.gz: dbc875162d07b0f7ad0380c2c474f46bfa7627b0416b65be4d22f7b1e51a8d8d9af821c741dac21424fb72b8f857575ad848c116c6d1ef066a88c652b8107f84
6
+ metadata.gz: f13753926ea69bf1f68b356c743efd2758e377ff5d6586a2c5576ccb7e1611fbf23a6452ded13206dc17fd19ddda852ff12d9f7ab9b0c1b2dcb3c337355d49dd
7
+ data.tar.gz: 2aeea0dba89090919fc283b5449caaf4ab52b502c42dd245771e1c86503eedea4e88a9e0c34081bde32a4cb6d09e9dc5affe7a7eadf4ded7997a3597f6e1ddf8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.241
1
+ 1.0.245
@@ -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`
@@ -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.241
4
+ version: 1.0.245
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-13 00:00:00.000000000 Z
11
+ date: 2022-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common