tencentcloud-sdk-python 3.0.1330__py2.py3-none-any.whl → 3.0.1331__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/ams/v20201229/models.py +50 -14
- tencentcloud/cvm/v20170312/models.py +15 -0
- tencentcloud/ess/v20201111/ess_client.py +30 -0
- tencentcloud/ess/v20201111/models.py +259 -6
- tencentcloud/essbasic/v20210526/essbasic_client.py +30 -0
- tencentcloud/essbasic/v20210526/models.py +242 -0
- tencentcloud/ims/v20201229/models.py +157 -0
- tencentcloud/live/v20180801/models.py +0 -76
- tencentcloud/lkeap/v20240522/lkeap_client.py +5 -1
- tencentcloud/ocr/v20181119/errorcodes.py +6 -0
- tencentcloud/tione/v20211111/tione_client.py +3 -1
- tencentcloud/trtc/v20190722/models.py +15 -0
- tencentcloud/wedata/v20210820/models.py +19 -4
- {tencentcloud_sdk_python-3.0.1330.dist-info → tencentcloud_sdk_python-3.0.1331.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1330.dist-info → tencentcloud_sdk_python-3.0.1331.dist-info}/RECORD +19 -19
- {tencentcloud_sdk_python-3.0.1330.dist-info → tencentcloud_sdk_python-3.0.1331.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1330.dist-info → tencentcloud_sdk_python-3.0.1331.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1330.dist-info → tencentcloud_sdk_python-3.0.1331.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -66,6 +66,10 @@ class AudioResult(AbstractModel):
|
|
66
66
|
:type LabelResults: list of LabelResults
|
67
67
|
:param _TravelResults: 出行结果
|
68
68
|
:type TravelResults: list of TravelResults
|
69
|
+
:param _SubTag: 三级标签
|
70
|
+
:type SubTag: str
|
71
|
+
:param _SubTagCode: 三级标签码
|
72
|
+
:type SubTagCode: str
|
69
73
|
"""
|
70
74
|
self._HitFlag = None
|
71
75
|
self._Label = None
|
@@ -83,6 +87,8 @@ class AudioResult(AbstractModel):
|
|
83
87
|
self._SpeakerResults = None
|
84
88
|
self._LabelResults = None
|
85
89
|
self._TravelResults = None
|
90
|
+
self._SubTag = None
|
91
|
+
self._SubTagCode = None
|
86
92
|
|
87
93
|
@property
|
88
94
|
def HitFlag(self):
|
@@ -269,6 +275,28 @@ class AudioResult(AbstractModel):
|
|
269
275
|
def TravelResults(self, TravelResults):
|
270
276
|
self._TravelResults = TravelResults
|
271
277
|
|
278
|
+
@property
|
279
|
+
def SubTag(self):
|
280
|
+
"""三级标签
|
281
|
+
:rtype: str
|
282
|
+
"""
|
283
|
+
return self._SubTag
|
284
|
+
|
285
|
+
@SubTag.setter
|
286
|
+
def SubTag(self, SubTag):
|
287
|
+
self._SubTag = SubTag
|
288
|
+
|
289
|
+
@property
|
290
|
+
def SubTagCode(self):
|
291
|
+
"""三级标签码
|
292
|
+
:rtype: str
|
293
|
+
"""
|
294
|
+
return self._SubTagCode
|
295
|
+
|
296
|
+
@SubTagCode.setter
|
297
|
+
def SubTagCode(self, SubTagCode):
|
298
|
+
self._SubTagCode = SubTagCode
|
299
|
+
|
272
300
|
|
273
301
|
def _deserialize(self, params):
|
274
302
|
self._HitFlag = params.get("HitFlag")
|
@@ -322,6 +350,8 @@ class AudioResult(AbstractModel):
|
|
322
350
|
obj = TravelResults()
|
323
351
|
obj._deserialize(item)
|
324
352
|
self._TravelResults.append(obj)
|
353
|
+
self._SubTag = params.get("SubTag")
|
354
|
+
self._SubTagCode = params.get("SubTagCode")
|
325
355
|
memeber_set = set(params.keys())
|
326
356
|
for name, value in vars(self).items():
|
327
357
|
property_name = name[1:]
|
@@ -669,29 +699,24 @@ class AudioResultDetailTextResult(AbstractModel):
|
|
669
699
|
def __init__(self):
|
670
700
|
r"""
|
671
701
|
:param _Label: 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
|
672
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
673
702
|
:type Label: str
|
674
703
|
:param _Keywords: 该字段用于返回ASR识别出的文本内容命中的关键词信息,用于标注内容违规的具体原因(如:加我微信)。该参数可能会有多个返回值,代表命中的多个关键词;若返回值为空,Score不为空,则代表识别结果所对应的恶意标签(Label)来自于语义模型判断的返回值。
|
675
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
676
704
|
:type Keywords: list of str
|
677
705
|
:param _LibId: 该字段**仅当Label为Custom:自定义关键词时该参数有效**,用于返回自定义库的ID,以方便自定义库管理和配置。
|
678
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
679
706
|
:type LibId: str
|
680
707
|
:param _LibName: 该字段**仅当Label为Custom:自定义关键词时该参数有效**,用于返回自定义库的名称,以方便自定义库管理和配置。
|
681
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
682
708
|
:type LibName: str
|
683
709
|
:param _Score: 该字段用于返回当前标签下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高**),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容。
|
684
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
685
710
|
:type Score: int
|
686
711
|
:param _Suggestion: 该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示具体的后续建议操作。<br>
|
687
712
|
返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
688
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
689
713
|
:type Suggestion: str
|
690
714
|
:param _LibType: 该字段用于返回自定义关键词对应的词库类型,取值为**1**(黑白库)和**2**(自定义关键词库),若未配置自定义关键词库,则默认值为1(黑白库匹配)。
|
691
715
|
:type LibType: int
|
692
716
|
:param _SubLabel: 该字段用于返回当前标签(Lable)下的二级标签。
|
693
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
694
717
|
:type SubLabel: str
|
718
|
+
:param _HitInfos: 该字段用于命中的关键词信息
|
719
|
+
:type HitInfos: list of HitInfo
|
695
720
|
"""
|
696
721
|
self._Label = None
|
697
722
|
self._Keywords = None
|
@@ -701,11 +726,11 @@ class AudioResultDetailTextResult(AbstractModel):
|
|
701
726
|
self._Suggestion = None
|
702
727
|
self._LibType = None
|
703
728
|
self._SubLabel = None
|
729
|
+
self._HitInfos = None
|
704
730
|
|
705
731
|
@property
|
706
732
|
def Label(self):
|
707
733
|
"""该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
|
708
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
709
734
|
:rtype: str
|
710
735
|
"""
|
711
736
|
return self._Label
|
@@ -717,7 +742,6 @@ class AudioResultDetailTextResult(AbstractModel):
|
|
717
742
|
@property
|
718
743
|
def Keywords(self):
|
719
744
|
"""该字段用于返回ASR识别出的文本内容命中的关键词信息,用于标注内容违规的具体原因(如:加我微信)。该参数可能会有多个返回值,代表命中的多个关键词;若返回值为空,Score不为空,则代表识别结果所对应的恶意标签(Label)来自于语义模型判断的返回值。
|
720
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
721
745
|
:rtype: list of str
|
722
746
|
"""
|
723
747
|
return self._Keywords
|
@@ -729,7 +753,6 @@ class AudioResultDetailTextResult(AbstractModel):
|
|
729
753
|
@property
|
730
754
|
def LibId(self):
|
731
755
|
"""该字段**仅当Label为Custom:自定义关键词时该参数有效**,用于返回自定义库的ID,以方便自定义库管理和配置。
|
732
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
733
756
|
:rtype: str
|
734
757
|
"""
|
735
758
|
return self._LibId
|
@@ -741,7 +764,6 @@ class AudioResultDetailTextResult(AbstractModel):
|
|
741
764
|
@property
|
742
765
|
def LibName(self):
|
743
766
|
"""该字段**仅当Label为Custom:自定义关键词时该参数有效**,用于返回自定义库的名称,以方便自定义库管理和配置。
|
744
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
745
767
|
:rtype: str
|
746
768
|
"""
|
747
769
|
return self._LibName
|
@@ -753,7 +775,6 @@ class AudioResultDetailTextResult(AbstractModel):
|
|
753
775
|
@property
|
754
776
|
def Score(self):
|
755
777
|
"""该字段用于返回当前标签下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高**),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容。
|
756
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
757
778
|
:rtype: int
|
758
779
|
"""
|
759
780
|
return self._Score
|
@@ -766,7 +787,6 @@ class AudioResultDetailTextResult(AbstractModel):
|
|
766
787
|
def Suggestion(self):
|
767
788
|
"""该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示具体的后续建议操作。<br>
|
768
789
|
返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
769
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
770
790
|
:rtype: str
|
771
791
|
"""
|
772
792
|
return self._Suggestion
|
@@ -789,7 +809,6 @@ class AudioResultDetailTextResult(AbstractModel):
|
|
789
809
|
@property
|
790
810
|
def SubLabel(self):
|
791
811
|
"""该字段用于返回当前标签(Lable)下的二级标签。
|
792
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
793
812
|
:rtype: str
|
794
813
|
"""
|
795
814
|
return self._SubLabel
|
@@ -798,6 +817,17 @@ class AudioResultDetailTextResult(AbstractModel):
|
|
798
817
|
def SubLabel(self, SubLabel):
|
799
818
|
self._SubLabel = SubLabel
|
800
819
|
|
820
|
+
@property
|
821
|
+
def HitInfos(self):
|
822
|
+
"""该字段用于命中的关键词信息
|
823
|
+
:rtype: list of HitInfo
|
824
|
+
"""
|
825
|
+
return self._HitInfos
|
826
|
+
|
827
|
+
@HitInfos.setter
|
828
|
+
def HitInfos(self, HitInfos):
|
829
|
+
self._HitInfos = HitInfos
|
830
|
+
|
801
831
|
|
802
832
|
def _deserialize(self, params):
|
803
833
|
self._Label = params.get("Label")
|
@@ -808,6 +838,12 @@ class AudioResultDetailTextResult(AbstractModel):
|
|
808
838
|
self._Suggestion = params.get("Suggestion")
|
809
839
|
self._LibType = params.get("LibType")
|
810
840
|
self._SubLabel = params.get("SubLabel")
|
841
|
+
if params.get("HitInfos") is not None:
|
842
|
+
self._HitInfos = []
|
843
|
+
for item in params.get("HitInfos"):
|
844
|
+
obj = HitInfo()
|
845
|
+
obj._deserialize(item)
|
846
|
+
self._HitInfos.append(obj)
|
811
847
|
memeber_set = set(params.keys())
|
812
848
|
for name, value in vars(self).items():
|
813
849
|
property_name = name[1:]
|
@@ -2017,10 +2017,13 @@ class CreateDisasterRecoverGroupRequest(AbstractModel):
|
|
2017
2017
|
:type Type: str
|
2018
2018
|
:param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性。
|
2019
2019
|
:type ClientToken: str
|
2020
|
+
:param _Affinity: 置放群组的亲和度,在置放群组的实例会按该亲和度分布,亲和度的取值范围是:1-10,默认为1
|
2021
|
+
:type Affinity: int
|
2020
2022
|
"""
|
2021
2023
|
self._Name = None
|
2022
2024
|
self._Type = None
|
2023
2025
|
self._ClientToken = None
|
2026
|
+
self._Affinity = None
|
2024
2027
|
|
2025
2028
|
@property
|
2026
2029
|
def Name(self):
|
@@ -2055,11 +2058,23 @@ class CreateDisasterRecoverGroupRequest(AbstractModel):
|
|
2055
2058
|
def ClientToken(self, ClientToken):
|
2056
2059
|
self._ClientToken = ClientToken
|
2057
2060
|
|
2061
|
+
@property
|
2062
|
+
def Affinity(self):
|
2063
|
+
"""置放群组的亲和度,在置放群组的实例会按该亲和度分布,亲和度的取值范围是:1-10,默认为1
|
2064
|
+
:rtype: int
|
2065
|
+
"""
|
2066
|
+
return self._Affinity
|
2067
|
+
|
2068
|
+
@Affinity.setter
|
2069
|
+
def Affinity(self, Affinity):
|
2070
|
+
self._Affinity = Affinity
|
2071
|
+
|
2058
2072
|
|
2059
2073
|
def _deserialize(self, params):
|
2060
2074
|
self._Name = params.get("Name")
|
2061
2075
|
self._Type = params.get("Type")
|
2062
2076
|
self._ClientToken = params.get("ClientToken")
|
2077
|
+
self._Affinity = params.get("Affinity")
|
2063
2078
|
memeber_set = set(params.keys())
|
2064
2079
|
for name, value in vars(self).items():
|
2065
2080
|
property_name = name[1:]
|
@@ -912,6 +912,36 @@ class EssClient(AbstractClient):
|
|
912
912
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
913
913
|
|
914
914
|
|
915
|
+
def CreateFlowForwards(self, request):
|
916
|
+
"""该接口用于将合同中本企业当前经办人转为本企业其他员工进行操作。
|
917
|
+
|
918
|
+
注意:
|
919
|
+
1. 转交的目标经办人需要已经加入企业,且完成实名。
|
920
|
+
2. 仅企业拥有`超管`、`法人`或者`合同管理员`角色的员工才有调用本接口的权限。如果使用主带子方式调用,请确保您已经加入子企业,且账号在子企业中担任任一上述角色。
|
921
|
+
3. 仅支持当前经办人为待签署或待填写状态时进行转交操作。
|
922
|
+
4. 若原合同有填写控件,且当前经办人已经完成填写,则不支持进行转交。
|
923
|
+
5. 若当前经办人已签署完成,或者处于签署流程中,则不支持进行转交。
|
924
|
+
|
925
|
+
:param request: Request instance for CreateFlowForwards.
|
926
|
+
:type request: :class:`tencentcloud.ess.v20201111.models.CreateFlowForwardsRequest`
|
927
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.CreateFlowForwardsResponse`
|
928
|
+
|
929
|
+
"""
|
930
|
+
try:
|
931
|
+
params = request._serialize()
|
932
|
+
headers = request.headers
|
933
|
+
body = self.call("CreateFlowForwards", params, headers=headers)
|
934
|
+
response = json.loads(body)
|
935
|
+
model = models.CreateFlowForwardsResponse()
|
936
|
+
model._deserialize(response["Response"])
|
937
|
+
return model
|
938
|
+
except Exception as e:
|
939
|
+
if isinstance(e, TencentCloudSDKException):
|
940
|
+
raise
|
941
|
+
else:
|
942
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
943
|
+
|
944
|
+
|
915
945
|
def CreateFlowGroupByFiles(self, request):
|
916
946
|
"""此接口(CreateFlowGroupByFiles)可用于通过多个文件创建合同组签署流程。使用该接口需要先依赖[多文件上传](https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles)接口返回的FileIds。
|
917
947
|
|
@@ -8006,6 +8006,163 @@ class CreateFlowEvidenceReportResponse(AbstractModel):
|
|
8006
8006
|
self._RequestId = params.get("RequestId")
|
8007
8007
|
|
8008
8008
|
|
8009
|
+
class CreateFlowForwardsRequest(AbstractModel):
|
8010
|
+
"""CreateFlowForwards请求参数结构体
|
8011
|
+
|
8012
|
+
"""
|
8013
|
+
|
8014
|
+
def __init__(self):
|
8015
|
+
r"""
|
8016
|
+
:param _Operator: 执行本接口操作的员工信息。注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
8017
|
+
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
8018
|
+
:param _TargetUserId: 合同对应参与方需要修改的目标经办人。其UserId可在企业控制台中组织管理里面找到。或者使用获取员工信息接口得到。
|
8019
|
+
|
8020
|
+
注意:`需要保证目标经办人已经加入企业且已实名`
|
8021
|
+
:type TargetUserId: str
|
8022
|
+
:param _FlowForwardInfos: 企业签署方的合同及对应签署方
|
8023
|
+
:type FlowForwardInfos: list of FlowForwardInfo
|
8024
|
+
:param _Agent: 代理企业和员工的信息。在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
8025
|
+
:type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
|
8026
|
+
"""
|
8027
|
+
self._Operator = None
|
8028
|
+
self._TargetUserId = None
|
8029
|
+
self._FlowForwardInfos = None
|
8030
|
+
self._Agent = None
|
8031
|
+
|
8032
|
+
@property
|
8033
|
+
def Operator(self):
|
8034
|
+
"""执行本接口操作的员工信息。注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
8035
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
8036
|
+
"""
|
8037
|
+
return self._Operator
|
8038
|
+
|
8039
|
+
@Operator.setter
|
8040
|
+
def Operator(self, Operator):
|
8041
|
+
self._Operator = Operator
|
8042
|
+
|
8043
|
+
@property
|
8044
|
+
def TargetUserId(self):
|
8045
|
+
"""合同对应参与方需要修改的目标经办人。其UserId可在企业控制台中组织管理里面找到。或者使用获取员工信息接口得到。
|
8046
|
+
|
8047
|
+
注意:`需要保证目标经办人已经加入企业且已实名`
|
8048
|
+
:rtype: str
|
8049
|
+
"""
|
8050
|
+
return self._TargetUserId
|
8051
|
+
|
8052
|
+
@TargetUserId.setter
|
8053
|
+
def TargetUserId(self, TargetUserId):
|
8054
|
+
self._TargetUserId = TargetUserId
|
8055
|
+
|
8056
|
+
@property
|
8057
|
+
def FlowForwardInfos(self):
|
8058
|
+
"""企业签署方的合同及对应签署方
|
8059
|
+
:rtype: list of FlowForwardInfo
|
8060
|
+
"""
|
8061
|
+
return self._FlowForwardInfos
|
8062
|
+
|
8063
|
+
@FlowForwardInfos.setter
|
8064
|
+
def FlowForwardInfos(self, FlowForwardInfos):
|
8065
|
+
self._FlowForwardInfos = FlowForwardInfos
|
8066
|
+
|
8067
|
+
@property
|
8068
|
+
def Agent(self):
|
8069
|
+
"""代理企业和员工的信息。在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
8070
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.Agent`
|
8071
|
+
"""
|
8072
|
+
return self._Agent
|
8073
|
+
|
8074
|
+
@Agent.setter
|
8075
|
+
def Agent(self, Agent):
|
8076
|
+
self._Agent = Agent
|
8077
|
+
|
8078
|
+
|
8079
|
+
def _deserialize(self, params):
|
8080
|
+
if params.get("Operator") is not None:
|
8081
|
+
self._Operator = UserInfo()
|
8082
|
+
self._Operator._deserialize(params.get("Operator"))
|
8083
|
+
self._TargetUserId = params.get("TargetUserId")
|
8084
|
+
if params.get("FlowForwardInfos") is not None:
|
8085
|
+
self._FlowForwardInfos = []
|
8086
|
+
for item in params.get("FlowForwardInfos"):
|
8087
|
+
obj = FlowForwardInfo()
|
8088
|
+
obj._deserialize(item)
|
8089
|
+
self._FlowForwardInfos.append(obj)
|
8090
|
+
if params.get("Agent") is not None:
|
8091
|
+
self._Agent = Agent()
|
8092
|
+
self._Agent._deserialize(params.get("Agent"))
|
8093
|
+
memeber_set = set(params.keys())
|
8094
|
+
for name, value in vars(self).items():
|
8095
|
+
property_name = name[1:]
|
8096
|
+
if property_name in memeber_set:
|
8097
|
+
memeber_set.remove(property_name)
|
8098
|
+
if len(memeber_set) > 0:
|
8099
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8100
|
+
|
8101
|
+
|
8102
|
+
|
8103
|
+
class CreateFlowForwardsResponse(AbstractModel):
|
8104
|
+
"""CreateFlowForwards返回参数结构体
|
8105
|
+
|
8106
|
+
"""
|
8107
|
+
|
8108
|
+
def __init__(self):
|
8109
|
+
r"""
|
8110
|
+
:param _FailedFlows: 失败的合同id以及错误详情
|
8111
|
+
:type FailedFlows: list of FlowForwardResult
|
8112
|
+
:param _SuccessFlows: 成功的合同id
|
8113
|
+
:type SuccessFlows: list of str
|
8114
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8115
|
+
:type RequestId: str
|
8116
|
+
"""
|
8117
|
+
self._FailedFlows = None
|
8118
|
+
self._SuccessFlows = None
|
8119
|
+
self._RequestId = None
|
8120
|
+
|
8121
|
+
@property
|
8122
|
+
def FailedFlows(self):
|
8123
|
+
"""失败的合同id以及错误详情
|
8124
|
+
:rtype: list of FlowForwardResult
|
8125
|
+
"""
|
8126
|
+
return self._FailedFlows
|
8127
|
+
|
8128
|
+
@FailedFlows.setter
|
8129
|
+
def FailedFlows(self, FailedFlows):
|
8130
|
+
self._FailedFlows = FailedFlows
|
8131
|
+
|
8132
|
+
@property
|
8133
|
+
def SuccessFlows(self):
|
8134
|
+
"""成功的合同id
|
8135
|
+
:rtype: list of str
|
8136
|
+
"""
|
8137
|
+
return self._SuccessFlows
|
8138
|
+
|
8139
|
+
@SuccessFlows.setter
|
8140
|
+
def SuccessFlows(self, SuccessFlows):
|
8141
|
+
self._SuccessFlows = SuccessFlows
|
8142
|
+
|
8143
|
+
@property
|
8144
|
+
def RequestId(self):
|
8145
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8146
|
+
:rtype: str
|
8147
|
+
"""
|
8148
|
+
return self._RequestId
|
8149
|
+
|
8150
|
+
@RequestId.setter
|
8151
|
+
def RequestId(self, RequestId):
|
8152
|
+
self._RequestId = RequestId
|
8153
|
+
|
8154
|
+
|
8155
|
+
def _deserialize(self, params):
|
8156
|
+
if params.get("FailedFlows") is not None:
|
8157
|
+
self._FailedFlows = []
|
8158
|
+
for item in params.get("FailedFlows"):
|
8159
|
+
obj = FlowForwardResult()
|
8160
|
+
obj._deserialize(item)
|
8161
|
+
self._FailedFlows.append(obj)
|
8162
|
+
self._SuccessFlows = params.get("SuccessFlows")
|
8163
|
+
self._RequestId = params.get("RequestId")
|
8164
|
+
|
8165
|
+
|
8009
8166
|
class CreateFlowGroupByFilesRequest(AbstractModel):
|
8010
8167
|
"""CreateFlowGroupByFiles请求参数结构体
|
8011
8168
|
|
@@ -22511,10 +22668,8 @@ class FailedDeleteStaffData(AbstractModel):
|
|
22511
22668
|
def __init__(self):
|
22512
22669
|
r"""
|
22513
22670
|
:param _UserId: 员工在电子签的userId
|
22514
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
22515
22671
|
:type UserId: str
|
22516
22672
|
:param _OpenId: 员工在第三方平台的openId
|
22517
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
22518
22673
|
:type OpenId: str
|
22519
22674
|
:param _Reason: 失败原因
|
22520
22675
|
:type Reason: str
|
@@ -22526,7 +22681,6 @@ class FailedDeleteStaffData(AbstractModel):
|
|
22526
22681
|
@property
|
22527
22682
|
def UserId(self):
|
22528
22683
|
"""员工在电子签的userId
|
22529
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
22530
22684
|
:rtype: str
|
22531
22685
|
"""
|
22532
22686
|
return self._UserId
|
@@ -22538,7 +22692,6 @@ class FailedDeleteStaffData(AbstractModel):
|
|
22538
22692
|
@property
|
22539
22693
|
def OpenId(self):
|
22540
22694
|
"""员工在第三方平台的openId
|
22541
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
22542
22695
|
:rtype: str
|
22543
22696
|
"""
|
22544
22697
|
return self._OpenId
|
@@ -24817,6 +24970,108 @@ class FlowDetailInfo(AbstractModel):
|
|
24817
24970
|
|
24818
24971
|
|
24819
24972
|
|
24973
|
+
class FlowForwardInfo(AbstractModel):
|
24974
|
+
"""合同转交相关信息
|
24975
|
+
|
24976
|
+
"""
|
24977
|
+
|
24978
|
+
def __init__(self):
|
24979
|
+
r"""
|
24980
|
+
:param _FlowId: 合同流程ID,为32位字符串。此接口的合同流程ID需要由[创建签署流程](https://qian.tencent.com/developers/companyApis/startFlows/CreateFlow)接口创建得到。
|
24981
|
+
:type FlowId: str
|
24982
|
+
:param _RecipientId: 签署方经办人在合同中的参与方ID,为32位字符串。
|
24983
|
+
:type RecipientId: str
|
24984
|
+
"""
|
24985
|
+
self._FlowId = None
|
24986
|
+
self._RecipientId = None
|
24987
|
+
|
24988
|
+
@property
|
24989
|
+
def FlowId(self):
|
24990
|
+
"""合同流程ID,为32位字符串。此接口的合同流程ID需要由[创建签署流程](https://qian.tencent.com/developers/companyApis/startFlows/CreateFlow)接口创建得到。
|
24991
|
+
:rtype: str
|
24992
|
+
"""
|
24993
|
+
return self._FlowId
|
24994
|
+
|
24995
|
+
@FlowId.setter
|
24996
|
+
def FlowId(self, FlowId):
|
24997
|
+
self._FlowId = FlowId
|
24998
|
+
|
24999
|
+
@property
|
25000
|
+
def RecipientId(self):
|
25001
|
+
"""签署方经办人在合同中的参与方ID,为32位字符串。
|
25002
|
+
:rtype: str
|
25003
|
+
"""
|
25004
|
+
return self._RecipientId
|
25005
|
+
|
25006
|
+
@RecipientId.setter
|
25007
|
+
def RecipientId(self, RecipientId):
|
25008
|
+
self._RecipientId = RecipientId
|
25009
|
+
|
25010
|
+
|
25011
|
+
def _deserialize(self, params):
|
25012
|
+
self._FlowId = params.get("FlowId")
|
25013
|
+
self._RecipientId = params.get("RecipientId")
|
25014
|
+
memeber_set = set(params.keys())
|
25015
|
+
for name, value in vars(self).items():
|
25016
|
+
property_name = name[1:]
|
25017
|
+
if property_name in memeber_set:
|
25018
|
+
memeber_set.remove(property_name)
|
25019
|
+
if len(memeber_set) > 0:
|
25020
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
25021
|
+
|
25022
|
+
|
25023
|
+
|
25024
|
+
class FlowForwardResult(AbstractModel):
|
25025
|
+
"""转交合同结果
|
25026
|
+
|
25027
|
+
"""
|
25028
|
+
|
25029
|
+
def __init__(self):
|
25030
|
+
r"""
|
25031
|
+
:param _FlowId: 合同流程ID为32位字符串。您可以登录腾讯电子签控制台,在 "合同" -> "合同中心" 中查看某个合同的FlowId(在页面中展示为合同ID)。[点击查看FlowId在控制台中的位置](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)。
|
25032
|
+
:type FlowId: str
|
25033
|
+
:param _ErrorDetail: 如果失败,返回的错误细节。
|
25034
|
+
:type ErrorDetail: str
|
25035
|
+
"""
|
25036
|
+
self._FlowId = None
|
25037
|
+
self._ErrorDetail = None
|
25038
|
+
|
25039
|
+
@property
|
25040
|
+
def FlowId(self):
|
25041
|
+
"""合同流程ID为32位字符串。您可以登录腾讯电子签控制台,在 "合同" -> "合同中心" 中查看某个合同的FlowId(在页面中展示为合同ID)。[点击查看FlowId在控制台中的位置](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)。
|
25042
|
+
:rtype: str
|
25043
|
+
"""
|
25044
|
+
return self._FlowId
|
25045
|
+
|
25046
|
+
@FlowId.setter
|
25047
|
+
def FlowId(self, FlowId):
|
25048
|
+
self._FlowId = FlowId
|
25049
|
+
|
25050
|
+
@property
|
25051
|
+
def ErrorDetail(self):
|
25052
|
+
"""如果失败,返回的错误细节。
|
25053
|
+
:rtype: str
|
25054
|
+
"""
|
25055
|
+
return self._ErrorDetail
|
25056
|
+
|
25057
|
+
@ErrorDetail.setter
|
25058
|
+
def ErrorDetail(self, ErrorDetail):
|
25059
|
+
self._ErrorDetail = ErrorDetail
|
25060
|
+
|
25061
|
+
|
25062
|
+
def _deserialize(self, params):
|
25063
|
+
self._FlowId = params.get("FlowId")
|
25064
|
+
self._ErrorDetail = params.get("ErrorDetail")
|
25065
|
+
memeber_set = set(params.keys())
|
25066
|
+
for name, value in vars(self).items():
|
25067
|
+
property_name = name[1:]
|
25068
|
+
if property_name in memeber_set:
|
25069
|
+
memeber_set.remove(property_name)
|
25070
|
+
if len(memeber_set) > 0:
|
25071
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
25072
|
+
|
25073
|
+
|
25074
|
+
|
24820
25075
|
class FlowGroupApproverInfo(AbstractModel):
|
24821
25076
|
"""合同组相关信息,指定合同组子合同和签署方的信息,用于补充动态签署人。
|
24822
25077
|
|
@@ -26670,7 +26925,6 @@ class IntentionActionResult(AbstractModel):
|
|
26670
26925
|
def __init__(self):
|
26671
26926
|
r"""
|
26672
26927
|
:param _Details: 意愿核身结果详细数据,与每段点头确认过程一一对应
|
26673
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26674
26928
|
:type Details: list of IntentionActionResultDetail
|
26675
26929
|
"""
|
26676
26930
|
self._Details = None
|
@@ -26678,7 +26932,6 @@ class IntentionActionResult(AbstractModel):
|
|
26678
26932
|
@property
|
26679
26933
|
def Details(self):
|
26680
26934
|
"""意愿核身结果详细数据,与每段点头确认过程一一对应
|
26681
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
26682
26935
|
:rtype: list of IntentionActionResultDetail
|
26683
26936
|
"""
|
26684
26937
|
return self._Details
|
@@ -2050,6 +2050,36 @@ class EssbasicClient(AbstractClient):
|
|
2050
2050
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2051
2051
|
|
2052
2052
|
|
2053
|
+
def CreateFlowForwards(self, request):
|
2054
|
+
"""该接口用于将合同中本企业当前经办人转为本企业其他员工进行操作。
|
2055
|
+
|
2056
|
+
注意:
|
2057
|
+
1. 转交的目标经办人需要已经加入企业,且完成实名。
|
2058
|
+
2. 仅企业拥有`超管`或`法人角色`的员工才有调用本接口的权限。
|
2059
|
+
3. 仅支持当前经办人为待签署或待填写状态时进行转交操作。
|
2060
|
+
4. 若原合同有填写控件,且当前经办人已经完成填写,则不支持进行转交。
|
2061
|
+
5. 若当前经办人已签署完成,或者处于签署流程中,则不支持进行转交。
|
2062
|
+
|
2063
|
+
:param request: Request instance for CreateFlowForwards.
|
2064
|
+
:type request: :class:`tencentcloud.essbasic.v20210526.models.CreateFlowForwardsRequest`
|
2065
|
+
:rtype: :class:`tencentcloud.essbasic.v20210526.models.CreateFlowForwardsResponse`
|
2066
|
+
|
2067
|
+
"""
|
2068
|
+
try:
|
2069
|
+
params = request._serialize()
|
2070
|
+
headers = request.headers
|
2071
|
+
body = self.call("CreateFlowForwards", params, headers=headers)
|
2072
|
+
response = json.loads(body)
|
2073
|
+
model = models.CreateFlowForwardsResponse()
|
2074
|
+
model._deserialize(response["Response"])
|
2075
|
+
return model
|
2076
|
+
except Exception as e:
|
2077
|
+
if isinstance(e, TencentCloudSDKException):
|
2078
|
+
raise
|
2079
|
+
else:
|
2080
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2081
|
+
|
2082
|
+
|
2053
2083
|
def CreateFlowGroupSignReview(self, request):
|
2054
2084
|
"""1. 在使用[通过多文件创建合同组签署流程](https://qian.tencent.com/developers/partnerApis/startFlows/ChannelCreateFlowGroupByFiles)或[通过多模板创建合同组签署流程](https://qian.tencent.com/developers/partnerApis/startFlows/ChannelCreateFlowGroupByTemplates)创建合同组签署流程时,若指定了参数以下参数为true,则可以调用此接口提交企业内部签署审批结果,即使是自动签署也需要进行审核通过才会进行签署。
|
2055
2085
|
- [FlowInfo.NeedSignReview](https://qian.tencent.com/developers/partnerApis/dataTypes/#flowinfo)
|