tencentcloud-sdk-python-essbasic 3.0.1040__py2.py3-none-any.whl → 3.0.1046__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.1040'
17
+ __version__ = '3.0.1046'
@@ -786,8 +786,7 @@ class EssbasicClient(AbstractClient):
786
786
  """通过此接口指定合同、签署人、填写控件等信息,生成嵌入式链接,此链接可以嵌入到其他网页或者直接打开,打开后进入发起页面。在此页面上,合同信息和签署人信息均不可更改。
787
787
 
788
788
  注意:
789
- 1. **仅支持模板**发起
790
- 2. 只支持PC浏览器操作使用
789
+ 1. 只支持PC浏览器操作使用
791
790
 
792
791
  嵌入的页面样式如下:
793
792
  ![image](https://qcloudimg.tencent-cloud.cn/raw/b2ae013fb4d747891dd3815bbe897208.png)
@@ -1740,6 +1739,29 @@ class EssbasicClient(AbstractClient):
1740
1739
  raise TencentCloudSDKException(type(e).__name__, str(e))
1741
1740
 
1742
1741
 
1742
+ def DescribeChannelSealPolicyWorkflowUrl(self, request):
1743
+ """生成渠道子客用印申请审批小程序链接,链接类型(通过H5唤起小程序或通过APP跳转的方式查看)
1744
+
1745
+ :param request: Request instance for DescribeChannelSealPolicyWorkflowUrl.
1746
+ :type request: :class:`tencentcloud.essbasic.v20210526.models.DescribeChannelSealPolicyWorkflowUrlRequest`
1747
+ :rtype: :class:`tencentcloud.essbasic.v20210526.models.DescribeChannelSealPolicyWorkflowUrlResponse`
1748
+
1749
+ """
1750
+ try:
1751
+ params = request._serialize()
1752
+ headers = request.headers
1753
+ body = self.call("DescribeChannelSealPolicyWorkflowUrl", params, headers=headers)
1754
+ response = json.loads(body)
1755
+ model = models.DescribeChannelSealPolicyWorkflowUrlResponse()
1756
+ model._deserialize(response["Response"])
1757
+ return model
1758
+ except Exception as e:
1759
+ if isinstance(e, TencentCloudSDKException):
1760
+ raise
1761
+ else:
1762
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1763
+
1764
+
1743
1765
  def DescribeExtendedServiceAuthInfo(self, request):
1744
1766
  """查询企业扩展服务的开通和授权情况,当前支持查询以下内容:
1745
1767
  1. 企业自动签
@@ -2556,12 +2556,25 @@ class ChannelCreateEmbedWebUrlRequest(AbstractModel):
2556
2556
  :type HiddenComponents: bool
2557
2557
  :param _Operator: 渠道操作者信息
2558
2558
  :type Operator: :class:`tencentcloud.essbasic.v20210526.models.UserInfo`
2559
+ :param _UserData: 用户自定义参数
2560
+ <ul>
2561
+ <li>目前仅支持EmbedType=CREATE_TEMPLATE时传入</li>
2562
+ <li>指定后,创建,编辑,删除模版时,回调都会携带该userData</li>
2563
+ <li>支持的格式:json字符串的BASE64编码字符串</li>
2564
+ <li>示例:<ul>
2565
+ <li>json字符串:{"ComeFrom":"xxx"},BASE64编码:eyJDb21lRnJvbSI6Inh4eCJ9</li>
2566
+ <li>eyJDb21lRnJvbSI6Inh4eCJ9,为符合要求的userData数据格式</li>
2567
+ </ul>
2568
+ </li>
2569
+ </ul>
2570
+ :type UserData: str
2559
2571
  """
2560
2572
  self._Agent = None
2561
2573
  self._EmbedType = None
2562
2574
  self._BusinessId = None
2563
2575
  self._HiddenComponents = None
2564
2576
  self._Operator = None
2577
+ self._UserData = None
2565
2578
 
2566
2579
  @property
2567
2580
  def Agent(self):
@@ -2607,6 +2620,14 @@ class ChannelCreateEmbedWebUrlRequest(AbstractModel):
2607
2620
 
2608
2621
  self._Operator = Operator
2609
2622
 
2623
+ @property
2624
+ def UserData(self):
2625
+ return self._UserData
2626
+
2627
+ @UserData.setter
2628
+ def UserData(self, UserData):
2629
+ self._UserData = UserData
2630
+
2610
2631
 
2611
2632
  def _deserialize(self, params):
2612
2633
  if params.get("Agent") is not None:
@@ -2618,6 +2639,7 @@ class ChannelCreateEmbedWebUrlRequest(AbstractModel):
2618
2639
  if params.get("Operator") is not None:
2619
2640
  self._Operator = UserInfo()
2620
2641
  self._Operator._deserialize(params.get("Operator"))
2642
+ self._UserData = params.get("UserData")
2621
2643
  memeber_set = set(params.keys())
2622
2644
  for name, value in vars(self).items():
2623
2645
  property_name = name[1:]
@@ -4388,9 +4410,15 @@ class ChannelCreatePrepareFlowRequest(AbstractModel):
4388
4410
 
4389
4411
  def __init__(self):
4390
4412
  r"""
4391
- :param _ResourceId: 合同模板ID,为32位字符串。
4413
+ :param _ResourceId: 资源id,与ResourceType相对应,取值范围:
4414
+ <ul>
4415
+ <li>文件Id(通过UploadFiles获取文件资源Id)</li>
4416
+ <li>模板Id</li>
4417
+ </ul>
4392
4418
  :type ResourceId: str
4393
- :param _ResourceType: 资源类型,此接口固定为**1**表示为用模板发起
4419
+ :param _ResourceType: 资源类型,取值有:
4420
+ <ul><li> **1**:模板</li>
4421
+ <li> **2**:文件(默认值)</li></ul>
4394
4422
  :type ResourceType: int
4395
4423
  :param _FlowInfo: 要创建的合同信息
4396
4424
  :type FlowInfo: :class:`tencentcloud.essbasic.v20210526.models.BaseFlowInfo`
@@ -4408,7 +4436,8 @@ class ChannelCreatePrepareFlowRequest(AbstractModel):
4408
4436
  :type FlowOption: :class:`tencentcloud.essbasic.v20210526.models.CreateFlowOption`
4409
4437
  :param _FlowApproverList: 合同签署人信息
4410
4438
  :type FlowApproverList: list of CommonFlowApprover
4411
- :param _FlowId: 用过去已经通过此接口发起的合同的ID复制个新的合同创建链接
4439
+ :param _FlowId: 合同Id:用于通过一个已发起的合同快速生成一个发起流程web链接
4440
+ 注: `该参数必须是一个待发起审核的合同id,并且还未审核通过`
4412
4441
  :type FlowId: str
4413
4442
  :param _NeedPreview: 该参数不可用,请通过获取 web 可嵌入接口获取合同流程预览 URL
4414
4443
  :type NeedPreview: bool
@@ -9465,6 +9494,11 @@ class CreateFlowOption(AbstractModel):
9465
9494
  **true**:禁止编辑填写控件
9466
9495
  **false**:(默认)允许编辑填写控件
9467
9496
  :type ForbidEditFillComponent: bool
9497
+ :param _SkipUploadFile: 跳过上传文件步骤
9498
+
9499
+ **true**:跳过
9500
+ **false**:(默认)不跳过,需要传ResourceId
9501
+ :type SkipUploadFile: str
9468
9502
  """
9469
9503
  self._CanEditFlow = None
9470
9504
  self._HideShowFlowName = None
@@ -9473,6 +9507,7 @@ class CreateFlowOption(AbstractModel):
9473
9507
  self._CanSkipAddApprover = None
9474
9508
  self._CustomCreateFlowDescription = None
9475
9509
  self._ForbidEditFillComponent = None
9510
+ self._SkipUploadFile = None
9476
9511
 
9477
9512
  @property
9478
9513
  def CanEditFlow(self):
@@ -9530,6 +9565,14 @@ class CreateFlowOption(AbstractModel):
9530
9565
  def ForbidEditFillComponent(self, ForbidEditFillComponent):
9531
9566
  self._ForbidEditFillComponent = ForbidEditFillComponent
9532
9567
 
9568
+ @property
9569
+ def SkipUploadFile(self):
9570
+ return self._SkipUploadFile
9571
+
9572
+ @SkipUploadFile.setter
9573
+ def SkipUploadFile(self, SkipUploadFile):
9574
+ self._SkipUploadFile = SkipUploadFile
9575
+
9533
9576
 
9534
9577
  def _deserialize(self, params):
9535
9578
  self._CanEditFlow = params.get("CanEditFlow")
@@ -9539,6 +9582,7 @@ class CreateFlowOption(AbstractModel):
9539
9582
  self._CanSkipAddApprover = params.get("CanSkipAddApprover")
9540
9583
  self._CustomCreateFlowDescription = params.get("CustomCreateFlowDescription")
9541
9584
  self._ForbidEditFillComponent = params.get("ForbidEditFillComponent")
9585
+ self._SkipUploadFile = params.get("SkipUploadFile")
9542
9586
  memeber_set = set(params.keys())
9543
9587
  for name, value in vars(self).items():
9544
9588
  property_name = name[1:]
@@ -10664,6 +10708,113 @@ class DescribeChannelFlowEvidenceReportResponse(AbstractModel):
10664
10708
  self._RequestId = params.get("RequestId")
10665
10709
 
10666
10710
 
10711
+ class DescribeChannelSealPolicyWorkflowUrlRequest(AbstractModel):
10712
+ """DescribeChannelSealPolicyWorkflowUrl请求参数结构体
10713
+
10714
+ """
10715
+
10716
+ def __init__(self):
10717
+ r"""
10718
+ :param _Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
10719
+
10720
+ 此接口下面信息必填。
10721
+
10722
+ 渠道应用标识: Agent.AppId
10723
+ 第三方平台子客企业标识: Agent.ProxyOrganizationOpenId
10724
+ 第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId
10725
+ 第三方平台子客企业和员工必须已经经过实名认证
10726
+ :type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
10727
+ :param _WorkflowInstanceId: 用印审批单的ID,可通过用印申请回调获取。
10728
+ :type WorkflowInstanceId: str
10729
+ :param _Endpoint: 生成链接的类型:
10730
+ 生成链接的类型
10731
+ <ul><li>**LongLink**:(默认)长链接,H5跳转到电子签小程序链接,链接有效期为1年</li>
10732
+ <li>**ShortLink**:H5跳转到电子签小程序链接,一般用于发送短信中带的链接,打开后进入腾讯电子签小程序,链接有效期为7天</li>
10733
+ <li>**App**:第三方APP或小程序跳转电子签小程序链接,一般用于贵方小程序或者APP跳转过来,打开后进入腾讯电子签小程序,链接有效期为1年</li></ul>
10734
+ :type Endpoint: str
10735
+ """
10736
+ self._Agent = None
10737
+ self._WorkflowInstanceId = None
10738
+ self._Endpoint = None
10739
+
10740
+ @property
10741
+ def Agent(self):
10742
+ return self._Agent
10743
+
10744
+ @Agent.setter
10745
+ def Agent(self, Agent):
10746
+ self._Agent = Agent
10747
+
10748
+ @property
10749
+ def WorkflowInstanceId(self):
10750
+ return self._WorkflowInstanceId
10751
+
10752
+ @WorkflowInstanceId.setter
10753
+ def WorkflowInstanceId(self, WorkflowInstanceId):
10754
+ self._WorkflowInstanceId = WorkflowInstanceId
10755
+
10756
+ @property
10757
+ def Endpoint(self):
10758
+ return self._Endpoint
10759
+
10760
+ @Endpoint.setter
10761
+ def Endpoint(self, Endpoint):
10762
+ self._Endpoint = Endpoint
10763
+
10764
+
10765
+ def _deserialize(self, params):
10766
+ if params.get("Agent") is not None:
10767
+ self._Agent = Agent()
10768
+ self._Agent._deserialize(params.get("Agent"))
10769
+ self._WorkflowInstanceId = params.get("WorkflowInstanceId")
10770
+ self._Endpoint = params.get("Endpoint")
10771
+ memeber_set = set(params.keys())
10772
+ for name, value in vars(self).items():
10773
+ property_name = name[1:]
10774
+ if property_name in memeber_set:
10775
+ memeber_set.remove(property_name)
10776
+ if len(memeber_set) > 0:
10777
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10778
+
10779
+
10780
+
10781
+ class DescribeChannelSealPolicyWorkflowUrlResponse(AbstractModel):
10782
+ """DescribeChannelSealPolicyWorkflowUrl返回参数结构体
10783
+
10784
+ """
10785
+
10786
+ def __init__(self):
10787
+ r"""
10788
+ :param _WorkflowUrl: 用印审批小程序链接,链接类型(通过H5唤起小程序或通过APP跳转方式查看)。
10789
+ :type WorkflowUrl: str
10790
+ :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10791
+ :type RequestId: str
10792
+ """
10793
+ self._WorkflowUrl = None
10794
+ self._RequestId = None
10795
+
10796
+ @property
10797
+ def WorkflowUrl(self):
10798
+ return self._WorkflowUrl
10799
+
10800
+ @WorkflowUrl.setter
10801
+ def WorkflowUrl(self, WorkflowUrl):
10802
+ self._WorkflowUrl = WorkflowUrl
10803
+
10804
+ @property
10805
+ def RequestId(self):
10806
+ return self._RequestId
10807
+
10808
+ @RequestId.setter
10809
+ def RequestId(self, RequestId):
10810
+ self._RequestId = RequestId
10811
+
10812
+
10813
+ def _deserialize(self, params):
10814
+ self._WorkflowUrl = params.get("WorkflowUrl")
10815
+ self._RequestId = params.get("RequestId")
10816
+
10817
+
10667
10818
  class DescribeExtendedServiceAuthInfoRequest(AbstractModel):
10668
10819
  """DescribeExtendedServiceAuthInfo请求参数结构体
10669
10820
 
@@ -13744,6 +13895,56 @@ class FormField(AbstractModel):
13744
13895
  }
13745
13896
 
13746
13897
  ```
13898
+
13899
+
13900
+ 输入示例3(表格设置字体加粗颜色):
13901
+
13902
+ ```
13903
+ {
13904
+ "headers":[
13905
+ {
13906
+ "content":"head1"
13907
+ },
13908
+ {
13909
+ "content":"head2"
13910
+ },
13911
+ {
13912
+ "content":"head3"
13913
+ }
13914
+ ],
13915
+ "rowCount":3,
13916
+ "body":{
13917
+ "cells":[
13918
+ {
13919
+ "rowStart":1,
13920
+ "rowEnd":1,
13921
+ "columnStart":1,
13922
+ "columnEnd":1,
13923
+ "content":"123",
13924
+ "style": "{\"color\": \"#b50000\", \"fontSize\": 12,\"bold\": true,\"align\": \"CENTER\"}"
13925
+ },
13926
+ {
13927
+ "rowStart":2,
13928
+ "rowEnd":3,
13929
+ "columnStart":1,
13930
+ "columnEnd":2,
13931
+ "content":"456",
13932
+ "style": "{\"color\": \"#b50000\", \"fontSize\": 12,\"bold\": true,\"align\": \"LEFT\"}"
13933
+ },
13934
+ {
13935
+ "rowStart":3,
13936
+ "rowEnd":3,
13937
+ "columnStart":3,
13938
+ "columnEnd":3,
13939
+ "content":"789",
13940
+ "style": "{\"color\": \"#b500bf\", \"fontSize\": 12,\"bold\": false,\"align\": \"RIGHT\"}"
13941
+ }
13942
+ ]
13943
+ }
13944
+ }
13945
+
13946
+ ```
13947
+
13747
13948
  表格参数说明
13748
13949
 
13749
13950
  | 名称 | 类型 | 描述 |
@@ -13755,11 +13956,15 @@ class FormField(AbstractModel):
13755
13956
  | cells.N.columnStart | Integer | 单元格坐标:列起始index |
13756
13957
  | cells.N.columnEnd | Integer | 单元格坐标:列结束index |
13757
13958
  | cells.N.content | String | 单元格内容,字数不超过100 |
13959
+ | cells.N.style | String | 单元格字体风格配置 ,风格配置的json字符串 如: {"font":"黑体","fontSize":12,"color":"FFFFFF","bold":true,"align":"CENTER"} |
13758
13960
 
13759
13961
  表格参数headers说明
13760
13962
  widthPercent Integer 表头单元格列占总表头的比例,例如1:30表示 此列占表头的30%,不填写时列宽度平均拆分;例如2:总2列,某一列填写40,剩余列可以为空,按照60计算。;例如3:总3列,某一列填写30,剩余2列可以为空,分别为(100-30)/2=35
13963
+
13761
13964
  content String 表头单元格内容,字数不超过100
13762
13965
 
13966
+ style String 为字体风格设置 风格支持: font : 目前支持 黑体、宋体; fontSize: 6-72; color:000000-FFFFFF 字符串形如: "FFFFFF"; bold : 是否加粗, true : 加粗 false: 不加粗; align: 对其方式, 支持 LEFT / RIGHT / CENTER
13967
+
13763
13968
  """
13764
13969
 
13765
13970
  def __init__(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-essbasic
3
- Version: 3.0.1040
3
+ Version: 3.0.1046
4
4
  Summary: Tencent Cloud Essbasic 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 (==3.0.1040)
18
+ Requires-Dist: tencentcloud-sdk-python-common (==3.0.1046)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,4 +1,4 @@
1
- tencentcloud/__init__.py,sha256=bMEMpc4XTlAB2egwci_aE1kofh-FvtsGw9F-476BiWw,631
1
+ tencentcloud/__init__.py,sha256=8Xf1QxABYua1Lnce_Wts9EW3EJE9woYbsW6jftk7IJo,631
2
2
  tencentcloud/essbasic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/essbasic/v20201222/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/essbasic/v20201222/errorcodes.py,sha256=cZPs0vLmArRFQoZqxM4alb0WeBF9f0V0IHmt65dUdxs,5392
@@ -6,9 +6,9 @@ tencentcloud/essbasic/v20201222/essbasic_client.py,sha256=kua9joup-BLKbyITYpVovM
6
6
  tencentcloud/essbasic/v20201222/models.py,sha256=Q2E6jmVT1emRziwRN-qj8XpdzpxvqqHTKOEQz8JaM_s,270905
7
7
  tencentcloud/essbasic/v20210526/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  tencentcloud/essbasic/v20210526/errorcodes.py,sha256=L7u1uH1UVbsjd_f2RTdpmzKFDQJN-lfFZUyKhBDluxQ,18083
9
- tencentcloud/essbasic/v20210526/essbasic_client.py,sha256=oBORzF0OIXaNmhM5ZS3AQsLuNoCoei7dxrSw-K7WdGM,108882
10
- tencentcloud/essbasic/v20210526/models.py,sha256=E3Aq0ve_5dvXEa7q-vYM7BGHBGLKmryZaJvHa1pFaeQ,603104
11
- tencentcloud_sdk_python_essbasic-3.0.1040.dist-info/METADATA,sha256=lc6oX45cN40U6w_ovS69Yq_uJm7j6n09QTKoAPyev_4,1517
12
- tencentcloud_sdk_python_essbasic-3.0.1040.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
13
- tencentcloud_sdk_python_essbasic-3.0.1040.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
14
- tencentcloud_sdk_python_essbasic-3.0.1040.dist-info/RECORD,,
9
+ tencentcloud/essbasic/v20210526/essbasic_client.py,sha256=LZuZSAKe53Mb_AmOjBCzMy6o2_kGtaVXbOOMOGx1bok,109948
10
+ tencentcloud/essbasic/v20210526/models.py,sha256=pyjea3UYp3I0ZM81z-Dlam0ZpaTb9N_xQxWtFYUI8qw,610221
11
+ tencentcloud_sdk_python_essbasic-3.0.1046.dist-info/METADATA,sha256=4lus7Iu_SMmCl1M8jwHTraWwCl7mxfN6EBS5Z4dAxlQ,1517
12
+ tencentcloud_sdk_python_essbasic-3.0.1046.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
13
+ tencentcloud_sdk_python_essbasic-3.0.1046.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
14
+ tencentcloud_sdk_python_essbasic-3.0.1046.dist-info/RECORD,,