tencentcloud-sdk-ccc 3.0.924 → 3.0.926

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20200210/models.rb +118 -26
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f78ffcadca854dab9d02723b2c0ded6c50cc6e41
4
- data.tar.gz: 5bdc74a0835d523cd54f53718482ffcfa67400aa
3
+ metadata.gz: 51d0f544a963694ba116ecc6c4e35e7fd278074e
4
+ data.tar.gz: d14bdd255a07f5db77b29db34375a683836f640e
5
5
  SHA512:
6
- metadata.gz: e06c8a1d322179e719b97730d97f30ad04a3ef361af59fe2274a8a50d979ba253e1ad3a595d6211ee21c8bf075d9f9fb6584a91e034e734b97c181d07d8301ae
7
- data.tar.gz: fd3b246e60dd7f03c15af32c90b9731ed0f630ef932bb0a6e816d22250369dcf3ecb07171171c1879281ecc765cb2cc8529b202f5cf1ff161ad88665e791b1da
6
+ metadata.gz: a2372be5321b070d19f8a46f016de84f3b90aec5cf7c829b984e18c77fb3efc6fbffac5a1d8c1e1d8046856efb8a0bf38511a695a3a4e23f62dcf96f3949a66a
7
+ data.tar.gz: 527c9470552f53ae83eda7ede0eb78023c227a1c813c3c246e022ac153b2fa208b13c1b018b23cbef533fbeab5e49d672543fb3e40d665f719fe27f683efa382
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.924
1
+ 3.0.926
@@ -240,8 +240,8 @@ module TencentCloud
240
240
 
241
241
  attr_accessor :SdkAppId, :StaffEmail, :SkillGroupList, :StaffSkillGroupList
242
242
  extend Gem::Deprecate
243
- deprecate :SkillGroupList, :none, 2024, 9
244
- deprecate :SkillGroupList=, :none, 2024, 9
243
+ deprecate :SkillGroupList, :none, 2024, 10
244
+ deprecate :SkillGroupList=, :none, 2024, 10
245
245
 
246
246
  def initialize(sdkappid=nil, staffemail=nil, skillgrouplist=nil, staffskillgrouplist=nil)
247
247
  @SdkAppId = sdkappid
@@ -744,10 +744,96 @@ module TencentCloud
744
744
  # @type EndFunctionEnable: Boolean
745
745
  # @param EndFunctionDesc: EndFunctionEnable为true时生效;call_end function calling的desc,默认为 "End the call when user has to leave (like says bye) or you are instructed to do so."
746
746
  # @type EndFunctionDesc: String
747
-
748
- attr_accessor :SdkAppId, :Callee, :SystemPrompt, :LLMType, :Model, :APIKey, :APIUrl, :VoiceType, :Callers, :WelcomeMessage, :WelcomeType, :MaxDuration, :Languages, :InterruptMode, :InterruptSpeechDuration, :EndFunctionEnable, :EndFunctionDesc
749
-
750
- def initialize(sdkappid=nil, callee=nil, systemprompt=nil, llmtype=nil, model=nil, apikey=nil, apiurl=nil, voicetype=nil, callers=nil, welcomemessage=nil, welcometype=nil, maxduration=nil, languages=nil, interruptmode=nil, interruptspeechduration=nil, endfunctionenable=nil, endfunctiondesc=nil)
747
+ # @param NotifyDuration: 用户多久没说话提示时长,最小10秒,默认10秒
748
+ # @type NotifyDuration: Integer
749
+ # @param NotifyMessage: 用户NotifyDuration没说话,ai提示的语句,默认是"抱歉,我没听清。您可以重复下吗?"
750
+ # @type NotifyMessage: String
751
+ # @param CustomTTSConfig: 和voiceType字段需要选填一个,这里是使用自己自定义的TTS,voiceType是系统内置的一些音色
752
+
753
+ # tencent TTS:
754
+ # {
755
+ # "TTSType": "tencent", // String TTS类型, 目前支持"tencent" 和 “minixmax”, 其他的厂商支持中
756
+ #   "AppId": "您的应用ID", // String 必填
757
+ #   "SecretId": "您的密钥ID", // String 必填
758
+ #   "SecretKey": "您的密钥Key", // String 必填
759
+ #   "VoiceType": 101001, // Integer 必填,音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见语音合成计费概述。完整的音色 ID 列表请参见语音合成音色列表。
760
+ #   "Speed": 1.25, // Integer 非必填,语速,范围:[-2,6],分别对应不同语速: -2: 代表0.6倍 -1: 代表0.8倍 0: 代表1.0倍(默认) 1: 代表1.2倍 2: 代表1.5倍 6: 代表2.5倍 如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。 参数值与实际语速转换,可参考 语速转换
761
+ #   "Volume": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。
762
+ #   "PrimaryLanguage": 1, // Integer 可选 主要语言 1-中文(默认) 2-英文 3-日文
763
+ # "FastVoiceType": "xxxx" // 可选参数, 快速声音复刻的参数
764
+ #  }
765
+
766
+ # 参考:https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823
767
+
768
+ # minimax TTS
769
+ # {
770
+ # "TTSType": "minimax", // String TTS类型,
771
+ # "Model": "speech-01-turbo",
772
+ # "APIUrl": "https://api.minimax.chat/v1/t2a_v2",
773
+ # "APIKey": "eyxxxx",
774
+ # "GroupId": "181000000000000",
775
+ # "VoiceType":"female-tianmei-jingpin",
776
+ # "Speed": 1.2
777
+ # }
778
+
779
+ # 参考:https://platform.minimaxi.com/document/T2A%20V2?key=66719005a427f0c8a5701643
780
+ # 限频参考:https://platform.minimaxi.com/document/Rate%20limits?key=66b19417290299a26b234572 可能会导致回答卡顿
781
+
782
+
783
+
784
+ # volcengine TTS
785
+ # {
786
+ # "TTSType": "volcengine", // 必填:String TTS类型
787
+ # "AppId" : "xxxxxxxx", // 必填:String 火山引擎分配的Appid
788
+ # "Token" : "TY9d4sQXHxxxxxxx", // 必填: String类型 火山引擎的访问token
789
+ # "Speed" : 1.0, // 可选参数 语速,默认为1.0
790
+ # "Volume": 1.0, // 可选参数, 音量大小, 默认为1.0
791
+ # "Cluster" : "volcano_tts", // 可选参数,业务集群, 默认是 volcano_tts
792
+ # "VoiceType" : "zh_male_aojiaobazong_moon_bigtts" // 音色类型, 默认为大模型语音合成的音色。 如果使用普通语音合成,则需要填写对应的音色类型。 音色类型填写错误会导致没有声音。
793
+ # }
794
+
795
+
796
+
797
+ # 火山引擎音色类型参考:
798
+ # https://www.volcengine.com/docs/6561/162929
799
+ # 语音合成音色列表--语音技术-火山引擎
800
+ # 大模型语音合成音色列表--语音技术-火山引擎
801
+
802
+
803
+ # Azure TTS
804
+ # {
805
+ # "TTSType": "azure", // 必填:String TTS类型
806
+ # "SubscriptionKey": "xxxxxxxx", // 必填:String 订阅的Key
807
+ # "Region": "chinanorth3", // 必填:String 订阅的地区
808
+ # "VoiceName": "zh-CN-XiaoxiaoNeural", // 必填:String 音色名必填
809
+ # "Language": "zh-CN", // 必填:String 合成的语言
810
+ # "Rate": 1 // 选填:float 语速 0.5~2 默认为 1
811
+ # }
812
+
813
+ # 参考:
814
+ # https://docs.azure.cn/zh-cn/ai-services/speech-service/speech-synthesis-markup-voice
815
+
816
+
817
+ # 自定义 TTS
818
+ # {
819
+ # "TTSType": "custom", // String 必填
820
+ # "APIKey": "ApiKey", // String 必填 用来鉴权
821
+ # "APIUrl": "http://0.0.0.0:8080/stream-audio" // String,必填,TTS API URL
822
+ # "AudioFormat": "wav", // String, 非必填,期望输出的音频格式,如mp3, ogg_opus,pcm,wav,默认为 wav,目前只支持pcm和wav,
823
+ # "SampleRate": 16000, // Integer,非必填,音频采样率,默认为16000(16k),推荐值为16000
824
+ # "AudioChannel": 1, // Integer,非必填,音频通道数,取值:1 或 2 默认为1
825
+ # }
826
+
827
+
828
+ # 具体协议规范:
829
+ # https://doc.weixin.qq.com/doc/w3_ANQAiAbdAFwHILbJBmtSqSbV1WZ3L?scode=AJEAIQdfAAo5a1xajYANQAiAbdAFw
830
+
831
+
832
+ # @type CustomTTSConfig: String
833
+
834
+ attr_accessor :SdkAppId, :Callee, :SystemPrompt, :LLMType, :Model, :APIKey, :APIUrl, :VoiceType, :Callers, :WelcomeMessage, :WelcomeType, :MaxDuration, :Languages, :InterruptMode, :InterruptSpeechDuration, :EndFunctionEnable, :EndFunctionDesc, :NotifyDuration, :NotifyMessage, :CustomTTSConfig
835
+
836
+ def initialize(sdkappid=nil, callee=nil, systemprompt=nil, llmtype=nil, model=nil, apikey=nil, apiurl=nil, voicetype=nil, callers=nil, welcomemessage=nil, welcometype=nil, maxduration=nil, languages=nil, interruptmode=nil, interruptspeechduration=nil, endfunctionenable=nil, endfunctiondesc=nil, notifyduration=nil, notifymessage=nil, customttsconfig=nil)
751
837
  @SdkAppId = sdkappid
752
838
  @Callee = callee
753
839
  @SystemPrompt = systemprompt
@@ -765,6 +851,9 @@ module TencentCloud
765
851
  @InterruptSpeechDuration = interruptspeechduration
766
852
  @EndFunctionEnable = endfunctionenable
767
853
  @EndFunctionDesc = endfunctiondesc
854
+ @NotifyDuration = notifyduration
855
+ @NotifyMessage = notifymessage
856
+ @CustomTTSConfig = customttsconfig
768
857
  end
769
858
 
770
859
  def deserialize(params)
@@ -785,6 +874,9 @@ module TencentCloud
785
874
  @InterruptSpeechDuration = params['InterruptSpeechDuration']
786
875
  @EndFunctionEnable = params['EndFunctionEnable']
787
876
  @EndFunctionDesc = params['EndFunctionDesc']
877
+ @NotifyDuration = params['NotifyDuration']
878
+ @NotifyMessage = params['NotifyMessage']
879
+ @CustomTTSConfig = params['CustomTTSConfig']
788
880
  end
789
881
  end
790
882
 
@@ -1012,8 +1104,8 @@ module TencentCloud
1012
1104
 
1013
1105
  attr_accessor :SdkAppId, :UserId, :Callee, :Caller, :Callers, :IsForceUseMobile, :Uui, :UUI
1014
1106
  extend Gem::Deprecate
1015
- deprecate :Uui, :none, 2024, 9
1016
- deprecate :Uui=, :none, 2024, 9
1107
+ deprecate :Uui, :none, 2024, 10
1108
+ deprecate :Uui=, :none, 2024, 10
1017
1109
 
1018
1110
  def initialize(sdkappid=nil, userid=nil, callee=nil, caller=nil, callers=nil, isforceusemobile=nil, uui=nil)
1019
1111
  @SdkAppId = sdkappid
@@ -2088,10 +2180,10 @@ module TencentCloud
2088
2180
 
2089
2181
  attr_accessor :SdkAppId, :InstanceId, :CdrId, :Limit, :Offset, :Order, :SessionId
2090
2182
  extend Gem::Deprecate
2091
- deprecate :InstanceId, :none, 2024, 9
2092
- deprecate :InstanceId=, :none, 2024, 9
2093
- deprecate :CdrId, :none, 2024, 9
2094
- deprecate :CdrId=, :none, 2024, 9
2183
+ deprecate :InstanceId, :none, 2024, 10
2184
+ deprecate :InstanceId=, :none, 2024, 10
2185
+ deprecate :CdrId, :none, 2024, 10
2186
+ deprecate :CdrId=, :none, 2024, 10
2095
2187
 
2096
2188
  def initialize(sdkappid=nil, instanceid=nil, cdrid=nil, limit=nil, offset=nil, order=nil, sessionid=nil)
2097
2189
  @SdkAppId = sdkappid
@@ -2420,8 +2512,8 @@ module TencentCloud
2420
2512
 
2421
2513
  attr_accessor :StartTimestamp, :EndTimestamp, :InstanceId, :SdkAppId, :Limit, :Offset, :Type
2422
2514
  extend Gem::Deprecate
2423
- deprecate :InstanceId, :none, 2024, 9
2424
- deprecate :InstanceId=, :none, 2024, 9
2515
+ deprecate :InstanceId, :none, 2024, 10
2516
+ deprecate :InstanceId=, :none, 2024, 10
2425
2517
 
2426
2518
  def initialize(starttimestamp=nil, endtimestamp=nil, instanceid=nil, sdkappid=nil, limit=nil, offset=nil, type=nil)
2427
2519
  @StartTimestamp = starttimestamp
@@ -2458,8 +2550,8 @@ module TencentCloud
2458
2550
 
2459
2551
  attr_accessor :TotalCount, :IMCdrs, :IMCdrList, :RequestId
2460
2552
  extend Gem::Deprecate
2461
- deprecate :IMCdrs, :none, 2024, 9
2462
- deprecate :IMCdrs=, :none, 2024, 9
2553
+ deprecate :IMCdrs, :none, 2024, 10
2554
+ deprecate :IMCdrs=, :none, 2024, 10
2463
2555
 
2464
2556
  def initialize(totalcount=nil, imcdrs=nil, imcdrlist=nil, requestid=nil)
2465
2557
  @TotalCount = totalcount
@@ -2961,8 +3053,8 @@ module TencentCloud
2961
3053
 
2962
3054
  attr_accessor :TotalCount, :TelCdrs, :TelCdrList, :RequestId
2963
3055
  extend Gem::Deprecate
2964
- deprecate :TelCdrs, :none, 2024, 9
2965
- deprecate :TelCdrs=, :none, 2024, 9
3056
+ deprecate :TelCdrs, :none, 2024, 10
3057
+ deprecate :TelCdrs=, :none, 2024, 10
2966
3058
 
2967
3059
  def initialize(totalcount=nil, telcdrs=nil, telcdrlist=nil, requestid=nil)
2968
3060
  @TotalCount = totalcount
@@ -3227,8 +3319,8 @@ module TencentCloud
3227
3319
 
3228
3320
  attr_accessor :TelCallOutCount, :TelCallInCount, :SeatUsedCount, :VoipCallInCount, :VOIPCallInCount, :AsrOfflineCount, :AsrRealtimeCount, :RequestId
3229
3321
  extend Gem::Deprecate
3230
- deprecate :VoipCallInCount, :none, 2024, 9
3231
- deprecate :VoipCallInCount=, :none, 2024, 9
3322
+ deprecate :VoipCallInCount, :none, 2024, 10
3323
+ deprecate :VoipCallInCount=, :none, 2024, 10
3232
3324
 
3233
3325
  def initialize(telcalloutcount=nil, telcallincount=nil, seatusedcount=nil, voipcallincount=nil, asrofflinecount=nil, asrrealtimecount=nil, requestid=nil)
3234
3326
  @TelCallOutCount = telcalloutcount
@@ -3276,8 +3368,8 @@ module TencentCloud
3276
3368
 
3277
3369
  attr_accessor :StartTimeStamp, :EndTimeStamp, :InstanceId, :Limit, :Offset, :SdkAppId, :PageSize, :PageNumber, :Phones, :SessionIds
3278
3370
  extend Gem::Deprecate
3279
- deprecate :InstanceId, :none, 2024, 9
3280
- deprecate :InstanceId=, :none, 2024, 9
3371
+ deprecate :InstanceId, :none, 2024, 10
3372
+ deprecate :InstanceId=, :none, 2024, 10
3281
3373
 
3282
3374
  def initialize(starttimestamp=nil, endtimestamp=nil, instanceid=nil, limit=nil, offset=nil, sdkappid=nil, pagesize=nil, pagenumber=nil, phones=nil, sessionids=nil)
3283
3375
  @StartTimeStamp = starttimestamp
@@ -3319,8 +3411,8 @@ module TencentCloud
3319
3411
 
3320
3412
  attr_accessor :TotalCount, :TelCdrs, :TelCdrList, :RequestId
3321
3413
  extend Gem::Deprecate
3322
- deprecate :TelCdrs, :none, 2024, 9
3323
- deprecate :TelCdrs=, :none, 2024, 9
3414
+ deprecate :TelCdrs, :none, 2024, 10
3415
+ deprecate :TelCdrs=, :none, 2024, 10
3324
3416
 
3325
3417
  def initialize(totalcount=nil, telcdrs=nil, telcdrlist=nil, requestid=nil)
3326
3418
  @TotalCount = totalcount
@@ -5103,8 +5195,8 @@ module TencentCloud
5103
5195
 
5104
5196
  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
5105
5197
  extend Gem::Deprecate
5106
- deprecate :Uui, :none, 2024, 9
5107
- deprecate :Uui=, :none, 2024, 9
5198
+ deprecate :Uui, :none, 2024, 10
5199
+ deprecate :Uui=, :none, 2024, 10
5108
5200
 
5109
5201
  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)
5110
5202
  @Caller = caller
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.924
4
+ version: 3.0.926
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-14 00:00:00.000000000 Z
11
+ date: 2024-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common