tencentcloud-sdk-ccc 3.0.1042 → 3.0.1044

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: 54d268c22944fbbc8e6afbfa4305147c934e4d42
4
- data.tar.gz: 53216e4ac48a034a3c77f6520e7dbea6c995b6b4
3
+ metadata.gz: 1058aaa6606b32546cf57c943afa417587f05905
4
+ data.tar.gz: f538bfb6ac2b11c3fc076fda42ee246370361c11
5
5
  SHA512:
6
- metadata.gz: 5f5f24a58457f508fc4b848ecbedbbb9ce88c280b760d9581aa6b9cf049a1b5b0a5f59aaea346da7fb9b062460ef9c5a99e058e438a69407ccc15459c53bf821
7
- data.tar.gz: 2a60c7ef85369a910fe77f6fe162ca7010cb9e9a6efb9725f2600d86fa34e4b428ea2e516fd414e1d3c180293a36a792445cfd47f97b31dfb88fe491037634bd
6
+ metadata.gz: 3ab3795d01fa75ef29a55c1176327f99f53db127a9df41c2ba546ea4c2a2976d6cad09803fc2794ee6e91ae65fce16b44dbcae7b7734c0329a45a98aa8d1853c
7
+ data.tar.gz: e9cab6eb401e9f63fab29311ad763bf440ffa365abb488b465fce654a95db09e6b73524d65d91770904700a2aeadd73dbf32d1338ae2496c006058a1395a1e24
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1042
1
+ 3.0.1044
@@ -517,6 +517,30 @@ module TencentCloud
517
517
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
518
518
  end
519
519
 
520
+ # 删除技能组
521
+
522
+ # @param request: Request instance for DeleteCCCSkillGroup.
523
+ # @type request: :class:`Tencentcloud::ccc::V20200210::DeleteCCCSkillGroupRequest`
524
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::DeleteCCCSkillGroupResponse`
525
+ def DeleteCCCSkillGroup(request)
526
+ body = send_request('DeleteCCCSkillGroup', request.serialize)
527
+ response = JSON.parse(body)
528
+ if response['Response'].key?('Error') == false
529
+ model = DeleteCCCSkillGroupResponse.new
530
+ model.deserialize(response['Response'])
531
+ model
532
+ else
533
+ code = response['Response']['Error']['Code']
534
+ message = response['Response']['Error']['Message']
535
+ reqid = response['Response']['RequestId']
536
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
537
+ end
538
+ rescue TencentCloud::Common::TencentCloudSDKException => e
539
+ raise e
540
+ rescue StandardError => e
541
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
542
+ end
543
+
520
544
  # 删除话机账号
521
545
 
522
546
  # @param request: Request instance for DeleteExtension.
@@ -923,7 +923,7 @@ module TencentCloud
923
923
  # @type Callers: Array
924
924
  # @param PromptVariables: 提示词变量
925
925
  # @type PromptVariables: Array
926
- # @param Variables: 通用变量: <p>提示词变量</p> <p>欢迎语变量</p> <p> dify变量</p>
926
+ # @param Variables: 通用变量: <p>提示词变量</p> <p>欢迎语变量</p> <p> 欢迎语延迟播放(秒级):welcome-message-delay</p> <p> dify变量</p>
927
927
 
928
928
  # 1. dify-inputs-xxx 为dify的inputs变量
929
929
  # 2. dify-inputs-user 为dify的user值
@@ -931,6 +931,9 @@ module TencentCloud
931
931
  # @type Variables: Array
932
932
 
933
933
  attr_accessor :SdkAppId, :AIAgentId, :Callee, :Callers, :PromptVariables, :Variables
934
+ extend Gem::Deprecate
935
+ deprecate :PromptVariables, :none, 2025, 4
936
+ deprecate :PromptVariables=, :none, 2025, 4
934
937
 
935
938
  def initialize(sdkappid=nil, aiagentid=nil, callee=nil, callers=nil, promptvariables=nil, variables=nil)
936
939
  @SdkAppId = sdkappid
@@ -1209,7 +1212,7 @@ module TencentCloud
1209
1212
  # @type ExtractConfig: Array
1210
1213
  # @param Temperature: 模型温度控制
1211
1214
  # @type Temperature: Float
1212
- # @param Variables: 通用变量: <p>提示词变量</p> <p>欢迎语变量</p> <p> dify变量</p>
1215
+ # @param Variables: 通用变量: <p>提示词变量</p> <p>欢迎语变量</p> <p> 欢迎语延迟播放(秒级):welcome-message-delay</p> <p> dify变量</p>
1213
1216
 
1214
1217
  # 1. dify-inputs-xxx 为dify的inputs变量
1215
1218
  # 2. dify-inputs-user 为dify的user值
@@ -1217,6 +1220,9 @@ module TencentCloud
1217
1220
  # @type Variables: Array
1218
1221
 
1219
1222
  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
1223
+ extend Gem::Deprecate
1224
+ deprecate :PromptVariables, :none, 2025, 4
1225
+ deprecate :PromptVariables=, :none, 2025, 4
1220
1226
 
1221
1227
  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)
1222
1228
  @SdkAppId = sdkappid
@@ -2206,6 +2212,42 @@ module TencentCloud
2206
2212
  end
2207
2213
  end
2208
2214
 
2215
+ # DeleteCCCSkillGroup请求参数结构体
2216
+ class DeleteCCCSkillGroupRequest < TencentCloud::Common::AbstractModel
2217
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
2218
+ # @type SdkAppId: Integer
2219
+ # @param SkillGroupId: 技能组ID
2220
+ # @type SkillGroupId: Integer
2221
+
2222
+ attr_accessor :SdkAppId, :SkillGroupId
2223
+
2224
+ def initialize(sdkappid=nil, skillgroupid=nil)
2225
+ @SdkAppId = sdkappid
2226
+ @SkillGroupId = skillgroupid
2227
+ end
2228
+
2229
+ def deserialize(params)
2230
+ @SdkAppId = params['SdkAppId']
2231
+ @SkillGroupId = params['SkillGroupId']
2232
+ end
2233
+ end
2234
+
2235
+ # DeleteCCCSkillGroup返回参数结构体
2236
+ class DeleteCCCSkillGroupResponse < TencentCloud::Common::AbstractModel
2237
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2238
+ # @type RequestId: String
2239
+
2240
+ attr_accessor :RequestId
2241
+
2242
+ def initialize(requestid=nil)
2243
+ @RequestId = requestid
2244
+ end
2245
+
2246
+ def deserialize(params)
2247
+ @RequestId = params['RequestId']
2248
+ end
2249
+ end
2250
+
2209
2251
  # DeleteExtension请求参数结构体
2210
2252
  class DeleteExtensionRequest < TencentCloud::Common::AbstractModel
2211
2253
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
@@ -5847,6 +5889,8 @@ module TencentCloud
5847
5889
  # @type Time: Integer
5848
5890
  # @param Direction: 呼入呼出方向 0 呼入 1 呼出
5849
5891
  # @type Direction: Integer
5892
+ # @param CallType: 通话类型 1 呼出 2 呼入 3 音频呼入 5 预测式外呼 6 内线呼叫
5893
+ # @type CallType: Integer
5850
5894
  # @param Duration: 通话时长
5851
5895
  # @type Duration: Integer
5852
5896
  # @param RecordURL: 录音信息
@@ -5859,15 +5903,15 @@ module TencentCloud
5859
5903
 
5860
5904
  # **场景 EndStatus EndStatusString 状态说明**
5861
5905
 
5862
- # 电话呼入&呼出 1 ok 正常结束
5906
+ # 电话呼入&呼出 1 ok 正常通话
5863
5907
 
5864
- # 电话呼入&呼出 0 error 系统错误
5908
+ # 电话呼入&呼出 0 error 异常结束
5865
5909
 
5866
5910
  # 电话呼入 102 ivrGiveUp IVR 期间用户放弃
5867
5911
 
5868
- # 电话呼入 103 waitingGiveUp 会话排队期间用户放弃
5912
+ # 电话呼入 103 waitingGiveUp 排队时用户放弃
5869
5913
 
5870
- # 电话呼入 104 ringingGiveUp 会话振铃期间用户放弃
5914
+ # 电话呼入 104 ringingGiveUp 振铃时用户放弃
5871
5915
 
5872
5916
  # 电话呼入 105 noSeatOnline 无座席在线
5873
5917
 
@@ -5875,37 +5919,37 @@ module TencentCloud
5875
5919
 
5876
5920
  # 电话呼入 107 ivrEnd IVR 后直接结束
5877
5921
 
5878
- # 电话呼入 100 blackList 呼入黑名单
5922
+ # 电话呼入 100 blackList 黑名单
5879
5923
 
5880
5924
  # 电话呼出 2 unconnected 未接通
5881
5925
 
5882
5926
  # 电话呼出 108 restrictedCallee 被叫因高风险受限
5883
5927
 
5884
- # 电话呼出 109 tooManyRequest 超频
5928
+ # 电话呼出 109 tooManyRequest 外呼超频限制
5885
5929
 
5886
- # 电话呼出 110 restrictedArea 外呼盲区
5930
+ # 电话呼出 110 restrictedArea 外呼区域限制
5887
5931
 
5888
5932
  # 电话呼出 111 restrictedTime 外呼时间限制
5889
5933
 
5890
5934
  # 电话呼出 201 unknown 未知状态
5891
5935
 
5892
- # 电话呼出 202 notAnswer 未接听
5936
+ # 电话呼出 202 notAnswer 被叫未接听
5893
5937
 
5894
- # 电话呼出 203 userReject 拒接挂断
5938
+ # 电话呼出 203 userReject 被叫拒接挂断
5895
5939
 
5896
- # 电话呼出 204 powerOff 关机
5940
+ # 电话呼出 204 powerOff 被叫关机
5897
5941
 
5898
- # 电话呼出 205 numberNotExist 空号
5942
+ # 电话呼出 205 numberNotExist 被叫空号
5899
5943
 
5900
- # 电话呼出 206 busy 通话中
5944
+ # 电话呼出 206 busy 被叫忙
5901
5945
 
5902
- # 电话呼出 207 outOfCredit 欠费
5946
+ # 电话呼出 207 outOfCredit 被叫欠费
5903
5947
 
5904
5948
  # 电话呼出 208 operatorError 运营商线路异常
5905
5949
 
5906
5950
  # 电话呼出 209 callerCancel 主叫取消
5907
5951
 
5908
- # 电话呼出 210 notInService 不在服务区
5952
+ # 电话呼出 210 notInService 被叫不在服务区
5909
5953
 
5910
5954
  # 电话呼入&呼出 211 clientError 客户端错误
5911
5955
  # 电话呼出 212 carrierBlocked 运营商拦截
@@ -5934,15 +5978,15 @@ module TencentCloud
5934
5978
 
5935
5979
  # **场景 EndStatus EndStatusString 状态说明**
5936
5980
 
5937
- # 电话呼入&呼出 1 ok 正常结束
5981
+ # 电话呼入&呼出 1 ok 正常通话
5938
5982
 
5939
- # 电话呼入&呼出 0 error 系统错误
5983
+ # 电话呼入&呼出 0 error 异常结束
5940
5984
 
5941
5985
  # 电话呼入 102 ivrGiveUp IVR 期间用户放弃
5942
5986
 
5943
- # 电话呼入 103 waitingGiveUp 会话排队期间用户放弃
5987
+ # 电话呼入 103 waitingGiveUp 排队时用户放弃
5944
5988
 
5945
- # 电话呼入 104 ringingGiveUp 会话振铃期间用户放弃
5989
+ # 电话呼入 104 ringingGiveUp 振铃时用户放弃
5946
5990
 
5947
5991
  # 电话呼入 105 noSeatOnline 无座席在线
5948
5992
 
@@ -5950,37 +5994,37 @@ module TencentCloud
5950
5994
 
5951
5995
  # 电话呼入 107 ivrEnd IVR 后直接结束
5952
5996
 
5953
- # 电话呼入 100 blackList 呼入黑名单
5997
+ # 电话呼入 100 blackList 黑名单
5954
5998
 
5955
5999
  # 电话呼出 2 unconnected 未接通
5956
6000
 
5957
6001
  # 电话呼出 108 restrictedCallee 被叫因高风险受限
5958
6002
 
5959
- # 电话呼出 109 tooManyRequest 超频
6003
+ # 电话呼出 109 tooManyRequest 外呼超频限制
5960
6004
 
5961
- # 电话呼出 110 restrictedArea 外呼盲区
6005
+ # 电话呼出 110 restrictedArea 外呼区域限制
5962
6006
 
5963
6007
  # 电话呼出 111 restrictedTime 外呼时间限制
5964
6008
 
5965
6009
  # 电话呼出 201 unknown 未知状态
5966
6010
 
5967
- # 电话呼出 202 notAnswer 未接听
6011
+ # 电话呼出 202 notAnswer 被叫未接听
5968
6012
 
5969
- # 电话呼出 203 userReject 拒接挂断
6013
+ # 电话呼出 203 userReject 被叫拒接挂断
5970
6014
 
5971
- # 电话呼出 204 powerOff 关机
6015
+ # 电话呼出 204 powerOff 被叫关机
5972
6016
 
5973
- # 电话呼出 205 numberNotExist 空号
6017
+ # 电话呼出 205 numberNotExist 被叫空号
5974
6018
 
5975
- # 电话呼出 206 busy 通话中
6019
+ # 电话呼出 206 busy 被叫忙
5976
6020
 
5977
- # 电话呼出 207 outOfCredit 欠费
6021
+ # 电话呼出 207 outOfCredit 被叫欠费
5978
6022
 
5979
6023
  # 电话呼出 208 operatorError 运营商线路异常
5980
6024
 
5981
6025
  # 电话呼出 209 callerCancel 主叫取消
5982
6026
 
5983
- # 电话呼出 210 notInService 不在服务区
6027
+ # 电话呼出 210 notInService 被叫不在服务区
5984
6028
 
5985
6029
  # 电话呼入&呼出 211 clientError 客户端错误
5986
6030
  # 电话呼出 212 carrierBlocked 运营商拦截
@@ -6026,16 +6070,17 @@ module TencentCloud
6026
6070
  # @param VoicemailAsrURL: 通话中语音留言ASR文本信息地址
6027
6071
  # @type VoicemailAsrURL: Array
6028
6072
 
6029
- attr_accessor :Caller, :Callee, :Time, :Direction, :Duration, :RecordURL, :RecordId, :SeatUser, :EndStatus, :SkillGroup, :CallerLocation, :IVRDuration, :RingTimestamp, :AcceptTimestamp, :EndedTimestamp, :IVRKeyPressed, :HungUpSide, :ServeParticipants, :SkillGroupId, :EndStatusString, :StartTimestamp, :QueuedTimestamp, :PostIVRKeyPressed, :QueuedSkillGroupId, :SessionId, :ProtectedCaller, :ProtectedCallee, :Uui, :UUI, :IVRKeyPressedEx, :AsrUrl, :AsrStatus, :CustomRecordURL, :Remark, :QueuedSkillGroupName, :VoicemailRecordURL, :VoicemailAsrURL
6073
+ attr_accessor :Caller, :Callee, :Time, :Direction, :CallType, :Duration, :RecordURL, :RecordId, :SeatUser, :EndStatus, :SkillGroup, :CallerLocation, :IVRDuration, :RingTimestamp, :AcceptTimestamp, :EndedTimestamp, :IVRKeyPressed, :HungUpSide, :ServeParticipants, :SkillGroupId, :EndStatusString, :StartTimestamp, :QueuedTimestamp, :PostIVRKeyPressed, :QueuedSkillGroupId, :SessionId, :ProtectedCaller, :ProtectedCallee, :Uui, :UUI, :IVRKeyPressedEx, :AsrUrl, :AsrStatus, :CustomRecordURL, :Remark, :QueuedSkillGroupName, :VoicemailRecordURL, :VoicemailAsrURL
6030
6074
  extend Gem::Deprecate
6031
6075
  deprecate :Uui, :none, 2025, 4
6032
6076
  deprecate :Uui=, :none, 2025, 4
6033
6077
 
6034
- def initialize(caller=nil, callee=nil, time=nil, direction=nil, duration=nil, recordurl=nil, recordid=nil, seatuser=nil, endstatus=nil, skillgroup=nil, callerlocation=nil, ivrduration=nil, ringtimestamp=nil, accepttimestamp=nil, endedtimestamp=nil, ivrkeypressed=nil, hungupside=nil, serveparticipants=nil, skillgroupid=nil, endstatusstring=nil, starttimestamp=nil, queuedtimestamp=nil, postivrkeypressed=nil, queuedskillgroupid=nil, sessionid=nil, protectedcaller=nil, protectedcallee=nil, uui=nil, ivrkeypressedex=nil, asrurl=nil, asrstatus=nil, customrecordurl=nil, remark=nil, queuedskillgroupname=nil, voicemailrecordurl=nil, voicemailasrurl=nil)
6078
+ def initialize(caller=nil, callee=nil, time=nil, direction=nil, calltype=nil, duration=nil, recordurl=nil, recordid=nil, seatuser=nil, endstatus=nil, skillgroup=nil, callerlocation=nil, ivrduration=nil, ringtimestamp=nil, accepttimestamp=nil, endedtimestamp=nil, ivrkeypressed=nil, hungupside=nil, serveparticipants=nil, skillgroupid=nil, endstatusstring=nil, starttimestamp=nil, queuedtimestamp=nil, postivrkeypressed=nil, queuedskillgroupid=nil, sessionid=nil, protectedcaller=nil, protectedcallee=nil, uui=nil, ivrkeypressedex=nil, asrurl=nil, asrstatus=nil, customrecordurl=nil, remark=nil, queuedskillgroupname=nil, voicemailrecordurl=nil, voicemailasrurl=nil)
6035
6079
  @Caller = caller
6036
6080
  @Callee = callee
6037
6081
  @Time = time
6038
6082
  @Direction = direction
6083
+ @CallType = calltype
6039
6084
  @Duration = duration
6040
6085
  @RecordURL = recordurl
6041
6086
  @RecordId = recordid
@@ -6075,6 +6120,7 @@ module TencentCloud
6075
6120
  @Callee = params['Callee']
6076
6121
  @Time = params['Time']
6077
6122
  @Direction = params['Direction']
6123
+ @CallType = params['CallType']
6078
6124
  @Duration = params['Duration']
6079
6125
  @RecordURL = params['RecordURL']
6080
6126
  @RecordId = params['RecordId']
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.1042
4
+ version: 3.0.1044
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-04-17 00:00:00.000000000 Z
11
+ date: 2025-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common