tencentcloud-sdk-python-ccc 3.1.36__tar.gz → 3.1.47__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_ccc-3.1.36 → tencentcloud_sdk_python_ccc-3.1.47}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ccc-3.1.36 → tencentcloud_sdk_python_ccc-3.1.47}/setup.py +1 -1
- {tencentcloud_sdk_python_ccc-3.1.36 → tencentcloud_sdk_python_ccc-3.1.47}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ccc-3.1.36 → tencentcloud_sdk_python_ccc-3.1.47}/tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- {tencentcloud_sdk_python_ccc-3.1.36 → tencentcloud_sdk_python_ccc-3.1.47}/tencentcloud/ccc/v20200210/ccc_client_async.py +18 -0
- {tencentcloud_sdk_python_ccc-3.1.36 → tencentcloud_sdk_python_ccc-3.1.47}/tencentcloud/ccc/v20200210/models.py +424 -0
- {tencentcloud_sdk_python_ccc-3.1.36 → tencentcloud_sdk_python_ccc-3.1.47}/tencentcloud_sdk_python_ccc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ccc-3.1.47/tencentcloud_sdk_python_ccc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ccc-3.1.36/tencentcloud_sdk_python_ccc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ccc-3.1.36 → tencentcloud_sdk_python_ccc-3.1.47}/README.rst +0 -0
- {tencentcloud_sdk_python_ccc-3.1.36 → tencentcloud_sdk_python_ccc-3.1.47}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ccc-3.1.36 → tencentcloud_sdk_python_ccc-3.1.47}/tencentcloud/ccc/__init__.py +0 -0
- {tencentcloud_sdk_python_ccc-3.1.36 → tencentcloud_sdk_python_ccc-3.1.47}/tencentcloud/ccc/v20200210/__init__.py +0 -0
- {tencentcloud_sdk_python_ccc-3.1.36 → tencentcloud_sdk_python_ccc-3.1.47}/tencentcloud/ccc/v20200210/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ccc-3.1.36 → tencentcloud_sdk_python_ccc-3.1.47}/tencentcloud_sdk_python_ccc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ccc-3.1.36 → tencentcloud_sdk_python_ccc-3.1.47}/tencentcloud_sdk_python_ccc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ccc-3.1.36 → tencentcloud_sdk_python_ccc-3.1.47}/tencentcloud_sdk_python_ccc.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ccc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.47
|
|
4
4
|
Summary: Tencent Cloud Ccc SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.47
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-ccc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.47,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ccc SDK for Python',
|
|
@@ -986,6 +986,29 @@ class CccClient(AbstractClient):
|
|
|
986
986
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
987
987
|
|
|
988
988
|
|
|
989
|
+
def DescribeFlashSMSList(self, request):
|
|
990
|
+
r"""获取闪信记录列表
|
|
991
|
+
|
|
992
|
+
:param request: Request instance for DescribeFlashSMSList.
|
|
993
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.DescribeFlashSMSListRequest`
|
|
994
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.DescribeFlashSMSListResponse`
|
|
995
|
+
|
|
996
|
+
"""
|
|
997
|
+
try:
|
|
998
|
+
params = request._serialize()
|
|
999
|
+
headers = request.headers
|
|
1000
|
+
body = self.call("DescribeFlashSMSList", params, headers=headers)
|
|
1001
|
+
response = json.loads(body)
|
|
1002
|
+
model = models.DescribeFlashSMSListResponse()
|
|
1003
|
+
model._deserialize(response["Response"])
|
|
1004
|
+
return model
|
|
1005
|
+
except Exception as e:
|
|
1006
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1007
|
+
raise
|
|
1008
|
+
else:
|
|
1009
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1010
|
+
|
|
1011
|
+
|
|
989
1012
|
def DescribeIMCdrList(self, request):
|
|
990
1013
|
r"""获取包括全媒体和文本会话两种类型的服务记录。
|
|
991
1014
|
|
|
@@ -780,6 +780,24 @@ class CccClient(AbstractClient):
|
|
|
780
780
|
|
|
781
781
|
return await self.call_and_deserialize(**kwargs)
|
|
782
782
|
|
|
783
|
+
async def DescribeFlashSMSList(
|
|
784
|
+
self,
|
|
785
|
+
request: models.DescribeFlashSMSListRequest,
|
|
786
|
+
opts: Dict = None,
|
|
787
|
+
) -> models.DescribeFlashSMSListResponse:
|
|
788
|
+
"""
|
|
789
|
+
获取闪信记录列表
|
|
790
|
+
"""
|
|
791
|
+
|
|
792
|
+
kwargs = {}
|
|
793
|
+
kwargs["action"] = "DescribeFlashSMSList"
|
|
794
|
+
kwargs["params"] = request._serialize()
|
|
795
|
+
kwargs["resp_cls"] = models.DescribeFlashSMSListResponse
|
|
796
|
+
kwargs["headers"] = request.headers
|
|
797
|
+
kwargs["opts"] = opts or {}
|
|
798
|
+
|
|
799
|
+
return await self.call_and_deserialize(**kwargs)
|
|
800
|
+
|
|
783
801
|
async def DescribeIMCdrList(
|
|
784
802
|
self,
|
|
785
803
|
request: models.DescribeIMCdrListRequest,
|
|
@@ -29,9 +29,12 @@ class AIAgentInfo(AbstractModel):
|
|
|
29
29
|
:type AIAgentId: int
|
|
30
30
|
:param _AIAgentName: 智能体名称
|
|
31
31
|
:type AIAgentName: str
|
|
32
|
+
:param _VariableNames: 智能体变量名列表
|
|
33
|
+
:type VariableNames: list of str
|
|
32
34
|
"""
|
|
33
35
|
self._AIAgentId = None
|
|
34
36
|
self._AIAgentName = None
|
|
37
|
+
self._VariableNames = None
|
|
35
38
|
|
|
36
39
|
@property
|
|
37
40
|
def AIAgentId(self):
|
|
@@ -55,10 +58,22 @@ class AIAgentInfo(AbstractModel):
|
|
|
55
58
|
def AIAgentName(self, AIAgentName):
|
|
56
59
|
self._AIAgentName = AIAgentName
|
|
57
60
|
|
|
61
|
+
@property
|
|
62
|
+
def VariableNames(self):
|
|
63
|
+
r"""智能体变量名列表
|
|
64
|
+
:rtype: list of str
|
|
65
|
+
"""
|
|
66
|
+
return self._VariableNames
|
|
67
|
+
|
|
68
|
+
@VariableNames.setter
|
|
69
|
+
def VariableNames(self, VariableNames):
|
|
70
|
+
self._VariableNames = VariableNames
|
|
71
|
+
|
|
58
72
|
|
|
59
73
|
def _deserialize(self, params):
|
|
60
74
|
self._AIAgentId = params.get("AIAgentId")
|
|
61
75
|
self._AIAgentName = params.get("AIAgentName")
|
|
76
|
+
self._VariableNames = params.get("VariableNames")
|
|
62
77
|
memeber_set = set(params.keys())
|
|
63
78
|
for name, value in vars(self).items():
|
|
64
79
|
property_name = name[1:]
|
|
@@ -3401,6 +3416,12 @@ HoaiMy
|
|
|
3401
3416
|
:type MaxCallDurationMs: int
|
|
3402
3417
|
:param _MaxRingTimeoutSecond: 最大振铃时长,达到时长阈值自动挂断。 **仅自携号码支持当前参数**
|
|
3403
3418
|
:type MaxRingTimeoutSecond: int
|
|
3419
|
+
:param _AmbientSoundType: 环境音场景,没有的话不填。
|
|
3420
|
+
coffee_shops:咖啡店氛围,背景中有人聊天
|
|
3421
|
+
busy_office:客服中心
|
|
3422
|
+
:type AmbientSoundType: str
|
|
3423
|
+
:param _AmbientSoundVolume: 环境音音量。如果AmbientSoundType 为空,该字段不填。取值的范围是 [0,2]。值越低,环境音越小;值越高,环境音越响亮。如果未设置,则使用默认值 1。
|
|
3424
|
+
:type AmbientSoundVolume: float
|
|
3404
3425
|
"""
|
|
3405
3426
|
self._SdkAppId = None
|
|
3406
3427
|
self._Callee = None
|
|
@@ -3440,6 +3461,8 @@ HoaiMy
|
|
|
3440
3461
|
self._LLMExtraBody = None
|
|
3441
3462
|
self._MaxCallDurationMs = None
|
|
3442
3463
|
self._MaxRingTimeoutSecond = None
|
|
3464
|
+
self._AmbientSoundType = None
|
|
3465
|
+
self._AmbientSoundVolume = None
|
|
3443
3466
|
|
|
3444
3467
|
@property
|
|
3445
3468
|
def SdkAppId(self):
|
|
@@ -4033,6 +4056,30 @@ HoaiMy
|
|
|
4033
4056
|
def MaxRingTimeoutSecond(self, MaxRingTimeoutSecond):
|
|
4034
4057
|
self._MaxRingTimeoutSecond = MaxRingTimeoutSecond
|
|
4035
4058
|
|
|
4059
|
+
@property
|
|
4060
|
+
def AmbientSoundType(self):
|
|
4061
|
+
r"""环境音场景,没有的话不填。
|
|
4062
|
+
coffee_shops:咖啡店氛围,背景中有人聊天
|
|
4063
|
+
busy_office:客服中心
|
|
4064
|
+
:rtype: str
|
|
4065
|
+
"""
|
|
4066
|
+
return self._AmbientSoundType
|
|
4067
|
+
|
|
4068
|
+
@AmbientSoundType.setter
|
|
4069
|
+
def AmbientSoundType(self, AmbientSoundType):
|
|
4070
|
+
self._AmbientSoundType = AmbientSoundType
|
|
4071
|
+
|
|
4072
|
+
@property
|
|
4073
|
+
def AmbientSoundVolume(self):
|
|
4074
|
+
r"""环境音音量。如果AmbientSoundType 为空,该字段不填。取值的范围是 [0,2]。值越低,环境音越小;值越高,环境音越响亮。如果未设置,则使用默认值 1。
|
|
4075
|
+
:rtype: float
|
|
4076
|
+
"""
|
|
4077
|
+
return self._AmbientSoundVolume
|
|
4078
|
+
|
|
4079
|
+
@AmbientSoundVolume.setter
|
|
4080
|
+
def AmbientSoundVolume(self, AmbientSoundVolume):
|
|
4081
|
+
self._AmbientSoundVolume = AmbientSoundVolume
|
|
4082
|
+
|
|
4036
4083
|
|
|
4037
4084
|
def _deserialize(self, params):
|
|
4038
4085
|
self._SdkAppId = params.get("SdkAppId")
|
|
@@ -4095,6 +4142,8 @@ HoaiMy
|
|
|
4095
4142
|
self._LLMExtraBody = params.get("LLMExtraBody")
|
|
4096
4143
|
self._MaxCallDurationMs = params.get("MaxCallDurationMs")
|
|
4097
4144
|
self._MaxRingTimeoutSecond = params.get("MaxRingTimeoutSecond")
|
|
4145
|
+
self._AmbientSoundType = params.get("AmbientSoundType")
|
|
4146
|
+
self._AmbientSoundVolume = params.get("AmbientSoundVolume")
|
|
4098
4147
|
memeber_set = set(params.keys())
|
|
4099
4148
|
for name, value in vars(self).items():
|
|
4100
4149
|
property_name = name[1:]
|
|
@@ -9241,6 +9290,225 @@ class DescribeExtensionsResponse(AbstractModel):
|
|
|
9241
9290
|
self._RequestId = params.get("RequestId")
|
|
9242
9291
|
|
|
9243
9292
|
|
|
9293
|
+
class DescribeFlashSMSListRequest(AbstractModel):
|
|
9294
|
+
r"""DescribeFlashSMSList请求参数结构体
|
|
9295
|
+
|
|
9296
|
+
"""
|
|
9297
|
+
|
|
9298
|
+
def __init__(self):
|
|
9299
|
+
r"""
|
|
9300
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
9301
|
+
:type SdkAppId: int
|
|
9302
|
+
:param _StartTimestamp: 起始时间戳,Unix 秒级时间戳,最大支持近180天。
|
|
9303
|
+
:type StartTimestamp: int
|
|
9304
|
+
:param _EndTimestamp: 结束时间戳,Unix 秒级时间戳,结束时间与开始时间的区间范围小于90天。
|
|
9305
|
+
:type EndTimestamp: int
|
|
9306
|
+
:param _DeliveryNumber: 闪信投递号码(被叫号码)
|
|
9307
|
+
:type DeliveryNumber: str
|
|
9308
|
+
:param _ServingNumber: 呼叫关联的系统号码
|
|
9309
|
+
:type ServingNumber: str
|
|
9310
|
+
:param _SessionId: 会话 ID
|
|
9311
|
+
:type SessionId: str
|
|
9312
|
+
:param _DeliveryStatus: 投递结果 1 为成功,其他为失败
|
|
9313
|
+
:type DeliveryStatus: int
|
|
9314
|
+
:param _PageSize: 分页大小,默认 20,最大 100
|
|
9315
|
+
:type PageSize: int
|
|
9316
|
+
:param _PageNumber: 分页页码,从 0 开始
|
|
9317
|
+
:type PageNumber: int
|
|
9318
|
+
"""
|
|
9319
|
+
self._SdkAppId = None
|
|
9320
|
+
self._StartTimestamp = None
|
|
9321
|
+
self._EndTimestamp = None
|
|
9322
|
+
self._DeliveryNumber = None
|
|
9323
|
+
self._ServingNumber = None
|
|
9324
|
+
self._SessionId = None
|
|
9325
|
+
self._DeliveryStatus = None
|
|
9326
|
+
self._PageSize = None
|
|
9327
|
+
self._PageNumber = None
|
|
9328
|
+
|
|
9329
|
+
@property
|
|
9330
|
+
def SdkAppId(self):
|
|
9331
|
+
r"""应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
9332
|
+
:rtype: int
|
|
9333
|
+
"""
|
|
9334
|
+
return self._SdkAppId
|
|
9335
|
+
|
|
9336
|
+
@SdkAppId.setter
|
|
9337
|
+
def SdkAppId(self, SdkAppId):
|
|
9338
|
+
self._SdkAppId = SdkAppId
|
|
9339
|
+
|
|
9340
|
+
@property
|
|
9341
|
+
def StartTimestamp(self):
|
|
9342
|
+
r"""起始时间戳,Unix 秒级时间戳,最大支持近180天。
|
|
9343
|
+
:rtype: int
|
|
9344
|
+
"""
|
|
9345
|
+
return self._StartTimestamp
|
|
9346
|
+
|
|
9347
|
+
@StartTimestamp.setter
|
|
9348
|
+
def StartTimestamp(self, StartTimestamp):
|
|
9349
|
+
self._StartTimestamp = StartTimestamp
|
|
9350
|
+
|
|
9351
|
+
@property
|
|
9352
|
+
def EndTimestamp(self):
|
|
9353
|
+
r"""结束时间戳,Unix 秒级时间戳,结束时间与开始时间的区间范围小于90天。
|
|
9354
|
+
:rtype: int
|
|
9355
|
+
"""
|
|
9356
|
+
return self._EndTimestamp
|
|
9357
|
+
|
|
9358
|
+
@EndTimestamp.setter
|
|
9359
|
+
def EndTimestamp(self, EndTimestamp):
|
|
9360
|
+
self._EndTimestamp = EndTimestamp
|
|
9361
|
+
|
|
9362
|
+
@property
|
|
9363
|
+
def DeliveryNumber(self):
|
|
9364
|
+
r"""闪信投递号码(被叫号码)
|
|
9365
|
+
:rtype: str
|
|
9366
|
+
"""
|
|
9367
|
+
return self._DeliveryNumber
|
|
9368
|
+
|
|
9369
|
+
@DeliveryNumber.setter
|
|
9370
|
+
def DeliveryNumber(self, DeliveryNumber):
|
|
9371
|
+
self._DeliveryNumber = DeliveryNumber
|
|
9372
|
+
|
|
9373
|
+
@property
|
|
9374
|
+
def ServingNumber(self):
|
|
9375
|
+
r"""呼叫关联的系统号码
|
|
9376
|
+
:rtype: str
|
|
9377
|
+
"""
|
|
9378
|
+
return self._ServingNumber
|
|
9379
|
+
|
|
9380
|
+
@ServingNumber.setter
|
|
9381
|
+
def ServingNumber(self, ServingNumber):
|
|
9382
|
+
self._ServingNumber = ServingNumber
|
|
9383
|
+
|
|
9384
|
+
@property
|
|
9385
|
+
def SessionId(self):
|
|
9386
|
+
r"""会话 ID
|
|
9387
|
+
:rtype: str
|
|
9388
|
+
"""
|
|
9389
|
+
return self._SessionId
|
|
9390
|
+
|
|
9391
|
+
@SessionId.setter
|
|
9392
|
+
def SessionId(self, SessionId):
|
|
9393
|
+
self._SessionId = SessionId
|
|
9394
|
+
|
|
9395
|
+
@property
|
|
9396
|
+
def DeliveryStatus(self):
|
|
9397
|
+
r"""投递结果 1 为成功,其他为失败
|
|
9398
|
+
:rtype: int
|
|
9399
|
+
"""
|
|
9400
|
+
return self._DeliveryStatus
|
|
9401
|
+
|
|
9402
|
+
@DeliveryStatus.setter
|
|
9403
|
+
def DeliveryStatus(self, DeliveryStatus):
|
|
9404
|
+
self._DeliveryStatus = DeliveryStatus
|
|
9405
|
+
|
|
9406
|
+
@property
|
|
9407
|
+
def PageSize(self):
|
|
9408
|
+
r"""分页大小,默认 20,最大 100
|
|
9409
|
+
:rtype: int
|
|
9410
|
+
"""
|
|
9411
|
+
return self._PageSize
|
|
9412
|
+
|
|
9413
|
+
@PageSize.setter
|
|
9414
|
+
def PageSize(self, PageSize):
|
|
9415
|
+
self._PageSize = PageSize
|
|
9416
|
+
|
|
9417
|
+
@property
|
|
9418
|
+
def PageNumber(self):
|
|
9419
|
+
r"""分页页码,从 0 开始
|
|
9420
|
+
:rtype: int
|
|
9421
|
+
"""
|
|
9422
|
+
return self._PageNumber
|
|
9423
|
+
|
|
9424
|
+
@PageNumber.setter
|
|
9425
|
+
def PageNumber(self, PageNumber):
|
|
9426
|
+
self._PageNumber = PageNumber
|
|
9427
|
+
|
|
9428
|
+
|
|
9429
|
+
def _deserialize(self, params):
|
|
9430
|
+
self._SdkAppId = params.get("SdkAppId")
|
|
9431
|
+
self._StartTimestamp = params.get("StartTimestamp")
|
|
9432
|
+
self._EndTimestamp = params.get("EndTimestamp")
|
|
9433
|
+
self._DeliveryNumber = params.get("DeliveryNumber")
|
|
9434
|
+
self._ServingNumber = params.get("ServingNumber")
|
|
9435
|
+
self._SessionId = params.get("SessionId")
|
|
9436
|
+
self._DeliveryStatus = params.get("DeliveryStatus")
|
|
9437
|
+
self._PageSize = params.get("PageSize")
|
|
9438
|
+
self._PageNumber = params.get("PageNumber")
|
|
9439
|
+
memeber_set = set(params.keys())
|
|
9440
|
+
for name, value in vars(self).items():
|
|
9441
|
+
property_name = name[1:]
|
|
9442
|
+
if property_name in memeber_set:
|
|
9443
|
+
memeber_set.remove(property_name)
|
|
9444
|
+
if len(memeber_set) > 0:
|
|
9445
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9446
|
+
|
|
9447
|
+
|
|
9448
|
+
|
|
9449
|
+
class DescribeFlashSMSListResponse(AbstractModel):
|
|
9450
|
+
r"""DescribeFlashSMSList返回参数结构体
|
|
9451
|
+
|
|
9452
|
+
"""
|
|
9453
|
+
|
|
9454
|
+
def __init__(self):
|
|
9455
|
+
r"""
|
|
9456
|
+
:param _Total: 记录总数
|
|
9457
|
+
:type Total: int
|
|
9458
|
+
:param _FlashSMSList: 闪信记录列表
|
|
9459
|
+
:type FlashSMSList: list of FlashSMSRecord
|
|
9460
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9461
|
+
:type RequestId: str
|
|
9462
|
+
"""
|
|
9463
|
+
self._Total = None
|
|
9464
|
+
self._FlashSMSList = None
|
|
9465
|
+
self._RequestId = None
|
|
9466
|
+
|
|
9467
|
+
@property
|
|
9468
|
+
def Total(self):
|
|
9469
|
+
r"""记录总数
|
|
9470
|
+
:rtype: int
|
|
9471
|
+
"""
|
|
9472
|
+
return self._Total
|
|
9473
|
+
|
|
9474
|
+
@Total.setter
|
|
9475
|
+
def Total(self, Total):
|
|
9476
|
+
self._Total = Total
|
|
9477
|
+
|
|
9478
|
+
@property
|
|
9479
|
+
def FlashSMSList(self):
|
|
9480
|
+
r"""闪信记录列表
|
|
9481
|
+
:rtype: list of FlashSMSRecord
|
|
9482
|
+
"""
|
|
9483
|
+
return self._FlashSMSList
|
|
9484
|
+
|
|
9485
|
+
@FlashSMSList.setter
|
|
9486
|
+
def FlashSMSList(self, FlashSMSList):
|
|
9487
|
+
self._FlashSMSList = FlashSMSList
|
|
9488
|
+
|
|
9489
|
+
@property
|
|
9490
|
+
def RequestId(self):
|
|
9491
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9492
|
+
:rtype: str
|
|
9493
|
+
"""
|
|
9494
|
+
return self._RequestId
|
|
9495
|
+
|
|
9496
|
+
@RequestId.setter
|
|
9497
|
+
def RequestId(self, RequestId):
|
|
9498
|
+
self._RequestId = RequestId
|
|
9499
|
+
|
|
9500
|
+
|
|
9501
|
+
def _deserialize(self, params):
|
|
9502
|
+
self._Total = params.get("Total")
|
|
9503
|
+
if params.get("FlashSMSList") is not None:
|
|
9504
|
+
self._FlashSMSList = []
|
|
9505
|
+
for item in params.get("FlashSMSList"):
|
|
9506
|
+
obj = FlashSMSRecord()
|
|
9507
|
+
obj._deserialize(item)
|
|
9508
|
+
self._FlashSMSList.append(obj)
|
|
9509
|
+
self._RequestId = params.get("RequestId")
|
|
9510
|
+
|
|
9511
|
+
|
|
9244
9512
|
class DescribeIMCdrListRequest(AbstractModel):
|
|
9245
9513
|
r"""DescribeIMCdrList请求参数结构体
|
|
9246
9514
|
|
|
@@ -13191,6 +13459,132 @@ class Filter(AbstractModel):
|
|
|
13191
13459
|
|
|
13192
13460
|
|
|
13193
13461
|
|
|
13462
|
+
class FlashSMSRecord(AbstractModel):
|
|
13463
|
+
r"""闪信记录
|
|
13464
|
+
|
|
13465
|
+
"""
|
|
13466
|
+
|
|
13467
|
+
def __init__(self):
|
|
13468
|
+
r"""
|
|
13469
|
+
:param _SessionId: 会话 ID
|
|
13470
|
+
:type SessionId: str
|
|
13471
|
+
:param _DeliveryNumber: 闪信投递号码(被叫)
|
|
13472
|
+
:type DeliveryNumber: str
|
|
13473
|
+
:param _ServingNumber: 呼叫关联的系统号码
|
|
13474
|
+
:type ServingNumber: str
|
|
13475
|
+
:param _DeliveryStatus: 投递状态,1 表示成功,其他表示失败
|
|
13476
|
+
:type DeliveryStatus: int
|
|
13477
|
+
:param _DeliveryMessage: 投递失败原因
|
|
13478
|
+
:type DeliveryMessage: str
|
|
13479
|
+
:param _DeliveryTimestamp: 投递时间戳,Unix 秒级时间戳
|
|
13480
|
+
:type DeliveryTimestamp: int
|
|
13481
|
+
:param _ArriveTimestamp: 送达时间(送达成功),Unix 秒级时间戳
|
|
13482
|
+
:type ArriveTimestamp: int
|
|
13483
|
+
"""
|
|
13484
|
+
self._SessionId = None
|
|
13485
|
+
self._DeliveryNumber = None
|
|
13486
|
+
self._ServingNumber = None
|
|
13487
|
+
self._DeliveryStatus = None
|
|
13488
|
+
self._DeliveryMessage = None
|
|
13489
|
+
self._DeliveryTimestamp = None
|
|
13490
|
+
self._ArriveTimestamp = None
|
|
13491
|
+
|
|
13492
|
+
@property
|
|
13493
|
+
def SessionId(self):
|
|
13494
|
+
r"""会话 ID
|
|
13495
|
+
:rtype: str
|
|
13496
|
+
"""
|
|
13497
|
+
return self._SessionId
|
|
13498
|
+
|
|
13499
|
+
@SessionId.setter
|
|
13500
|
+
def SessionId(self, SessionId):
|
|
13501
|
+
self._SessionId = SessionId
|
|
13502
|
+
|
|
13503
|
+
@property
|
|
13504
|
+
def DeliveryNumber(self):
|
|
13505
|
+
r"""闪信投递号码(被叫)
|
|
13506
|
+
:rtype: str
|
|
13507
|
+
"""
|
|
13508
|
+
return self._DeliveryNumber
|
|
13509
|
+
|
|
13510
|
+
@DeliveryNumber.setter
|
|
13511
|
+
def DeliveryNumber(self, DeliveryNumber):
|
|
13512
|
+
self._DeliveryNumber = DeliveryNumber
|
|
13513
|
+
|
|
13514
|
+
@property
|
|
13515
|
+
def ServingNumber(self):
|
|
13516
|
+
r"""呼叫关联的系统号码
|
|
13517
|
+
:rtype: str
|
|
13518
|
+
"""
|
|
13519
|
+
return self._ServingNumber
|
|
13520
|
+
|
|
13521
|
+
@ServingNumber.setter
|
|
13522
|
+
def ServingNumber(self, ServingNumber):
|
|
13523
|
+
self._ServingNumber = ServingNumber
|
|
13524
|
+
|
|
13525
|
+
@property
|
|
13526
|
+
def DeliveryStatus(self):
|
|
13527
|
+
r"""投递状态,1 表示成功,其他表示失败
|
|
13528
|
+
:rtype: int
|
|
13529
|
+
"""
|
|
13530
|
+
return self._DeliveryStatus
|
|
13531
|
+
|
|
13532
|
+
@DeliveryStatus.setter
|
|
13533
|
+
def DeliveryStatus(self, DeliveryStatus):
|
|
13534
|
+
self._DeliveryStatus = DeliveryStatus
|
|
13535
|
+
|
|
13536
|
+
@property
|
|
13537
|
+
def DeliveryMessage(self):
|
|
13538
|
+
r"""投递失败原因
|
|
13539
|
+
:rtype: str
|
|
13540
|
+
"""
|
|
13541
|
+
return self._DeliveryMessage
|
|
13542
|
+
|
|
13543
|
+
@DeliveryMessage.setter
|
|
13544
|
+
def DeliveryMessage(self, DeliveryMessage):
|
|
13545
|
+
self._DeliveryMessage = DeliveryMessage
|
|
13546
|
+
|
|
13547
|
+
@property
|
|
13548
|
+
def DeliveryTimestamp(self):
|
|
13549
|
+
r"""投递时间戳,Unix 秒级时间戳
|
|
13550
|
+
:rtype: int
|
|
13551
|
+
"""
|
|
13552
|
+
return self._DeliveryTimestamp
|
|
13553
|
+
|
|
13554
|
+
@DeliveryTimestamp.setter
|
|
13555
|
+
def DeliveryTimestamp(self, DeliveryTimestamp):
|
|
13556
|
+
self._DeliveryTimestamp = DeliveryTimestamp
|
|
13557
|
+
|
|
13558
|
+
@property
|
|
13559
|
+
def ArriveTimestamp(self):
|
|
13560
|
+
r"""送达时间(送达成功),Unix 秒级时间戳
|
|
13561
|
+
:rtype: int
|
|
13562
|
+
"""
|
|
13563
|
+
return self._ArriveTimestamp
|
|
13564
|
+
|
|
13565
|
+
@ArriveTimestamp.setter
|
|
13566
|
+
def ArriveTimestamp(self, ArriveTimestamp):
|
|
13567
|
+
self._ArriveTimestamp = ArriveTimestamp
|
|
13568
|
+
|
|
13569
|
+
|
|
13570
|
+
def _deserialize(self, params):
|
|
13571
|
+
self._SessionId = params.get("SessionId")
|
|
13572
|
+
self._DeliveryNumber = params.get("DeliveryNumber")
|
|
13573
|
+
self._ServingNumber = params.get("ServingNumber")
|
|
13574
|
+
self._DeliveryStatus = params.get("DeliveryStatus")
|
|
13575
|
+
self._DeliveryMessage = params.get("DeliveryMessage")
|
|
13576
|
+
self._DeliveryTimestamp = params.get("DeliveryTimestamp")
|
|
13577
|
+
self._ArriveTimestamp = params.get("ArriveTimestamp")
|
|
13578
|
+
memeber_set = set(params.keys())
|
|
13579
|
+
for name, value in vars(self).items():
|
|
13580
|
+
property_name = name[1:]
|
|
13581
|
+
if property_name in memeber_set:
|
|
13582
|
+
memeber_set.remove(property_name)
|
|
13583
|
+
if len(memeber_set) > 0:
|
|
13584
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13585
|
+
|
|
13586
|
+
|
|
13587
|
+
|
|
13194
13588
|
class ForceMemberOfflineRequest(AbstractModel):
|
|
13195
13589
|
r"""ForceMemberOffline请求参数结构体
|
|
13196
13590
|
|
|
@@ -18626,6 +19020,10 @@ NotExists
|
|
|
18626
19020
|
:type AIAgentId: int
|
|
18627
19021
|
:param _AIAgentName: 如果是智能体相关通话,这里是智能体名称
|
|
18628
19022
|
:type AIAgentName: str
|
|
19023
|
+
:param _SysHangupReason: 接通后系统挂断原因,枚举类似
|
|
19024
|
+
:type SysHangupReason: int
|
|
19025
|
+
:param _SysHangupReasonString: 接通后系统挂断原因,文字描述信息
|
|
19026
|
+
:type SysHangupReasonString: str
|
|
18629
19027
|
"""
|
|
18630
19028
|
self._Caller = None
|
|
18631
19029
|
self._Callee = None
|
|
@@ -18667,6 +19065,8 @@ NotExists
|
|
|
18667
19065
|
self._VoicemailAsrURL = None
|
|
18668
19066
|
self._AIAgentId = None
|
|
18669
19067
|
self._AIAgentName = None
|
|
19068
|
+
self._SysHangupReason = None
|
|
19069
|
+
self._SysHangupReasonString = None
|
|
18670
19070
|
|
|
18671
19071
|
@property
|
|
18672
19072
|
def Caller(self):
|
|
@@ -19194,6 +19594,28 @@ NotExists
|
|
|
19194
19594
|
def AIAgentName(self, AIAgentName):
|
|
19195
19595
|
self._AIAgentName = AIAgentName
|
|
19196
19596
|
|
|
19597
|
+
@property
|
|
19598
|
+
def SysHangupReason(self):
|
|
19599
|
+
r"""接通后系统挂断原因,枚举类似
|
|
19600
|
+
:rtype: int
|
|
19601
|
+
"""
|
|
19602
|
+
return self._SysHangupReason
|
|
19603
|
+
|
|
19604
|
+
@SysHangupReason.setter
|
|
19605
|
+
def SysHangupReason(self, SysHangupReason):
|
|
19606
|
+
self._SysHangupReason = SysHangupReason
|
|
19607
|
+
|
|
19608
|
+
@property
|
|
19609
|
+
def SysHangupReasonString(self):
|
|
19610
|
+
r"""接通后系统挂断原因,文字描述信息
|
|
19611
|
+
:rtype: str
|
|
19612
|
+
"""
|
|
19613
|
+
return self._SysHangupReasonString
|
|
19614
|
+
|
|
19615
|
+
@SysHangupReasonString.setter
|
|
19616
|
+
def SysHangupReasonString(self, SysHangupReasonString):
|
|
19617
|
+
self._SysHangupReasonString = SysHangupReasonString
|
|
19618
|
+
|
|
19197
19619
|
|
|
19198
19620
|
def _deserialize(self, params):
|
|
19199
19621
|
self._Caller = params.get("Caller")
|
|
@@ -19253,6 +19675,8 @@ NotExists
|
|
|
19253
19675
|
self._VoicemailAsrURL = params.get("VoicemailAsrURL")
|
|
19254
19676
|
self._AIAgentId = params.get("AIAgentId")
|
|
19255
19677
|
self._AIAgentName = params.get("AIAgentName")
|
|
19678
|
+
self._SysHangupReason = params.get("SysHangupReason")
|
|
19679
|
+
self._SysHangupReasonString = params.get("SysHangupReasonString")
|
|
19256
19680
|
memeber_set = set(params.keys())
|
|
19257
19681
|
for name, value in vars(self).items():
|
|
19258
19682
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ccc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.47
|
|
4
4
|
Summary: Tencent Cloud Ccc SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.47
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.47
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.36
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|