tencentcloud-sdk-python-essbasic 3.0.1044__py2.py3-none-any.whl → 3.0.1056__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.1044'
17
+ __version__ = '3.0.1056'
@@ -205,8 +205,9 @@ class EssbasicClient(AbstractClient):
205
205
  请确保生成链接时候的身份信息和签署合同参与方的信息保持一致。
206
206
 
207
207
  注:
208
+ - 使用此接口生成链接,需要提前开通 `使用手机号验证签署方身份` 功能,在 `腾讯电子签网页端-企业设置-拓展服务` 中可以找到。
208
209
  - 参与人点击链接后需短信验证码才能查看合同内容。
209
- - 企业用户批量签署,需要传OrganizationName(参与方所在企业名称)参数生成签署链接,`请确保此企业已完成腾讯电子签企业认证`。
210
+ - 企业用户批量签署,需要传OrganizationName(参与方所在企业名称)参数生成签署链接,`请确保此企业已完成腾讯电子签企业认证`。若为子客企业,请确保员工已经加入企业。
210
211
  - 个人批量签署,签名区`仅支持手写签名`。
211
212
 
212
213
  :param request: Request instance for ChannelCreateBatchSignUrl.
@@ -1390,6 +1391,45 @@ class EssbasicClient(AbstractClient):
1390
1391
  raise TencentCloudSDKException(type(e).__name__, str(e))
1391
1392
 
1392
1393
 
1394
+ def CreateBatchOrganizationRegistrationTasks(self, request):
1395
+ """本接口(CreateBatchOrganizationRegistrationTasks)用于批量创建企业认证链接
1396
+ 该接口为异步提交任务接口,需要跟查询企业批量认证链接(DescribeBatchOrganizationRegistrationUrls) 配合使用.
1397
+
1398
+ 批量创建链接有以下限制:
1399
+ 1. 单次最多创建10个子客。
1400
+ 2. 一天同一家企业最多创建8000个子客。
1401
+ 3. 同一批创建的子客不能重复 其中包括 企业名称,企业统一信用代码,子客经办人openId。
1402
+ 4. 跳转到小程序的实现,参考微信官方文档(分为全屏、半屏两种方式),如何配置也可以请参考: 跳转电子签小程序配置
1403
+
1404
+ 注: 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>
1405
+
1406
+ **腾讯电子签小程序的AppID 和 原始Id如下:**
1407
+
1408
+ | 小程序 | AppID | 原始ID |
1409
+ | ------------ | ------------ | ------------ |
1410
+ | 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
1411
+ | 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
1412
+
1413
+ :param request: Request instance for CreateBatchOrganizationRegistrationTasks.
1414
+ :type request: :class:`tencentcloud.essbasic.v20210526.models.CreateBatchOrganizationRegistrationTasksRequest`
1415
+ :rtype: :class:`tencentcloud.essbasic.v20210526.models.CreateBatchOrganizationRegistrationTasksResponse`
1416
+
1417
+ """
1418
+ try:
1419
+ params = request._serialize()
1420
+ headers = request.headers
1421
+ body = self.call("CreateBatchOrganizationRegistrationTasks", params, headers=headers)
1422
+ response = json.loads(body)
1423
+ model = models.CreateBatchOrganizationRegistrationTasksResponse()
1424
+ model._deserialize(response["Response"])
1425
+ return model
1426
+ except Exception as e:
1427
+ if isinstance(e, TencentCloudSDKException):
1428
+ raise
1429
+ else:
1430
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1431
+
1432
+
1393
1433
  def CreateChannelFlowEvidenceReport(self, request):
1394
1434
  """提交申请出证报告任务并返回报告ID。
1395
1435
 
@@ -1617,6 +1657,36 @@ class EssbasicClient(AbstractClient):
1617
1657
  raise TencentCloudSDKException(type(e).__name__, str(e))
1618
1658
 
1619
1659
 
1660
+ def CreatePartnerAutoSignAuthUrl(self, request):
1661
+ """创建他方自动签授权链接,通过该链接可进入小程序进行合作方企业的自动签授权,若当前企业未开通企业自动签,通过该链接会先引导开通本企业自动签。
1662
+ 该接口效果同控制台: 企业设置-> 扩展服务 -> 企业自动签署 -> 合作企业方授权
1663
+
1664
+
1665
+
1666
+ 注:
1667
+ 1. <font color='red'>所在企业的超管、法人才有权限调用此接口</font>(Agent.ProxyOperator.OpenId 需要传递超管或者法人的OpenId)
1668
+ 2. 已经在授权中或者授权成功的企业,无法重复授权
1669
+
1670
+ :param request: Request instance for CreatePartnerAutoSignAuthUrl.
1671
+ :type request: :class:`tencentcloud.essbasic.v20210526.models.CreatePartnerAutoSignAuthUrlRequest`
1672
+ :rtype: :class:`tencentcloud.essbasic.v20210526.models.CreatePartnerAutoSignAuthUrlResponse`
1673
+
1674
+ """
1675
+ try:
1676
+ params = request._serialize()
1677
+ headers = request.headers
1678
+ body = self.call("CreatePartnerAutoSignAuthUrl", params, headers=headers)
1679
+ response = json.loads(body)
1680
+ model = models.CreatePartnerAutoSignAuthUrlResponse()
1681
+ model._deserialize(response["Response"])
1682
+ return model
1683
+ except Exception as e:
1684
+ if isinstance(e, TencentCloudSDKException):
1685
+ raise
1686
+ else:
1687
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1688
+
1689
+
1620
1690
  def CreateSealByImage(self, request):
1621
1691
  """1. 可以**通过图片**为子客企业代创建印章,图片最大5MB
1622
1692
 
@@ -1684,6 +1754,33 @@ class EssbasicClient(AbstractClient):
1684
1754
  raise TencentCloudSDKException(type(e).__name__, str(e))
1685
1755
 
1686
1756
 
1757
+ def DescribeBatchOrganizationRegistrationUrls(self, request):
1758
+ """此接口用于获取企业批量认证异步任务的状态及结果。
1759
+
1760
+ 前提条件:已调用 CreateBatchOrganizationRegistrationTasks创建企业批量认证链接任务接口,并得到了任务Id。
1761
+
1762
+ 异步任务的处理完成时间视当前已提交的任务量、任务的复杂程度等因素决定,正常情况下 3~5 秒即可完成,但也可能需要更长的时间
1763
+
1764
+ :param request: Request instance for DescribeBatchOrganizationRegistrationUrls.
1765
+ :type request: :class:`tencentcloud.essbasic.v20210526.models.DescribeBatchOrganizationRegistrationUrlsRequest`
1766
+ :rtype: :class:`tencentcloud.essbasic.v20210526.models.DescribeBatchOrganizationRegistrationUrlsResponse`
1767
+
1768
+ """
1769
+ try:
1770
+ params = request._serialize()
1771
+ headers = request.headers
1772
+ body = self.call("DescribeBatchOrganizationRegistrationUrls", params, headers=headers)
1773
+ response = json.loads(body)
1774
+ model = models.DescribeBatchOrganizationRegistrationUrlsResponse()
1775
+ model._deserialize(response["Response"])
1776
+ return model
1777
+ except Exception as e:
1778
+ if isinstance(e, TencentCloudSDKException):
1779
+ raise
1780
+ else:
1781
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1782
+
1783
+
1687
1784
  def DescribeBillUsageDetail(self, request):
1688
1785
  """废弃接口
1689
1786
 
@@ -1739,6 +1836,32 @@ class EssbasicClient(AbstractClient):
1739
1836
  raise TencentCloudSDKException(type(e).__name__, str(e))
1740
1837
 
1741
1838
 
1839
+ def DescribeChannelOrganizations(self, request):
1840
+ """查询渠道子客企业信息时,可以支持单个子客和整个应用下所有子客的查询。返回的信息包括超管、法人的信息以及当前企业的认证状态等信息。
1841
+
1842
+ - 对于单个企业的查询,通过**指定子客的唯一标识**来查询该子客的企业信息
1843
+ - 对于整个应用下所有企业的查询,**不需要指定子客的唯一标识**,直接查询整个应用下所有子客企业的企业信息
1844
+
1845
+ :param request: Request instance for DescribeChannelOrganizations.
1846
+ :type request: :class:`tencentcloud.essbasic.v20210526.models.DescribeChannelOrganizationsRequest`
1847
+ :rtype: :class:`tencentcloud.essbasic.v20210526.models.DescribeChannelOrganizationsResponse`
1848
+
1849
+ """
1850
+ try:
1851
+ params = request._serialize()
1852
+ headers = request.headers
1853
+ body = self.call("DescribeChannelOrganizations", params, headers=headers)
1854
+ response = json.loads(body)
1855
+ model = models.DescribeChannelOrganizationsResponse()
1856
+ model._deserialize(response["Response"])
1857
+ return model
1858
+ except Exception as e:
1859
+ if isinstance(e, TencentCloudSDKException):
1860
+ raise
1861
+ else:
1862
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1863
+
1864
+
1742
1865
  def DescribeChannelSealPolicyWorkflowUrl(self, request):
1743
1866
  """生成渠道子客用印申请审批小程序链接,链接类型(通过H5唤起小程序或通过APP跳转的方式查看)
1744
1867
 
@@ -1762,6 +1885,35 @@ class EssbasicClient(AbstractClient):
1762
1885
  raise TencentCloudSDKException(type(e).__name__, str(e))
1763
1886
 
1764
1887
 
1888
+ def DescribeExtendedServiceAuthDetail(self, request):
1889
+ """查询企业扩展服务的授权详情(列表),当前支持查询以下内容:
1890
+
1891
+ 1. **企业自动签**
1892
+ 2. **批量签署**
1893
+
1894
+
1895
+ 注: <font color='red'>所在企业的超管、法人才有权限调用此接口</font>(Agent.ProxyOperator.OpenId 需要传递超管或者法人的OpenId)
1896
+
1897
+ :param request: Request instance for DescribeExtendedServiceAuthDetail.
1898
+ :type request: :class:`tencentcloud.essbasic.v20210526.models.DescribeExtendedServiceAuthDetailRequest`
1899
+ :rtype: :class:`tencentcloud.essbasic.v20210526.models.DescribeExtendedServiceAuthDetailResponse`
1900
+
1901
+ """
1902
+ try:
1903
+ params = request._serialize()
1904
+ headers = request.headers
1905
+ body = self.call("DescribeExtendedServiceAuthDetail", params, headers=headers)
1906
+ response = json.loads(body)
1907
+ model = models.DescribeExtendedServiceAuthDetailResponse()
1908
+ model._deserialize(response["Response"])
1909
+ return model
1910
+ except Exception as e:
1911
+ if isinstance(e, TencentCloudSDKException):
1912
+ raise
1913
+ else:
1914
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1915
+
1916
+
1765
1917
  def DescribeExtendedServiceAuthInfo(self, request):
1766
1918
  """查询企业扩展服务的开通和授权情况,当前支持查询以下内容:
1767
1919
  1. 企业自动签