tencentcloud-sdk-ocr 1.0.241 → 1.0.242

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d27301f5c4bcf75e9cd00019851cdb4bb0e6b4a6
4
- data.tar.gz: a4ac0b6c55ead81b4093605409be031e5d48848b
3
+ metadata.gz: 6535aab48471d3da30517571610ea26d708eb6d7
4
+ data.tar.gz: 72dd2fe597b4db51d8d816c5274640522740c786
5
5
  SHA512:
6
- metadata.gz: 2f34a7e3230964fb61d07946a490c95e13a5edaa5852df1bd91a80e2326a200cfbb71163c68bb54765e1bbd67fdb2032f6e95906c04f3bbf07858f218011a3ff
7
- data.tar.gz: dbc875162d07b0f7ad0380c2c474f46bfa7627b0416b65be4d22f7b1e51a8d8d9af821c741dac21424fb72b8f857575ad848c116c6d1ef066a88c652b8107f84
6
+ metadata.gz: 04a198cc32f1d131dfdd850257c7402bc52190ba77ccc092dd26124143db81395ba3d54dd01737caa93a7b24ba09165eb82fc98e8f611023e94d07d734d45ab5
7
+ data.tar.gz: bb35f5a52cb8bfb73526d5b2bdd866fbd0e18d7eacd2781c2d27d331dc9afba940d1e809561d95c58e8bb2bb6c3d5655030c314ca0000094c27c10245c8ff039
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.241
1
+ 1.0.242
@@ -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.242
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-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common