tencentcloud-sdk-ocr 3.0.879 → 3.0.881
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 +20 -16
- 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: 86e1664c4308692f95533a0d558746710789e7e2
|
|
4
|
+
data.tar.gz: 658cd6111dfadfc10c743672d17e4d3d307f56fa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d3bcbdfa8c70a78eaa9a61d90b98f7f137bd03e816b9cabfd706def423392ca0e10e56729991b2f84e8763f2b2a8263fbf7067498fb65c3a38833d3d23396f44
|
|
7
|
+
data.tar.gz: 1198ab219fe7dd13e2f73c9be64edefbaf28846fa43d146553cc4786d8586c0b85f0d1ac53d483fa8d4f2485b35e35f6e74fac9f8883471c1b9704b37607a60e
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.881
|
data/lib/v20181119/models.rb
CHANGED
|
@@ -1579,8 +1579,8 @@ module TencentCloud
|
|
|
1579
1579
|
|
|
1580
1580
|
attr_accessor :PageNumber, :Angle, :Height, :Width, :OriginHeight, :OriginWidth, :Elements, :RotatedAngle
|
|
1581
1581
|
extend Gem::Deprecate
|
|
1582
|
-
deprecate :Angle, :none, 2024,
|
|
1583
|
-
deprecate :Angle=, :none, 2024,
|
|
1582
|
+
deprecate :Angle, :none, 2024, 8
|
|
1583
|
+
deprecate :Angle=, :none, 2024, 8
|
|
1584
1584
|
|
|
1585
1585
|
def initialize(pagenumber=nil, angle=nil, height=nil, width=nil, originheight=nil, originwidth=nil, elements=nil, rotatedangle=nil)
|
|
1586
1586
|
@PageNumber = pagenumber
|
|
@@ -3374,8 +3374,8 @@ module TencentCloud
|
|
|
3374
3374
|
|
|
3375
3375
|
attr_accessor :TextDetections, :Angel, :Angle, :RequestId
|
|
3376
3376
|
extend Gem::Deprecate
|
|
3377
|
-
deprecate :Angel, :none, 2024,
|
|
3378
|
-
deprecate :Angel=, :none, 2024,
|
|
3377
|
+
deprecate :Angel, :none, 2024, 8
|
|
3378
|
+
deprecate :Angel=, :none, 2024, 8
|
|
3379
3379
|
|
|
3380
3380
|
def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
|
|
3381
3381
|
@TextDetections = textdetections
|
|
@@ -3485,8 +3485,8 @@ module TencentCloud
|
|
|
3485
3485
|
|
|
3486
3486
|
attr_accessor :TextDetections, :Language, :Angel, :PdfPageSize, :Angle, :RequestId
|
|
3487
3487
|
extend Gem::Deprecate
|
|
3488
|
-
deprecate :Angel, :none, 2024,
|
|
3489
|
-
deprecate :Angel=, :none, 2024,
|
|
3488
|
+
deprecate :Angel, :none, 2024, 8
|
|
3489
|
+
deprecate :Angel=, :none, 2024, 8
|
|
3490
3490
|
|
|
3491
3491
|
def initialize(textdetections=nil, language=nil, angel=nil, pdfpagesize=nil, angle=nil, requestid=nil)
|
|
3492
3492
|
@TextDetections = textdetections
|
|
@@ -3876,8 +3876,8 @@ module TencentCloud
|
|
|
3876
3876
|
|
|
3877
3877
|
attr_accessor :ReturnHeadImage, :DetectFake, :ImageBase64, :ImageUrl
|
|
3878
3878
|
extend Gem::Deprecate
|
|
3879
|
-
deprecate :DetectFake, :none, 2024,
|
|
3880
|
-
deprecate :DetectFake=, :none, 2024,
|
|
3879
|
+
deprecate :DetectFake, :none, 2024, 8
|
|
3880
|
+
deprecate :DetectFake=, :none, 2024, 8
|
|
3881
3881
|
|
|
3882
3882
|
def initialize(returnheadimage=nil, detectfake=nil, imagebase64=nil, imageurl=nil)
|
|
3883
3883
|
@ReturnHeadImage = returnheadimage
|
|
@@ -3946,10 +3946,10 @@ module TencentCloud
|
|
|
3946
3946
|
|
|
3947
3947
|
attr_accessor :CnName, :EnName, :TelexCode, :Sex, :Birthday, :Permanent, :IdNum, :Symbol, :FirstIssueDate, :CurrentIssueDate, :FakeDetectResult, :HeadImage, :WarningCode, :WarnCardInfos, :RequestId
|
|
3948
3948
|
extend Gem::Deprecate
|
|
3949
|
-
deprecate :FakeDetectResult, :none, 2024,
|
|
3950
|
-
deprecate :FakeDetectResult=, :none, 2024,
|
|
3951
|
-
deprecate :WarningCode, :none, 2024,
|
|
3952
|
-
deprecate :WarningCode=, :none, 2024,
|
|
3949
|
+
deprecate :FakeDetectResult, :none, 2024, 8
|
|
3950
|
+
deprecate :FakeDetectResult=, :none, 2024, 8
|
|
3951
|
+
deprecate :WarningCode, :none, 2024, 8
|
|
3952
|
+
deprecate :WarningCode=, :none, 2024, 8
|
|
3953
3953
|
|
|
3954
3954
|
def initialize(cnname=nil, enname=nil, telexcode=nil, sex=nil, birthday=nil, permanent=nil, idnum=nil, symbol=nil, firstissuedate=nil, currentissuedate=nil, fakedetectresult=nil, headimage=nil, warningcode=nil, warncardinfos=nil, requestid=nil)
|
|
3955
3955
|
@CnName = cnname
|
|
@@ -5000,8 +5000,8 @@ module TencentCloud
|
|
|
5000
5000
|
|
|
5001
5001
|
attr_accessor :ID, :Name, :Address, :Sex, :Warn, :Image, :AdvancedInfo, :Type, :Birthday, :WarnCardInfos, :RequestId
|
|
5002
5002
|
extend Gem::Deprecate
|
|
5003
|
-
deprecate :Warn, :none, 2024,
|
|
5004
|
-
deprecate :Warn=, :none, 2024,
|
|
5003
|
+
deprecate :Warn, :none, 2024, 8
|
|
5004
|
+
deprecate :Warn=, :none, 2024, 8
|
|
5005
5005
|
|
|
5006
5006
|
def initialize(id=nil, name=nil, address=nil, sex=nil, warn=nil, image=nil, advancedinfo=nil, type=nil, birthday=nil, warncardinfos=nil, requestid=nil)
|
|
5007
5007
|
@ID = id
|
|
@@ -11953,10 +11953,12 @@ module TencentCloud
|
|
|
11953
11953
|
# @type SubTax: String
|
|
11954
11954
|
# @param VatElectronicItems: 电子发票详细条目信息
|
|
11955
11955
|
# @type VatElectronicItems: Array
|
|
11956
|
+
# @param ServiceTypeLabel: 业务类型标志
|
|
11957
|
+
# @type ServiceTypeLabel: String
|
|
11956
11958
|
|
|
11957
|
-
attr_accessor :Title, :Number, :Date, :PretaxAmount, :Tax, :Total, :TotalCn, :Seller, :SellerTaxID, :Buyer, :BuyerTaxID, :Issuer, :Remark, :SubTotal, :SubTax, :VatElectronicItems
|
|
11959
|
+
attr_accessor :Title, :Number, :Date, :PretaxAmount, :Tax, :Total, :TotalCn, :Seller, :SellerTaxID, :Buyer, :BuyerTaxID, :Issuer, :Remark, :SubTotal, :SubTax, :VatElectronicItems, :ServiceTypeLabel
|
|
11958
11960
|
|
|
11959
|
-
def initialize(title=nil, number=nil, date=nil, pretaxamount=nil, tax=nil, total=nil, totalcn=nil, seller=nil, sellertaxid=nil, buyer=nil, buyertaxid=nil, issuer=nil, remark=nil, subtotal=nil, subtax=nil, vatelectronicitems=nil)
|
|
11961
|
+
def initialize(title=nil, number=nil, date=nil, pretaxamount=nil, tax=nil, total=nil, totalcn=nil, seller=nil, sellertaxid=nil, buyer=nil, buyertaxid=nil, issuer=nil, remark=nil, subtotal=nil, subtax=nil, vatelectronicitems=nil, servicetypelabel=nil)
|
|
11960
11962
|
@Title = title
|
|
11961
11963
|
@Number = number
|
|
11962
11964
|
@Date = date
|
|
@@ -11973,6 +11975,7 @@ module TencentCloud
|
|
|
11973
11975
|
@SubTotal = subtotal
|
|
11974
11976
|
@SubTax = subtax
|
|
11975
11977
|
@VatElectronicItems = vatelectronicitems
|
|
11978
|
+
@ServiceTypeLabel = servicetypelabel
|
|
11976
11979
|
end
|
|
11977
11980
|
|
|
11978
11981
|
def deserialize(params)
|
|
@@ -11999,6 +12002,7 @@ module TencentCloud
|
|
|
11999
12002
|
@VatElectronicItems << vatelectroniciteminfo_tmp
|
|
12000
12003
|
end
|
|
12001
12004
|
end
|
|
12005
|
+
@ServiceTypeLabel = params['ServiceTypeLabel']
|
|
12002
12006
|
end
|
|
12003
12007
|
end
|
|
12004
12008
|
|
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.881
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-08-
|
|
11
|
+
date: 2024-08-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|