tencentcloud-sdk-python-ccc 3.0.1133__tar.gz → 3.0.1138__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.
Files changed (16) hide show
  1. {tencentcloud-sdk-python-ccc-3.0.1133 → tencentcloud-sdk-python-ccc-3.0.1138}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-ccc-3.0.1133 → tencentcloud-sdk-python-ccc-3.0.1138}/setup.py +1 -1
  3. {tencentcloud-sdk-python-ccc-3.0.1133 → tencentcloud-sdk-python-ccc-3.0.1138}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-ccc-3.0.1133 → tencentcloud-sdk-python-ccc-3.0.1138}/tencentcloud/ccc/v20200210/ccc_client.py +24 -1
  5. {tencentcloud-sdk-python-ccc-3.0.1133 → tencentcloud-sdk-python-ccc-3.0.1138}/tencentcloud/ccc/v20200210/models.py +88 -2
  6. {tencentcloud-sdk-python-ccc-3.0.1133 → tencentcloud-sdk-python-ccc-3.0.1138}/tencentcloud_sdk_python_ccc.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-ccc-3.0.1138/tencentcloud_sdk_python_ccc.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-ccc-3.0.1133/tencentcloud_sdk_python_ccc.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-ccc-3.0.1133 → tencentcloud-sdk-python-ccc-3.0.1138}/README.rst +0 -0
  10. {tencentcloud-sdk-python-ccc-3.0.1133 → tencentcloud-sdk-python-ccc-3.0.1138}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-ccc-3.0.1133 → tencentcloud-sdk-python-ccc-3.0.1138}/tencentcloud/ccc/__init__.py +0 -0
  12. {tencentcloud-sdk-python-ccc-3.0.1133 → tencentcloud-sdk-python-ccc-3.0.1138}/tencentcloud/ccc/v20200210/__init__.py +0 -0
  13. {tencentcloud-sdk-python-ccc-3.0.1133 → tencentcloud-sdk-python-ccc-3.0.1138}/tencentcloud/ccc/v20200210/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-ccc-3.0.1133 → tencentcloud-sdk-python-ccc-3.0.1138}/tencentcloud_sdk_python_ccc.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-ccc-3.0.1133 → tencentcloud-sdk-python-ccc-3.0.1138}/tencentcloud_sdk_python_ccc.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-ccc-3.0.1133 → tencentcloud-sdk-python-ccc-3.0.1138}/tencentcloud_sdk_python_ccc.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-ccc
3
- Version: 3.0.1133
3
+ Version: 3.0.1138
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
@@ -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.0.1133"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1138"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Ccc SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1133'
17
+ __version__ = '3.0.1138'
@@ -464,7 +464,7 @@ class CccClient(AbstractClient):
464
464
 
465
465
 
466
466
  def DescribeAutoCalloutTasks(self, request):
467
- """批量查询自动任务外呼
467
+ """批量查询自动外呼任务
468
468
 
469
469
  :param request: Request instance for DescribeAutoCalloutTasks.
470
470
  :type request: :class:`tencentcloud.ccc.v20200210.models.DescribeAutoCalloutTasksRequest`
@@ -1109,6 +1109,29 @@ class CccClient(AbstractClient):
1109
1109
  raise TencentCloudSDKException(type(e).__name__, str(e))
1110
1110
 
1111
1111
 
1112
+ def ModifyStaffPassword(self, request):
1113
+ """修改座席的密码
1114
+
1115
+ :param request: Request instance for ModifyStaffPassword.
1116
+ :type request: :class:`tencentcloud.ccc.v20200210.models.ModifyStaffPasswordRequest`
1117
+ :rtype: :class:`tencentcloud.ccc.v20200210.models.ModifyStaffPasswordResponse`
1118
+
1119
+ """
1120
+ try:
1121
+ params = request._serialize()
1122
+ headers = request.headers
1123
+ body = self.call("ModifyStaffPassword", params, headers=headers)
1124
+ response = json.loads(body)
1125
+ model = models.ModifyStaffPasswordResponse()
1126
+ model._deserialize(response["Response"])
1127
+ return model
1128
+ except Exception as e:
1129
+ if isinstance(e, TencentCloudSDKException):
1130
+ raise
1131
+ else:
1132
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1133
+
1134
+
1112
1135
  def PausePredictiveDialingCampaign(self, request):
1113
1136
  """暂停预测式外呼任务
1114
1137
 
@@ -3815,7 +3815,7 @@ class DescribeChatMessagesRequest(AbstractModel):
3815
3815
  r"""
3816
3816
  :param _InstanceId: 实例 ID(废弃)
3817
3817
  :type InstanceId: int
3818
- :param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
3818
+ :param _SdkAppId: 应用 ID,可以查看 https://console.cloud.tencent.com/ccc
3819
3819
  :type SdkAppId: int
3820
3820
  :param _CdrId: 服务记录ID(废弃)
3821
3821
  :type CdrId: str
@@ -3825,7 +3825,7 @@ class DescribeChatMessagesRequest(AbstractModel):
3825
3825
  :type Offset: int
3826
3826
  :param _Order: 1为从早到晚,2为从晚到早,默认为2
3827
3827
  :type Order: int
3828
- :param _SessionId: 服务记录 SessionID(必填)
3828
+ :param _SessionId: 服务记录 SessionID
3829
3829
  :type SessionId: str
3830
3830
  """
3831
3831
  self._InstanceId = None
@@ -3858,10 +3858,14 @@ class DescribeChatMessagesRequest(AbstractModel):
3858
3858
 
3859
3859
  @property
3860
3860
  def CdrId(self):
3861
+ warnings.warn("parameter `CdrId` is deprecated", DeprecationWarning)
3862
+
3861
3863
  return self._CdrId
3862
3864
 
3863
3865
  @CdrId.setter
3864
3866
  def CdrId(self, CdrId):
3867
+ warnings.warn("parameter `CdrId` is deprecated", DeprecationWarning)
3868
+
3865
3869
  self._CdrId = CdrId
3866
3870
 
3867
3871
  @property
@@ -7655,6 +7659,88 @@ class ModifyExtensionResponse(AbstractModel):
7655
7659
  self._RequestId = params.get("RequestId")
7656
7660
 
7657
7661
 
7662
+ class ModifyStaffPasswordRequest(AbstractModel):
7663
+ """ModifyStaffPassword请求参数结构体
7664
+
7665
+ """
7666
+
7667
+ def __init__(self):
7668
+ r"""
7669
+ :param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
7670
+ :type SdkAppId: int
7671
+ :param _Email: 座席邮箱
7672
+ :type Email: str
7673
+ :param _Password: 设置的密码
7674
+ :type Password: str
7675
+ """
7676
+ self._SdkAppId = None
7677
+ self._Email = None
7678
+ self._Password = None
7679
+
7680
+ @property
7681
+ def SdkAppId(self):
7682
+ return self._SdkAppId
7683
+
7684
+ @SdkAppId.setter
7685
+ def SdkAppId(self, SdkAppId):
7686
+ self._SdkAppId = SdkAppId
7687
+
7688
+ @property
7689
+ def Email(self):
7690
+ return self._Email
7691
+
7692
+ @Email.setter
7693
+ def Email(self, Email):
7694
+ self._Email = Email
7695
+
7696
+ @property
7697
+ def Password(self):
7698
+ return self._Password
7699
+
7700
+ @Password.setter
7701
+ def Password(self, Password):
7702
+ self._Password = Password
7703
+
7704
+
7705
+ def _deserialize(self, params):
7706
+ self._SdkAppId = params.get("SdkAppId")
7707
+ self._Email = params.get("Email")
7708
+ self._Password = params.get("Password")
7709
+ memeber_set = set(params.keys())
7710
+ for name, value in vars(self).items():
7711
+ property_name = name[1:]
7712
+ if property_name in memeber_set:
7713
+ memeber_set.remove(property_name)
7714
+ if len(memeber_set) > 0:
7715
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7716
+
7717
+
7718
+
7719
+ class ModifyStaffPasswordResponse(AbstractModel):
7720
+ """ModifyStaffPassword返回参数结构体
7721
+
7722
+ """
7723
+
7724
+ def __init__(self):
7725
+ r"""
7726
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7727
+ :type RequestId: str
7728
+ """
7729
+ self._RequestId = None
7730
+
7731
+ @property
7732
+ def RequestId(self):
7733
+ return self._RequestId
7734
+
7735
+ @RequestId.setter
7736
+ def RequestId(self, RequestId):
7737
+ self._RequestId = RequestId
7738
+
7739
+
7740
+ def _deserialize(self, params):
7741
+ self._RequestId = params.get("RequestId")
7742
+
7743
+
7658
7744
  class ModifyStaffRequest(AbstractModel):
7659
7745
  """ModifyStaff请求参数结构体
7660
7746
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-ccc
3
- Version: 3.0.1133
3
+ Version: 3.0.1138
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1138
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1133