tencentcloud-sdk-ccc 3.0.976 → 3.0.977

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 +76 -26
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 450adb54657553a1fb8558eafe4feb6d8dba3e75
4
- data.tar.gz: eacc753b069da6dc7861f02230c99152f33a03ea
3
+ metadata.gz: d40852b68d946910ce5b33947cf6eaae2c70e60a
4
+ data.tar.gz: 7b2cb9ea751c10b4355da943d90dd1a27d2f5116
5
5
  SHA512:
6
- metadata.gz: 26313ef0c1d791fdd3b9e458e96e8f71bbf9dc36ae85d550f3d204d45368a38a40391a062a6009ebd384af66ed512046d03006324fcc87905888e173373d2718
7
- data.tar.gz: 23bac8a31571a3422fba0d74234af03c45b22d08d75ca3bb298547354666af0ecdde0fff7f15d0f8b2cf6d55c3b897a79f1dee7072ca86cf0753e910f9c9f0cf
6
+ metadata.gz: 15426e19184fcd618af495e8d7146ad30b14731139d702d14bac9d380a138201a35ed5589f4ccee35e8f44d85379b92647c40a82ce6275b739940e5956540233
7
+ data.tar.gz: ced6c7c9586e6fcad8cbdf462ec32305a1abddb3fc2bd3dd9b10ddd9ba723a0625267b6114b7a64382f3b244fdcccf472f204b33ac57c526e8473539bebf9d05
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.976
1
+ 3.0.977
@@ -17,6 +17,30 @@
17
17
  module TencentCloud
18
18
  module Ccc
19
19
  module V20200210
20
+ # AI转人工配置项
21
+ class AITransferItem < TencentCloud::Common::AbstractModel
22
+ # @param TransferFunctionName: 转人工的function calling 名称
23
+ # @type TransferFunctionName: String
24
+ # @param TransferFunctionDesc: TransferFunctionEnable为true时生效;transfer_to_human function calling的desc,默认为 "Transfer to human when the user has to transfer to human (like says transfer to human) or you are instructed to do so."
25
+ # @type TransferFunctionDesc: String
26
+ # @param TransferSkillGroupId: 转人工的技能组ID
27
+ # @type TransferSkillGroupId: Integer
28
+
29
+ attr_accessor :TransferFunctionName, :TransferFunctionDesc, :TransferSkillGroupId
30
+
31
+ def initialize(transferfunctionname=nil, transferfunctiondesc=nil, transferskillgroupid=nil)
32
+ @TransferFunctionName = transferfunctionname
33
+ @TransferFunctionDesc = transferfunctiondesc
34
+ @TransferSkillGroupId = transferskillgroupid
35
+ end
36
+
37
+ def deserialize(params)
38
+ @TransferFunctionName = params['TransferFunctionName']
39
+ @TransferFunctionDesc = params['TransferFunctionDesc']
40
+ @TransferSkillGroupId = params['TransferSkillGroupId']
41
+ end
42
+ end
43
+
20
44
  # AbortPredictiveDialingCampaign请求参数结构体
21
45
  class AbortPredictiveDialingCampaignRequest < TencentCloud::Common::AbstractModel
22
46
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
@@ -96,8 +120,8 @@ module TencentCloud
96
120
 
97
121
  attr_accessor :User, :Message, :Timestamp, :Start, :End
98
122
  extend Gem::Deprecate
99
- deprecate :Timestamp, :none, 2024, 12
100
- deprecate :Timestamp=, :none, 2024, 12
123
+ deprecate :Timestamp, :none, 2025, 1
124
+ deprecate :Timestamp=, :none, 2025, 1
101
125
 
102
126
  def initialize(user=nil, message=nil, timestamp=nil, start=nil, _end=nil)
103
127
  @User = user
@@ -271,8 +295,8 @@ module TencentCloud
271
295
 
272
296
  attr_accessor :SdkAppId, :StaffEmail, :SkillGroupList, :StaffSkillGroupList
273
297
  extend Gem::Deprecate
274
- deprecate :SkillGroupList, :none, 2024, 12
275
- deprecate :SkillGroupList=, :none, 2024, 12
298
+ deprecate :SkillGroupList, :none, 2025, 1
299
+ deprecate :SkillGroupList=, :none, 2025, 1
276
300
 
277
301
  def initialize(sdkappid=nil, staffemail=nil, skillgrouplist=nil, staffskillgrouplist=nil)
278
302
  @SdkAppId = sdkappid
@@ -779,6 +803,10 @@ module TencentCloud
779
803
  # @type EndFunctionEnable: Boolean
780
804
  # @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."
781
805
  # @type EndFunctionDesc: String
806
+ # @param TransferFunctionEnable: 模型是否支持(或者开启)transfer_to_human function calling
807
+ # @type TransferFunctionEnable: Boolean
808
+ # @param TransferItems: TransferFunctionEnable为true的时候生效: 转人工配置
809
+ # @type TransferItems: Array
782
810
  # @param NotifyDuration: 用户多久没说话提示时长,最小10秒,默认10秒
783
811
  # @type NotifyDuration: Integer
784
812
  # @param NotifyMessage: 用户NotifyDuration没说话,AI提示的语句,默认是"抱歉,我没听清。您可以重复下吗?"
@@ -865,10 +893,12 @@ module TencentCloud
865
893
 
866
894
  # </div></div>
867
895
  # @type CustomTTSConfig: String
896
+ # @param PromptVariables: 提示词变量
897
+ # @type PromptVariables: Array
868
898
 
869
- attr_accessor :SdkAppId, :Callee, :SystemPrompt, :LLMType, :Model, :APIKey, :APIUrl, :VoiceType, :Callers, :WelcomeMessage, :WelcomeType, :MaxDuration, :Languages, :InterruptMode, :InterruptSpeechDuration, :EndFunctionEnable, :EndFunctionDesc, :NotifyDuration, :NotifyMessage, :NotifyMaxCount, :CustomTTSConfig
899
+ attr_accessor :SdkAppId, :Callee, :SystemPrompt, :LLMType, :Model, :APIKey, :APIUrl, :VoiceType, :Callers, :WelcomeMessage, :WelcomeType, :MaxDuration, :Languages, :InterruptMode, :InterruptSpeechDuration, :EndFunctionEnable, :EndFunctionDesc, :TransferFunctionEnable, :TransferItems, :NotifyDuration, :NotifyMessage, :NotifyMaxCount, :CustomTTSConfig, :PromptVariables
870
900
 
871
- 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, notifymaxcount=nil, customttsconfig=nil)
901
+ 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, transferfunctionenable=nil, transferitems=nil, notifyduration=nil, notifymessage=nil, notifymaxcount=nil, customttsconfig=nil, promptvariables=nil)
872
902
  @SdkAppId = sdkappid
873
903
  @Callee = callee
874
904
  @SystemPrompt = systemprompt
@@ -886,10 +916,13 @@ module TencentCloud
886
916
  @InterruptSpeechDuration = interruptspeechduration
887
917
  @EndFunctionEnable = endfunctionenable
888
918
  @EndFunctionDesc = endfunctiondesc
919
+ @TransferFunctionEnable = transferfunctionenable
920
+ @TransferItems = transferitems
889
921
  @NotifyDuration = notifyduration
890
922
  @NotifyMessage = notifymessage
891
923
  @NotifyMaxCount = notifymaxcount
892
924
  @CustomTTSConfig = customttsconfig
925
+ @PromptVariables = promptvariables
893
926
  end
894
927
 
895
928
  def deserialize(params)
@@ -910,10 +943,27 @@ module TencentCloud
910
943
  @InterruptSpeechDuration = params['InterruptSpeechDuration']
911
944
  @EndFunctionEnable = params['EndFunctionEnable']
912
945
  @EndFunctionDesc = params['EndFunctionDesc']
946
+ @TransferFunctionEnable = params['TransferFunctionEnable']
947
+ unless params['TransferItems'].nil?
948
+ @TransferItems = []
949
+ params['TransferItems'].each do |i|
950
+ aitransferitem_tmp = AITransferItem.new
951
+ aitransferitem_tmp.deserialize(i)
952
+ @TransferItems << aitransferitem_tmp
953
+ end
954
+ end
913
955
  @NotifyDuration = params['NotifyDuration']
914
956
  @NotifyMessage = params['NotifyMessage']
915
957
  @NotifyMaxCount = params['NotifyMaxCount']
916
958
  @CustomTTSConfig = params['CustomTTSConfig']
959
+ unless params['PromptVariables'].nil?
960
+ @PromptVariables = []
961
+ params['PromptVariables'].each do |i|
962
+ variable_tmp = Variable.new
963
+ variable_tmp.deserialize(i)
964
+ @PromptVariables << variable_tmp
965
+ end
966
+ end
917
967
  end
918
968
  end
919
969
 
@@ -1141,8 +1191,8 @@ module TencentCloud
1141
1191
 
1142
1192
  attr_accessor :SdkAppId, :UserId, :Callee, :Caller, :Callers, :IsForceUseMobile, :Uui, :UUI
1143
1193
  extend Gem::Deprecate
1144
- deprecate :Uui, :none, 2024, 12
1145
- deprecate :Uui=, :none, 2024, 12
1194
+ deprecate :Uui, :none, 2025, 1
1195
+ deprecate :Uui=, :none, 2025, 1
1146
1196
 
1147
1197
  def initialize(sdkappid=nil, userid=nil, callee=nil, caller=nil, callers=nil, isforceusemobile=nil, uui=nil)
1148
1198
  @SdkAppId = sdkappid
@@ -2239,10 +2289,10 @@ module TencentCloud
2239
2289
 
2240
2290
  attr_accessor :SdkAppId, :InstanceId, :CdrId, :Limit, :Offset, :Order, :SessionId
2241
2291
  extend Gem::Deprecate
2242
- deprecate :InstanceId, :none, 2024, 12
2243
- deprecate :InstanceId=, :none, 2024, 12
2244
- deprecate :CdrId, :none, 2024, 12
2245
- deprecate :CdrId=, :none, 2024, 12
2292
+ deprecate :InstanceId, :none, 2025, 1
2293
+ deprecate :InstanceId=, :none, 2025, 1
2294
+ deprecate :CdrId, :none, 2025, 1
2295
+ deprecate :CdrId=, :none, 2025, 1
2246
2296
 
2247
2297
  def initialize(sdkappid=nil, instanceid=nil, cdrid=nil, limit=nil, offset=nil, order=nil, sessionid=nil)
2248
2298
  @SdkAppId = sdkappid
@@ -2568,8 +2618,8 @@ module TencentCloud
2568
2618
 
2569
2619
  attr_accessor :StartTimestamp, :EndTimestamp, :InstanceId, :SdkAppId, :Limit, :Offset, :Type
2570
2620
  extend Gem::Deprecate
2571
- deprecate :InstanceId, :none, 2024, 12
2572
- deprecate :InstanceId=, :none, 2024, 12
2621
+ deprecate :InstanceId, :none, 2025, 1
2622
+ deprecate :InstanceId=, :none, 2025, 1
2573
2623
 
2574
2624
  def initialize(starttimestamp=nil, endtimestamp=nil, instanceid=nil, sdkappid=nil, limit=nil, offset=nil, type=nil)
2575
2625
  @StartTimestamp = starttimestamp
@@ -2606,8 +2656,8 @@ module TencentCloud
2606
2656
 
2607
2657
  attr_accessor :TotalCount, :IMCdrs, :IMCdrList, :RequestId
2608
2658
  extend Gem::Deprecate
2609
- deprecate :IMCdrs, :none, 2024, 12
2610
- deprecate :IMCdrs=, :none, 2024, 12
2659
+ deprecate :IMCdrs, :none, 2025, 1
2660
+ deprecate :IMCdrs=, :none, 2025, 1
2611
2661
 
2612
2662
  def initialize(totalcount=nil, imcdrs=nil, imcdrlist=nil, requestid=nil)
2613
2663
  @TotalCount = totalcount
@@ -3099,8 +3149,8 @@ module TencentCloud
3099
3149
 
3100
3150
  attr_accessor :TotalCount, :TelCdrs, :TelCdrList, :RequestId
3101
3151
  extend Gem::Deprecate
3102
- deprecate :TelCdrs, :none, 2024, 12
3103
- deprecate :TelCdrs=, :none, 2024, 12
3152
+ deprecate :TelCdrs, :none, 2025, 1
3153
+ deprecate :TelCdrs=, :none, 2025, 1
3104
3154
 
3105
3155
  def initialize(totalcount=nil, telcdrs=nil, telcdrlist=nil, requestid=nil)
3106
3156
  @TotalCount = totalcount
@@ -3365,8 +3415,8 @@ module TencentCloud
3365
3415
 
3366
3416
  attr_accessor :TelCallOutCount, :TelCallInCount, :SeatUsedCount, :VoipCallInCount, :VOIPCallInCount, :AsrOfflineCount, :AsrRealtimeCount, :RequestId
3367
3417
  extend Gem::Deprecate
3368
- deprecate :VoipCallInCount, :none, 2024, 12
3369
- deprecate :VoipCallInCount=, :none, 2024, 12
3418
+ deprecate :VoipCallInCount, :none, 2025, 1
3419
+ deprecate :VoipCallInCount=, :none, 2025, 1
3370
3420
 
3371
3421
  def initialize(telcalloutcount=nil, telcallincount=nil, seatusedcount=nil, voipcallincount=nil, asrofflinecount=nil, asrrealtimecount=nil, requestid=nil)
3372
3422
  @TelCallOutCount = telcalloutcount
@@ -3414,8 +3464,8 @@ module TencentCloud
3414
3464
 
3415
3465
  attr_accessor :StartTimeStamp, :EndTimeStamp, :InstanceId, :Limit, :Offset, :SdkAppId, :PageSize, :PageNumber, :Phones, :SessionIds
3416
3466
  extend Gem::Deprecate
3417
- deprecate :InstanceId, :none, 2024, 12
3418
- deprecate :InstanceId=, :none, 2024, 12
3467
+ deprecate :InstanceId, :none, 2025, 1
3468
+ deprecate :InstanceId=, :none, 2025, 1
3419
3469
 
3420
3470
  def initialize(starttimestamp=nil, endtimestamp=nil, instanceid=nil, limit=nil, offset=nil, sdkappid=nil, pagesize=nil, pagenumber=nil, phones=nil, sessionids=nil)
3421
3471
  @StartTimeStamp = starttimestamp
@@ -3457,8 +3507,8 @@ module TencentCloud
3457
3507
 
3458
3508
  attr_accessor :TotalCount, :TelCdrs, :TelCdrList, :RequestId
3459
3509
  extend Gem::Deprecate
3460
- deprecate :TelCdrs, :none, 2024, 12
3461
- deprecate :TelCdrs=, :none, 2024, 12
3510
+ deprecate :TelCdrs, :none, 2025, 1
3511
+ deprecate :TelCdrs=, :none, 2025, 1
3462
3512
 
3463
3513
  def initialize(totalcount=nil, telcdrs=nil, telcdrlist=nil, requestid=nil)
3464
3514
  @TotalCount = totalcount
@@ -5251,8 +5301,8 @@ module TencentCloud
5251
5301
 
5252
5302
  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
5253
5303
  extend Gem::Deprecate
5254
- deprecate :Uui, :none, 2024, 12
5255
- deprecate :Uui=, :none, 2024, 12
5304
+ deprecate :Uui, :none, 2025, 1
5305
+ deprecate :Uui=, :none, 2025, 1
5256
5306
 
5257
5307
  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)
5258
5308
  @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.976
4
+ version: 3.0.977
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-01-06 00:00:00.000000000 Z
11
+ date: 2025-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common