tencentcloud-sdk-python 3.0.1149__py2.py3-none-any.whl → 3.0.1151__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/models.py +126 -22
- tencentcloud/cdn/v20180606/models.py +22 -0
- tencentcloud/dsgc/v20190723/models.py +4 -9
- tencentcloud/hunyuan/v20230901/models.py +17 -0
- tencentcloud/mps/v20190612/models.py +10 -10
- tencentcloud/ocr/v20181119/models.py +60 -0
- tencentcloud/rce/v20201103/models.py +6 -22
- tencentcloud/sms/v20210111/models.py +4 -2
- tencentcloud/tmt/v20180321/models.py +8 -0
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +458 -0
- tencentcloud/trtc/v20190722/trtc_client.py +92 -0
- {tencentcloud_sdk_python-3.0.1149.dist-info → tencentcloud_sdk_python-3.0.1151.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1149.dist-info → tencentcloud_sdk_python-3.0.1151.dist-info}/RECORD +18 -18
- {tencentcloud_sdk_python-3.0.1149.dist-info → tencentcloud_sdk_python-3.0.1151.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1149.dist-info → tencentcloud_sdk_python-3.0.1151.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1149.dist-info → tencentcloud_sdk_python-3.0.1151.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -1074,15 +1074,27 @@ class CompanyApplyInfo(AbstractModel):
|
|
1074
1074
|
:param _CorporationIdPicUrl: 法定代表人身份证正反面扫描件。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
1075
1075
|
注意:此字段可能返回 null,表示取不到有效值。
|
1076
1076
|
:type CorporationIdPicUrl: str
|
1077
|
-
:param
|
1077
|
+
:param _NetworkCommitmentPicUrl: 安全合规使用承诺书。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
1078
1078
|
注意:此字段可能返回 null,表示取不到有效值。
|
1079
|
-
:type
|
1079
|
+
:type NetworkCommitmentPicUrl: str
|
1080
|
+
:param _IsEqualTencentCloud: 是否与腾讯云账号的资质一致,0-不一致,1-一致
|
1081
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1082
|
+
:type IsEqualTencentCloud: int
|
1083
|
+
:param _CorporationMobile: 法定代表人手机号
|
1084
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1085
|
+
:type CorporationMobile: str
|
1086
|
+
:param _CorporationMobilePicUrl: 法定代表人手机号码实名认证。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
1087
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1088
|
+
:type CorporationMobilePicUrl: str
|
1089
|
+
:param _UseDescribeFileUrl: 通话话术。(支持doc、docx格式的文档不超过50MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
1090
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1091
|
+
:type UseDescribeFileUrl: str
|
1092
|
+
:param _CompanyAuthLetterPicUrl: 公司授权函。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
1093
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1094
|
+
:type CompanyAuthLetterPicUrl: str
|
1080
1095
|
:param _AcceptPicUrl: 电话受理单。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
1081
1096
|
注意:此字段可能返回 null,表示取不到有效值。
|
1082
1097
|
:type AcceptPicUrl: str
|
1083
|
-
:param _NetworkCommitmentPicUrl: 电信入网承诺书。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
1084
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1085
|
-
:type NetworkCommitmentPicUrl: str
|
1086
1098
|
:param _CorporationHoldingOnIdPicUrl: 法定代表人手持身份证照,申请人类型为法定代表人时必填。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
1087
1099
|
注意:此字段可能返回 null,表示取不到有效值。
|
1088
1100
|
:type CorporationHoldingOnIdPicUrl: str
|
@@ -1101,6 +1113,15 @@ class CompanyApplyInfo(AbstractModel):
|
|
1101
1113
|
:param _CommissionPicUrl: 委托授权书,申请人类型为经办人时必填。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
1102
1114
|
注意:此字段可能返回 null,表示取不到有效值。
|
1103
1115
|
:type CommissionPicUrl: str
|
1116
|
+
:param _OperatorMobile: 经办人手机号,申请人类型为经办人时必填。
|
1117
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1118
|
+
:type OperatorMobile: str
|
1119
|
+
:param _OperatorEmail: 经办人邮箱,申请人类型为经办人时必填。
|
1120
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1121
|
+
:type OperatorEmail: str
|
1122
|
+
:param _OperatorMobilePicUrl: 经办人手机号码实名认证,申请人类型为经办人时必填。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
1123
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1124
|
+
:type OperatorMobilePicUrl: str
|
1104
1125
|
"""
|
1105
1126
|
self._ApplicantType = None
|
1106
1127
|
self._CompanyName = None
|
@@ -1109,15 +1130,22 @@ class CompanyApplyInfo(AbstractModel):
|
|
1109
1130
|
self._CorporationName = None
|
1110
1131
|
self._CorporationId = None
|
1111
1132
|
self._CorporationIdPicUrl = None
|
1112
|
-
self._BusinessScope = None
|
1113
|
-
self._AcceptPicUrl = None
|
1114
1133
|
self._NetworkCommitmentPicUrl = None
|
1134
|
+
self._IsEqualTencentCloud = None
|
1135
|
+
self._CorporationMobile = None
|
1136
|
+
self._CorporationMobilePicUrl = None
|
1137
|
+
self._UseDescribeFileUrl = None
|
1138
|
+
self._CompanyAuthLetterPicUrl = None
|
1139
|
+
self._AcceptPicUrl = None
|
1115
1140
|
self._CorporationHoldingOnIdPicUrl = None
|
1116
1141
|
self._OperatorName = None
|
1117
1142
|
self._OperatorId = None
|
1118
1143
|
self._OperatorIdPicUrl = None
|
1119
1144
|
self._OperatorHoldingOnIdPicUrl = None
|
1120
1145
|
self._CommissionPicUrl = None
|
1146
|
+
self._OperatorMobile = None
|
1147
|
+
self._OperatorEmail = None
|
1148
|
+
self._OperatorMobilePicUrl = None
|
1121
1149
|
|
1122
1150
|
@property
|
1123
1151
|
def ApplicantType(self):
|
@@ -1176,12 +1204,52 @@ class CompanyApplyInfo(AbstractModel):
|
|
1176
1204
|
self._CorporationIdPicUrl = CorporationIdPicUrl
|
1177
1205
|
|
1178
1206
|
@property
|
1179
|
-
def
|
1180
|
-
return self.
|
1207
|
+
def NetworkCommitmentPicUrl(self):
|
1208
|
+
return self._NetworkCommitmentPicUrl
|
1209
|
+
|
1210
|
+
@NetworkCommitmentPicUrl.setter
|
1211
|
+
def NetworkCommitmentPicUrl(self, NetworkCommitmentPicUrl):
|
1212
|
+
self._NetworkCommitmentPicUrl = NetworkCommitmentPicUrl
|
1213
|
+
|
1214
|
+
@property
|
1215
|
+
def IsEqualTencentCloud(self):
|
1216
|
+
return self._IsEqualTencentCloud
|
1217
|
+
|
1218
|
+
@IsEqualTencentCloud.setter
|
1219
|
+
def IsEqualTencentCloud(self, IsEqualTencentCloud):
|
1220
|
+
self._IsEqualTencentCloud = IsEqualTencentCloud
|
1221
|
+
|
1222
|
+
@property
|
1223
|
+
def CorporationMobile(self):
|
1224
|
+
return self._CorporationMobile
|
1225
|
+
|
1226
|
+
@CorporationMobile.setter
|
1227
|
+
def CorporationMobile(self, CorporationMobile):
|
1228
|
+
self._CorporationMobile = CorporationMobile
|
1229
|
+
|
1230
|
+
@property
|
1231
|
+
def CorporationMobilePicUrl(self):
|
1232
|
+
return self._CorporationMobilePicUrl
|
1233
|
+
|
1234
|
+
@CorporationMobilePicUrl.setter
|
1235
|
+
def CorporationMobilePicUrl(self, CorporationMobilePicUrl):
|
1236
|
+
self._CorporationMobilePicUrl = CorporationMobilePicUrl
|
1237
|
+
|
1238
|
+
@property
|
1239
|
+
def UseDescribeFileUrl(self):
|
1240
|
+
return self._UseDescribeFileUrl
|
1241
|
+
|
1242
|
+
@UseDescribeFileUrl.setter
|
1243
|
+
def UseDescribeFileUrl(self, UseDescribeFileUrl):
|
1244
|
+
self._UseDescribeFileUrl = UseDescribeFileUrl
|
1245
|
+
|
1246
|
+
@property
|
1247
|
+
def CompanyAuthLetterPicUrl(self):
|
1248
|
+
return self._CompanyAuthLetterPicUrl
|
1181
1249
|
|
1182
|
-
@
|
1183
|
-
def
|
1184
|
-
self.
|
1250
|
+
@CompanyAuthLetterPicUrl.setter
|
1251
|
+
def CompanyAuthLetterPicUrl(self, CompanyAuthLetterPicUrl):
|
1252
|
+
self._CompanyAuthLetterPicUrl = CompanyAuthLetterPicUrl
|
1185
1253
|
|
1186
1254
|
@property
|
1187
1255
|
def AcceptPicUrl(self):
|
@@ -1191,14 +1259,6 @@ class CompanyApplyInfo(AbstractModel):
|
|
1191
1259
|
def AcceptPicUrl(self, AcceptPicUrl):
|
1192
1260
|
self._AcceptPicUrl = AcceptPicUrl
|
1193
1261
|
|
1194
|
-
@property
|
1195
|
-
def NetworkCommitmentPicUrl(self):
|
1196
|
-
return self._NetworkCommitmentPicUrl
|
1197
|
-
|
1198
|
-
@NetworkCommitmentPicUrl.setter
|
1199
|
-
def NetworkCommitmentPicUrl(self, NetworkCommitmentPicUrl):
|
1200
|
-
self._NetworkCommitmentPicUrl = NetworkCommitmentPicUrl
|
1201
|
-
|
1202
1262
|
@property
|
1203
1263
|
def CorporationHoldingOnIdPicUrl(self):
|
1204
1264
|
return self._CorporationHoldingOnIdPicUrl
|
@@ -1247,6 +1307,30 @@ class CompanyApplyInfo(AbstractModel):
|
|
1247
1307
|
def CommissionPicUrl(self, CommissionPicUrl):
|
1248
1308
|
self._CommissionPicUrl = CommissionPicUrl
|
1249
1309
|
|
1310
|
+
@property
|
1311
|
+
def OperatorMobile(self):
|
1312
|
+
return self._OperatorMobile
|
1313
|
+
|
1314
|
+
@OperatorMobile.setter
|
1315
|
+
def OperatorMobile(self, OperatorMobile):
|
1316
|
+
self._OperatorMobile = OperatorMobile
|
1317
|
+
|
1318
|
+
@property
|
1319
|
+
def OperatorEmail(self):
|
1320
|
+
return self._OperatorEmail
|
1321
|
+
|
1322
|
+
@OperatorEmail.setter
|
1323
|
+
def OperatorEmail(self, OperatorEmail):
|
1324
|
+
self._OperatorEmail = OperatorEmail
|
1325
|
+
|
1326
|
+
@property
|
1327
|
+
def OperatorMobilePicUrl(self):
|
1328
|
+
return self._OperatorMobilePicUrl
|
1329
|
+
|
1330
|
+
@OperatorMobilePicUrl.setter
|
1331
|
+
def OperatorMobilePicUrl(self, OperatorMobilePicUrl):
|
1332
|
+
self._OperatorMobilePicUrl = OperatorMobilePicUrl
|
1333
|
+
|
1250
1334
|
|
1251
1335
|
def _deserialize(self, params):
|
1252
1336
|
self._ApplicantType = params.get("ApplicantType")
|
@@ -1256,15 +1340,22 @@ class CompanyApplyInfo(AbstractModel):
|
|
1256
1340
|
self._CorporationName = params.get("CorporationName")
|
1257
1341
|
self._CorporationId = params.get("CorporationId")
|
1258
1342
|
self._CorporationIdPicUrl = params.get("CorporationIdPicUrl")
|
1259
|
-
self._BusinessScope = params.get("BusinessScope")
|
1260
|
-
self._AcceptPicUrl = params.get("AcceptPicUrl")
|
1261
1343
|
self._NetworkCommitmentPicUrl = params.get("NetworkCommitmentPicUrl")
|
1344
|
+
self._IsEqualTencentCloud = params.get("IsEqualTencentCloud")
|
1345
|
+
self._CorporationMobile = params.get("CorporationMobile")
|
1346
|
+
self._CorporationMobilePicUrl = params.get("CorporationMobilePicUrl")
|
1347
|
+
self._UseDescribeFileUrl = params.get("UseDescribeFileUrl")
|
1348
|
+
self._CompanyAuthLetterPicUrl = params.get("CompanyAuthLetterPicUrl")
|
1349
|
+
self._AcceptPicUrl = params.get("AcceptPicUrl")
|
1262
1350
|
self._CorporationHoldingOnIdPicUrl = params.get("CorporationHoldingOnIdPicUrl")
|
1263
1351
|
self._OperatorName = params.get("OperatorName")
|
1264
1352
|
self._OperatorId = params.get("OperatorId")
|
1265
1353
|
self._OperatorIdPicUrl = params.get("OperatorIdPicUrl")
|
1266
1354
|
self._OperatorHoldingOnIdPicUrl = params.get("OperatorHoldingOnIdPicUrl")
|
1267
1355
|
self._CommissionPicUrl = params.get("CommissionPicUrl")
|
1356
|
+
self._OperatorMobile = params.get("OperatorMobile")
|
1357
|
+
self._OperatorEmail = params.get("OperatorEmail")
|
1358
|
+
self._OperatorMobilePicUrl = params.get("OperatorMobilePicUrl")
|
1268
1359
|
memeber_set = set(params.keys())
|
1269
1360
|
for name, value in vars(self).items():
|
1270
1361
|
property_name = name[1:]
|
@@ -1302,6 +1393,9 @@ class CompanyStateInfo(AbstractModel):
|
|
1302
1393
|
:param _BusinessId: 公司统一社会信用代码
|
1303
1394
|
注意:此字段可能返回 null,表示取不到有效值。
|
1304
1395
|
:type BusinessId: str
|
1396
|
+
:param _ModifyTime: 修改时间
|
1397
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1398
|
+
:type ModifyTime: int
|
1305
1399
|
"""
|
1306
1400
|
self._Id = None
|
1307
1401
|
self._CompanyName = None
|
@@ -1310,6 +1404,7 @@ class CompanyStateInfo(AbstractModel):
|
|
1310
1404
|
self._CheckMsg = None
|
1311
1405
|
self._State = None
|
1312
1406
|
self._BusinessId = None
|
1407
|
+
self._ModifyTime = None
|
1313
1408
|
|
1314
1409
|
@property
|
1315
1410
|
def Id(self):
|
@@ -1367,6 +1462,14 @@ class CompanyStateInfo(AbstractModel):
|
|
1367
1462
|
def BusinessId(self, BusinessId):
|
1368
1463
|
self._BusinessId = BusinessId
|
1369
1464
|
|
1465
|
+
@property
|
1466
|
+
def ModifyTime(self):
|
1467
|
+
return self._ModifyTime
|
1468
|
+
|
1469
|
+
@ModifyTime.setter
|
1470
|
+
def ModifyTime(self, ModifyTime):
|
1471
|
+
self._ModifyTime = ModifyTime
|
1472
|
+
|
1370
1473
|
|
1371
1474
|
def _deserialize(self, params):
|
1372
1475
|
self._Id = params.get("Id")
|
@@ -1376,6 +1479,7 @@ class CompanyStateInfo(AbstractModel):
|
|
1376
1479
|
self._CheckMsg = params.get("CheckMsg")
|
1377
1480
|
self._State = params.get("State")
|
1378
1481
|
self._BusinessId = params.get("BusinessId")
|
1482
|
+
self._ModifyTime = params.get("ModifyTime")
|
1379
1483
|
memeber_set = set(params.keys())
|
1380
1484
|
for name, value in vars(self).items():
|
1381
1485
|
property_name = name[1:]
|
@@ -3016,8 +3016,21 @@ on:开启
|
|
3016
3016
|
off:关闭
|
3017
3017
|
注意:此字段可能返回 null,表示取不到有效值。
|
3018
3018
|
:type Switch: str
|
3019
|
+
:param _FallbackFormats: 当原图是 avif 且客户端 Accept 头包含 image/avif 时,直接返回原图。
|
3020
|
+
当原图是 avif 且客户端 Accept 头不包含 image/avif 时但包含 image/webp,将 avif 转 webp 格式返回。如果 Accept 头不包含 image/webp, 则转 jpeg 返回。
|
3021
|
+
|
3022
|
+
可用的枚举值:
|
3023
|
+
- []
|
3024
|
+
- ["webp"]
|
3025
|
+
- ["jpeg"]
|
3026
|
+
- ["webp", "jpeg"]
|
3027
|
+
|
3028
|
+
"webp":是否开启 avif 转 webp,"jpeg": 是否开启 avif 转 jpeg。如果 webp 和 jpeg 都开启的情况下,webp 必须在 jpeg 前面。
|
3029
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3030
|
+
:type FallbackFormats: list of str
|
3019
3031
|
"""
|
3020
3032
|
self._Switch = None
|
3033
|
+
self._FallbackFormats = None
|
3021
3034
|
|
3022
3035
|
@property
|
3023
3036
|
def Switch(self):
|
@@ -3027,9 +3040,18 @@ off:关闭
|
|
3027
3040
|
def Switch(self, Switch):
|
3028
3041
|
self._Switch = Switch
|
3029
3042
|
|
3043
|
+
@property
|
3044
|
+
def FallbackFormats(self):
|
3045
|
+
return self._FallbackFormats
|
3046
|
+
|
3047
|
+
@FallbackFormats.setter
|
3048
|
+
def FallbackFormats(self, FallbackFormats):
|
3049
|
+
self._FallbackFormats = FallbackFormats
|
3050
|
+
|
3030
3051
|
|
3031
3052
|
def _deserialize(self, params):
|
3032
3053
|
self._Switch = params.get("Switch")
|
3054
|
+
self._FallbackFormats = params.get("FallbackFormats")
|
3033
3055
|
memeber_set = set(params.keys())
|
3034
3056
|
for name, value in vars(self).items():
|
3035
3057
|
property_name = name[1:]
|
@@ -948,7 +948,7 @@ class AssessmentTask(AbstractModel):
|
|
948
948
|
|
949
949
|
|
950
950
|
class AssessmentTemplate(AbstractModel):
|
951
|
-
"""DSPA
|
951
|
+
"""DSPA评估模板
|
952
952
|
|
953
953
|
"""
|
954
954
|
|
@@ -3055,13 +3055,13 @@ class CreateDSPAAssessmentRiskTemplateRequest(AbstractModel):
|
|
3055
3055
|
r"""
|
3056
3056
|
:param _DspaId: dspa实例id
|
3057
3057
|
:type DspaId: str
|
3058
|
-
:param _TemplateName:
|
3058
|
+
:param _TemplateName: 模板名称
|
3059
3059
|
:type TemplateName: str
|
3060
3060
|
:param _RiskLevelId: 风险等级id
|
3061
3061
|
:type RiskLevelId: int
|
3062
3062
|
:param _RiskIdList: 风险id列表
|
3063
3063
|
:type RiskIdList: list of int
|
3064
|
-
:param _TemplateDescription:
|
3064
|
+
:param _TemplateDescription: 模板描述
|
3065
3065
|
:type TemplateDescription: str
|
3066
3066
|
"""
|
3067
3067
|
self._DspaId = None
|
@@ -10796,12 +10796,7 @@ class DescribeDSPAAssessmentTemplatesRequest(AbstractModel):
|
|
10796
10796
|
:type Offset: int
|
10797
10797
|
:param _Limit: 结果集个数限制。默认为20,最大值为100
|
10798
10798
|
:type Limit: int
|
10799
|
-
:param _Filters:
|
10800
|
-
支持模糊搜索:(TemplateId,TemplateName)
|
10801
|
-
支持过滤:
|
10802
|
-
Source:模版来源,system / user
|
10803
|
-
UseType:模版类型,auto,semi-auto,law等
|
10804
|
-
Status:模版启用状态,draft / launched
|
10799
|
+
:param _Filters: 过滤项。支持模糊搜索:(TemplateId,TemplateName)支持过滤:Source:模板来源,system / userUseType:模板类型,auto,semi-auto,law等Status:模板启用状态,draft / launched
|
10805
10800
|
:type Filters: list of DspaAssessmentFilter
|
10806
10801
|
"""
|
10807
10802
|
self._DspaId = None
|
@@ -70,6 +70,13 @@ class ChatCompletionsRequest(AbstractModel):
|
|
70
70
|
2. 默认 1.0,取值区间为 [0.0, 2.0]。
|
71
71
|
3. 非必要不建议使用,不合理的取值会影响效果。
|
72
72
|
:type Temperature: float
|
73
|
+
:param _EnableEnhancement: 功能增强(如搜索)开关。
|
74
|
+
说明:
|
75
|
+
1. 仅 hunyuan-pro 模型可用,其它版本不生效。
|
76
|
+
2. 未传值时默认打开开关。
|
77
|
+
3. 关闭时将直接由主模型生成回复内容,可以降低响应时延(对于流式输出时的首字时延尤为明显)。但在少数场景里,回复效果可能会下降。
|
78
|
+
4. 安全审核能力不属于功能增强范围,不受此字段影响。
|
79
|
+
:type EnableEnhancement: bool
|
73
80
|
"""
|
74
81
|
self._Model = None
|
75
82
|
self._Messages = None
|
@@ -77,6 +84,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
77
84
|
self._StreamModeration = None
|
78
85
|
self._TopP = None
|
79
86
|
self._Temperature = None
|
87
|
+
self._EnableEnhancement = None
|
80
88
|
|
81
89
|
@property
|
82
90
|
def Model(self):
|
@@ -126,6 +134,14 @@ class ChatCompletionsRequest(AbstractModel):
|
|
126
134
|
def Temperature(self, Temperature):
|
127
135
|
self._Temperature = Temperature
|
128
136
|
|
137
|
+
@property
|
138
|
+
def EnableEnhancement(self):
|
139
|
+
return self._EnableEnhancement
|
140
|
+
|
141
|
+
@EnableEnhancement.setter
|
142
|
+
def EnableEnhancement(self, EnableEnhancement):
|
143
|
+
self._EnableEnhancement = EnableEnhancement
|
144
|
+
|
129
145
|
|
130
146
|
def _deserialize(self, params):
|
131
147
|
self._Model = params.get("Model")
|
@@ -139,6 +155,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
139
155
|
self._StreamModeration = params.get("StreamModeration")
|
140
156
|
self._TopP = params.get("TopP")
|
141
157
|
self._Temperature = params.get("Temperature")
|
158
|
+
self._EnableEnhancement = params.get("EnableEnhancement")
|
142
159
|
memeber_set = set(params.keys())
|
143
160
|
for name, value in vars(self).items():
|
144
161
|
property_name = name[1:]
|
@@ -1367,7 +1367,7 @@ class AiAnalysisResult(AbstractModel):
|
|
1367
1367
|
<li>Tag:智能标签</li>
|
1368
1368
|
<li>FrameTag:智能按帧标签</li>
|
1369
1369
|
<li>Highlight:智能精彩集锦</li>
|
1370
|
-
<li>DeLogo
|
1370
|
+
<li>DeLogo:智能擦除</li>
|
1371
1371
|
<li>Description:大模型摘要</li>
|
1372
1372
|
:type Type: str
|
1373
1373
|
:param _ClassificationTask: 视频内容分析智能分类任务的查询结果,当任务类型为 Classification 时有效。
|
@@ -1385,7 +1385,7 @@ class AiAnalysisResult(AbstractModel):
|
|
1385
1385
|
:param _HighlightTask: 视频内容分析集锦任务的查询结果,当任务类型为 Highlight时有效。
|
1386
1386
|
注意:此字段可能返回 null,表示取不到有效值。
|
1387
1387
|
:type HighlightTask: :class:`tencentcloud.mps.v20190612.models.AiAnalysisTaskHighlightResult`
|
1388
|
-
:param _DeLogoTask:
|
1388
|
+
:param _DeLogoTask: 视频内容分析智能擦除任务的查询结果,当任务类型为 DeLogo 时有效。
|
1389
1389
|
注意:此字段可能返回 null,表示取不到有效值。
|
1390
1390
|
:type DeLogoTask: :class:`tencentcloud.mps.v20190612.models.AiAnalysisTaskDelLogoResult`
|
1391
1391
|
:param _HeadTailTask: 视频内容分析片头片尾任务的查询结果,当任务类型为 HeadTailRecognition 时有效。
|
@@ -1867,13 +1867,13 @@ class AiAnalysisTaskCoverResult(AbstractModel):
|
|
1867
1867
|
|
1868
1868
|
|
1869
1869
|
class AiAnalysisTaskDelLogoInput(AbstractModel):
|
1870
|
-
"""
|
1870
|
+
"""智能擦除任务输入类型
|
1871
1871
|
|
1872
1872
|
"""
|
1873
1873
|
|
1874
1874
|
def __init__(self):
|
1875
1875
|
r"""
|
1876
|
-
:param _Definition:
|
1876
|
+
:param _Definition: 视频智能擦除模板 ID。
|
1877
1877
|
:type Definition: int
|
1878
1878
|
"""
|
1879
1879
|
self._Definition = None
|
@@ -1900,15 +1900,15 @@ class AiAnalysisTaskDelLogoInput(AbstractModel):
|
|
1900
1900
|
|
1901
1901
|
|
1902
1902
|
class AiAnalysisTaskDelLogoOutput(AbstractModel):
|
1903
|
-
"""
|
1903
|
+
"""智能擦除结果信息
|
1904
1904
|
|
1905
1905
|
"""
|
1906
1906
|
|
1907
1907
|
def __init__(self):
|
1908
1908
|
r"""
|
1909
|
-
:param _Path:
|
1909
|
+
:param _Path: 擦除后文件的路径。
|
1910
1910
|
:type Path: str
|
1911
|
-
:param _OutputStorage:
|
1911
|
+
:param _OutputStorage: 擦除后文件的存储位置。
|
1912
1912
|
:type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
|
1913
1913
|
"""
|
1914
1914
|
self._Path = None
|
@@ -1947,7 +1947,7 @@ class AiAnalysisTaskDelLogoOutput(AbstractModel):
|
|
1947
1947
|
|
1948
1948
|
|
1949
1949
|
class AiAnalysisTaskDelLogoResult(AbstractModel):
|
1950
|
-
"""
|
1950
|
+
"""智能擦除结果类型
|
1951
1951
|
|
1952
1952
|
"""
|
1953
1953
|
|
@@ -1959,9 +1959,9 @@ class AiAnalysisTaskDelLogoResult(AbstractModel):
|
|
1959
1959
|
:type ErrCode: int
|
1960
1960
|
:param _Message: 错误信息。
|
1961
1961
|
:type Message: str
|
1962
|
-
:param _Input:
|
1962
|
+
:param _Input: 智能擦除任务输入。
|
1963
1963
|
:type Input: :class:`tencentcloud.mps.v20190612.models.AiAnalysisTaskDelLogoInput`
|
1964
|
-
:param _Output:
|
1964
|
+
:param _Output: 智能擦除任务输出。
|
1965
1965
|
注意:此字段可能返回 null,表示取不到有效值。
|
1966
1966
|
:type Output: :class:`tencentcloud.mps.v20190612.models.AiAnalysisTaskDelLogoOutput`
|
1967
1967
|
"""
|
@@ -18849,8 +18849,18 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
18849
18849
|
:type IssueDate: str
|
18850
18850
|
:param _ExpirationDate: 泰文到期日期
|
18851
18851
|
:type ExpirationDate: str
|
18852
|
+
:param _EnIssueDate: 英文签发日期
|
18853
|
+
:type EnIssueDate: str
|
18854
|
+
:param _EnExpirationDate: 英文到期日期
|
18855
|
+
:type EnExpirationDate: str
|
18852
18856
|
:param _Birthday: 泰文出生日期
|
18853
18857
|
:type Birthday: str
|
18858
|
+
:param _EnBirthday: 英文出生日期
|
18859
|
+
:type EnBirthday: str
|
18860
|
+
:param _Religion: 宗教信仰
|
18861
|
+
:type Religion: str
|
18862
|
+
:param _SerialNumber: 序列号
|
18863
|
+
:type SerialNumber: str
|
18854
18864
|
:param _Address: 地址
|
18855
18865
|
:type Address: str
|
18856
18866
|
:param _PortraitImage: 证件人像照片抠取
|
@@ -18872,7 +18882,12 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
18872
18882
|
self._EnLastName = None
|
18873
18883
|
self._IssueDate = None
|
18874
18884
|
self._ExpirationDate = None
|
18885
|
+
self._EnIssueDate = None
|
18886
|
+
self._EnExpirationDate = None
|
18875
18887
|
self._Birthday = None
|
18888
|
+
self._EnBirthday = None
|
18889
|
+
self._Religion = None
|
18890
|
+
self._SerialNumber = None
|
18876
18891
|
self._Address = None
|
18877
18892
|
self._PortraitImage = None
|
18878
18893
|
self._WarnCardInfos = None
|
@@ -18926,6 +18941,22 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
18926
18941
|
def ExpirationDate(self, ExpirationDate):
|
18927
18942
|
self._ExpirationDate = ExpirationDate
|
18928
18943
|
|
18944
|
+
@property
|
18945
|
+
def EnIssueDate(self):
|
18946
|
+
return self._EnIssueDate
|
18947
|
+
|
18948
|
+
@EnIssueDate.setter
|
18949
|
+
def EnIssueDate(self, EnIssueDate):
|
18950
|
+
self._EnIssueDate = EnIssueDate
|
18951
|
+
|
18952
|
+
@property
|
18953
|
+
def EnExpirationDate(self):
|
18954
|
+
return self._EnExpirationDate
|
18955
|
+
|
18956
|
+
@EnExpirationDate.setter
|
18957
|
+
def EnExpirationDate(self, EnExpirationDate):
|
18958
|
+
self._EnExpirationDate = EnExpirationDate
|
18959
|
+
|
18929
18960
|
@property
|
18930
18961
|
def Birthday(self):
|
18931
18962
|
return self._Birthday
|
@@ -18934,6 +18965,30 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
18934
18965
|
def Birthday(self, Birthday):
|
18935
18966
|
self._Birthday = Birthday
|
18936
18967
|
|
18968
|
+
@property
|
18969
|
+
def EnBirthday(self):
|
18970
|
+
return self._EnBirthday
|
18971
|
+
|
18972
|
+
@EnBirthday.setter
|
18973
|
+
def EnBirthday(self, EnBirthday):
|
18974
|
+
self._EnBirthday = EnBirthday
|
18975
|
+
|
18976
|
+
@property
|
18977
|
+
def Religion(self):
|
18978
|
+
return self._Religion
|
18979
|
+
|
18980
|
+
@Religion.setter
|
18981
|
+
def Religion(self, Religion):
|
18982
|
+
self._Religion = Religion
|
18983
|
+
|
18984
|
+
@property
|
18985
|
+
def SerialNumber(self):
|
18986
|
+
return self._SerialNumber
|
18987
|
+
|
18988
|
+
@SerialNumber.setter
|
18989
|
+
def SerialNumber(self, SerialNumber):
|
18990
|
+
self._SerialNumber = SerialNumber
|
18991
|
+
|
18937
18992
|
@property
|
18938
18993
|
def Address(self):
|
18939
18994
|
return self._Address
|
@@ -18974,7 +19029,12 @@ class RecognizeThaiIDCardOCRResponse(AbstractModel):
|
|
18974
19029
|
self._EnLastName = params.get("EnLastName")
|
18975
19030
|
self._IssueDate = params.get("IssueDate")
|
18976
19031
|
self._ExpirationDate = params.get("ExpirationDate")
|
19032
|
+
self._EnIssueDate = params.get("EnIssueDate")
|
19033
|
+
self._EnExpirationDate = params.get("EnExpirationDate")
|
18977
19034
|
self._Birthday = params.get("Birthday")
|
19035
|
+
self._EnBirthday = params.get("EnBirthday")
|
19036
|
+
self._Religion = params.get("Religion")
|
19037
|
+
self._SerialNumber = params.get("SerialNumber")
|
18978
19038
|
self._Address = params.get("Address")
|
18979
19039
|
self._PortraitImage = params.get("PortraitImage")
|
18980
19040
|
self._WarnCardInfos = params.get("WarnCardInfos")
|
@@ -28,14 +28,13 @@ class AccountInfo(AbstractModel):
|
|
28
28
|
:param _AccountType: 用户账号类型;默认开通QQOpenId、手机号MD5权限;如果需要使用微信OpenId入参,则需要"提交工单"或联系对接人进行资格审核,审核通过后方可正常使用微信开放账号。
|
29
29
|
1:QQ开放账号
|
30
30
|
2:微信开放账号
|
31
|
-
8:设备号,仅支持IMEI、IMEIMD5、IDFA、IDFAMD5
|
32
31
|
10004:手机号MD5,中国大陆11位手机号进行MD5加密,取32位小写值。
|
33
32
|
:type AccountType: int
|
34
33
|
:param _QQAccount: QQ账号信息,AccountType是"1"时,该字段必填。
|
35
34
|
:type QQAccount: :class:`tencentcloud.rce.v20201103.models.QQAccountInfo`
|
36
35
|
:param _WeChatAccount: 微信账号信息,AccountType是"2"时,该字段必填。
|
37
36
|
:type WeChatAccount: :class:`tencentcloud.rce.v20201103.models.WeChatAccountInfo`
|
38
|
-
:param _OtherAccount: 其它账号信息,AccountType是
|
37
|
+
:param _OtherAccount: 其它账号信息,AccountType是10004时,该字段必填。
|
39
38
|
:type OtherAccount: :class:`tencentcloud.rce.v20201103.models.OtherAccountInfo`
|
40
39
|
"""
|
41
40
|
self._AccountType = None
|
@@ -213,7 +212,6 @@ class InputManageMarketingRisk(AbstractModel):
|
|
213
212
|
:param _Account: 用户账号类型;默认开通QQOpenId、手机号MD5权限;如果需要使用微信OpenId入参,则需要"提交工单"或联系对接人进行资格审核,审核通过后方可正常使用微信开放账号。
|
214
213
|
1:QQ开放账号
|
215
214
|
2:微信开放账号
|
216
|
-
8:设备号,仅支持IMEI、IMEIMD5、IDFA、IDFAMD5
|
217
215
|
10004:手机号MD5,中国大陆11位手机号进行MD5加密,取32位小写值。
|
218
216
|
:type Account: :class:`tencentcloud.rce.v20201103.models.AccountInfo`
|
219
217
|
:param _SceneCode: 场景码,用于识别和区分不同的业务场景,可在控制台上新建和管理
|
@@ -254,11 +252,7 @@ class InputManageMarketingRisk(AbstractModel):
|
|
254
252
|
:type MacAddress: str
|
255
253
|
:param _VendorId: 手机制造商ID,如果手机注册,请带上此信息。
|
256
254
|
:type VendorId: str
|
257
|
-
:param _DeviceType:
|
258
|
-
1:IMEI;国际移动设备识别号(15-17位数字);
|
259
|
-
2:IMEIMD5;国际移动设备识别号,通过MD5加密后取32位小写值;
|
260
|
-
3:IDFA;
|
261
|
-
4:IDFAMD5;国际移动设备识别号,通过MD5加密后取32位小写值。
|
255
|
+
:param _DeviceType: 设备类型(已不推荐使用)。
|
262
256
|
:type DeviceType: int
|
263
257
|
:param _Details: 扩展字段。
|
264
258
|
:type Details: list of InputDetails
|
@@ -698,17 +692,14 @@ class OtherAccountInfo(AbstractModel):
|
|
698
692
|
def __init__(self):
|
699
693
|
r"""
|
700
694
|
:param _AccountId: 其他账号信息;
|
701
|
-
AccountType是8时,填入设备号(IMEI、IMEIMD5、IDFA、IDFAMD5)
|
702
695
|
AccountType是10004时,填入中国大陆标准11位手机号的MD5值
|
703
696
|
注释:
|
704
|
-
MD5
|
705
|
-
设备号加密方式,对IMEI、IDFA明文进行MD5加密,加密后取32位小写值。
|
697
|
+
MD5手机号加密方式,使用中国大陆11位手机号进行MD5加密,加密后取32位小写值。
|
706
698
|
:type AccountId: str
|
707
699
|
:param _MobilePhone: 账号绑定的MD5手机号。
|
708
700
|
注释:只支持标准中国大陆11位手机号MD5加密后位的32位小写字符串。
|
709
701
|
:type MobilePhone: str
|
710
|
-
:param _DeviceId:
|
711
|
-
注释:IMEIMD5、IDFAMD5加密方式,对IMEI、IDFA明文进行MD5加密,加密后取32位小写值。
|
702
|
+
:param _DeviceId: 用户设备号(已不推荐使用)。
|
712
703
|
:type DeviceId: str
|
713
704
|
"""
|
714
705
|
self._AccountId = None
|
@@ -844,7 +835,6 @@ class OutputManageMarketingRiskValue(AbstractModel):
|
|
844
835
|
:param _UserId: 账号ID:对应输入参数。
|
845
836
|
当AccountType为1时,对应QQ的OpenId。
|
846
837
|
当AccountType为2时,对应微信的OpenId/UnionId。
|
847
|
-
当AccountType为8时,对应IMEI、IDFA、IMEIMD5或者IDFAMD5。
|
848
838
|
当AccountType为10004时,对应手机号的MD5值。
|
849
839
|
注意:此字段可能返回 null,表示取不到有效值。
|
850
840
|
:type UserId: str
|
@@ -882,10 +872,6 @@ reject:高风险,建议拦截
|
|
882
872
|
2011: 疑似非常用IP,请求当前请求 IP 非该账号常用 IP。
|
883
873
|
2012: 疑似 IP 异常,使用 IDC 机房 IP 或使用代理 IP 或使用恶意 IP 等。
|
884
874
|
205: 非公网有效 IP,传进来的 IP 地址为内网 IP 地址或者 IP 保留地址。
|
885
|
-
206: 设备异常,该设备存在异常的使用行为。
|
886
|
-
2061: 疑似非常用设备,当前请求的设备非该账号常用设备。
|
887
|
-
2062: 疑似虚拟设备,请求设备为模拟器、脚本、云设备等虚拟设备。
|
888
|
-
2063: 疑似群控设备,请求设备为猫池、手机墙等群控设备。
|
889
875
|
注意:此字段可能返回 null,表示取不到有效值。
|
890
876
|
:type RiskType: list of int
|
891
877
|
:param _ConstId: 设备指纹ID,如果集成了设备指纹,并传入了正确的DeviceToken和Platform,该字段正常输出;如果DeviceToken异常(校验不通过),则会在RiskType中返回"-1"标签,ConstId字段为空;如果没有集成设备指纹ConstId字段默认为空。
|
@@ -1004,8 +990,7 @@ class QQAccountInfo(AbstractModel):
|
|
1004
990
|
:param _MobilePhone: 账号绑定的MD5手机号,
|
1005
991
|
注释:只支中国大陆11位手机号MD5加密后位的32位小写字符串。
|
1006
992
|
:type MobilePhone: str
|
1007
|
-
:param _DeviceId:
|
1008
|
-
注释:IMEIMD5、IDFAMD5加密方式,对IMEI、IDFA明文进行MD5加密,加密后取32位小写值。
|
993
|
+
:param _DeviceId: 用户设备号(已不推荐使用)。
|
1009
994
|
|
1010
995
|
:type DeviceId: str
|
1011
996
|
"""
|
@@ -1176,8 +1161,7 @@ class WeChatAccountInfo(AbstractModel):
|
|
1176
1161
|
:param _MobilePhone: 账号绑定的MD5手机号,
|
1177
1162
|
注释:只支持标准中国大陆11位手机号MD5加密后位的32位小写字符串。
|
1178
1163
|
:type MobilePhone: str
|
1179
|
-
:param _DeviceId:
|
1180
|
-
注释:IMEIMD5、IDFAMD5加密方式,对IMEI、IDFA明文进行MD5加密,加密后取32位小写值。
|
1164
|
+
:param _DeviceId: 用户设备号(已不推荐使用)。
|
1181
1165
|
:type DeviceId: str
|
1182
1166
|
"""
|
1183
1167
|
self._WeChatOpenId = None
|
@@ -242,7 +242,8 @@ class AddSmsTemplateRequest(AbstractModel):
|
|
242
242
|
:type TemplateName: str
|
243
243
|
:param _TemplateContent: 模板内容。
|
244
244
|
:type TemplateContent: str
|
245
|
-
:param _SmsType: 短信类型,
|
245
|
+
:param _SmsType: 短信类型,1表示营销短信,2表示通知短信,3表示验证码短信。
|
246
|
+
注:原“普通短信”类型模板目前仍支持提交申请,但为进一步提升短信发送质量、提高短信模板审核通过率,建议按“通知短信”类型或“验证码短信”类型申请新增模板,可参考[关于腾讯云短信模板类型优化公告](https://cloud.tencent.com/document/product/382/106171)。
|
246
247
|
:type SmsType: int
|
247
248
|
:param _International: 是否国际/港澳台短信:
|
248
249
|
0:表示国内短信。
|
@@ -1593,7 +1594,8 @@ class ModifySmsTemplateRequest(AbstractModel):
|
|
1593
1594
|
:type TemplateName: str
|
1594
1595
|
:param _TemplateContent: 新的模板内容。
|
1595
1596
|
:type TemplateContent: str
|
1596
|
-
:param _SmsType: 短信类型,
|
1597
|
+
:param _SmsType: 短信类型,1表示营销短信,2表示通知短信,3表示验证码短信。
|
1598
|
+
注:原“普通短信”类型模板目前仍支持提交申请,为进一步提升短信发送质量、提高短信模板审核通过率,建议按“通知短信”类型或“验证码短信”类型申请新增模板,可参考[关于腾讯云短信模板类型优化公告](https://cloud.tencent.com/document/product/382/106171)。
|
1597
1599
|
:type SmsType: int
|
1598
1600
|
:param _International: 是否国际/港澳台短信:
|
1599
1601
|
0:表示国内短信。
|