tencentcloud-sdk-python-intl-en 3.0.1273__py2.py3-none-any.whl → 3.0.1274__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.
@@ -309,6 +309,8 @@ class AILatencyDetail(AbstractModel):
309
309
  :type TTSLatency: int
310
310
  :param _LLMLatency: llm latency (ms).
311
311
  :type LLMLatency: int
312
+ :param _LLMFirstTokenLatency: llm first token latency (ms).
313
+ :type LLMFirstTokenLatency: int
312
314
  :param _ETELatency: End-To-End delay (ms).
313
315
  :type ETELatency: int
314
316
  """
@@ -316,6 +318,7 @@ class AILatencyDetail(AbstractModel):
316
318
  self._ASRLatency = None
317
319
  self._TTSLatency = None
318
320
  self._LLMLatency = None
321
+ self._LLMFirstTokenLatency = None
319
322
  self._ETELatency = None
320
323
 
321
324
  @property
@@ -362,6 +365,17 @@ class AILatencyDetail(AbstractModel):
362
365
  def LLMLatency(self, LLMLatency):
363
366
  self._LLMLatency = LLMLatency
364
367
 
368
+ @property
369
+ def LLMFirstTokenLatency(self):
370
+ """llm first token latency (ms).
371
+ :rtype: int
372
+ """
373
+ return self._LLMFirstTokenLatency
374
+
375
+ @LLMFirstTokenLatency.setter
376
+ def LLMFirstTokenLatency(self, LLMFirstTokenLatency):
377
+ self._LLMFirstTokenLatency = LLMFirstTokenLatency
378
+
365
379
  @property
366
380
  def ETELatency(self):
367
381
  """End-To-End delay (ms).
@@ -379,6 +393,7 @@ class AILatencyDetail(AbstractModel):
379
393
  self._ASRLatency = params.get("ASRLatency")
380
394
  self._TTSLatency = params.get("TTSLatency")
381
395
  self._LLMLatency = params.get("LLMLatency")
396
+ self._LLMFirstTokenLatency = params.get("LLMFirstTokenLatency")
382
397
  self._ETELatency = params.get("ETELatency")
383
398
  memeber_set = set(params.keys())
384
399
  for name, value in vars(self).items():
@@ -1171,6 +1186,102 @@ Note: this field may return null, indicating that no valid values can be obtaine
1171
1186
 
1172
1187
 
1173
1188
 
1189
+ class BindNumberCallInInterfaceRequest(AbstractModel):
1190
+ """BindNumberCallInInterface request structure.
1191
+
1192
+ """
1193
+
1194
+ def __init__(self):
1195
+ r"""
1196
+ :param _SdkAppId: App ID (required). can be used to view https://console.cloud.tencent.com/ccc.
1197
+ :type SdkAppId: int
1198
+ :param _Number: Number to be bound.
1199
+ :type Number: str
1200
+ :param _CallInInterface: Specifies the callback url to be bound.
1201
+ :type CallInInterface: :class:`tencentcloud.ccc.v20200210.models.Interface`
1202
+ """
1203
+ self._SdkAppId = None
1204
+ self._Number = None
1205
+ self._CallInInterface = None
1206
+
1207
+ @property
1208
+ def SdkAppId(self):
1209
+ """App ID (required). can be used to view https://console.cloud.tencent.com/ccc.
1210
+ :rtype: int
1211
+ """
1212
+ return self._SdkAppId
1213
+
1214
+ @SdkAppId.setter
1215
+ def SdkAppId(self, SdkAppId):
1216
+ self._SdkAppId = SdkAppId
1217
+
1218
+ @property
1219
+ def Number(self):
1220
+ """Number to be bound.
1221
+ :rtype: str
1222
+ """
1223
+ return self._Number
1224
+
1225
+ @Number.setter
1226
+ def Number(self, Number):
1227
+ self._Number = Number
1228
+
1229
+ @property
1230
+ def CallInInterface(self):
1231
+ """Specifies the callback url to be bound.
1232
+ :rtype: :class:`tencentcloud.ccc.v20200210.models.Interface`
1233
+ """
1234
+ return self._CallInInterface
1235
+
1236
+ @CallInInterface.setter
1237
+ def CallInInterface(self, CallInInterface):
1238
+ self._CallInInterface = CallInInterface
1239
+
1240
+
1241
+ def _deserialize(self, params):
1242
+ self._SdkAppId = params.get("SdkAppId")
1243
+ self._Number = params.get("Number")
1244
+ if params.get("CallInInterface") is not None:
1245
+ self._CallInInterface = Interface()
1246
+ self._CallInInterface._deserialize(params.get("CallInInterface"))
1247
+ memeber_set = set(params.keys())
1248
+ for name, value in vars(self).items():
1249
+ property_name = name[1:]
1250
+ if property_name in memeber_set:
1251
+ memeber_set.remove(property_name)
1252
+ if len(memeber_set) > 0:
1253
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1254
+
1255
+
1256
+
1257
+ class BindNumberCallInInterfaceResponse(AbstractModel):
1258
+ """BindNumberCallInInterface response structure.
1259
+
1260
+ """
1261
+
1262
+ def __init__(self):
1263
+ r"""
1264
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
1265
+ :type RequestId: str
1266
+ """
1267
+ self._RequestId = None
1268
+
1269
+ @property
1270
+ def RequestId(self):
1271
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
1272
+ :rtype: str
1273
+ """
1274
+ return self._RequestId
1275
+
1276
+ @RequestId.setter
1277
+ def RequestId(self, RequestId):
1278
+ self._RequestId = RequestId
1279
+
1280
+
1281
+ def _deserialize(self, params):
1282
+ self._RequestId = params.get("RequestId")
1283
+
1284
+
1174
1285
  class BindNumberCallOutSkillGroupRequest(AbstractModel):
1175
1286
  """BindNumberCallOutSkillGroup request structure.
1176
1287
 
@@ -1781,6 +1892,172 @@ class CalleeAttribute(AbstractModel):
1781
1892
 
1782
1893
 
1783
1894
 
1895
+ class ClientInfo(AbstractModel):
1896
+ """Terminal information of the logged-in agent.
1897
+
1898
+ """
1899
+
1900
+ def __init__(self):
1901
+ r"""
1902
+ :param _ClientType: Endpoint type for login. "Web" means Web workbench. "WeChatMiniProgram" refers to wechat mini program.
1903
+ :type ClientType: str
1904
+ :param _IsConnected: Whether the currently logged-in endpoint is in the foreground. if the endpoint is Web, the value is true. if the endpoint is WeChatMiniProgram, true indicates the wechat mini program is open, and false indicates it is in the background.
1905
+ :type IsConnected: bool
1906
+ """
1907
+ self._ClientType = None
1908
+ self._IsConnected = None
1909
+
1910
+ @property
1911
+ def ClientType(self):
1912
+ """Endpoint type for login. "Web" means Web workbench. "WeChatMiniProgram" refers to wechat mini program.
1913
+ :rtype: str
1914
+ """
1915
+ return self._ClientType
1916
+
1917
+ @ClientType.setter
1918
+ def ClientType(self, ClientType):
1919
+ self._ClientType = ClientType
1920
+
1921
+ @property
1922
+ def IsConnected(self):
1923
+ """Whether the currently logged-in endpoint is in the foreground. if the endpoint is Web, the value is true. if the endpoint is WeChatMiniProgram, true indicates the wechat mini program is open, and false indicates it is in the background.
1924
+ :rtype: bool
1925
+ """
1926
+ return self._IsConnected
1927
+
1928
+ @IsConnected.setter
1929
+ def IsConnected(self, IsConnected):
1930
+ self._IsConnected = IsConnected
1931
+
1932
+
1933
+ def _deserialize(self, params):
1934
+ self._ClientType = params.get("ClientType")
1935
+ self._IsConnected = params.get("IsConnected")
1936
+ memeber_set = set(params.keys())
1937
+ for name, value in vars(self).items():
1938
+ property_name = name[1:]
1939
+ if property_name in memeber_set:
1940
+ memeber_set.remove(property_name)
1941
+ if len(memeber_set) > 0:
1942
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1943
+
1944
+
1945
+
1946
+ class ControlAIConversationRequest(AbstractModel):
1947
+ """ControlAIConversation request structure.
1948
+
1949
+ """
1950
+
1951
+ def __init__(self):
1952
+ r"""
1953
+ :param _SessionId: Specifies the session ID.
1954
+ :type SessionId: str
1955
+ :param _SdkAppId: App ID (required). can be used to view https://console.cloud.tencent.com/ccc.
1956
+ :type SdkAppId: int
1957
+ :param _Command: Control command. currently supports the following commands:.
1958
+
1959
+ -ServerPushText. specifies the text sent by the server to the AI robot. the AI robot will broadcast the text.
1960
+ :type Command: str
1961
+ :param _ServerPushText: Specifies the server-sent broadcast text Command. required when Command is ServerPushText.
1962
+ :type ServerPushText: :class:`tencentcloud.ccc.v20200210.models.ServerPushText`
1963
+ """
1964
+ self._SessionId = None
1965
+ self._SdkAppId = None
1966
+ self._Command = None
1967
+ self._ServerPushText = None
1968
+
1969
+ @property
1970
+ def SessionId(self):
1971
+ """Specifies the session ID.
1972
+ :rtype: str
1973
+ """
1974
+ return self._SessionId
1975
+
1976
+ @SessionId.setter
1977
+ def SessionId(self, SessionId):
1978
+ self._SessionId = SessionId
1979
+
1980
+ @property
1981
+ def SdkAppId(self):
1982
+ """App ID (required). can be used to view https://console.cloud.tencent.com/ccc.
1983
+ :rtype: int
1984
+ """
1985
+ return self._SdkAppId
1986
+
1987
+ @SdkAppId.setter
1988
+ def SdkAppId(self, SdkAppId):
1989
+ self._SdkAppId = SdkAppId
1990
+
1991
+ @property
1992
+ def Command(self):
1993
+ """Control command. currently supports the following commands:.
1994
+
1995
+ -ServerPushText. specifies the text sent by the server to the AI robot. the AI robot will broadcast the text.
1996
+ :rtype: str
1997
+ """
1998
+ return self._Command
1999
+
2000
+ @Command.setter
2001
+ def Command(self, Command):
2002
+ self._Command = Command
2003
+
2004
+ @property
2005
+ def ServerPushText(self):
2006
+ """Specifies the server-sent broadcast text Command. required when Command is ServerPushText.
2007
+ :rtype: :class:`tencentcloud.ccc.v20200210.models.ServerPushText`
2008
+ """
2009
+ return self._ServerPushText
2010
+
2011
+ @ServerPushText.setter
2012
+ def ServerPushText(self, ServerPushText):
2013
+ self._ServerPushText = ServerPushText
2014
+
2015
+
2016
+ def _deserialize(self, params):
2017
+ self._SessionId = params.get("SessionId")
2018
+ self._SdkAppId = params.get("SdkAppId")
2019
+ self._Command = params.get("Command")
2020
+ if params.get("ServerPushText") is not None:
2021
+ self._ServerPushText = ServerPushText()
2022
+ self._ServerPushText._deserialize(params.get("ServerPushText"))
2023
+ memeber_set = set(params.keys())
2024
+ for name, value in vars(self).items():
2025
+ property_name = name[1:]
2026
+ if property_name in memeber_set:
2027
+ memeber_set.remove(property_name)
2028
+ if len(memeber_set) > 0:
2029
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2030
+
2031
+
2032
+
2033
+ class ControlAIConversationResponse(AbstractModel):
2034
+ """ControlAIConversation response structure.
2035
+
2036
+ """
2037
+
2038
+ def __init__(self):
2039
+ r"""
2040
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
2041
+ :type RequestId: str
2042
+ """
2043
+ self._RequestId = None
2044
+
2045
+ @property
2046
+ def RequestId(self):
2047
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
2048
+ :rtype: str
2049
+ """
2050
+ return self._RequestId
2051
+
2052
+ @RequestId.setter
2053
+ def RequestId(self, RequestId):
2054
+ self._RequestId = RequestId
2055
+
2056
+
2057
+ def _deserialize(self, params):
2058
+ self._RequestId = params.get("RequestId")
2059
+
2060
+
1784
2061
  class CreateAIAgentCallRequest(AbstractModel):
1785
2062
  """CreateAIAgentCall request structure.
1786
2063
 
@@ -2081,7 +2358,7 @@ HoaiMy
2081
2358
  :param _WelcomeType: 0: Use welcomeMessage (if empty, the callee speaks first; if not empty, the bot speaks first)
2082
2359
  1: Use AI to automatically generate welcomeMessage and speak first based on the prompt
2083
2360
  :type WelcomeType: int
2084
- :param _WelcomeMessagePriority: 0: interruptible by default, 1: high priority and not interruptible.
2361
+ :param _WelcomeMessagePriority: 0: interruptible by default, 2: high priority non-interruptible.
2085
2362
  :type WelcomeMessagePriority: int
2086
2363
  :param _MaxDuration: Maximum Waiting Duration (milliseconds), default is 60 seconds, if the user does not speak within this time, the call is automatically terminated
2087
2364
  :type MaxDuration: int
@@ -2193,6 +2470,17 @@ dify-inputs-xxx specifies the inputs variable for dify.
2193
2470
  2. the dify-inputs-user specifies the user value for dify.
2194
2471
  3. dify-inputs-conversation_id is the conversation_id value of dify.
2195
2472
  :type Variables: list of Variable
2473
+ :param _TopP: Specifies the model topP.
2474
+ :type TopP: float
2475
+ :param _VadLevel: The vad far-field voice suppression capacity (does not impact asr recognition performance). value range: [0, 3]. default is 0. recommended setting: 2 for better far-field voice suppression.
2476
+ :type VadLevel: int
2477
+ :param _ToneWord: Transition.
2478
+ :type ToneWord: :class:`tencentcloud.ccc.v20200210.models.ToneWordInfo`
2479
+ :param _EnableComplianceAudio: Compliance prompt sound.
2480
+ This parameter specifies whether to play morse code during call initiation (default: true), indicating the conversation content is AI-generated.
2481
+ This parameter signifies disabled when set to false. the parameter indicates you understand and agree to the following protocol:.
2482
+ Our side fully acknowledges and understands that according to the laws and regulations including the "cybersecurity law" (https://www.gov.cn/xinwen/2016-11/07/content_5129723.htm), "provision on administration of deep synthesis of internet-based information service" (https://www.gov.cn/zhengce/zhengceku/2022-12/12/content_5731431.htm), "interim measures for the management of generative artificial intelligence services" (https://www.gov.cn/zhengce/zhengceku/202307/content_6891752.htm), and "measures for the identification of artificial intelligence-generated synthetic content" (https://www.gov.cn/zhengce/zhengceku/202503/content_7014286.htm), explicit and implicit identification shall be added to ai-generated synthetic content. based on business needs, we request tencent cloud not to add explicit identification to generated synthetic content. we commit to lawful and compliant use of such content to avoid confusion or misunderstanding. if the ai-generated synthetic content is used to provide services to the public or spread over networks, we will proactively add explicit identification compliant with legal provisions and national standard requirements and bear the legal obligations for ai-generated synthetic content identification. if we fail to properly fulfill the identification obligations for ai-generated content, resulting in adverse consequences or penalties from the competent department, we will fully assume all related responsibilities.
2483
+ :type EnableComplianceAudio: bool
2196
2484
  """
2197
2485
  self._SdkAppId = None
2198
2486
  self._Callee = None
@@ -2223,6 +2511,10 @@ dify-inputs-xxx specifies the inputs variable for dify.
2223
2511
  self._ExtractConfig = None
2224
2512
  self._Temperature = None
2225
2513
  self._Variables = None
2514
+ self._TopP = None
2515
+ self._VadLevel = None
2516
+ self._ToneWord = None
2517
+ self._EnableComplianceAudio = None
2226
2518
 
2227
2519
  @property
2228
2520
  def SdkAppId(self):
@@ -2442,7 +2734,7 @@ HoaiMy
2442
2734
 
2443
2735
  @property
2444
2736
  def WelcomeMessagePriority(self):
2445
- """0: interruptible by default, 1: high priority and not interruptible.
2737
+ """0: interruptible by default, 2: high priority non-interruptible.
2446
2738
  :rtype: int
2447
2739
  """
2448
2740
  return self._WelcomeMessagePriority
@@ -2718,6 +3010,53 @@ dify-inputs-xxx specifies the inputs variable for dify.
2718
3010
  def Variables(self, Variables):
2719
3011
  self._Variables = Variables
2720
3012
 
3013
+ @property
3014
+ def TopP(self):
3015
+ """Specifies the model topP.
3016
+ :rtype: float
3017
+ """
3018
+ return self._TopP
3019
+
3020
+ @TopP.setter
3021
+ def TopP(self, TopP):
3022
+ self._TopP = TopP
3023
+
3024
+ @property
3025
+ def VadLevel(self):
3026
+ """The vad far-field voice suppression capacity (does not impact asr recognition performance). value range: [0, 3]. default is 0. recommended setting: 2 for better far-field voice suppression.
3027
+ :rtype: int
3028
+ """
3029
+ return self._VadLevel
3030
+
3031
+ @VadLevel.setter
3032
+ def VadLevel(self, VadLevel):
3033
+ self._VadLevel = VadLevel
3034
+
3035
+ @property
3036
+ def ToneWord(self):
3037
+ """Transition.
3038
+ :rtype: :class:`tencentcloud.ccc.v20200210.models.ToneWordInfo`
3039
+ """
3040
+ return self._ToneWord
3041
+
3042
+ @ToneWord.setter
3043
+ def ToneWord(self, ToneWord):
3044
+ self._ToneWord = ToneWord
3045
+
3046
+ @property
3047
+ def EnableComplianceAudio(self):
3048
+ """Compliance prompt sound.
3049
+ This parameter specifies whether to play morse code during call initiation (default: true), indicating the conversation content is AI-generated.
3050
+ This parameter signifies disabled when set to false. the parameter indicates you understand and agree to the following protocol:.
3051
+ Our side fully acknowledges and understands that according to the laws and regulations including the "cybersecurity law" (https://www.gov.cn/xinwen/2016-11/07/content_5129723.htm), "provision on administration of deep synthesis of internet-based information service" (https://www.gov.cn/zhengce/zhengceku/2022-12/12/content_5731431.htm), "interim measures for the management of generative artificial intelligence services" (https://www.gov.cn/zhengce/zhengceku/202307/content_6891752.htm), and "measures for the identification of artificial intelligence-generated synthetic content" (https://www.gov.cn/zhengce/zhengceku/202503/content_7014286.htm), explicit and implicit identification shall be added to ai-generated synthetic content. based on business needs, we request tencent cloud not to add explicit identification to generated synthetic content. we commit to lawful and compliant use of such content to avoid confusion or misunderstanding. if the ai-generated synthetic content is used to provide services to the public or spread over networks, we will proactively add explicit identification compliant with legal provisions and national standard requirements and bear the legal obligations for ai-generated synthetic content identification. if we fail to properly fulfill the identification obligations for ai-generated content, resulting in adverse consequences or penalties from the competent department, we will fully assume all related responsibilities.
3052
+ :rtype: bool
3053
+ """
3054
+ return self._EnableComplianceAudio
3055
+
3056
+ @EnableComplianceAudio.setter
3057
+ def EnableComplianceAudio(self, EnableComplianceAudio):
3058
+ self._EnableComplianceAudio = EnableComplianceAudio
3059
+
2721
3060
 
2722
3061
  def _deserialize(self, params):
2723
3062
  self._SdkAppId = params.get("SdkAppId")
@@ -2769,6 +3108,12 @@ dify-inputs-xxx specifies the inputs variable for dify.
2769
3108
  obj = Variable()
2770
3109
  obj._deserialize(item)
2771
3110
  self._Variables.append(obj)
3111
+ self._TopP = params.get("TopP")
3112
+ self._VadLevel = params.get("VadLevel")
3113
+ if params.get("ToneWord") is not None:
3114
+ self._ToneWord = ToneWordInfo()
3115
+ self._ToneWord._deserialize(params.get("ToneWord"))
3116
+ self._EnableComplianceAudio = params.get("EnableComplianceAudio")
2772
3117
  memeber_set = set(params.keys())
2773
3118
  for name, value in vars(self).items():
2774
3119
  property_name = name[1:]
@@ -4767,24 +5112,30 @@ class CreateStaffResponse(AbstractModel):
4767
5112
  self._RequestId = params.get("RequestId")
4768
5113
 
4769
5114
 
4770
- class DeleteCCCSkillGroupRequest(AbstractModel):
4771
- """DeleteCCCSkillGroup request structure.
5115
+ class CreateUserSigRequest(AbstractModel):
5116
+ """CreateUserSig request structure.
4772
5117
 
4773
5118
  """
4774
5119
 
4775
5120
  def __init__(self):
4776
5121
  r"""
4777
- :param _SdkAppId: App ID (required), which can be viewed at https://console.cloud.tencent.com/ccc.
5122
+ :param _SdkAppId: App ID (required). can be used to view https://console.cloud.tencent.com/ccc.
4778
5123
  :type SdkAppId: int
4779
- :param _SkillGroupId: Skill group ID.
4780
- :type SkillGroupId: int
5124
+ :param _Uid: User ID, must be consistent with the Uid value in the ClientData field.
5125
+ :type Uid: str
5126
+ :param _ExpiredTime: Valid period, in seconds, no more than 1 hr.
5127
+ :type ExpiredTime: int
5128
+ :param _ClientData: Signature data of the user. required field. standard JSON format.
5129
+ :type ClientData: str
4781
5130
  """
4782
5131
  self._SdkAppId = None
4783
- self._SkillGroupId = None
5132
+ self._Uid = None
5133
+ self._ExpiredTime = None
5134
+ self._ClientData = None
4784
5135
 
4785
5136
  @property
4786
5137
  def SdkAppId(self):
4787
- """App ID (required), which can be viewed at https://console.cloud.tencent.com/ccc.
5138
+ """App ID (required). can be used to view https://console.cloud.tencent.com/ccc.
4788
5139
  :rtype: int
4789
5140
  """
4790
5141
  return self._SdkAppId
@@ -4794,20 +5145,44 @@ class DeleteCCCSkillGroupRequest(AbstractModel):
4794
5145
  self._SdkAppId = SdkAppId
4795
5146
 
4796
5147
  @property
4797
- def SkillGroupId(self):
4798
- """Skill group ID.
5148
+ def Uid(self):
5149
+ """User ID, must be consistent with the Uid value in the ClientData field.
5150
+ :rtype: str
5151
+ """
5152
+ return self._Uid
5153
+
5154
+ @Uid.setter
5155
+ def Uid(self, Uid):
5156
+ self._Uid = Uid
5157
+
5158
+ @property
5159
+ def ExpiredTime(self):
5160
+ """Valid period, in seconds, no more than 1 hr.
4799
5161
  :rtype: int
4800
5162
  """
4801
- return self._SkillGroupId
5163
+ return self._ExpiredTime
4802
5164
 
4803
- @SkillGroupId.setter
4804
- def SkillGroupId(self, SkillGroupId):
4805
- self._SkillGroupId = SkillGroupId
5165
+ @ExpiredTime.setter
5166
+ def ExpiredTime(self, ExpiredTime):
5167
+ self._ExpiredTime = ExpiredTime
5168
+
5169
+ @property
5170
+ def ClientData(self):
5171
+ """Signature data of the user. required field. standard JSON format.
5172
+ :rtype: str
5173
+ """
5174
+ return self._ClientData
5175
+
5176
+ @ClientData.setter
5177
+ def ClientData(self, ClientData):
5178
+ self._ClientData = ClientData
4806
5179
 
4807
5180
 
4808
5181
  def _deserialize(self, params):
4809
5182
  self._SdkAppId = params.get("SdkAppId")
4810
- self._SkillGroupId = params.get("SkillGroupId")
5183
+ self._Uid = params.get("Uid")
5184
+ self._ExpiredTime = params.get("ExpiredTime")
5185
+ self._ClientData = params.get("ClientData")
4811
5186
  memeber_set = set(params.keys())
4812
5187
  for name, value in vars(self).items():
4813
5188
  property_name = name[1:]
@@ -4818,18 +5193,32 @@ class DeleteCCCSkillGroupRequest(AbstractModel):
4818
5193
 
4819
5194
 
4820
5195
 
4821
- class DeleteCCCSkillGroupResponse(AbstractModel):
4822
- """DeleteCCCSkillGroup response structure.
5196
+ class CreateUserSigResponse(AbstractModel):
5197
+ """CreateUserSig response structure.
4823
5198
 
4824
5199
  """
4825
5200
 
4826
5201
  def __init__(self):
4827
5202
  r"""
5203
+ :param _UserSig: Signature result.
5204
+ :type UserSig: str
4828
5205
  :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
4829
5206
  :type RequestId: str
4830
5207
  """
5208
+ self._UserSig = None
4831
5209
  self._RequestId = None
4832
5210
 
5211
+ @property
5212
+ def UserSig(self):
5213
+ """Signature result.
5214
+ :rtype: str
5215
+ """
5216
+ return self._UserSig
5217
+
5218
+ @UserSig.setter
5219
+ def UserSig(self, UserSig):
5220
+ self._UserSig = UserSig
5221
+
4833
5222
  @property
4834
5223
  def RequestId(self):
4835
5224
  """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
@@ -4843,17 +5232,97 @@ class DeleteCCCSkillGroupResponse(AbstractModel):
4843
5232
 
4844
5233
 
4845
5234
  def _deserialize(self, params):
5235
+ self._UserSig = params.get("UserSig")
4846
5236
  self._RequestId = params.get("RequestId")
4847
5237
 
4848
5238
 
4849
- class DeleteExtensionRequest(AbstractModel):
4850
- """DeleteExtension request structure.
5239
+ class DeleteCCCSkillGroupRequest(AbstractModel):
5240
+ """DeleteCCCSkillGroup request structure.
4851
5241
 
4852
5242
  """
4853
5243
 
4854
5244
  def __init__(self):
4855
5245
  r"""
4856
- :param _SdkAppId: Application id (required) can be found at https://console.cloud.tencent.com/ccc.
5246
+ :param _SdkAppId: App ID (required), which can be viewed at https://console.cloud.tencent.com/ccc.
5247
+ :type SdkAppId: int
5248
+ :param _SkillGroupId: Skill group ID.
5249
+ :type SkillGroupId: int
5250
+ """
5251
+ self._SdkAppId = None
5252
+ self._SkillGroupId = None
5253
+
5254
+ @property
5255
+ def SdkAppId(self):
5256
+ """App ID (required), which can be viewed at https://console.cloud.tencent.com/ccc.
5257
+ :rtype: int
5258
+ """
5259
+ return self._SdkAppId
5260
+
5261
+ @SdkAppId.setter
5262
+ def SdkAppId(self, SdkAppId):
5263
+ self._SdkAppId = SdkAppId
5264
+
5265
+ @property
5266
+ def SkillGroupId(self):
5267
+ """Skill group ID.
5268
+ :rtype: int
5269
+ """
5270
+ return self._SkillGroupId
5271
+
5272
+ @SkillGroupId.setter
5273
+ def SkillGroupId(self, SkillGroupId):
5274
+ self._SkillGroupId = SkillGroupId
5275
+
5276
+
5277
+ def _deserialize(self, params):
5278
+ self._SdkAppId = params.get("SdkAppId")
5279
+ self._SkillGroupId = params.get("SkillGroupId")
5280
+ memeber_set = set(params.keys())
5281
+ for name, value in vars(self).items():
5282
+ property_name = name[1:]
5283
+ if property_name in memeber_set:
5284
+ memeber_set.remove(property_name)
5285
+ if len(memeber_set) > 0:
5286
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5287
+
5288
+
5289
+
5290
+ class DeleteCCCSkillGroupResponse(AbstractModel):
5291
+ """DeleteCCCSkillGroup response structure.
5292
+
5293
+ """
5294
+
5295
+ def __init__(self):
5296
+ r"""
5297
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
5298
+ :type RequestId: str
5299
+ """
5300
+ self._RequestId = None
5301
+
5302
+ @property
5303
+ def RequestId(self):
5304
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
5305
+ :rtype: str
5306
+ """
5307
+ return self._RequestId
5308
+
5309
+ @RequestId.setter
5310
+ def RequestId(self, RequestId):
5311
+ self._RequestId = RequestId
5312
+
5313
+
5314
+ def _deserialize(self, params):
5315
+ self._RequestId = params.get("RequestId")
5316
+
5317
+
5318
+ class DeleteExtensionRequest(AbstractModel):
5319
+ """DeleteExtension request structure.
5320
+
5321
+ """
5322
+
5323
+ def __init__(self):
5324
+ r"""
5325
+ :param _SdkAppId: Application id (required) can be found at https://console.cloud.tencent.com/ccc.
4857
5326
  :type SdkAppId: int
4858
5327
  :param _ExtensionId: Extension.
4859
5328
  :type ExtensionId: str
@@ -7867,36 +8336,30 @@ class DescribeProtectedTelCdrResponse(AbstractModel):
7867
8336
  self._RequestId = params.get("RequestId")
7868
8337
 
7869
8338
 
7870
- class DescribeSkillGroupInfoListRequest(AbstractModel):
7871
- """DescribeSkillGroupInfoList request structure.
8339
+ class DescribeSessionDetailRequest(AbstractModel):
8340
+ """DescribeSessionDetail request structure.
7872
8341
 
7873
8342
  """
7874
8343
 
7875
8344
  def __init__(self):
7876
8345
  r"""
7877
- :param _SdkAppId: Application id (required) can be found at https://console.cloud.tencent.com/ccc.
8346
+ :param _SdkAppId: App ID (required). can be used to view https://console.cloud.tencent.com/ccc.
7878
8347
  :type SdkAppId: int
7879
- :param _PageSize: Page size, upper limit 100.
7880
- :type PageSize: int
7881
- :param _PageNumber: <Page number starting from 0.>.
7882
- :type PageNumber: int
7883
- :param _SkillGroupId: Using skill group id when querying a single skill group.
7884
- :type SkillGroupId: int
7885
- :param _ModifiedTime: Used when querying skill groups with a modified time greater or equal to modifiedtime.
7886
- :type ModifiedTime: int
7887
- :param _SkillGroupName: Skill group name.
7888
- :type SkillGroupName: str
8348
+ :param _SessionId: Specifies the session id of the call.
8349
+ :type SessionId: str
8350
+ :param _StartTimestamp: Start timestamp. Unix second-level timestamp. supports up to nearly 180 days.
8351
+ :type StartTimestamp: int
8352
+ :param _EndTimestamp: End timestamp, Unix second-level timestamp. the interval range between end time and start time is less than 90 days.
8353
+ :type EndTimestamp: int
7889
8354
  """
7890
8355
  self._SdkAppId = None
7891
- self._PageSize = None
7892
- self._PageNumber = None
7893
- self._SkillGroupId = None
7894
- self._ModifiedTime = None
7895
- self._SkillGroupName = None
8356
+ self._SessionId = None
8357
+ self._StartTimestamp = None
8358
+ self._EndTimestamp = None
7896
8359
 
7897
8360
  @property
7898
8361
  def SdkAppId(self):
7899
- """Application id (required) can be found at https://console.cloud.tencent.com/ccc.
8362
+ """App ID (required). can be used to view https://console.cloud.tencent.com/ccc.
7900
8363
  :rtype: int
7901
8364
  """
7902
8365
  return self._SdkAppId
@@ -7906,68 +8369,44 @@ class DescribeSkillGroupInfoListRequest(AbstractModel):
7906
8369
  self._SdkAppId = SdkAppId
7907
8370
 
7908
8371
  @property
7909
- def PageSize(self):
7910
- """Page size, upper limit 100.
7911
- :rtype: int
7912
- """
7913
- return self._PageSize
7914
-
7915
- @PageSize.setter
7916
- def PageSize(self, PageSize):
7917
- self._PageSize = PageSize
7918
-
7919
- @property
7920
- def PageNumber(self):
7921
- """<Page number starting from 0.>.
7922
- :rtype: int
8372
+ def SessionId(self):
8373
+ """Specifies the session id of the call.
8374
+ :rtype: str
7923
8375
  """
7924
- return self._PageNumber
8376
+ return self._SessionId
7925
8377
 
7926
- @PageNumber.setter
7927
- def PageNumber(self, PageNumber):
7928
- self._PageNumber = PageNumber
8378
+ @SessionId.setter
8379
+ def SessionId(self, SessionId):
8380
+ self._SessionId = SessionId
7929
8381
 
7930
8382
  @property
7931
- def SkillGroupId(self):
7932
- """Using skill group id when querying a single skill group.
8383
+ def StartTimestamp(self):
8384
+ """Start timestamp. Unix second-level timestamp. supports up to nearly 180 days.
7933
8385
  :rtype: int
7934
8386
  """
7935
- return self._SkillGroupId
8387
+ return self._StartTimestamp
7936
8388
 
7937
- @SkillGroupId.setter
7938
- def SkillGroupId(self, SkillGroupId):
7939
- self._SkillGroupId = SkillGroupId
8389
+ @StartTimestamp.setter
8390
+ def StartTimestamp(self, StartTimestamp):
8391
+ self._StartTimestamp = StartTimestamp
7940
8392
 
7941
8393
  @property
7942
- def ModifiedTime(self):
7943
- """Used when querying skill groups with a modified time greater or equal to modifiedtime.
8394
+ def EndTimestamp(self):
8395
+ """End timestamp, Unix second-level timestamp. the interval range between end time and start time is less than 90 days.
7944
8396
  :rtype: int
7945
8397
  """
7946
- return self._ModifiedTime
7947
-
7948
- @ModifiedTime.setter
7949
- def ModifiedTime(self, ModifiedTime):
7950
- self._ModifiedTime = ModifiedTime
7951
-
7952
- @property
7953
- def SkillGroupName(self):
7954
- """Skill group name.
7955
- :rtype: str
7956
- """
7957
- return self._SkillGroupName
8398
+ return self._EndTimestamp
7958
8399
 
7959
- @SkillGroupName.setter
7960
- def SkillGroupName(self, SkillGroupName):
7961
- self._SkillGroupName = SkillGroupName
8400
+ @EndTimestamp.setter
8401
+ def EndTimestamp(self, EndTimestamp):
8402
+ self._EndTimestamp = EndTimestamp
7962
8403
 
7963
8404
 
7964
8405
  def _deserialize(self, params):
7965
8406
  self._SdkAppId = params.get("SdkAppId")
7966
- self._PageSize = params.get("PageSize")
7967
- self._PageNumber = params.get("PageNumber")
7968
- self._SkillGroupId = params.get("SkillGroupId")
7969
- self._ModifiedTime = params.get("ModifiedTime")
7970
- self._SkillGroupName = params.get("SkillGroupName")
8407
+ self._SessionId = params.get("SessionId")
8408
+ self._StartTimestamp = params.get("StartTimestamp")
8409
+ self._EndTimestamp = params.get("EndTimestamp")
7971
8410
  memeber_set = set(params.keys())
7972
8411
  for name, value in vars(self).items():
7973
8412
  property_name = name[1:]
@@ -7978,56 +8417,560 @@ class DescribeSkillGroupInfoListRequest(AbstractModel):
7978
8417
 
7979
8418
 
7980
8419
 
7981
- class DescribeSkillGroupInfoListResponse(AbstractModel):
7982
- """DescribeSkillGroupInfoList response structure.
8420
+ class DescribeSessionDetailResponse(AbstractModel):
8421
+ """DescribeSessionDetail response structure.
7983
8422
 
7984
8423
  """
7985
8424
 
7986
8425
  def __init__(self):
7987
8426
  r"""
7988
- :param _TotalCount: Total number of skill groups.
7989
- :type TotalCount: int
7990
- :param _SkillGroupList: Skill group information list.
7991
- :type SkillGroupList: list of SkillGroupInfoItem
8427
+ :param _Caller: Calling number.
8428
+ :type Caller: str
8429
+ :param _Callee: Called number.
8430
+ :type Callee: str
8431
+ :param _CallType: Call type. valid values: 1 (outgoing call), 2 (incoming call), 3 (audio dial-in), 5 (predictive outbound call), 6 (internal call).
8432
+ :type CallType: int
8433
+ :param _StartTimeStamp: Start timestamp. Unix second-level timestamp.
8434
+ :type StartTimeStamp: int
8435
+ :param _RingTimestamp: Ring timestamp. UNIX second-level timestamp.
8436
+ :type RingTimestamp: int
8437
+ :param _AcceptTimestamp: Answer timestamp. UNIX second-level timestamp.
8438
+ :type AcceptTimestamp: int
8439
+ :param _EndedTimestamp: End timestamp, UNIX second-level timestamp.
8440
+ :type EndedTimestamp: int
8441
+ :param _QueuedTimestamp: Queue entry time. Unix second-level timestamp.
8442
+ :type QueuedTimestamp: int
8443
+ :param _StaffUserId: Agent account.
8444
+ :type StaffUserId: str
8445
+ :param _EndStatus: Refers to the EndStatus field in the DescribeTelCdr api.
8446
+ :type EndStatus: int
8447
+ :param _QueuedSkillGroupId: Queue skill group ID.
8448
+ :type QueuedSkillGroupId: int
8449
+ :param _QueuedSkillGroupName: Queue skill group name.
8450
+ :type QueuedSkillGroupName: str
8451
+ :param _RecordURL: Recording url with authentication and valid period. obtain and pull within a short time frame. do not persist this link.
8452
+ :type RecordURL: str
8453
+ :param _CustomRecordURL: Specifies the COS link for recording transfer to a third party.
8454
+ :type CustomRecordURL: str
8455
+ :param _AsrURL: Recording text information link with authentication and valid period. retrieve it within a short time frame. do not persist this link.
8456
+ :type AsrURL: str
8457
+ :param _VoicemailRecordURL: Voicemail recording url.
8458
+ :type VoicemailRecordURL: list of str
8459
+ :param _VoicemailAsrURL: Voicemail recording text information url. purchase the offline speech recognition package through the console and enable the offline speech recognition switch.
8460
+ :type VoicemailAsrURL: list of str
8461
+ :param _IVRKeyPressed: IVR key information.
8462
+ :type IVRKeyPressed: list of IVRKeyPressedElement
8463
+ :param _PostIVRKeyPressed: Satisfaction rate keystroke information.
8464
+ :type PostIVRKeyPressed: list of IVRKeyPressedElement
8465
+ :param _HungUpSide: Hang-Up side. valid values: seat, user, system.
8466
+ :type HungUpSide: str
8467
+ :param _UUI: Customer custom data (User-to-User Interface).
8468
+ :type UUI: str
8469
+ :param _Events: List of events during a call.
8470
+ :type Events: list of SessionEvent
8471
+ :param _ServeParticipants: List of service participants.
8472
+ :type ServeParticipants: list of ServeParticipant
7992
8473
  :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
7993
8474
  :type RequestId: str
7994
8475
  """
7995
- self._TotalCount = None
7996
- self._SkillGroupList = None
8476
+ self._Caller = None
8477
+ self._Callee = None
8478
+ self._CallType = None
8479
+ self._StartTimeStamp = None
8480
+ self._RingTimestamp = None
8481
+ self._AcceptTimestamp = None
8482
+ self._EndedTimestamp = None
8483
+ self._QueuedTimestamp = None
8484
+ self._StaffUserId = None
8485
+ self._EndStatus = None
8486
+ self._QueuedSkillGroupId = None
8487
+ self._QueuedSkillGroupName = None
8488
+ self._RecordURL = None
8489
+ self._CustomRecordURL = None
8490
+ self._AsrURL = None
8491
+ self._VoicemailRecordURL = None
8492
+ self._VoicemailAsrURL = None
8493
+ self._IVRKeyPressed = None
8494
+ self._PostIVRKeyPressed = None
8495
+ self._HungUpSide = None
8496
+ self._UUI = None
8497
+ self._Events = None
8498
+ self._ServeParticipants = None
7997
8499
  self._RequestId = None
7998
8500
 
7999
8501
  @property
8000
- def TotalCount(self):
8001
- """Total number of skill groups.
8002
- :rtype: int
8502
+ def Caller(self):
8503
+ """Calling number.
8504
+ :rtype: str
8003
8505
  """
8004
- return self._TotalCount
8506
+ return self._Caller
8005
8507
 
8006
- @TotalCount.setter
8007
- def TotalCount(self, TotalCount):
8008
- self._TotalCount = TotalCount
8508
+ @Caller.setter
8509
+ def Caller(self, Caller):
8510
+ self._Caller = Caller
8009
8511
 
8010
8512
  @property
8011
- def SkillGroupList(self):
8012
- """Skill group information list.
8013
- :rtype: list of SkillGroupInfoItem
8513
+ def Callee(self):
8514
+ """Called number.
8515
+ :rtype: str
8014
8516
  """
8015
- return self._SkillGroupList
8517
+ return self._Callee
8016
8518
 
8017
- @SkillGroupList.setter
8018
- def SkillGroupList(self, SkillGroupList):
8019
- self._SkillGroupList = SkillGroupList
8519
+ @Callee.setter
8520
+ def Callee(self, Callee):
8521
+ self._Callee = Callee
8020
8522
 
8021
8523
  @property
8022
- def RequestId(self):
8023
- """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
8024
- :rtype: str
8524
+ def CallType(self):
8525
+ """Call type. valid values: 1 (outgoing call), 2 (incoming call), 3 (audio dial-in), 5 (predictive outbound call), 6 (internal call).
8526
+ :rtype: int
8025
8527
  """
8026
- return self._RequestId
8528
+ return self._CallType
8027
8529
 
8028
- @RequestId.setter
8029
- def RequestId(self, RequestId):
8030
- self._RequestId = RequestId
8530
+ @CallType.setter
8531
+ def CallType(self, CallType):
8532
+ self._CallType = CallType
8533
+
8534
+ @property
8535
+ def StartTimeStamp(self):
8536
+ """Start timestamp. Unix second-level timestamp.
8537
+ :rtype: int
8538
+ """
8539
+ return self._StartTimeStamp
8540
+
8541
+ @StartTimeStamp.setter
8542
+ def StartTimeStamp(self, StartTimeStamp):
8543
+ self._StartTimeStamp = StartTimeStamp
8544
+
8545
+ @property
8546
+ def RingTimestamp(self):
8547
+ """Ring timestamp. UNIX second-level timestamp.
8548
+ :rtype: int
8549
+ """
8550
+ return self._RingTimestamp
8551
+
8552
+ @RingTimestamp.setter
8553
+ def RingTimestamp(self, RingTimestamp):
8554
+ self._RingTimestamp = RingTimestamp
8555
+
8556
+ @property
8557
+ def AcceptTimestamp(self):
8558
+ """Answer timestamp. UNIX second-level timestamp.
8559
+ :rtype: int
8560
+ """
8561
+ return self._AcceptTimestamp
8562
+
8563
+ @AcceptTimestamp.setter
8564
+ def AcceptTimestamp(self, AcceptTimestamp):
8565
+ self._AcceptTimestamp = AcceptTimestamp
8566
+
8567
+ @property
8568
+ def EndedTimestamp(self):
8569
+ """End timestamp, UNIX second-level timestamp.
8570
+ :rtype: int
8571
+ """
8572
+ return self._EndedTimestamp
8573
+
8574
+ @EndedTimestamp.setter
8575
+ def EndedTimestamp(self, EndedTimestamp):
8576
+ self._EndedTimestamp = EndedTimestamp
8577
+
8578
+ @property
8579
+ def QueuedTimestamp(self):
8580
+ """Queue entry time. Unix second-level timestamp.
8581
+ :rtype: int
8582
+ """
8583
+ return self._QueuedTimestamp
8584
+
8585
+ @QueuedTimestamp.setter
8586
+ def QueuedTimestamp(self, QueuedTimestamp):
8587
+ self._QueuedTimestamp = QueuedTimestamp
8588
+
8589
+ @property
8590
+ def StaffUserId(self):
8591
+ """Agent account.
8592
+ :rtype: str
8593
+ """
8594
+ return self._StaffUserId
8595
+
8596
+ @StaffUserId.setter
8597
+ def StaffUserId(self, StaffUserId):
8598
+ self._StaffUserId = StaffUserId
8599
+
8600
+ @property
8601
+ def EndStatus(self):
8602
+ """Refers to the EndStatus field in the DescribeTelCdr api.
8603
+ :rtype: int
8604
+ """
8605
+ return self._EndStatus
8606
+
8607
+ @EndStatus.setter
8608
+ def EndStatus(self, EndStatus):
8609
+ self._EndStatus = EndStatus
8610
+
8611
+ @property
8612
+ def QueuedSkillGroupId(self):
8613
+ """Queue skill group ID.
8614
+ :rtype: int
8615
+ """
8616
+ return self._QueuedSkillGroupId
8617
+
8618
+ @QueuedSkillGroupId.setter
8619
+ def QueuedSkillGroupId(self, QueuedSkillGroupId):
8620
+ self._QueuedSkillGroupId = QueuedSkillGroupId
8621
+
8622
+ @property
8623
+ def QueuedSkillGroupName(self):
8624
+ """Queue skill group name.
8625
+ :rtype: str
8626
+ """
8627
+ return self._QueuedSkillGroupName
8628
+
8629
+ @QueuedSkillGroupName.setter
8630
+ def QueuedSkillGroupName(self, QueuedSkillGroupName):
8631
+ self._QueuedSkillGroupName = QueuedSkillGroupName
8632
+
8633
+ @property
8634
+ def RecordURL(self):
8635
+ """Recording url with authentication and valid period. obtain and pull within a short time frame. do not persist this link.
8636
+ :rtype: str
8637
+ """
8638
+ return self._RecordURL
8639
+
8640
+ @RecordURL.setter
8641
+ def RecordURL(self, RecordURL):
8642
+ self._RecordURL = RecordURL
8643
+
8644
+ @property
8645
+ def CustomRecordURL(self):
8646
+ """Specifies the COS link for recording transfer to a third party.
8647
+ :rtype: str
8648
+ """
8649
+ return self._CustomRecordURL
8650
+
8651
+ @CustomRecordURL.setter
8652
+ def CustomRecordURL(self, CustomRecordURL):
8653
+ self._CustomRecordURL = CustomRecordURL
8654
+
8655
+ @property
8656
+ def AsrURL(self):
8657
+ """Recording text information link with authentication and valid period. retrieve it within a short time frame. do not persist this link.
8658
+ :rtype: str
8659
+ """
8660
+ return self._AsrURL
8661
+
8662
+ @AsrURL.setter
8663
+ def AsrURL(self, AsrURL):
8664
+ self._AsrURL = AsrURL
8665
+
8666
+ @property
8667
+ def VoicemailRecordURL(self):
8668
+ """Voicemail recording url.
8669
+ :rtype: list of str
8670
+ """
8671
+ return self._VoicemailRecordURL
8672
+
8673
+ @VoicemailRecordURL.setter
8674
+ def VoicemailRecordURL(self, VoicemailRecordURL):
8675
+ self._VoicemailRecordURL = VoicemailRecordURL
8676
+
8677
+ @property
8678
+ def VoicemailAsrURL(self):
8679
+ """Voicemail recording text information url. purchase the offline speech recognition package through the console and enable the offline speech recognition switch.
8680
+ :rtype: list of str
8681
+ """
8682
+ return self._VoicemailAsrURL
8683
+
8684
+ @VoicemailAsrURL.setter
8685
+ def VoicemailAsrURL(self, VoicemailAsrURL):
8686
+ self._VoicemailAsrURL = VoicemailAsrURL
8687
+
8688
+ @property
8689
+ def IVRKeyPressed(self):
8690
+ """IVR key information.
8691
+ :rtype: list of IVRKeyPressedElement
8692
+ """
8693
+ return self._IVRKeyPressed
8694
+
8695
+ @IVRKeyPressed.setter
8696
+ def IVRKeyPressed(self, IVRKeyPressed):
8697
+ self._IVRKeyPressed = IVRKeyPressed
8698
+
8699
+ @property
8700
+ def PostIVRKeyPressed(self):
8701
+ """Satisfaction rate keystroke information.
8702
+ :rtype: list of IVRKeyPressedElement
8703
+ """
8704
+ return self._PostIVRKeyPressed
8705
+
8706
+ @PostIVRKeyPressed.setter
8707
+ def PostIVRKeyPressed(self, PostIVRKeyPressed):
8708
+ self._PostIVRKeyPressed = PostIVRKeyPressed
8709
+
8710
+ @property
8711
+ def HungUpSide(self):
8712
+ """Hang-Up side. valid values: seat, user, system.
8713
+ :rtype: str
8714
+ """
8715
+ return self._HungUpSide
8716
+
8717
+ @HungUpSide.setter
8718
+ def HungUpSide(self, HungUpSide):
8719
+ self._HungUpSide = HungUpSide
8720
+
8721
+ @property
8722
+ def UUI(self):
8723
+ """Customer custom data (User-to-User Interface).
8724
+ :rtype: str
8725
+ """
8726
+ return self._UUI
8727
+
8728
+ @UUI.setter
8729
+ def UUI(self, UUI):
8730
+ self._UUI = UUI
8731
+
8732
+ @property
8733
+ def Events(self):
8734
+ """List of events during a call.
8735
+ :rtype: list of SessionEvent
8736
+ """
8737
+ return self._Events
8738
+
8739
+ @Events.setter
8740
+ def Events(self, Events):
8741
+ self._Events = Events
8742
+
8743
+ @property
8744
+ def ServeParticipants(self):
8745
+ """List of service participants.
8746
+ :rtype: list of ServeParticipant
8747
+ """
8748
+ return self._ServeParticipants
8749
+
8750
+ @ServeParticipants.setter
8751
+ def ServeParticipants(self, ServeParticipants):
8752
+ self._ServeParticipants = ServeParticipants
8753
+
8754
+ @property
8755
+ def RequestId(self):
8756
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
8757
+ :rtype: str
8758
+ """
8759
+ return self._RequestId
8760
+
8761
+ @RequestId.setter
8762
+ def RequestId(self, RequestId):
8763
+ self._RequestId = RequestId
8764
+
8765
+
8766
+ def _deserialize(self, params):
8767
+ self._Caller = params.get("Caller")
8768
+ self._Callee = params.get("Callee")
8769
+ self._CallType = params.get("CallType")
8770
+ self._StartTimeStamp = params.get("StartTimeStamp")
8771
+ self._RingTimestamp = params.get("RingTimestamp")
8772
+ self._AcceptTimestamp = params.get("AcceptTimestamp")
8773
+ self._EndedTimestamp = params.get("EndedTimestamp")
8774
+ self._QueuedTimestamp = params.get("QueuedTimestamp")
8775
+ self._StaffUserId = params.get("StaffUserId")
8776
+ self._EndStatus = params.get("EndStatus")
8777
+ self._QueuedSkillGroupId = params.get("QueuedSkillGroupId")
8778
+ self._QueuedSkillGroupName = params.get("QueuedSkillGroupName")
8779
+ self._RecordURL = params.get("RecordURL")
8780
+ self._CustomRecordURL = params.get("CustomRecordURL")
8781
+ self._AsrURL = params.get("AsrURL")
8782
+ self._VoicemailRecordURL = params.get("VoicemailRecordURL")
8783
+ self._VoicemailAsrURL = params.get("VoicemailAsrURL")
8784
+ if params.get("IVRKeyPressed") is not None:
8785
+ self._IVRKeyPressed = []
8786
+ for item in params.get("IVRKeyPressed"):
8787
+ obj = IVRKeyPressedElement()
8788
+ obj._deserialize(item)
8789
+ self._IVRKeyPressed.append(obj)
8790
+ if params.get("PostIVRKeyPressed") is not None:
8791
+ self._PostIVRKeyPressed = []
8792
+ for item in params.get("PostIVRKeyPressed"):
8793
+ obj = IVRKeyPressedElement()
8794
+ obj._deserialize(item)
8795
+ self._PostIVRKeyPressed.append(obj)
8796
+ self._HungUpSide = params.get("HungUpSide")
8797
+ self._UUI = params.get("UUI")
8798
+ if params.get("Events") is not None:
8799
+ self._Events = []
8800
+ for item in params.get("Events"):
8801
+ obj = SessionEvent()
8802
+ obj._deserialize(item)
8803
+ self._Events.append(obj)
8804
+ if params.get("ServeParticipants") is not None:
8805
+ self._ServeParticipants = []
8806
+ for item in params.get("ServeParticipants"):
8807
+ obj = ServeParticipant()
8808
+ obj._deserialize(item)
8809
+ self._ServeParticipants.append(obj)
8810
+ self._RequestId = params.get("RequestId")
8811
+
8812
+
8813
+ class DescribeSkillGroupInfoListRequest(AbstractModel):
8814
+ """DescribeSkillGroupInfoList request structure.
8815
+
8816
+ """
8817
+
8818
+ def __init__(self):
8819
+ r"""
8820
+ :param _SdkAppId: Application id (required) can be found at https://console.cloud.tencent.com/ccc.
8821
+ :type SdkAppId: int
8822
+ :param _PageSize: Page size, upper limit 100.
8823
+ :type PageSize: int
8824
+ :param _PageNumber: <Page number starting from 0.>.
8825
+ :type PageNumber: int
8826
+ :param _SkillGroupId: Using skill group id when querying a single skill group.
8827
+ :type SkillGroupId: int
8828
+ :param _ModifiedTime: Used when querying skill groups with a modified time greater or equal to modifiedtime.
8829
+ :type ModifiedTime: int
8830
+ :param _SkillGroupName: Skill group name.
8831
+ :type SkillGroupName: str
8832
+ """
8833
+ self._SdkAppId = None
8834
+ self._PageSize = None
8835
+ self._PageNumber = None
8836
+ self._SkillGroupId = None
8837
+ self._ModifiedTime = None
8838
+ self._SkillGroupName = None
8839
+
8840
+ @property
8841
+ def SdkAppId(self):
8842
+ """Application id (required) can be found at https://console.cloud.tencent.com/ccc.
8843
+ :rtype: int
8844
+ """
8845
+ return self._SdkAppId
8846
+
8847
+ @SdkAppId.setter
8848
+ def SdkAppId(self, SdkAppId):
8849
+ self._SdkAppId = SdkAppId
8850
+
8851
+ @property
8852
+ def PageSize(self):
8853
+ """Page size, upper limit 100.
8854
+ :rtype: int
8855
+ """
8856
+ return self._PageSize
8857
+
8858
+ @PageSize.setter
8859
+ def PageSize(self, PageSize):
8860
+ self._PageSize = PageSize
8861
+
8862
+ @property
8863
+ def PageNumber(self):
8864
+ """<Page number starting from 0.>.
8865
+ :rtype: int
8866
+ """
8867
+ return self._PageNumber
8868
+
8869
+ @PageNumber.setter
8870
+ def PageNumber(self, PageNumber):
8871
+ self._PageNumber = PageNumber
8872
+
8873
+ @property
8874
+ def SkillGroupId(self):
8875
+ """Using skill group id when querying a single skill group.
8876
+ :rtype: int
8877
+ """
8878
+ return self._SkillGroupId
8879
+
8880
+ @SkillGroupId.setter
8881
+ def SkillGroupId(self, SkillGroupId):
8882
+ self._SkillGroupId = SkillGroupId
8883
+
8884
+ @property
8885
+ def ModifiedTime(self):
8886
+ """Used when querying skill groups with a modified time greater or equal to modifiedtime.
8887
+ :rtype: int
8888
+ """
8889
+ return self._ModifiedTime
8890
+
8891
+ @ModifiedTime.setter
8892
+ def ModifiedTime(self, ModifiedTime):
8893
+ self._ModifiedTime = ModifiedTime
8894
+
8895
+ @property
8896
+ def SkillGroupName(self):
8897
+ """Skill group name.
8898
+ :rtype: str
8899
+ """
8900
+ return self._SkillGroupName
8901
+
8902
+ @SkillGroupName.setter
8903
+ def SkillGroupName(self, SkillGroupName):
8904
+ self._SkillGroupName = SkillGroupName
8905
+
8906
+
8907
+ def _deserialize(self, params):
8908
+ self._SdkAppId = params.get("SdkAppId")
8909
+ self._PageSize = params.get("PageSize")
8910
+ self._PageNumber = params.get("PageNumber")
8911
+ self._SkillGroupId = params.get("SkillGroupId")
8912
+ self._ModifiedTime = params.get("ModifiedTime")
8913
+ self._SkillGroupName = params.get("SkillGroupName")
8914
+ memeber_set = set(params.keys())
8915
+ for name, value in vars(self).items():
8916
+ property_name = name[1:]
8917
+ if property_name in memeber_set:
8918
+ memeber_set.remove(property_name)
8919
+ if len(memeber_set) > 0:
8920
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
8921
+
8922
+
8923
+
8924
+ class DescribeSkillGroupInfoListResponse(AbstractModel):
8925
+ """DescribeSkillGroupInfoList response structure.
8926
+
8927
+ """
8928
+
8929
+ def __init__(self):
8930
+ r"""
8931
+ :param _TotalCount: Total number of skill groups.
8932
+ :type TotalCount: int
8933
+ :param _SkillGroupList: Skill group information list.
8934
+ :type SkillGroupList: list of SkillGroupInfoItem
8935
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
8936
+ :type RequestId: str
8937
+ """
8938
+ self._TotalCount = None
8939
+ self._SkillGroupList = None
8940
+ self._RequestId = None
8941
+
8942
+ @property
8943
+ def TotalCount(self):
8944
+ """Total number of skill groups.
8945
+ :rtype: int
8946
+ """
8947
+ return self._TotalCount
8948
+
8949
+ @TotalCount.setter
8950
+ def TotalCount(self, TotalCount):
8951
+ self._TotalCount = TotalCount
8952
+
8953
+ @property
8954
+ def SkillGroupList(self):
8955
+ """Skill group information list.
8956
+ :rtype: list of SkillGroupInfoItem
8957
+ """
8958
+ return self._SkillGroupList
8959
+
8960
+ @SkillGroupList.setter
8961
+ def SkillGroupList(self, SkillGroupList):
8962
+ self._SkillGroupList = SkillGroupList
8963
+
8964
+ @property
8965
+ def RequestId(self):
8966
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
8967
+ :rtype: str
8968
+ """
8969
+ return self._RequestId
8970
+
8971
+ @RequestId.setter
8972
+ def RequestId(self, RequestId):
8973
+ self._RequestId = RequestId
8031
8974
 
8032
8975
 
8033
8976
  def _deserialize(self, params):
@@ -8052,25 +8995,199 @@ class DescribeStaffInfoListRequest(AbstractModel):
8052
8995
  :type SdkAppId: int
8053
8996
  :param _PageSize: Page size, upper limit 9,999.
8054
8997
  :type PageSize: int
8055
- :param _PageNumber: Page number starting from 0.
8056
- :type PageNumber: int
8057
- :param _StaffMail: Agent account used when querying a single agent.
8058
- :type StaffMail: str
8059
- :param _ModifiedTime: Use when querying for agents with a modification time greater or equal to modifiedtime.
8060
- :type ModifiedTime: int
8061
- :param _SkillGroupId: Skill group id.
8062
- :type SkillGroupId: int
8998
+ :param _PageNumber: Page number starting from 0.
8999
+ :type PageNumber: int
9000
+ :param _StaffMail: Agent account used when querying a single agent.
9001
+ :type StaffMail: str
9002
+ :param _ModifiedTime: Use when querying for agents with a modification time greater or equal to modifiedtime.
9003
+ :type ModifiedTime: int
9004
+ :param _SkillGroupId: Skill group id.
9005
+ :type SkillGroupId: int
9006
+ """
9007
+ self._SdkAppId = None
9008
+ self._PageSize = None
9009
+ self._PageNumber = None
9010
+ self._StaffMail = None
9011
+ self._ModifiedTime = None
9012
+ self._SkillGroupId = None
9013
+
9014
+ @property
9015
+ def SdkAppId(self):
9016
+ """Application id (required) can be found at https://console.cloud.tencent.com/ccc.
9017
+ :rtype: int
9018
+ """
9019
+ return self._SdkAppId
9020
+
9021
+ @SdkAppId.setter
9022
+ def SdkAppId(self, SdkAppId):
9023
+ self._SdkAppId = SdkAppId
9024
+
9025
+ @property
9026
+ def PageSize(self):
9027
+ """Page size, upper limit 9,999.
9028
+ :rtype: int
9029
+ """
9030
+ return self._PageSize
9031
+
9032
+ @PageSize.setter
9033
+ def PageSize(self, PageSize):
9034
+ self._PageSize = PageSize
9035
+
9036
+ @property
9037
+ def PageNumber(self):
9038
+ """Page number starting from 0.
9039
+ :rtype: int
9040
+ """
9041
+ return self._PageNumber
9042
+
9043
+ @PageNumber.setter
9044
+ def PageNumber(self, PageNumber):
9045
+ self._PageNumber = PageNumber
9046
+
9047
+ @property
9048
+ def StaffMail(self):
9049
+ """Agent account used when querying a single agent.
9050
+ :rtype: str
9051
+ """
9052
+ return self._StaffMail
9053
+
9054
+ @StaffMail.setter
9055
+ def StaffMail(self, StaffMail):
9056
+ self._StaffMail = StaffMail
9057
+
9058
+ @property
9059
+ def ModifiedTime(self):
9060
+ """Use when querying for agents with a modification time greater or equal to modifiedtime.
9061
+ :rtype: int
9062
+ """
9063
+ return self._ModifiedTime
9064
+
9065
+ @ModifiedTime.setter
9066
+ def ModifiedTime(self, ModifiedTime):
9067
+ self._ModifiedTime = ModifiedTime
9068
+
9069
+ @property
9070
+ def SkillGroupId(self):
9071
+ """Skill group id.
9072
+ :rtype: int
9073
+ """
9074
+ return self._SkillGroupId
9075
+
9076
+ @SkillGroupId.setter
9077
+ def SkillGroupId(self, SkillGroupId):
9078
+ self._SkillGroupId = SkillGroupId
9079
+
9080
+
9081
+ def _deserialize(self, params):
9082
+ self._SdkAppId = params.get("SdkAppId")
9083
+ self._PageSize = params.get("PageSize")
9084
+ self._PageNumber = params.get("PageNumber")
9085
+ self._StaffMail = params.get("StaffMail")
9086
+ self._ModifiedTime = params.get("ModifiedTime")
9087
+ self._SkillGroupId = params.get("SkillGroupId")
9088
+ memeber_set = set(params.keys())
9089
+ for name, value in vars(self).items():
9090
+ property_name = name[1:]
9091
+ if property_name in memeber_set:
9092
+ memeber_set.remove(property_name)
9093
+ if len(memeber_set) > 0:
9094
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9095
+
9096
+
9097
+
9098
+ class DescribeStaffInfoListResponse(AbstractModel):
9099
+ """DescribeStaffInfoList response structure.
9100
+
9101
+ """
9102
+
9103
+ def __init__(self):
9104
+ r"""
9105
+ :param _TotalCount: Total number of agent users.
9106
+ :type TotalCount: int
9107
+ :param _StaffList: Agent user information list.
9108
+ :type StaffList: list of StaffInfo
9109
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
9110
+ :type RequestId: str
9111
+ """
9112
+ self._TotalCount = None
9113
+ self._StaffList = None
9114
+ self._RequestId = None
9115
+
9116
+ @property
9117
+ def TotalCount(self):
9118
+ """Total number of agent users.
9119
+ :rtype: int
9120
+ """
9121
+ return self._TotalCount
9122
+
9123
+ @TotalCount.setter
9124
+ def TotalCount(self, TotalCount):
9125
+ self._TotalCount = TotalCount
9126
+
9127
+ @property
9128
+ def StaffList(self):
9129
+ """Agent user information list.
9130
+ :rtype: list of StaffInfo
9131
+ """
9132
+ return self._StaffList
9133
+
9134
+ @StaffList.setter
9135
+ def StaffList(self, StaffList):
9136
+ self._StaffList = StaffList
9137
+
9138
+ @property
9139
+ def RequestId(self):
9140
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
9141
+ :rtype: str
9142
+ """
9143
+ return self._RequestId
9144
+
9145
+ @RequestId.setter
9146
+ def RequestId(self, RequestId):
9147
+ self._RequestId = RequestId
9148
+
9149
+
9150
+ def _deserialize(self, params):
9151
+ self._TotalCount = params.get("TotalCount")
9152
+ if params.get("StaffList") is not None:
9153
+ self._StaffList = []
9154
+ for item in params.get("StaffList"):
9155
+ obj = StaffInfo()
9156
+ obj._deserialize(item)
9157
+ self._StaffList.append(obj)
9158
+ self._RequestId = params.get("RequestId")
9159
+
9160
+
9161
+ class DescribeStaffStatusHistoryRequest(AbstractModel):
9162
+ """DescribeStaffStatusHistory request structure.
9163
+
9164
+ """
9165
+
9166
+ def __init__(self):
9167
+ r"""
9168
+ :param _SdkAppId: App ID (required). can be used to view https://console.cloud.tencent.com/ccc.
9169
+ :type SdkAppId: int
9170
+ :param _StaffUserId: Agent account.
9171
+ :type StaffUserId: str
9172
+ :param _StartTimestamp: Start timestamp. Unix second-level timestamp. supports up to nearly 180 days.
9173
+ :type StartTimestamp: int
9174
+ :param _EndTimestamp: End timestamp, Unix second-level timestamp. the interval range between end time and start time is less than 7 days.
9175
+ :type EndTimestamp: int
9176
+ :param _Cursor: Specifies the cursor used during paginated retrieval.
9177
+ :type Cursor: str
9178
+ :param _PageSize: Specifies the pagination size.
9179
+ :type PageSize: int
8063
9180
  """
8064
9181
  self._SdkAppId = None
9182
+ self._StaffUserId = None
9183
+ self._StartTimestamp = None
9184
+ self._EndTimestamp = None
9185
+ self._Cursor = None
8065
9186
  self._PageSize = None
8066
- self._PageNumber = None
8067
- self._StaffMail = None
8068
- self._ModifiedTime = None
8069
- self._SkillGroupId = None
8070
9187
 
8071
9188
  @property
8072
9189
  def SdkAppId(self):
8073
- """Application id (required) can be found at https://console.cloud.tencent.com/ccc.
9190
+ """App ID (required). can be used to view https://console.cloud.tencent.com/ccc.
8074
9191
  :rtype: int
8075
9192
  """
8076
9193
  return self._SdkAppId
@@ -8080,68 +9197,68 @@ class DescribeStaffInfoListRequest(AbstractModel):
8080
9197
  self._SdkAppId = SdkAppId
8081
9198
 
8082
9199
  @property
8083
- def PageSize(self):
8084
- """Page size, upper limit 9,999.
8085
- :rtype: int
9200
+ def StaffUserId(self):
9201
+ """Agent account.
9202
+ :rtype: str
8086
9203
  """
8087
- return self._PageSize
9204
+ return self._StaffUserId
8088
9205
 
8089
- @PageSize.setter
8090
- def PageSize(self, PageSize):
8091
- self._PageSize = PageSize
9206
+ @StaffUserId.setter
9207
+ def StaffUserId(self, StaffUserId):
9208
+ self._StaffUserId = StaffUserId
8092
9209
 
8093
9210
  @property
8094
- def PageNumber(self):
8095
- """Page number starting from 0.
9211
+ def StartTimestamp(self):
9212
+ """Start timestamp. Unix second-level timestamp. supports up to nearly 180 days.
8096
9213
  :rtype: int
8097
9214
  """
8098
- return self._PageNumber
9215
+ return self._StartTimestamp
8099
9216
 
8100
- @PageNumber.setter
8101
- def PageNumber(self, PageNumber):
8102
- self._PageNumber = PageNumber
9217
+ @StartTimestamp.setter
9218
+ def StartTimestamp(self, StartTimestamp):
9219
+ self._StartTimestamp = StartTimestamp
8103
9220
 
8104
9221
  @property
8105
- def StaffMail(self):
8106
- """Agent account used when querying a single agent.
8107
- :rtype: str
9222
+ def EndTimestamp(self):
9223
+ """End timestamp, Unix second-level timestamp. the interval range between end time and start time is less than 7 days.
9224
+ :rtype: int
8108
9225
  """
8109
- return self._StaffMail
9226
+ return self._EndTimestamp
8110
9227
 
8111
- @StaffMail.setter
8112
- def StaffMail(self, StaffMail):
8113
- self._StaffMail = StaffMail
9228
+ @EndTimestamp.setter
9229
+ def EndTimestamp(self, EndTimestamp):
9230
+ self._EndTimestamp = EndTimestamp
8114
9231
 
8115
9232
  @property
8116
- def ModifiedTime(self):
8117
- """Use when querying for agents with a modification time greater or equal to modifiedtime.
8118
- :rtype: int
9233
+ def Cursor(self):
9234
+ """Specifies the cursor used during paginated retrieval.
9235
+ :rtype: str
8119
9236
  """
8120
- return self._ModifiedTime
9237
+ return self._Cursor
8121
9238
 
8122
- @ModifiedTime.setter
8123
- def ModifiedTime(self, ModifiedTime):
8124
- self._ModifiedTime = ModifiedTime
9239
+ @Cursor.setter
9240
+ def Cursor(self, Cursor):
9241
+ self._Cursor = Cursor
8125
9242
 
8126
9243
  @property
8127
- def SkillGroupId(self):
8128
- """Skill group id.
9244
+ def PageSize(self):
9245
+ """Specifies the pagination size.
8129
9246
  :rtype: int
8130
9247
  """
8131
- return self._SkillGroupId
9248
+ return self._PageSize
8132
9249
 
8133
- @SkillGroupId.setter
8134
- def SkillGroupId(self, SkillGroupId):
8135
- self._SkillGroupId = SkillGroupId
9250
+ @PageSize.setter
9251
+ def PageSize(self, PageSize):
9252
+ self._PageSize = PageSize
8136
9253
 
8137
9254
 
8138
9255
  def _deserialize(self, params):
8139
9256
  self._SdkAppId = params.get("SdkAppId")
9257
+ self._StaffUserId = params.get("StaffUserId")
9258
+ self._StartTimestamp = params.get("StartTimestamp")
9259
+ self._EndTimestamp = params.get("EndTimestamp")
9260
+ self._Cursor = params.get("Cursor")
8140
9261
  self._PageSize = params.get("PageSize")
8141
- self._PageNumber = params.get("PageNumber")
8142
- self._StaffMail = params.get("StaffMail")
8143
- self._ModifiedTime = params.get("ModifiedTime")
8144
- self._SkillGroupId = params.get("SkillGroupId")
8145
9262
  memeber_set = set(params.keys())
8146
9263
  for name, value in vars(self).items():
8147
9264
  property_name = name[1:]
@@ -8152,45 +9269,31 @@ class DescribeStaffInfoListRequest(AbstractModel):
8152
9269
 
8153
9270
 
8154
9271
 
8155
- class DescribeStaffInfoListResponse(AbstractModel):
8156
- """DescribeStaffInfoList response structure.
9272
+ class DescribeStaffStatusHistoryResponse(AbstractModel):
9273
+ """DescribeStaffStatusHistory response structure.
8157
9274
 
8158
9275
  """
8159
9276
 
8160
9277
  def __init__(self):
8161
9278
  r"""
8162
- :param _TotalCount: Total number of agent users.
8163
- :type TotalCount: int
8164
- :param _StaffList: Agent user information list.
8165
- :type StaffList: list of StaffInfo
9279
+ :param _Data: Specifies the agent status data.
9280
+ :type Data: list of StaffStatus
8166
9281
  :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
8167
9282
  :type RequestId: str
8168
9283
  """
8169
- self._TotalCount = None
8170
- self._StaffList = None
9284
+ self._Data = None
8171
9285
  self._RequestId = None
8172
9286
 
8173
9287
  @property
8174
- def TotalCount(self):
8175
- """Total number of agent users.
8176
- :rtype: int
8177
- """
8178
- return self._TotalCount
8179
-
8180
- @TotalCount.setter
8181
- def TotalCount(self, TotalCount):
8182
- self._TotalCount = TotalCount
8183
-
8184
- @property
8185
- def StaffList(self):
8186
- """Agent user information list.
8187
- :rtype: list of StaffInfo
9288
+ def Data(self):
9289
+ """Specifies the agent status data.
9290
+ :rtype: list of StaffStatus
8188
9291
  """
8189
- return self._StaffList
9292
+ return self._Data
8190
9293
 
8191
- @StaffList.setter
8192
- def StaffList(self, StaffList):
8193
- self._StaffList = StaffList
9294
+ @Data.setter
9295
+ def Data(self, Data):
9296
+ self._Data = Data
8194
9297
 
8195
9298
  @property
8196
9299
  def RequestId(self):
@@ -8205,13 +9308,12 @@ class DescribeStaffInfoListResponse(AbstractModel):
8205
9308
 
8206
9309
 
8207
9310
  def _deserialize(self, params):
8208
- self._TotalCount = params.get("TotalCount")
8209
- if params.get("StaffList") is not None:
8210
- self._StaffList = []
8211
- for item in params.get("StaffList"):
8212
- obj = StaffInfo()
9311
+ if params.get("Data") is not None:
9312
+ self._Data = []
9313
+ for item in params.get("Data"):
9314
+ obj = StaffStatus()
8213
9315
  obj._deserialize(item)
8214
- self._StaffList.append(obj)
9316
+ self._Data.append(obj)
8215
9317
  self._RequestId = params.get("RequestId")
8216
9318
 
8217
9319
 
@@ -9164,6 +10266,98 @@ class ErrStaffItem(AbstractModel):
9164
10266
 
9165
10267
 
9166
10268
 
10269
+ class EventStaffDetail(AbstractModel):
10270
+ """Event details.
10271
+
10272
+ """
10273
+
10274
+ def __init__(self):
10275
+ r"""
10276
+ :param _Staffs: Specifies the agent data.
10277
+ :type Staffs: list of EventStaffElement
10278
+ """
10279
+ self._Staffs = None
10280
+
10281
+ @property
10282
+ def Staffs(self):
10283
+ """Specifies the agent data.
10284
+ :rtype: list of EventStaffElement
10285
+ """
10286
+ return self._Staffs
10287
+
10288
+ @Staffs.setter
10289
+ def Staffs(self, Staffs):
10290
+ self._Staffs = Staffs
10291
+
10292
+
10293
+ def _deserialize(self, params):
10294
+ if params.get("Staffs") is not None:
10295
+ self._Staffs = []
10296
+ for item in params.get("Staffs"):
10297
+ obj = EventStaffElement()
10298
+ obj._deserialize(item)
10299
+ self._Staffs.append(obj)
10300
+ memeber_set = set(params.keys())
10301
+ for name, value in vars(self).items():
10302
+ property_name = name[1:]
10303
+ if property_name in memeber_set:
10304
+ memeber_set.remove(property_name)
10305
+ if len(memeber_set) > 0:
10306
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10307
+
10308
+
10309
+
10310
+ class EventStaffElement(AbstractModel):
10311
+ """Agent information.
10312
+
10313
+ """
10314
+
10315
+ def __init__(self):
10316
+ r"""
10317
+ :param _Mail: Agent email address.
10318
+ :type Mail: str
10319
+ :param _StaffNumber: Agent id.
10320
+ :type StaffNumber: str
10321
+ """
10322
+ self._Mail = None
10323
+ self._StaffNumber = None
10324
+
10325
+ @property
10326
+ def Mail(self):
10327
+ """Agent email address.
10328
+ :rtype: str
10329
+ """
10330
+ return self._Mail
10331
+
10332
+ @Mail.setter
10333
+ def Mail(self, Mail):
10334
+ self._Mail = Mail
10335
+
10336
+ @property
10337
+ def StaffNumber(self):
10338
+ """Agent id.
10339
+ :rtype: str
10340
+ """
10341
+ return self._StaffNumber
10342
+
10343
+ @StaffNumber.setter
10344
+ def StaffNumber(self, StaffNumber):
10345
+ self._StaffNumber = StaffNumber
10346
+
10347
+
10348
+ def _deserialize(self, params):
10349
+ self._Mail = params.get("Mail")
10350
+ self._StaffNumber = params.get("StaffNumber")
10351
+ memeber_set = set(params.keys())
10352
+ for name, value in vars(self).items():
10353
+ property_name = name[1:]
10354
+ if property_name in memeber_set:
10355
+ memeber_set.remove(property_name)
10356
+ if len(memeber_set) > 0:
10357
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10358
+
10359
+
10360
+
9167
10361
  class ExtensionInfo(AbstractModel):
9168
10362
  """Telephone information.
9169
10363
 
@@ -9362,35 +10556,131 @@ class ForceMemberOfflineRequest(AbstractModel):
9362
10556
  :param _UserId: Customer service ID.
9363
10557
  :type UserId: str
9364
10558
  """
9365
- self._SdkAppId = None
9366
- self._UserId = None
10559
+ self._SdkAppId = None
10560
+ self._UserId = None
10561
+
10562
+ @property
10563
+ def SdkAppId(self):
10564
+ """App ID (required), which can be viewed at https://console.cloud.tencent.com/ccc.
10565
+ :rtype: int
10566
+ """
10567
+ return self._SdkAppId
10568
+
10569
+ @SdkAppId.setter
10570
+ def SdkAppId(self, SdkAppId):
10571
+ self._SdkAppId = SdkAppId
10572
+
10573
+ @property
10574
+ def UserId(self):
10575
+ """Customer service ID.
10576
+ :rtype: str
10577
+ """
10578
+ return self._UserId
10579
+
10580
+ @UserId.setter
10581
+ def UserId(self, UserId):
10582
+ self._UserId = UserId
10583
+
10584
+
10585
+ def _deserialize(self, params):
10586
+ self._SdkAppId = params.get("SdkAppId")
10587
+ self._UserId = params.get("UserId")
10588
+ memeber_set = set(params.keys())
10589
+ for name, value in vars(self).items():
10590
+ property_name = name[1:]
10591
+ if property_name in memeber_set:
10592
+ memeber_set.remove(property_name)
10593
+ if len(memeber_set) > 0:
10594
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10595
+
10596
+
10597
+
10598
+ class ForceMemberOfflineResponse(AbstractModel):
10599
+ """ForceMemberOffline response structure.
10600
+
10601
+ """
10602
+
10603
+ def __init__(self):
10604
+ r"""
10605
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
10606
+ :type RequestId: str
10607
+ """
10608
+ self._RequestId = None
10609
+
10610
+ @property
10611
+ def RequestId(self):
10612
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
10613
+ :rtype: str
10614
+ """
10615
+ return self._RequestId
10616
+
10617
+ @RequestId.setter
10618
+ def RequestId(self, RequestId):
10619
+ self._RequestId = RequestId
10620
+
10621
+
10622
+ def _deserialize(self, params):
10623
+ self._RequestId = params.get("RequestId")
10624
+
10625
+
10626
+ class ForwardingConfig(AbstractModel):
10627
+ """Call forwarding configuration.
10628
+
10629
+ """
10630
+
10631
+ def __init__(self):
10632
+ r"""
10633
+ :param _Enabled: Whether to enable.
10634
+ :type Enabled: bool
10635
+ :param _Condition: 1 unconditional call forwarding 2 conditional call forwarding.
10636
+ :type Condition: int
10637
+ :param _Target: Call forwarding destination.
10638
+ :type Target: :class:`tencentcloud.ccc.v20200210.models.ForwardingTarget`
10639
+ """
10640
+ self._Enabled = None
10641
+ self._Condition = None
10642
+ self._Target = None
10643
+
10644
+ @property
10645
+ def Enabled(self):
10646
+ """Whether to enable.
10647
+ :rtype: bool
10648
+ """
10649
+ return self._Enabled
10650
+
10651
+ @Enabled.setter
10652
+ def Enabled(self, Enabled):
10653
+ self._Enabled = Enabled
9367
10654
 
9368
10655
  @property
9369
- def SdkAppId(self):
9370
- """App ID (required), which can be viewed at https://console.cloud.tencent.com/ccc.
10656
+ def Condition(self):
10657
+ """1 unconditional call forwarding 2 conditional call forwarding.
9371
10658
  :rtype: int
9372
10659
  """
9373
- return self._SdkAppId
10660
+ return self._Condition
9374
10661
 
9375
- @SdkAppId.setter
9376
- def SdkAppId(self, SdkAppId):
9377
- self._SdkAppId = SdkAppId
10662
+ @Condition.setter
10663
+ def Condition(self, Condition):
10664
+ self._Condition = Condition
9378
10665
 
9379
10666
  @property
9380
- def UserId(self):
9381
- """Customer service ID.
9382
- :rtype: str
10667
+ def Target(self):
10668
+ """Call forwarding destination.
10669
+ :rtype: :class:`tencentcloud.ccc.v20200210.models.ForwardingTarget`
9383
10670
  """
9384
- return self._UserId
10671
+ return self._Target
9385
10672
 
9386
- @UserId.setter
9387
- def UserId(self, UserId):
9388
- self._UserId = UserId
10673
+ @Target.setter
10674
+ def Target(self, Target):
10675
+ self._Target = Target
9389
10676
 
9390
10677
 
9391
10678
  def _deserialize(self, params):
9392
- self._SdkAppId = params.get("SdkAppId")
9393
- self._UserId = params.get("UserId")
10679
+ self._Enabled = params.get("Enabled")
10680
+ self._Condition = params.get("Condition")
10681
+ if params.get("Target") is not None:
10682
+ self._Target = ForwardingTarget()
10683
+ self._Target._deserialize(params.get("Target"))
9394
10684
  memeber_set = set(params.keys())
9395
10685
  for name, value in vars(self).items():
9396
10686
  property_name = name[1:]
@@ -9401,32 +10691,85 @@ class ForceMemberOfflineRequest(AbstractModel):
9401
10691
 
9402
10692
 
9403
10693
 
9404
- class ForceMemberOfflineResponse(AbstractModel):
9405
- """ForceMemberOffline response structure.
10694
+ class ForwardingTarget(AbstractModel):
10695
+ """Call forwarding destination.
9406
10696
 
9407
10697
  """
9408
10698
 
9409
10699
  def __init__(self):
9410
10700
  r"""
9411
- :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
9412
- :type RequestId: str
10701
+ :param _Type: Call forwarding target type. valid values: 1 (agent), 2 (skill group), 3 (extension).
10702
+ :type Type: int
10703
+ :param _StaffUserId: Specifies the agent account when the call forwarding target is set to agent and Type is 1.
10704
+ :type StaffUserId: str
10705
+ :param _SkillGroupId: Specifies the ID of the skill group as the call forwarding target. fill when Type is 2.
10706
+ :type SkillGroupId: int
10707
+ :param _Extension: The account to which the call is forwarded is an extension. fill when Type is 3.
10708
+ :type Extension: str
9413
10709
  """
9414
- self._RequestId = None
10710
+ self._Type = None
10711
+ self._StaffUserId = None
10712
+ self._SkillGroupId = None
10713
+ self._Extension = None
9415
10714
 
9416
10715
  @property
9417
- def RequestId(self):
9418
- """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
10716
+ def Type(self):
10717
+ """Call forwarding target type. valid values: 1 (agent), 2 (skill group), 3 (extension).
10718
+ :rtype: int
10719
+ """
10720
+ return self._Type
10721
+
10722
+ @Type.setter
10723
+ def Type(self, Type):
10724
+ self._Type = Type
10725
+
10726
+ @property
10727
+ def StaffUserId(self):
10728
+ """Specifies the agent account when the call forwarding target is set to agent and Type is 1.
9419
10729
  :rtype: str
9420
10730
  """
9421
- return self._RequestId
10731
+ return self._StaffUserId
9422
10732
 
9423
- @RequestId.setter
9424
- def RequestId(self, RequestId):
9425
- self._RequestId = RequestId
10733
+ @StaffUserId.setter
10734
+ def StaffUserId(self, StaffUserId):
10735
+ self._StaffUserId = StaffUserId
10736
+
10737
+ @property
10738
+ def SkillGroupId(self):
10739
+ """Specifies the ID of the skill group as the call forwarding target. fill when Type is 2.
10740
+ :rtype: int
10741
+ """
10742
+ return self._SkillGroupId
10743
+
10744
+ @SkillGroupId.setter
10745
+ def SkillGroupId(self, SkillGroupId):
10746
+ self._SkillGroupId = SkillGroupId
10747
+
10748
+ @property
10749
+ def Extension(self):
10750
+ """The account to which the call is forwarded is an extension. fill when Type is 3.
10751
+ :rtype: str
10752
+ """
10753
+ return self._Extension
10754
+
10755
+ @Extension.setter
10756
+ def Extension(self, Extension):
10757
+ self._Extension = Extension
9426
10758
 
9427
10759
 
9428
10760
  def _deserialize(self, params):
9429
- self._RequestId = params.get("RequestId")
10761
+ self._Type = params.get("Type")
10762
+ self._StaffUserId = params.get("StaffUserId")
10763
+ self._SkillGroupId = params.get("SkillGroupId")
10764
+ self._Extension = params.get("Extension")
10765
+ memeber_set = set(params.keys())
10766
+ for name, value in vars(self).items():
10767
+ property_name = name[1:]
10768
+ if property_name in memeber_set:
10769
+ memeber_set.remove(property_name)
10770
+ if len(memeber_set) > 0:
10771
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10772
+
9430
10773
 
9431
10774
 
9432
10775
  class HangUpCallRequest(AbstractModel):
@@ -9619,6 +10962,42 @@ class IVRKeyPressedElement(AbstractModel):
9619
10962
 
9620
10963
 
9621
10964
 
10965
+ class Interface(AbstractModel):
10966
+ """Callback api.
10967
+
10968
+ """
10969
+
10970
+ def __init__(self):
10971
+ r"""
10972
+ :param _URL: API address
10973
+ :type URL: str
10974
+ """
10975
+ self._URL = None
10976
+
10977
+ @property
10978
+ def URL(self):
10979
+ """API address
10980
+ :rtype: str
10981
+ """
10982
+ return self._URL
10983
+
10984
+ @URL.setter
10985
+ def URL(self, URL):
10986
+ self._URL = URL
10987
+
10988
+
10989
+ def _deserialize(self, params):
10990
+ self._URL = params.get("URL")
10991
+ memeber_set = set(params.keys())
10992
+ for name, value in vars(self).items():
10993
+ property_name = name[1:]
10994
+ if property_name in memeber_set:
10995
+ memeber_set.remove(property_name)
10996
+ if len(memeber_set) > 0:
10997
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10998
+
10999
+
11000
+
9622
11001
  class ModifyExtensionRequest(AbstractModel):
9623
11002
  """ModifyExtension request structure.
9624
11003
 
@@ -9978,6 +11357,8 @@ class ModifyStaffRequest(AbstractModel):
9978
11357
  :type UseMobileAccept: int
9979
11358
  :param _ExtensionNumber: Agent extension number (starting with 1 to 8, 4 - 6 digits).
9980
11359
  :type ExtensionNumber: str
11360
+ :param _ForwardingConfig: Call forwarding configuration.
11361
+ :type ForwardingConfig: :class:`tencentcloud.ccc.v20200210.models.ForwardingConfig`
9981
11362
  """
9982
11363
  self._SdkAppId = None
9983
11364
  self._Email = None
@@ -9989,6 +11370,7 @@ class ModifyStaffRequest(AbstractModel):
9989
11370
  self._UseMobileCallOut = None
9990
11371
  self._UseMobileAccept = None
9991
11372
  self._ExtensionNumber = None
11373
+ self._ForwardingConfig = None
9992
11374
 
9993
11375
  @property
9994
11376
  def SdkAppId(self):
@@ -10100,6 +11482,17 @@ class ModifyStaffRequest(AbstractModel):
10100
11482
  def ExtensionNumber(self, ExtensionNumber):
10101
11483
  self._ExtensionNumber = ExtensionNumber
10102
11484
 
11485
+ @property
11486
+ def ForwardingConfig(self):
11487
+ """Call forwarding configuration.
11488
+ :rtype: :class:`tencentcloud.ccc.v20200210.models.ForwardingConfig`
11489
+ """
11490
+ return self._ForwardingConfig
11491
+
11492
+ @ForwardingConfig.setter
11493
+ def ForwardingConfig(self, ForwardingConfig):
11494
+ self._ForwardingConfig = ForwardingConfig
11495
+
10103
11496
 
10104
11497
  def _deserialize(self, params):
10105
11498
  self._SdkAppId = params.get("SdkAppId")
@@ -10112,6 +11505,9 @@ class ModifyStaffRequest(AbstractModel):
10112
11505
  self._UseMobileCallOut = params.get("UseMobileCallOut")
10113
11506
  self._UseMobileAccept = params.get("UseMobileAccept")
10114
11507
  self._ExtensionNumber = params.get("ExtensionNumber")
11508
+ if params.get("ForwardingConfig") is not None:
11509
+ self._ForwardingConfig = ForwardingConfig()
11510
+ self._ForwardingConfig._deserialize(params.get("ForwardingConfig"))
10115
11511
  memeber_set = set(params.keys())
10116
11512
  for name, value in vars(self).items():
10117
11513
  property_name = name[1:]
@@ -11792,113 +13188,329 @@ class ServeParticipant(AbstractModel):
11792
13188
  self._TransferTo = TransferTo
11793
13189
 
11794
13190
  @property
11795
- def TransferToType(self):
11796
- """Transfer destination participant type, which is consistent with type values.
13191
+ def TransferToType(self):
13192
+ """Transfer destination participant type, which is consistent with type values.
13193
+ :rtype: str
13194
+ """
13195
+ return self._TransferToType
13196
+
13197
+ @TransferToType.setter
13198
+ def TransferToType(self, TransferToType):
13199
+ self._TransferToType = TransferToType
13200
+
13201
+ @property
13202
+ def SkillGroupId(self):
13203
+ """Skill group id.
13204
+ :rtype: int
13205
+ """
13206
+ return self._SkillGroupId
13207
+
13208
+ @SkillGroupId.setter
13209
+ def SkillGroupId(self, SkillGroupId):
13210
+ self._SkillGroupId = SkillGroupId
13211
+
13212
+ @property
13213
+ def EndStatusString(self):
13214
+ """Ending status.
13215
+ :rtype: str
13216
+ """
13217
+ return self._EndStatusString
13218
+
13219
+ @EndStatusString.setter
13220
+ def EndStatusString(self, EndStatusString):
13221
+ self._EndStatusString = EndStatusString
13222
+
13223
+ @property
13224
+ def RecordURL(self):
13225
+ """Recording url.
13226
+ :rtype: str
13227
+ """
13228
+ return self._RecordURL
13229
+
13230
+ @RecordURL.setter
13231
+ def RecordURL(self, RecordURL):
13232
+ self._RecordURL = RecordURL
13233
+
13234
+ @property
13235
+ def Sequence(self):
13236
+ """Participant sequence number, starting from 0.
13237
+ :rtype: int
13238
+ """
13239
+ return self._Sequence
13240
+
13241
+ @Sequence.setter
13242
+ def Sequence(self, Sequence):
13243
+ self._Sequence = Sequence
13244
+
13245
+ @property
13246
+ def StartTimestamp(self):
13247
+ """Start timestamp. unix second-level timestamp.
13248
+ :rtype: int
13249
+ """
13250
+ return self._StartTimestamp
13251
+
13252
+ @StartTimestamp.setter
13253
+ def StartTimestamp(self, StartTimestamp):
13254
+ self._StartTimestamp = StartTimestamp
13255
+
13256
+ @property
13257
+ def SkillGroupName(self):
13258
+ """Skill group name.
13259
+ :rtype: str
13260
+ """
13261
+ return self._SkillGroupName
13262
+
13263
+ @SkillGroupName.setter
13264
+ def SkillGroupName(self, SkillGroupName):
13265
+ self._SkillGroupName = SkillGroupName
13266
+
13267
+ @property
13268
+ def CustomRecordURL(self):
13269
+ """Address of the third-party cos for transferring recording.
13270
+ :rtype: str
13271
+ """
13272
+ return self._CustomRecordURL
13273
+
13274
+ @CustomRecordURL.setter
13275
+ def CustomRecordURL(self, CustomRecordURL):
13276
+ self._CustomRecordURL = CustomRecordURL
13277
+
13278
+
13279
+ def _deserialize(self, params):
13280
+ self._Mail = params.get("Mail")
13281
+ self._Phone = params.get("Phone")
13282
+ self._RingTimestamp = params.get("RingTimestamp")
13283
+ self._AcceptTimestamp = params.get("AcceptTimestamp")
13284
+ self._EndedTimestamp = params.get("EndedTimestamp")
13285
+ self._RecordId = params.get("RecordId")
13286
+ self._Type = params.get("Type")
13287
+ self._TransferFrom = params.get("TransferFrom")
13288
+ self._TransferFromType = params.get("TransferFromType")
13289
+ self._TransferTo = params.get("TransferTo")
13290
+ self._TransferToType = params.get("TransferToType")
13291
+ self._SkillGroupId = params.get("SkillGroupId")
13292
+ self._EndStatusString = params.get("EndStatusString")
13293
+ self._RecordURL = params.get("RecordURL")
13294
+ self._Sequence = params.get("Sequence")
13295
+ self._StartTimestamp = params.get("StartTimestamp")
13296
+ self._SkillGroupName = params.get("SkillGroupName")
13297
+ self._CustomRecordURL = params.get("CustomRecordURL")
13298
+ memeber_set = set(params.keys())
13299
+ for name, value in vars(self).items():
13300
+ property_name = name[1:]
13301
+ if property_name in memeber_set:
13302
+ memeber_set.remove(property_name)
13303
+ if len(memeber_set) > 0:
13304
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13305
+
13306
+
13307
+
13308
+ class ServerPushText(AbstractModel):
13309
+ """Server controls the chatbot to broadcast specified text.
13310
+
13311
+ """
13312
+
13313
+ def __init__(self):
13314
+ r"""
13315
+ :param _Text: Specifies the server push broadcast text.
13316
+ :type Text: str
13317
+ :param _Interrupt: Whether to allow the text to interrupt the robot's speaking.
13318
+ :type Interrupt: bool
13319
+ :param _StopAfterPlay: Specifies whether to automatically close the dialogue task after broadcasting the text.
13320
+ :type StopAfterPlay: bool
13321
+ :param _Audio: Specifies the server push broadcast audio.
13322
+ Format description: audio must be mono, sampling rate should be consistent with the corresponding TTS, and coded as a Base64 string.
13323
+ Input rules: when the Audio field is provided, the system will not accept input in the Text field. the system will play the Audio content in the Audio field directly.
13324
+ :type Audio: str
13325
+ :param _DropMode: Defaults to 0. valid only when Interrupt is false.
13326
+ -0 indicates that messages with Interrupt set to false will be dropped when there is an interaction.
13327
+ -Indicates that when there is an interaction in progress, messages with Interrupt set to false will not be dropped but cached and processed after the current interaction is completed.
13328
+
13329
+ Note: when DropMode is 1, the cache allows multiple messages. if an interruption occurs subsequently, cached messages will be cleared.
13330
+ :type DropMode: int
13331
+ :param _Priority: Message priority of ServerPushText. 0 means interruptible. 1 means not interruptible.
13332
+ Note: after receiving a message with Priority=1, any other messages will be ignored (including messages with Priority=1) until the message processing of Priority=1 is complete. this field can be used together with the Interrupt and DropMode fields.
13333
+ Example.
13334
+ -Priority=1, Interrupt=true. specifies to Interrupt existing interaction and broadcast immediately. the broadcast will not be interrupted during the process.
13335
+ -Priority=1, Interrupt=false, DropMode=1. waits for the current interaction to complete before broadcasting. the broadcast will not be interrupted during the process.
13336
+
13337
+ :type Priority: int
13338
+ :param _AddHistory: Specifies whether the text is added to the llm history context.
13339
+ :type AddHistory: bool
13340
+ """
13341
+ self._Text = None
13342
+ self._Interrupt = None
13343
+ self._StopAfterPlay = None
13344
+ self._Audio = None
13345
+ self._DropMode = None
13346
+ self._Priority = None
13347
+ self._AddHistory = None
13348
+
13349
+ @property
13350
+ def Text(self):
13351
+ """Specifies the server push broadcast text.
13352
+ :rtype: str
13353
+ """
13354
+ return self._Text
13355
+
13356
+ @Text.setter
13357
+ def Text(self, Text):
13358
+ self._Text = Text
13359
+
13360
+ @property
13361
+ def Interrupt(self):
13362
+ """Whether to allow the text to interrupt the robot's speaking.
13363
+ :rtype: bool
13364
+ """
13365
+ return self._Interrupt
13366
+
13367
+ @Interrupt.setter
13368
+ def Interrupt(self, Interrupt):
13369
+ self._Interrupt = Interrupt
13370
+
13371
+ @property
13372
+ def StopAfterPlay(self):
13373
+ """Specifies whether to automatically close the dialogue task after broadcasting the text.
13374
+ :rtype: bool
13375
+ """
13376
+ return self._StopAfterPlay
13377
+
13378
+ @StopAfterPlay.setter
13379
+ def StopAfterPlay(self, StopAfterPlay):
13380
+ self._StopAfterPlay = StopAfterPlay
13381
+
13382
+ @property
13383
+ def Audio(self):
13384
+ """Specifies the server push broadcast audio.
13385
+ Format description: audio must be mono, sampling rate should be consistent with the corresponding TTS, and coded as a Base64 string.
13386
+ Input rules: when the Audio field is provided, the system will not accept input in the Text field. the system will play the Audio content in the Audio field directly.
11797
13387
  :rtype: str
11798
13388
  """
11799
- return self._TransferToType
13389
+ return self._Audio
11800
13390
 
11801
- @TransferToType.setter
11802
- def TransferToType(self, TransferToType):
11803
- self._TransferToType = TransferToType
13391
+ @Audio.setter
13392
+ def Audio(self, Audio):
13393
+ self._Audio = Audio
11804
13394
 
11805
13395
  @property
11806
- def SkillGroupId(self):
11807
- """Skill group id.
13396
+ def DropMode(self):
13397
+ """Defaults to 0. valid only when Interrupt is false.
13398
+ -0 indicates that messages with Interrupt set to false will be dropped when there is an interaction.
13399
+ -Indicates that when there is an interaction in progress, messages with Interrupt set to false will not be dropped but cached and processed after the current interaction is completed.
13400
+
13401
+ Note: when DropMode is 1, the cache allows multiple messages. if an interruption occurs subsequently, cached messages will be cleared.
11808
13402
  :rtype: int
11809
13403
  """
11810
- return self._SkillGroupId
13404
+ return self._DropMode
11811
13405
 
11812
- @SkillGroupId.setter
11813
- def SkillGroupId(self, SkillGroupId):
11814
- self._SkillGroupId = SkillGroupId
13406
+ @DropMode.setter
13407
+ def DropMode(self, DropMode):
13408
+ self._DropMode = DropMode
11815
13409
 
11816
13410
  @property
11817
- def EndStatusString(self):
11818
- """Ending status.
11819
- :rtype: str
13411
+ def Priority(self):
13412
+ """Message priority of ServerPushText. 0 means interruptible. 1 means not interruptible.
13413
+ Note: after receiving a message with Priority=1, any other messages will be ignored (including messages with Priority=1) until the message processing of Priority=1 is complete. this field can be used together with the Interrupt and DropMode fields.
13414
+ Example.
13415
+ -Priority=1, Interrupt=true. specifies to Interrupt existing interaction and broadcast immediately. the broadcast will not be interrupted during the process.
13416
+ -Priority=1, Interrupt=false, DropMode=1. waits for the current interaction to complete before broadcasting. the broadcast will not be interrupted during the process.
13417
+
13418
+ :rtype: int
11820
13419
  """
11821
- return self._EndStatusString
13420
+ return self._Priority
11822
13421
 
11823
- @EndStatusString.setter
11824
- def EndStatusString(self, EndStatusString):
11825
- self._EndStatusString = EndStatusString
13422
+ @Priority.setter
13423
+ def Priority(self, Priority):
13424
+ self._Priority = Priority
11826
13425
 
11827
13426
  @property
11828
- def RecordURL(self):
11829
- """Recording url.
11830
- :rtype: str
13427
+ def AddHistory(self):
13428
+ """Specifies whether the text is added to the llm history context.
13429
+ :rtype: bool
11831
13430
  """
11832
- return self._RecordURL
13431
+ return self._AddHistory
11833
13432
 
11834
- @RecordURL.setter
11835
- def RecordURL(self, RecordURL):
11836
- self._RecordURL = RecordURL
13433
+ @AddHistory.setter
13434
+ def AddHistory(self, AddHistory):
13435
+ self._AddHistory = AddHistory
11837
13436
 
11838
- @property
11839
- def Sequence(self):
11840
- """Participant sequence number, starting from 0.
11841
- :rtype: int
11842
- """
11843
- return self._Sequence
11844
13437
 
11845
- @Sequence.setter
11846
- def Sequence(self, Sequence):
11847
- self._Sequence = Sequence
13438
+ def _deserialize(self, params):
13439
+ self._Text = params.get("Text")
13440
+ self._Interrupt = params.get("Interrupt")
13441
+ self._StopAfterPlay = params.get("StopAfterPlay")
13442
+ self._Audio = params.get("Audio")
13443
+ self._DropMode = params.get("DropMode")
13444
+ self._Priority = params.get("Priority")
13445
+ self._AddHistory = params.get("AddHistory")
13446
+ memeber_set = set(params.keys())
13447
+ for name, value in vars(self).items():
13448
+ property_name = name[1:]
13449
+ if property_name in memeber_set:
13450
+ memeber_set.remove(property_name)
13451
+ if len(memeber_set) > 0:
13452
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13453
+
13454
+
13455
+
13456
+ class SessionEvent(AbstractModel):
13457
+ """Call event.
13458
+
13459
+ """
13460
+
13461
+ def __init__(self):
13462
+ r"""
13463
+ :param _Timestamp: Event timestamp. Unix second-level timestamp.
13464
+ :type Timestamp: int
13465
+ :param _EventType: Event type. currently supports StaffHold, StaffUnhold, StaffMute, StaffUnmute.
13466
+ :type EventType: str
13467
+ :param _StaffEventDetail: Describes event details related to the agent.
13468
+ :type StaffEventDetail: :class:`tencentcloud.ccc.v20200210.models.EventStaffDetail`
13469
+ """
13470
+ self._Timestamp = None
13471
+ self._EventType = None
13472
+ self._StaffEventDetail = None
11848
13473
 
11849
13474
  @property
11850
- def StartTimestamp(self):
11851
- """Start timestamp. unix second-level timestamp.
13475
+ def Timestamp(self):
13476
+ """Event timestamp. Unix second-level timestamp.
11852
13477
  :rtype: int
11853
13478
  """
11854
- return self._StartTimestamp
13479
+ return self._Timestamp
11855
13480
 
11856
- @StartTimestamp.setter
11857
- def StartTimestamp(self, StartTimestamp):
11858
- self._StartTimestamp = StartTimestamp
13481
+ @Timestamp.setter
13482
+ def Timestamp(self, Timestamp):
13483
+ self._Timestamp = Timestamp
11859
13484
 
11860
13485
  @property
11861
- def SkillGroupName(self):
11862
- """Skill group name.
13486
+ def EventType(self):
13487
+ """Event type. currently supports StaffHold, StaffUnhold, StaffMute, StaffUnmute.
11863
13488
  :rtype: str
11864
13489
  """
11865
- return self._SkillGroupName
13490
+ return self._EventType
11866
13491
 
11867
- @SkillGroupName.setter
11868
- def SkillGroupName(self, SkillGroupName):
11869
- self._SkillGroupName = SkillGroupName
13492
+ @EventType.setter
13493
+ def EventType(self, EventType):
13494
+ self._EventType = EventType
11870
13495
 
11871
13496
  @property
11872
- def CustomRecordURL(self):
11873
- """Address of the third-party cos for transferring recording.
11874
- :rtype: str
13497
+ def StaffEventDetail(self):
13498
+ """Describes event details related to the agent.
13499
+ :rtype: :class:`tencentcloud.ccc.v20200210.models.EventStaffDetail`
11875
13500
  """
11876
- return self._CustomRecordURL
13501
+ return self._StaffEventDetail
11877
13502
 
11878
- @CustomRecordURL.setter
11879
- def CustomRecordURL(self, CustomRecordURL):
11880
- self._CustomRecordURL = CustomRecordURL
13503
+ @StaffEventDetail.setter
13504
+ def StaffEventDetail(self, StaffEventDetail):
13505
+ self._StaffEventDetail = StaffEventDetail
11881
13506
 
11882
13507
 
11883
13508
  def _deserialize(self, params):
11884
- self._Mail = params.get("Mail")
11885
- self._Phone = params.get("Phone")
11886
- self._RingTimestamp = params.get("RingTimestamp")
11887
- self._AcceptTimestamp = params.get("AcceptTimestamp")
11888
- self._EndedTimestamp = params.get("EndedTimestamp")
11889
- self._RecordId = params.get("RecordId")
11890
- self._Type = params.get("Type")
11891
- self._TransferFrom = params.get("TransferFrom")
11892
- self._TransferFromType = params.get("TransferFromType")
11893
- self._TransferTo = params.get("TransferTo")
11894
- self._TransferToType = params.get("TransferToType")
11895
- self._SkillGroupId = params.get("SkillGroupId")
11896
- self._EndStatusString = params.get("EndStatusString")
11897
- self._RecordURL = params.get("RecordURL")
11898
- self._Sequence = params.get("Sequence")
11899
- self._StartTimestamp = params.get("StartTimestamp")
11900
- self._SkillGroupName = params.get("SkillGroupName")
11901
- self._CustomRecordURL = params.get("CustomRecordURL")
13509
+ self._Timestamp = params.get("Timestamp")
13510
+ self._EventType = params.get("EventType")
13511
+ if params.get("StaffEventDetail") is not None:
13512
+ self._StaffEventDetail = EventStaffDetail()
13513
+ self._StaffEventDetail._deserialize(params.get("StaffEventDetail"))
11902
13514
  memeber_set = set(params.keys())
11903
13515
  for name, value in vars(self).items():
11904
13516
  property_name = name[1:]
@@ -11934,6 +13546,8 @@ class SkillGroupInfoItem(AbstractModel):
11934
13546
  :type SkillGroupType: int
11935
13547
  :param _Alias: Intra-Skill group line number.
11936
13548
  :type Alias: str
13549
+ :param _RingAll: Specifies whether to enable simultaneous ring.
13550
+ :type RingAll: bool
11937
13551
  """
11938
13552
  self._SkillGroupId = None
11939
13553
  self._SkillGroupName = None
@@ -11944,6 +13558,7 @@ class SkillGroupInfoItem(AbstractModel):
11944
13558
  self._LastModifyTimestamp = None
11945
13559
  self._SkillGroupType = None
11946
13560
  self._Alias = None
13561
+ self._RingAll = None
11947
13562
 
11948
13563
  @property
11949
13564
  def SkillGroupId(self):
@@ -12044,6 +13659,17 @@ class SkillGroupInfoItem(AbstractModel):
12044
13659
  def Alias(self, Alias):
12045
13660
  self._Alias = Alias
12046
13661
 
13662
+ @property
13663
+ def RingAll(self):
13664
+ """Specifies whether to enable simultaneous ring.
13665
+ :rtype: bool
13666
+ """
13667
+ return self._RingAll
13668
+
13669
+ @RingAll.setter
13670
+ def RingAll(self, RingAll):
13671
+ self._RingAll = RingAll
13672
+
12047
13673
 
12048
13674
  def _deserialize(self, params):
12049
13675
  self._SkillGroupId = params.get("SkillGroupId")
@@ -12055,6 +13681,7 @@ class SkillGroupInfoItem(AbstractModel):
12055
13681
  self._LastModifyTimestamp = params.get("LastModifyTimestamp")
12056
13682
  self._SkillGroupType = params.get("SkillGroupType")
12057
13683
  self._Alias = params.get("Alias")
13684
+ self._RingAll = params.get("RingAll")
12058
13685
  memeber_set = set(params.keys())
12059
13686
  for name, value in vars(self).items():
12060
13687
  property_name = name[1:]
@@ -12244,12 +13871,11 @@ class StaffInfo(AbstractModel):
12244
13871
  :type Nick: str
12245
13872
  :param _StaffNumber: Agent id.
12246
13873
  :type StaffNumber: str
12247
- :param _RoleId: User role id.
12248
- When a user is bound to multiple roles, RoleIdList shall prevail.
13874
+ :param _RoleId: User role ID. if a user is bound to multiple roles, RoleIdList takes precedence.
12249
13875
  :type RoleId: int
12250
13876
  :param _RoleIdList: User role id list.
12251
13877
  :type RoleIdList: int
12252
- :param _RoleList:
13878
+ :param _RoleList: Specifies the user role id list.
12253
13879
  :type RoleList: list of int non-negative
12254
13880
  :param _SkillGroupList: Affiliated skill group list.
12255
13881
  :type SkillGroupList: list of SkillGroupItem
@@ -12257,6 +13883,8 @@ When a user is bound to multiple roles, RoleIdList shall prevail.
12257
13883
  :type LastModifyTimestamp: int
12258
13884
  :param _ExtensionNumber: Agent extension number (starting with 1 to 8, 4 - 6 digits).
12259
13885
  :type ExtensionNumber: str
13886
+ :param _ForwardingConfig: Call forwarding configuration.
13887
+ :type ForwardingConfig: :class:`tencentcloud.ccc.v20200210.models.ForwardingConfig`
12260
13888
  """
12261
13889
  self._Name = None
12262
13890
  self._Mail = None
@@ -12269,6 +13897,7 @@ When a user is bound to multiple roles, RoleIdList shall prevail.
12269
13897
  self._SkillGroupList = None
12270
13898
  self._LastModifyTimestamp = None
12271
13899
  self._ExtensionNumber = None
13900
+ self._ForwardingConfig = None
12272
13901
 
12273
13902
  @property
12274
13903
  def Name(self):
@@ -12329,8 +13958,7 @@ When a user is bound to multiple roles, RoleIdList shall prevail.
12329
13958
  def RoleId(self):
12330
13959
  warnings.warn("parameter `RoleId` is deprecated", DeprecationWarning)
12331
13960
 
12332
- """User role id.
12333
- When a user is bound to multiple roles, RoleIdList shall prevail.
13961
+ """User role ID. if a user is bound to multiple roles, RoleIdList takes precedence.
12334
13962
  :rtype: int
12335
13963
  """
12336
13964
  return self._RoleId
@@ -12358,7 +13986,7 @@ When a user is bound to multiple roles, RoleIdList shall prevail.
12358
13986
 
12359
13987
  @property
12360
13988
  def RoleList(self):
12361
- """
13989
+ """Specifies the user role id list.
12362
13990
  :rtype: list of int non-negative
12363
13991
  """
12364
13992
  return self._RoleList
@@ -12400,6 +14028,17 @@ When a user is bound to multiple roles, RoleIdList shall prevail.
12400
14028
  def ExtensionNumber(self, ExtensionNumber):
12401
14029
  self._ExtensionNumber = ExtensionNumber
12402
14030
 
14031
+ @property
14032
+ def ForwardingConfig(self):
14033
+ """Call forwarding configuration.
14034
+ :rtype: :class:`tencentcloud.ccc.v20200210.models.ForwardingConfig`
14035
+ """
14036
+ return self._ForwardingConfig
14037
+
14038
+ @ForwardingConfig.setter
14039
+ def ForwardingConfig(self, ForwardingConfig):
14040
+ self._ForwardingConfig = ForwardingConfig
14041
+
12403
14042
 
12404
14043
  def _deserialize(self, params):
12405
14044
  self._Name = params.get("Name")
@@ -12418,6 +14057,9 @@ When a user is bound to multiple roles, RoleIdList shall prevail.
12418
14057
  self._SkillGroupList.append(obj)
12419
14058
  self._LastModifyTimestamp = params.get("LastModifyTimestamp")
12420
14059
  self._ExtensionNumber = params.get("ExtensionNumber")
14060
+ if params.get("ForwardingConfig") is not None:
14061
+ self._ForwardingConfig = ForwardingConfig()
14062
+ self._ForwardingConfig._deserialize(params.get("ForwardingConfig"))
12421
14063
  memeber_set = set(params.keys())
12422
14064
  for name, value in vars(self).items():
12423
14065
  property_name = name[1:]
@@ -12479,6 +14121,87 @@ class StaffSkillGroupList(AbstractModel):
12479
14121
 
12480
14122
 
12481
14123
 
14124
+ class StaffStatus(AbstractModel):
14125
+ """Agent status.
14126
+
14127
+ """
14128
+
14129
+ def __init__(self):
14130
+ r"""
14131
+ :param _Cursor: Specifies the cursor used for querying in pagination scenarios.
14132
+ :type Cursor: str
14133
+ :param _Timestamp: Status timestamp. Unix second-level timestamp.
14134
+ :type Timestamp: int
14135
+ :param _Status: Agent status free | busy | rest | notReady | afterCallWork | offline.
14136
+ :type Status: str
14137
+ :param _SessionId: Specifies the session Id for status association.
14138
+ :type SessionId: str
14139
+ """
14140
+ self._Cursor = None
14141
+ self._Timestamp = None
14142
+ self._Status = None
14143
+ self._SessionId = None
14144
+
14145
+ @property
14146
+ def Cursor(self):
14147
+ """Specifies the cursor used for querying in pagination scenarios.
14148
+ :rtype: str
14149
+ """
14150
+ return self._Cursor
14151
+
14152
+ @Cursor.setter
14153
+ def Cursor(self, Cursor):
14154
+ self._Cursor = Cursor
14155
+
14156
+ @property
14157
+ def Timestamp(self):
14158
+ """Status timestamp. Unix second-level timestamp.
14159
+ :rtype: int
14160
+ """
14161
+ return self._Timestamp
14162
+
14163
+ @Timestamp.setter
14164
+ def Timestamp(self, Timestamp):
14165
+ self._Timestamp = Timestamp
14166
+
14167
+ @property
14168
+ def Status(self):
14169
+ """Agent status free | busy | rest | notReady | afterCallWork | offline.
14170
+ :rtype: str
14171
+ """
14172
+ return self._Status
14173
+
14174
+ @Status.setter
14175
+ def Status(self, Status):
14176
+ self._Status = Status
14177
+
14178
+ @property
14179
+ def SessionId(self):
14180
+ """Specifies the session Id for status association.
14181
+ :rtype: str
14182
+ """
14183
+ return self._SessionId
14184
+
14185
+ @SessionId.setter
14186
+ def SessionId(self, SessionId):
14187
+ self._SessionId = SessionId
14188
+
14189
+
14190
+ def _deserialize(self, params):
14191
+ self._Cursor = params.get("Cursor")
14192
+ self._Timestamp = params.get("Timestamp")
14193
+ self._Status = params.get("Status")
14194
+ self._SessionId = params.get("SessionId")
14195
+ memeber_set = set(params.keys())
14196
+ for name, value in vars(self).items():
14197
+ property_name = name[1:]
14198
+ if property_name in memeber_set:
14199
+ memeber_set.remove(property_name)
14200
+ if len(memeber_set) > 0:
14201
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14202
+
14203
+
14204
+
12482
14205
  class StaffStatusExtra(AbstractModel):
12483
14206
  """Supplementary Information on Agent Status
12484
14207
 
@@ -12571,6 +14294,8 @@ Note: this field may return null, indicating that no valid values can be obtaine
12571
14294
  :param _LastStatusTimestamp: Last status timestamp.
12572
14295
  Note: this field may return null, indicating that no valid values can be obtained.
12573
14296
  :type LastStatusTimestamp: int
14297
+ :param _ClientInfo: Specifies the endpoint information for customer service logon.
14298
+ :type ClientInfo: list of ClientInfo
12574
14299
  """
12575
14300
  self._Email = None
12576
14301
  self._Status = None
@@ -12588,6 +14313,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
12588
14313
  self._UseMobileCallOut = None
12589
14314
  self._LastOnlineTimestamp = None
12590
14315
  self._LastStatusTimestamp = None
14316
+ self._ClientInfo = None
12591
14317
 
12592
14318
  @property
12593
14319
  def Email(self):
@@ -12767,6 +14493,17 @@ Note: this field may return null, indicating that no valid values can be obtaine
12767
14493
  def LastStatusTimestamp(self, LastStatusTimestamp):
12768
14494
  self._LastStatusTimestamp = LastStatusTimestamp
12769
14495
 
14496
+ @property
14497
+ def ClientInfo(self):
14498
+ """Specifies the endpoint information for customer service logon.
14499
+ :rtype: list of ClientInfo
14500
+ """
14501
+ return self._ClientInfo
14502
+
14503
+ @ClientInfo.setter
14504
+ def ClientInfo(self, ClientInfo):
14505
+ self._ClientInfo = ClientInfo
14506
+
12770
14507
 
12771
14508
  def _deserialize(self, params):
12772
14509
  self._Email = params.get("Email")
@@ -12787,6 +14524,12 @@ Note: this field may return null, indicating that no valid values can be obtaine
12787
14524
  self._UseMobileCallOut = params.get("UseMobileCallOut")
12788
14525
  self._LastOnlineTimestamp = params.get("LastOnlineTimestamp")
12789
14526
  self._LastStatusTimestamp = params.get("LastStatusTimestamp")
14527
+ if params.get("ClientInfo") is not None:
14528
+ self._ClientInfo = []
14529
+ for item in params.get("ClientInfo"):
14530
+ obj = ClientInfo()
14531
+ obj._deserialize(item)
14532
+ self._ClientInfo.append(obj)
12790
14533
  memeber_set = set(params.keys())
12791
14534
  for name, value in vars(self).items():
12792
14535
  property_name = name[1:]
@@ -13763,6 +15506,59 @@ class TimeRange(AbstractModel):
13763
15506
 
13764
15507
 
13765
15508
 
15509
+ class ToneWordInfo(AbstractModel):
15510
+ """Undertake filler word info.
15511
+
15512
+ """
15513
+
15514
+ def __init__(self):
15515
+ r"""
15516
+ :param _FirstSentenceTimeout: Specifies the timeout period for the first request in seconds.
15517
+ :type FirstSentenceTimeout: float
15518
+ :param _ZHToneWords: Undertakes a modal particle.
15519
+ :type ZHToneWords: :class:`tencentcloud.ccc.v20200210.models.ZHToneWordsInfo`
15520
+ """
15521
+ self._FirstSentenceTimeout = None
15522
+ self._ZHToneWords = None
15523
+
15524
+ @property
15525
+ def FirstSentenceTimeout(self):
15526
+ """Specifies the timeout period for the first request in seconds.
15527
+ :rtype: float
15528
+ """
15529
+ return self._FirstSentenceTimeout
15530
+
15531
+ @FirstSentenceTimeout.setter
15532
+ def FirstSentenceTimeout(self, FirstSentenceTimeout):
15533
+ self._FirstSentenceTimeout = FirstSentenceTimeout
15534
+
15535
+ @property
15536
+ def ZHToneWords(self):
15537
+ """Undertakes a modal particle.
15538
+ :rtype: :class:`tencentcloud.ccc.v20200210.models.ZHToneWordsInfo`
15539
+ """
15540
+ return self._ZHToneWords
15541
+
15542
+ @ZHToneWords.setter
15543
+ def ZHToneWords(self, ZHToneWords):
15544
+ self._ZHToneWords = ZHToneWords
15545
+
15546
+
15547
+ def _deserialize(self, params):
15548
+ self._FirstSentenceTimeout = params.get("FirstSentenceTimeout")
15549
+ if params.get("ZHToneWords") is not None:
15550
+ self._ZHToneWords = ZHToneWordsInfo()
15551
+ self._ZHToneWords._deserialize(params.get("ZHToneWords"))
15552
+ memeber_set = set(params.keys())
15553
+ for name, value in vars(self).items():
15554
+ property_name = name[1:]
15555
+ if property_name in memeber_set:
15556
+ memeber_set.remove(property_name)
15557
+ if len(memeber_set) > 0:
15558
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15559
+
15560
+
15561
+
13766
15562
  class TransferToManualRequest(AbstractModel):
13767
15563
  """TransferToManual request structure.
13768
15564
 
@@ -14757,4 +16553,70 @@ class Variable(AbstractModel):
14757
16553
  memeber_set.remove(property_name)
14758
16554
  if len(memeber_set) > 0:
14759
16555
  warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16556
+
16557
+
16558
+
16559
+ class ZHToneWordsInfo(AbstractModel):
16560
+ """Undertake filler word.
16561
+
16562
+ """
16563
+
16564
+ def __init__(self):
16565
+ r"""
16566
+ :param _Neutral: Specifies the word list.
16567
+ :type Neutral: list of str
16568
+ :param _Positive: Positive word list.
16569
+ :type Positive: list of str
16570
+ :param _Negative: Negative word list.
16571
+ :type Negative: list of str
16572
+ """
16573
+ self._Neutral = None
16574
+ self._Positive = None
16575
+ self._Negative = None
16576
+
16577
+ @property
16578
+ def Neutral(self):
16579
+ """Specifies the word list.
16580
+ :rtype: list of str
16581
+ """
16582
+ return self._Neutral
16583
+
16584
+ @Neutral.setter
16585
+ def Neutral(self, Neutral):
16586
+ self._Neutral = Neutral
16587
+
16588
+ @property
16589
+ def Positive(self):
16590
+ """Positive word list.
16591
+ :rtype: list of str
16592
+ """
16593
+ return self._Positive
16594
+
16595
+ @Positive.setter
16596
+ def Positive(self, Positive):
16597
+ self._Positive = Positive
16598
+
16599
+ @property
16600
+ def Negative(self):
16601
+ """Negative word list.
16602
+ :rtype: list of str
16603
+ """
16604
+ return self._Negative
16605
+
16606
+ @Negative.setter
16607
+ def Negative(self, Negative):
16608
+ self._Negative = Negative
16609
+
16610
+
16611
+ def _deserialize(self, params):
16612
+ self._Neutral = params.get("Neutral")
16613
+ self._Positive = params.get("Positive")
16614
+ self._Negative = params.get("Negative")
16615
+ memeber_set = set(params.keys())
16616
+ for name, value in vars(self).items():
16617
+ property_name = name[1:]
16618
+ if property_name in memeber_set:
16619
+ memeber_set.remove(property_name)
16620
+ if len(memeber_set) > 0:
16621
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14760
16622