tencentcloud-sdk-ccc 3.0.1190 → 3.0.1201
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200210/client.rb +28 -3
- data/lib/v20200210/models.rb +127 -47
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 912d9b26d4778aaf0ca1989af41641ac785e60b9
|
|
4
|
+
data.tar.gz: 106fba16c8762aa1eff32c3b93438db2610d7229
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4cf3378848c8dde50ecc8b847e4aa829926d2b61b061785fabedfa115f0afea9be38863271ab9effdcf56f47a9eba61d888451d66e2ef4525320b392bca1ddf8
|
|
7
|
+
data.tar.gz: 199175905929fc34e7df1ce7125f4a4527e1180db5e9d75c0ad193cc64a2edb18b79656948056c8687de0f9208c221ea4439dc3fab53244c7b9f458f1c51151f
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1201
|
data/lib/v20200210/client.rb
CHANGED
|
@@ -199,9 +199,9 @@ module TencentCloud
|
|
|
199
199
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
200
200
|
end
|
|
201
201
|
|
|
202
|
-
#
|
|
202
|
+
# 用于 **直接调用AI模型** 发起 **单次** 外呼通话,支持通过API参数直接配置模型、提示词、语音等全部通话要素。
|
|
203
203
|
|
|
204
|
-
#
|
|
204
|
+
# 该功能需购买语音智能体通话套餐,并且仅限自有电话号码使用。详情请参考 [语音智能体通话购买指引](https://cloud.tencent.com/document/product/679/125953)。
|
|
205
205
|
|
|
206
206
|
# @param request: Request instance for CreateAICall.
|
|
207
207
|
# @type request: :class:`Tencentcloud::ccc::V20200210::CreateAICallRequest`
|
|
@@ -811,7 +811,8 @@ module TencentCloud
|
|
|
811
811
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
812
812
|
end
|
|
813
813
|
|
|
814
|
-
#
|
|
814
|
+
# 用于通过 TaskId 查询**自动外呼任务的详细信息**,包括任务基础配置、起止时间、外呼名单、执行状态以及实际通话情况等。
|
|
815
|
+
# 该接口通常与 [创建批量自动外呼任务](https://cloud.tencent.com/document/product/679/69194) 配合使用,用于在任务创建后查看任务配置是否生效、任务当前状态,以及后续执行过程中的实时进展。
|
|
815
816
|
|
|
816
817
|
# @param request: Request instance for DescribeAutoCalloutTask.
|
|
817
818
|
# @type request: :class:`Tencentcloud::ccc::V20200210::DescribeAutoCalloutTaskRequest`
|
|
@@ -1702,6 +1703,30 @@ module TencentCloud
|
|
|
1702
1703
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1703
1704
|
end
|
|
1704
1705
|
|
|
1706
|
+
# 对与座席通话中的会话,进行放音
|
|
1707
|
+
|
|
1708
|
+
# @param request: Request instance for PlaySoundCall.
|
|
1709
|
+
# @type request: :class:`Tencentcloud::ccc::V20200210::PlaySoundCallRequest`
|
|
1710
|
+
# @rtype: :class:`Tencentcloud::ccc::V20200210::PlaySoundCallResponse`
|
|
1711
|
+
def PlaySoundCall(request)
|
|
1712
|
+
body = send_request('PlaySoundCall', request.serialize)
|
|
1713
|
+
response = JSON.parse(body)
|
|
1714
|
+
if response['Response'].key?('Error') == false
|
|
1715
|
+
model = PlaySoundCallResponse.new
|
|
1716
|
+
model.deserialize(response['Response'])
|
|
1717
|
+
model
|
|
1718
|
+
else
|
|
1719
|
+
code = response['Response']['Error']['Code']
|
|
1720
|
+
message = response['Response']['Error']['Message']
|
|
1721
|
+
reqid = response['Response']['RequestId']
|
|
1722
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1723
|
+
end
|
|
1724
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1725
|
+
raise e
|
|
1726
|
+
rescue StandardError => e
|
|
1727
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1728
|
+
end
|
|
1729
|
+
|
|
1705
1730
|
# 重置话机注册密码
|
|
1706
1731
|
|
|
1707
1732
|
# @param request: Request instance for ResetExtensionPassword.
|
data/lib/v20200210/models.rb
CHANGED
|
@@ -397,8 +397,8 @@ module TencentCloud
|
|
|
397
397
|
|
|
398
398
|
attr_accessor :User, :Message, :Timestamp, :Start, :End
|
|
399
399
|
extend Gem::Deprecate
|
|
400
|
-
deprecate :Timestamp, :none,
|
|
401
|
-
deprecate :Timestamp=, :none,
|
|
400
|
+
deprecate :Timestamp, :none, 2026, 1
|
|
401
|
+
deprecate :Timestamp=, :none, 2026, 1
|
|
402
402
|
|
|
403
403
|
def initialize(user=nil, message=nil, timestamp=nil, start=nil, _end=nil)
|
|
404
404
|
@User = user
|
|
@@ -493,10 +493,12 @@ module TencentCloud
|
|
|
493
493
|
# @type State: Integer
|
|
494
494
|
# @param TaskId: 任务Id
|
|
495
495
|
# @type TaskId: Integer
|
|
496
|
+
# @param MaxRingTimeoutSecond: 最大振铃时长,达到时长阈值自动挂断。 仅自携号码支持当前参数
|
|
497
|
+
# @type MaxRingTimeoutSecond: Integer
|
|
496
498
|
|
|
497
|
-
attr_accessor :Name, :CalleeCount, :Callers, :NotBefore, :NotAfter, :IvrId, :State, :TaskId
|
|
499
|
+
attr_accessor :Name, :CalleeCount, :Callers, :NotBefore, :NotAfter, :IvrId, :State, :TaskId, :MaxRingTimeoutSecond
|
|
498
500
|
|
|
499
|
-
def initialize(name=nil, calleecount=nil, callers=nil, notbefore=nil, notafter=nil, ivrid=nil, state=nil, taskid=nil)
|
|
501
|
+
def initialize(name=nil, calleecount=nil, callers=nil, notbefore=nil, notafter=nil, ivrid=nil, state=nil, taskid=nil, maxringtimeoutsecond=nil)
|
|
500
502
|
@Name = name
|
|
501
503
|
@CalleeCount = calleecount
|
|
502
504
|
@Callers = callers
|
|
@@ -505,6 +507,7 @@ module TencentCloud
|
|
|
505
507
|
@IvrId = ivrid
|
|
506
508
|
@State = state
|
|
507
509
|
@TaskId = taskid
|
|
510
|
+
@MaxRingTimeoutSecond = maxringtimeoutsecond
|
|
508
511
|
end
|
|
509
512
|
|
|
510
513
|
def deserialize(params)
|
|
@@ -516,6 +519,7 @@ module TencentCloud
|
|
|
516
519
|
@IvrId = params['IvrId']
|
|
517
520
|
@State = params['State']
|
|
518
521
|
@TaskId = params['TaskId']
|
|
522
|
+
@MaxRingTimeoutSecond = params['MaxRingTimeoutSecond']
|
|
519
523
|
end
|
|
520
524
|
end
|
|
521
525
|
|
|
@@ -619,8 +623,8 @@ module TencentCloud
|
|
|
619
623
|
|
|
620
624
|
attr_accessor :SdkAppId, :StaffEmail, :StaffSkillGroupList, :SkillGroupList
|
|
621
625
|
extend Gem::Deprecate
|
|
622
|
-
deprecate :SkillGroupList, :none,
|
|
623
|
-
deprecate :SkillGroupList=, :none,
|
|
626
|
+
deprecate :SkillGroupList, :none, 2026, 1
|
|
627
|
+
deprecate :SkillGroupList=, :none, 2026, 1
|
|
624
628
|
|
|
625
629
|
def initialize(sdkappid=nil, staffemail=nil, staffskillgrouplist=nil, skillgrouplist=nil)
|
|
626
630
|
@SdkAppId = sdkappid
|
|
@@ -1099,19 +1103,22 @@ module TencentCloud
|
|
|
1099
1103
|
# 2. dify-inputs-user 为dify的user值
|
|
1100
1104
|
# 3. dify-inputs-conversation_id 为dify的conversation_id值
|
|
1101
1105
|
# @type Variables: Array
|
|
1106
|
+
# @param MaxRingTimeoutSecond: 最大振铃时长,达到时长阈值自动挂断。 仅自携号码支持当前参数
|
|
1107
|
+
# @type MaxRingTimeoutSecond: Integer
|
|
1102
1108
|
|
|
1103
|
-
attr_accessor :SdkAppId, :AIAgentId, :Callee, :Callers, :PromptVariables, :Variables
|
|
1109
|
+
attr_accessor :SdkAppId, :AIAgentId, :Callee, :Callers, :PromptVariables, :Variables, :MaxRingTimeoutSecond
|
|
1104
1110
|
extend Gem::Deprecate
|
|
1105
|
-
deprecate :PromptVariables, :none,
|
|
1106
|
-
deprecate :PromptVariables=, :none,
|
|
1111
|
+
deprecate :PromptVariables, :none, 2026, 1
|
|
1112
|
+
deprecate :PromptVariables=, :none, 2026, 1
|
|
1107
1113
|
|
|
1108
|
-
def initialize(sdkappid=nil, aiagentid=nil, callee=nil, callers=nil, promptvariables=nil, variables=nil)
|
|
1114
|
+
def initialize(sdkappid=nil, aiagentid=nil, callee=nil, callers=nil, promptvariables=nil, variables=nil, maxringtimeoutsecond=nil)
|
|
1109
1115
|
@SdkAppId = sdkappid
|
|
1110
1116
|
@AIAgentId = aiagentid
|
|
1111
1117
|
@Callee = callee
|
|
1112
1118
|
@Callers = callers
|
|
1113
1119
|
@PromptVariables = promptvariables
|
|
1114
1120
|
@Variables = variables
|
|
1121
|
+
@MaxRingTimeoutSecond = maxringtimeoutsecond
|
|
1115
1122
|
end
|
|
1116
1123
|
|
|
1117
1124
|
def deserialize(params)
|
|
@@ -1135,6 +1142,7 @@ module TencentCloud
|
|
|
1135
1142
|
@Variables << variable_tmp
|
|
1136
1143
|
end
|
|
1137
1144
|
end
|
|
1145
|
+
@MaxRingTimeoutSecond = params['MaxRingTimeoutSecond']
|
|
1138
1146
|
end
|
|
1139
1147
|
end
|
|
1140
1148
|
|
|
@@ -1401,13 +1409,15 @@ module TencentCloud
|
|
|
1401
1409
|
# @type VoicemailAction: Integer
|
|
1402
1410
|
# @param LLMExtraBody: 大模型拓展参数, 格式为json字符串
|
|
1403
1411
|
# @type LLMExtraBody: String
|
|
1412
|
+
# @param MaxCallDurationMs: 最大通话时长, 默认不限制。单位毫秒(ms)
|
|
1413
|
+
# @type MaxCallDurationMs: Integer
|
|
1404
1414
|
|
|
1405
|
-
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, :TopP, :VadLevel, :ToneWord, :EnableComplianceAudio, :EnableVoicemailDetection, :VoicemailAction, :LLMExtraBody
|
|
1415
|
+
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, :TopP, :VadLevel, :ToneWord, :EnableComplianceAudio, :EnableVoicemailDetection, :VoicemailAction, :LLMExtraBody, :MaxCallDurationMs
|
|
1406
1416
|
extend Gem::Deprecate
|
|
1407
|
-
deprecate :PromptVariables, :none,
|
|
1408
|
-
deprecate :PromptVariables=, :none,
|
|
1417
|
+
deprecate :PromptVariables, :none, 2026, 1
|
|
1418
|
+
deprecate :PromptVariables=, :none, 2026, 1
|
|
1409
1419
|
|
|
1410
|
-
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, topp=nil, vadlevel=nil, toneword=nil, enablecomplianceaudio=nil, enablevoicemaildetection=nil, voicemailaction=nil, llmextrabody=nil)
|
|
1420
|
+
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, topp=nil, vadlevel=nil, toneword=nil, enablecomplianceaudio=nil, enablevoicemaildetection=nil, voicemailaction=nil, llmextrabody=nil, maxcalldurationms=nil)
|
|
1411
1421
|
@SdkAppId = sdkappid
|
|
1412
1422
|
@Callee = callee
|
|
1413
1423
|
@LLMType = llmtype
|
|
@@ -1444,6 +1454,7 @@ module TencentCloud
|
|
|
1444
1454
|
@EnableVoicemailDetection = enablevoicemaildetection
|
|
1445
1455
|
@VoicemailAction = voicemailaction
|
|
1446
1456
|
@LLMExtraBody = llmextrabody
|
|
1457
|
+
@MaxCallDurationMs = maxcalldurationms
|
|
1447
1458
|
end
|
|
1448
1459
|
|
|
1449
1460
|
def deserialize(params)
|
|
@@ -1514,6 +1525,7 @@ module TencentCloud
|
|
|
1514
1525
|
@EnableVoicemailDetection = params['EnableVoicemailDetection']
|
|
1515
1526
|
@VoicemailAction = params['VoicemailAction']
|
|
1516
1527
|
@LLMExtraBody = params['LLMExtraBody']
|
|
1528
|
+
@MaxCallDurationMs = params['MaxCallDurationMs']
|
|
1517
1529
|
end
|
|
1518
1530
|
end
|
|
1519
1531
|
|
|
@@ -1683,10 +1695,12 @@ module TencentCloud
|
|
|
1683
1695
|
# @type AIAgentId: Integer
|
|
1684
1696
|
# @param RetryInterval: 任务失败重试时间间隔,重试间隔 600秒~86400 秒
|
|
1685
1697
|
# @type RetryInterval: Integer
|
|
1698
|
+
# @param MaxRingTimeoutSecond: 最大振铃时长,达到时长阈值自动挂断。 仅自携号码支持当前参数
|
|
1699
|
+
# @type MaxRingTimeoutSecond: Integer
|
|
1686
1700
|
|
|
1687
|
-
attr_accessor :SdkAppId, :NotBefore, :Callees, :Callers, :IvrId, :Name, :Description, :NotAfter, :Tries, :Variables, :UUI, :CalleeAttributes, :TimeZone, :AvailableTime, :AIAgentId, :RetryInterval
|
|
1701
|
+
attr_accessor :SdkAppId, :NotBefore, :Callees, :Callers, :IvrId, :Name, :Description, :NotAfter, :Tries, :Variables, :UUI, :CalleeAttributes, :TimeZone, :AvailableTime, :AIAgentId, :RetryInterval, :MaxRingTimeoutSecond
|
|
1688
1702
|
|
|
1689
|
-
def initialize(sdkappid=nil, notbefore=nil, callees=nil, callers=nil, ivrid=nil, name=nil, description=nil, notafter=nil, tries=nil, variables=nil, uui=nil, calleeattributes=nil, timezone=nil, availabletime=nil, aiagentid=nil, retryinterval=nil)
|
|
1703
|
+
def initialize(sdkappid=nil, notbefore=nil, callees=nil, callers=nil, ivrid=nil, name=nil, description=nil, notafter=nil, tries=nil, variables=nil, uui=nil, calleeattributes=nil, timezone=nil, availabletime=nil, aiagentid=nil, retryinterval=nil, maxringtimeoutsecond=nil)
|
|
1690
1704
|
@SdkAppId = sdkappid
|
|
1691
1705
|
@NotBefore = notbefore
|
|
1692
1706
|
@Callees = callees
|
|
@@ -1703,6 +1717,7 @@ module TencentCloud
|
|
|
1703
1717
|
@AvailableTime = availabletime
|
|
1704
1718
|
@AIAgentId = aiagentid
|
|
1705
1719
|
@RetryInterval = retryinterval
|
|
1720
|
+
@MaxRingTimeoutSecond = maxringtimeoutsecond
|
|
1706
1721
|
end
|
|
1707
1722
|
|
|
1708
1723
|
def deserialize(params)
|
|
@@ -1743,6 +1758,7 @@ module TencentCloud
|
|
|
1743
1758
|
end
|
|
1744
1759
|
@AIAgentId = params['AIAgentId']
|
|
1745
1760
|
@RetryInterval = params['RetryInterval']
|
|
1761
|
+
@MaxRingTimeoutSecond = params['MaxRingTimeoutSecond']
|
|
1746
1762
|
end
|
|
1747
1763
|
end
|
|
1748
1764
|
|
|
@@ -1819,7 +1835,7 @@ module TencentCloud
|
|
|
1819
1835
|
class CreateCallOutSessionRequest < TencentCloud::Common::AbstractModel
|
|
1820
1836
|
# @param SdkAppId: 应用 ID
|
|
1821
1837
|
# @type SdkAppId: Integer
|
|
1822
|
-
# @param UserId:
|
|
1838
|
+
# @param UserId: 座席邮箱,确保已经绑定了手机号 https://cloud.tencent.com/document/product/679/76067#.E6.AD.A5.E9.AA.A42.EF.BC.9A.E5.AE.8C.E5.96.84.E8.B4.A6.E5.8F.B7.E4.BF.A1.E6.81.AF
|
|
1823
1839
|
# @type UserId: String
|
|
1824
1840
|
# @param Callee: 被叫号码,须带 0086 前缀
|
|
1825
1841
|
# @type Callee: String
|
|
@@ -1836,8 +1852,8 @@ module TencentCloud
|
|
|
1836
1852
|
|
|
1837
1853
|
attr_accessor :SdkAppId, :UserId, :Callee, :Caller, :Callers, :IsForceUseMobile, :Uui, :UUI
|
|
1838
1854
|
extend Gem::Deprecate
|
|
1839
|
-
deprecate :Uui, :none,
|
|
1840
|
-
deprecate :Uui=, :none,
|
|
1855
|
+
deprecate :Uui, :none, 2026, 1
|
|
1856
|
+
deprecate :Uui=, :none, 2026, 1
|
|
1841
1857
|
|
|
1842
1858
|
def initialize(sdkappid=nil, userid=nil, callee=nil, caller=nil, callers=nil, isforceusemobile=nil, uui=nil)
|
|
1843
1859
|
@SdkAppId = sdkappid
|
|
@@ -2029,16 +2045,19 @@ module TencentCloud
|
|
|
2029
2045
|
# @type Variables: Array
|
|
2030
2046
|
# @param UUI: 用户数据
|
|
2031
2047
|
# @type UUI: String
|
|
2048
|
+
# @param MaxRingTimeoutSecond: 最大振铃时长,达到时长阈值自动挂断。 仅自携号码支持当前参数
|
|
2049
|
+
# @type MaxRingTimeoutSecond: Integer
|
|
2032
2050
|
|
|
2033
|
-
attr_accessor :SdkAppId, :Callee, :IVRId, :Callers, :Variables, :UUI
|
|
2051
|
+
attr_accessor :SdkAppId, :Callee, :IVRId, :Callers, :Variables, :UUI, :MaxRingTimeoutSecond
|
|
2034
2052
|
|
|
2035
|
-
def initialize(sdkappid=nil, callee=nil, ivrid=nil, callers=nil, variables=nil, uui=nil)
|
|
2053
|
+
def initialize(sdkappid=nil, callee=nil, ivrid=nil, callers=nil, variables=nil, uui=nil, maxringtimeoutsecond=nil)
|
|
2036
2054
|
@SdkAppId = sdkappid
|
|
2037
2055
|
@Callee = callee
|
|
2038
2056
|
@IVRId = ivrid
|
|
2039
2057
|
@Callers = callers
|
|
2040
2058
|
@Variables = variables
|
|
2041
2059
|
@UUI = uui
|
|
2060
|
+
@MaxRingTimeoutSecond = maxringtimeoutsecond
|
|
2042
2061
|
end
|
|
2043
2062
|
|
|
2044
2063
|
def deserialize(params)
|
|
@@ -2055,6 +2074,7 @@ module TencentCloud
|
|
|
2055
2074
|
end
|
|
2056
2075
|
end
|
|
2057
2076
|
@UUI = params['UUI']
|
|
2077
|
+
@MaxRingTimeoutSecond = params['MaxRingTimeoutSecond']
|
|
2058
2078
|
end
|
|
2059
2079
|
end
|
|
2060
2080
|
|
|
@@ -2986,12 +3006,14 @@ module TencentCloud
|
|
|
2986
3006
|
# @type IvrId: Integer
|
|
2987
3007
|
# @param State: 任务状态 0初始 1运行中 2已完成 3结束中 4已终止
|
|
2988
3008
|
# @type State: Integer
|
|
3009
|
+
# @param MaxRingTimeoutSecond: 最大振铃时长,达到时长阈值自动挂断。 仅自携号码支持当前参数
|
|
3010
|
+
# @type MaxRingTimeoutSecond: Integer
|
|
2989
3011
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2990
3012
|
# @type RequestId: String
|
|
2991
3013
|
|
|
2992
|
-
attr_accessor :Name, :Description, :NotBefore, :NotAfter, :Callers, :Callees, :IvrId, :State, :RequestId
|
|
3014
|
+
attr_accessor :Name, :Description, :NotBefore, :NotAfter, :Callers, :Callees, :IvrId, :State, :MaxRingTimeoutSecond, :RequestId
|
|
2993
3015
|
|
|
2994
|
-
def initialize(name=nil, description=nil, notbefore=nil, notafter=nil, callers=nil, callees=nil, ivrid=nil, state=nil, requestid=nil)
|
|
3016
|
+
def initialize(name=nil, description=nil, notbefore=nil, notafter=nil, callers=nil, callees=nil, ivrid=nil, state=nil, maxringtimeoutsecond=nil, requestid=nil)
|
|
2995
3017
|
@Name = name
|
|
2996
3018
|
@Description = description
|
|
2997
3019
|
@NotBefore = notbefore
|
|
@@ -3000,6 +3022,7 @@ module TencentCloud
|
|
|
3000
3022
|
@Callees = callees
|
|
3001
3023
|
@IvrId = ivrid
|
|
3002
3024
|
@State = state
|
|
3025
|
+
@MaxRingTimeoutSecond = maxringtimeoutsecond
|
|
3003
3026
|
@RequestId = requestid
|
|
3004
3027
|
end
|
|
3005
3028
|
|
|
@@ -3019,6 +3042,7 @@ module TencentCloud
|
|
|
3019
3042
|
end
|
|
3020
3043
|
@IvrId = params['IvrId']
|
|
3021
3044
|
@State = params['State']
|
|
3045
|
+
@MaxRingTimeoutSecond = params['MaxRingTimeoutSecond']
|
|
3022
3046
|
@RequestId = params['RequestId']
|
|
3023
3047
|
end
|
|
3024
3048
|
end
|
|
@@ -3298,10 +3322,10 @@ module TencentCloud
|
|
|
3298
3322
|
|
|
3299
3323
|
attr_accessor :SdkAppId, :InstanceId, :CdrId, :Limit, :Offset, :Order, :SessionId
|
|
3300
3324
|
extend Gem::Deprecate
|
|
3301
|
-
deprecate :InstanceId, :none,
|
|
3302
|
-
deprecate :InstanceId=, :none,
|
|
3303
|
-
deprecate :CdrId, :none,
|
|
3304
|
-
deprecate :CdrId=, :none,
|
|
3325
|
+
deprecate :InstanceId, :none, 2026, 1
|
|
3326
|
+
deprecate :InstanceId=, :none, 2026, 1
|
|
3327
|
+
deprecate :CdrId, :none, 2026, 1
|
|
3328
|
+
deprecate :CdrId=, :none, 2026, 1
|
|
3305
3329
|
|
|
3306
3330
|
def initialize(sdkappid=nil, instanceid=nil, cdrid=nil, limit=nil, offset=nil, order=nil, sessionid=nil)
|
|
3307
3331
|
@SdkAppId = sdkappid
|
|
@@ -3627,8 +3651,8 @@ module TencentCloud
|
|
|
3627
3651
|
|
|
3628
3652
|
attr_accessor :StartTimestamp, :EndTimestamp, :InstanceId, :SdkAppId, :Limit, :Offset, :Type
|
|
3629
3653
|
extend Gem::Deprecate
|
|
3630
|
-
deprecate :InstanceId, :none,
|
|
3631
|
-
deprecate :InstanceId=, :none,
|
|
3654
|
+
deprecate :InstanceId, :none, 2026, 1
|
|
3655
|
+
deprecate :InstanceId=, :none, 2026, 1
|
|
3632
3656
|
|
|
3633
3657
|
def initialize(starttimestamp=nil, endtimestamp=nil, instanceid=nil, sdkappid=nil, limit=nil, offset=nil, type=nil)
|
|
3634
3658
|
@StartTimestamp = starttimestamp
|
|
@@ -3665,8 +3689,8 @@ module TencentCloud
|
|
|
3665
3689
|
|
|
3666
3690
|
attr_accessor :TotalCount, :IMCdrs, :IMCdrList, :RequestId
|
|
3667
3691
|
extend Gem::Deprecate
|
|
3668
|
-
deprecate :IMCdrs, :none,
|
|
3669
|
-
deprecate :IMCdrs=, :none,
|
|
3692
|
+
deprecate :IMCdrs, :none, 2026, 1
|
|
3693
|
+
deprecate :IMCdrs=, :none, 2026, 1
|
|
3670
3694
|
|
|
3671
3695
|
def initialize(totalcount=nil, imcdrs=nil, imcdrlist=nil, requestid=nil)
|
|
3672
3696
|
@TotalCount = totalcount
|
|
@@ -4158,8 +4182,8 @@ module TencentCloud
|
|
|
4158
4182
|
|
|
4159
4183
|
attr_accessor :TotalCount, :TelCdrs, :TelCdrList, :RequestId
|
|
4160
4184
|
extend Gem::Deprecate
|
|
4161
|
-
deprecate :TelCdrs, :none,
|
|
4162
|
-
deprecate :TelCdrs=, :none,
|
|
4185
|
+
deprecate :TelCdrs, :none, 2026, 1
|
|
4186
|
+
deprecate :TelCdrs=, :none, 2026, 1
|
|
4163
4187
|
|
|
4164
4188
|
def initialize(totalcount=nil, telcdrs=nil, telcdrlist=nil, requestid=nil)
|
|
4165
4189
|
@TotalCount = totalcount
|
|
@@ -4651,8 +4675,8 @@ module TencentCloud
|
|
|
4651
4675
|
|
|
4652
4676
|
attr_accessor :TelCallOutCount, :TelCallInCount, :SeatUsedCount, :VoipCallInCount, :VOIPCallInCount, :AsrOfflineCount, :AsrRealtimeCount, :RequestId
|
|
4653
4677
|
extend Gem::Deprecate
|
|
4654
|
-
deprecate :VoipCallInCount, :none,
|
|
4655
|
-
deprecate :VoipCallInCount=, :none,
|
|
4678
|
+
deprecate :VoipCallInCount, :none, 2026, 1
|
|
4679
|
+
deprecate :VoipCallInCount=, :none, 2026, 1
|
|
4656
4680
|
|
|
4657
4681
|
def initialize(telcalloutcount=nil, telcallincount=nil, seatusedcount=nil, voipcallincount=nil, asrofflinecount=nil, asrrealtimecount=nil, requestid=nil)
|
|
4658
4682
|
@TelCallOutCount = telcalloutcount
|
|
@@ -4700,8 +4724,8 @@ module TencentCloud
|
|
|
4700
4724
|
|
|
4701
4725
|
attr_accessor :StartTimeStamp, :EndTimeStamp, :SdkAppId, :PageSize, :PageNumber, :InstanceId, :Limit, :Offset, :Phones, :SessionIds
|
|
4702
4726
|
extend Gem::Deprecate
|
|
4703
|
-
deprecate :InstanceId, :none,
|
|
4704
|
-
deprecate :InstanceId=, :none,
|
|
4727
|
+
deprecate :InstanceId, :none, 2026, 1
|
|
4728
|
+
deprecate :InstanceId=, :none, 2026, 1
|
|
4705
4729
|
|
|
4706
4730
|
def initialize(starttimestamp=nil, endtimestamp=nil, sdkappid=nil, pagesize=nil, pagenumber=nil, instanceid=nil, limit=nil, offset=nil, phones=nil, sessionids=nil)
|
|
4707
4731
|
@StartTimeStamp = starttimestamp
|
|
@@ -4743,8 +4767,8 @@ module TencentCloud
|
|
|
4743
4767
|
|
|
4744
4768
|
attr_accessor :TotalCount, :TelCdrs, :TelCdrList, :RequestId
|
|
4745
4769
|
extend Gem::Deprecate
|
|
4746
|
-
deprecate :TelCdrs, :none,
|
|
4747
|
-
deprecate :TelCdrs=, :none,
|
|
4770
|
+
deprecate :TelCdrs, :none, 2026, 1
|
|
4771
|
+
deprecate :TelCdrs=, :none, 2026, 1
|
|
4748
4772
|
|
|
4749
4773
|
def initialize(totalcount=nil, telcdrs=nil, telcdrlist=nil, requestid=nil)
|
|
4750
4774
|
@TotalCount = totalcount
|
|
@@ -5996,6 +6020,50 @@ module TencentCloud
|
|
|
5996
6020
|
end
|
|
5997
6021
|
end
|
|
5998
6022
|
|
|
6023
|
+
# PlaySoundCall请求参数结构体
|
|
6024
|
+
class PlaySoundCallRequest < TencentCloud::Common::AbstractModel
|
|
6025
|
+
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
6026
|
+
# @type SdkAppId: Integer
|
|
6027
|
+
# @param SessionId: 会话ID
|
|
6028
|
+
# @type SessionId: String
|
|
6029
|
+
# @param FileId: 音频文件 ID,参见管理端-电话客服-放音文件管理
|
|
6030
|
+
# @type FileId: Integer
|
|
6031
|
+
# @param PlayTimes: 放音次数,默认 1 次
|
|
6032
|
+
# @type PlayTimes: Integer
|
|
6033
|
+
|
|
6034
|
+
attr_accessor :SdkAppId, :SessionId, :FileId, :PlayTimes
|
|
6035
|
+
|
|
6036
|
+
def initialize(sdkappid=nil, sessionid=nil, fileid=nil, playtimes=nil)
|
|
6037
|
+
@SdkAppId = sdkappid
|
|
6038
|
+
@SessionId = sessionid
|
|
6039
|
+
@FileId = fileid
|
|
6040
|
+
@PlayTimes = playtimes
|
|
6041
|
+
end
|
|
6042
|
+
|
|
6043
|
+
def deserialize(params)
|
|
6044
|
+
@SdkAppId = params['SdkAppId']
|
|
6045
|
+
@SessionId = params['SessionId']
|
|
6046
|
+
@FileId = params['FileId']
|
|
6047
|
+
@PlayTimes = params['PlayTimes']
|
|
6048
|
+
end
|
|
6049
|
+
end
|
|
6050
|
+
|
|
6051
|
+
# PlaySoundCall返回参数结构体
|
|
6052
|
+
class PlaySoundCallResponse < TencentCloud::Common::AbstractModel
|
|
6053
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6054
|
+
# @type RequestId: String
|
|
6055
|
+
|
|
6056
|
+
attr_accessor :RequestId
|
|
6057
|
+
|
|
6058
|
+
def initialize(requestid=nil)
|
|
6059
|
+
@RequestId = requestid
|
|
6060
|
+
end
|
|
6061
|
+
|
|
6062
|
+
def deserialize(params)
|
|
6063
|
+
@RequestId = params['RequestId']
|
|
6064
|
+
end
|
|
6065
|
+
end
|
|
6066
|
+
|
|
5999
6067
|
# ResetExtensionPassword请求参数结构体
|
|
6000
6068
|
class ResetExtensionPasswordRequest < TencentCloud::Common::AbstractModel
|
|
6001
6069
|
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
@@ -6272,6 +6340,10 @@ module TencentCloud
|
|
|
6272
6340
|
# @param SkillGroupId: 技能组 ID
|
|
6273
6341
|
# @type SkillGroupId: Integer
|
|
6274
6342
|
# @param EndStatusString: 结束状态
|
|
6343
|
+
|
|
6344
|
+
# 中文详情[参考](https://www.tencentcloud.com/zh/document/product/1229/71847)
|
|
6345
|
+
|
|
6346
|
+
# 英文详情[参考](https://www.tencentcloud.com/document/product/1229/71847?lang=en)
|
|
6275
6347
|
# @type EndStatusString: String
|
|
6276
6348
|
# @param RecordURL: 录音 URL
|
|
6277
6349
|
# @type RecordURL: String
|
|
@@ -6661,10 +6733,10 @@ module TencentCloud
|
|
|
6661
6733
|
|
|
6662
6734
|
attr_accessor :Name, :Mail, :Phone, :Nick, :StaffNumber, :RoleId, :RoleIdList, :RoleList, :SkillGroupList, :LastModifyTimestamp, :ExtensionNumber, :ForwardingConfig
|
|
6663
6735
|
extend Gem::Deprecate
|
|
6664
|
-
deprecate :RoleId, :none,
|
|
6665
|
-
deprecate :RoleId=, :none,
|
|
6666
|
-
deprecate :RoleIdList, :none,
|
|
6667
|
-
deprecate :RoleIdList=, :none,
|
|
6736
|
+
deprecate :RoleId, :none, 2026, 1
|
|
6737
|
+
deprecate :RoleId=, :none, 2026, 1
|
|
6738
|
+
deprecate :RoleIdList, :none, 2026, 1
|
|
6739
|
+
deprecate :RoleIdList=, :none, 2026, 1
|
|
6668
6740
|
|
|
6669
6741
|
def initialize(name=nil, mail=nil, phone=nil, nick=nil, staffnumber=nil, roleid=nil, roleidlist=nil, rolelist=nil, skillgrouplist=nil, lastmodifytimestamp=nil, extensionnumber=nil, forwardingconfig=nil)
|
|
6670
6742
|
@Name = name
|
|
@@ -7075,13 +7147,17 @@ module TencentCloud
|
|
|
7075
7147
|
# @type VoicemailRecordURL: Array
|
|
7076
7148
|
# @param VoicemailAsrURL: 通话中语音留言ASR文本信息地址
|
|
7077
7149
|
# @type VoicemailAsrURL: Array
|
|
7150
|
+
# @param AIAgentId: 如果是智能体相关通话,这里是智能体 ID
|
|
7151
|
+
# @type AIAgentId: Integer
|
|
7152
|
+
# @param AIAgentName: 如果是智能体相关通话,这里是智能体名称
|
|
7153
|
+
# @type AIAgentName: String
|
|
7078
7154
|
|
|
7079
|
-
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
|
|
7155
|
+
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, :AIAgentId, :AIAgentName
|
|
7080
7156
|
extend Gem::Deprecate
|
|
7081
|
-
deprecate :Uui, :none,
|
|
7082
|
-
deprecate :Uui=, :none,
|
|
7157
|
+
deprecate :Uui, :none, 2026, 1
|
|
7158
|
+
deprecate :Uui=, :none, 2026, 1
|
|
7083
7159
|
|
|
7084
|
-
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)
|
|
7160
|
+
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, aiagentid=nil, aiagentname=nil)
|
|
7085
7161
|
@Caller = caller
|
|
7086
7162
|
@Callee = callee
|
|
7087
7163
|
@Time = time
|
|
@@ -7119,6 +7195,8 @@ module TencentCloud
|
|
|
7119
7195
|
@QueuedSkillGroupName = queuedskillgroupname
|
|
7120
7196
|
@VoicemailRecordURL = voicemailrecordurl
|
|
7121
7197
|
@VoicemailAsrURL = voicemailasrurl
|
|
7198
|
+
@AIAgentId = aiagentid
|
|
7199
|
+
@AIAgentName = aiagentname
|
|
7122
7200
|
end
|
|
7123
7201
|
|
|
7124
7202
|
def deserialize(params)
|
|
@@ -7183,6 +7261,8 @@ module TencentCloud
|
|
|
7183
7261
|
@QueuedSkillGroupName = params['QueuedSkillGroupName']
|
|
7184
7262
|
@VoicemailRecordURL = params['VoicemailRecordURL']
|
|
7185
7263
|
@VoicemailAsrURL = params['VoicemailAsrURL']
|
|
7264
|
+
@AIAgentId = params['AIAgentId']
|
|
7265
|
+
@AIAgentName = params['AIAgentName']
|
|
7186
7266
|
end
|
|
7187
7267
|
end
|
|
7188
7268
|
|
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.
|
|
4
|
+
version: 3.0.1201
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,9 +33,9 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
+
- lib/tencentcloud-sdk-ccc.rb
|
|
36
37
|
- lib/v20200210/client.rb
|
|
37
38
|
- lib/v20200210/models.rb
|
|
38
|
-
- lib/tencentcloud-sdk-ccc.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|