tencentcloud-sdk-ccc 3.0.1141 → 3.0.1144
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/models.rb +58 -10
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 768767e59be3f5674caa6b1e35bb47aeb36bcb99
|
4
|
+
data.tar.gz: c1902c4ad3c4bc0da9914b5cee7701305f71ad62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d605f164c13de312480a3c750a2064c04227bc8e82578980d572eb29ed6602787dda575f8d3c6a647bc6466986761a7d02c138e4623b7da2f6e7e78ad3eb525
|
7
|
+
data.tar.gz: 5ca0816ad97cf4ab104c1577be03b4bb12e777fb55b6cdbe05a120468f67ae97bdcb5ba6e6605d95af1e96cd4e450b9971f9922cb8d9ac5d17f5d6aeb7f72b27
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1144
|
data/lib/v20200210/models.rb
CHANGED
@@ -987,17 +987,21 @@ module TencentCloud
|
|
987
987
|
# @param Command: 控制命令,目前支持命令如下:
|
988
988
|
|
989
989
|
# - ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本
|
990
|
+
# - InvokeLLM,服务端发送文本给大模型,触发对话
|
990
991
|
# @type Command: String
|
991
992
|
# @param ServerPushText: 服务端发送播报文本命令,当Command为ServerPushText时必填
|
992
993
|
# @type ServerPushText: :class:`Tencentcloud::Ccc.v20200210.models.ServerPushText`
|
994
|
+
# @param InvokeLLM: 服务端发送命令主动请求大模型,当Command为InvokeLLM时会把content请求到大模型,头部增加X-Invoke-LLM="1"
|
995
|
+
# @type InvokeLLM: :class:`Tencentcloud::Ccc.v20200210.models.InvokeLLM`
|
993
996
|
|
994
|
-
attr_accessor :SessionId, :SdkAppId, :Command, :ServerPushText
|
997
|
+
attr_accessor :SessionId, :SdkAppId, :Command, :ServerPushText, :InvokeLLM
|
995
998
|
|
996
|
-
def initialize(sessionid=nil, sdkappid=nil, command=nil, serverpushtext=nil)
|
999
|
+
def initialize(sessionid=nil, sdkappid=nil, command=nil, serverpushtext=nil, invokellm=nil)
|
997
1000
|
@SessionId = sessionid
|
998
1001
|
@SdkAppId = sdkappid
|
999
1002
|
@Command = command
|
1000
1003
|
@ServerPushText = serverpushtext
|
1004
|
+
@InvokeLLM = invokellm
|
1001
1005
|
end
|
1002
1006
|
|
1003
1007
|
def deserialize(params)
|
@@ -1008,6 +1012,10 @@ module TencentCloud
|
|
1008
1012
|
@ServerPushText = ServerPushText.new
|
1009
1013
|
@ServerPushText.deserialize(params['ServerPushText'])
|
1010
1014
|
end
|
1015
|
+
unless params['InvokeLLM'].nil?
|
1016
|
+
@InvokeLLM = InvokeLLM.new
|
1017
|
+
@InvokeLLM.deserialize(params['InvokeLLM'])
|
1018
|
+
end
|
1011
1019
|
end
|
1012
1020
|
end
|
1013
1021
|
|
@@ -1607,9 +1615,9 @@ module TencentCloud
|
|
1607
1615
|
# @type NotAfter: Integer
|
1608
1616
|
# @param Tries: 最大尝试次数,1-3 次
|
1609
1617
|
# @type Tries: Integer
|
1610
|
-
# @param Variables:
|
1618
|
+
# @param Variables: 自定义变量(仅高级版支持),CalleeAttributes 字段中使用相同变量会覆盖此处
|
1611
1619
|
# @type Variables: Array
|
1612
|
-
# @param UUI: UUI
|
1620
|
+
# @param UUI: 用户自定义数据,CalleeAttributes 字段中使用 UUI 会覆盖此处
|
1613
1621
|
# @type UUI: String
|
1614
1622
|
# @param CalleeAttributes: 被叫属性
|
1615
1623
|
# @type CalleeAttributes: Array
|
@@ -2022,14 +2030,20 @@ module TencentCloud
|
|
2022
2030
|
# @type DetailList: Array
|
2023
2031
|
# @param Prefix: 送号前缀
|
2024
2032
|
# @type Prefix: String
|
2033
|
+
# @param MobileNddPrefix: 国内长途手机前缀码
|
2034
|
+
# @type MobileNddPrefix: String
|
2035
|
+
# @param LocalNumberTrimAC: 同市固话去掉区号
|
2036
|
+
# @type LocalNumberTrimAC: Boolean
|
2025
2037
|
|
2026
|
-
attr_accessor :SdkAppId, :SipTrunkId, :DetailList, :Prefix
|
2038
|
+
attr_accessor :SdkAppId, :SipTrunkId, :DetailList, :Prefix, :MobileNddPrefix, :LocalNumberTrimAC
|
2027
2039
|
|
2028
|
-
def initialize(sdkappid=nil, siptrunkid=nil, detaillist=nil, prefix=nil)
|
2040
|
+
def initialize(sdkappid=nil, siptrunkid=nil, detaillist=nil, prefix=nil, mobilenddprefix=nil, localnumbertrimac=nil)
|
2029
2041
|
@SdkAppId = sdkappid
|
2030
2042
|
@SipTrunkId = siptrunkid
|
2031
2043
|
@DetailList = detaillist
|
2032
2044
|
@Prefix = prefix
|
2045
|
+
@MobileNddPrefix = mobilenddprefix
|
2046
|
+
@LocalNumberTrimAC = localnumbertrimac
|
2033
2047
|
end
|
2034
2048
|
|
2035
2049
|
def deserialize(params)
|
@@ -2044,6 +2058,8 @@ module TencentCloud
|
|
2044
2058
|
end
|
2045
2059
|
end
|
2046
2060
|
@Prefix = params['Prefix']
|
2061
|
+
@MobileNddPrefix = params['MobileNddPrefix']
|
2062
|
+
@LocalNumberTrimAC = params['LocalNumberTrimAC']
|
2047
2063
|
end
|
2048
2064
|
end
|
2049
2065
|
|
@@ -5136,6 +5152,26 @@ module TencentCloud
|
|
5136
5152
|
end
|
5137
5153
|
end
|
5138
5154
|
|
5155
|
+
# 调用服务端主动发起请求到LLM
|
5156
|
+
class InvokeLLM < TencentCloud::Common::AbstractModel
|
5157
|
+
# @param Content: 请求LLM的内容
|
5158
|
+
# @type Content: String
|
5159
|
+
# @param Interrupt: 是否允许该文本打断机器人说话
|
5160
|
+
# @type Interrupt: Boolean
|
5161
|
+
|
5162
|
+
attr_accessor :Content, :Interrupt
|
5163
|
+
|
5164
|
+
def initialize(content=nil, interrupt=nil)
|
5165
|
+
@Content = content
|
5166
|
+
@Interrupt = interrupt
|
5167
|
+
end
|
5168
|
+
|
5169
|
+
def deserialize(params)
|
5170
|
+
@Content = params['Content']
|
5171
|
+
@Interrupt = params['Interrupt']
|
5172
|
+
end
|
5173
|
+
end
|
5174
|
+
|
5139
5175
|
# 单条消息
|
5140
5176
|
class Message < TencentCloud::Common::AbstractModel
|
5141
5177
|
# @param Type: 消息类型
|
@@ -5284,14 +5320,20 @@ module TencentCloud
|
|
5284
5320
|
# @type ApplyId: Integer
|
5285
5321
|
# @param Prefix: 送号前缀
|
5286
5322
|
# @type Prefix: String
|
5323
|
+
# @param MobileNddPrefix: 国内长途手机前缀码
|
5324
|
+
# @type MobileNddPrefix: String
|
5325
|
+
# @param LocalNumberTrimAC: 同市固话去掉区号
|
5326
|
+
# @type LocalNumberTrimAC: Boolean
|
5287
5327
|
|
5288
|
-
attr_accessor :SdkAppId, :DetailList, :ApplyId, :Prefix
|
5328
|
+
attr_accessor :SdkAppId, :DetailList, :ApplyId, :Prefix, :MobileNddPrefix, :LocalNumberTrimAC
|
5289
5329
|
|
5290
|
-
def initialize(sdkappid=nil, detaillist=nil, applyid=nil, prefix=nil)
|
5330
|
+
def initialize(sdkappid=nil, detaillist=nil, applyid=nil, prefix=nil, mobilenddprefix=nil, localnumbertrimac=nil)
|
5291
5331
|
@SdkAppId = sdkappid
|
5292
5332
|
@DetailList = detaillist
|
5293
5333
|
@ApplyId = applyid
|
5294
5334
|
@Prefix = prefix
|
5335
|
+
@MobileNddPrefix = mobilenddprefix
|
5336
|
+
@LocalNumberTrimAC = localnumbertrimac
|
5295
5337
|
end
|
5296
5338
|
|
5297
5339
|
def deserialize(params)
|
@@ -5306,6 +5348,8 @@ module TencentCloud
|
|
5306
5348
|
end
|
5307
5349
|
@ApplyId = params['ApplyId']
|
5308
5350
|
@Prefix = params['Prefix']
|
5351
|
+
@MobileNddPrefix = params['MobileNddPrefix']
|
5352
|
+
@LocalNumberTrimAC = params['LocalNumberTrimAC']
|
5309
5353
|
end
|
5310
5354
|
end
|
5311
5355
|
|
@@ -5476,15 +5520,18 @@ module TencentCloud
|
|
5476
5520
|
# @type MaxCallPSec: Integer
|
5477
5521
|
# @param OutboundCalleeFormat: 呼出被叫格式,使用 {+E.164} 或 {E.164},
|
5478
5522
|
# @type OutboundCalleeFormat: String
|
5523
|
+
# @param CarrierPhoneNumber: 运营商号码
|
5524
|
+
# @type CarrierPhoneNumber: String
|
5479
5525
|
|
5480
|
-
attr_accessor :CallType, :PhoneNumber, :MaxCallCount, :MaxCallPSec, :OutboundCalleeFormat
|
5526
|
+
attr_accessor :CallType, :PhoneNumber, :MaxCallCount, :MaxCallPSec, :OutboundCalleeFormat, :CarrierPhoneNumber
|
5481
5527
|
|
5482
|
-
def initialize(calltype=nil, phonenumber=nil, maxcallcount=nil, maxcallpsec=nil, outboundcalleeformat=nil)
|
5528
|
+
def initialize(calltype=nil, phonenumber=nil, maxcallcount=nil, maxcallpsec=nil, outboundcalleeformat=nil, carrierphonenumber=nil)
|
5483
5529
|
@CallType = calltype
|
5484
5530
|
@PhoneNumber = phonenumber
|
5485
5531
|
@MaxCallCount = maxcallcount
|
5486
5532
|
@MaxCallPSec = maxcallpsec
|
5487
5533
|
@OutboundCalleeFormat = outboundcalleeformat
|
5534
|
+
@CarrierPhoneNumber = carrierphonenumber
|
5488
5535
|
end
|
5489
5536
|
|
5490
5537
|
def deserialize(params)
|
@@ -5493,6 +5540,7 @@ module TencentCloud
|
|
5493
5540
|
@MaxCallCount = params['MaxCallCount']
|
5494
5541
|
@MaxCallPSec = params['MaxCallPSec']
|
5495
5542
|
@OutboundCalleeFormat = params['OutboundCalleeFormat']
|
5543
|
+
@CarrierPhoneNumber = params['CarrierPhoneNumber']
|
5496
5544
|
end
|
5497
5545
|
end
|
5498
5546
|
|
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.1144
|
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-09-
|
11
|
+
date: 2025-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|