tencentcloud-sdk-python-ocr 3.1.202__tar.gz → 3.1.203__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.203}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.203}/setup.py +1 -1
  3. {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.203}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.203}/tencentcloud/ocr/v20181119/models.py +529 -0
  5. {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.203}/tencentcloud/ocr/v20181119/ocr_client.py +23 -0
  6. {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.203}/tencentcloud/ocr/v20181119/ocr_client_async.py +18 -0
  7. {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.203}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_ocr-3.1.203/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_ocr-3.1.202/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.203}/README.rst +0 -0
  11. {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.203}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.203}/tencentcloud/ocr/__init__.py +0 -0
  13. {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.203}/tencentcloud/ocr/v20181119/__init__.py +0 -0
  14. {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.203}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.203}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.203}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_ocr-3.1.202 → tencentcloud_sdk_python_ocr-3.1.203}/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.202
3
+ Version: 3.1.203
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.202
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.203
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.202,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.203,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Ocr SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.202'
17
+ __version__ = '3.1.203'
@@ -22528,6 +22528,535 @@ DataMatrix:DATA_MATRIX
22528
22528
 
22529
22529
 
22530
22530
 
22531
+ class QueryEnterpriseBasicInfoRequest(AbstractModel):
22532
+ r"""QueryEnterpriseBasicInfo请求参数结构体
22533
+
22534
+ """
22535
+
22536
+ def __init__(self):
22537
+ r"""
22538
+ :param _CreditCode: <p>统一社会信用代码。CreditCode、EntName 必须提供一个,如果都提供,只使用 CreditCode。</p>
22539
+ :type CreditCode: str
22540
+ :param _EntName: <p>企业名称。CreditCode、EntName 必须提供一个,如果都提供,只使用 CreditCode。</p>
22541
+ :type EntName: str
22542
+ """
22543
+ self._CreditCode = None
22544
+ self._EntName = None
22545
+
22546
+ @property
22547
+ def CreditCode(self):
22548
+ r"""<p>统一社会信用代码。CreditCode、EntName 必须提供一个,如果都提供,只使用 CreditCode。</p>
22549
+ :rtype: str
22550
+ """
22551
+ return self._CreditCode
22552
+
22553
+ @CreditCode.setter
22554
+ def CreditCode(self, CreditCode):
22555
+ self._CreditCode = CreditCode
22556
+
22557
+ @property
22558
+ def EntName(self):
22559
+ r"""<p>企业名称。CreditCode、EntName 必须提供一个,如果都提供,只使用 CreditCode。</p>
22560
+ :rtype: str
22561
+ """
22562
+ return self._EntName
22563
+
22564
+ @EntName.setter
22565
+ def EntName(self, EntName):
22566
+ self._EntName = EntName
22567
+
22568
+
22569
+ def _deserialize(self, params):
22570
+ self._CreditCode = params.get("CreditCode")
22571
+ self._EntName = params.get("EntName")
22572
+ memeber_set = set(params.keys())
22573
+ for name, value in vars(self).items():
22574
+ property_name = name[1:]
22575
+ if property_name in memeber_set:
22576
+ memeber_set.remove(property_name)
22577
+ if len(memeber_set) > 0:
22578
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
22579
+
22580
+
22581
+
22582
+ class QueryEnterpriseBasicInfoResponse(AbstractModel):
22583
+ r"""QueryEnterpriseBasicInfo返回参数结构体
22584
+
22585
+ """
22586
+
22587
+ def __init__(self):
22588
+ r"""
22589
+ :param _StatusCode: <p>请求状态。<br>枚举值:<br>0:成功,计费;<br>1:系统异常,不计费;<br>2:查询无结果,不计费。</p>
22590
+ :type StatusCode: int
22591
+ :param _CreditCode: <p>统一社会信用代码。</p>
22592
+ :type CreditCode: str
22593
+ :param _EntName: <p>企业名称。</p>
22594
+ :type EntName: str
22595
+ :param _Type: <p>主体类型。</p>
22596
+ :type Type: str
22597
+ :param _LrName: <p>法人代表。</p>
22598
+ :type LrName: str
22599
+ :param _Capital: <p>注册资本。</p>
22600
+ :type Capital: str
22601
+ :param _Address: <p>企业登记住所或注册地址。</p>
22602
+ :type Address: str
22603
+ :param _Business: <p>经营范围。</p>
22604
+ :type Business: str
22605
+ :param _RegistrationAuthority: <p>登记机关。</p>
22606
+ :type RegistrationAuthority: str
22607
+ :param _OperatingStatus: <p>经营状态(标准化),枚举值:<br>1:开业(在营);<br>2:迁出;<br>3:注销;<br>4:吊销;<br>5:撤销;<br>6:停业;<br>7:撤销登记;<br>0:其他;/:无法查询。</p>
22608
+ :type OperatingStatus: str
22609
+ :param _RawOperatingStatus: <p>经营状态(原始值)。</p>
22610
+ :type RawOperatingStatus: str
22611
+ :param _SetDate: <p>成立日期。</p>
22612
+ :type SetDate: str
22613
+ :param _OperatingPeriod: <p>营业期限:一般包括营业开始时间和结束时间<br>参数格式:yyyy-MM-dd/yyyy-MM-dd<br>无固定期限的格式为:yyyy-MM-dd/<br>部分企业历史数据可能为空,将返回:/<br>无法查询,将返回:/</p>
22614
+ :type OperatingPeriod: str
22615
+ :param _ApprovalDate: <p>核准日期。</p>
22616
+ :type ApprovalDate: str
22617
+ :param _Province: <p>所在省份。</p>
22618
+ :type Province: str
22619
+ :param _ProvinceCode: <p>所在省份的行政区划代码。</p>
22620
+ :type ProvinceCode: str
22621
+ :param _City: <p>所在城市。</p>
22622
+ :type City: str
22623
+ :param _CityCode: <p>所在城市的行政区划代码。</p>
22624
+ :type CityCode: str
22625
+ :param _District: <p>所在区县。</p>
22626
+ :type District: str
22627
+ :param _DistrictCode: <p>所在区县的行政区划代码。</p>
22628
+ :type DistrictCode: str
22629
+ :param _CapitalCurrency: <p>注册资本币种。</p>
22630
+ :type CapitalCurrency: str
22631
+ :param _OrganizationCode: <p>组织机构代码。</p>
22632
+ :type OrganizationCode: str
22633
+ :param _EnglishName: <p>企业英文名称。</p>
22634
+ :type EnglishName: str
22635
+ :param _FormerNames: <p>企业曾用名列表。</p>
22636
+ :type FormerNames: list of str
22637
+ :param _OriginalRegNum: <p>原注册号。</p>
22638
+ :type OriginalRegNum: str
22639
+ :param _PaidInCapital: <p>实收资本。</p>
22640
+ :type PaidInCapital: str
22641
+ :param _RevokeDate: <p>吊销日期。</p>
22642
+ :type RevokeDate: str
22643
+ :param _RevokeReason: <p>吊销原因。</p>
22644
+ :type RevokeReason: str
22645
+ :param _CancellationDate: <p>注销日期。</p>
22646
+ :type CancellationDate: str
22647
+ :param _CancellationReason: <p>注销原因。</p>
22648
+ :type CancellationReason: str
22649
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
22650
+ :type RequestId: str
22651
+ """
22652
+ self._StatusCode = None
22653
+ self._CreditCode = None
22654
+ self._EntName = None
22655
+ self._Type = None
22656
+ self._LrName = None
22657
+ self._Capital = None
22658
+ self._Address = None
22659
+ self._Business = None
22660
+ self._RegistrationAuthority = None
22661
+ self._OperatingStatus = None
22662
+ self._RawOperatingStatus = None
22663
+ self._SetDate = None
22664
+ self._OperatingPeriod = None
22665
+ self._ApprovalDate = None
22666
+ self._Province = None
22667
+ self._ProvinceCode = None
22668
+ self._City = None
22669
+ self._CityCode = None
22670
+ self._District = None
22671
+ self._DistrictCode = None
22672
+ self._CapitalCurrency = None
22673
+ self._OrganizationCode = None
22674
+ self._EnglishName = None
22675
+ self._FormerNames = None
22676
+ self._OriginalRegNum = None
22677
+ self._PaidInCapital = None
22678
+ self._RevokeDate = None
22679
+ self._RevokeReason = None
22680
+ self._CancellationDate = None
22681
+ self._CancellationReason = None
22682
+ self._RequestId = None
22683
+
22684
+ @property
22685
+ def StatusCode(self):
22686
+ r"""<p>请求状态。<br>枚举值:<br>0:成功,计费;<br>1:系统异常,不计费;<br>2:查询无结果,不计费。</p>
22687
+ :rtype: int
22688
+ """
22689
+ return self._StatusCode
22690
+
22691
+ @StatusCode.setter
22692
+ def StatusCode(self, StatusCode):
22693
+ self._StatusCode = StatusCode
22694
+
22695
+ @property
22696
+ def CreditCode(self):
22697
+ r"""<p>统一社会信用代码。</p>
22698
+ :rtype: str
22699
+ """
22700
+ return self._CreditCode
22701
+
22702
+ @CreditCode.setter
22703
+ def CreditCode(self, CreditCode):
22704
+ self._CreditCode = CreditCode
22705
+
22706
+ @property
22707
+ def EntName(self):
22708
+ r"""<p>企业名称。</p>
22709
+ :rtype: str
22710
+ """
22711
+ return self._EntName
22712
+
22713
+ @EntName.setter
22714
+ def EntName(self, EntName):
22715
+ self._EntName = EntName
22716
+
22717
+ @property
22718
+ def Type(self):
22719
+ r"""<p>主体类型。</p>
22720
+ :rtype: str
22721
+ """
22722
+ return self._Type
22723
+
22724
+ @Type.setter
22725
+ def Type(self, Type):
22726
+ self._Type = Type
22727
+
22728
+ @property
22729
+ def LrName(self):
22730
+ r"""<p>法人代表。</p>
22731
+ :rtype: str
22732
+ """
22733
+ return self._LrName
22734
+
22735
+ @LrName.setter
22736
+ def LrName(self, LrName):
22737
+ self._LrName = LrName
22738
+
22739
+ @property
22740
+ def Capital(self):
22741
+ r"""<p>注册资本。</p>
22742
+ :rtype: str
22743
+ """
22744
+ return self._Capital
22745
+
22746
+ @Capital.setter
22747
+ def Capital(self, Capital):
22748
+ self._Capital = Capital
22749
+
22750
+ @property
22751
+ def Address(self):
22752
+ r"""<p>企业登记住所或注册地址。</p>
22753
+ :rtype: str
22754
+ """
22755
+ return self._Address
22756
+
22757
+ @Address.setter
22758
+ def Address(self, Address):
22759
+ self._Address = Address
22760
+
22761
+ @property
22762
+ def Business(self):
22763
+ r"""<p>经营范围。</p>
22764
+ :rtype: str
22765
+ """
22766
+ return self._Business
22767
+
22768
+ @Business.setter
22769
+ def Business(self, Business):
22770
+ self._Business = Business
22771
+
22772
+ @property
22773
+ def RegistrationAuthority(self):
22774
+ r"""<p>登记机关。</p>
22775
+ :rtype: str
22776
+ """
22777
+ return self._RegistrationAuthority
22778
+
22779
+ @RegistrationAuthority.setter
22780
+ def RegistrationAuthority(self, RegistrationAuthority):
22781
+ self._RegistrationAuthority = RegistrationAuthority
22782
+
22783
+ @property
22784
+ def OperatingStatus(self):
22785
+ r"""<p>经营状态(标准化),枚举值:<br>1:开业(在营);<br>2:迁出;<br>3:注销;<br>4:吊销;<br>5:撤销;<br>6:停业;<br>7:撤销登记;<br>0:其他;/:无法查询。</p>
22786
+ :rtype: str
22787
+ """
22788
+ return self._OperatingStatus
22789
+
22790
+ @OperatingStatus.setter
22791
+ def OperatingStatus(self, OperatingStatus):
22792
+ self._OperatingStatus = OperatingStatus
22793
+
22794
+ @property
22795
+ def RawOperatingStatus(self):
22796
+ r"""<p>经营状态(原始值)。</p>
22797
+ :rtype: str
22798
+ """
22799
+ return self._RawOperatingStatus
22800
+
22801
+ @RawOperatingStatus.setter
22802
+ def RawOperatingStatus(self, RawOperatingStatus):
22803
+ self._RawOperatingStatus = RawOperatingStatus
22804
+
22805
+ @property
22806
+ def SetDate(self):
22807
+ r"""<p>成立日期。</p>
22808
+ :rtype: str
22809
+ """
22810
+ return self._SetDate
22811
+
22812
+ @SetDate.setter
22813
+ def SetDate(self, SetDate):
22814
+ self._SetDate = SetDate
22815
+
22816
+ @property
22817
+ def OperatingPeriod(self):
22818
+ r"""<p>营业期限:一般包括营业开始时间和结束时间<br>参数格式:yyyy-MM-dd/yyyy-MM-dd<br>无固定期限的格式为:yyyy-MM-dd/<br>部分企业历史数据可能为空,将返回:/<br>无法查询,将返回:/</p>
22819
+ :rtype: str
22820
+ """
22821
+ return self._OperatingPeriod
22822
+
22823
+ @OperatingPeriod.setter
22824
+ def OperatingPeriod(self, OperatingPeriod):
22825
+ self._OperatingPeriod = OperatingPeriod
22826
+
22827
+ @property
22828
+ def ApprovalDate(self):
22829
+ r"""<p>核准日期。</p>
22830
+ :rtype: str
22831
+ """
22832
+ return self._ApprovalDate
22833
+
22834
+ @ApprovalDate.setter
22835
+ def ApprovalDate(self, ApprovalDate):
22836
+ self._ApprovalDate = ApprovalDate
22837
+
22838
+ @property
22839
+ def Province(self):
22840
+ r"""<p>所在省份。</p>
22841
+ :rtype: str
22842
+ """
22843
+ return self._Province
22844
+
22845
+ @Province.setter
22846
+ def Province(self, Province):
22847
+ self._Province = Province
22848
+
22849
+ @property
22850
+ def ProvinceCode(self):
22851
+ r"""<p>所在省份的行政区划代码。</p>
22852
+ :rtype: str
22853
+ """
22854
+ return self._ProvinceCode
22855
+
22856
+ @ProvinceCode.setter
22857
+ def ProvinceCode(self, ProvinceCode):
22858
+ self._ProvinceCode = ProvinceCode
22859
+
22860
+ @property
22861
+ def City(self):
22862
+ r"""<p>所在城市。</p>
22863
+ :rtype: str
22864
+ """
22865
+ return self._City
22866
+
22867
+ @City.setter
22868
+ def City(self, City):
22869
+ self._City = City
22870
+
22871
+ @property
22872
+ def CityCode(self):
22873
+ r"""<p>所在城市的行政区划代码。</p>
22874
+ :rtype: str
22875
+ """
22876
+ return self._CityCode
22877
+
22878
+ @CityCode.setter
22879
+ def CityCode(self, CityCode):
22880
+ self._CityCode = CityCode
22881
+
22882
+ @property
22883
+ def District(self):
22884
+ r"""<p>所在区县。</p>
22885
+ :rtype: str
22886
+ """
22887
+ return self._District
22888
+
22889
+ @District.setter
22890
+ def District(self, District):
22891
+ self._District = District
22892
+
22893
+ @property
22894
+ def DistrictCode(self):
22895
+ r"""<p>所在区县的行政区划代码。</p>
22896
+ :rtype: str
22897
+ """
22898
+ return self._DistrictCode
22899
+
22900
+ @DistrictCode.setter
22901
+ def DistrictCode(self, DistrictCode):
22902
+ self._DistrictCode = DistrictCode
22903
+
22904
+ @property
22905
+ def CapitalCurrency(self):
22906
+ r"""<p>注册资本币种。</p>
22907
+ :rtype: str
22908
+ """
22909
+ return self._CapitalCurrency
22910
+
22911
+ @CapitalCurrency.setter
22912
+ def CapitalCurrency(self, CapitalCurrency):
22913
+ self._CapitalCurrency = CapitalCurrency
22914
+
22915
+ @property
22916
+ def OrganizationCode(self):
22917
+ r"""<p>组织机构代码。</p>
22918
+ :rtype: str
22919
+ """
22920
+ return self._OrganizationCode
22921
+
22922
+ @OrganizationCode.setter
22923
+ def OrganizationCode(self, OrganizationCode):
22924
+ self._OrganizationCode = OrganizationCode
22925
+
22926
+ @property
22927
+ def EnglishName(self):
22928
+ r"""<p>企业英文名称。</p>
22929
+ :rtype: str
22930
+ """
22931
+ return self._EnglishName
22932
+
22933
+ @EnglishName.setter
22934
+ def EnglishName(self, EnglishName):
22935
+ self._EnglishName = EnglishName
22936
+
22937
+ @property
22938
+ def FormerNames(self):
22939
+ r"""<p>企业曾用名列表。</p>
22940
+ :rtype: list of str
22941
+ """
22942
+ return self._FormerNames
22943
+
22944
+ @FormerNames.setter
22945
+ def FormerNames(self, FormerNames):
22946
+ self._FormerNames = FormerNames
22947
+
22948
+ @property
22949
+ def OriginalRegNum(self):
22950
+ r"""<p>原注册号。</p>
22951
+ :rtype: str
22952
+ """
22953
+ return self._OriginalRegNum
22954
+
22955
+ @OriginalRegNum.setter
22956
+ def OriginalRegNum(self, OriginalRegNum):
22957
+ self._OriginalRegNum = OriginalRegNum
22958
+
22959
+ @property
22960
+ def PaidInCapital(self):
22961
+ r"""<p>实收资本。</p>
22962
+ :rtype: str
22963
+ """
22964
+ return self._PaidInCapital
22965
+
22966
+ @PaidInCapital.setter
22967
+ def PaidInCapital(self, PaidInCapital):
22968
+ self._PaidInCapital = PaidInCapital
22969
+
22970
+ @property
22971
+ def RevokeDate(self):
22972
+ r"""<p>吊销日期。</p>
22973
+ :rtype: str
22974
+ """
22975
+ return self._RevokeDate
22976
+
22977
+ @RevokeDate.setter
22978
+ def RevokeDate(self, RevokeDate):
22979
+ self._RevokeDate = RevokeDate
22980
+
22981
+ @property
22982
+ def RevokeReason(self):
22983
+ r"""<p>吊销原因。</p>
22984
+ :rtype: str
22985
+ """
22986
+ return self._RevokeReason
22987
+
22988
+ @RevokeReason.setter
22989
+ def RevokeReason(self, RevokeReason):
22990
+ self._RevokeReason = RevokeReason
22991
+
22992
+ @property
22993
+ def CancellationDate(self):
22994
+ r"""<p>注销日期。</p>
22995
+ :rtype: str
22996
+ """
22997
+ return self._CancellationDate
22998
+
22999
+ @CancellationDate.setter
23000
+ def CancellationDate(self, CancellationDate):
23001
+ self._CancellationDate = CancellationDate
23002
+
23003
+ @property
23004
+ def CancellationReason(self):
23005
+ r"""<p>注销原因。</p>
23006
+ :rtype: str
23007
+ """
23008
+ return self._CancellationReason
23009
+
23010
+ @CancellationReason.setter
23011
+ def CancellationReason(self, CancellationReason):
23012
+ self._CancellationReason = CancellationReason
23013
+
23014
+ @property
23015
+ def RequestId(self):
23016
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
23017
+ :rtype: str
23018
+ """
23019
+ return self._RequestId
23020
+
23021
+ @RequestId.setter
23022
+ def RequestId(self, RequestId):
23023
+ self._RequestId = RequestId
23024
+
23025
+
23026
+ def _deserialize(self, params):
23027
+ self._StatusCode = params.get("StatusCode")
23028
+ self._CreditCode = params.get("CreditCode")
23029
+ self._EntName = params.get("EntName")
23030
+ self._Type = params.get("Type")
23031
+ self._LrName = params.get("LrName")
23032
+ self._Capital = params.get("Capital")
23033
+ self._Address = params.get("Address")
23034
+ self._Business = params.get("Business")
23035
+ self._RegistrationAuthority = params.get("RegistrationAuthority")
23036
+ self._OperatingStatus = params.get("OperatingStatus")
23037
+ self._RawOperatingStatus = params.get("RawOperatingStatus")
23038
+ self._SetDate = params.get("SetDate")
23039
+ self._OperatingPeriod = params.get("OperatingPeriod")
23040
+ self._ApprovalDate = params.get("ApprovalDate")
23041
+ self._Province = params.get("Province")
23042
+ self._ProvinceCode = params.get("ProvinceCode")
23043
+ self._City = params.get("City")
23044
+ self._CityCode = params.get("CityCode")
23045
+ self._District = params.get("District")
23046
+ self._DistrictCode = params.get("DistrictCode")
23047
+ self._CapitalCurrency = params.get("CapitalCurrency")
23048
+ self._OrganizationCode = params.get("OrganizationCode")
23049
+ self._EnglishName = params.get("EnglishName")
23050
+ self._FormerNames = params.get("FormerNames")
23051
+ self._OriginalRegNum = params.get("OriginalRegNum")
23052
+ self._PaidInCapital = params.get("PaidInCapital")
23053
+ self._RevokeDate = params.get("RevokeDate")
23054
+ self._RevokeReason = params.get("RevokeReason")
23055
+ self._CancellationDate = params.get("CancellationDate")
23056
+ self._CancellationReason = params.get("CancellationReason")
23057
+ self._RequestId = params.get("RequestId")
23058
+
23059
+
22531
23060
  class QuestionInfo(AbstractModel):
22532
23061
  r"""试题识别结果
22533
23062
 
@@ -1353,6 +1353,29 @@ class OcrClient(AbstractClient):
1353
1353
  raise TencentCloudSDKException(type(e).__name__, str(e))
1354
1354
 
1355
1355
 
1356
+ def QueryEnterpriseBasicInfo(self, request):
1357
+ r"""本接口用于查询企业基本信息。输入企业名称或统一社会信用代码,返回企业名称、统一社会信用代码、法定代表人、登记机关、经营期限、经营状态、经营范围、注册地址、主体类型、成立日期、核准日期、行政区划等企业登记信息。部分出参可能无法查得,具体以实际查询结果为准。
1358
+
1359
+ :param request: Request instance for QueryEnterpriseBasicInfo.
1360
+ :type request: :class:`tencentcloud.ocr.v20181119.models.QueryEnterpriseBasicInfoRequest`
1361
+ :rtype: :class:`tencentcloud.ocr.v20181119.models.QueryEnterpriseBasicInfoResponse`
1362
+
1363
+ """
1364
+ try:
1365
+ params = request._serialize()
1366
+ headers = request.headers
1367
+ body = self.call("QueryEnterpriseBasicInfo", params, headers=headers)
1368
+ response = json.loads(body)
1369
+ model = models.QueryEnterpriseBasicInfoResponse()
1370
+ model._deserialize(response["Response"])
1371
+ return model
1372
+ except Exception as e:
1373
+ if isinstance(e, TencentCloudSDKException):
1374
+ raise
1375
+ else:
1376
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1377
+
1378
+
1356
1379
  def QuestionOCR(self, request):
1357
1380
  r"""题目识别是教育的基础OCR识别能力。可支持扫描、拍照场景的单题题目识别。接口支持印刷体文本、手写体文本及公式的OCR识别和坐标返回,此外,接口还可对题目中的配图位置进行检测并返回坐标位置。适用于智能批改等场景的题目内容识别作为检索输入。
1358
1381
 
@@ -1122,6 +1122,24 @@ class OcrClient(AbstractClient):
1122
1122
 
1123
1123
  return await self.call_and_deserialize(**kwargs)
1124
1124
 
1125
+ async def QueryEnterpriseBasicInfo(
1126
+ self,
1127
+ request: models.QueryEnterpriseBasicInfoRequest,
1128
+ opts: Dict = None,
1129
+ ) -> models.QueryEnterpriseBasicInfoResponse:
1130
+ """
1131
+ 本接口用于查询企业基本信息。输入企业名称或统一社会信用代码,返回企业名称、统一社会信用代码、法定代表人、登记机关、经营期限、经营状态、经营范围、注册地址、主体类型、成立日期、核准日期、行政区划等企业登记信息。部分出参可能无法查得,具体以实际查询结果为准。
1132
+ """
1133
+
1134
+ kwargs = {}
1135
+ kwargs["action"] = "QueryEnterpriseBasicInfo"
1136
+ kwargs["params"] = request._serialize()
1137
+ kwargs["resp_cls"] = models.QueryEnterpriseBasicInfoResponse
1138
+ kwargs["headers"] = request.headers
1139
+ kwargs["opts"] = opts or {}
1140
+
1141
+ return await self.call_and_deserialize(**kwargs)
1142
+
1125
1143
  async def QuestionOCR(
1126
1144
  self,
1127
1145
  request: models.QuestionOCRRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-ocr
3
- Version: 3.1.202
3
+ Version: 3.1.203
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.202
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.203
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.203
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.202