tencentcloud-sdk-python-essbasic 3.0.965__py2.py3-none-any.whl → 3.0.977__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 +1 -1
- tencentcloud/essbasic/v20210526/essbasic_client.py +12 -0
- tencentcloud/essbasic/v20210526/models.py +65 -20
- {tencentcloud_sdk_python_essbasic-3.0.965.dist-info → tencentcloud_sdk_python_essbasic-3.0.977.dist-info}/METADATA +2 -2
- {tencentcloud_sdk_python_essbasic-3.0.965.dist-info → tencentcloud_sdk_python_essbasic-3.0.977.dist-info}/RECORD +7 -7
- {tencentcloud_sdk_python_essbasic-3.0.965.dist-info → tencentcloud_sdk_python_essbasic-3.0.977.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_essbasic-3.0.965.dist-info → tencentcloud_sdk_python_essbasic-3.0.977.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -393,6 +393,11 @@ class EssbasicClient(AbstractClient):
|
|
|
393
393
|
- B端企业的签署方式是静默签署
|
|
394
394
|
- B端企业是非首位签署
|
|
395
395
|
|
|
396
|
+
通过一码多扫二维码发起的合同,合同涉及到的回调消息可参考文档[合同发起及签署相关回调
|
|
397
|
+
]( https://qian.tencent.com/developers/partner/callback_types_contracts_sign)
|
|
398
|
+
|
|
399
|
+
用户通过签署二维码发起合同时,因企业额度不足导致失败 会触发签署二维码相关回调,具体参考文档[签署二维码相关回调](https://qian.tencent.com/developers/partner/callback_types_commons#%E7%AD%BE%E7%BD%B2%E4%BA%8C%E7%BB%B4%E7%A0%81%E7%9B%B8%E5%85%B3%E5%9B%9E%E8%B0%83)
|
|
400
|
+
|
|
396
401
|
:param request: Request instance for ChannelCreateMultiFlowSignQRCode.
|
|
397
402
|
:type request: :class:`tencentcloud.essbasic.v20210526.models.ChannelCreateMultiFlowSignQRCodeRequest`
|
|
398
403
|
:rtype: :class:`tencentcloud.essbasic.v20210526.models.ChannelCreateMultiFlowSignQRCodeResponse`
|
|
@@ -986,6 +991,13 @@ class EssbasicClient(AbstractClient):
|
|
|
986
991
|
其中小程序的原始Id,请联系<对接技术人员>获取,或者查看小程序信息自助获取。
|
|
987
992
|
使用CreateSignUrls,设置EndPoint为APP,得到path。
|
|
988
993
|
|
|
994
|
+
其中小程序的原始Id如下,或者查看小程序信息自助获取。
|
|
995
|
+
|
|
996
|
+
| 小程序 | AppID | 原始ID |
|
|
997
|
+
| ------------ | ------------ | ------------ |
|
|
998
|
+
| 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
|
|
999
|
+
| 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
|
|
1000
|
+
|
|
989
1001
|
:param request: Request instance for CreateSignUrls.
|
|
990
1002
|
:type request: :class:`tencentcloud.essbasic.v20210526.models.CreateSignUrlsRequest`
|
|
991
1003
|
:rtype: :class:`tencentcloud.essbasic.v20210526.models.CreateSignUrlsResponse`
|
|
@@ -429,6 +429,8 @@ class BaseFlowInfo(AbstractModel):
|
|
|
429
429
|
<br/>false:不开启发起方发起前审核
|
|
430
430
|
<br/>当指定NeedCreateReview=true,则提交审核后,需要使用接口:ChannelCreateFlowSignReview,来完成发起前审核,审核通过后,可以继续查看,签署合同
|
|
431
431
|
:type NeedCreateReview: bool
|
|
432
|
+
:param _Components: 填写控件:文件发起使用
|
|
433
|
+
:type Components: list of Component
|
|
432
434
|
"""
|
|
433
435
|
self._FlowName = None
|
|
434
436
|
self._FlowType = None
|
|
@@ -441,6 +443,7 @@ class BaseFlowInfo(AbstractModel):
|
|
|
441
443
|
self._UserData = None
|
|
442
444
|
self._CcInfos = None
|
|
443
445
|
self._NeedCreateReview = None
|
|
446
|
+
self._Components = None
|
|
444
447
|
|
|
445
448
|
@property
|
|
446
449
|
def FlowName(self):
|
|
@@ -530,6 +533,14 @@ class BaseFlowInfo(AbstractModel):
|
|
|
530
533
|
def NeedCreateReview(self, NeedCreateReview):
|
|
531
534
|
self._NeedCreateReview = NeedCreateReview
|
|
532
535
|
|
|
536
|
+
@property
|
|
537
|
+
def Components(self):
|
|
538
|
+
return self._Components
|
|
539
|
+
|
|
540
|
+
@Components.setter
|
|
541
|
+
def Components(self, Components):
|
|
542
|
+
self._Components = Components
|
|
543
|
+
|
|
533
544
|
|
|
534
545
|
def _deserialize(self, params):
|
|
535
546
|
self._FlowName = params.get("FlowName")
|
|
@@ -553,6 +564,12 @@ class BaseFlowInfo(AbstractModel):
|
|
|
553
564
|
obj._deserialize(item)
|
|
554
565
|
self._CcInfos.append(obj)
|
|
555
566
|
self._NeedCreateReview = params.get("NeedCreateReview")
|
|
567
|
+
if params.get("Components") is not None:
|
|
568
|
+
self._Components = []
|
|
569
|
+
for item in params.get("Components"):
|
|
570
|
+
obj = Component()
|
|
571
|
+
obj._deserialize(item)
|
|
572
|
+
self._Components.append(obj)
|
|
556
573
|
memeber_set = set(params.keys())
|
|
557
574
|
for name, value in vars(self).items():
|
|
558
575
|
property_name = name[1:]
|
|
@@ -2589,9 +2606,9 @@ class ChannelCreateMultiFlowSignQRCodeRequest(AbstractModel):
|
|
|
2589
2606
|
:param _Restrictions: 指定的签署二维码签署人
|
|
2590
2607
|
<br/>指定后,只允许知道的人操作和签署
|
|
2591
2608
|
:type Restrictions: list of ApproverRestriction
|
|
2592
|
-
:param _CallbackUrl:
|
|
2593
|
-
|
|
2594
|
-
|
|
2609
|
+
:param _CallbackUrl: 已废弃,回调配置统一使用企业应用管理-应用集成-第三方应用中的配置
|
|
2610
|
+
<br/> 通过一码多扫二维码发起的合同,回调消息可参考文档 https://qian.tencent.com/developers/partner/callback_types_contracts_sign
|
|
2611
|
+
<br/> 用户通过签署二维码发起合同时,因企业额度不足导致失败 会触发签署二维码相关回调,具体参考文档 https://qian.tencent.com/developers/partner/callback_types_commons#%E7%AD%BE%E7%BD%B2%E4%BA%8C%E7%BB%B4%E7%A0%81%E7%9B%B8%E5%85%B3%E5%9B%9E%E8%B0%83
|
|
2595
2612
|
:type CallbackUrl: str
|
|
2596
2613
|
:param _ApproverRestrictions: 限制二维码用户条件(已弃用)
|
|
2597
2614
|
:type ApproverRestrictions: :class:`tencentcloud.essbasic.v20210526.models.ApproverRestriction`
|
|
@@ -2667,10 +2684,14 @@ class ChannelCreateMultiFlowSignQRCodeRequest(AbstractModel):
|
|
|
2667
2684
|
|
|
2668
2685
|
@property
|
|
2669
2686
|
def CallbackUrl(self):
|
|
2687
|
+
warnings.warn("parameter `CallbackUrl` is deprecated", DeprecationWarning)
|
|
2688
|
+
|
|
2670
2689
|
return self._CallbackUrl
|
|
2671
2690
|
|
|
2672
2691
|
@CallbackUrl.setter
|
|
2673
2692
|
def CallbackUrl(self, CallbackUrl):
|
|
2693
|
+
warnings.warn("parameter `CallbackUrl` is deprecated", DeprecationWarning)
|
|
2694
|
+
|
|
2674
2695
|
self._CallbackUrl = CallbackUrl
|
|
2675
2696
|
|
|
2676
2697
|
@property
|
|
@@ -2876,7 +2897,7 @@ class ChannelCreatePrepareFlowRequest(AbstractModel):
|
|
|
2876
2897
|
r"""
|
|
2877
2898
|
:param _ResourceId: 资源id,与ResourceType对应
|
|
2878
2899
|
:type ResourceId: str
|
|
2879
|
-
:param _ResourceType:
|
|
2900
|
+
:param _ResourceType: 资源类型,与ResourceId对应1:模板 2: 文件
|
|
2880
2901
|
:type ResourceType: int
|
|
2881
2902
|
:param _FlowInfo: 合同流程基础信息
|
|
2882
2903
|
:type FlowInfo: :class:`tencentcloud.essbasic.v20210526.models.BaseFlowInfo`
|
|
@@ -5667,6 +5688,8 @@ class CommonFlowApprover(AbstractModel):
|
|
|
5667
5688
|
:type NotifyType: str
|
|
5668
5689
|
:param _ApproverOption: 签署人配置
|
|
5669
5690
|
:type ApproverOption: :class:`tencentcloud.essbasic.v20210526.models.CommonApproverOption`
|
|
5691
|
+
:param _SignComponents: 签署控件:文件发起使用
|
|
5692
|
+
:type SignComponents: list of Component
|
|
5670
5693
|
"""
|
|
5671
5694
|
self._NotChannelOrganization = None
|
|
5672
5695
|
self._ApproverType = None
|
|
@@ -5682,6 +5705,7 @@ class CommonFlowApprover(AbstractModel):
|
|
|
5682
5705
|
self._IsFullText = None
|
|
5683
5706
|
self._NotifyType = None
|
|
5684
5707
|
self._ApproverOption = None
|
|
5708
|
+
self._SignComponents = None
|
|
5685
5709
|
|
|
5686
5710
|
@property
|
|
5687
5711
|
def NotChannelOrganization(self):
|
|
@@ -5799,6 +5823,14 @@ class CommonFlowApprover(AbstractModel):
|
|
|
5799
5823
|
def ApproverOption(self, ApproverOption):
|
|
5800
5824
|
self._ApproverOption = ApproverOption
|
|
5801
5825
|
|
|
5826
|
+
@property
|
|
5827
|
+
def SignComponents(self):
|
|
5828
|
+
return self._SignComponents
|
|
5829
|
+
|
|
5830
|
+
@SignComponents.setter
|
|
5831
|
+
def SignComponents(self, SignComponents):
|
|
5832
|
+
self._SignComponents = SignComponents
|
|
5833
|
+
|
|
5802
5834
|
|
|
5803
5835
|
def _deserialize(self, params):
|
|
5804
5836
|
self._NotChannelOrganization = params.get("NotChannelOrganization")
|
|
@@ -5817,6 +5849,12 @@ class CommonFlowApprover(AbstractModel):
|
|
|
5817
5849
|
if params.get("ApproverOption") is not None:
|
|
5818
5850
|
self._ApproverOption = CommonApproverOption()
|
|
5819
5851
|
self._ApproverOption._deserialize(params.get("ApproverOption"))
|
|
5852
|
+
if params.get("SignComponents") is not None:
|
|
5853
|
+
self._SignComponents = []
|
|
5854
|
+
for item in params.get("SignComponents"):
|
|
5855
|
+
obj = Component()
|
|
5856
|
+
obj._deserialize(item)
|
|
5857
|
+
self._SignComponents.append(obj)
|
|
5820
5858
|
memeber_set = set(params.keys())
|
|
5821
5859
|
for name, value in vars(self).items():
|
|
5822
5860
|
property_name = name[1:]
|
|
@@ -7124,24 +7162,31 @@ class CreateSignUrlsRequest(AbstractModel):
|
|
|
7124
7162
|
r"""
|
|
7125
7163
|
:param _Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 必填。
|
|
7126
7164
|
:type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
|
7127
|
-
:param _FlowIds:
|
|
7165
|
+
:param _FlowIds: 流程(合同)的编号列表,最多支持100个。(备注:该参数和合同组编号必须二选一)
|
|
7128
7166
|
:type FlowIds: list of str
|
|
7129
7167
|
:param _FlowGroupId: 合同组编号(备注:该参数和合同(流程)编号数组必须二选一)
|
|
7130
7168
|
:type FlowGroupId: str
|
|
7131
|
-
:param _Endpoint:
|
|
7169
|
+
:param _Endpoint: 签署链接类型,可以设置的参数如下
|
|
7170
|
+
|
|
7171
|
+
- WEIXINAPP:短链直接跳小程序 (默认类型)
|
|
7172
|
+
- CHANNEL:跳转H5页面
|
|
7173
|
+
- APP:第三方APP或小程序跳转电子签小程序
|
|
7174
|
+
- LONGURL2WEIXINAPP:长链接跳转小程序
|
|
7132
7175
|
:type Endpoint: str
|
|
7133
|
-
:param _GenerateType:
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7176
|
+
:param _GenerateType: 签署链接生成类型,可以选择的类型如下
|
|
7177
|
+
|
|
7178
|
+
- ALL:全部签署方签署链接,此时不会给自动签署的签署方创建签署链接(默认类型)
|
|
7179
|
+
- CHANNEL:第三方平台子客企业企业
|
|
7180
|
+
- NOT_CHANNEL:非第三方平台子客企业企业
|
|
7181
|
+
- PERSON:个人
|
|
7182
|
+
- FOLLOWER:关注方,目前是合同抄送方
|
|
7139
7183
|
:type GenerateType: str
|
|
7140
7184
|
:param _OrganizationName: 非第三方平台子客企业参与方的企业名称,GenerateType为"NOT_CHANNEL"时必填
|
|
7141
7185
|
:type OrganizationName: str
|
|
7142
|
-
:param _Name:
|
|
7186
|
+
:param _Name: 参与人姓名
|
|
7187
|
+
GenerateType为"PERSON"(即个人签署方)时必填
|
|
7143
7188
|
:type Name: str
|
|
7144
|
-
:param _Mobile:
|
|
7189
|
+
:param _Mobile: 参与人手机号
|
|
7145
7190
|
GenerateType为"PERSON"或"FOLLOWER"时必填
|
|
7146
7191
|
:type Mobile: str
|
|
7147
7192
|
:param _OrganizationOpenId: 第三方平台子客企业的企业OpenId,GenerateType为"CHANNEL"时必填
|
|
@@ -7156,10 +7201,10 @@ GenerateType为"PERSON"或"FOLLOWER"时必填
|
|
|
7156
7201
|
:type Operator: :class:`tencentcloud.essbasic.v20210526.models.UserInfo`
|
|
7157
7202
|
:param _Hides: 生成的签署链接在签署过程隐藏的按钮列表, 可以设置隐藏的按钮列表如下
|
|
7158
7203
|
|
|
7159
|
-
0:合同签署页面更多操作按钮
|
|
7160
|
-
1:合同签署页面更多操作的拒绝签署按钮
|
|
7161
|
-
2:合同签署页面更多操作的转他人处理按钮
|
|
7162
|
-
3:签署成功页的查看详情按钮
|
|
7204
|
+
- 0:合同签署页面更多操作按钮
|
|
7205
|
+
- 1:合同签署页面更多操作的拒绝签署按钮
|
|
7206
|
+
- 2:合同签署页面更多操作的转他人处理按钮
|
|
7207
|
+
- 3:签署成功页的查看详情按钮
|
|
7163
7208
|
:type Hides: list of int
|
|
7164
7209
|
"""
|
|
7165
7210
|
self._Agent = None
|
|
@@ -8834,7 +8879,7 @@ class FlowApproverInfo(AbstractModel):
|
|
|
8834
8879
|
4-非第三方平台子客企业:Name、Mobile必传,OrgName必传,且NotChannelOrganization=True。
|
|
8835
8880
|
|
|
8836
8881
|
RecipientId参数:
|
|
8837
|
-
从DescribeTemplates接口中,可以得到模板下的签署方Recipient列表,根据模板自定义的Rolename在此结构体中确定其RecipientId
|
|
8882
|
+
从DescribeTemplates接口中,可以得到模板下的签署方Recipient列表,根据模板自定义的Rolename在此结构体中确定其RecipientId。
|
|
8838
8883
|
|
|
8839
8884
|
"""
|
|
8840
8885
|
|
|
@@ -11894,7 +11939,7 @@ class SignUrlInfo(AbstractModel):
|
|
|
11894
11939
|
|
|
11895
11940
|
def __init__(self):
|
|
11896
11941
|
r"""
|
|
11897
|
-
:param _SignUrl: 签署链接,过期时间为
|
|
11942
|
+
:param _SignUrl: 签署链接,过期时间为90天
|
|
11898
11943
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
11899
11944
|
:type SignUrl: str
|
|
11900
11945
|
:param _Deadline: 合同过期时间戳,单位秒
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-essbasic
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.977
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common (==3.0.977)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=0uUHDJR6CGYoWWxK6We6LBdwdNT-8vocz9d55Wvm_6E,630
|
|
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=KK7N259j7gk-2_DQ93PA68N6PqDEOgL_j5yGX1uiCyk,17658
|
|
9
|
-
tencentcloud/essbasic/v20210526/essbasic_client.py,sha256=
|
|
10
|
-
tencentcloud/essbasic/v20210526/models.py,sha256=
|
|
11
|
-
tencentcloud_sdk_python_essbasic-3.0.
|
|
12
|
-
tencentcloud_sdk_python_essbasic-3.0.
|
|
13
|
-
tencentcloud_sdk_python_essbasic-3.0.
|
|
14
|
-
tencentcloud_sdk_python_essbasic-3.0.
|
|
9
|
+
tencentcloud/essbasic/v20210526/essbasic_client.py,sha256=Gxk3JB2ZJfM1hY_5f3rQN3-SPbM77m0WHXUYQvr2coU,64999
|
|
10
|
+
tencentcloud/essbasic/v20210526/models.py,sha256=BK_LS-cRtvCL1on63PEbWysXeHIuTf7zbDs1zXqKXYs,431564
|
|
11
|
+
tencentcloud_sdk_python_essbasic-3.0.977.dist-info/METADATA,sha256=zdr1W2Sb1eySo_HcwRLtnbvi9HT3ZNU7mk3nrVmpZFI,1515
|
|
12
|
+
tencentcloud_sdk_python_essbasic-3.0.977.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
13
|
+
tencentcloud_sdk_python_essbasic-3.0.977.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
14
|
+
tencentcloud_sdk_python_essbasic-3.0.977.dist-info/RECORD,,
|
|
File without changes
|