tencentcloud-sdk-python-essbasic 3.0.1099__tar.gz → 3.0.1103__tar.gz
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-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/setup.py +1 -1
- {tencentcloud-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/tencentcloud/essbasic/v20210526/essbasic_client.py +29 -0
- {tencentcloud-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/tencentcloud/essbasic/v20210526/models.py +484 -0
- {tencentcloud-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/tencentcloud_sdk_python_essbasic.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-essbasic-3.0.1103/tencentcloud_sdk_python_essbasic.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-essbasic-3.0.1099/tencentcloud_sdk_python_essbasic.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/README.rst +0 -0
- {tencentcloud-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/setup.cfg +0 -0
- {tencentcloud-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/tencentcloud/essbasic/__init__.py +0 -0
- {tencentcloud-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/tencentcloud/essbasic/v20201222/__init__.py +0 -0
- {tencentcloud-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/tencentcloud/essbasic/v20201222/errorcodes.py +0 -0
- {tencentcloud-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/tencentcloud/essbasic/v20201222/essbasic_client.py +0 -0
- {tencentcloud-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/tencentcloud/essbasic/v20201222/models.py +0 -0
- {tencentcloud-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/tencentcloud/essbasic/v20210526/__init__.py +0 -0
- {tencentcloud-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/tencentcloud/essbasic/v20210526/errorcodes.py +0 -0
- {tencentcloud-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/tencentcloud_sdk_python_essbasic.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/tencentcloud_sdk_python_essbasic.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/tencentcloud_sdk_python_essbasic.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-essbasic',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1103"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Essbasic SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1300,6 +1300,35 @@ class EssbasicClient(AbstractClient):
|
|
|
1300
1300
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1301
1301
|
|
|
1302
1302
|
|
|
1303
|
+
def ChannelDescribeSignFaceVideo(self, request):
|
|
1304
|
+
"""该接口用于在使用视频认证方式签署合同后,获取用户的签署人脸认证视频。
|
|
1305
|
+
|
|
1306
|
+
1. 该接口**仅适用于在H5端签署**的合同,**在通过视频认证后**获取人脸图片。
|
|
1307
|
+
2. 该接口**不支持小程序端**的签署人脸图片获取。
|
|
1308
|
+
3. 请在**签署完成后的三天内**获取人脸图片,**过期后将无法获取**。
|
|
1309
|
+
|
|
1310
|
+
**注意:该接口需要开通白名单,请联系客户经理开通后使用。**
|
|
1311
|
+
|
|
1312
|
+
:param request: Request instance for ChannelDescribeSignFaceVideo.
|
|
1313
|
+
:type request: :class:`tencentcloud.essbasic.v20210526.models.ChannelDescribeSignFaceVideoRequest`
|
|
1314
|
+
:rtype: :class:`tencentcloud.essbasic.v20210526.models.ChannelDescribeSignFaceVideoResponse`
|
|
1315
|
+
|
|
1316
|
+
"""
|
|
1317
|
+
try:
|
|
1318
|
+
params = request._serialize()
|
|
1319
|
+
headers = request.headers
|
|
1320
|
+
body = self.call("ChannelDescribeSignFaceVideo", params, headers=headers)
|
|
1321
|
+
response = json.loads(body)
|
|
1322
|
+
model = models.ChannelDescribeSignFaceVideoResponse()
|
|
1323
|
+
model._deserialize(response["Response"])
|
|
1324
|
+
return model
|
|
1325
|
+
except Exception as e:
|
|
1326
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1327
|
+
raise
|
|
1328
|
+
else:
|
|
1329
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1330
|
+
|
|
1331
|
+
|
|
1303
1332
|
def ChannelDescribeUserAutoSignStatus(self, request):
|
|
1304
1333
|
"""通过此接口获取个人用户自动签的开通状态。
|
|
1305
1334
|
|
|
@@ -7128,6 +7128,145 @@ class ChannelDescribeRolesResponse(AbstractModel):
|
|
|
7128
7128
|
self._RequestId = params.get("RequestId")
|
|
7129
7129
|
|
|
7130
7130
|
|
|
7131
|
+
class ChannelDescribeSignFaceVideoRequest(AbstractModel):
|
|
7132
|
+
"""ChannelDescribeSignFaceVideo请求参数结构体
|
|
7133
|
+
|
|
7134
|
+
"""
|
|
7135
|
+
|
|
7136
|
+
def __init__(self):
|
|
7137
|
+
r"""
|
|
7138
|
+
:param _FlowId: 合同流程ID,为32位字符串。
|
|
7139
|
+
建议开发者妥善保存此流程ID,以便于顺利进行后续操作。
|
|
7140
|
+
可登录腾讯电子签控制台,在 "合同"->"合同中心" 中查看某个合同的FlowId(在页面中展示为合同ID)。
|
|
7141
|
+
:type FlowId: str
|
|
7142
|
+
:param _SignId: 签署参与人在本流程中的编号ID(每个流程不同),可用此ID来定位签署参与人在本流程的签署节点,也可用于后续创建签署链接等操作。
|
|
7143
|
+
:type SignId: str
|
|
7144
|
+
:param _Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
|
7145
|
+
|
|
7146
|
+
此接口下面信息必填。
|
|
7147
|
+
<ul>
|
|
7148
|
+
<li>渠道应用标识: Agent.AppId</li>
|
|
7149
|
+
<li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li>
|
|
7150
|
+
<li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li>
|
|
7151
|
+
</ul>
|
|
7152
|
+
第三方平台子客企业和员工必须已经经过实名认证
|
|
7153
|
+
:type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
|
7154
|
+
"""
|
|
7155
|
+
self._FlowId = None
|
|
7156
|
+
self._SignId = None
|
|
7157
|
+
self._Agent = None
|
|
7158
|
+
|
|
7159
|
+
@property
|
|
7160
|
+
def FlowId(self):
|
|
7161
|
+
return self._FlowId
|
|
7162
|
+
|
|
7163
|
+
@FlowId.setter
|
|
7164
|
+
def FlowId(self, FlowId):
|
|
7165
|
+
self._FlowId = FlowId
|
|
7166
|
+
|
|
7167
|
+
@property
|
|
7168
|
+
def SignId(self):
|
|
7169
|
+
return self._SignId
|
|
7170
|
+
|
|
7171
|
+
@SignId.setter
|
|
7172
|
+
def SignId(self, SignId):
|
|
7173
|
+
self._SignId = SignId
|
|
7174
|
+
|
|
7175
|
+
@property
|
|
7176
|
+
def Agent(self):
|
|
7177
|
+
return self._Agent
|
|
7178
|
+
|
|
7179
|
+
@Agent.setter
|
|
7180
|
+
def Agent(self, Agent):
|
|
7181
|
+
self._Agent = Agent
|
|
7182
|
+
|
|
7183
|
+
|
|
7184
|
+
def _deserialize(self, params):
|
|
7185
|
+
self._FlowId = params.get("FlowId")
|
|
7186
|
+
self._SignId = params.get("SignId")
|
|
7187
|
+
if params.get("Agent") is not None:
|
|
7188
|
+
self._Agent = Agent()
|
|
7189
|
+
self._Agent._deserialize(params.get("Agent"))
|
|
7190
|
+
memeber_set = set(params.keys())
|
|
7191
|
+
for name, value in vars(self).items():
|
|
7192
|
+
property_name = name[1:]
|
|
7193
|
+
if property_name in memeber_set:
|
|
7194
|
+
memeber_set.remove(property_name)
|
|
7195
|
+
if len(memeber_set) > 0:
|
|
7196
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7197
|
+
|
|
7198
|
+
|
|
7199
|
+
|
|
7200
|
+
class ChannelDescribeSignFaceVideoResponse(AbstractModel):
|
|
7201
|
+
"""ChannelDescribeSignFaceVideo返回参数结构体
|
|
7202
|
+
|
|
7203
|
+
"""
|
|
7204
|
+
|
|
7205
|
+
def __init__(self):
|
|
7206
|
+
r"""
|
|
7207
|
+
:param _VideoData: 核身视频结果。
|
|
7208
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7209
|
+
:type VideoData: :class:`tencentcloud.essbasic.v20210526.models.DetectInfoVideoData`
|
|
7210
|
+
:param _IntentionQuestionResult: 意愿核身问答模式结果。若未使用该意愿核身功能,该字段返回值可以不处理。
|
|
7211
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7212
|
+
:type IntentionQuestionResult: :class:`tencentcloud.essbasic.v20210526.models.IntentionQuestionResult`
|
|
7213
|
+
:param _IntentionActionResult: 意愿核身点头确认模式的结果信息,若未使用该意愿核身功能,该字段返回值可以不处理。
|
|
7214
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7215
|
+
:type IntentionActionResult: :class:`tencentcloud.essbasic.v20210526.models.IntentionActionResult`
|
|
7216
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7217
|
+
:type RequestId: str
|
|
7218
|
+
"""
|
|
7219
|
+
self._VideoData = None
|
|
7220
|
+
self._IntentionQuestionResult = None
|
|
7221
|
+
self._IntentionActionResult = None
|
|
7222
|
+
self._RequestId = None
|
|
7223
|
+
|
|
7224
|
+
@property
|
|
7225
|
+
def VideoData(self):
|
|
7226
|
+
return self._VideoData
|
|
7227
|
+
|
|
7228
|
+
@VideoData.setter
|
|
7229
|
+
def VideoData(self, VideoData):
|
|
7230
|
+
self._VideoData = VideoData
|
|
7231
|
+
|
|
7232
|
+
@property
|
|
7233
|
+
def IntentionQuestionResult(self):
|
|
7234
|
+
return self._IntentionQuestionResult
|
|
7235
|
+
|
|
7236
|
+
@IntentionQuestionResult.setter
|
|
7237
|
+
def IntentionQuestionResult(self, IntentionQuestionResult):
|
|
7238
|
+
self._IntentionQuestionResult = IntentionQuestionResult
|
|
7239
|
+
|
|
7240
|
+
@property
|
|
7241
|
+
def IntentionActionResult(self):
|
|
7242
|
+
return self._IntentionActionResult
|
|
7243
|
+
|
|
7244
|
+
@IntentionActionResult.setter
|
|
7245
|
+
def IntentionActionResult(self, IntentionActionResult):
|
|
7246
|
+
self._IntentionActionResult = IntentionActionResult
|
|
7247
|
+
|
|
7248
|
+
@property
|
|
7249
|
+
def RequestId(self):
|
|
7250
|
+
return self._RequestId
|
|
7251
|
+
|
|
7252
|
+
@RequestId.setter
|
|
7253
|
+
def RequestId(self, RequestId):
|
|
7254
|
+
self._RequestId = RequestId
|
|
7255
|
+
|
|
7256
|
+
|
|
7257
|
+
def _deserialize(self, params):
|
|
7258
|
+
if params.get("VideoData") is not None:
|
|
7259
|
+
self._VideoData = DetectInfoVideoData()
|
|
7260
|
+
self._VideoData._deserialize(params.get("VideoData"))
|
|
7261
|
+
if params.get("IntentionQuestionResult") is not None:
|
|
7262
|
+
self._IntentionQuestionResult = IntentionQuestionResult()
|
|
7263
|
+
self._IntentionQuestionResult._deserialize(params.get("IntentionQuestionResult"))
|
|
7264
|
+
if params.get("IntentionActionResult") is not None:
|
|
7265
|
+
self._IntentionActionResult = IntentionActionResult()
|
|
7266
|
+
self._IntentionActionResult._deserialize(params.get("IntentionActionResult"))
|
|
7267
|
+
self._RequestId = params.get("RequestId")
|
|
7268
|
+
|
|
7269
|
+
|
|
7131
7270
|
class ChannelDescribeUserAutoSignStatusRequest(AbstractModel):
|
|
7132
7271
|
"""ChannelDescribeUserAutoSignStatus请求参数结构体
|
|
7133
7272
|
|
|
@@ -8666,6 +8805,11 @@ class Component(AbstractModel):
|
|
|
8666
8805
|
<li> <b>FontColor</b>:字符串类型,格式为RGB颜色数字</li></ul>
|
|
8667
8806
|
<b>参数样例</b>:`{"FontColor":"255,0,0","FontSize":12}`
|
|
8668
8807
|
|
|
8808
|
+
<font color="red">ComponentType为DATE时</font>,支持以下参数:
|
|
8809
|
+
<ul><li> <b>Font</b>:目前只支持黑体、宋体</li>
|
|
8810
|
+
<li> <b>FontSize</b>: 范围12 :72</li></ul>
|
|
8811
|
+
<b>参数样例</b>:`{"FontColor":"255,0,0","FontSize":12}`
|
|
8812
|
+
|
|
8669
8813
|
<font color="red">ComponentType为FILL_IMAGE时</font>,支持以下参数:
|
|
8670
8814
|
<ul><li> <b>NotMakeImageCenter</b>:bool。是否设置图片居中。false:居中(默认)。 true : 不居中</li>
|
|
8671
8815
|
<li> <b>FillMethod</b> : int. 填充方式。0-铺满(默认);1-等比例缩放</li></ul>
|
|
@@ -12601,6 +12745,42 @@ class DescribeUsageResponse(AbstractModel):
|
|
|
12601
12745
|
self._RequestId = params.get("RequestId")
|
|
12602
12746
|
|
|
12603
12747
|
|
|
12748
|
+
class DetectInfoVideoData(AbstractModel):
|
|
12749
|
+
"""视频认证结果
|
|
12750
|
+
|
|
12751
|
+
"""
|
|
12752
|
+
|
|
12753
|
+
def __init__(self):
|
|
12754
|
+
r"""
|
|
12755
|
+
:param _LiveNessVideo: 活体视频的base64编码,mp4格式
|
|
12756
|
+
|
|
12757
|
+
注:`需进行base64解码获取活体视频文件`
|
|
12758
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12759
|
+
:type LiveNessVideo: str
|
|
12760
|
+
"""
|
|
12761
|
+
self._LiveNessVideo = None
|
|
12762
|
+
|
|
12763
|
+
@property
|
|
12764
|
+
def LiveNessVideo(self):
|
|
12765
|
+
return self._LiveNessVideo
|
|
12766
|
+
|
|
12767
|
+
@LiveNessVideo.setter
|
|
12768
|
+
def LiveNessVideo(self, LiveNessVideo):
|
|
12769
|
+
self._LiveNessVideo = LiveNessVideo
|
|
12770
|
+
|
|
12771
|
+
|
|
12772
|
+
def _deserialize(self, params):
|
|
12773
|
+
self._LiveNessVideo = params.get("LiveNessVideo")
|
|
12774
|
+
memeber_set = set(params.keys())
|
|
12775
|
+
for name, value in vars(self).items():
|
|
12776
|
+
property_name = name[1:]
|
|
12777
|
+
if property_name in memeber_set:
|
|
12778
|
+
memeber_set.remove(property_name)
|
|
12779
|
+
if len(memeber_set) > 0:
|
|
12780
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12781
|
+
|
|
12782
|
+
|
|
12783
|
+
|
|
12604
12784
|
class DownloadFlowInfo(AbstractModel):
|
|
12605
12785
|
"""签署流程下载信息
|
|
12606
12786
|
|
|
@@ -13468,6 +13648,12 @@ class FlowApproverInfo(AbstractModel):
|
|
|
13468
13648
|
|
|
13469
13649
|
注:`此参数仅在通过文件发起合同或者合同组时生效`
|
|
13470
13650
|
:type Components: list of Component
|
|
13651
|
+
:param _Intention: 视频核身意图配置,可指定问答模式或者点头模式的语音文本。
|
|
13652
|
+
|
|
13653
|
+
注:
|
|
13654
|
+
`1.视频认证为白名单功能,使用前请联系对接的客户经理沟通。`
|
|
13655
|
+
`2.使用视频认证必须指定签署认证方式为人脸(即ApproverSignTypes)。`
|
|
13656
|
+
:type Intention: :class:`tencentcloud.essbasic.v20210526.models.Intention`
|
|
13471
13657
|
"""
|
|
13472
13658
|
self._Name = None
|
|
13473
13659
|
self._IdCardType = None
|
|
@@ -13495,6 +13681,7 @@ class FlowApproverInfo(AbstractModel):
|
|
|
13495
13681
|
self._ApproverRoleName = None
|
|
13496
13682
|
self._SignTypeSelector = None
|
|
13497
13683
|
self._Components = None
|
|
13684
|
+
self._Intention = None
|
|
13498
13685
|
|
|
13499
13686
|
@property
|
|
13500
13687
|
def Name(self):
|
|
@@ -13708,6 +13895,14 @@ class FlowApproverInfo(AbstractModel):
|
|
|
13708
13895
|
def Components(self, Components):
|
|
13709
13896
|
self._Components = Components
|
|
13710
13897
|
|
|
13898
|
+
@property
|
|
13899
|
+
def Intention(self):
|
|
13900
|
+
return self._Intention
|
|
13901
|
+
|
|
13902
|
+
@Intention.setter
|
|
13903
|
+
def Intention(self, Intention):
|
|
13904
|
+
self._Intention = Intention
|
|
13905
|
+
|
|
13711
13906
|
|
|
13712
13907
|
def _deserialize(self, params):
|
|
13713
13908
|
self._Name = params.get("Name")
|
|
@@ -13753,6 +13948,9 @@ class FlowApproverInfo(AbstractModel):
|
|
|
13753
13948
|
obj = Component()
|
|
13754
13949
|
obj._deserialize(item)
|
|
13755
13950
|
self._Components.append(obj)
|
|
13951
|
+
if params.get("Intention") is not None:
|
|
13952
|
+
self._Intention = Intention()
|
|
13953
|
+
self._Intention._deserialize(params.get("Intention"))
|
|
13756
13954
|
memeber_set = set(params.keys())
|
|
13757
13955
|
for name, value in vars(self).items():
|
|
13758
13956
|
property_name = name[1:]
|
|
@@ -15170,6 +15368,292 @@ class HasAuthUser(AbstractModel):
|
|
|
15170
15368
|
|
|
15171
15369
|
|
|
15172
15370
|
|
|
15371
|
+
class Intention(AbstractModel):
|
|
15372
|
+
"""视频核身意图配置,可指定问答模式或者点头模式的语音文本。
|
|
15373
|
+
|
|
15374
|
+
注: `视频认证为白名单功能,使用前请联系对接的客户经理沟通。`
|
|
15375
|
+
|
|
15376
|
+
"""
|
|
15377
|
+
|
|
15378
|
+
def __init__(self):
|
|
15379
|
+
r"""
|
|
15380
|
+
:param _IntentionType: 视频认证类型,支持以下类型
|
|
15381
|
+
<ul><li>1 : 问答模式</li>
|
|
15382
|
+
<li>2 : 点头模式</li></ul>
|
|
15383
|
+
|
|
15384
|
+
注: `视频认证为白名单功能,使用前请联系对接的客户经理沟通。`
|
|
15385
|
+
:type IntentionType: int
|
|
15386
|
+
:param _IntentionQuestions: 意愿核身语音问答模式(即语音播报+语音回答)使用的文案,包括:系统语音播报的文本、需要核验的标准文本。当前仅支持1轮问答。
|
|
15387
|
+
:type IntentionQuestions: list of IntentionQuestion
|
|
15388
|
+
:param _IntentionActions: 意愿核身(点头确认模式)使用的文案,若未使用意愿核身(点头确认模式),则该字段无需传入。当前仅支持一个提示文本。
|
|
15389
|
+
:type IntentionActions: list of IntentionAction
|
|
15390
|
+
"""
|
|
15391
|
+
self._IntentionType = None
|
|
15392
|
+
self._IntentionQuestions = None
|
|
15393
|
+
self._IntentionActions = None
|
|
15394
|
+
|
|
15395
|
+
@property
|
|
15396
|
+
def IntentionType(self):
|
|
15397
|
+
return self._IntentionType
|
|
15398
|
+
|
|
15399
|
+
@IntentionType.setter
|
|
15400
|
+
def IntentionType(self, IntentionType):
|
|
15401
|
+
self._IntentionType = IntentionType
|
|
15402
|
+
|
|
15403
|
+
@property
|
|
15404
|
+
def IntentionQuestions(self):
|
|
15405
|
+
return self._IntentionQuestions
|
|
15406
|
+
|
|
15407
|
+
@IntentionQuestions.setter
|
|
15408
|
+
def IntentionQuestions(self, IntentionQuestions):
|
|
15409
|
+
self._IntentionQuestions = IntentionQuestions
|
|
15410
|
+
|
|
15411
|
+
@property
|
|
15412
|
+
def IntentionActions(self):
|
|
15413
|
+
return self._IntentionActions
|
|
15414
|
+
|
|
15415
|
+
@IntentionActions.setter
|
|
15416
|
+
def IntentionActions(self, IntentionActions):
|
|
15417
|
+
self._IntentionActions = IntentionActions
|
|
15418
|
+
|
|
15419
|
+
|
|
15420
|
+
def _deserialize(self, params):
|
|
15421
|
+
self._IntentionType = params.get("IntentionType")
|
|
15422
|
+
if params.get("IntentionQuestions") is not None:
|
|
15423
|
+
self._IntentionQuestions = []
|
|
15424
|
+
for item in params.get("IntentionQuestions"):
|
|
15425
|
+
obj = IntentionQuestion()
|
|
15426
|
+
obj._deserialize(item)
|
|
15427
|
+
self._IntentionQuestions.append(obj)
|
|
15428
|
+
if params.get("IntentionActions") is not None:
|
|
15429
|
+
self._IntentionActions = []
|
|
15430
|
+
for item in params.get("IntentionActions"):
|
|
15431
|
+
obj = IntentionAction()
|
|
15432
|
+
obj._deserialize(item)
|
|
15433
|
+
self._IntentionActions.append(obj)
|
|
15434
|
+
memeber_set = set(params.keys())
|
|
15435
|
+
for name, value in vars(self).items():
|
|
15436
|
+
property_name = name[1:]
|
|
15437
|
+
if property_name in memeber_set:
|
|
15438
|
+
memeber_set.remove(property_name)
|
|
15439
|
+
if len(memeber_set) > 0:
|
|
15440
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15441
|
+
|
|
15442
|
+
|
|
15443
|
+
|
|
15444
|
+
class IntentionAction(AbstractModel):
|
|
15445
|
+
"""意愿核身(点头确认模式)使用的文案,若未使用意愿核身(点头确认模式),则该字段无需传入。当前仅支持一个提示文本。
|
|
15446
|
+
|
|
15447
|
+
"""
|
|
15448
|
+
|
|
15449
|
+
def __init__(self):
|
|
15450
|
+
r"""
|
|
15451
|
+
:param _Text: 点头确认模式下,系统语音播报使用的问题文本,问题最大长度为150个字符。
|
|
15452
|
+
:type Text: str
|
|
15453
|
+
"""
|
|
15454
|
+
self._Text = None
|
|
15455
|
+
|
|
15456
|
+
@property
|
|
15457
|
+
def Text(self):
|
|
15458
|
+
return self._Text
|
|
15459
|
+
|
|
15460
|
+
@Text.setter
|
|
15461
|
+
def Text(self, Text):
|
|
15462
|
+
self._Text = Text
|
|
15463
|
+
|
|
15464
|
+
|
|
15465
|
+
def _deserialize(self, params):
|
|
15466
|
+
self._Text = params.get("Text")
|
|
15467
|
+
memeber_set = set(params.keys())
|
|
15468
|
+
for name, value in vars(self).items():
|
|
15469
|
+
property_name = name[1:]
|
|
15470
|
+
if property_name in memeber_set:
|
|
15471
|
+
memeber_set.remove(property_name)
|
|
15472
|
+
if len(memeber_set) > 0:
|
|
15473
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15474
|
+
|
|
15475
|
+
|
|
15476
|
+
|
|
15477
|
+
class IntentionActionResult(AbstractModel):
|
|
15478
|
+
"""意愿核身点头确认模式结果
|
|
15479
|
+
|
|
15480
|
+
"""
|
|
15481
|
+
|
|
15482
|
+
def __init__(self):
|
|
15483
|
+
r"""
|
|
15484
|
+
:param _Details: 意愿核身结果详细数据,与每段点头确认过程一一对应
|
|
15485
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15486
|
+
:type Details: list of IntentionActionResultDetail
|
|
15487
|
+
"""
|
|
15488
|
+
self._Details = None
|
|
15489
|
+
|
|
15490
|
+
@property
|
|
15491
|
+
def Details(self):
|
|
15492
|
+
return self._Details
|
|
15493
|
+
|
|
15494
|
+
@Details.setter
|
|
15495
|
+
def Details(self, Details):
|
|
15496
|
+
self._Details = Details
|
|
15497
|
+
|
|
15498
|
+
|
|
15499
|
+
def _deserialize(self, params):
|
|
15500
|
+
if params.get("Details") is not None:
|
|
15501
|
+
self._Details = []
|
|
15502
|
+
for item in params.get("Details"):
|
|
15503
|
+
obj = IntentionActionResultDetail()
|
|
15504
|
+
obj._deserialize(item)
|
|
15505
|
+
self._Details.append(obj)
|
|
15506
|
+
memeber_set = set(params.keys())
|
|
15507
|
+
for name, value in vars(self).items():
|
|
15508
|
+
property_name = name[1:]
|
|
15509
|
+
if property_name in memeber_set:
|
|
15510
|
+
memeber_set.remove(property_name)
|
|
15511
|
+
if len(memeber_set) > 0:
|
|
15512
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15513
|
+
|
|
15514
|
+
|
|
15515
|
+
|
|
15516
|
+
class IntentionActionResultDetail(AbstractModel):
|
|
15517
|
+
"""意愿核身点头确认模式结果详细数据
|
|
15518
|
+
|
|
15519
|
+
"""
|
|
15520
|
+
|
|
15521
|
+
def __init__(self):
|
|
15522
|
+
r"""
|
|
15523
|
+
:param _Video: 视频base64编码(其中包含全程提示文本和点头音频,mp4格式)
|
|
15524
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15525
|
+
:type Video: str
|
|
15526
|
+
"""
|
|
15527
|
+
self._Video = None
|
|
15528
|
+
|
|
15529
|
+
@property
|
|
15530
|
+
def Video(self):
|
|
15531
|
+
return self._Video
|
|
15532
|
+
|
|
15533
|
+
@Video.setter
|
|
15534
|
+
def Video(self, Video):
|
|
15535
|
+
self._Video = Video
|
|
15536
|
+
|
|
15537
|
+
|
|
15538
|
+
def _deserialize(self, params):
|
|
15539
|
+
self._Video = params.get("Video")
|
|
15540
|
+
memeber_set = set(params.keys())
|
|
15541
|
+
for name, value in vars(self).items():
|
|
15542
|
+
property_name = name[1:]
|
|
15543
|
+
if property_name in memeber_set:
|
|
15544
|
+
memeber_set.remove(property_name)
|
|
15545
|
+
if len(memeber_set) > 0:
|
|
15546
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15547
|
+
|
|
15548
|
+
|
|
15549
|
+
|
|
15550
|
+
class IntentionQuestion(AbstractModel):
|
|
15551
|
+
"""意愿核身语音问答模式(即语音播报+语音回答)使用的文案,包括:系统语音播报的文本、需要核验的标准文本。当前仅支持1轮问答。
|
|
15552
|
+
|
|
15553
|
+
"""
|
|
15554
|
+
|
|
15555
|
+
def __init__(self):
|
|
15556
|
+
r"""
|
|
15557
|
+
:param _Question: 当选择语音问答模式时,系统自动播报的问题文本,最大长度为150个字符。
|
|
15558
|
+
:type Question: str
|
|
15559
|
+
:param _Answers: 当选择语音问答模式时,用于判断用户回答是否通过的标准答案列表,传入后可自动判断用户回答文本是否在标准文本列表中。
|
|
15560
|
+
:type Answers: list of str
|
|
15561
|
+
"""
|
|
15562
|
+
self._Question = None
|
|
15563
|
+
self._Answers = None
|
|
15564
|
+
|
|
15565
|
+
@property
|
|
15566
|
+
def Question(self):
|
|
15567
|
+
return self._Question
|
|
15568
|
+
|
|
15569
|
+
@Question.setter
|
|
15570
|
+
def Question(self, Question):
|
|
15571
|
+
self._Question = Question
|
|
15572
|
+
|
|
15573
|
+
@property
|
|
15574
|
+
def Answers(self):
|
|
15575
|
+
return self._Answers
|
|
15576
|
+
|
|
15577
|
+
@Answers.setter
|
|
15578
|
+
def Answers(self, Answers):
|
|
15579
|
+
self._Answers = Answers
|
|
15580
|
+
|
|
15581
|
+
|
|
15582
|
+
def _deserialize(self, params):
|
|
15583
|
+
self._Question = params.get("Question")
|
|
15584
|
+
self._Answers = params.get("Answers")
|
|
15585
|
+
memeber_set = set(params.keys())
|
|
15586
|
+
for name, value in vars(self).items():
|
|
15587
|
+
property_name = name[1:]
|
|
15588
|
+
if property_name in memeber_set:
|
|
15589
|
+
memeber_set.remove(property_name)
|
|
15590
|
+
if len(memeber_set) > 0:
|
|
15591
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15592
|
+
|
|
15593
|
+
|
|
15594
|
+
|
|
15595
|
+
class IntentionQuestionResult(AbstractModel):
|
|
15596
|
+
"""意愿核身问答模式结果。若未使用该意愿核身功能,该字段返回值可以不处理。
|
|
15597
|
+
|
|
15598
|
+
"""
|
|
15599
|
+
|
|
15600
|
+
def __init__(self):
|
|
15601
|
+
r"""
|
|
15602
|
+
:param _Video: 视频base64(其中包含全程问题和回答音频,mp4格式)
|
|
15603
|
+
|
|
15604
|
+
注:`需进行base64解码获取视频文件`
|
|
15605
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15606
|
+
:type Video: str
|
|
15607
|
+
:param _ResultCode: 和答案匹配结果列表
|
|
15608
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15609
|
+
:type ResultCode: list of str
|
|
15610
|
+
:param _AsrResult: 回答问题语音识别结果列表
|
|
15611
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
15612
|
+
:type AsrResult: list of str
|
|
15613
|
+
"""
|
|
15614
|
+
self._Video = None
|
|
15615
|
+
self._ResultCode = None
|
|
15616
|
+
self._AsrResult = None
|
|
15617
|
+
|
|
15618
|
+
@property
|
|
15619
|
+
def Video(self):
|
|
15620
|
+
return self._Video
|
|
15621
|
+
|
|
15622
|
+
@Video.setter
|
|
15623
|
+
def Video(self, Video):
|
|
15624
|
+
self._Video = Video
|
|
15625
|
+
|
|
15626
|
+
@property
|
|
15627
|
+
def ResultCode(self):
|
|
15628
|
+
return self._ResultCode
|
|
15629
|
+
|
|
15630
|
+
@ResultCode.setter
|
|
15631
|
+
def ResultCode(self, ResultCode):
|
|
15632
|
+
self._ResultCode = ResultCode
|
|
15633
|
+
|
|
15634
|
+
@property
|
|
15635
|
+
def AsrResult(self):
|
|
15636
|
+
return self._AsrResult
|
|
15637
|
+
|
|
15638
|
+
@AsrResult.setter
|
|
15639
|
+
def AsrResult(self, AsrResult):
|
|
15640
|
+
self._AsrResult = AsrResult
|
|
15641
|
+
|
|
15642
|
+
|
|
15643
|
+
def _deserialize(self, params):
|
|
15644
|
+
self._Video = params.get("Video")
|
|
15645
|
+
self._ResultCode = params.get("ResultCode")
|
|
15646
|
+
self._AsrResult = params.get("AsrResult")
|
|
15647
|
+
memeber_set = set(params.keys())
|
|
15648
|
+
for name, value in vars(self).items():
|
|
15649
|
+
property_name = name[1:]
|
|
15650
|
+
if property_name in memeber_set:
|
|
15651
|
+
memeber_set.remove(property_name)
|
|
15652
|
+
if len(memeber_set) > 0:
|
|
15653
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15654
|
+
|
|
15655
|
+
|
|
15656
|
+
|
|
15173
15657
|
class ModifyExtendedServiceRequest(AbstractModel):
|
|
15174
15658
|
"""ModifyExtendedService请求参数结构体
|
|
15175
15659
|
|
tencentcloud-sdk-python-essbasic-3.0.1103/tencentcloud_sdk_python_essbasic.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1103
|
tencentcloud-sdk-python-essbasic-3.0.1099/tencentcloud_sdk_python_essbasic.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1099
|
{tencentcloud-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-essbasic-3.0.1099 → tencentcloud-sdk-python-essbasic-3.0.1103}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|