tencentcloud-sdk-python 3.0.1349__py2.py3-none-any.whl → 3.0.1351__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/antiddos/v20200309/models.py +0 -118
- tencentcloud/batch/v20170312/models.py +0 -8
- tencentcloud/bi/v20220105/models.py +8 -0
- tencentcloud/ccc/v20200210/ccc_client.py +92 -0
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +816 -142
- tencentcloud/cfw/v20190904/models.py +2 -2
- tencentcloud/ckafka/v20190819/models.py +6 -6
- tencentcloud/cme/v20191029/cme_client.py +0 -1
- tencentcloud/cme/v20191029/models.py +10 -14
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cwp/v20180228/models.py +60 -0
- tencentcloud/cynosdb/v20190107/models.py +30 -90
- tencentcloud/dnspod/v20210323/models.py +2 -48
- tencentcloud/domain/v20180808/models.py +14 -6
- tencentcloud/dts/v20180330/models.py +0 -2
- tencentcloud/dts/v20211206/models.py +2 -14
- tencentcloud/ecdn/v20191012/ecdn_client.py +6 -2
- tencentcloud/emr/v20190103/models.py +4 -4
- tencentcloud/ess/v20201111/ess_client.py +5 -3
- tencentcloud/ess/v20201111/models.py +47 -14
- tencentcloud/essbasic/v20210526/models.py +4 -4
- tencentcloud/gs/v20191118/gs_client.py +23 -0
- tencentcloud/gs/v20191118/models.py +99 -0
- tencentcloud/iotexplorer/v20190423/models.py +34 -0
- tencentcloud/iotvideo/v20211125/models.py +34 -0
- tencentcloud/iss/v20230517/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/iss_client.py +46 -0
- tencentcloud/iss/v20230517/models.py +409 -0
- tencentcloud/lighthouse/v20200324/models.py +10 -4
- tencentcloud/live/v20180801/models.py +45 -0
- tencentcloud/lke/v20231130/models.py +51 -2
- tencentcloud/lkeap/v20240522/models.py +15 -0
- tencentcloud/mmps/v20200710/models.py +0 -4
- tencentcloud/mps/v20190612/errorcodes.py +1 -5
- tencentcloud/mqtt/v20240516/errorcodes.py +6 -0
- tencentcloud/mqtt/v20240516/models.py +198 -68
- tencentcloud/mqtt/v20240516/mqtt_client.py +2 -2
- tencentcloud/ocr/v20181119/errorcodes.py +0 -9
- tencentcloud/ocr/v20181119/models.py +29 -478
- tencentcloud/ocr/v20181119/ocr_client.py +5 -79
- tencentcloud/partners/v20180321/models.py +154 -0
- tencentcloud/partners/v20180321/partners_client.py +23 -0
- tencentcloud/rce/v20201103/models.py +0 -15
- tencentcloud/sqlserver/v20180328/models.py +60 -0
- tencentcloud/tdid/v20210519/models.py +0 -10
- tencentcloud/tdmq/v20200217/models.py +0 -94
- tencentcloud/tdmq/v20200217/tdmq_client.py +9 -28
- tencentcloud/thpc/v20230321/models.py +15 -0
- tencentcloud/tione/v20211111/errorcodes.py +105 -0
- tencentcloud/tione/v20211111/models.py +666 -0
- tencentcloud/tione/v20211111/tione_client.py +92 -0
- tencentcloud/tke/v20180525/models.py +0 -4
- tencentcloud/trtc/v20190722/models.py +49 -64
- tencentcloud/vod/v20180717/models.py +39 -145
- tencentcloud/vod/v20180717/vod_client.py +2 -1
- tencentcloud/vpc/v20170312/models.py +152 -98
- tencentcloud/vpc/v20170312/vpc_client.py +8 -5
- {tencentcloud_sdk_python-3.0.1349.dist-info → tencentcloud_sdk_python-3.0.1351.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1349.dist-info → tencentcloud_sdk_python-3.0.1351.dist-info}/RECORD +64 -64
- {tencentcloud_sdk_python-3.0.1349.dist-info → tencentcloud_sdk_python-3.0.1351.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1349.dist-info → tencentcloud_sdk_python-3.0.1351.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1349.dist-info → tencentcloud_sdk_python-3.0.1351.dist-info}/top_level.txt +0 -0
@@ -360,6 +360,85 @@ class AITransferItem(AbstractModel):
|
|
360
360
|
|
361
361
|
|
362
362
|
|
363
|
+
class AbortAgentCruiseDialingCampaignRequest(AbstractModel):
|
364
|
+
"""AbortAgentCruiseDialingCampaign请求参数结构体
|
365
|
+
|
366
|
+
"""
|
367
|
+
|
368
|
+
def __init__(self):
|
369
|
+
r"""
|
370
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
371
|
+
:type SdkAppId: int
|
372
|
+
:param _CampaignId: 任务 ID
|
373
|
+
:type CampaignId: int
|
374
|
+
"""
|
375
|
+
self._SdkAppId = None
|
376
|
+
self._CampaignId = None
|
377
|
+
|
378
|
+
@property
|
379
|
+
def SdkAppId(self):
|
380
|
+
"""应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
381
|
+
:rtype: int
|
382
|
+
"""
|
383
|
+
return self._SdkAppId
|
384
|
+
|
385
|
+
@SdkAppId.setter
|
386
|
+
def SdkAppId(self, SdkAppId):
|
387
|
+
self._SdkAppId = SdkAppId
|
388
|
+
|
389
|
+
@property
|
390
|
+
def CampaignId(self):
|
391
|
+
"""任务 ID
|
392
|
+
:rtype: int
|
393
|
+
"""
|
394
|
+
return self._CampaignId
|
395
|
+
|
396
|
+
@CampaignId.setter
|
397
|
+
def CampaignId(self, CampaignId):
|
398
|
+
self._CampaignId = CampaignId
|
399
|
+
|
400
|
+
|
401
|
+
def _deserialize(self, params):
|
402
|
+
self._SdkAppId = params.get("SdkAppId")
|
403
|
+
self._CampaignId = params.get("CampaignId")
|
404
|
+
memeber_set = set(params.keys())
|
405
|
+
for name, value in vars(self).items():
|
406
|
+
property_name = name[1:]
|
407
|
+
if property_name in memeber_set:
|
408
|
+
memeber_set.remove(property_name)
|
409
|
+
if len(memeber_set) > 0:
|
410
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
411
|
+
|
412
|
+
|
413
|
+
|
414
|
+
class AbortAgentCruiseDialingCampaignResponse(AbstractModel):
|
415
|
+
"""AbortAgentCruiseDialingCampaign返回参数结构体
|
416
|
+
|
417
|
+
"""
|
418
|
+
|
419
|
+
def __init__(self):
|
420
|
+
r"""
|
421
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
422
|
+
:type RequestId: str
|
423
|
+
"""
|
424
|
+
self._RequestId = None
|
425
|
+
|
426
|
+
@property
|
427
|
+
def RequestId(self):
|
428
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
429
|
+
:rtype: str
|
430
|
+
"""
|
431
|
+
return self._RequestId
|
432
|
+
|
433
|
+
@RequestId.setter
|
434
|
+
def RequestId(self, RequestId):
|
435
|
+
self._RequestId = RequestId
|
436
|
+
|
437
|
+
|
438
|
+
def _deserialize(self, params):
|
439
|
+
self._RequestId = params.get("RequestId")
|
440
|
+
|
441
|
+
|
363
442
|
class AbortPredictiveDialingCampaignRequest(AbstractModel):
|
364
443
|
"""AbortPredictiveDialingCampaign请求参数结构体
|
365
444
|
|
@@ -2210,12 +2289,19 @@ class CreateAIAgentCallRequest(AbstractModel):
|
|
2210
2289
|
:type Callers: list of str
|
2211
2290
|
:param _PromptVariables: 提示词变量
|
2212
2291
|
:type PromptVariables: list of Variable
|
2292
|
+
:param _Variables: 通用变量: <p>提示词变量</p> <p>欢迎语变量</p> <p> dify变量</p>
|
2293
|
+
|
2294
|
+
1. dify-inputs-xxx 为dify的inputs变量
|
2295
|
+
2. dify-inputs-user 为dify的user值
|
2296
|
+
3. dify-inputs-conversation_id 为dify的conversation_id值
|
2297
|
+
:type Variables: list of Variable
|
2213
2298
|
"""
|
2214
2299
|
self._SdkAppId = None
|
2215
2300
|
self._AIAgentId = None
|
2216
2301
|
self._Callee = None
|
2217
2302
|
self._Callers = None
|
2218
2303
|
self._PromptVariables = None
|
2304
|
+
self._Variables = None
|
2219
2305
|
|
2220
2306
|
@property
|
2221
2307
|
def SdkAppId(self):
|
@@ -2272,6 +2358,21 @@ class CreateAIAgentCallRequest(AbstractModel):
|
|
2272
2358
|
def PromptVariables(self, PromptVariables):
|
2273
2359
|
self._PromptVariables = PromptVariables
|
2274
2360
|
|
2361
|
+
@property
|
2362
|
+
def Variables(self):
|
2363
|
+
"""通用变量: <p>提示词变量</p> <p>欢迎语变量</p> <p> dify变量</p>
|
2364
|
+
|
2365
|
+
1. dify-inputs-xxx 为dify的inputs变量
|
2366
|
+
2. dify-inputs-user 为dify的user值
|
2367
|
+
3. dify-inputs-conversation_id 为dify的conversation_id值
|
2368
|
+
:rtype: list of Variable
|
2369
|
+
"""
|
2370
|
+
return self._Variables
|
2371
|
+
|
2372
|
+
@Variables.setter
|
2373
|
+
def Variables(self, Variables):
|
2374
|
+
self._Variables = Variables
|
2375
|
+
|
2275
2376
|
|
2276
2377
|
def _deserialize(self, params):
|
2277
2378
|
self._SdkAppId = params.get("SdkAppId")
|
@@ -2284,6 +2385,12 @@ class CreateAIAgentCallRequest(AbstractModel):
|
|
2284
2385
|
obj = Variable()
|
2285
2386
|
obj._deserialize(item)
|
2286
2387
|
self._PromptVariables.append(obj)
|
2388
|
+
if params.get("Variables") is not None:
|
2389
|
+
self._Variables = []
|
2390
|
+
for item in params.get("Variables"):
|
2391
|
+
obj = Variable()
|
2392
|
+
obj._deserialize(item)
|
2393
|
+
self._Variables.append(obj)
|
2287
2394
|
memeber_set = set(params.keys())
|
2288
2395
|
for name, value in vars(self).items():
|
2289
2396
|
property_name = name[1:]
|
@@ -2348,25 +2455,13 @@ class CreateAICallRequest(AbstractModel):
|
|
2348
2455
|
:type SdkAppId: int
|
2349
2456
|
:param _Callee: 被叫号码
|
2350
2457
|
:type Callee: str
|
2351
|
-
:param
|
2352
|
-
:type SystemPrompt: str
|
2353
|
-
:param _LLMType: 模型接口协议类型,目前兼容三种协议类型:
|
2458
|
+
:param _LLMType: 模型接口协议类型,目前兼容四种协议类型:
|
2354
2459
|
|
2355
2460
|
- OpenAI协议(包括GPT、混元、DeepSeek等):"openai"
|
2356
2461
|
- Azure协议:"azure"
|
2357
2462
|
- Minimax协议:"minimax"
|
2463
|
+
- Dify协议: "dify"
|
2358
2464
|
:type LLMType: str
|
2359
|
-
:param _Model: 模型名称,如
|
2360
|
-
|
2361
|
-
- OpenAI协议
|
2362
|
-
"gpt-4o-mini","gpt-4o","hunyuan-standard", "hunyuan-turbo","deepseek-chat";
|
2363
|
-
|
2364
|
-
- Azure协议
|
2365
|
-
"gpt-4o-mini", "gpt-4o";
|
2366
|
-
|
2367
|
-
- Minmax协议
|
2368
|
-
"deepseek-chat".
|
2369
|
-
:type Model: str
|
2370
2465
|
:param _APIKey: 模型API密钥,获取鉴权信息方式请参见各模型官网
|
2371
2466
|
|
2372
2467
|
- OpenAI协议:[GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key),[混元](https://cloud.tencent.com/document/product/1729/111008),[DeepSeek](https://api-docs.deepseek.com/zh-cn/);
|
@@ -2388,6 +2483,19 @@ Deepseek:"https://api.deepseek.com/v1"
|
|
2388
2483
|
- Minimax协议
|
2389
2484
|
"https://api.minimax.chat/v1"
|
2390
2485
|
:type APIUrl: str
|
2486
|
+
:param _SystemPrompt: 用于设定AI人设、说话规则、任务等的全局提示词。示例:## 人设您是人民医院友善、和蔼的随访医生李医生,正在给患者小明的家长打电话,原因是医院要求小明2024-08-08回院复查手术恢复情况,但小明没有来。您需要按照任务流程对小明家长进行电话随访调查。## 要求简洁回复:使用简练语言,每次最多询问一个问题,不要在一个回复中询问多个问题。富有变化:尽量使表达富有变化,表达机械重复。自然亲切:使用日常语言,尽量显得专业并亲切。提到时间时使用口语表述,如下周三、6月18日。积极主动:尝试引导对话,每个回复通常以问题或下一步建议来结尾。询问清楚:如果对方部分回答了您的问题,或者回答很模糊,请通过追问来确保回答的完整明确。遵循任务:当对方的回答偏离了您的任务时,及时引导对方回到任务中。不要从头开始重复,从偏离的地方继续询问。诚实可靠:对于客户的提问,如果不确定请务必不要编造,礼貌告知对方不清楚。不要捏造患者未提及的症状史、用药史、治疗史。其他注意点:避免提到病情恶化、恢复不理想或疾病名称等使用会使患者感到紧张的表述。不要问患者已经直接或间接回答过的问题,例如患者已经说没有不适症状,那就不要再问手术部位是否有红肿疼痛症状的问题。##任务: 1.自我介绍您是人民医院负责随访的李医生,并说明致电的目的。2.询问被叫方是否是小明家长。 - 如果不是小明家长,请礼貌表达歉意,并使用 call_end 挂断电话。- 如果小明家长没空,请礼貌告诉对方稍后会重新致电,并使用 end_call 挂断电话。3.询问小明出院后水肿情况如何,较出院时是否有变化。- 如果水肿变严重,直接跳转步骤7。4.询问出院后是否给小朋友量过体温,是否出现过发烧情况。- 如果没有量过体温,请礼貌告诉家长出院后三个月内需要每天观察体温。- 如果出现过发烧,请直接跳转步骤7。5.询问出院后是否给小朋友按时服药。- 如果没有按时服药,请友善提醒家长严格按医嘱服用药物,避免影响手术效果。6.询问小朋友在饮食上是否做到低盐低脂,适量吃优质蛋白如鸡蛋、牛奶、瘦肉等。- 如果没有做到,请友善提醒家长低盐低脂和优质蛋白有助小朋友尽快恢复。7.告知家长医生要求6月18日回院复查,但没看到有相关复诊记录。提醒家长尽快前往医院体检复查血化验、尿常规。8.询问家长是否有问题需要咨询,如果没有请礼貌道别并用call_end挂断电话。
|
2487
|
+
:type SystemPrompt: str
|
2488
|
+
:param _Model: 模型名称,如
|
2489
|
+
|
2490
|
+
- OpenAI协议
|
2491
|
+
"gpt-4o-mini","gpt-4o","hunyuan-standard", "hunyuan-turbo","deepseek-chat";
|
2492
|
+
|
2493
|
+
- Azure协议
|
2494
|
+
"gpt-4o-mini", "gpt-4o";
|
2495
|
+
|
2496
|
+
- Minmax协议
|
2497
|
+
"deepseek-chat".
|
2498
|
+
:type Model: str
|
2391
2499
|
:param _VoiceType: 默认提供以下音色参数值可选择,如需自定义音色VoiceType请留空并在参数CustomTTSConfig中配置
|
2392
2500
|
|
2393
2501
|
汉语:
|
@@ -2566,14 +2674,20 @@ HoaiMy
|
|
2566
2674
|
:type ExtractConfig: list of AICallExtractConfigElement
|
2567
2675
|
:param _Temperature: 模型温度控制
|
2568
2676
|
:type Temperature: float
|
2677
|
+
:param _Variables: 通用变量: <p>提示词变量</p> <p>欢迎语变量</p> <p> dify变量</p>
|
2678
|
+
|
2679
|
+
1. dify-inputs-xxx 为dify的inputs变量
|
2680
|
+
2. dify-inputs-user 为dify的user值
|
2681
|
+
3. dify-inputs-conversation_id 为dify的conversation_id值
|
2682
|
+
:type Variables: list of Variable
|
2569
2683
|
"""
|
2570
2684
|
self._SdkAppId = None
|
2571
2685
|
self._Callee = None
|
2572
|
-
self._SystemPrompt = None
|
2573
2686
|
self._LLMType = None
|
2574
|
-
self._Model = None
|
2575
2687
|
self._APIKey = None
|
2576
2688
|
self._APIUrl = None
|
2689
|
+
self._SystemPrompt = None
|
2690
|
+
self._Model = None
|
2577
2691
|
self._VoiceType = None
|
2578
2692
|
self._Callers = None
|
2579
2693
|
self._WelcomeMessage = None
|
@@ -2595,6 +2709,7 @@ HoaiMy
|
|
2595
2709
|
self._VadSilenceTime = None
|
2596
2710
|
self._ExtractConfig = None
|
2597
2711
|
self._Temperature = None
|
2712
|
+
self._Variables = None
|
2598
2713
|
|
2599
2714
|
@property
|
2600
2715
|
def SdkAppId(self):
|
@@ -2618,24 +2733,14 @@ HoaiMy
|
|
2618
2733
|
def Callee(self, Callee):
|
2619
2734
|
self._Callee = Callee
|
2620
2735
|
|
2621
|
-
@property
|
2622
|
-
def SystemPrompt(self):
|
2623
|
-
"""用于设定AI人设、说话规则、任务等的全局提示词。示例:## 人设您是人民医院友善、和蔼的随访医生李医生,正在给患者小明的家长打电话,原因是医院要求小明2024-08-08回院复查手术恢复情况,但小明没有来。您需要按照任务流程对小明家长进行电话随访调查。## 要求简洁回复:使用简练语言,每次最多询问一个问题,不要在一个回复中询问多个问题。富有变化:尽量使表达富有变化,表达机械重复。自然亲切:使用日常语言,尽量显得专业并亲切。提到时间时使用口语表述,如下周三、6月18日。积极主动:尝试引导对话,每个回复通常以问题或下一步建议来结尾。询问清楚:如果对方部分回答了您的问题,或者回答很模糊,请通过追问来确保回答的完整明确。遵循任务:当对方的回答偏离了您的任务时,及时引导对方回到任务中。不要从头开始重复,从偏离的地方继续询问。诚实可靠:对于客户的提问,如果不确定请务必不要编造,礼貌告知对方不清楚。不要捏造患者未提及的症状史、用药史、治疗史。其他注意点:避免提到病情恶化、恢复不理想或疾病名称等使用会使患者感到紧张的表述。不要问患者已经直接或间接回答过的问题,例如患者已经说没有不适症状,那就不要再问手术部位是否有红肿疼痛症状的问题。##任务: 1.自我介绍您是人民医院负责随访的李医生,并说明致电的目的。2.询问被叫方是否是小明家长。 - 如果不是小明家长,请礼貌表达歉意,并使用 call_end 挂断电话。- 如果小明家长没空,请礼貌告诉对方稍后会重新致电,并使用 end_call 挂断电话。3.询问小明出院后水肿情况如何,较出院时是否有变化。- 如果水肿变严重,直接跳转步骤7。4.询问出院后是否给小朋友量过体温,是否出现过发烧情况。- 如果没有量过体温,请礼貌告诉家长出院后三个月内需要每天观察体温。- 如果出现过发烧,请直接跳转步骤7。5.询问出院后是否给小朋友按时服药。- 如果没有按时服药,请友善提醒家长严格按医嘱服用药物,避免影响手术效果。6.询问小朋友在饮食上是否做到低盐低脂,适量吃优质蛋白如鸡蛋、牛奶、瘦肉等。- 如果没有做到,请友善提醒家长低盐低脂和优质蛋白有助小朋友尽快恢复。7.告知家长医生要求6月18日回院复查,但没看到有相关复诊记录。提醒家长尽快前往医院体检复查血化验、尿常规。8.询问家长是否有问题需要咨询,如果没有请礼貌道别并用call_end挂断电话。
|
2624
|
-
:rtype: str
|
2625
|
-
"""
|
2626
|
-
return self._SystemPrompt
|
2627
|
-
|
2628
|
-
@SystemPrompt.setter
|
2629
|
-
def SystemPrompt(self, SystemPrompt):
|
2630
|
-
self._SystemPrompt = SystemPrompt
|
2631
|
-
|
2632
2736
|
@property
|
2633
2737
|
def LLMType(self):
|
2634
|
-
"""
|
2738
|
+
"""模型接口协议类型,目前兼容四种协议类型:
|
2635
2739
|
|
2636
2740
|
- OpenAI协议(包括GPT、混元、DeepSeek等):"openai"
|
2637
2741
|
- Azure协议:"azure"
|
2638
2742
|
- Minimax协议:"minimax"
|
2743
|
+
- Dify协议: "dify"
|
2639
2744
|
:rtype: str
|
2640
2745
|
"""
|
2641
2746
|
return self._LLMType
|
@@ -2644,26 +2749,6 @@ HoaiMy
|
|
2644
2749
|
def LLMType(self, LLMType):
|
2645
2750
|
self._LLMType = LLMType
|
2646
2751
|
|
2647
|
-
@property
|
2648
|
-
def Model(self):
|
2649
|
-
"""模型名称,如
|
2650
|
-
|
2651
|
-
- OpenAI协议
|
2652
|
-
"gpt-4o-mini","gpt-4o","hunyuan-standard", "hunyuan-turbo","deepseek-chat";
|
2653
|
-
|
2654
|
-
- Azure协议
|
2655
|
-
"gpt-4o-mini", "gpt-4o";
|
2656
|
-
|
2657
|
-
- Minmax协议
|
2658
|
-
"deepseek-chat".
|
2659
|
-
:rtype: str
|
2660
|
-
"""
|
2661
|
-
return self._Model
|
2662
|
-
|
2663
|
-
@Model.setter
|
2664
|
-
def Model(self, Model):
|
2665
|
-
self._Model = Model
|
2666
|
-
|
2667
2752
|
@property
|
2668
2753
|
def APIKey(self):
|
2669
2754
|
"""模型API密钥,获取鉴权信息方式请参见各模型官网
|
@@ -2703,6 +2788,37 @@ Deepseek:"https://api.deepseek.com/v1"
|
|
2703
2788
|
def APIUrl(self, APIUrl):
|
2704
2789
|
self._APIUrl = APIUrl
|
2705
2790
|
|
2791
|
+
@property
|
2792
|
+
def SystemPrompt(self):
|
2793
|
+
"""用于设定AI人设、说话规则、任务等的全局提示词。示例:## 人设您是人民医院友善、和蔼的随访医生李医生,正在给患者小明的家长打电话,原因是医院要求小明2024-08-08回院复查手术恢复情况,但小明没有来。您需要按照任务流程对小明家长进行电话随访调查。## 要求简洁回复:使用简练语言,每次最多询问一个问题,不要在一个回复中询问多个问题。富有变化:尽量使表达富有变化,表达机械重复。自然亲切:使用日常语言,尽量显得专业并亲切。提到时间时使用口语表述,如下周三、6月18日。积极主动:尝试引导对话,每个回复通常以问题或下一步建议来结尾。询问清楚:如果对方部分回答了您的问题,或者回答很模糊,请通过追问来确保回答的完整明确。遵循任务:当对方的回答偏离了您的任务时,及时引导对方回到任务中。不要从头开始重复,从偏离的地方继续询问。诚实可靠:对于客户的提问,如果不确定请务必不要编造,礼貌告知对方不清楚。不要捏造患者未提及的症状史、用药史、治疗史。其他注意点:避免提到病情恶化、恢复不理想或疾病名称等使用会使患者感到紧张的表述。不要问患者已经直接或间接回答过的问题,例如患者已经说没有不适症状,那就不要再问手术部位是否有红肿疼痛症状的问题。##任务: 1.自我介绍您是人民医院负责随访的李医生,并说明致电的目的。2.询问被叫方是否是小明家长。 - 如果不是小明家长,请礼貌表达歉意,并使用 call_end 挂断电话。- 如果小明家长没空,请礼貌告诉对方稍后会重新致电,并使用 end_call 挂断电话。3.询问小明出院后水肿情况如何,较出院时是否有变化。- 如果水肿变严重,直接跳转步骤7。4.询问出院后是否给小朋友量过体温,是否出现过发烧情况。- 如果没有量过体温,请礼貌告诉家长出院后三个月内需要每天观察体温。- 如果出现过发烧,请直接跳转步骤7。5.询问出院后是否给小朋友按时服药。- 如果没有按时服药,请友善提醒家长严格按医嘱服用药物,避免影响手术效果。6.询问小朋友在饮食上是否做到低盐低脂,适量吃优质蛋白如鸡蛋、牛奶、瘦肉等。- 如果没有做到,请友善提醒家长低盐低脂和优质蛋白有助小朋友尽快恢复。7.告知家长医生要求6月18日回院复查,但没看到有相关复诊记录。提醒家长尽快前往医院体检复查血化验、尿常规。8.询问家长是否有问题需要咨询,如果没有请礼貌道别并用call_end挂断电话。
|
2794
|
+
:rtype: str
|
2795
|
+
"""
|
2796
|
+
return self._SystemPrompt
|
2797
|
+
|
2798
|
+
@SystemPrompt.setter
|
2799
|
+
def SystemPrompt(self, SystemPrompt):
|
2800
|
+
self._SystemPrompt = SystemPrompt
|
2801
|
+
|
2802
|
+
@property
|
2803
|
+
def Model(self):
|
2804
|
+
"""模型名称,如
|
2805
|
+
|
2806
|
+
- OpenAI协议
|
2807
|
+
"gpt-4o-mini","gpt-4o","hunyuan-standard", "hunyuan-turbo","deepseek-chat";
|
2808
|
+
|
2809
|
+
- Azure协议
|
2810
|
+
"gpt-4o-mini", "gpt-4o";
|
2811
|
+
|
2812
|
+
- Minmax协议
|
2813
|
+
"deepseek-chat".
|
2814
|
+
:rtype: str
|
2815
|
+
"""
|
2816
|
+
return self._Model
|
2817
|
+
|
2818
|
+
@Model.setter
|
2819
|
+
def Model(self, Model):
|
2820
|
+
self._Model = Model
|
2821
|
+
|
2706
2822
|
@property
|
2707
2823
|
def VoiceType(self):
|
2708
2824
|
"""默认提供以下音色参数值可选择,如需自定义音色VoiceType请留空并在参数CustomTTSConfig中配置
|
@@ -3070,15 +3186,30 @@ HoaiMy
|
|
3070
3186
|
def Temperature(self, Temperature):
|
3071
3187
|
self._Temperature = Temperature
|
3072
3188
|
|
3189
|
+
@property
|
3190
|
+
def Variables(self):
|
3191
|
+
"""通用变量: <p>提示词变量</p> <p>欢迎语变量</p> <p> dify变量</p>
|
3192
|
+
|
3193
|
+
1. dify-inputs-xxx 为dify的inputs变量
|
3194
|
+
2. dify-inputs-user 为dify的user值
|
3195
|
+
3. dify-inputs-conversation_id 为dify的conversation_id值
|
3196
|
+
:rtype: list of Variable
|
3197
|
+
"""
|
3198
|
+
return self._Variables
|
3199
|
+
|
3200
|
+
@Variables.setter
|
3201
|
+
def Variables(self, Variables):
|
3202
|
+
self._Variables = Variables
|
3203
|
+
|
3073
3204
|
|
3074
3205
|
def _deserialize(self, params):
|
3075
3206
|
self._SdkAppId = params.get("SdkAppId")
|
3076
3207
|
self._Callee = params.get("Callee")
|
3077
|
-
self._SystemPrompt = params.get("SystemPrompt")
|
3078
3208
|
self._LLMType = params.get("LLMType")
|
3079
|
-
self._Model = params.get("Model")
|
3080
3209
|
self._APIKey = params.get("APIKey")
|
3081
3210
|
self._APIUrl = params.get("APIUrl")
|
3211
|
+
self._SystemPrompt = params.get("SystemPrompt")
|
3212
|
+
self._Model = params.get("Model")
|
3082
3213
|
self._VoiceType = params.get("VoiceType")
|
3083
3214
|
self._Callers = params.get("Callers")
|
3084
3215
|
self._WelcomeMessage = params.get("WelcomeMessage")
|
@@ -3115,6 +3246,12 @@ HoaiMy
|
|
3115
3246
|
obj._deserialize(item)
|
3116
3247
|
self._ExtractConfig.append(obj)
|
3117
3248
|
self._Temperature = params.get("Temperature")
|
3249
|
+
if params.get("Variables") is not None:
|
3250
|
+
self._Variables = []
|
3251
|
+
for item in params.get("Variables"):
|
3252
|
+
obj = Variable()
|
3253
|
+
obj._deserialize(item)
|
3254
|
+
self._Variables.append(obj)
|
3118
3255
|
memeber_set = set(params.keys())
|
3119
3256
|
for name, value in vars(self).items():
|
3120
3257
|
property_name = name[1:]
|
@@ -3262,8 +3399,8 @@ class CreateAdminURLResponse(AbstractModel):
|
|
3262
3399
|
self._RequestId = params.get("RequestId")
|
3263
3400
|
|
3264
3401
|
|
3265
|
-
class
|
3266
|
-
"""
|
3402
|
+
class CreateAgentCruiseDialingCampaignRequest(AbstractModel):
|
3403
|
+
"""CreateAgentCruiseDialingCampaign请求参数结构体
|
3267
3404
|
|
3268
3405
|
"""
|
3269
3406
|
|
@@ -3271,43 +3408,257 @@ class CreateAutoCalloutTaskRequest(AbstractModel):
|
|
3271
3408
|
r"""
|
3272
3409
|
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
3273
3410
|
:type SdkAppId: int
|
3274
|
-
:param
|
3275
|
-
:type
|
3276
|
-
:param
|
3411
|
+
:param _Name: 任务名称
|
3412
|
+
:type Name: str
|
3413
|
+
:param _Agent: 座席账号
|
3414
|
+
:type Agent: str
|
3415
|
+
:param _ConcurrencyNumber: 单轮并发呼叫量 1-20
|
3416
|
+
:type ConcurrencyNumber: int
|
3417
|
+
:param _StartTime: 任务启动时间,Unix 时间戳,到此时间后会自动启动任务
|
3418
|
+
:type StartTime: int
|
3419
|
+
:param _EndTime: 任务结束时间,Unix 时间戳,到此时间后会自动终止任务
|
3420
|
+
:type EndTime: int
|
3421
|
+
:param _Callees: 被叫列表,支持 E.164 或不带国家码形式的号码
|
3277
3422
|
:type Callees: list of str
|
3278
|
-
:param _Callers:
|
3423
|
+
:param _Callers: 主叫列表,使用管理端展示的号码格式
|
3279
3424
|
:type Callers: list of str
|
3280
|
-
:param
|
3281
|
-
:type
|
3282
|
-
:param
|
3283
|
-
:type Name: str
|
3284
|
-
:param _Description: 任务描述
|
3285
|
-
:type Description: str
|
3286
|
-
:param _NotAfter: 任务停止时间戳,Unix 秒级时间戳
|
3287
|
-
:type NotAfter: int
|
3288
|
-
:param _Tries: 最大尝试次数,1-3 次
|
3289
|
-
:type Tries: int
|
3290
|
-
:param _Variables: 自定义变量(仅高级版支持)
|
3291
|
-
:type Variables: list of Variable
|
3292
|
-
:param _UUI: UUI
|
3425
|
+
:param _CallOrder: 被叫呼叫顺序 0 随机 1 顺序
|
3426
|
+
:type CallOrder: int
|
3427
|
+
:param _UUI: 调用方自定义数据,最大长度 1024
|
3293
3428
|
:type UUI: str
|
3294
|
-
:param _CalleeAttributes: 被叫属性
|
3295
|
-
:type CalleeAttributes: list of CalleeAttribute
|
3296
|
-
:param _TimeZone: IANA 时区名称,参考 https://datatracker.ietf.org/doc/html/draft-ietf-netmod-iana-timezones
|
3297
|
-
:type TimeZone: str
|
3298
|
-
:param _AvailableTime: 可用时间段
|
3299
|
-
:type AvailableTime: list of TimeRange
|
3300
|
-
:param _AIAgentId: 智能体 ID,不填写时需要填写 IvrId
|
3301
|
-
:type AIAgentId: int
|
3302
3429
|
"""
|
3303
3430
|
self._SdkAppId = None
|
3304
|
-
self.
|
3431
|
+
self._Name = None
|
3432
|
+
self._Agent = None
|
3433
|
+
self._ConcurrencyNumber = None
|
3434
|
+
self._StartTime = None
|
3435
|
+
self._EndTime = None
|
3305
3436
|
self._Callees = None
|
3306
3437
|
self._Callers = None
|
3307
|
-
self.
|
3308
|
-
self.
|
3309
|
-
|
3310
|
-
|
3438
|
+
self._CallOrder = None
|
3439
|
+
self._UUI = None
|
3440
|
+
|
3441
|
+
@property
|
3442
|
+
def SdkAppId(self):
|
3443
|
+
"""应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
3444
|
+
:rtype: int
|
3445
|
+
"""
|
3446
|
+
return self._SdkAppId
|
3447
|
+
|
3448
|
+
@SdkAppId.setter
|
3449
|
+
def SdkAppId(self, SdkAppId):
|
3450
|
+
self._SdkAppId = SdkAppId
|
3451
|
+
|
3452
|
+
@property
|
3453
|
+
def Name(self):
|
3454
|
+
"""任务名称
|
3455
|
+
:rtype: str
|
3456
|
+
"""
|
3457
|
+
return self._Name
|
3458
|
+
|
3459
|
+
@Name.setter
|
3460
|
+
def Name(self, Name):
|
3461
|
+
self._Name = Name
|
3462
|
+
|
3463
|
+
@property
|
3464
|
+
def Agent(self):
|
3465
|
+
"""座席账号
|
3466
|
+
:rtype: str
|
3467
|
+
"""
|
3468
|
+
return self._Agent
|
3469
|
+
|
3470
|
+
@Agent.setter
|
3471
|
+
def Agent(self, Agent):
|
3472
|
+
self._Agent = Agent
|
3473
|
+
|
3474
|
+
@property
|
3475
|
+
def ConcurrencyNumber(self):
|
3476
|
+
"""单轮并发呼叫量 1-20
|
3477
|
+
:rtype: int
|
3478
|
+
"""
|
3479
|
+
return self._ConcurrencyNumber
|
3480
|
+
|
3481
|
+
@ConcurrencyNumber.setter
|
3482
|
+
def ConcurrencyNumber(self, ConcurrencyNumber):
|
3483
|
+
self._ConcurrencyNumber = ConcurrencyNumber
|
3484
|
+
|
3485
|
+
@property
|
3486
|
+
def StartTime(self):
|
3487
|
+
"""任务启动时间,Unix 时间戳,到此时间后会自动启动任务
|
3488
|
+
:rtype: int
|
3489
|
+
"""
|
3490
|
+
return self._StartTime
|
3491
|
+
|
3492
|
+
@StartTime.setter
|
3493
|
+
def StartTime(self, StartTime):
|
3494
|
+
self._StartTime = StartTime
|
3495
|
+
|
3496
|
+
@property
|
3497
|
+
def EndTime(self):
|
3498
|
+
"""任务结束时间,Unix 时间戳,到此时间后会自动终止任务
|
3499
|
+
:rtype: int
|
3500
|
+
"""
|
3501
|
+
return self._EndTime
|
3502
|
+
|
3503
|
+
@EndTime.setter
|
3504
|
+
def EndTime(self, EndTime):
|
3505
|
+
self._EndTime = EndTime
|
3506
|
+
|
3507
|
+
@property
|
3508
|
+
def Callees(self):
|
3509
|
+
"""被叫列表,支持 E.164 或不带国家码形式的号码
|
3510
|
+
:rtype: list of str
|
3511
|
+
"""
|
3512
|
+
return self._Callees
|
3513
|
+
|
3514
|
+
@Callees.setter
|
3515
|
+
def Callees(self, Callees):
|
3516
|
+
self._Callees = Callees
|
3517
|
+
|
3518
|
+
@property
|
3519
|
+
def Callers(self):
|
3520
|
+
"""主叫列表,使用管理端展示的号码格式
|
3521
|
+
:rtype: list of str
|
3522
|
+
"""
|
3523
|
+
return self._Callers
|
3524
|
+
|
3525
|
+
@Callers.setter
|
3526
|
+
def Callers(self, Callers):
|
3527
|
+
self._Callers = Callers
|
3528
|
+
|
3529
|
+
@property
|
3530
|
+
def CallOrder(self):
|
3531
|
+
"""被叫呼叫顺序 0 随机 1 顺序
|
3532
|
+
:rtype: int
|
3533
|
+
"""
|
3534
|
+
return self._CallOrder
|
3535
|
+
|
3536
|
+
@CallOrder.setter
|
3537
|
+
def CallOrder(self, CallOrder):
|
3538
|
+
self._CallOrder = CallOrder
|
3539
|
+
|
3540
|
+
@property
|
3541
|
+
def UUI(self):
|
3542
|
+
"""调用方自定义数据,最大长度 1024
|
3543
|
+
:rtype: str
|
3544
|
+
"""
|
3545
|
+
return self._UUI
|
3546
|
+
|
3547
|
+
@UUI.setter
|
3548
|
+
def UUI(self, UUI):
|
3549
|
+
self._UUI = UUI
|
3550
|
+
|
3551
|
+
|
3552
|
+
def _deserialize(self, params):
|
3553
|
+
self._SdkAppId = params.get("SdkAppId")
|
3554
|
+
self._Name = params.get("Name")
|
3555
|
+
self._Agent = params.get("Agent")
|
3556
|
+
self._ConcurrencyNumber = params.get("ConcurrencyNumber")
|
3557
|
+
self._StartTime = params.get("StartTime")
|
3558
|
+
self._EndTime = params.get("EndTime")
|
3559
|
+
self._Callees = params.get("Callees")
|
3560
|
+
self._Callers = params.get("Callers")
|
3561
|
+
self._CallOrder = params.get("CallOrder")
|
3562
|
+
self._UUI = params.get("UUI")
|
3563
|
+
memeber_set = set(params.keys())
|
3564
|
+
for name, value in vars(self).items():
|
3565
|
+
property_name = name[1:]
|
3566
|
+
if property_name in memeber_set:
|
3567
|
+
memeber_set.remove(property_name)
|
3568
|
+
if len(memeber_set) > 0:
|
3569
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3570
|
+
|
3571
|
+
|
3572
|
+
|
3573
|
+
class CreateAgentCruiseDialingCampaignResponse(AbstractModel):
|
3574
|
+
"""CreateAgentCruiseDialingCampaign返回参数结构体
|
3575
|
+
|
3576
|
+
"""
|
3577
|
+
|
3578
|
+
def __init__(self):
|
3579
|
+
r"""
|
3580
|
+
:param _CampaignId: 生成的任务 ID
|
3581
|
+
:type CampaignId: int
|
3582
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3583
|
+
:type RequestId: str
|
3584
|
+
"""
|
3585
|
+
self._CampaignId = None
|
3586
|
+
self._RequestId = None
|
3587
|
+
|
3588
|
+
@property
|
3589
|
+
def CampaignId(self):
|
3590
|
+
"""生成的任务 ID
|
3591
|
+
:rtype: int
|
3592
|
+
"""
|
3593
|
+
return self._CampaignId
|
3594
|
+
|
3595
|
+
@CampaignId.setter
|
3596
|
+
def CampaignId(self, CampaignId):
|
3597
|
+
self._CampaignId = CampaignId
|
3598
|
+
|
3599
|
+
@property
|
3600
|
+
def RequestId(self):
|
3601
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3602
|
+
:rtype: str
|
3603
|
+
"""
|
3604
|
+
return self._RequestId
|
3605
|
+
|
3606
|
+
@RequestId.setter
|
3607
|
+
def RequestId(self, RequestId):
|
3608
|
+
self._RequestId = RequestId
|
3609
|
+
|
3610
|
+
|
3611
|
+
def _deserialize(self, params):
|
3612
|
+
self._CampaignId = params.get("CampaignId")
|
3613
|
+
self._RequestId = params.get("RequestId")
|
3614
|
+
|
3615
|
+
|
3616
|
+
class CreateAutoCalloutTaskRequest(AbstractModel):
|
3617
|
+
"""CreateAutoCalloutTask请求参数结构体
|
3618
|
+
|
3619
|
+
"""
|
3620
|
+
|
3621
|
+
def __init__(self):
|
3622
|
+
r"""
|
3623
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
3624
|
+
:type SdkAppId: int
|
3625
|
+
:param _NotBefore: 任务起始时间戳,Unix 秒级时间戳
|
3626
|
+
:type NotBefore: int
|
3627
|
+
:param _Callees: 被叫号码列表
|
3628
|
+
:type Callees: list of str
|
3629
|
+
:param _Callers: 主叫号码列表
|
3630
|
+
:type Callers: list of str
|
3631
|
+
:param _IvrId: 呼叫使用的 IVR Id,不填时需要填写 AIAgentId
|
3632
|
+
:type IvrId: int
|
3633
|
+
:param _Name: 任务名
|
3634
|
+
:type Name: str
|
3635
|
+
:param _Description: 任务描述
|
3636
|
+
:type Description: str
|
3637
|
+
:param _NotAfter: 任务停止时间戳,Unix 秒级时间戳
|
3638
|
+
:type NotAfter: int
|
3639
|
+
:param _Tries: 最大尝试次数,1-3 次
|
3640
|
+
:type Tries: int
|
3641
|
+
:param _Variables: 自定义变量(仅高级版支持)
|
3642
|
+
:type Variables: list of Variable
|
3643
|
+
:param _UUI: UUI
|
3644
|
+
:type UUI: str
|
3645
|
+
:param _CalleeAttributes: 被叫属性
|
3646
|
+
:type CalleeAttributes: list of CalleeAttribute
|
3647
|
+
:param _TimeZone: IANA 时区名称,参考 https://datatracker.ietf.org/doc/html/draft-ietf-netmod-iana-timezones
|
3648
|
+
:type TimeZone: str
|
3649
|
+
:param _AvailableTime: 可用时间段
|
3650
|
+
:type AvailableTime: list of TimeRange
|
3651
|
+
:param _AIAgentId: 智能体 ID,不填写时需要填写 IvrId
|
3652
|
+
:type AIAgentId: int
|
3653
|
+
"""
|
3654
|
+
self._SdkAppId = None
|
3655
|
+
self._NotBefore = None
|
3656
|
+
self._Callees = None
|
3657
|
+
self._Callers = None
|
3658
|
+
self._IvrId = None
|
3659
|
+
self._Name = None
|
3660
|
+
self._Description = None
|
3661
|
+
self._NotAfter = None
|
3311
3662
|
self._Tries = None
|
3312
3663
|
self._Variables = None
|
3313
3664
|
self._UUI = None
|
@@ -5653,38 +6004,167 @@ class DescribeActiveCarrierPrivilegeNumberRequest(AbstractModel):
|
|
5653
6004
|
self._PageNumber = PageNumber
|
5654
6005
|
|
5655
6006
|
@property
|
5656
|
-
def PageSize(self):
|
5657
|
-
"""默认10,最大100
|
6007
|
+
def PageSize(self):
|
6008
|
+
"""默认10,最大100
|
6009
|
+
:rtype: int
|
6010
|
+
"""
|
6011
|
+
return self._PageSize
|
6012
|
+
|
6013
|
+
@PageSize.setter
|
6014
|
+
def PageSize(self, PageSize):
|
6015
|
+
self._PageSize = PageSize
|
6016
|
+
|
6017
|
+
@property
|
6018
|
+
def Filters(self):
|
6019
|
+
"""筛选条件 Name支持PhoneNumber(按号码模糊查找)
|
6020
|
+
:rtype: list of Filter
|
6021
|
+
"""
|
6022
|
+
return self._Filters
|
6023
|
+
|
6024
|
+
@Filters.setter
|
6025
|
+
def Filters(self, Filters):
|
6026
|
+
self._Filters = Filters
|
6027
|
+
|
6028
|
+
|
6029
|
+
def _deserialize(self, params):
|
6030
|
+
self._SdkAppId = params.get("SdkAppId")
|
6031
|
+
self._PageNumber = params.get("PageNumber")
|
6032
|
+
self._PageSize = params.get("PageSize")
|
6033
|
+
if params.get("Filters") is not None:
|
6034
|
+
self._Filters = []
|
6035
|
+
for item in params.get("Filters"):
|
6036
|
+
obj = Filter()
|
6037
|
+
obj._deserialize(item)
|
6038
|
+
self._Filters.append(obj)
|
6039
|
+
memeber_set = set(params.keys())
|
6040
|
+
for name, value in vars(self).items():
|
6041
|
+
property_name = name[1:]
|
6042
|
+
if property_name in memeber_set:
|
6043
|
+
memeber_set.remove(property_name)
|
6044
|
+
if len(memeber_set) > 0:
|
6045
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
6046
|
+
|
6047
|
+
|
6048
|
+
|
6049
|
+
class DescribeActiveCarrierPrivilegeNumberResponse(AbstractModel):
|
6050
|
+
"""DescribeActiveCarrierPrivilegeNumber返回参数结构体
|
6051
|
+
|
6052
|
+
"""
|
6053
|
+
|
6054
|
+
def __init__(self):
|
6055
|
+
r"""
|
6056
|
+
:param _TotalCount: 总数量
|
6057
|
+
:type TotalCount: int
|
6058
|
+
:param _ActiveCarrierPrivilegeNumbers: 生效列表
|
6059
|
+
:type ActiveCarrierPrivilegeNumbers: list of ActiveCarrierPrivilegeNumber
|
6060
|
+
:param _PendingApplicantIds: 待审核单号
|
6061
|
+
:type PendingApplicantIds: list of int non-negative
|
6062
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6063
|
+
:type RequestId: str
|
6064
|
+
"""
|
6065
|
+
self._TotalCount = None
|
6066
|
+
self._ActiveCarrierPrivilegeNumbers = None
|
6067
|
+
self._PendingApplicantIds = None
|
6068
|
+
self._RequestId = None
|
6069
|
+
|
6070
|
+
@property
|
6071
|
+
def TotalCount(self):
|
6072
|
+
"""总数量
|
6073
|
+
:rtype: int
|
6074
|
+
"""
|
6075
|
+
return self._TotalCount
|
6076
|
+
|
6077
|
+
@TotalCount.setter
|
6078
|
+
def TotalCount(self, TotalCount):
|
6079
|
+
self._TotalCount = TotalCount
|
6080
|
+
|
6081
|
+
@property
|
6082
|
+
def ActiveCarrierPrivilegeNumbers(self):
|
6083
|
+
"""生效列表
|
6084
|
+
:rtype: list of ActiveCarrierPrivilegeNumber
|
6085
|
+
"""
|
6086
|
+
return self._ActiveCarrierPrivilegeNumbers
|
6087
|
+
|
6088
|
+
@ActiveCarrierPrivilegeNumbers.setter
|
6089
|
+
def ActiveCarrierPrivilegeNumbers(self, ActiveCarrierPrivilegeNumbers):
|
6090
|
+
self._ActiveCarrierPrivilegeNumbers = ActiveCarrierPrivilegeNumbers
|
6091
|
+
|
6092
|
+
@property
|
6093
|
+
def PendingApplicantIds(self):
|
6094
|
+
"""待审核单号
|
6095
|
+
:rtype: list of int non-negative
|
6096
|
+
"""
|
6097
|
+
return self._PendingApplicantIds
|
6098
|
+
|
6099
|
+
@PendingApplicantIds.setter
|
6100
|
+
def PendingApplicantIds(self, PendingApplicantIds):
|
6101
|
+
self._PendingApplicantIds = PendingApplicantIds
|
6102
|
+
|
6103
|
+
@property
|
6104
|
+
def RequestId(self):
|
6105
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6106
|
+
:rtype: str
|
6107
|
+
"""
|
6108
|
+
return self._RequestId
|
6109
|
+
|
6110
|
+
@RequestId.setter
|
6111
|
+
def RequestId(self, RequestId):
|
6112
|
+
self._RequestId = RequestId
|
6113
|
+
|
6114
|
+
|
6115
|
+
def _deserialize(self, params):
|
6116
|
+
self._TotalCount = params.get("TotalCount")
|
6117
|
+
if params.get("ActiveCarrierPrivilegeNumbers") is not None:
|
6118
|
+
self._ActiveCarrierPrivilegeNumbers = []
|
6119
|
+
for item in params.get("ActiveCarrierPrivilegeNumbers"):
|
6120
|
+
obj = ActiveCarrierPrivilegeNumber()
|
6121
|
+
obj._deserialize(item)
|
6122
|
+
self._ActiveCarrierPrivilegeNumbers.append(obj)
|
6123
|
+
self._PendingApplicantIds = params.get("PendingApplicantIds")
|
6124
|
+
self._RequestId = params.get("RequestId")
|
6125
|
+
|
6126
|
+
|
6127
|
+
class DescribeAgentCruiseDialingCampaignRequest(AbstractModel):
|
6128
|
+
"""DescribeAgentCruiseDialingCampaign请求参数结构体
|
6129
|
+
|
6130
|
+
"""
|
6131
|
+
|
6132
|
+
def __init__(self):
|
6133
|
+
r"""
|
6134
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
6135
|
+
:type SdkAppId: int
|
6136
|
+
:param _CampaignId: 任务 ID
|
6137
|
+
:type CampaignId: int
|
6138
|
+
"""
|
6139
|
+
self._SdkAppId = None
|
6140
|
+
self._CampaignId = None
|
6141
|
+
|
6142
|
+
@property
|
6143
|
+
def SdkAppId(self):
|
6144
|
+
"""应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
5658
6145
|
:rtype: int
|
5659
6146
|
"""
|
5660
|
-
return self.
|
6147
|
+
return self._SdkAppId
|
5661
6148
|
|
5662
|
-
@
|
5663
|
-
def
|
5664
|
-
self.
|
6149
|
+
@SdkAppId.setter
|
6150
|
+
def SdkAppId(self, SdkAppId):
|
6151
|
+
self._SdkAppId = SdkAppId
|
5665
6152
|
|
5666
6153
|
@property
|
5667
|
-
def
|
5668
|
-
"""
|
5669
|
-
:rtype:
|
6154
|
+
def CampaignId(self):
|
6155
|
+
"""任务 ID
|
6156
|
+
:rtype: int
|
5670
6157
|
"""
|
5671
|
-
return self.
|
6158
|
+
return self._CampaignId
|
5672
6159
|
|
5673
|
-
@
|
5674
|
-
def
|
5675
|
-
self.
|
6160
|
+
@CampaignId.setter
|
6161
|
+
def CampaignId(self, CampaignId):
|
6162
|
+
self._CampaignId = CampaignId
|
5676
6163
|
|
5677
6164
|
|
5678
6165
|
def _deserialize(self, params):
|
5679
6166
|
self._SdkAppId = params.get("SdkAppId")
|
5680
|
-
self.
|
5681
|
-
self._PageSize = params.get("PageSize")
|
5682
|
-
if params.get("Filters") is not None:
|
5683
|
-
self._Filters = []
|
5684
|
-
for item in params.get("Filters"):
|
5685
|
-
obj = Filter()
|
5686
|
-
obj._deserialize(item)
|
5687
|
-
self._Filters.append(obj)
|
6167
|
+
self._CampaignId = params.get("CampaignId")
|
5688
6168
|
memeber_set = set(params.keys())
|
5689
6169
|
for name, value in vars(self).items():
|
5690
6170
|
property_name = name[1:]
|
@@ -5695,59 +6175,157 @@ class DescribeActiveCarrierPrivilegeNumberRequest(AbstractModel):
|
|
5695
6175
|
|
5696
6176
|
|
5697
6177
|
|
5698
|
-
class
|
5699
|
-
"""
|
6178
|
+
class DescribeAgentCruiseDialingCampaignResponse(AbstractModel):
|
6179
|
+
"""DescribeAgentCruiseDialingCampaign返回参数结构体
|
5700
6180
|
|
5701
6181
|
"""
|
5702
6182
|
|
5703
6183
|
def __init__(self):
|
5704
6184
|
r"""
|
5705
|
-
:param
|
5706
|
-
:type
|
5707
|
-
:param
|
5708
|
-
:type
|
5709
|
-
:param
|
5710
|
-
:type
|
6185
|
+
:param _Name: 任务名称
|
6186
|
+
:type Name: str
|
6187
|
+
:param _Agent: 座席账号
|
6188
|
+
:type Agent: str
|
6189
|
+
:param _ConcurrencyNumber: 单轮并发呼叫量 1-20
|
6190
|
+
:type ConcurrencyNumber: int
|
6191
|
+
:param _StartTime: 任务启动时间,Unix 时间戳,到此时间后会自动启动任务
|
6192
|
+
:type StartTime: int
|
6193
|
+
:param _EndTime: 任务结束时间,Unix 时间戳,到此时间后会自动终止任务
|
6194
|
+
:type EndTime: int
|
6195
|
+
:param _CallOrder: 被叫呼叫顺序 0 随机 1 顺序
|
6196
|
+
:type CallOrder: int
|
6197
|
+
:param _UUI: 调用方自定义数据,最大长度 1024
|
6198
|
+
:type UUI: str
|
6199
|
+
:param _State: 任务状态 0 未启动 1 运行中 2 已完成 3 已终止
|
6200
|
+
:type State: int
|
6201
|
+
:param _TotalCalleeCount: 被叫总数
|
6202
|
+
:type TotalCalleeCount: int
|
6203
|
+
:param _CalledCalleeCount: 已呼被叫数
|
6204
|
+
:type CalledCalleeCount: int
|
5711
6205
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5712
6206
|
:type RequestId: str
|
5713
6207
|
"""
|
5714
|
-
self.
|
5715
|
-
self.
|
5716
|
-
self.
|
6208
|
+
self._Name = None
|
6209
|
+
self._Agent = None
|
6210
|
+
self._ConcurrencyNumber = None
|
6211
|
+
self._StartTime = None
|
6212
|
+
self._EndTime = None
|
6213
|
+
self._CallOrder = None
|
6214
|
+
self._UUI = None
|
6215
|
+
self._State = None
|
6216
|
+
self._TotalCalleeCount = None
|
6217
|
+
self._CalledCalleeCount = None
|
5717
6218
|
self._RequestId = None
|
5718
6219
|
|
5719
6220
|
@property
|
5720
|
-
def
|
5721
|
-
"""
|
6221
|
+
def Name(self):
|
6222
|
+
"""任务名称
|
6223
|
+
:rtype: str
|
6224
|
+
"""
|
6225
|
+
return self._Name
|
6226
|
+
|
6227
|
+
@Name.setter
|
6228
|
+
def Name(self, Name):
|
6229
|
+
self._Name = Name
|
6230
|
+
|
6231
|
+
@property
|
6232
|
+
def Agent(self):
|
6233
|
+
"""座席账号
|
6234
|
+
:rtype: str
|
6235
|
+
"""
|
6236
|
+
return self._Agent
|
6237
|
+
|
6238
|
+
@Agent.setter
|
6239
|
+
def Agent(self, Agent):
|
6240
|
+
self._Agent = Agent
|
6241
|
+
|
6242
|
+
@property
|
6243
|
+
def ConcurrencyNumber(self):
|
6244
|
+
"""单轮并发呼叫量 1-20
|
5722
6245
|
:rtype: int
|
5723
6246
|
"""
|
5724
|
-
return self.
|
6247
|
+
return self._ConcurrencyNumber
|
5725
6248
|
|
5726
|
-
@
|
5727
|
-
def
|
5728
|
-
self.
|
6249
|
+
@ConcurrencyNumber.setter
|
6250
|
+
def ConcurrencyNumber(self, ConcurrencyNumber):
|
6251
|
+
self._ConcurrencyNumber = ConcurrencyNumber
|
5729
6252
|
|
5730
6253
|
@property
|
5731
|
-
def
|
5732
|
-
"""
|
5733
|
-
:rtype:
|
6254
|
+
def StartTime(self):
|
6255
|
+
"""任务启动时间,Unix 时间戳,到此时间后会自动启动任务
|
6256
|
+
:rtype: int
|
5734
6257
|
"""
|
5735
|
-
return self.
|
6258
|
+
return self._StartTime
|
5736
6259
|
|
5737
|
-
@
|
5738
|
-
def
|
5739
|
-
self.
|
6260
|
+
@StartTime.setter
|
6261
|
+
def StartTime(self, StartTime):
|
6262
|
+
self._StartTime = StartTime
|
5740
6263
|
|
5741
6264
|
@property
|
5742
|
-
def
|
5743
|
-
"""
|
5744
|
-
:rtype:
|
6265
|
+
def EndTime(self):
|
6266
|
+
"""任务结束时间,Unix 时间戳,到此时间后会自动终止任务
|
6267
|
+
:rtype: int
|
5745
6268
|
"""
|
5746
|
-
return self.
|
6269
|
+
return self._EndTime
|
5747
6270
|
|
5748
|
-
@
|
5749
|
-
def
|
5750
|
-
self.
|
6271
|
+
@EndTime.setter
|
6272
|
+
def EndTime(self, EndTime):
|
6273
|
+
self._EndTime = EndTime
|
6274
|
+
|
6275
|
+
@property
|
6276
|
+
def CallOrder(self):
|
6277
|
+
"""被叫呼叫顺序 0 随机 1 顺序
|
6278
|
+
:rtype: int
|
6279
|
+
"""
|
6280
|
+
return self._CallOrder
|
6281
|
+
|
6282
|
+
@CallOrder.setter
|
6283
|
+
def CallOrder(self, CallOrder):
|
6284
|
+
self._CallOrder = CallOrder
|
6285
|
+
|
6286
|
+
@property
|
6287
|
+
def UUI(self):
|
6288
|
+
"""调用方自定义数据,最大长度 1024
|
6289
|
+
:rtype: str
|
6290
|
+
"""
|
6291
|
+
return self._UUI
|
6292
|
+
|
6293
|
+
@UUI.setter
|
6294
|
+
def UUI(self, UUI):
|
6295
|
+
self._UUI = UUI
|
6296
|
+
|
6297
|
+
@property
|
6298
|
+
def State(self):
|
6299
|
+
"""任务状态 0 未启动 1 运行中 2 已完成 3 已终止
|
6300
|
+
:rtype: int
|
6301
|
+
"""
|
6302
|
+
return self._State
|
6303
|
+
|
6304
|
+
@State.setter
|
6305
|
+
def State(self, State):
|
6306
|
+
self._State = State
|
6307
|
+
|
6308
|
+
@property
|
6309
|
+
def TotalCalleeCount(self):
|
6310
|
+
"""被叫总数
|
6311
|
+
:rtype: int
|
6312
|
+
"""
|
6313
|
+
return self._TotalCalleeCount
|
6314
|
+
|
6315
|
+
@TotalCalleeCount.setter
|
6316
|
+
def TotalCalleeCount(self, TotalCalleeCount):
|
6317
|
+
self._TotalCalleeCount = TotalCalleeCount
|
6318
|
+
|
6319
|
+
@property
|
6320
|
+
def CalledCalleeCount(self):
|
6321
|
+
"""已呼被叫数
|
6322
|
+
:rtype: int
|
6323
|
+
"""
|
6324
|
+
return self._CalledCalleeCount
|
6325
|
+
|
6326
|
+
@CalledCalleeCount.setter
|
6327
|
+
def CalledCalleeCount(self, CalledCalleeCount):
|
6328
|
+
self._CalledCalleeCount = CalledCalleeCount
|
5751
6329
|
|
5752
6330
|
@property
|
5753
6331
|
def RequestId(self):
|
@@ -5762,14 +6340,16 @@ class DescribeActiveCarrierPrivilegeNumberResponse(AbstractModel):
|
|
5762
6340
|
|
5763
6341
|
|
5764
6342
|
def _deserialize(self, params):
|
5765
|
-
self.
|
5766
|
-
|
5767
|
-
|
5768
|
-
|
5769
|
-
|
5770
|
-
|
5771
|
-
|
5772
|
-
self.
|
6343
|
+
self._Name = params.get("Name")
|
6344
|
+
self._Agent = params.get("Agent")
|
6345
|
+
self._ConcurrencyNumber = params.get("ConcurrencyNumber")
|
6346
|
+
self._StartTime = params.get("StartTime")
|
6347
|
+
self._EndTime = params.get("EndTime")
|
6348
|
+
self._CallOrder = params.get("CallOrder")
|
6349
|
+
self._UUI = params.get("UUI")
|
6350
|
+
self._State = params.get("State")
|
6351
|
+
self._TotalCalleeCount = params.get("TotalCalleeCount")
|
6352
|
+
self._CalledCalleeCount = params.get("CalledCalleeCount")
|
5773
6353
|
self._RequestId = params.get("RequestId")
|
5774
6354
|
|
5775
6355
|
|
@@ -15164,6 +15744,100 @@ class TimeRange(AbstractModel):
|
|
15164
15744
|
|
15165
15745
|
|
15166
15746
|
|
15747
|
+
class TransferToManualRequest(AbstractModel):
|
15748
|
+
"""TransferToManual请求参数结构体
|
15749
|
+
|
15750
|
+
"""
|
15751
|
+
|
15752
|
+
def __init__(self):
|
15753
|
+
r"""
|
15754
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
15755
|
+
:type SdkAppId: int
|
15756
|
+
:param _SessionId: 会话ID
|
15757
|
+
:type SessionId: str
|
15758
|
+
:param _SkillGroupId: 技能组Id
|
15759
|
+
:type SkillGroupId: int
|
15760
|
+
"""
|
15761
|
+
self._SdkAppId = None
|
15762
|
+
self._SessionId = None
|
15763
|
+
self._SkillGroupId = None
|
15764
|
+
|
15765
|
+
@property
|
15766
|
+
def SdkAppId(self):
|
15767
|
+
"""应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
15768
|
+
:rtype: int
|
15769
|
+
"""
|
15770
|
+
return self._SdkAppId
|
15771
|
+
|
15772
|
+
@SdkAppId.setter
|
15773
|
+
def SdkAppId(self, SdkAppId):
|
15774
|
+
self._SdkAppId = SdkAppId
|
15775
|
+
|
15776
|
+
@property
|
15777
|
+
def SessionId(self):
|
15778
|
+
"""会话ID
|
15779
|
+
:rtype: str
|
15780
|
+
"""
|
15781
|
+
return self._SessionId
|
15782
|
+
|
15783
|
+
@SessionId.setter
|
15784
|
+
def SessionId(self, SessionId):
|
15785
|
+
self._SessionId = SessionId
|
15786
|
+
|
15787
|
+
@property
|
15788
|
+
def SkillGroupId(self):
|
15789
|
+
"""技能组Id
|
15790
|
+
:rtype: int
|
15791
|
+
"""
|
15792
|
+
return self._SkillGroupId
|
15793
|
+
|
15794
|
+
@SkillGroupId.setter
|
15795
|
+
def SkillGroupId(self, SkillGroupId):
|
15796
|
+
self._SkillGroupId = SkillGroupId
|
15797
|
+
|
15798
|
+
|
15799
|
+
def _deserialize(self, params):
|
15800
|
+
self._SdkAppId = params.get("SdkAppId")
|
15801
|
+
self._SessionId = params.get("SessionId")
|
15802
|
+
self._SkillGroupId = params.get("SkillGroupId")
|
15803
|
+
memeber_set = set(params.keys())
|
15804
|
+
for name, value in vars(self).items():
|
15805
|
+
property_name = name[1:]
|
15806
|
+
if property_name in memeber_set:
|
15807
|
+
memeber_set.remove(property_name)
|
15808
|
+
if len(memeber_set) > 0:
|
15809
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
15810
|
+
|
15811
|
+
|
15812
|
+
|
15813
|
+
class TransferToManualResponse(AbstractModel):
|
15814
|
+
"""TransferToManual返回参数结构体
|
15815
|
+
|
15816
|
+
"""
|
15817
|
+
|
15818
|
+
def __init__(self):
|
15819
|
+
r"""
|
15820
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
15821
|
+
:type RequestId: str
|
15822
|
+
"""
|
15823
|
+
self._RequestId = None
|
15824
|
+
|
15825
|
+
@property
|
15826
|
+
def RequestId(self):
|
15827
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
15828
|
+
:rtype: str
|
15829
|
+
"""
|
15830
|
+
return self._RequestId
|
15831
|
+
|
15832
|
+
@RequestId.setter
|
15833
|
+
def RequestId(self, RequestId):
|
15834
|
+
self._RequestId = RequestId
|
15835
|
+
|
15836
|
+
|
15837
|
+
def _deserialize(self, params):
|
15838
|
+
self._RequestId = params.get("RequestId")
|
15839
|
+
|
15840
|
+
|
15167
15841
|
class UnbindNumberCallOutSkillGroupRequest(AbstractModel):
|
15168
15842
|
"""UnbindNumberCallOutSkillGroup请求参数结构体
|
15169
15843
|
|