tencentcloud-sdk-python-essbasic 3.0.1047__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.1047'
17
+ __version__ = '3.0.1055'
@@ -206,7 +206,7 @@ class EssbasicClient(AbstractClient):
206
206
 
207
207
  注:
208
208
  - 参与人点击链接后需短信验证码才能查看合同内容。
209
- - 企业用户批量签署,需要传OrganizationName(参与方所在企业名称)参数生成签署链接,`请确保此企业已完成腾讯电子签企业认证`。
209
+ - 企业用户批量签署,需要传OrganizationName(参与方所在企业名称)参数生成签署链接,`请确保此企业已完成腾讯电子签企业认证`。若为子客企业,请确保员工已经加入企业。
210
210
  - 个人批量签署,签名区`仅支持手写签名`。
211
211
 
212
212
  :param request: Request instance for ChannelCreateBatchSignUrl.
@@ -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
 
@@ -1739,6 +1835,32 @@ class EssbasicClient(AbstractClient):
1739
1835
  raise TencentCloudSDKException(type(e).__name__, str(e))
1740
1836
 
1741
1837
 
1838
+ def DescribeChannelOrganizations(self, request):
1839
+ """查询渠道子客企业信息时,可以支持单个子客和整个应用下所有子客的查询。返回的信息包括超管、法人的信息以及当前企业的认证状态等信息。
1840
+
1841
+ - 对于单个企业的查询,通过**指定子客的唯一标识**来查询该子客的企业信息
1842
+ - 对于整个应用下所有企业的查询,**不需要指定子客的唯一标识**,直接查询整个应用下所有子客企业的企业信息
1843
+
1844
+ :param request: Request instance for DescribeChannelOrganizations.
1845
+ :type request: :class:`tencentcloud.essbasic.v20210526.models.DescribeChannelOrganizationsRequest`
1846
+ :rtype: :class:`tencentcloud.essbasic.v20210526.models.DescribeChannelOrganizationsResponse`
1847
+
1848
+ """
1849
+ try:
1850
+ params = request._serialize()
1851
+ headers = request.headers
1852
+ body = self.call("DescribeChannelOrganizations", params, headers=headers)
1853
+ response = json.loads(body)
1854
+ model = models.DescribeChannelOrganizationsResponse()
1855
+ model._deserialize(response["Response"])
1856
+ return model
1857
+ except Exception as e:
1858
+ if isinstance(e, TencentCloudSDKException):
1859
+ raise
1860
+ else:
1861
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1862
+
1863
+
1742
1864
  def DescribeChannelSealPolicyWorkflowUrl(self, request):
1743
1865
  """生成渠道子客用印申请审批小程序链接,链接类型(通过H5唤起小程序或通过APP跳转的方式查看)
1744
1866
 
@@ -1762,6 +1884,35 @@ class EssbasicClient(AbstractClient):
1762
1884
  raise TencentCloudSDKException(type(e).__name__, str(e))
1763
1885
 
1764
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
+
1765
1916
  def DescribeExtendedServiceAuthInfo(self, request):
1766
1917
  """查询企业扩展服务的开通和授权情况,当前支持查询以下内容:
1767
1918
  1. 企业自动签