tencentcloud-sdk-python-ocr 3.1.112__tar.gz → 3.1.121__tar.gz
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.
- {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.121}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.121}/setup.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.121}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.121}/tencentcloud/ocr/v20181119/models.py +160 -654
- {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.121}/tencentcloud/ocr/v20181119/ocr_client.py +24 -78
- {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.121}/tencentcloud/ocr/v20181119/ocr_client_async.py +19 -63
- {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.121}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ocr-3.1.121/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ocr-3.1.112/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.121}/README.rst +0 -0
- {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.121}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.121}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.121}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.121}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.121}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.121}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.112 → tencentcloud_sdk_python_ocr-3.1.121}/tencentcloud_sdk_python_ocr.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ocr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.121
|
|
4
4
|
Summary: Tencent Cloud Ocr SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.121
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-ocr',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.121,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ocr SDK for Python',
|
|
@@ -23612,254 +23612,6 @@ class RecognizeAgentResponse(AbstractModel):
|
|
|
23612
23612
|
self._RequestId = params.get("RequestId")
|
|
23613
23613
|
|
|
23614
23614
|
|
|
23615
|
-
class RecognizeContainerOCRRequest(AbstractModel):
|
|
23616
|
-
r"""RecognizeContainerOCR请求参数结构体
|
|
23617
|
-
|
|
23618
|
-
"""
|
|
23619
|
-
|
|
23620
|
-
def __init__(self):
|
|
23621
|
-
r"""
|
|
23622
|
-
:param _ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
23623
|
-
:type ImageBase64: str
|
|
23624
|
-
:param _ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
23625
|
-
:type ImageUrl: str
|
|
23626
|
-
"""
|
|
23627
|
-
self._ImageBase64 = None
|
|
23628
|
-
self._ImageUrl = None
|
|
23629
|
-
|
|
23630
|
-
@property
|
|
23631
|
-
def ImageBase64(self):
|
|
23632
|
-
r"""图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
23633
|
-
:rtype: str
|
|
23634
|
-
"""
|
|
23635
|
-
return self._ImageBase64
|
|
23636
|
-
|
|
23637
|
-
@ImageBase64.setter
|
|
23638
|
-
def ImageBase64(self, ImageBase64):
|
|
23639
|
-
self._ImageBase64 = ImageBase64
|
|
23640
|
-
|
|
23641
|
-
@property
|
|
23642
|
-
def ImageUrl(self):
|
|
23643
|
-
r"""图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
23644
|
-
:rtype: str
|
|
23645
|
-
"""
|
|
23646
|
-
return self._ImageUrl
|
|
23647
|
-
|
|
23648
|
-
@ImageUrl.setter
|
|
23649
|
-
def ImageUrl(self, ImageUrl):
|
|
23650
|
-
self._ImageUrl = ImageUrl
|
|
23651
|
-
|
|
23652
|
-
|
|
23653
|
-
def _deserialize(self, params):
|
|
23654
|
-
self._ImageBase64 = params.get("ImageBase64")
|
|
23655
|
-
self._ImageUrl = params.get("ImageUrl")
|
|
23656
|
-
memeber_set = set(params.keys())
|
|
23657
|
-
for name, value in vars(self).items():
|
|
23658
|
-
property_name = name[1:]
|
|
23659
|
-
if property_name in memeber_set:
|
|
23660
|
-
memeber_set.remove(property_name)
|
|
23661
|
-
if len(memeber_set) > 0:
|
|
23662
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23663
|
-
|
|
23664
|
-
|
|
23665
|
-
|
|
23666
|
-
class RecognizeContainerOCRResponse(AbstractModel):
|
|
23667
|
-
r"""RecognizeContainerOCR返回参数结构体
|
|
23668
|
-
|
|
23669
|
-
"""
|
|
23670
|
-
|
|
23671
|
-
def __init__(self):
|
|
23672
|
-
r"""
|
|
23673
|
-
:param _ContainerId: 集装箱箱号
|
|
23674
|
-
:type ContainerId: str
|
|
23675
|
-
:param _ContainerType: 集装箱类型
|
|
23676
|
-
:type ContainerType: str
|
|
23677
|
-
:param _GrossKG: 集装箱总重量,单位:千克(KG)
|
|
23678
|
-
:type GrossKG: str
|
|
23679
|
-
:param _GrossLB: 集装箱总重量,单位:磅(LB)
|
|
23680
|
-
:type GrossLB: str
|
|
23681
|
-
:param _PayloadKG: 集装箱有效承重,单位:千克(KG)
|
|
23682
|
-
:type PayloadKG: str
|
|
23683
|
-
:param _PayloadLB: 集装箱有效承重,单位:磅(LB)
|
|
23684
|
-
:type PayloadLB: str
|
|
23685
|
-
:param _CapacityM3: 集装箱容量,单位:立方米
|
|
23686
|
-
:type CapacityM3: str
|
|
23687
|
-
:param _CapacityFT3: 集装箱容量,单位:立英尺
|
|
23688
|
-
:type CapacityFT3: str
|
|
23689
|
-
:param _Warn: 告警码
|
|
23690
|
-
-9926 集装箱箱号不完整或者不清晰
|
|
23691
|
-
-9927 集装箱类型不完整或者不清晰
|
|
23692
|
-
:type Warn: list of int
|
|
23693
|
-
:param _TareKG: 集装箱自身重量,单位:千克(KG)
|
|
23694
|
-
:type TareKG: str
|
|
23695
|
-
:param _TareLB: 集装箱自身重量,单位:磅(LB)
|
|
23696
|
-
:type TareLB: str
|
|
23697
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23698
|
-
:type RequestId: str
|
|
23699
|
-
"""
|
|
23700
|
-
self._ContainerId = None
|
|
23701
|
-
self._ContainerType = None
|
|
23702
|
-
self._GrossKG = None
|
|
23703
|
-
self._GrossLB = None
|
|
23704
|
-
self._PayloadKG = None
|
|
23705
|
-
self._PayloadLB = None
|
|
23706
|
-
self._CapacityM3 = None
|
|
23707
|
-
self._CapacityFT3 = None
|
|
23708
|
-
self._Warn = None
|
|
23709
|
-
self._TareKG = None
|
|
23710
|
-
self._TareLB = None
|
|
23711
|
-
self._RequestId = None
|
|
23712
|
-
|
|
23713
|
-
@property
|
|
23714
|
-
def ContainerId(self):
|
|
23715
|
-
r"""集装箱箱号
|
|
23716
|
-
:rtype: str
|
|
23717
|
-
"""
|
|
23718
|
-
return self._ContainerId
|
|
23719
|
-
|
|
23720
|
-
@ContainerId.setter
|
|
23721
|
-
def ContainerId(self, ContainerId):
|
|
23722
|
-
self._ContainerId = ContainerId
|
|
23723
|
-
|
|
23724
|
-
@property
|
|
23725
|
-
def ContainerType(self):
|
|
23726
|
-
r"""集装箱类型
|
|
23727
|
-
:rtype: str
|
|
23728
|
-
"""
|
|
23729
|
-
return self._ContainerType
|
|
23730
|
-
|
|
23731
|
-
@ContainerType.setter
|
|
23732
|
-
def ContainerType(self, ContainerType):
|
|
23733
|
-
self._ContainerType = ContainerType
|
|
23734
|
-
|
|
23735
|
-
@property
|
|
23736
|
-
def GrossKG(self):
|
|
23737
|
-
r"""集装箱总重量,单位:千克(KG)
|
|
23738
|
-
:rtype: str
|
|
23739
|
-
"""
|
|
23740
|
-
return self._GrossKG
|
|
23741
|
-
|
|
23742
|
-
@GrossKG.setter
|
|
23743
|
-
def GrossKG(self, GrossKG):
|
|
23744
|
-
self._GrossKG = GrossKG
|
|
23745
|
-
|
|
23746
|
-
@property
|
|
23747
|
-
def GrossLB(self):
|
|
23748
|
-
r"""集装箱总重量,单位:磅(LB)
|
|
23749
|
-
:rtype: str
|
|
23750
|
-
"""
|
|
23751
|
-
return self._GrossLB
|
|
23752
|
-
|
|
23753
|
-
@GrossLB.setter
|
|
23754
|
-
def GrossLB(self, GrossLB):
|
|
23755
|
-
self._GrossLB = GrossLB
|
|
23756
|
-
|
|
23757
|
-
@property
|
|
23758
|
-
def PayloadKG(self):
|
|
23759
|
-
r"""集装箱有效承重,单位:千克(KG)
|
|
23760
|
-
:rtype: str
|
|
23761
|
-
"""
|
|
23762
|
-
return self._PayloadKG
|
|
23763
|
-
|
|
23764
|
-
@PayloadKG.setter
|
|
23765
|
-
def PayloadKG(self, PayloadKG):
|
|
23766
|
-
self._PayloadKG = PayloadKG
|
|
23767
|
-
|
|
23768
|
-
@property
|
|
23769
|
-
def PayloadLB(self):
|
|
23770
|
-
r"""集装箱有效承重,单位:磅(LB)
|
|
23771
|
-
:rtype: str
|
|
23772
|
-
"""
|
|
23773
|
-
return self._PayloadLB
|
|
23774
|
-
|
|
23775
|
-
@PayloadLB.setter
|
|
23776
|
-
def PayloadLB(self, PayloadLB):
|
|
23777
|
-
self._PayloadLB = PayloadLB
|
|
23778
|
-
|
|
23779
|
-
@property
|
|
23780
|
-
def CapacityM3(self):
|
|
23781
|
-
r"""集装箱容量,单位:立方米
|
|
23782
|
-
:rtype: str
|
|
23783
|
-
"""
|
|
23784
|
-
return self._CapacityM3
|
|
23785
|
-
|
|
23786
|
-
@CapacityM3.setter
|
|
23787
|
-
def CapacityM3(self, CapacityM3):
|
|
23788
|
-
self._CapacityM3 = CapacityM3
|
|
23789
|
-
|
|
23790
|
-
@property
|
|
23791
|
-
def CapacityFT3(self):
|
|
23792
|
-
r"""集装箱容量,单位:立英尺
|
|
23793
|
-
:rtype: str
|
|
23794
|
-
"""
|
|
23795
|
-
return self._CapacityFT3
|
|
23796
|
-
|
|
23797
|
-
@CapacityFT3.setter
|
|
23798
|
-
def CapacityFT3(self, CapacityFT3):
|
|
23799
|
-
self._CapacityFT3 = CapacityFT3
|
|
23800
|
-
|
|
23801
|
-
@property
|
|
23802
|
-
def Warn(self):
|
|
23803
|
-
r"""告警码
|
|
23804
|
-
-9926 集装箱箱号不完整或者不清晰
|
|
23805
|
-
-9927 集装箱类型不完整或者不清晰
|
|
23806
|
-
:rtype: list of int
|
|
23807
|
-
"""
|
|
23808
|
-
return self._Warn
|
|
23809
|
-
|
|
23810
|
-
@Warn.setter
|
|
23811
|
-
def Warn(self, Warn):
|
|
23812
|
-
self._Warn = Warn
|
|
23813
|
-
|
|
23814
|
-
@property
|
|
23815
|
-
def TareKG(self):
|
|
23816
|
-
r"""集装箱自身重量,单位:千克(KG)
|
|
23817
|
-
:rtype: str
|
|
23818
|
-
"""
|
|
23819
|
-
return self._TareKG
|
|
23820
|
-
|
|
23821
|
-
@TareKG.setter
|
|
23822
|
-
def TareKG(self, TareKG):
|
|
23823
|
-
self._TareKG = TareKG
|
|
23824
|
-
|
|
23825
|
-
@property
|
|
23826
|
-
def TareLB(self):
|
|
23827
|
-
r"""集装箱自身重量,单位:磅(LB)
|
|
23828
|
-
:rtype: str
|
|
23829
|
-
"""
|
|
23830
|
-
return self._TareLB
|
|
23831
|
-
|
|
23832
|
-
@TareLB.setter
|
|
23833
|
-
def TareLB(self, TareLB):
|
|
23834
|
-
self._TareLB = TareLB
|
|
23835
|
-
|
|
23836
|
-
@property
|
|
23837
|
-
def RequestId(self):
|
|
23838
|
-
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23839
|
-
:rtype: str
|
|
23840
|
-
"""
|
|
23841
|
-
return self._RequestId
|
|
23842
|
-
|
|
23843
|
-
@RequestId.setter
|
|
23844
|
-
def RequestId(self, RequestId):
|
|
23845
|
-
self._RequestId = RequestId
|
|
23846
|
-
|
|
23847
|
-
|
|
23848
|
-
def _deserialize(self, params):
|
|
23849
|
-
self._ContainerId = params.get("ContainerId")
|
|
23850
|
-
self._ContainerType = params.get("ContainerType")
|
|
23851
|
-
self._GrossKG = params.get("GrossKG")
|
|
23852
|
-
self._GrossLB = params.get("GrossLB")
|
|
23853
|
-
self._PayloadKG = params.get("PayloadKG")
|
|
23854
|
-
self._PayloadLB = params.get("PayloadLB")
|
|
23855
|
-
self._CapacityM3 = params.get("CapacityM3")
|
|
23856
|
-
self._CapacityFT3 = params.get("CapacityFT3")
|
|
23857
|
-
self._Warn = params.get("Warn")
|
|
23858
|
-
self._TareKG = params.get("TareKG")
|
|
23859
|
-
self._TareLB = params.get("TareLB")
|
|
23860
|
-
self._RequestId = params.get("RequestId")
|
|
23861
|
-
|
|
23862
|
-
|
|
23863
23615
|
class RecognizeEncryptedIDCardOCRRequest(AbstractModel):
|
|
23864
23616
|
r"""RecognizeEncryptedIDCardOCR请求参数结构体
|
|
23865
23617
|
|
|
@@ -25035,258 +24787,12 @@ class RecognizeGeneralInvoiceResponse(AbstractModel):
|
|
|
25035
24787
|
|
|
25036
24788
|
def _deserialize(self, params):
|
|
25037
24789
|
if params.get("MixedInvoiceItems") is not None:
|
|
25038
|
-
self._MixedInvoiceItems = []
|
|
25039
|
-
for item in params.get("MixedInvoiceItems"):
|
|
25040
|
-
obj = InvoiceItem()
|
|
25041
|
-
obj._deserialize(item)
|
|
25042
|
-
self._MixedInvoiceItems.append(obj)
|
|
25043
|
-
self._TotalPDFCount = params.get("TotalPDFCount")
|
|
25044
|
-
self._RequestId = params.get("RequestId")
|
|
25045
|
-
|
|
25046
|
-
|
|
25047
|
-
class RecognizeHealthCodeOCRRequest(AbstractModel):
|
|
25048
|
-
r"""RecognizeHealthCodeOCR请求参数结构体
|
|
25049
|
-
|
|
25050
|
-
"""
|
|
25051
|
-
|
|
25052
|
-
def __init__(self):
|
|
25053
|
-
r"""
|
|
25054
|
-
:param _ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
25055
|
-
:type ImageBase64: str
|
|
25056
|
-
:param _ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
25057
|
-
:type ImageUrl: str
|
|
25058
|
-
:param _Type: 需要识别的健康码类型列表,为空或不填表示默认为自动识别。
|
|
25059
|
-
0:自动识别
|
|
25060
|
-
:type Type: int
|
|
25061
|
-
"""
|
|
25062
|
-
self._ImageBase64 = None
|
|
25063
|
-
self._ImageUrl = None
|
|
25064
|
-
self._Type = None
|
|
25065
|
-
|
|
25066
|
-
@property
|
|
25067
|
-
def ImageBase64(self):
|
|
25068
|
-
r"""图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
25069
|
-
:rtype: str
|
|
25070
|
-
"""
|
|
25071
|
-
return self._ImageBase64
|
|
25072
|
-
|
|
25073
|
-
@ImageBase64.setter
|
|
25074
|
-
def ImageBase64(self, ImageBase64):
|
|
25075
|
-
self._ImageBase64 = ImageBase64
|
|
25076
|
-
|
|
25077
|
-
@property
|
|
25078
|
-
def ImageUrl(self):
|
|
25079
|
-
r"""图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
25080
|
-
:rtype: str
|
|
25081
|
-
"""
|
|
25082
|
-
return self._ImageUrl
|
|
25083
|
-
|
|
25084
|
-
@ImageUrl.setter
|
|
25085
|
-
def ImageUrl(self, ImageUrl):
|
|
25086
|
-
self._ImageUrl = ImageUrl
|
|
25087
|
-
|
|
25088
|
-
@property
|
|
25089
|
-
def Type(self):
|
|
25090
|
-
r"""需要识别的健康码类型列表,为空或不填表示默认为自动识别。
|
|
25091
|
-
0:自动识别
|
|
25092
|
-
:rtype: int
|
|
25093
|
-
"""
|
|
25094
|
-
return self._Type
|
|
25095
|
-
|
|
25096
|
-
@Type.setter
|
|
25097
|
-
def Type(self, Type):
|
|
25098
|
-
self._Type = Type
|
|
25099
|
-
|
|
25100
|
-
|
|
25101
|
-
def _deserialize(self, params):
|
|
25102
|
-
self._ImageBase64 = params.get("ImageBase64")
|
|
25103
|
-
self._ImageUrl = params.get("ImageUrl")
|
|
25104
|
-
self._Type = params.get("Type")
|
|
25105
|
-
memeber_set = set(params.keys())
|
|
25106
|
-
for name, value in vars(self).items():
|
|
25107
|
-
property_name = name[1:]
|
|
25108
|
-
if property_name in memeber_set:
|
|
25109
|
-
memeber_set.remove(property_name)
|
|
25110
|
-
if len(memeber_set) > 0:
|
|
25111
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
25112
|
-
|
|
25113
|
-
|
|
25114
|
-
|
|
25115
|
-
class RecognizeHealthCodeOCRResponse(AbstractModel):
|
|
25116
|
-
r"""RecognizeHealthCodeOCR返回参数结构体
|
|
25117
|
-
|
|
25118
|
-
"""
|
|
25119
|
-
|
|
25120
|
-
def __init__(self):
|
|
25121
|
-
r"""
|
|
25122
|
-
:param _Name: 持码人姓名,如:王*(允许返回空值)
|
|
25123
|
-
:type Name: str
|
|
25124
|
-
:param _IDNumber: 持码人身份证号,如:11**************01(允许返回空值)
|
|
25125
|
-
:type IDNumber: str
|
|
25126
|
-
:param _Time: 健康码更新时间(允许返回空值)
|
|
25127
|
-
:type Time: str
|
|
25128
|
-
:param _Color: 健康码颜色:绿色、黄色、红色(允许返回空值)
|
|
25129
|
-
:type Color: str
|
|
25130
|
-
:param _TestingInterval: 核酸检测间隔时长(允许返回空值)
|
|
25131
|
-
:type TestingInterval: str
|
|
25132
|
-
:param _TestingResult: 核酸检测结果:阴性、阳性、暂无核酸检测记录(允许返回空值)
|
|
25133
|
-
:type TestingResult: str
|
|
25134
|
-
:param _TestingTime: 核酸检测时间(允许返回空值)
|
|
25135
|
-
:type TestingTime: str
|
|
25136
|
-
:param _Vaccination: 疫苗接种信息,返回接种针数或接种情况(允许返回空值)
|
|
25137
|
-
:type Vaccination: str
|
|
25138
|
-
:param _SpotName: 场所名称(允许返回空值)
|
|
25139
|
-
:type SpotName: str
|
|
25140
|
-
:param _VaccinationTime: 疫苗接种时间
|
|
25141
|
-
:type VaccinationTime: str
|
|
25142
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
25143
|
-
:type RequestId: str
|
|
25144
|
-
"""
|
|
25145
|
-
self._Name = None
|
|
25146
|
-
self._IDNumber = None
|
|
25147
|
-
self._Time = None
|
|
25148
|
-
self._Color = None
|
|
25149
|
-
self._TestingInterval = None
|
|
25150
|
-
self._TestingResult = None
|
|
25151
|
-
self._TestingTime = None
|
|
25152
|
-
self._Vaccination = None
|
|
25153
|
-
self._SpotName = None
|
|
25154
|
-
self._VaccinationTime = None
|
|
25155
|
-
self._RequestId = None
|
|
25156
|
-
|
|
25157
|
-
@property
|
|
25158
|
-
def Name(self):
|
|
25159
|
-
r"""持码人姓名,如:王*(允许返回空值)
|
|
25160
|
-
:rtype: str
|
|
25161
|
-
"""
|
|
25162
|
-
return self._Name
|
|
25163
|
-
|
|
25164
|
-
@Name.setter
|
|
25165
|
-
def Name(self, Name):
|
|
25166
|
-
self._Name = Name
|
|
25167
|
-
|
|
25168
|
-
@property
|
|
25169
|
-
def IDNumber(self):
|
|
25170
|
-
r"""持码人身份证号,如:11**************01(允许返回空值)
|
|
25171
|
-
:rtype: str
|
|
25172
|
-
"""
|
|
25173
|
-
return self._IDNumber
|
|
25174
|
-
|
|
25175
|
-
@IDNumber.setter
|
|
25176
|
-
def IDNumber(self, IDNumber):
|
|
25177
|
-
self._IDNumber = IDNumber
|
|
25178
|
-
|
|
25179
|
-
@property
|
|
25180
|
-
def Time(self):
|
|
25181
|
-
r"""健康码更新时间(允许返回空值)
|
|
25182
|
-
:rtype: str
|
|
25183
|
-
"""
|
|
25184
|
-
return self._Time
|
|
25185
|
-
|
|
25186
|
-
@Time.setter
|
|
25187
|
-
def Time(self, Time):
|
|
25188
|
-
self._Time = Time
|
|
25189
|
-
|
|
25190
|
-
@property
|
|
25191
|
-
def Color(self):
|
|
25192
|
-
r"""健康码颜色:绿色、黄色、红色(允许返回空值)
|
|
25193
|
-
:rtype: str
|
|
25194
|
-
"""
|
|
25195
|
-
return self._Color
|
|
25196
|
-
|
|
25197
|
-
@Color.setter
|
|
25198
|
-
def Color(self, Color):
|
|
25199
|
-
self._Color = Color
|
|
25200
|
-
|
|
25201
|
-
@property
|
|
25202
|
-
def TestingInterval(self):
|
|
25203
|
-
r"""核酸检测间隔时长(允许返回空值)
|
|
25204
|
-
:rtype: str
|
|
25205
|
-
"""
|
|
25206
|
-
return self._TestingInterval
|
|
25207
|
-
|
|
25208
|
-
@TestingInterval.setter
|
|
25209
|
-
def TestingInterval(self, TestingInterval):
|
|
25210
|
-
self._TestingInterval = TestingInterval
|
|
25211
|
-
|
|
25212
|
-
@property
|
|
25213
|
-
def TestingResult(self):
|
|
25214
|
-
r"""核酸检测结果:阴性、阳性、暂无核酸检测记录(允许返回空值)
|
|
25215
|
-
:rtype: str
|
|
25216
|
-
"""
|
|
25217
|
-
return self._TestingResult
|
|
25218
|
-
|
|
25219
|
-
@TestingResult.setter
|
|
25220
|
-
def TestingResult(self, TestingResult):
|
|
25221
|
-
self._TestingResult = TestingResult
|
|
25222
|
-
|
|
25223
|
-
@property
|
|
25224
|
-
def TestingTime(self):
|
|
25225
|
-
r"""核酸检测时间(允许返回空值)
|
|
25226
|
-
:rtype: str
|
|
25227
|
-
"""
|
|
25228
|
-
return self._TestingTime
|
|
25229
|
-
|
|
25230
|
-
@TestingTime.setter
|
|
25231
|
-
def TestingTime(self, TestingTime):
|
|
25232
|
-
self._TestingTime = TestingTime
|
|
25233
|
-
|
|
25234
|
-
@property
|
|
25235
|
-
def Vaccination(self):
|
|
25236
|
-
r"""疫苗接种信息,返回接种针数或接种情况(允许返回空值)
|
|
25237
|
-
:rtype: str
|
|
25238
|
-
"""
|
|
25239
|
-
return self._Vaccination
|
|
25240
|
-
|
|
25241
|
-
@Vaccination.setter
|
|
25242
|
-
def Vaccination(self, Vaccination):
|
|
25243
|
-
self._Vaccination = Vaccination
|
|
25244
|
-
|
|
25245
|
-
@property
|
|
25246
|
-
def SpotName(self):
|
|
25247
|
-
r"""场所名称(允许返回空值)
|
|
25248
|
-
:rtype: str
|
|
25249
|
-
"""
|
|
25250
|
-
return self._SpotName
|
|
25251
|
-
|
|
25252
|
-
@SpotName.setter
|
|
25253
|
-
def SpotName(self, SpotName):
|
|
25254
|
-
self._SpotName = SpotName
|
|
25255
|
-
|
|
25256
|
-
@property
|
|
25257
|
-
def VaccinationTime(self):
|
|
25258
|
-
r"""疫苗接种时间
|
|
25259
|
-
:rtype: str
|
|
25260
|
-
"""
|
|
25261
|
-
return self._VaccinationTime
|
|
25262
|
-
|
|
25263
|
-
@VaccinationTime.setter
|
|
25264
|
-
def VaccinationTime(self, VaccinationTime):
|
|
25265
|
-
self._VaccinationTime = VaccinationTime
|
|
25266
|
-
|
|
25267
|
-
@property
|
|
25268
|
-
def RequestId(self):
|
|
25269
|
-
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
25270
|
-
:rtype: str
|
|
25271
|
-
"""
|
|
25272
|
-
return self._RequestId
|
|
25273
|
-
|
|
25274
|
-
@RequestId.setter
|
|
25275
|
-
def RequestId(self, RequestId):
|
|
25276
|
-
self._RequestId = RequestId
|
|
25277
|
-
|
|
25278
|
-
|
|
25279
|
-
def _deserialize(self, params):
|
|
25280
|
-
self._Name = params.get("Name")
|
|
25281
|
-
self._IDNumber = params.get("IDNumber")
|
|
25282
|
-
self._Time = params.get("Time")
|
|
25283
|
-
self._Color = params.get("Color")
|
|
25284
|
-
self._TestingInterval = params.get("TestingInterval")
|
|
25285
|
-
self._TestingResult = params.get("TestingResult")
|
|
25286
|
-
self._TestingTime = params.get("TestingTime")
|
|
25287
|
-
self._Vaccination = params.get("Vaccination")
|
|
25288
|
-
self._SpotName = params.get("SpotName")
|
|
25289
|
-
self._VaccinationTime = params.get("VaccinationTime")
|
|
24790
|
+
self._MixedInvoiceItems = []
|
|
24791
|
+
for item in params.get("MixedInvoiceItems"):
|
|
24792
|
+
obj = InvoiceItem()
|
|
24793
|
+
obj._deserialize(item)
|
|
24794
|
+
self._MixedInvoiceItems.append(obj)
|
|
24795
|
+
self._TotalPDFCount = params.get("TotalPDFCount")
|
|
25290
24796
|
self._RequestId = params.get("RequestId")
|
|
25291
24797
|
|
|
25292
24798
|
|
|
@@ -26382,160 +25888,6 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
|
26382
25888
|
self._RequestId = params.get("RequestId")
|
|
26383
25889
|
|
|
26384
25890
|
|
|
26385
|
-
class RecognizeTravelCardOCRRequest(AbstractModel):
|
|
26386
|
-
r"""RecognizeTravelCardOCR请求参数结构体
|
|
26387
|
-
|
|
26388
|
-
"""
|
|
26389
|
-
|
|
26390
|
-
def __init__(self):
|
|
26391
|
-
r"""
|
|
26392
|
-
:param _ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
26393
|
-
:type ImageBase64: str
|
|
26394
|
-
:param _ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
26395
|
-
:type ImageUrl: str
|
|
26396
|
-
"""
|
|
26397
|
-
self._ImageBase64 = None
|
|
26398
|
-
self._ImageUrl = None
|
|
26399
|
-
|
|
26400
|
-
@property
|
|
26401
|
-
def ImageBase64(self):
|
|
26402
|
-
r"""图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
26403
|
-
:rtype: str
|
|
26404
|
-
"""
|
|
26405
|
-
return self._ImageBase64
|
|
26406
|
-
|
|
26407
|
-
@ImageBase64.setter
|
|
26408
|
-
def ImageBase64(self, ImageBase64):
|
|
26409
|
-
self._ImageBase64 = ImageBase64
|
|
26410
|
-
|
|
26411
|
-
@property
|
|
26412
|
-
def ImageUrl(self):
|
|
26413
|
-
r"""图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
26414
|
-
:rtype: str
|
|
26415
|
-
"""
|
|
26416
|
-
return self._ImageUrl
|
|
26417
|
-
|
|
26418
|
-
@ImageUrl.setter
|
|
26419
|
-
def ImageUrl(self, ImageUrl):
|
|
26420
|
-
self._ImageUrl = ImageUrl
|
|
26421
|
-
|
|
26422
|
-
|
|
26423
|
-
def _deserialize(self, params):
|
|
26424
|
-
self._ImageBase64 = params.get("ImageBase64")
|
|
26425
|
-
self._ImageUrl = params.get("ImageUrl")
|
|
26426
|
-
memeber_set = set(params.keys())
|
|
26427
|
-
for name, value in vars(self).items():
|
|
26428
|
-
property_name = name[1:]
|
|
26429
|
-
if property_name in memeber_set:
|
|
26430
|
-
memeber_set.remove(property_name)
|
|
26431
|
-
if len(memeber_set) > 0:
|
|
26432
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
26433
|
-
|
|
26434
|
-
|
|
26435
|
-
|
|
26436
|
-
class RecognizeTravelCardOCRResponse(AbstractModel):
|
|
26437
|
-
r"""RecognizeTravelCardOCR返回参数结构体
|
|
26438
|
-
|
|
26439
|
-
"""
|
|
26440
|
-
|
|
26441
|
-
def __init__(self):
|
|
26442
|
-
r"""
|
|
26443
|
-
:param _Time: 行程卡更新时间,格式为:XXXX.XX.XX XX:XX:XX
|
|
26444
|
-
:type Time: str
|
|
26445
|
-
:param _Color: 行程卡颜色:绿色、黄色、红色
|
|
26446
|
-
:type Color: str
|
|
26447
|
-
:param _ReachedCity: 7天内到达或途经的城市(自2022年7月8日起,通信行程卡查询结果的覆盖时间范围由“14天”调整为“7天”)
|
|
26448
|
-
:type ReachedCity: list of str
|
|
26449
|
-
:param _RiskArea: 7天内到达或途径存在中高风险地区的城市(自2022年6月29日起,通信行程卡取消“星号”标记,改字段将返回空值)
|
|
26450
|
-
:type RiskArea: list of str
|
|
26451
|
-
:param _Telephone: 电话号码
|
|
26452
|
-
:type Telephone: str
|
|
26453
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
26454
|
-
:type RequestId: str
|
|
26455
|
-
"""
|
|
26456
|
-
self._Time = None
|
|
26457
|
-
self._Color = None
|
|
26458
|
-
self._ReachedCity = None
|
|
26459
|
-
self._RiskArea = None
|
|
26460
|
-
self._Telephone = None
|
|
26461
|
-
self._RequestId = None
|
|
26462
|
-
|
|
26463
|
-
@property
|
|
26464
|
-
def Time(self):
|
|
26465
|
-
r"""行程卡更新时间,格式为:XXXX.XX.XX XX:XX:XX
|
|
26466
|
-
:rtype: str
|
|
26467
|
-
"""
|
|
26468
|
-
return self._Time
|
|
26469
|
-
|
|
26470
|
-
@Time.setter
|
|
26471
|
-
def Time(self, Time):
|
|
26472
|
-
self._Time = Time
|
|
26473
|
-
|
|
26474
|
-
@property
|
|
26475
|
-
def Color(self):
|
|
26476
|
-
r"""行程卡颜色:绿色、黄色、红色
|
|
26477
|
-
:rtype: str
|
|
26478
|
-
"""
|
|
26479
|
-
return self._Color
|
|
26480
|
-
|
|
26481
|
-
@Color.setter
|
|
26482
|
-
def Color(self, Color):
|
|
26483
|
-
self._Color = Color
|
|
26484
|
-
|
|
26485
|
-
@property
|
|
26486
|
-
def ReachedCity(self):
|
|
26487
|
-
r"""7天内到达或途经的城市(自2022年7月8日起,通信行程卡查询结果的覆盖时间范围由“14天”调整为“7天”)
|
|
26488
|
-
:rtype: list of str
|
|
26489
|
-
"""
|
|
26490
|
-
return self._ReachedCity
|
|
26491
|
-
|
|
26492
|
-
@ReachedCity.setter
|
|
26493
|
-
def ReachedCity(self, ReachedCity):
|
|
26494
|
-
self._ReachedCity = ReachedCity
|
|
26495
|
-
|
|
26496
|
-
@property
|
|
26497
|
-
def RiskArea(self):
|
|
26498
|
-
r"""7天内到达或途径存在中高风险地区的城市(自2022年6月29日起,通信行程卡取消“星号”标记,改字段将返回空值)
|
|
26499
|
-
:rtype: list of str
|
|
26500
|
-
"""
|
|
26501
|
-
return self._RiskArea
|
|
26502
|
-
|
|
26503
|
-
@RiskArea.setter
|
|
26504
|
-
def RiskArea(self, RiskArea):
|
|
26505
|
-
self._RiskArea = RiskArea
|
|
26506
|
-
|
|
26507
|
-
@property
|
|
26508
|
-
def Telephone(self):
|
|
26509
|
-
r"""电话号码
|
|
26510
|
-
:rtype: str
|
|
26511
|
-
"""
|
|
26512
|
-
return self._Telephone
|
|
26513
|
-
|
|
26514
|
-
@Telephone.setter
|
|
26515
|
-
def Telephone(self, Telephone):
|
|
26516
|
-
self._Telephone = Telephone
|
|
26517
|
-
|
|
26518
|
-
@property
|
|
26519
|
-
def RequestId(self):
|
|
26520
|
-
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
26521
|
-
:rtype: str
|
|
26522
|
-
"""
|
|
26523
|
-
return self._RequestId
|
|
26524
|
-
|
|
26525
|
-
@RequestId.setter
|
|
26526
|
-
def RequestId(self, RequestId):
|
|
26527
|
-
self._RequestId = RequestId
|
|
26528
|
-
|
|
26529
|
-
|
|
26530
|
-
def _deserialize(self, params):
|
|
26531
|
-
self._Time = params.get("Time")
|
|
26532
|
-
self._Color = params.get("Color")
|
|
26533
|
-
self._ReachedCity = params.get("ReachedCity")
|
|
26534
|
-
self._RiskArea = params.get("RiskArea")
|
|
26535
|
-
self._Telephone = params.get("Telephone")
|
|
26536
|
-
self._RequestId = params.get("RequestId")
|
|
26537
|
-
|
|
26538
|
-
|
|
26539
25891
|
class RecognizeValidIDCardOCRRequest(AbstractModel):
|
|
26540
25892
|
r"""RecognizeValidIDCardOCR请求参数结构体
|
|
26541
25893
|
|
|
@@ -40590,6 +39942,160 @@ class VehicleRegCertOCRResponse(AbstractModel):
|
|
|
40590
39942
|
self._RequestId = params.get("RequestId")
|
|
40591
39943
|
|
|
40592
39944
|
|
|
39945
|
+
class VerifyBizLicenseEnterprise3Request(AbstractModel):
|
|
39946
|
+
r"""VerifyBizLicenseEnterprise3请求参数结构体
|
|
39947
|
+
|
|
39948
|
+
"""
|
|
39949
|
+
|
|
39950
|
+
def __init__(self):
|
|
39951
|
+
r"""
|
|
39952
|
+
:param _CreditCode: <p>统一社会信用代码</p>
|
|
39953
|
+
:type CreditCode: str
|
|
39954
|
+
:param _EntName: <p>企业名称</p>
|
|
39955
|
+
:type EntName: str
|
|
39956
|
+
:param _LrName: <p>法人代表</p>
|
|
39957
|
+
:type LrName: str
|
|
39958
|
+
:param _VerifyType: <p>核验类型 </p><p>枚举值:</p><ul><li>ENT_2META: 企业名称 、统一社会信用代码</li><li>ENT_3META: 企业名称 、统一社会信用代码 、法人代表名称</li></ul>
|
|
39959
|
+
:type VerifyType: str
|
|
39960
|
+
"""
|
|
39961
|
+
self._CreditCode = None
|
|
39962
|
+
self._EntName = None
|
|
39963
|
+
self._LrName = None
|
|
39964
|
+
self._VerifyType = None
|
|
39965
|
+
|
|
39966
|
+
@property
|
|
39967
|
+
def CreditCode(self):
|
|
39968
|
+
r"""<p>统一社会信用代码</p>
|
|
39969
|
+
:rtype: str
|
|
39970
|
+
"""
|
|
39971
|
+
return self._CreditCode
|
|
39972
|
+
|
|
39973
|
+
@CreditCode.setter
|
|
39974
|
+
def CreditCode(self, CreditCode):
|
|
39975
|
+
self._CreditCode = CreditCode
|
|
39976
|
+
|
|
39977
|
+
@property
|
|
39978
|
+
def EntName(self):
|
|
39979
|
+
r"""<p>企业名称</p>
|
|
39980
|
+
:rtype: str
|
|
39981
|
+
"""
|
|
39982
|
+
return self._EntName
|
|
39983
|
+
|
|
39984
|
+
@EntName.setter
|
|
39985
|
+
def EntName(self, EntName):
|
|
39986
|
+
self._EntName = EntName
|
|
39987
|
+
|
|
39988
|
+
@property
|
|
39989
|
+
def LrName(self):
|
|
39990
|
+
r"""<p>法人代表</p>
|
|
39991
|
+
:rtype: str
|
|
39992
|
+
"""
|
|
39993
|
+
return self._LrName
|
|
39994
|
+
|
|
39995
|
+
@LrName.setter
|
|
39996
|
+
def LrName(self, LrName):
|
|
39997
|
+
self._LrName = LrName
|
|
39998
|
+
|
|
39999
|
+
@property
|
|
40000
|
+
def VerifyType(self):
|
|
40001
|
+
r"""<p>核验类型 </p><p>枚举值:</p><ul><li>ENT_2META: 企业名称 、统一社会信用代码</li><li>ENT_3META: 企业名称 、统一社会信用代码 、法人代表名称</li></ul>
|
|
40002
|
+
:rtype: str
|
|
40003
|
+
"""
|
|
40004
|
+
return self._VerifyType
|
|
40005
|
+
|
|
40006
|
+
@VerifyType.setter
|
|
40007
|
+
def VerifyType(self, VerifyType):
|
|
40008
|
+
self._VerifyType = VerifyType
|
|
40009
|
+
|
|
40010
|
+
|
|
40011
|
+
def _deserialize(self, params):
|
|
40012
|
+
self._CreditCode = params.get("CreditCode")
|
|
40013
|
+
self._EntName = params.get("EntName")
|
|
40014
|
+
self._LrName = params.get("LrName")
|
|
40015
|
+
self._VerifyType = params.get("VerifyType")
|
|
40016
|
+
memeber_set = set(params.keys())
|
|
40017
|
+
for name, value in vars(self).items():
|
|
40018
|
+
property_name = name[1:]
|
|
40019
|
+
if property_name in memeber_set:
|
|
40020
|
+
memeber_set.remove(property_name)
|
|
40021
|
+
if len(memeber_set) > 0:
|
|
40022
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
40023
|
+
|
|
40024
|
+
|
|
40025
|
+
|
|
40026
|
+
class VerifyBizLicenseEnterprise3Response(AbstractModel):
|
|
40027
|
+
r"""VerifyBizLicenseEnterprise3返回参数结构体
|
|
40028
|
+
|
|
40029
|
+
"""
|
|
40030
|
+
|
|
40031
|
+
def __init__(self):
|
|
40032
|
+
r"""
|
|
40033
|
+
:param _StatusCode: <p>0 成功,计费<br>1 系统异常,不计费<br>2 查询无结果,不计费</p>
|
|
40034
|
+
:type StatusCode: int
|
|
40035
|
+
:param _VerifyResult: <p>验证结果<br>1:三要素完全匹配<br>0:三要素不完全匹配<br>仅StatusCode为0时返回</p>
|
|
40036
|
+
:type VerifyResult: int
|
|
40037
|
+
:param _OperatingStatus: <p>企业状态</p><p>枚举值:</p><ul><li>1: 开业(在营)/ 在营</li><li>2: 迁出 / 非在营</li><li>3: 注销</li><li>4: 吊销</li><li>5: 撤销</li><li>6: 停业</li><li>7: 撤销登记</li><li>0: 其他</li><li>/: 无法查询</li></ul><p>企业状态 当VerifyType参数为ENT_2META时,可返回: 0-7, / 当VerifyType参数为ENT_3META时,可返回 1,2</p>
|
|
40038
|
+
:type OperatingStatus: str
|
|
40039
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
40040
|
+
:type RequestId: str
|
|
40041
|
+
"""
|
|
40042
|
+
self._StatusCode = None
|
|
40043
|
+
self._VerifyResult = None
|
|
40044
|
+
self._OperatingStatus = None
|
|
40045
|
+
self._RequestId = None
|
|
40046
|
+
|
|
40047
|
+
@property
|
|
40048
|
+
def StatusCode(self):
|
|
40049
|
+
r"""<p>0 成功,计费<br>1 系统异常,不计费<br>2 查询无结果,不计费</p>
|
|
40050
|
+
:rtype: int
|
|
40051
|
+
"""
|
|
40052
|
+
return self._StatusCode
|
|
40053
|
+
|
|
40054
|
+
@StatusCode.setter
|
|
40055
|
+
def StatusCode(self, StatusCode):
|
|
40056
|
+
self._StatusCode = StatusCode
|
|
40057
|
+
|
|
40058
|
+
@property
|
|
40059
|
+
def VerifyResult(self):
|
|
40060
|
+
r"""<p>验证结果<br>1:三要素完全匹配<br>0:三要素不完全匹配<br>仅StatusCode为0时返回</p>
|
|
40061
|
+
:rtype: int
|
|
40062
|
+
"""
|
|
40063
|
+
return self._VerifyResult
|
|
40064
|
+
|
|
40065
|
+
@VerifyResult.setter
|
|
40066
|
+
def VerifyResult(self, VerifyResult):
|
|
40067
|
+
self._VerifyResult = VerifyResult
|
|
40068
|
+
|
|
40069
|
+
@property
|
|
40070
|
+
def OperatingStatus(self):
|
|
40071
|
+
r"""<p>企业状态</p><p>枚举值:</p><ul><li>1: 开业(在营)/ 在营</li><li>2: 迁出 / 非在营</li><li>3: 注销</li><li>4: 吊销</li><li>5: 撤销</li><li>6: 停业</li><li>7: 撤销登记</li><li>0: 其他</li><li>/: 无法查询</li></ul><p>企业状态 当VerifyType参数为ENT_2META时,可返回: 0-7, / 当VerifyType参数为ENT_3META时,可返回 1,2</p>
|
|
40072
|
+
:rtype: str
|
|
40073
|
+
"""
|
|
40074
|
+
return self._OperatingStatus
|
|
40075
|
+
|
|
40076
|
+
@OperatingStatus.setter
|
|
40077
|
+
def OperatingStatus(self, OperatingStatus):
|
|
40078
|
+
self._OperatingStatus = OperatingStatus
|
|
40079
|
+
|
|
40080
|
+
@property
|
|
40081
|
+
def RequestId(self):
|
|
40082
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
40083
|
+
:rtype: str
|
|
40084
|
+
"""
|
|
40085
|
+
return self._RequestId
|
|
40086
|
+
|
|
40087
|
+
@RequestId.setter
|
|
40088
|
+
def RequestId(self, RequestId):
|
|
40089
|
+
self._RequestId = RequestId
|
|
40090
|
+
|
|
40091
|
+
|
|
40092
|
+
def _deserialize(self, params):
|
|
40093
|
+
self._StatusCode = params.get("StatusCode")
|
|
40094
|
+
self._VerifyResult = params.get("VerifyResult")
|
|
40095
|
+
self._OperatingStatus = params.get("OperatingStatus")
|
|
40096
|
+
self._RequestId = params.get("RequestId")
|
|
40097
|
+
|
|
40098
|
+
|
|
40593
40099
|
class VerifyBizLicenseEnterprise4Request(AbstractModel):
|
|
40594
40100
|
r"""VerifyBizLicenseEnterprise4请求参数结构体
|
|
40595
40101
|
|
|
@@ -1448,30 +1448,6 @@ class OcrClient(AbstractClient):
|
|
|
1448
1448
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1449
1449
|
|
|
1450
1450
|
|
|
1451
|
-
def RecognizeContainerOCR(self, request):
|
|
1452
|
-
r"""本接口支持集装箱箱门信息识别,识别字段包括集装箱箱号、类型、总重量、有效承重、容量、自身重量,具备集装箱箱号、类型不完整或者不清晰的告警功能。
|
|
1453
|
-
默认接口请求频率限制:5次/秒。
|
|
1454
|
-
|
|
1455
|
-
:param request: Request instance for RecognizeContainerOCR.
|
|
1456
|
-
:type request: :class:`tencentcloud.ocr.v20181119.models.RecognizeContainerOCRRequest`
|
|
1457
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.RecognizeContainerOCRResponse`
|
|
1458
|
-
|
|
1459
|
-
"""
|
|
1460
|
-
try:
|
|
1461
|
-
params = request._serialize()
|
|
1462
|
-
headers = request.headers
|
|
1463
|
-
body = self.call("RecognizeContainerOCR", params, headers=headers)
|
|
1464
|
-
response = json.loads(body)
|
|
1465
|
-
model = models.RecognizeContainerOCRResponse()
|
|
1466
|
-
model._deserialize(response["Response"])
|
|
1467
|
-
return model
|
|
1468
|
-
except Exception as e:
|
|
1469
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1470
|
-
raise
|
|
1471
|
-
else:
|
|
1472
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
1451
|
def RecognizeEncryptedIDCardOCR(self, request):
|
|
1476
1452
|
r"""身份证识别(安全加密版)接口实现了数据加密传输,能够有效防止个人身份证隐私信息不被窃取泄露。
|
|
1477
1453
|
|
|
@@ -1830,33 +1806,6 @@ class OcrClient(AbstractClient):
|
|
|
1830
1806
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1831
1807
|
|
|
1832
1808
|
|
|
1833
|
-
def RecognizeHealthCodeOCR(self, request):
|
|
1834
|
-
r"""产品规划
|
|
1835
|
-
|
|
1836
|
-
本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖北、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
|
|
1837
|
-
|
|
1838
|
-
默认接口请求频率限制:10次/秒。
|
|
1839
|
-
|
|
1840
|
-
:param request: Request instance for RecognizeHealthCodeOCR.
|
|
1841
|
-
:type request: :class:`tencentcloud.ocr.v20181119.models.RecognizeHealthCodeOCRRequest`
|
|
1842
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.RecognizeHealthCodeOCRResponse`
|
|
1843
|
-
|
|
1844
|
-
"""
|
|
1845
|
-
try:
|
|
1846
|
-
params = request._serialize()
|
|
1847
|
-
headers = request.headers
|
|
1848
|
-
body = self.call("RecognizeHealthCodeOCR", params, headers=headers)
|
|
1849
|
-
response = json.loads(body)
|
|
1850
|
-
model = models.RecognizeHealthCodeOCRResponse()
|
|
1851
|
-
model._deserialize(response["Response"])
|
|
1852
|
-
return model
|
|
1853
|
-
except Exception as e:
|
|
1854
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1855
|
-
raise
|
|
1856
|
-
else:
|
|
1857
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
1809
|
def RecognizeMedicalInvoiceOCR(self, request):
|
|
1861
1810
|
r"""医疗发票识别目前支持全国统一门诊发票、全国统一住院发票、以及部分地方的门诊和住院发票的识别。
|
|
1862
1811
|
|
|
@@ -1982,33 +1931,6 @@ class OcrClient(AbstractClient):
|
|
|
1982
1931
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1983
1932
|
|
|
1984
1933
|
|
|
1985
|
-
def RecognizeTravelCardOCR(self, request):
|
|
1986
|
-
r"""产品规划
|
|
1987
|
-
|
|
1988
|
-
本接口支持通信大数据行程卡识别,包括行程卡颜色、更新时间、途经地、存在中高风险地区的城市、电话号码,五个字段的识别结果输出。
|
|
1989
|
-
|
|
1990
|
-
默认接口请求频率限制:20次/秒。
|
|
1991
|
-
|
|
1992
|
-
:param request: Request instance for RecognizeTravelCardOCR.
|
|
1993
|
-
:type request: :class:`tencentcloud.ocr.v20181119.models.RecognizeTravelCardOCRRequest`
|
|
1994
|
-
:rtype: :class:`tencentcloud.ocr.v20181119.models.RecognizeTravelCardOCRResponse`
|
|
1995
|
-
|
|
1996
|
-
"""
|
|
1997
|
-
try:
|
|
1998
|
-
params = request._serialize()
|
|
1999
|
-
headers = request.headers
|
|
2000
|
-
body = self.call("RecognizeTravelCardOCR", params, headers=headers)
|
|
2001
|
-
response = json.loads(body)
|
|
2002
|
-
model = models.RecognizeTravelCardOCRResponse()
|
|
2003
|
-
model._deserialize(response["Response"])
|
|
2004
|
-
return model
|
|
2005
|
-
except Exception as e:
|
|
2006
|
-
if isinstance(e, TencentCloudSDKException):
|
|
2007
|
-
raise
|
|
2008
|
-
else:
|
|
2009
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
1934
|
def RecognizeValidIDCardOCR(self, request):
|
|
2013
1935
|
r"""本接口支持二代身份证、临时身份证、港澳台居住证、外国人永久居留证,字段内容识别功能,包括姓名、性别、民族、出生、出生日期、住址、公民身份号码、签发机关、有效期限、国籍、通行证号码、持证人持有号码;支持返回证件类型;支持翻拍、复印、边框不完整、遮挡、字段级反光和字段级完整性告警;支持卡片主体框裁剪和头像裁剪。
|
|
2014
1936
|
|
|
@@ -2417,6 +2339,30 @@ class OcrClient(AbstractClient):
|
|
|
2417
2339
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2418
2340
|
|
|
2419
2341
|
|
|
2342
|
+
def VerifyBizLicenseEnterprise3(self, request):
|
|
2343
|
+
r"""提供比对核验企业名称、统一社会信用代码、法人姓名一致性的服务,助力快速核验企业资质。
|
|
2344
|
+
注意:核验准确率在99%以上,存在个别特殊情况下核验结果不准确,请选用前知悉。
|
|
2345
|
+
|
|
2346
|
+
:param request: Request instance for VerifyBizLicenseEnterprise3.
|
|
2347
|
+
:type request: :class:`tencentcloud.ocr.v20181119.models.VerifyBizLicenseEnterprise3Request`
|
|
2348
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.VerifyBizLicenseEnterprise3Response`
|
|
2349
|
+
|
|
2350
|
+
"""
|
|
2351
|
+
try:
|
|
2352
|
+
params = request._serialize()
|
|
2353
|
+
headers = request.headers
|
|
2354
|
+
body = self.call("VerifyBizLicenseEnterprise3", params, headers=headers)
|
|
2355
|
+
response = json.loads(body)
|
|
2356
|
+
model = models.VerifyBizLicenseEnterprise3Response()
|
|
2357
|
+
model._deserialize(response["Response"])
|
|
2358
|
+
return model
|
|
2359
|
+
except Exception as e:
|
|
2360
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2361
|
+
raise
|
|
2362
|
+
else:
|
|
2363
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2364
|
+
|
|
2365
|
+
|
|
2420
2366
|
def VerifyBizLicenseEnterprise4(self, request):
|
|
2421
2367
|
r"""提供比对校验企业名称、统一社会信用代码、法人姓名、注册登记证件号码一致性的服务,助力快速核验企业资质。
|
|
2422
2368
|
注意:
|
|
@@ -1207,25 +1207,6 @@ class OcrClient(AbstractClient):
|
|
|
1207
1207
|
|
|
1208
1208
|
return await self.call_and_deserialize(**kwargs)
|
|
1209
1209
|
|
|
1210
|
-
async def RecognizeContainerOCR(
|
|
1211
|
-
self,
|
|
1212
|
-
request: models.RecognizeContainerOCRRequest,
|
|
1213
|
-
opts: Dict = None,
|
|
1214
|
-
) -> models.RecognizeContainerOCRResponse:
|
|
1215
|
-
"""
|
|
1216
|
-
本接口支持集装箱箱门信息识别,识别字段包括集装箱箱号、类型、总重量、有效承重、容量、自身重量,具备集装箱箱号、类型不完整或者不清晰的告警功能。
|
|
1217
|
-
默认接口请求频率限制:5次/秒。
|
|
1218
|
-
"""
|
|
1219
|
-
|
|
1220
|
-
kwargs = {}
|
|
1221
|
-
kwargs["action"] = "RecognizeContainerOCR"
|
|
1222
|
-
kwargs["params"] = request._serialize()
|
|
1223
|
-
kwargs["resp_cls"] = models.RecognizeContainerOCRResponse
|
|
1224
|
-
kwargs["headers"] = request.headers
|
|
1225
|
-
kwargs["opts"] = opts or {}
|
|
1226
|
-
|
|
1227
|
-
return await self.call_and_deserialize(**kwargs)
|
|
1228
|
-
|
|
1229
1210
|
async def RecognizeEncryptedIDCardOCR(
|
|
1230
1211
|
self,
|
|
1231
1212
|
request: models.RecognizeEncryptedIDCardOCRRequest,
|
|
@@ -1564,28 +1545,6 @@ class OcrClient(AbstractClient):
|
|
|
1564
1545
|
|
|
1565
1546
|
return await self.call_and_deserialize(**kwargs)
|
|
1566
1547
|
|
|
1567
|
-
async def RecognizeHealthCodeOCR(
|
|
1568
|
-
self,
|
|
1569
|
-
request: models.RecognizeHealthCodeOCRRequest,
|
|
1570
|
-
opts: Dict = None,
|
|
1571
|
-
) -> models.RecognizeHealthCodeOCRResponse:
|
|
1572
|
-
"""
|
|
1573
|
-
产品规划
|
|
1574
|
-
|
|
1575
|
-
本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖北、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
|
|
1576
|
-
|
|
1577
|
-
默认接口请求频率限制:10次/秒。
|
|
1578
|
-
"""
|
|
1579
|
-
|
|
1580
|
-
kwargs = {}
|
|
1581
|
-
kwargs["action"] = "RecognizeHealthCodeOCR"
|
|
1582
|
-
kwargs["params"] = request._serialize()
|
|
1583
|
-
kwargs["resp_cls"] = models.RecognizeHealthCodeOCRResponse
|
|
1584
|
-
kwargs["headers"] = request.headers
|
|
1585
|
-
kwargs["opts"] = opts or {}
|
|
1586
|
-
|
|
1587
|
-
return await self.call_and_deserialize(**kwargs)
|
|
1588
|
-
|
|
1589
1548
|
async def RecognizeMedicalInvoiceOCR(
|
|
1590
1549
|
self,
|
|
1591
1550
|
request: models.RecognizeMedicalInvoiceOCRRequest,
|
|
@@ -1686,28 +1645,6 @@ class OcrClient(AbstractClient):
|
|
|
1686
1645
|
|
|
1687
1646
|
return await self.call_and_deserialize(**kwargs)
|
|
1688
1647
|
|
|
1689
|
-
async def RecognizeTravelCardOCR(
|
|
1690
|
-
self,
|
|
1691
|
-
request: models.RecognizeTravelCardOCRRequest,
|
|
1692
|
-
opts: Dict = None,
|
|
1693
|
-
) -> models.RecognizeTravelCardOCRResponse:
|
|
1694
|
-
"""
|
|
1695
|
-
产品规划
|
|
1696
|
-
|
|
1697
|
-
本接口支持通信大数据行程卡识别,包括行程卡颜色、更新时间、途经地、存在中高风险地区的城市、电话号码,五个字段的识别结果输出。
|
|
1698
|
-
|
|
1699
|
-
默认接口请求频率限制:20次/秒。
|
|
1700
|
-
"""
|
|
1701
|
-
|
|
1702
|
-
kwargs = {}
|
|
1703
|
-
kwargs["action"] = "RecognizeTravelCardOCR"
|
|
1704
|
-
kwargs["params"] = request._serialize()
|
|
1705
|
-
kwargs["resp_cls"] = models.RecognizeTravelCardOCRResponse
|
|
1706
|
-
kwargs["headers"] = request.headers
|
|
1707
|
-
kwargs["opts"] = opts or {}
|
|
1708
|
-
|
|
1709
|
-
return await self.call_and_deserialize(**kwargs)
|
|
1710
|
-
|
|
1711
1648
|
async def RecognizeValidIDCardOCR(
|
|
1712
1649
|
self,
|
|
1713
1650
|
request: models.RecognizeValidIDCardOCRRequest,
|
|
@@ -2036,6 +1973,25 @@ class OcrClient(AbstractClient):
|
|
|
2036
1973
|
|
|
2037
1974
|
return await self.call_and_deserialize(**kwargs)
|
|
2038
1975
|
|
|
1976
|
+
async def VerifyBizLicenseEnterprise3(
|
|
1977
|
+
self,
|
|
1978
|
+
request: models.VerifyBizLicenseEnterprise3Request,
|
|
1979
|
+
opts: Dict = None,
|
|
1980
|
+
) -> models.VerifyBizLicenseEnterprise3Response:
|
|
1981
|
+
"""
|
|
1982
|
+
提供比对核验企业名称、统一社会信用代码、法人姓名一致性的服务,助力快速核验企业资质。
|
|
1983
|
+
注意:核验准确率在99%以上,存在个别特殊情况下核验结果不准确,请选用前知悉。
|
|
1984
|
+
"""
|
|
1985
|
+
|
|
1986
|
+
kwargs = {}
|
|
1987
|
+
kwargs["action"] = "VerifyBizLicenseEnterprise3"
|
|
1988
|
+
kwargs["params"] = request._serialize()
|
|
1989
|
+
kwargs["resp_cls"] = models.VerifyBizLicenseEnterprise3Response
|
|
1990
|
+
kwargs["headers"] = request.headers
|
|
1991
|
+
kwargs["opts"] = opts or {}
|
|
1992
|
+
|
|
1993
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1994
|
+
|
|
2039
1995
|
async def VerifyBizLicenseEnterprise4(
|
|
2040
1996
|
self,
|
|
2041
1997
|
request: models.VerifyBizLicenseEnterprise4Request,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ocr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.121
|
|
4
4
|
Summary: Tencent Cloud Ocr SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.121
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.121
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.112
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|