tencentcloud-sdk-ocr 3.0.1202 → 3.0.1204
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/models.rb +4 -12
- 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: d1ff35d5d04077f168d7174451922c91d1886960
|
|
4
|
+
data.tar.gz: dc2a0c1cf0bf12cde566b8f21cdab9f6e130dde3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4ff2244824dc9187c64f9d89f85cc55c910be1053384e4621bc581bb24fba0f24d43f344115c798a725c997f70bf5be98ba0ce2ae0b0836c89f7cbc66bcec0f
|
|
7
|
+
data.tar.gz: d236e7e752f4f8deb8e05df1f4a438ade12174b45eafe890a2e596c7c7133f9cf2960d9da8301b5166cbd079d5138cb05cf6756207d0c3ab48591ed0ef75f412
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1204
|
data/lib/v20181119/models.rb
CHANGED
|
@@ -6241,19 +6241,17 @@ module TencentCloud
|
|
|
6241
6241
|
# @type WarnCardInfos: Array
|
|
6242
6242
|
# @param CardCount: 输入图片中的卡证数量(仅请求曼谷地域[ap-bangkok]返回)
|
|
6243
6243
|
# @type CardCount: Integer
|
|
6244
|
-
# @param IsComplete: 是否完整
|
|
6245
|
-
# @type IsComplete: Boolean
|
|
6246
6244
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6247
6245
|
# @type RequestId: String
|
|
6248
6246
|
|
|
6249
|
-
attr_accessor :ID, :Name, :DateOfBirth, :Sex, :DateOfExpiration, :IssuingCountry, :Nationality, :Warn, :Image, :AdvancedInfo, :CodeSet, :CodeCrc, :Surname, :GivenName, :Type, :PassportRecognizeInfos, :WarnCardInfos, :CardCount, :
|
|
6247
|
+
attr_accessor :ID, :Name, :DateOfBirth, :Sex, :DateOfExpiration, :IssuingCountry, :Nationality, :Warn, :Image, :AdvancedInfo, :CodeSet, :CodeCrc, :Surname, :GivenName, :Type, :PassportRecognizeInfos, :WarnCardInfos, :CardCount, :RequestId
|
|
6250
6248
|
extend Gem::Deprecate
|
|
6251
6249
|
deprecate :Warn, :none, 2026, 1
|
|
6252
6250
|
deprecate :Warn=, :none, 2026, 1
|
|
6253
6251
|
deprecate :AdvancedInfo, :none, 2026, 1
|
|
6254
6252
|
deprecate :AdvancedInfo=, :none, 2026, 1
|
|
6255
6253
|
|
|
6256
|
-
def initialize(id=nil, name=nil, dateofbirth=nil, sex=nil, dateofexpiration=nil, issuingcountry=nil, nationality=nil, warn=nil, image=nil, advancedinfo=nil, codeset=nil, codecrc=nil, surname=nil, givenname=nil, type=nil, passportrecognizeinfos=nil, warncardinfos=nil, cardcount=nil,
|
|
6254
|
+
def initialize(id=nil, name=nil, dateofbirth=nil, sex=nil, dateofexpiration=nil, issuingcountry=nil, nationality=nil, warn=nil, image=nil, advancedinfo=nil, codeset=nil, codecrc=nil, surname=nil, givenname=nil, type=nil, passportrecognizeinfos=nil, warncardinfos=nil, cardcount=nil, requestid=nil)
|
|
6257
6255
|
@ID = id
|
|
6258
6256
|
@Name = name
|
|
6259
6257
|
@DateOfBirth = dateofbirth
|
|
@@ -6272,7 +6270,6 @@ module TencentCloud
|
|
|
6272
6270
|
@PassportRecognizeInfos = passportrecognizeinfos
|
|
6273
6271
|
@WarnCardInfos = warncardinfos
|
|
6274
6272
|
@CardCount = cardcount
|
|
6275
|
-
@IsComplete = iscomplete
|
|
6276
6273
|
@RequestId = requestid
|
|
6277
6274
|
end
|
|
6278
6275
|
|
|
@@ -6298,7 +6295,6 @@ module TencentCloud
|
|
|
6298
6295
|
end
|
|
6299
6296
|
@WarnCardInfos = params['WarnCardInfos']
|
|
6300
6297
|
@CardCount = params['CardCount']
|
|
6301
|
-
@IsComplete = params['IsComplete']
|
|
6302
6298
|
@RequestId = params['RequestId']
|
|
6303
6299
|
end
|
|
6304
6300
|
end
|
|
@@ -9723,17 +9719,15 @@ module TencentCloud
|
|
|
9723
9719
|
# @type AdvancedInfo: String
|
|
9724
9720
|
# @param CardCount: 卡证正面图片中,证件主体的数量(仅请求曼谷地域[ap-bangkok]返回)
|
|
9725
9721
|
# @type CardCount: Integer
|
|
9726
|
-
# @param IsComplete: 卡证字段是否完整,true:完整;false:不完整
|
|
9727
|
-
# @type IsComplete: Boolean
|
|
9728
9722
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9729
9723
|
# @type RequestId: String
|
|
9730
9724
|
|
|
9731
|
-
attr_accessor :ID, :ThaiName, :EnFirstName, :EnLastName, :IssueDate, :ExpirationDate, :EnIssueDate, :EnExpirationDate, :Birthday, :EnBirthday, :Religion, :SerialNumber, :Address, :LaserID, :PortraitImage, :WarnCardInfos, :AdvancedInfo, :CardCount, :
|
|
9725
|
+
attr_accessor :ID, :ThaiName, :EnFirstName, :EnLastName, :IssueDate, :ExpirationDate, :EnIssueDate, :EnExpirationDate, :Birthday, :EnBirthday, :Religion, :SerialNumber, :Address, :LaserID, :PortraitImage, :WarnCardInfos, :AdvancedInfo, :CardCount, :RequestId
|
|
9732
9726
|
extend Gem::Deprecate
|
|
9733
9727
|
deprecate :AdvancedInfo, :none, 2026, 1
|
|
9734
9728
|
deprecate :AdvancedInfo=, :none, 2026, 1
|
|
9735
9729
|
|
|
9736
|
-
def initialize(id=nil, thainame=nil, enfirstname=nil, enlastname=nil, issuedate=nil, expirationdate=nil, enissuedate=nil, enexpirationdate=nil, birthday=nil, enbirthday=nil, religion=nil, serialnumber=nil, address=nil, laserid=nil, portraitimage=nil, warncardinfos=nil, advancedinfo=nil, cardcount=nil,
|
|
9730
|
+
def initialize(id=nil, thainame=nil, enfirstname=nil, enlastname=nil, issuedate=nil, expirationdate=nil, enissuedate=nil, enexpirationdate=nil, birthday=nil, enbirthday=nil, religion=nil, serialnumber=nil, address=nil, laserid=nil, portraitimage=nil, warncardinfos=nil, advancedinfo=nil, cardcount=nil, requestid=nil)
|
|
9737
9731
|
@ID = id
|
|
9738
9732
|
@ThaiName = thainame
|
|
9739
9733
|
@EnFirstName = enfirstname
|
|
@@ -9752,7 +9746,6 @@ module TencentCloud
|
|
|
9752
9746
|
@WarnCardInfos = warncardinfos
|
|
9753
9747
|
@AdvancedInfo = advancedinfo
|
|
9754
9748
|
@CardCount = cardcount
|
|
9755
|
-
@IsComplete = iscomplete
|
|
9756
9749
|
@RequestId = requestid
|
|
9757
9750
|
end
|
|
9758
9751
|
|
|
@@ -9775,7 +9768,6 @@ module TencentCloud
|
|
|
9775
9768
|
@WarnCardInfos = params['WarnCardInfos']
|
|
9776
9769
|
@AdvancedInfo = params['AdvancedInfo']
|
|
9777
9770
|
@CardCount = params['CardCount']
|
|
9778
|
-
@IsComplete = params['IsComplete']
|
|
9779
9771
|
@RequestId = params['RequestId']
|
|
9780
9772
|
end
|
|
9781
9773
|
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: 3.0.
|
|
4
|
+
version: 3.0.1204
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|