tencentcloud-sdk-ccc 3.0.1140 → 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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20200210/models.rb +96 -44
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86f06a0b60ca20db01cb9615bc631c1563acb9bc
4
- data.tar.gz: 9e22eb5034b81405822f093ec3c7c212a456e783
3
+ metadata.gz: 768767e59be3f5674caa6b1e35bb47aeb36bcb99
4
+ data.tar.gz: c1902c4ad3c4bc0da9914b5cee7701305f71ad62
5
5
  SHA512:
6
- metadata.gz: 4bd2eb9044705837ea87ac292328bb8ef0458394b85660b879ffda5f938a3714508dbe1f816e4ecc12cce6429072544f8ad7a5648212a3fbb39e68bde646f27e
7
- data.tar.gz: 9aa51ec9a3ec0fb439f50d4548e0c13b656939ae32ad7534981270262ce9dde69cfec1521937b1d951f4d4b1f87da71cd0e11656c41247ca3c705580298042ad
6
+ metadata.gz: 7d605f164c13de312480a3c750a2064c04227bc8e82578980d572eb29ed6602787dda575f8d3c6a647bc6466986761a7d02c138e4623b7da2f6e7e78ad3eb525
7
+ data.tar.gz: 5ca0816ad97cf4ab104c1577be03b4bb12e777fb55b6cdbe05a120468f67ae97bdcb5ba6e6605d95af1e96cd4e450b9971f9922cb8d9ac5d17f5d6aeb7f72b27
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1140
1
+ 3.0.1144
@@ -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
 
@@ -6521,73 +6569,77 @@ module TencentCloud
6521
6569
 
6522
6570
  # **场景 EndStatus EndStatusString 状态说明**
6523
6571
 
6524
- # 电话呼入&呼出 1 ok 正常通话
6572
+ # 电话呼入&呼出 1 ok **正常通话**
6573
+
6574
+ # 电话呼入 102 ivrGiveUp **IVR期间用户放弃**
6575
+
6576
+ # 电话呼入 103 waitingGiveUp **排队时用户放弃**
6525
6577
 
6526
- # 电话呼入 102 ivrGiveUp IVR 期间用户放弃
6578
+ # 电话呼入 104 ringingGiveUp **振铃时用户放弃**
6527
6579
 
6528
- # 电话呼入 103 waitingGiveUp 排队时用户放弃
6580
+ # 电话呼入 105 noSeatOnline **无座席在线**
6529
6581
 
6530
- # 电话呼入 104 ringingGiveUp 振铃时用户放弃
6582
+ # 电话呼入 106 notWorkTime **非工作时间**
6531
6583
 
6532
- # 电话呼入 105 noSeatOnline 无座席在线
6584
+ # 电话呼入 107 ivrEnd **IVR全自动结束(无人工介入)**
6533
6585
 
6534
- # 电话呼入 106 notWorkTime 非工作时间
6586
+ # 电话呼入 100 blackList **黑名单(系统侧)**
6535
6587
 
6536
- # 电话呼入 107 ivrEnd IVR全自动结束(无人工介入)
6588
+ # 电话呼出 108 restrictedCallee **全局外呼风险号码拦截(系统侧)**
6537
6589
 
6538
- # 电话呼入 100 blackList 黑名单(系统侧)
6590
+ # 电话呼出 109 tooManyRequest **外呼频控拦截(系统侧)**
6539
6591
 
6540
- # 电话呼出 108 restrictedCallee 全局外呼风险号码拦截(系统侧)
6592
+ # 电话呼出 110 restrictedArea **外呼地域拦截(系统侧)**
6541
6593
 
6542
- # 电话呼出 109 tooManyRequest 外呼频控拦截(系统侧)
6594
+ # 电话呼出 111 restrictedTime **外呼时段拦截(系统侧)**
6543
6595
 
6544
- # 电话呼出 110 restrictedArea 外呼地域拦截(系统侧)
6596
+ # 电话呼出 202 notAnswer **被叫未接听**
6545
6597
 
6546
- # 电话呼出 111 restrictedTime 外呼时段拦截(系统侧)
6598
+ # 电话呼出 203 userReject **被叫拒接挂断**
6547
6599
 
6548
- # 电话呼出 202 notAnswer 被叫未接听
6600
+ # 电话呼出 204 powerOff **被叫关机**
6549
6601
 
6550
- # 电话呼出 203 userReject 被叫拒接挂断
6602
+ # 电话呼出 205 numberNotExist **被叫空号**
6551
6603
 
6552
- # 电话呼出 204 powerOff 被叫关机
6604
+ # 电话呼出 206 busy **被叫忙**
6553
6605
 
6554
- # 电话呼出 205 numberNotExist 被叫空号
6606
+ # 电话呼出 207 outOfCredit **被叫欠费**
6555
6607
 
6556
- # 电话呼出 206 busy 被叫忙
6608
+ # 电话呼出 208 operatorError **运营商线路异常**
6557
6609
 
6558
- # 电话呼出 207 outOfCredit 被叫欠费
6610
+ # 电话呼出 209 callerCancel **主叫取消**
6559
6611
 
6560
- # 电话呼出 208 operatorError 运营商线路异常
6612
+ # 电话呼出 210 notInService **被叫不在服务区**
6561
6613
 
6562
- # 电话呼出 209 callerCancel 主叫取消
6614
+ # 电话呼入&呼出 211 clientError **座席客户端错误**
6563
6615
 
6564
- # 电话呼出 210 notInService 被叫不在服务区
6616
+ # 电话呼出 212 carrierBlocked **运营商拦截**
6565
6617
 
6566
- # 电话呼入&呼出 211 clientError 座席客户端错误
6618
+ # 电话呼出 213 callReminder **提示来电提醒**
6567
6619
 
6568
- # 电话呼出 212 carrierBlocked 运营商拦截
6620
+ # 电话呼出 215 numberInvalid **被叫号码无效**
6569
6621
 
6570
- # 电话呼出 213 callReminder 提示来电提醒
6622
+ # 电话呼出 216 callRestricted **提示呼叫受限**
6571
6623
 
6572
- # 电话呼出 215 numberInvalid 被叫号码无效
6624
+ # 电话呼出 217 calleeRestricted **被叫黑名单受限**
6573
6625
 
6574
- # 电话呼出 216 callRestricted 提示呼叫受限
6626
+ # 电话呼出 218 areaRestricted **被叫区域受限**
6575
6627
 
6576
- # 电话呼出 217 calleeRestricted 被叫黑名单受限
6628
+ # 电话呼出 219 promptCallForwarding **提示呼叫转移**
6577
6629
 
6578
- # 电话呼出 218 areaRestricted 被叫区域受限
6630
+ # 电话呼出 220 callerCancelWhileRing **振铃中主叫取消**
6579
6631
 
6580
- # 电话呼出 219 promptCallForwarding 提示呼叫转移
6632
+ # 电话呼出 221 callerCancelWithoutRing **未振铃被叫号码异常**
6581
6633
 
6582
- # 电话呼出 220 callerCancelWhileRing 振铃中主叫取消
6634
+ # 音频呼入 501 callConflict **VoIP用户呼叫冲突终止**
6583
6635
 
6584
- # 电话呼出 221 callerCancelWithoutRing 未振铃被叫号码异常
6636
+ # 音频呼入 502 clientTimeout **VoIP用户客户端超时**
6585
6637
 
6586
- # 音频呼入 501 callConflict VoIP 用户呼叫冲突终止
6638
+ # 音频呼入 503 voipClientError **VoIP用户客户端错误**
6587
6639
 
6588
- # 音频呼入 502 clientTimeout VoIP 用户客户端超时
6640
+ # 中文详情[参考](https://www.tencentcloud.com/zh/document/product/1229/71847)
6589
6641
 
6590
- # 音频呼入 503 voipClientError VoIP 用户客户端错误
6642
+ # 英文详情[参考](https://www.tencentcloud.com/document/product/1229/71847?lang=en)
6591
6643
  # @type EndStatus: Integer
6592
6644
  # @param SkillGroup: 技能组名称
6593
6645
  # @type SkillGroup: String
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.1140
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-15 00:00:00.000000000 Z
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