tencentcloud-sdk-python-ccc 3.0.975__py2.py3-none-any.whl → 3.0.976__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 CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.975'
17
+ __version__ = '3.0.976'
@@ -50,7 +50,7 @@ class CccClient(AbstractClient):
50
50
 
51
51
 
52
52
  def BindStaffSkillGroupList(self, request):
53
- """绑定坐席所属技能组
53
+ """绑定座席所属技能组
54
54
 
55
55
  :param request: Request instance for BindStaffSkillGroupList.
56
56
  :type request: :class:`tencentcloud.ccc.v20200210.models.BindStaffSkillGroupListRequest`
@@ -353,14 +353,17 @@ class BindStaffSkillGroupListRequest(AbstractModel):
353
353
  r"""
354
354
  :param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
355
355
  :type SdkAppId: int
356
- :param _StaffEmail: 坐席邮箱
356
+ :param _StaffEmail: 座席邮箱
357
357
  :type StaffEmail: str
358
358
  :param _SkillGroupList: 绑定技能组列表
359
359
  :type SkillGroupList: list of int
360
+ :param _StaffSkillGroupList: 绑定技能组列表(必填)
361
+ :type StaffSkillGroupList: list of StaffSkillGroupList
360
362
  """
361
363
  self._SdkAppId = None
362
364
  self._StaffEmail = None
363
365
  self._SkillGroupList = None
366
+ self._StaffSkillGroupList = None
364
367
 
365
368
  @property
366
369
  def SdkAppId(self):
@@ -380,17 +383,35 @@ class BindStaffSkillGroupListRequest(AbstractModel):
380
383
 
381
384
  @property
382
385
  def SkillGroupList(self):
386
+ warnings.warn("parameter `SkillGroupList` is deprecated", DeprecationWarning)
387
+
383
388
  return self._SkillGroupList
384
389
 
385
390
  @SkillGroupList.setter
386
391
  def SkillGroupList(self, SkillGroupList):
392
+ warnings.warn("parameter `SkillGroupList` is deprecated", DeprecationWarning)
393
+
387
394
  self._SkillGroupList = SkillGroupList
388
395
 
396
+ @property
397
+ def StaffSkillGroupList(self):
398
+ return self._StaffSkillGroupList
399
+
400
+ @StaffSkillGroupList.setter
401
+ def StaffSkillGroupList(self, StaffSkillGroupList):
402
+ self._StaffSkillGroupList = StaffSkillGroupList
403
+
389
404
 
390
405
  def _deserialize(self, params):
391
406
  self._SdkAppId = params.get("SdkAppId")
392
407
  self._StaffEmail = params.get("StaffEmail")
393
408
  self._SkillGroupList = params.get("SkillGroupList")
409
+ if params.get("StaffSkillGroupList") is not None:
410
+ self._StaffSkillGroupList = []
411
+ for item in params.get("StaffSkillGroupList"):
412
+ obj = StaffSkillGroupList()
413
+ obj._deserialize(item)
414
+ self._StaffSkillGroupList.append(obj)
394
415
  memeber_set = set(params.keys())
395
416
  for name, value in vars(self).items():
396
417
  property_name = name[1:]
@@ -7282,6 +7303,51 @@ class StaffInfo(AbstractModel):
7282
7303
 
7283
7304
 
7284
7305
 
7306
+ class StaffSkillGroupList(AbstractModel):
7307
+ """座席绑定技能组列表
7308
+
7309
+ """
7310
+
7311
+ def __init__(self):
7312
+ r"""
7313
+ :param _SkillGroupId: 技能组ID
7314
+ :type SkillGroupId: int
7315
+ :param _Priority: 座席在技能组中的优先级(1为最高,5最低,默认3)
7316
+ :type Priority: int
7317
+ """
7318
+ self._SkillGroupId = None
7319
+ self._Priority = None
7320
+
7321
+ @property
7322
+ def SkillGroupId(self):
7323
+ return self._SkillGroupId
7324
+
7325
+ @SkillGroupId.setter
7326
+ def SkillGroupId(self, SkillGroupId):
7327
+ self._SkillGroupId = SkillGroupId
7328
+
7329
+ @property
7330
+ def Priority(self):
7331
+ return self._Priority
7332
+
7333
+ @Priority.setter
7334
+ def Priority(self, Priority):
7335
+ self._Priority = Priority
7336
+
7337
+
7338
+ def _deserialize(self, params):
7339
+ self._SkillGroupId = params.get("SkillGroupId")
7340
+ self._Priority = params.get("Priority")
7341
+ memeber_set = set(params.keys())
7342
+ for name, value in vars(self).items():
7343
+ property_name = name[1:]
7344
+ if property_name in memeber_set:
7345
+ memeber_set.remove(property_name)
7346
+ if len(memeber_set) > 0:
7347
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7348
+
7349
+
7350
+
7285
7351
  class StaffStatusExtra(AbstractModel):
7286
7352
  """坐席状态补充信息
7287
7353
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-ccc
3
- Version: 3.0.975
3
+ Version: 3.0.976
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 (==3.0.975)
18
+ Requires-Dist: tencentcloud-sdk-python-common (==3.0.976)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,10 @@
1
+ tencentcloud/__init__.py,sha256=wxxi3vpnCxr4lP9oa-LBV-jPuFS1_Z3Zl8-BiovrHug,630
2
+ tencentcloud/ccc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ tencentcloud/ccc/v20200210/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tencentcloud/ccc/v20200210/ccc_client.py,sha256=BDFmbyyMoxSujOrapR73_G6oR54iMbWVqL6iYwm9t90,37422
5
+ tencentcloud/ccc/v20200210/errorcodes.py,sha256=-tRay-2tBIpDXsGW2BLlL48GgiSDy12MnlVupDBCjFQ,4155
6
+ tencentcloud/ccc/v20200210/models.py,sha256=I6EFtXIzQJl1HSOF4g9sqep1dkDMHYfTGPgtB73Hc8Q,237573
7
+ tencentcloud_sdk_python_ccc-3.0.976.dist-info/METADATA,sha256=BaUwSdqD5XJr-E_yvo7bLusgVdu9rAjaOzTZZ8QMYXQ,1490
8
+ tencentcloud_sdk_python_ccc-3.0.976.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_ccc-3.0.976.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_ccc-3.0.976.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=SgQzuJ3VLEO45hrAsXOfAgBhEzsjCjFfrijpcF83ggk,630
2
- tencentcloud/ccc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- tencentcloud/ccc/v20200210/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- tencentcloud/ccc/v20200210/ccc_client.py,sha256=Zj9rkBl9dr6nVaEJ--0oWvW63yI0yZEiKqBGuNdV3Sw,37422
5
- tencentcloud/ccc/v20200210/errorcodes.py,sha256=-tRay-2tBIpDXsGW2BLlL48GgiSDy12MnlVupDBCjFQ,4155
6
- tencentcloud/ccc/v20200210/models.py,sha256=YPogz_e52hIchKaTPZNAQz770VrO4VP7fbvbZ0xwkjY,235467
7
- tencentcloud_sdk_python_ccc-3.0.975.dist-info/METADATA,sha256=n3E8Cp4uR102epu04QtrRB50xAXR9obSSXE0kRQhUMQ,1490
8
- tencentcloud_sdk_python_ccc-3.0.975.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_ccc-3.0.975.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_ccc-3.0.975.dist-info/RECORD,,