tencentcloud-sdk-ocr 1.0.327 → 1.0.328
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181119/client.rb +1 -1
- data/lib/v20181119/models.rb +11 -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: e09d7952b36d621938200a78d98510f9a6cba95e
|
4
|
+
data.tar.gz: d1d593091794559c1fe2fa9280a46f1df95b5031
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 740c4e7efcaefbf3fdcf9bd91fad9129f5949bd096136bfd93e3111340a71e0e6778c27d17d76c09ff37d9534152398a66eaead23ab9c5914fa26d598313bb60
|
7
|
+
data.tar.gz: 717be0cc69f975c319e51d5468f1d80833f317339dbc13027121c44e41debc74bc5037811cadc7f4712f1c987e692ea363a07f0bdf4181e16aca9ea066e683c7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.328
|
data/lib/v20181119/client.rb
CHANGED
@@ -1109,7 +1109,7 @@ module TencentCloud
|
|
1109
1109
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1110
1110
|
end
|
1111
1111
|
|
1112
|
-
#
|
1112
|
+
# 本接口支持 单张、多张、多类型 票据的混合识别,同时支持自选需要识别的票据类型,已支持票种包括:增值税发票(专票、普票、卷票)、全电发票、非税发票、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,并支持其他类发票的识别。
|
1113
1113
|
|
1114
1114
|
# @param request: Request instance for MixedInvoiceOCR.
|
1115
1115
|
# @type request: :class:`Tencentcloud::ocr::V20181119::MixedInvoiceOCRRequest`
|
data/lib/v20181119/models.rb
CHANGED
@@ -3323,20 +3323,28 @@ module TencentCloud
|
|
3323
3323
|
# 11:增值税发票(卷票 )
|
3324
3324
|
# 12:购车发票
|
3325
3325
|
# 13:过路过桥费发票
|
3326
|
+
# 15:非税发票
|
3327
|
+
# 16:全电发票
|
3326
3328
|
# @type Types: Array
|
3329
|
+
# @param ReturnOther: 是否识别其他类型发票,默认为Yes
|
3330
|
+
# Yes:识别其他类型发票
|
3331
|
+
# No:不识别其他类型发票
|
3332
|
+
# @type ReturnOther: String
|
3327
3333
|
|
3328
|
-
attr_accessor :ImageBase64, :ImageUrl, :Types
|
3334
|
+
attr_accessor :ImageBase64, :ImageUrl, :Types, :ReturnOther
|
3329
3335
|
|
3330
|
-
def initialize(imagebase64=nil, imageurl=nil, types=nil)
|
3336
|
+
def initialize(imagebase64=nil, imageurl=nil, types=nil, returnother=nil)
|
3331
3337
|
@ImageBase64 = imagebase64
|
3332
3338
|
@ImageUrl = imageurl
|
3333
3339
|
@Types = types
|
3340
|
+
@ReturnOther = returnother
|
3334
3341
|
end
|
3335
3342
|
|
3336
3343
|
def deserialize(params)
|
3337
3344
|
@ImageBase64 = params['ImageBase64']
|
3338
3345
|
@ImageUrl = params['ImageUrl']
|
3339
3346
|
@Types = params['Types']
|
3347
|
+
@ReturnOther = params['ReturnOther']
|
3340
3348
|
end
|
3341
3349
|
end
|
3342
3350
|
|
@@ -6454,6 +6462,7 @@ module TencentCloud
|
|
6454
6462
|
# 11:卷式发票
|
6455
6463
|
# 14:通行费发票
|
6456
6464
|
# 15:二手车发票
|
6465
|
+
# 32:深圳区块链发票(仅支持新版接口)
|
6457
6466
|
# @type Type: String
|
6458
6467
|
# @param CheckCode: 检验码
|
6459
6468
|
# @type CheckCode: String
|
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.328
|
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-06-
|
11
|
+
date: 2022-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|