tencentcloud-sdk-python-essbasic 3.0.1053__py2.py3-none-any.whl → 3.0.1055__py2.py3-none-any.whl

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/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1053'
17
+ __version__ = '3.0.1055'
@@ -1390,6 +1390,45 @@ class EssbasicClient(AbstractClient):
1390
1390
  raise TencentCloudSDKException(type(e).__name__, str(e))
1391
1391
 
1392
1392
 
1393
+ def CreateBatchOrganizationRegistrationTasks(self, request):
1394
+ """本接口(CreateBatchOrganizationRegistrationTasks)用于批量创建企业认证链接
1395
+ 该接口为异步提交任务接口,需要跟查询企业批量认证链接(DescribeBatchOrganizationRegistrationUrls) 配合使用.
1396
+
1397
+ 批量创建链接有以下限制:
1398
+ 1. 单次最多创建10个子客。
1399
+ 2. 一天同一家企业最多创建8000个子客。
1400
+ 3. 同一批创建的子客不能重复 其中包括 企业名称,企业统一信用代码,子客经办人openId。
1401
+ 4. 跳转到小程序的实现,参考微信官方文档(分为全屏、半屏两种方式),如何配置也可以请参考: 跳转电子签小程序配置
1402
+
1403
+ 注: 1. 如果生成的链接是APP链接,跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>
1404
+
1405
+ **腾讯电子签小程序的AppID 和 原始Id如下:**
1406
+
1407
+ | 小程序 | AppID | 原始ID |
1408
+ | ------------ | ------------ | ------------ |
1409
+ | 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
1410
+ | 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
1411
+
1412
+ :param request: Request instance for CreateBatchOrganizationRegistrationTasks.
1413
+ :type request: :class:`tencentcloud.essbasic.v20210526.models.CreateBatchOrganizationRegistrationTasksRequest`
1414
+ :rtype: :class:`tencentcloud.essbasic.v20210526.models.CreateBatchOrganizationRegistrationTasksResponse`
1415
+
1416
+ """
1417
+ try:
1418
+ params = request._serialize()
1419
+ headers = request.headers
1420
+ body = self.call("CreateBatchOrganizationRegistrationTasks", params, headers=headers)
1421
+ response = json.loads(body)
1422
+ model = models.CreateBatchOrganizationRegistrationTasksResponse()
1423
+ model._deserialize(response["Response"])
1424
+ return model
1425
+ except Exception as e:
1426
+ if isinstance(e, TencentCloudSDKException):
1427
+ raise
1428
+ else:
1429
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1430
+
1431
+
1393
1432
  def CreateChannelFlowEvidenceReport(self, request):
1394
1433
  """提交申请出证报告任务并返回报告ID。
1395
1434
 
@@ -1617,6 +1656,36 @@ class EssbasicClient(AbstractClient):
1617
1656
  raise TencentCloudSDKException(type(e).__name__, str(e))
1618
1657
 
1619
1658
 
1659
+ def CreatePartnerAutoSignAuthUrl(self, request):
1660
+ """创建他方自动签授权链接,通过该链接可进入小程序进行合作方企业的自动签授权,若当前企业未开通企业自动签,通过该链接会先引导开通本企业自动签。
1661
+ 该接口效果同控制台: 企业设置-> 扩展服务 -> 企业自动签署 -> 合作企业方授权
1662
+
1663
+
1664
+
1665
+ 注:
1666
+ 1. <font color='red'>所在企业的超管、法人才有权限调用此接口</font>(Agent.ProxyOperator.OpenId 需要传递超管或者法人的OpenId)
1667
+ 2. 已经在授权中或者授权成功的企业,无法重复授权
1668
+
1669
+ :param request: Request instance for CreatePartnerAutoSignAuthUrl.
1670
+ :type request: :class:`tencentcloud.essbasic.v20210526.models.CreatePartnerAutoSignAuthUrlRequest`
1671
+ :rtype: :class:`tencentcloud.essbasic.v20210526.models.CreatePartnerAutoSignAuthUrlResponse`
1672
+
1673
+ """
1674
+ try:
1675
+ params = request._serialize()
1676
+ headers = request.headers
1677
+ body = self.call("CreatePartnerAutoSignAuthUrl", params, headers=headers)
1678
+ response = json.loads(body)
1679
+ model = models.CreatePartnerAutoSignAuthUrlResponse()
1680
+ model._deserialize(response["Response"])
1681
+ return model
1682
+ except Exception as e:
1683
+ if isinstance(e, TencentCloudSDKException):
1684
+ raise
1685
+ else:
1686
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1687
+
1688
+
1620
1689
  def CreateSealByImage(self, request):
1621
1690
  """1. 可以**通过图片**为子客企业代创建印章,图片最大5MB
1622
1691
 
@@ -1684,6 +1753,33 @@ class EssbasicClient(AbstractClient):
1684
1753
  raise TencentCloudSDKException(type(e).__name__, str(e))
1685
1754
 
1686
1755
 
1756
+ def DescribeBatchOrganizationRegistrationUrls(self, request):
1757
+ """此接口用于获取企业批量认证异步任务的状态及结果。
1758
+
1759
+ 前提条件:已调用 CreateBatchOrganizationRegistrationTasks创建企业批量认证链接任务接口,并得到了任务Id。
1760
+
1761
+ 异步任务的处理完成时间视当前已提交的任务量、任务的复杂程度等因素决定,正常情况下 3~5 秒即可完成,但也可能需要更长的时间
1762
+
1763
+ :param request: Request instance for DescribeBatchOrganizationRegistrationUrls.
1764
+ :type request: :class:`tencentcloud.essbasic.v20210526.models.DescribeBatchOrganizationRegistrationUrlsRequest`
1765
+ :rtype: :class:`tencentcloud.essbasic.v20210526.models.DescribeBatchOrganizationRegistrationUrlsResponse`
1766
+
1767
+ """
1768
+ try:
1769
+ params = request._serialize()
1770
+ headers = request.headers
1771
+ body = self.call("DescribeBatchOrganizationRegistrationUrls", params, headers=headers)
1772
+ response = json.loads(body)
1773
+ model = models.DescribeBatchOrganizationRegistrationUrlsResponse()
1774
+ model._deserialize(response["Response"])
1775
+ return model
1776
+ except Exception as e:
1777
+ if isinstance(e, TencentCloudSDKException):
1778
+ raise
1779
+ else:
1780
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1781
+
1782
+
1687
1783
  def DescribeBillUsageDetail(self, request):
1688
1784
  """废弃接口
1689
1785
 
@@ -1788,6 +1884,35 @@ class EssbasicClient(AbstractClient):
1788
1884
  raise TencentCloudSDKException(type(e).__name__, str(e))
1789
1885
 
1790
1886
 
1887
+ def DescribeExtendedServiceAuthDetail(self, request):
1888
+ """查询企业扩展服务的授权详情(列表),当前支持查询以下内容:
1889
+
1890
+ 1. **企业自动签**
1891
+ 2. **批量签署**
1892
+
1893
+
1894
+ 注: <font color='red'>所在企业的超管、法人才有权限调用此接口</font>(Agent.ProxyOperator.OpenId 需要传递超管或者法人的OpenId)
1895
+
1896
+ :param request: Request instance for DescribeExtendedServiceAuthDetail.
1897
+ :type request: :class:`tencentcloud.essbasic.v20210526.models.DescribeExtendedServiceAuthDetailRequest`
1898
+ :rtype: :class:`tencentcloud.essbasic.v20210526.models.DescribeExtendedServiceAuthDetailResponse`
1899
+
1900
+ """
1901
+ try:
1902
+ params = request._serialize()
1903
+ headers = request.headers
1904
+ body = self.call("DescribeExtendedServiceAuthDetail", params, headers=headers)
1905
+ response = json.loads(body)
1906
+ model = models.DescribeExtendedServiceAuthDetailResponse()
1907
+ model._deserialize(response["Response"])
1908
+ return model
1909
+ except Exception as e:
1910
+ if isinstance(e, TencentCloudSDKException):
1911
+ raise
1912
+ else:
1913
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1914
+
1915
+
1791
1916
  def DescribeExtendedServiceAuthInfo(self, request):
1792
1917
  """查询企业扩展服务的开通和授权情况,当前支持查询以下内容:
1793
1918
  1. 企业自动签