tencentcloud-sdk-ccc 3.0.1028 → 3.0.1030

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4d9764023e2c791591fe1637a456834c3a9a5b4e
4
- data.tar.gz: ac96d98f02e94077eb63781cadbb574113423795
3
+ metadata.gz: 26c63403372ed82d5ca2293a9b00fdb7d9cc94dc
4
+ data.tar.gz: 2f103988064704ca056ebd81d7ebf471029ebeaf
5
5
  SHA512:
6
- metadata.gz: bfc83faf2c27783e725bf60c51216e2ab36c3f325bbabe19dbd3db77f84c28582489e93a08564640ab3245601c88493bf2e3cc42a8bd84bef4c318fa51a88936
7
- data.tar.gz: 9dcffee5f0d19bbcd5466601c99ab53258a0c2e5147ab9dffbbee0638e344d9ab2b17666785e08d1664bfe8e5877ad7aebd938f02f340fc2b5dd92294a1ab86e
6
+ metadata.gz: 5755c5049ccf42f9da5e9fe5e6a174f171a7c4fb04d82b56c9264035e9e3f447bd565e9b3c04804c9413bbd761d4a86d54176c8235dd9fde4337acb76e886bd7
7
+ data.tar.gz: 8b9a3e3d47634776fbfddb267976ac65d0890821babe01a1538b3d5c29b679cddd6b18a0e574f61793cfe08ee072ae91deff4736049f2b0b7535f701b4906b28
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1028
1
+ 3.0.1030
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 停止座席巡航式外呼任务
33
+
34
+ # @param request: Request instance for AbortAgentCruiseDialingCampaign.
35
+ # @type request: :class:`Tencentcloud::ccc::V20200210::AbortAgentCruiseDialingCampaignRequest`
36
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::AbortAgentCruiseDialingCampaignResponse`
37
+ def AbortAgentCruiseDialingCampaign(request)
38
+ body = send_request('AbortAgentCruiseDialingCampaign', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = AbortAgentCruiseDialingCampaignResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
32
56
  # 停止预测式外呼任务
33
57
 
34
58
  # @param request: Request instance for AbortPredictiveDialingCampaign.
@@ -177,6 +201,30 @@ module TencentCloud
177
201
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
178
202
  end
179
203
 
204
+ # 座席巡航式外呼。
205
+
206
+ # @param request: Request instance for CreateAgentCruiseDialingCampaign.
207
+ # @type request: :class:`Tencentcloud::ccc::V20200210::CreateAgentCruiseDialingCampaignRequest`
208
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::CreateAgentCruiseDialingCampaignResponse`
209
+ def CreateAgentCruiseDialingCampaign(request)
210
+ body = send_request('CreateAgentCruiseDialingCampaign', request.serialize)
211
+ response = JSON.parse(body)
212
+ if response['Response'].key?('Error') == false
213
+ model = CreateAgentCruiseDialingCampaignResponse.new
214
+ model.deserialize(response['Response'])
215
+ model
216
+ else
217
+ code = response['Response']['Error']['Code']
218
+ message = response['Response']['Error']['Message']
219
+ reqid = response['Response']['RequestId']
220
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
221
+ end
222
+ rescue TencentCloud::Common::TencentCloudSDKException => e
223
+ raise e
224
+ rescue StandardError => e
225
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
226
+ end
227
+
180
228
  # 创建自动外呼任务
181
229
 
182
230
  # @param request: Request instance for CreateAutoCalloutTask.
@@ -589,6 +637,30 @@ module TencentCloud
589
637
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
590
638
  end
591
639
 
640
+ # 查询 座席巡航式外呼任务
641
+
642
+ # @param request: Request instance for DescribeAgentCruiseDialingCampaign.
643
+ # @type request: :class:`Tencentcloud::ccc::V20200210::DescribeAgentCruiseDialingCampaignRequest`
644
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::DescribeAgentCruiseDialingCampaignResponse`
645
+ def DescribeAgentCruiseDialingCampaign(request)
646
+ body = send_request('DescribeAgentCruiseDialingCampaign', request.serialize)
647
+ response = JSON.parse(body)
648
+ if response['Response'].key?('Error') == false
649
+ model = DescribeAgentCruiseDialingCampaignResponse.new
650
+ model.deserialize(response['Response'])
651
+ model
652
+ else
653
+ code = response['Response']['Error']['Code']
654
+ message = response['Response']['Error']['Message']
655
+ reqid = response['Response']['RequestId']
656
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
657
+ end
658
+ rescue TencentCloud::Common::TencentCloudSDKException => e
659
+ raise e
660
+ rescue StandardError => e
661
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
662
+ end
663
+
592
664
  # 查询自动外呼任务详情
593
665
 
594
666
  # @param request: Request instance for DescribeAutoCalloutTask.
@@ -1455,6 +1527,30 @@ module TencentCloud
1455
1527
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1456
1528
  end
1457
1529
 
1530
+ # 特定场景下讲会话转接到人工坐席
1531
+
1532
+ # @param request: Request instance for TransferToManual.
1533
+ # @type request: :class:`Tencentcloud::ccc::V20200210::TransferToManualRequest`
1534
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::TransferToManualResponse`
1535
+ def TransferToManual(request)
1536
+ body = send_request('TransferToManual', request.serialize)
1537
+ response = JSON.parse(body)
1538
+ if response['Response'].key?('Error') == false
1539
+ model = TransferToManualResponse.new
1540
+ model.deserialize(response['Response'])
1541
+ model
1542
+ else
1543
+ code = response['Response']['Error']['Code']
1544
+ message = response['Response']['Error']['Message']
1545
+ reqid = response['Response']['RequestId']
1546
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1547
+ end
1548
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1549
+ raise e
1550
+ rescue StandardError => e
1551
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1552
+ end
1553
+
1458
1554
  # 解绑号码外呼技能组
1459
1555
 
1460
1556
  # @param request: Request instance for UnbindNumberCallOutSkillGroup.
@@ -140,6 +140,42 @@ module TencentCloud
140
140
  end
141
141
  end
142
142
 
143
+ # AbortAgentCruiseDialingCampaign请求参数结构体
144
+ class AbortAgentCruiseDialingCampaignRequest < TencentCloud::Common::AbstractModel
145
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
146
+ # @type SdkAppId: Integer
147
+ # @param CampaignId: 任务 ID
148
+ # @type CampaignId: Integer
149
+
150
+ attr_accessor :SdkAppId, :CampaignId
151
+
152
+ def initialize(sdkappid=nil, campaignid=nil)
153
+ @SdkAppId = sdkappid
154
+ @CampaignId = campaignid
155
+ end
156
+
157
+ def deserialize(params)
158
+ @SdkAppId = params['SdkAppId']
159
+ @CampaignId = params['CampaignId']
160
+ end
161
+ end
162
+
163
+ # AbortAgentCruiseDialingCampaign返回参数结构体
164
+ class AbortAgentCruiseDialingCampaignResponse < TencentCloud::Common::AbstractModel
165
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
166
+ # @type RequestId: String
167
+
168
+ attr_accessor :RequestId
169
+
170
+ def initialize(requestid=nil)
171
+ @RequestId = requestid
172
+ end
173
+
174
+ def deserialize(params)
175
+ @RequestId = params['RequestId']
176
+ end
177
+ end
178
+
143
179
  # AbortPredictiveDialingCampaign请求参数结构体
144
180
  class AbortPredictiveDialingCampaignRequest < TencentCloud::Common::AbstractModel
145
181
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
@@ -791,15 +827,22 @@ module TencentCloud
791
827
  # @type Callers: Array
792
828
  # @param PromptVariables: 提示词变量
793
829
  # @type PromptVariables: Array
830
+ # @param Variables: 通用变量: <p>提示词变量</p> <p>欢迎语变量</p> <p> dify变量</p>
831
+
832
+ # 1. dify-inputs-xxx 为dify的inputs变量
833
+ # 2. dify-inputs-user 为dify的user值
834
+ # 3. dify-inputs-conversation_id 为dify的conversation_id值
835
+ # @type Variables: Array
794
836
 
795
- attr_accessor :SdkAppId, :AIAgentId, :Callee, :Callers, :PromptVariables
837
+ attr_accessor :SdkAppId, :AIAgentId, :Callee, :Callers, :PromptVariables, :Variables
796
838
 
797
- def initialize(sdkappid=nil, aiagentid=nil, callee=nil, callers=nil, promptvariables=nil)
839
+ def initialize(sdkappid=nil, aiagentid=nil, callee=nil, callers=nil, promptvariables=nil, variables=nil)
798
840
  @SdkAppId = sdkappid
799
841
  @AIAgentId = aiagentid
800
842
  @Callee = callee
801
843
  @Callers = callers
802
844
  @PromptVariables = promptvariables
845
+ @Variables = variables
803
846
  end
804
847
 
805
848
  def deserialize(params)
@@ -815,6 +858,14 @@ module TencentCloud
815
858
  @PromptVariables << variable_tmp
816
859
  end
817
860
  end
861
+ unless params['Variables'].nil?
862
+ @Variables = []
863
+ params['Variables'].each do |i|
864
+ variable_tmp = Variable.new
865
+ variable_tmp.deserialize(i)
866
+ @Variables << variable_tmp
867
+ end
868
+ end
818
869
  end
819
870
  end
820
871
 
@@ -844,25 +895,13 @@ module TencentCloud
844
895
  # @type SdkAppId: Integer
845
896
  # @param Callee: 被叫号码
846
897
  # @type Callee: String
847
- # @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挂断电话。
848
- # @type SystemPrompt: String
849
- # @param LLMType: 模型接口协议类型,目前兼容三种协议类型:
898
+ # @param LLMType: 模型接口协议类型,目前兼容四种协议类型:
850
899
 
851
900
  # - OpenAI协议(包括GPT、混元、DeepSeek等):"openai"
852
901
  # - Azure协议:"azure"
853
902
  # - Minimax协议:"minimax"
903
+ # - Dify协议: "dify"
854
904
  # @type LLMType: String
855
- # @param Model: 模型名称,如
856
-
857
- # - OpenAI协议
858
- # "gpt-4o-mini","gpt-4o","hunyuan-standard", "hunyuan-turbo","deepseek-chat";
859
-
860
- # - Azure协议
861
- # "gpt-4o-mini", "gpt-4o";
862
-
863
- # - Minmax协议
864
- # "deepseek-chat".
865
- # @type Model: String
866
905
  # @param APIKey: 模型API密钥,获取鉴权信息方式请参见各模型官网
867
906
 
868
907
  # - 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/);
@@ -884,6 +923,19 @@ module TencentCloud
884
923
  # - Minimax协议
885
924
  # "https://api.minimax.chat/v1"
886
925
  # @type APIUrl: String
926
+ # @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挂断电话。
927
+ # @type SystemPrompt: String
928
+ # @param Model: 模型名称,如
929
+
930
+ # - OpenAI协议
931
+ # "gpt-4o-mini","gpt-4o","hunyuan-standard", "hunyuan-turbo","deepseek-chat";
932
+
933
+ # - Azure协议
934
+ # "gpt-4o-mini", "gpt-4o";
935
+
936
+ # - Minmax协议
937
+ # "deepseek-chat".
938
+ # @type Model: String
887
939
  # @param VoiceType: 默认提供以下音色参数值可选择,如需自定义音色VoiceType请留空并在参数CustomTTSConfig中配置
888
940
 
889
941
  # 汉语:
@@ -1061,17 +1113,23 @@ module TencentCloud
1061
1113
  # @type ExtractConfig: Array
1062
1114
  # @param Temperature: 模型温度控制
1063
1115
  # @type Temperature: Float
1116
+ # @param Variables: 通用变量: <p>提示词变量</p> <p>欢迎语变量</p> <p> dify变量</p>
1064
1117
 
1065
- attr_accessor :SdkAppId, :Callee, :SystemPrompt, :LLMType, :Model, :APIKey, :APIUrl, :VoiceType, :Callers, :WelcomeMessage, :WelcomeType, :WelcomeMessagePriority, :MaxDuration, :Languages, :InterruptMode, :InterruptSpeechDuration, :EndFunctionEnable, :EndFunctionDesc, :TransferFunctionEnable, :TransferItems, :NotifyDuration, :NotifyMessage, :NotifyMaxCount, :CustomTTSConfig, :PromptVariables, :VadSilenceTime, :ExtractConfig, :Temperature
1118
+ # 1. dify-inputs-xxx 为dify的inputs变量
1119
+ # 2. dify-inputs-user 为dify的user值
1120
+ # 3. dify-inputs-conversation_id 为dify的conversation_id值
1121
+ # @type Variables: Array
1066
1122
 
1067
- def initialize(sdkappid=nil, callee=nil, systemprompt=nil, llmtype=nil, model=nil, apikey=nil, apiurl=nil, voicetype=nil, callers=nil, welcomemessage=nil, welcometype=nil, welcomemessagepriority=nil, maxduration=nil, languages=nil, interruptmode=nil, interruptspeechduration=nil, endfunctionenable=nil, endfunctiondesc=nil, transferfunctionenable=nil, transferitems=nil, notifyduration=nil, notifymessage=nil, notifymaxcount=nil, customttsconfig=nil, promptvariables=nil, vadsilencetime=nil, extractconfig=nil, temperature=nil)
1123
+ attr_accessor :SdkAppId, :Callee, :LLMType, :APIKey, :APIUrl, :SystemPrompt, :Model, :VoiceType, :Callers, :WelcomeMessage, :WelcomeType, :WelcomeMessagePriority, :MaxDuration, :Languages, :InterruptMode, :InterruptSpeechDuration, :EndFunctionEnable, :EndFunctionDesc, :TransferFunctionEnable, :TransferItems, :NotifyDuration, :NotifyMessage, :NotifyMaxCount, :CustomTTSConfig, :PromptVariables, :VadSilenceTime, :ExtractConfig, :Temperature, :Variables
1124
+
1125
+ def initialize(sdkappid=nil, callee=nil, llmtype=nil, apikey=nil, apiurl=nil, systemprompt=nil, model=nil, voicetype=nil, callers=nil, welcomemessage=nil, welcometype=nil, welcomemessagepriority=nil, maxduration=nil, languages=nil, interruptmode=nil, interruptspeechduration=nil, endfunctionenable=nil, endfunctiondesc=nil, transferfunctionenable=nil, transferitems=nil, notifyduration=nil, notifymessage=nil, notifymaxcount=nil, customttsconfig=nil, promptvariables=nil, vadsilencetime=nil, extractconfig=nil, temperature=nil, variables=nil)
1068
1126
  @SdkAppId = sdkappid
1069
1127
  @Callee = callee
1070
- @SystemPrompt = systemprompt
1071
1128
  @LLMType = llmtype
1072
- @Model = model
1073
1129
  @APIKey = apikey
1074
1130
  @APIUrl = apiurl
1131
+ @SystemPrompt = systemprompt
1132
+ @Model = model
1075
1133
  @VoiceType = voicetype
1076
1134
  @Callers = callers
1077
1135
  @WelcomeMessage = welcomemessage
@@ -1093,16 +1151,17 @@ module TencentCloud
1093
1151
  @VadSilenceTime = vadsilencetime
1094
1152
  @ExtractConfig = extractconfig
1095
1153
  @Temperature = temperature
1154
+ @Variables = variables
1096
1155
  end
1097
1156
 
1098
1157
  def deserialize(params)
1099
1158
  @SdkAppId = params['SdkAppId']
1100
1159
  @Callee = params['Callee']
1101
- @SystemPrompt = params['SystemPrompt']
1102
1160
  @LLMType = params['LLMType']
1103
- @Model = params['Model']
1104
1161
  @APIKey = params['APIKey']
1105
1162
  @APIUrl = params['APIUrl']
1163
+ @SystemPrompt = params['SystemPrompt']
1164
+ @Model = params['Model']
1106
1165
  @VoiceType = params['VoiceType']
1107
1166
  @Callers = params['Callers']
1108
1167
  @WelcomeMessage = params['WelcomeMessage']
@@ -1145,6 +1204,14 @@ module TencentCloud
1145
1204
  end
1146
1205
  end
1147
1206
  @Temperature = params['Temperature']
1207
+ unless params['Variables'].nil?
1208
+ @Variables = []
1209
+ params['Variables'].each do |i|
1210
+ variable_tmp = Variable.new
1211
+ variable_tmp.deserialize(i)
1212
+ @Variables << variable_tmp
1213
+ end
1214
+ end
1148
1215
  end
1149
1216
  end
1150
1217
 
@@ -1208,6 +1275,78 @@ module TencentCloud
1208
1275
  end
1209
1276
  end
1210
1277
 
1278
+ # CreateAgentCruiseDialingCampaign请求参数结构体
1279
+ class CreateAgentCruiseDialingCampaignRequest < TencentCloud::Common::AbstractModel
1280
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
1281
+ # @type SdkAppId: Integer
1282
+ # @param Name: 任务名称
1283
+ # @type Name: String
1284
+ # @param Agent: 座席账号
1285
+ # @type Agent: String
1286
+ # @param ConcurrencyNumber: 单轮并发呼叫量 1-20
1287
+ # @type ConcurrencyNumber: Integer
1288
+ # @param StartTime: 任务启动时间,Unix 时间戳,到此时间后会自动启动任务
1289
+ # @type StartTime: Integer
1290
+ # @param EndTime: 任务结束时间,Unix 时间戳,到此时间后会自动终止任务
1291
+ # @type EndTime: Integer
1292
+ # @param Callees: 被叫列表,支持 E.164 或不带国家码形式的号码
1293
+ # @type Callees: Array
1294
+ # @param Callers: 主叫列表,使用管理端展示的号码格式
1295
+ # @type Callers: Array
1296
+ # @param CallOrder: 被叫呼叫顺序 0 随机 1 顺序
1297
+ # @type CallOrder: Integer
1298
+ # @param UUI: 调用方自定义数据,最大长度 1024
1299
+ # @type UUI: String
1300
+
1301
+ attr_accessor :SdkAppId, :Name, :Agent, :ConcurrencyNumber, :StartTime, :EndTime, :Callees, :Callers, :CallOrder, :UUI
1302
+
1303
+ def initialize(sdkappid=nil, name=nil, agent=nil, concurrencynumber=nil, starttime=nil, endtime=nil, callees=nil, callers=nil, callorder=nil, uui=nil)
1304
+ @SdkAppId = sdkappid
1305
+ @Name = name
1306
+ @Agent = agent
1307
+ @ConcurrencyNumber = concurrencynumber
1308
+ @StartTime = starttime
1309
+ @EndTime = endtime
1310
+ @Callees = callees
1311
+ @Callers = callers
1312
+ @CallOrder = callorder
1313
+ @UUI = uui
1314
+ end
1315
+
1316
+ def deserialize(params)
1317
+ @SdkAppId = params['SdkAppId']
1318
+ @Name = params['Name']
1319
+ @Agent = params['Agent']
1320
+ @ConcurrencyNumber = params['ConcurrencyNumber']
1321
+ @StartTime = params['StartTime']
1322
+ @EndTime = params['EndTime']
1323
+ @Callees = params['Callees']
1324
+ @Callers = params['Callers']
1325
+ @CallOrder = params['CallOrder']
1326
+ @UUI = params['UUI']
1327
+ end
1328
+ end
1329
+
1330
+ # CreateAgentCruiseDialingCampaign返回参数结构体
1331
+ class CreateAgentCruiseDialingCampaignResponse < TencentCloud::Common::AbstractModel
1332
+ # @param CampaignId: 生成的任务 ID
1333
+ # @type CampaignId: Integer
1334
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1335
+ # @type RequestId: String
1336
+
1337
+ attr_accessor :CampaignId, :RequestId
1338
+
1339
+ def initialize(campaignid=nil, requestid=nil)
1340
+ @CampaignId = campaignid
1341
+ @RequestId = requestid
1342
+ end
1343
+
1344
+ def deserialize(params)
1345
+ @CampaignId = params['CampaignId']
1346
+ @RequestId = params['RequestId']
1347
+ end
1348
+ end
1349
+
1211
1350
  # CreateAutoCalloutTask请求参数结构体
1212
1351
  class CreateAutoCalloutTaskRequest < TencentCloud::Common::AbstractModel
1213
1352
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
@@ -2208,6 +2347,82 @@ module TencentCloud
2208
2347
  end
2209
2348
  end
2210
2349
 
2350
+ # DescribeAgentCruiseDialingCampaign请求参数结构体
2351
+ class DescribeAgentCruiseDialingCampaignRequest < TencentCloud::Common::AbstractModel
2352
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
2353
+ # @type SdkAppId: Integer
2354
+ # @param CampaignId: 任务 ID
2355
+ # @type CampaignId: Integer
2356
+
2357
+ attr_accessor :SdkAppId, :CampaignId
2358
+
2359
+ def initialize(sdkappid=nil, campaignid=nil)
2360
+ @SdkAppId = sdkappid
2361
+ @CampaignId = campaignid
2362
+ end
2363
+
2364
+ def deserialize(params)
2365
+ @SdkAppId = params['SdkAppId']
2366
+ @CampaignId = params['CampaignId']
2367
+ end
2368
+ end
2369
+
2370
+ # DescribeAgentCruiseDialingCampaign返回参数结构体
2371
+ class DescribeAgentCruiseDialingCampaignResponse < TencentCloud::Common::AbstractModel
2372
+ # @param Name: 任务名称
2373
+ # @type Name: String
2374
+ # @param Agent: 座席账号
2375
+ # @type Agent: String
2376
+ # @param ConcurrencyNumber: 单轮并发呼叫量 1-20
2377
+ # @type ConcurrencyNumber: Integer
2378
+ # @param StartTime: 任务启动时间,Unix 时间戳,到此时间后会自动启动任务
2379
+ # @type StartTime: Integer
2380
+ # @param EndTime: 任务结束时间,Unix 时间戳,到此时间后会自动终止任务
2381
+ # @type EndTime: Integer
2382
+ # @param CallOrder: 被叫呼叫顺序 0 随机 1 顺序
2383
+ # @type CallOrder: Integer
2384
+ # @param UUI: 调用方自定义数据,最大长度 1024
2385
+ # @type UUI: String
2386
+ # @param State: 任务状态 0 未启动 1 运行中 2 已完成 3 已终止
2387
+ # @type State: Integer
2388
+ # @param TotalCalleeCount: 被叫总数
2389
+ # @type TotalCalleeCount: Integer
2390
+ # @param CalledCalleeCount: 已呼被叫数
2391
+ # @type CalledCalleeCount: Integer
2392
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2393
+ # @type RequestId: String
2394
+
2395
+ attr_accessor :Name, :Agent, :ConcurrencyNumber, :StartTime, :EndTime, :CallOrder, :UUI, :State, :TotalCalleeCount, :CalledCalleeCount, :RequestId
2396
+
2397
+ def initialize(name=nil, agent=nil, concurrencynumber=nil, starttime=nil, endtime=nil, callorder=nil, uui=nil, state=nil, totalcalleecount=nil, calledcalleecount=nil, requestid=nil)
2398
+ @Name = name
2399
+ @Agent = agent
2400
+ @ConcurrencyNumber = concurrencynumber
2401
+ @StartTime = starttime
2402
+ @EndTime = endtime
2403
+ @CallOrder = callorder
2404
+ @UUI = uui
2405
+ @State = state
2406
+ @TotalCalleeCount = totalcalleecount
2407
+ @CalledCalleeCount = calledcalleecount
2408
+ @RequestId = requestid
2409
+ end
2410
+
2411
+ def deserialize(params)
2412
+ @Name = params['Name']
2413
+ @Agent = params['Agent']
2414
+ @ConcurrencyNumber = params['ConcurrencyNumber']
2415
+ @StartTime = params['StartTime']
2416
+ @EndTime = params['EndTime']
2417
+ @CallOrder = params['CallOrder']
2418
+ @UUI = params['UUI']
2419
+ @State = params['State']
2420
+ @TotalCalleeCount = params['TotalCalleeCount']
2421
+ @CalledCalleeCount = params['CalledCalleeCount']
2422
+ @RequestId = params['RequestId']
2423
+ end
2424
+ end
2425
+
2211
2426
  # DescribeAutoCalloutTask请求参数结构体
2212
2427
  class DescribeAutoCalloutTaskRequest < TencentCloud::Common::AbstractModel
2213
2428
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
@@ -5707,6 +5922,46 @@ module TencentCloud
5707
5922
  end
5708
5923
  end
5709
5924
 
5925
+ # TransferToManual请求参数结构体
5926
+ class TransferToManualRequest < TencentCloud::Common::AbstractModel
5927
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
5928
+ # @type SdkAppId: Integer
5929
+ # @param SessionId: 会话ID
5930
+ # @type SessionId: String
5931
+ # @param SkillGroupId: 技能组Id
5932
+ # @type SkillGroupId: Integer
5933
+
5934
+ attr_accessor :SdkAppId, :SessionId, :SkillGroupId
5935
+
5936
+ def initialize(sdkappid=nil, sessionid=nil, skillgroupid=nil)
5937
+ @SdkAppId = sdkappid
5938
+ @SessionId = sessionid
5939
+ @SkillGroupId = skillgroupid
5940
+ end
5941
+
5942
+ def deserialize(params)
5943
+ @SdkAppId = params['SdkAppId']
5944
+ @SessionId = params['SessionId']
5945
+ @SkillGroupId = params['SkillGroupId']
5946
+ end
5947
+ end
5948
+
5949
+ # TransferToManual返回参数结构体
5950
+ class TransferToManualResponse < TencentCloud::Common::AbstractModel
5951
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5952
+ # @type RequestId: String
5953
+
5954
+ attr_accessor :RequestId
5955
+
5956
+ def initialize(requestid=nil)
5957
+ @RequestId = requestid
5958
+ end
5959
+
5960
+ def deserialize(params)
5961
+ @RequestId = params['RequestId']
5962
+ end
5963
+ end
5964
+
5710
5965
  # UnbindNumberCallOutSkillGroup请求参数结构体
5711
5966
  class UnbindNumberCallOutSkillGroupRequest < TencentCloud::Common::AbstractModel
5712
5967
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ccc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1028
4
+ version: 3.0.1030
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-26 00:00:00.000000000 Z
11
+ date: 2025-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common