tencentcloud-sdk-python 3.0.1398__py2.py3-none-any.whl → 3.0.1400__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/ccc/v20200210/ccc_client.py +23 -0
- tencentcloud/ccc/v20200210/models.py +136 -4
- tencentcloud/cdn/v20180606/models.py +2 -2
- tencentcloud/clb/v20180317/models.py +30 -0
- tencentcloud/common/abstract_client.py +21 -13
- tencentcloud/dbbrain/v20210527/errorcodes.py +9 -0
- tencentcloud/dnspod/v20210323/dnspod_client.py +46 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +15 -0
- tencentcloud/dnspod/v20210323/models.py +874 -18
- tencentcloud/es/v20250101/es_client.py +4 -2
- tencentcloud/ess/v20201111/models.py +10 -4
- tencentcloud/essbasic/v20210526/models.py +10 -6
- tencentcloud/faceid/v20180301/models.py +16 -6
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +24 -12
- tencentcloud/ioa/v20220601/ioa_client.py +23 -0
- tencentcloud/ioa/v20220601/models.py +301 -2
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +3 -3
- tencentcloud/lke/v20231130/lke_client.py +161 -0
- tencentcloud/lke/v20231130/models.py +1181 -67
- tencentcloud/lkeap/v20240522/lkeap_client.py +4 -2
- tencentcloud/lowcode/v20210108/models.py +64 -0
- tencentcloud/ocr/v20181119/models.py +1028 -0
- tencentcloud/ocr/v20181119/ocr_client.py +106 -2
- tencentcloud/sms/v20190711/models.py +0 -16
- tencentcloud/sms/v20210111/models.py +0 -8
- tencentcloud/teo/v20220901/models.py +2 -2
- tencentcloud/trtc/v20190722/models.py +4 -4
- {tencentcloud_sdk_python-3.0.1398.dist-info → tencentcloud_sdk_python-3.0.1400.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1398.dist-info → tencentcloud_sdk_python-3.0.1400.dist-info}/RECORD +33 -33
- {tencentcloud_sdk_python-3.0.1398.dist-info → tencentcloud_sdk_python-3.0.1400.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1398.dist-info → tencentcloud_sdk_python-3.0.1400.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1398.dist-info → tencentcloud_sdk_python-3.0.1400.dist-info}/top_level.txt +0 -0
@@ -37,7 +37,8 @@ class EsClient(AbstractClient):
|
|
37
37
|
"""
|
38
38
|
try:
|
39
39
|
params = request._serialize()
|
40
|
-
|
40
|
+
options = {"Endpoint": "%s://es.ai.tencentcloudapi.com" % self.profile.httpProfile.scheme}
|
41
|
+
return self._call_and_deserialize("ChatCompletions", params, models.ChatCompletionsResponse, headers=request.headers, options=options)
|
41
42
|
except Exception as e:
|
42
43
|
if isinstance(e, TencentCloudSDKException):
|
43
44
|
raise
|
@@ -174,7 +175,8 @@ class EsClient(AbstractClient):
|
|
174
175
|
"""
|
175
176
|
try:
|
176
177
|
params = request._serialize()
|
177
|
-
|
178
|
+
options = {"Endpoint": "%s://es.ai.tencentcloudapi.com" % self.profile.httpProfile.scheme}
|
179
|
+
return self._call_and_deserialize("ParseDocument", params, models.ParseDocumentResponse, headers=request.headers, options=options)
|
178
180
|
except Exception as e:
|
179
181
|
if isinstance(e, TencentCloudSDKException):
|
180
182
|
raise
|
@@ -3032,6 +3032,10 @@ class Component(AbstractModel):
|
|
3032
3032
|
<ul><li> <b>NotMakeImageCenter</b>:bool。是否设置图片居中。false:居中(默认)。 true : 不居中</li>
|
3033
3033
|
<li> <b>FillMethod</b> : int. 填充方式。0-铺满(默认);1-等比例缩放</li></ul>
|
3034
3034
|
|
3035
|
+
<font color="red">ComponentType为SELECTOR时</font>,支持以下参数:
|
3036
|
+
<ul><li> <b>WordWrap</b>:bool。是否支持选择控件内容自动折行合成。false:不支持(默认)。 true : 支持自动折行合成</li>
|
3037
|
+
</ul>
|
3038
|
+
|
3035
3039
|
<font color="red">ComponentType为SIGN_SIGNATURE、SIGN_PAGING_SIGNATURE类型时</font>,可以通过**ComponentTypeLimit**参数控制签名方式
|
3036
3040
|
<ul><li> <b>HANDWRITE</b> : 需要实时手写的手写签名</li>
|
3037
3041
|
<li> <b>HANDWRITTEN_ESIGN</b> : 长效手写签名, 是使用保存到个人中心的印章列表的手写签名(并且包含HANDWRITE)</li>
|
@@ -3127,7 +3131,6 @@ ChildrenComponent结构体定义:
|
|
3127
3131
|
</pre>
|
3128
3132
|
</ul>
|
3129
3133
|
|
3130
|
-
|
3131
3134
|
:type ComponentExtra: str
|
3132
3135
|
:param _IsFormType: **在通过接口拉取控件信息场景下**,为出参参数,此控件是否通过表单域定位方式生成,默认false-不是,**发起合同时候不要填写此字段留空即可**
|
3133
3136
|
:type IsFormType: bool
|
@@ -3448,6 +3451,10 @@ ChildrenComponent结构体定义:
|
|
3448
3451
|
<ul><li> <b>NotMakeImageCenter</b>:bool。是否设置图片居中。false:居中(默认)。 true : 不居中</li>
|
3449
3452
|
<li> <b>FillMethod</b> : int. 填充方式。0-铺满(默认);1-等比例缩放</li></ul>
|
3450
3453
|
|
3454
|
+
<font color="red">ComponentType为SELECTOR时</font>,支持以下参数:
|
3455
|
+
<ul><li> <b>WordWrap</b>:bool。是否支持选择控件内容自动折行合成。false:不支持(默认)。 true : 支持自动折行合成</li>
|
3456
|
+
</ul>
|
3457
|
+
|
3451
3458
|
<font color="red">ComponentType为SIGN_SIGNATURE、SIGN_PAGING_SIGNATURE类型时</font>,可以通过**ComponentTypeLimit**参数控制签名方式
|
3452
3459
|
<ul><li> <b>HANDWRITE</b> : 需要实时手写的手写签名</li>
|
3453
3460
|
<li> <b>HANDWRITTEN_ESIGN</b> : 长效手写签名, 是使用保存到个人中心的印章列表的手写签名(并且包含HANDWRITE)</li>
|
@@ -3543,7 +3550,6 @@ ChildrenComponent结构体定义:
|
|
3543
3550
|
</pre>
|
3544
3551
|
</ul>
|
3545
3552
|
|
3546
|
-
|
3547
3553
|
:rtype: str
|
3548
3554
|
"""
|
3549
3555
|
return self._ComponentExtra
|
@@ -5141,7 +5147,7 @@ class CreateBatchSignUrlRequest(AbstractModel):
|
|
5141
5147
|
:param _CanBatchReject: 是否允许此链接中签署方批量拒签。 <ul><li>false (默认): 不允许批量拒签</li> <li>true : 允许批量拒签。</li></ul>
|
5142
5148
|
注:`1. 合同组暂不支持批量拒签功能。2. 如果是链接直接跳转至详情页(JumpToDetail参数为true),也不支持批量拒签功能`
|
5143
5149
|
:type CanBatchReject: bool
|
5144
|
-
:param _CanSkipReadFlow: 是否允许此链接中签署方批量确认已读文件。 <ul><li>false (默认):
|
5150
|
+
:param _CanSkipReadFlow: 是否允许此链接中签署方批量确认已读文件。 <ul><li>false (默认): 不允许批量确认已读文件。</li> <li>true : 允许批量确认已读文件。</li></ul>注:`1. 此功能为白名单功能,使用前请联系对应客户经理进行开通。2. 使用此功能时,FlowIds参数必传。3. 对于企业签署方,如果有签名控件,则会使用用户首次选择的签名类型签署所有含有签名控件的合同。`
|
5145
5151
|
:type CanSkipReadFlow: bool
|
5146
5152
|
"""
|
5147
5153
|
self._Operator = None
|
@@ -5382,7 +5388,7 @@ class CreateBatchSignUrlRequest(AbstractModel):
|
|
5382
5388
|
|
5383
5389
|
@property
|
5384
5390
|
def CanSkipReadFlow(self):
|
5385
|
-
"""是否允许此链接中签署方批量确认已读文件。 <ul><li>false (默认):
|
5391
|
+
"""是否允许此链接中签署方批量确认已读文件。 <ul><li>false (默认): 不允许批量确认已读文件。</li> <li>true : 允许批量确认已读文件。</li></ul>注:`1. 此功能为白名单功能,使用前请联系对应客户经理进行开通。2. 使用此功能时,FlowIds参数必传。3. 对于企业签署方,如果有签名控件,则会使用用户首次选择的签名类型签署所有含有签名控件的合同。`
|
5386
5392
|
:rtype: bool
|
5387
5393
|
"""
|
5388
5394
|
return self._CanSkipReadFlow
|
@@ -3044,7 +3044,7 @@ class ChannelCreateBatchSignUrlRequest(AbstractModel):
|
|
3044
3044
|
:param _CanBatchReject: 是否允许此链接中签署方批量拒签。 <ul><li>false (默认): 不允许批量拒签</li> <li>true : 允许批量拒签。</li></ul>
|
3045
3045
|
注:`1. 合同组暂不支持批量拒签功能。2. 如果是链接直接跳转至详情页(JumpToDetail参数为true),也不支持批量拒签功能`
|
3046
3046
|
:type CanBatchReject: bool
|
3047
|
-
:param _CanSkipReadFlow: 是否允许此链接中签署方批量确认已读文件。 <ul><li>false (默认):
|
3047
|
+
:param _CanSkipReadFlow: 是否允许此链接中签署方批量确认已读文件。 <ul><li>false (默认): 不允许批量确认已读文件。</li> <li>true : 允许批量确认已读文件。</li></ul>注:`1. 此功能为白名单功能,使用前请联系对应客户经理进行开通。2. 使用此功能时,FlowIds参数必传。3. 对于企业签署方,如果有签名控件,则会使用用户首次选择的签名类型签署所有含有签名控件的合同。`
|
3048
3048
|
:type CanSkipReadFlow: bool
|
3049
3049
|
"""
|
3050
3050
|
self._Agent = None
|
@@ -3324,7 +3324,7 @@ class ChannelCreateBatchSignUrlRequest(AbstractModel):
|
|
3324
3324
|
|
3325
3325
|
@property
|
3326
3326
|
def CanSkipReadFlow(self):
|
3327
|
-
"""是否允许此链接中签署方批量确认已读文件。 <ul><li>false (默认):
|
3327
|
+
"""是否允许此链接中签署方批量确认已读文件。 <ul><li>false (默认): 不允许批量确认已读文件。</li> <li>true : 允许批量确认已读文件。</li></ul>注:`1. 此功能为白名单功能,使用前请联系对应客户经理进行开通。2. 使用此功能时,FlowIds参数必传。3. 对于企业签署方,如果有签名控件,则会使用用户首次选择的签名类型签署所有含有签名控件的合同。`
|
3328
3328
|
:rtype: bool
|
3329
3329
|
"""
|
3330
3330
|
return self._CanSkipReadFlow
|
@@ -12626,6 +12626,10 @@ class Component(AbstractModel):
|
|
12626
12626
|
<ul><li> <b>NotMakeImageCenter</b>:bool。是否设置图片居中。false:居中(默认)。 true : 不居中</li>
|
12627
12627
|
<li> <b>FillMethod</b> : int. 填充方式。0-铺满(默认);1-等比例缩放</li></ul>
|
12628
12628
|
|
12629
|
+
<font color="red">ComponentType为SELECTOR时</font>,支持以下参数:
|
12630
|
+
<ul><li> <b>WordWrap</b>:bool。是否支持选择控件内容自动折行合成。false:不支持(默认)。 true : 支持自动折行合成</li>
|
12631
|
+
</ul>
|
12632
|
+
|
12629
12633
|
<font color="red">ComponentType为SIGN_SIGNATURE、SIGN_PAGING_SIGNATURE类型时</font>,可以**ComponentTypeLimit**参数控制签署方式
|
12630
12634
|
<ul><li> <b>HANDWRITE</b> : 需要实时手写的手写签名</li>
|
12631
12635
|
<li> <b>HANDWRITTEN_ESIGN</b> : 长效手写签名, 是使用保存到个人中心的印章列表的手写签名(并且包含HANDWRITE)</li>
|
@@ -12725,8 +12729,6 @@ ChildrenComponent结构体定义:
|
|
12725
12729
|
</ul>
|
12726
12730
|
|
12727
12731
|
|
12728
|
-
|
12729
|
-
|
12730
12732
|
:type ComponentExtra: str
|
12731
12733
|
:param _ComponentValue: 控件填充vaule,ComponentType和传入值类型对应关系:
|
12732
12734
|
<ul><li> <b>TEXT</b> : 文本内容</li>
|
@@ -13040,6 +13042,10 @@ ChildrenComponent结构体定义:
|
|
13040
13042
|
<ul><li> <b>NotMakeImageCenter</b>:bool。是否设置图片居中。false:居中(默认)。 true : 不居中</li>
|
13041
13043
|
<li> <b>FillMethod</b> : int. 填充方式。0-铺满(默认);1-等比例缩放</li></ul>
|
13042
13044
|
|
13045
|
+
<font color="red">ComponentType为SELECTOR时</font>,支持以下参数:
|
13046
|
+
<ul><li> <b>WordWrap</b>:bool。是否支持选择控件内容自动折行合成。false:不支持(默认)。 true : 支持自动折行合成</li>
|
13047
|
+
</ul>
|
13048
|
+
|
13043
13049
|
<font color="red">ComponentType为SIGN_SIGNATURE、SIGN_PAGING_SIGNATURE类型时</font>,可以**ComponentTypeLimit**参数控制签署方式
|
13044
13050
|
<ul><li> <b>HANDWRITE</b> : 需要实时手写的手写签名</li>
|
13045
13051
|
<li> <b>HANDWRITTEN_ESIGN</b> : 长效手写签名, 是使用保存到个人中心的印章列表的手写签名(并且包含HANDWRITE)</li>
|
@@ -13139,8 +13145,6 @@ ChildrenComponent结构体定义:
|
|
13139
13145
|
</ul>
|
13140
13146
|
|
13141
13147
|
|
13142
|
-
|
13143
|
-
|
13144
13148
|
:rtype: str
|
13145
13149
|
"""
|
13146
13150
|
return self._ComponentExtra
|
@@ -163,10 +163,11 @@ class BankCard2EVerificationResponse(AbstractModel):
|
|
163
163
|
'-13': '受限制的卡'。
|
164
164
|
'-14': '密码错误次数超限'。
|
165
165
|
'-15': '发卡行不支持此交易'。
|
166
|
+
'-18': '卡状态异常或卡号错误'。
|
166
167
|
|
167
168
|
- 不计费结果码:
|
168
169
|
'-2': '姓名校验不通过'。
|
169
|
-
'-3': '
|
170
|
+
'-3': '银行卡号格式有误'。
|
170
171
|
'-16': '验证中心服务繁忙'。
|
171
172
|
'-17': '验证次数超限,请次日重试'。
|
172
173
|
|
@@ -198,10 +199,11 @@ class BankCard2EVerificationResponse(AbstractModel):
|
|
198
199
|
'-13': '受限制的卡'。
|
199
200
|
'-14': '密码错误次数超限'。
|
200
201
|
'-15': '发卡行不支持此交易'。
|
202
|
+
'-18': '卡状态异常或卡号错误'。
|
201
203
|
|
202
204
|
- 不计费结果码:
|
203
205
|
'-2': '姓名校验不通过'。
|
204
|
-
'-3': '
|
206
|
+
'-3': '银行卡号格式有误'。
|
205
207
|
'-16': '验证中心服务繁忙'。
|
206
208
|
'-17': '验证次数超限,请次日重试'。
|
207
209
|
|
@@ -386,11 +388,12 @@ class BankCard4EVerificationResponse(AbstractModel):
|
|
386
388
|
'-15': '受限制的卡'。
|
387
389
|
'-16': '密码错误次数超限'。
|
388
390
|
'-17': '发卡行不支持此交易'。
|
391
|
+
'-21': '卡状态异常或卡号错误'。
|
389
392
|
|
390
393
|
- 不收费结果码:
|
391
394
|
'-2': '姓名校验不通过'。
|
392
395
|
'-3': '身份证号码有误'。
|
393
|
-
'-4': '
|
396
|
+
'-4': '银行卡号格式有误'。
|
394
397
|
'-5': '手机号码不合法'。
|
395
398
|
'-18': '验证中心服务繁忙'。
|
396
399
|
'-19': '验证次数超限,请次日重试'。
|
@@ -423,11 +426,12 @@ class BankCard4EVerificationResponse(AbstractModel):
|
|
423
426
|
'-15': '受限制的卡'。
|
424
427
|
'-16': '密码错误次数超限'。
|
425
428
|
'-17': '发卡行不支持此交易'。
|
429
|
+
'-21': '卡状态异常或卡号错误'。
|
426
430
|
|
427
431
|
- 不收费结果码:
|
428
432
|
'-2': '姓名校验不通过'。
|
429
433
|
'-3': '身份证号码有误'。
|
430
|
-
'-4': '
|
434
|
+
'-4': '银行卡号格式有误'。
|
431
435
|
'-5': '手机号码不合法'。
|
432
436
|
'-18': '验证中心服务繁忙'。
|
433
437
|
'-19': '验证次数超限,请次日重试'。
|
@@ -598,11 +602,12 @@ class BankCardVerificationResponse(AbstractModel):
|
|
598
602
|
'-14': '受限制的卡'。
|
599
603
|
'-15': '密码错误次数超限'。
|
600
604
|
'-16': '发卡行不支持此交易'。
|
605
|
+
'-20': '卡状态异常或卡号错误'。
|
601
606
|
|
602
607
|
- 不收费结果码:
|
603
608
|
'-2': '姓名校验不通过'。
|
604
609
|
'-3': '身份证号码有误'。
|
605
|
-
'-4': '
|
610
|
+
'-4': '银行卡号格式有误'。
|
606
611
|
'-17': '验证中心服务繁忙'。
|
607
612
|
'-18': '验证次数超限,请次日重试'。
|
608
613
|
'-19': '该证件号暂不支持核验,当前仅支持二代身份证'。
|
@@ -634,11 +639,12 @@ class BankCardVerificationResponse(AbstractModel):
|
|
634
639
|
'-14': '受限制的卡'。
|
635
640
|
'-15': '密码错误次数超限'。
|
636
641
|
'-16': '发卡行不支持此交易'。
|
642
|
+
'-20': '卡状态异常或卡号错误'。
|
637
643
|
|
638
644
|
- 不收费结果码:
|
639
645
|
'-2': '姓名校验不通过'。
|
640
646
|
'-3': '身份证号码有误'。
|
641
|
-
'-4': '
|
647
|
+
'-4': '银行卡号格式有误'。
|
642
648
|
'-17': '验证中心服务繁忙'。
|
643
649
|
'-18': '验证次数超限,请次日重试'。
|
644
650
|
'-19': '该证件号暂不支持核验,当前仅支持二代身份证'。
|
@@ -920,11 +926,13 @@ class CheckBankCardInformationResponse(AbstractModel):
|
|
920
926
|
- 收费结果码:
|
921
927
|
0: 查询成功
|
922
928
|
-1: 未查到信息
|
929
|
+
-5: 卡号无效
|
923
930
|
|
924
931
|
- 不收费结果码:
|
925
932
|
-2:验证中心服务繁忙
|
926
933
|
-3:银行卡不存在
|
927
934
|
-4:认证次数超过当日限制,请次日重试
|
935
|
+
-6: 暂不支持该银行卡种
|
928
936
|
|
929
937
|
:type Result: str
|
930
938
|
:param _Description: 业务结果描述。
|
@@ -953,11 +961,13 @@ class CheckBankCardInformationResponse(AbstractModel):
|
|
953
961
|
- 收费结果码:
|
954
962
|
0: 查询成功
|
955
963
|
-1: 未查到信息
|
964
|
+
-5: 卡号无效
|
956
965
|
|
957
966
|
- 不收费结果码:
|
958
967
|
-2:验证中心服务繁忙
|
959
968
|
-3:银行卡不存在
|
960
969
|
-4:认证次数超过当日限制,请次日重试
|
970
|
+
-6: 暂不支持该银行卡种
|
961
971
|
|
962
972
|
:rtype: str
|
963
973
|
"""
|
@@ -66,7 +66,8 @@ class HunyuanClient(AbstractClient):
|
|
66
66
|
"""
|
67
67
|
try:
|
68
68
|
params = request._serialize()
|
69
|
-
|
69
|
+
options = {"Endpoint": "%s://hunyuan.ai.tencentcloudapi.com" % self.profile.httpProfile.scheme}
|
70
|
+
return self._call_and_deserialize("ChatCompletions", params, models.ChatCompletionsResponse, headers=request.headers, options=options)
|
70
71
|
except Exception as e:
|
71
72
|
if isinstance(e, TencentCloudSDKException):
|
72
73
|
raise
|
@@ -89,7 +90,8 @@ class HunyuanClient(AbstractClient):
|
|
89
90
|
"""
|
90
91
|
try:
|
91
92
|
params = request._serialize()
|
92
|
-
|
93
|
+
options = {"Endpoint": "%s://hunyuan.ai.tencentcloudapi.com" % self.profile.httpProfile.scheme}
|
94
|
+
return self._call_and_deserialize("ChatTranslations", params, models.ChatTranslationsResponse, headers=request.headers, options=options)
|
93
95
|
except Exception as e:
|
94
96
|
if isinstance(e, TencentCloudSDKException):
|
95
97
|
raise
|
@@ -112,7 +114,8 @@ class HunyuanClient(AbstractClient):
|
|
112
114
|
"""
|
113
115
|
try:
|
114
116
|
params = request._serialize()
|
115
|
-
|
117
|
+
options = {"Endpoint": "%s://hunyuan.ai.tencentcloudapi.com" % self.profile.httpProfile.scheme}
|
118
|
+
return self._call_and_deserialize("CreateThread", params, models.CreateThreadResponse, headers=request.headers, options=options)
|
116
119
|
except Exception as e:
|
117
120
|
if isinstance(e, TencentCloudSDKException):
|
118
121
|
raise
|
@@ -130,7 +133,8 @@ class HunyuanClient(AbstractClient):
|
|
130
133
|
"""
|
131
134
|
try:
|
132
135
|
params = request._serialize()
|
133
|
-
|
136
|
+
options = {"Endpoint": "%s://hunyuan.ai.tencentcloudapi.com" % self.profile.httpProfile.scheme}
|
137
|
+
return self._call_and_deserialize("FilesDeletions", params, models.FilesDeletionsResponse, headers=request.headers, options=options)
|
134
138
|
except Exception as e:
|
135
139
|
if isinstance(e, TencentCloudSDKException):
|
136
140
|
raise
|
@@ -148,7 +152,8 @@ class HunyuanClient(AbstractClient):
|
|
148
152
|
"""
|
149
153
|
try:
|
150
154
|
params = request._serialize()
|
151
|
-
|
155
|
+
options = {"Endpoint": "%s://hunyuan.ai.tencentcloudapi.com" % self.profile.httpProfile.scheme}
|
156
|
+
return self._call_and_deserialize("FilesList", params, models.FilesListResponse, headers=request.headers, options=options)
|
152
157
|
except Exception as e:
|
153
158
|
if isinstance(e, TencentCloudSDKException):
|
154
159
|
raise
|
@@ -167,7 +172,8 @@ class HunyuanClient(AbstractClient):
|
|
167
172
|
"""
|
168
173
|
try:
|
169
174
|
params = request._serialize()
|
170
|
-
|
175
|
+
options = {"Endpoint": "%s://hunyuan.ai.tencentcloudapi.com" % self.profile.httpProfile.scheme}
|
176
|
+
return self._call_and_deserialize("FilesUploads", params, models.FilesUploadsResponse, headers=request.headers, options=options)
|
171
177
|
except Exception as e:
|
172
178
|
if isinstance(e, TencentCloudSDKException):
|
173
179
|
raise
|
@@ -213,7 +219,8 @@ class HunyuanClient(AbstractClient):
|
|
213
219
|
"""
|
214
220
|
try:
|
215
221
|
params = request._serialize()
|
216
|
-
|
222
|
+
options = {"Endpoint": "%s://hunyuan.ai.tencentcloudapi.com" % self.profile.httpProfile.scheme}
|
223
|
+
return self._call_and_deserialize("GetThread", params, models.GetThreadResponse, headers=request.headers, options=options)
|
217
224
|
except Exception as e:
|
218
225
|
if isinstance(e, TencentCloudSDKException):
|
219
226
|
raise
|
@@ -236,7 +243,8 @@ class HunyuanClient(AbstractClient):
|
|
236
243
|
"""
|
237
244
|
try:
|
238
245
|
params = request._serialize()
|
239
|
-
|
246
|
+
options = {"Endpoint": "%s://hunyuan.ai.tencentcloudapi.com" % self.profile.httpProfile.scheme}
|
247
|
+
return self._call_and_deserialize("GetThreadMessage", params, models.GetThreadMessageResponse, headers=request.headers, options=options)
|
240
248
|
except Exception as e:
|
241
249
|
if isinstance(e, TencentCloudSDKException):
|
242
250
|
raise
|
@@ -259,7 +267,8 @@ class HunyuanClient(AbstractClient):
|
|
259
267
|
"""
|
260
268
|
try:
|
261
269
|
params = request._serialize()
|
262
|
-
|
270
|
+
options = {"Endpoint": "%s://hunyuan.ai.tencentcloudapi.com" % self.profile.httpProfile.scheme}
|
271
|
+
return self._call_and_deserialize("GetThreadMessageList", params, models.GetThreadMessageListResponse, headers=request.headers, options=options)
|
263
272
|
except Exception as e:
|
264
273
|
if isinstance(e, TencentCloudSDKException):
|
265
274
|
raise
|
@@ -307,7 +316,8 @@ class HunyuanClient(AbstractClient):
|
|
307
316
|
"""
|
308
317
|
try:
|
309
318
|
params = request._serialize()
|
310
|
-
|
319
|
+
options = {"Endpoint": "%s://hunyuan.ai.tencentcloudapi.com" % self.profile.httpProfile.scheme}
|
320
|
+
return self._call_and_deserialize("GroupChatCompletions", params, models.GroupChatCompletionsResponse, headers=request.headers, options=options)
|
311
321
|
except Exception as e:
|
312
322
|
if isinstance(e, TencentCloudSDKException):
|
313
323
|
raise
|
@@ -332,7 +342,8 @@ class HunyuanClient(AbstractClient):
|
|
332
342
|
"""
|
333
343
|
try:
|
334
344
|
params = request._serialize()
|
335
|
-
|
345
|
+
options = {"Endpoint": "%s://hunyuan.ai.tencentcloudapi.com" % self.profile.httpProfile.scheme}
|
346
|
+
return self._call_and_deserialize("ImageQuestion", params, models.ImageQuestionResponse, headers=request.headers, options=options)
|
336
347
|
except Exception as e:
|
337
348
|
if isinstance(e, TencentCloudSDKException):
|
338
349
|
raise
|
@@ -430,7 +441,8 @@ class HunyuanClient(AbstractClient):
|
|
430
441
|
"""
|
431
442
|
try:
|
432
443
|
params = request._serialize()
|
433
|
-
|
444
|
+
options = {"Endpoint": "%s://hunyuan.ai.tencentcloudapi.com" % self.profile.httpProfile.scheme}
|
445
|
+
return self._call_and_deserialize("RunThread", params, models.RunThreadResponse, headers=request.headers, options=options)
|
434
446
|
except Exception as e:
|
435
447
|
if isinstance(e, TencentCloudSDKException):
|
436
448
|
raise
|
@@ -249,6 +249,29 @@ class IoaClient(AbstractClient):
|
|
249
249
|
model = models.DescribeSoftCensusListByDeviceResponse()
|
250
250
|
model._deserialize(response["Response"])
|
251
251
|
return model
|
252
|
+
except Exception as e:
|
253
|
+
if isinstance(e, TencentCloudSDKException):
|
254
|
+
raise
|
255
|
+
else:
|
256
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
257
|
+
|
258
|
+
|
259
|
+
def DescribeSoftwareInformation(self, request):
|
260
|
+
"""查看指定终端的软件详情列表,私有化调用path为:capi/Software/DescribeSoftwareInformation
|
261
|
+
|
262
|
+
:param request: Request instance for DescribeSoftwareInformation.
|
263
|
+
:type request: :class:`tencentcloud.ioa.v20220601.models.DescribeSoftwareInformationRequest`
|
264
|
+
:rtype: :class:`tencentcloud.ioa.v20220601.models.DescribeSoftwareInformationResponse`
|
265
|
+
|
266
|
+
"""
|
267
|
+
try:
|
268
|
+
params = request._serialize()
|
269
|
+
headers = request.headers
|
270
|
+
body = self.call("DescribeSoftwareInformation", params, headers=headers)
|
271
|
+
response = json.loads(body)
|
272
|
+
model = models.DescribeSoftwareInformationResponse()
|
273
|
+
model._deserialize(response["Response"])
|
274
|
+
return model
|
252
275
|
except Exception as e:
|
253
276
|
if isinstance(e, TencentCloudSDKException):
|
254
277
|
raise
|