tencentcloud-sdk-ccc 3.0.1074 → 3.0.1079

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc996309aa0e4c04ace81755c0ee186fbf652b90
4
- data.tar.gz: 88959aa7eb5bbe757b57fd749dade85f63d8ad88
3
+ metadata.gz: c070a785e8bef3b3c9dd7fcf10056e62ed10a7db
4
+ data.tar.gz: ec2ee329a7cc4a47fce9088952103b25b02ce61d
5
5
  SHA512:
6
- metadata.gz: aa60f7d976cb36cd6c923ed3a1504cf0fc71064227d4f0cadd8eb64eaed37cba1ede15548283f8faa31ae3da1409c318932379c68fb04c8de452eacb8437a0c0
7
- data.tar.gz: 8e447ac3e58da4202f589806d73d9e6a7d5183e4e5eec3bbe3bc307bf63a0073408f18f5d2bf9c0d537c688a044dab4d159b0cd3b484461be167b9204ade3e83
6
+ metadata.gz: a97be54833d54a3c9e1956d59b080dfe742dcae84045387a091e3aba3b0d17bc946f2147efea32f6bad288bb3798edd25f93a3ba8572fab7467ac9f4e4313b51
7
+ data.tar.gz: b9f04308289d9f54fa7ed971483fc47f8087b9549f99672abb9f1d5ba1678ccde68f4ba8fa9b3c1fbed1d07e44cb1d3e0334df4ad6a4248805ed6f5a9c4c9d0f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1074
1
+ 3.0.1079
@@ -77,6 +77,30 @@ module TencentCloud
77
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
78
  end
79
79
 
80
+ # 绑定号码呼入回调接口
81
+
82
+ # @param request: Request instance for BindNumberCallInInterface.
83
+ # @type request: :class:`Tencentcloud::ccc::V20200210::BindNumberCallInInterfaceRequest`
84
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::BindNumberCallInInterfaceResponse`
85
+ def BindNumberCallInInterface(request)
86
+ body = send_request('BindNumberCallInInterface', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = BindNumberCallInInterfaceResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
80
104
  # 绑定号码外呼技能组
81
105
 
82
106
  # @param request: Request instance for BindNumberCallOutSkillGroup.
@@ -355,8 +355,8 @@ module TencentCloud
355
355
 
356
356
  attr_accessor :User, :Message, :Timestamp, :Start, :End
357
357
  extend Gem::Deprecate
358
- deprecate :Timestamp, :none, 2025, 4
359
- deprecate :Timestamp=, :none, 2025, 4
358
+ deprecate :Timestamp, :none, 2025, 6
359
+ deprecate :Timestamp=, :none, 2025, 6
360
360
 
361
361
  def initialize(user=nil, message=nil, timestamp=nil, start=nil, _end=nil)
362
362
  @User = user
@@ -477,6 +477,49 @@ module TencentCloud
477
477
  end
478
478
  end
479
479
 
480
+ # BindNumberCallInInterface请求参数结构体
481
+ class BindNumberCallInInterfaceRequest < TencentCloud::Common::AbstractModel
482
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
483
+ # @type SdkAppId: Integer
484
+ # @param Number: 待绑定的号码
485
+ # @type Number: String
486
+ # @param CallInInterface: 待绑定的回调地址
487
+ # @type CallInInterface: :class:`Tencentcloud::Ccc.v20200210.models.Interface`
488
+
489
+ attr_accessor :SdkAppId, :Number, :CallInInterface
490
+
491
+ def initialize(sdkappid=nil, number=nil, callininterface=nil)
492
+ @SdkAppId = sdkappid
493
+ @Number = number
494
+ @CallInInterface = callininterface
495
+ end
496
+
497
+ def deserialize(params)
498
+ @SdkAppId = params['SdkAppId']
499
+ @Number = params['Number']
500
+ unless params['CallInInterface'].nil?
501
+ @CallInInterface = Interface.new
502
+ @CallInInterface.deserialize(params['CallInInterface'])
503
+ end
504
+ end
505
+ end
506
+
507
+ # BindNumberCallInInterface返回参数结构体
508
+ class BindNumberCallInInterfaceResponse < TencentCloud::Common::AbstractModel
509
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
510
+ # @type RequestId: String
511
+
512
+ attr_accessor :RequestId
513
+
514
+ def initialize(requestid=nil)
515
+ @RequestId = requestid
516
+ end
517
+
518
+ def deserialize(params)
519
+ @RequestId = params['RequestId']
520
+ end
521
+ end
522
+
480
523
  # BindNumberCallOutSkillGroup请求参数结构体
481
524
  class BindNumberCallOutSkillGroupRequest < TencentCloud::Common::AbstractModel
482
525
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
@@ -530,8 +573,8 @@ module TencentCloud
530
573
 
531
574
  attr_accessor :SdkAppId, :StaffEmail, :SkillGroupList, :StaffSkillGroupList
532
575
  extend Gem::Deprecate
533
- deprecate :SkillGroupList, :none, 2025, 4
534
- deprecate :SkillGroupList=, :none, 2025, 4
576
+ deprecate :SkillGroupList, :none, 2025, 6
577
+ deprecate :SkillGroupList=, :none, 2025, 6
535
578
 
536
579
  def initialize(sdkappid=nil, staffemail=nil, skillgrouplist=nil, staffskillgrouplist=nil)
537
580
  @SdkAppId = sdkappid
@@ -763,6 +806,26 @@ module TencentCloud
763
806
  end
764
807
  end
765
808
 
809
+ # 座席登录的终端信息
810
+ class ClientInfo < TencentCloud::Common::AbstractModel
811
+ # @param ClientType: 登录的端类型,"Web"表示web工作台,"WeChatMiniProgram"表示微信小程序
812
+ # @type ClientType: String
813
+ # @param IsConnected: 当前登录的端是否在前台。若登录的端是Web,则该值为true;若登录的端是WeChatMiniProgram,true表示打开着微信小程序,false表示微信小程序退到后台
814
+ # @type IsConnected: Boolean
815
+
816
+ attr_accessor :ClientType, :IsConnected
817
+
818
+ def initialize(clienttype=nil, isconnected=nil)
819
+ @ClientType = clienttype
820
+ @IsConnected = isconnected
821
+ end
822
+
823
+ def deserialize(params)
824
+ @ClientType = params['ClientType']
825
+ @IsConnected = params['IsConnected']
826
+ end
827
+ end
828
+
766
829
  # 企业资质申请信息
767
830
  class CompanyApplyInfo < TencentCloud::Common::AbstractModel
768
831
  # @param ApplicantType: 申请人身份,0-公司法定代表人,1-经办人(受法定代表人委托)
@@ -936,8 +999,8 @@ module TencentCloud
936
999
 
937
1000
  attr_accessor :SdkAppId, :AIAgentId, :Callee, :Callers, :PromptVariables, :Variables
938
1001
  extend Gem::Deprecate
939
- deprecate :PromptVariables, :none, 2025, 4
940
- deprecate :PromptVariables=, :none, 2025, 4
1002
+ deprecate :PromptVariables, :none, 2025, 6
1003
+ deprecate :PromptVariables=, :none, 2025, 6
941
1004
 
942
1005
  def initialize(sdkappid=nil, aiagentid=nil, callee=nil, callers=nil, promptvariables=nil, variables=nil)
943
1006
  @SdkAppId = sdkappid
@@ -1225,8 +1288,8 @@ module TencentCloud
1225
1288
 
1226
1289
  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
1227
1290
  extend Gem::Deprecate
1228
- deprecate :PromptVariables, :none, 2025, 4
1229
- deprecate :PromptVariables=, :none, 2025, 4
1291
+ deprecate :PromptVariables, :none, 2025, 6
1292
+ deprecate :PromptVariables=, :none, 2025, 6
1230
1293
 
1231
1294
  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)
1232
1295
  @SdkAppId = sdkappid
@@ -1636,8 +1699,8 @@ module TencentCloud
1636
1699
 
1637
1700
  attr_accessor :SdkAppId, :UserId, :Callee, :Caller, :Callers, :IsForceUseMobile, :Uui, :UUI
1638
1701
  extend Gem::Deprecate
1639
- deprecate :Uui, :none, 2025, 4
1640
- deprecate :Uui=, :none, 2025, 4
1702
+ deprecate :Uui, :none, 2025, 6
1703
+ deprecate :Uui=, :none, 2025, 6
1641
1704
 
1642
1705
  def initialize(sdkappid=nil, userid=nil, callee=nil, caller=nil, callers=nil, isforceusemobile=nil, uui=nil)
1643
1706
  @SdkAppId = sdkappid
@@ -2980,10 +3043,10 @@ module TencentCloud
2980
3043
 
2981
3044
  attr_accessor :SdkAppId, :InstanceId, :CdrId, :Limit, :Offset, :Order, :SessionId
2982
3045
  extend Gem::Deprecate
2983
- deprecate :InstanceId, :none, 2025, 4
2984
- deprecate :InstanceId=, :none, 2025, 4
2985
- deprecate :CdrId, :none, 2025, 4
2986
- deprecate :CdrId=, :none, 2025, 4
3046
+ deprecate :InstanceId, :none, 2025, 6
3047
+ deprecate :InstanceId=, :none, 2025, 6
3048
+ deprecate :CdrId, :none, 2025, 6
3049
+ deprecate :CdrId=, :none, 2025, 6
2987
3050
 
2988
3051
  def initialize(sdkappid=nil, instanceid=nil, cdrid=nil, limit=nil, offset=nil, order=nil, sessionid=nil)
2989
3052
  @SdkAppId = sdkappid
@@ -3309,8 +3372,8 @@ module TencentCloud
3309
3372
 
3310
3373
  attr_accessor :StartTimestamp, :EndTimestamp, :InstanceId, :SdkAppId, :Limit, :Offset, :Type
3311
3374
  extend Gem::Deprecate
3312
- deprecate :InstanceId, :none, 2025, 4
3313
- deprecate :InstanceId=, :none, 2025, 4
3375
+ deprecate :InstanceId, :none, 2025, 6
3376
+ deprecate :InstanceId=, :none, 2025, 6
3314
3377
 
3315
3378
  def initialize(starttimestamp=nil, endtimestamp=nil, instanceid=nil, sdkappid=nil, limit=nil, offset=nil, type=nil)
3316
3379
  @StartTimestamp = starttimestamp
@@ -3347,8 +3410,8 @@ module TencentCloud
3347
3410
 
3348
3411
  attr_accessor :TotalCount, :IMCdrs, :IMCdrList, :RequestId
3349
3412
  extend Gem::Deprecate
3350
- deprecate :IMCdrs, :none, 2025, 4
3351
- deprecate :IMCdrs=, :none, 2025, 4
3413
+ deprecate :IMCdrs, :none, 2025, 6
3414
+ deprecate :IMCdrs=, :none, 2025, 6
3352
3415
 
3353
3416
  def initialize(totalcount=nil, imcdrs=nil, imcdrlist=nil, requestid=nil)
3354
3417
  @TotalCount = totalcount
@@ -3840,8 +3903,8 @@ module TencentCloud
3840
3903
 
3841
3904
  attr_accessor :TotalCount, :TelCdrs, :TelCdrList, :RequestId
3842
3905
  extend Gem::Deprecate
3843
- deprecate :TelCdrs, :none, 2025, 4
3844
- deprecate :TelCdrs=, :none, 2025, 4
3906
+ deprecate :TelCdrs, :none, 2025, 6
3907
+ deprecate :TelCdrs=, :none, 2025, 6
3845
3908
 
3846
3909
  def initialize(totalcount=nil, telcdrs=nil, telcdrlist=nil, requestid=nil)
3847
3910
  @TotalCount = totalcount
@@ -4106,8 +4169,8 @@ module TencentCloud
4106
4169
 
4107
4170
  attr_accessor :TelCallOutCount, :TelCallInCount, :SeatUsedCount, :VoipCallInCount, :VOIPCallInCount, :AsrOfflineCount, :AsrRealtimeCount, :RequestId
4108
4171
  extend Gem::Deprecate
4109
- deprecate :VoipCallInCount, :none, 2025, 4
4110
- deprecate :VoipCallInCount=, :none, 2025, 4
4172
+ deprecate :VoipCallInCount, :none, 2025, 6
4173
+ deprecate :VoipCallInCount=, :none, 2025, 6
4111
4174
 
4112
4175
  def initialize(telcalloutcount=nil, telcallincount=nil, seatusedcount=nil, voipcallincount=nil, asrofflinecount=nil, asrrealtimecount=nil, requestid=nil)
4113
4176
  @TelCallOutCount = telcalloutcount
@@ -4155,8 +4218,8 @@ module TencentCloud
4155
4218
 
4156
4219
  attr_accessor :StartTimeStamp, :EndTimeStamp, :InstanceId, :Limit, :Offset, :SdkAppId, :PageSize, :PageNumber, :Phones, :SessionIds
4157
4220
  extend Gem::Deprecate
4158
- deprecate :InstanceId, :none, 2025, 4
4159
- deprecate :InstanceId=, :none, 2025, 4
4221
+ deprecate :InstanceId, :none, 2025, 6
4222
+ deprecate :InstanceId=, :none, 2025, 6
4160
4223
 
4161
4224
  def initialize(starttimestamp=nil, endtimestamp=nil, instanceid=nil, limit=nil, offset=nil, sdkappid=nil, pagesize=nil, pagenumber=nil, phones=nil, sessionids=nil)
4162
4225
  @StartTimeStamp = starttimestamp
@@ -4198,8 +4261,8 @@ module TencentCloud
4198
4261
 
4199
4262
  attr_accessor :TotalCount, :TelCdrs, :TelCdrList, :RequestId
4200
4263
  extend Gem::Deprecate
4201
- deprecate :TelCdrs, :none, 2025, 4
4202
- deprecate :TelCdrs=, :none, 2025, 4
4264
+ deprecate :TelCdrs, :none, 2025, 6
4265
+ deprecate :TelCdrs=, :none, 2025, 6
4203
4266
 
4204
4267
  def initialize(totalcount=nil, telcdrs=nil, telcdrlist=nil, requestid=nil)
4205
4268
  @TotalCount = totalcount
@@ -4661,6 +4724,22 @@ module TencentCloud
4661
4724
  end
4662
4725
  end
4663
4726
 
4727
+ # 回调接口
4728
+ class Interface < TencentCloud::Common::AbstractModel
4729
+ # @param URL: 接口地址
4730
+ # @type URL: String
4731
+
4732
+ attr_accessor :URL
4733
+
4734
+ def initialize(url=nil)
4735
+ @URL = url
4736
+ end
4737
+
4738
+ def deserialize(params)
4739
+ @URL = params['URL']
4740
+ end
4741
+ end
4742
+
4664
4743
  # 单条消息
4665
4744
  class Message < TencentCloud::Common::AbstractModel
4666
4745
  # @param Type: 消息类型
@@ -5691,10 +5770,10 @@ module TencentCloud
5691
5770
 
5692
5771
  attr_accessor :Name, :Mail, :Phone, :Nick, :StaffNumber, :RoleId, :RoleIdList, :RoleList, :SkillGroupList, :LastModifyTimestamp, :ExtensionNumber
5693
5772
  extend Gem::Deprecate
5694
- deprecate :RoleId, :none, 2025, 4
5695
- deprecate :RoleId=, :none, 2025, 4
5696
- deprecate :RoleIdList, :none, 2025, 4
5697
- deprecate :RoleIdList=, :none, 2025, 4
5773
+ deprecate :RoleId, :none, 2025, 6
5774
+ deprecate :RoleId=, :none, 2025, 6
5775
+ deprecate :RoleIdList, :none, 2025, 6
5776
+ deprecate :RoleIdList=, :none, 2025, 6
5698
5777
 
5699
5778
  def initialize(name=nil, mail=nil, phone=nil, nick=nil, staffnumber=nil, roleid=nil, roleidlist=nil, rolelist=nil, skillgrouplist=nil, lastmodifytimestamp=nil, extensionnumber=nil)
5700
5779
  @Name = name
@@ -5808,10 +5887,12 @@ module TencentCloud
5808
5887
  # @param LastStatusTimestamp: 最近一次状态时间戳
5809
5888
  # 注意:此字段可能返回 null,表示取不到有效值。
5810
5889
  # @type LastStatusTimestamp: Integer
5890
+ # @param ClientInfo: 客服登录的端信息
5891
+ # @type ClientInfo: Array
5811
5892
 
5812
- attr_accessor :Email, :Status, :StatusExtra, :OnlineDuration, :FreeDuration, :BusyDuration, :NotReadyDuration, :RestDuration, :AfterCallWorkDuration, :Reason, :ReserveRest, :ReserveNotReady, :UseMobileAccept, :UseMobileCallOut, :LastOnlineTimestamp, :LastStatusTimestamp
5893
+ attr_accessor :Email, :Status, :StatusExtra, :OnlineDuration, :FreeDuration, :BusyDuration, :NotReadyDuration, :RestDuration, :AfterCallWorkDuration, :Reason, :ReserveRest, :ReserveNotReady, :UseMobileAccept, :UseMobileCallOut, :LastOnlineTimestamp, :LastStatusTimestamp, :ClientInfo
5813
5894
 
5814
- def initialize(email=nil, status=nil, statusextra=nil, onlineduration=nil, freeduration=nil, busyduration=nil, notreadyduration=nil, restduration=nil, aftercallworkduration=nil, reason=nil, reserverest=nil, reservenotready=nil, usemobileaccept=nil, usemobilecallout=nil, lastonlinetimestamp=nil, laststatustimestamp=nil)
5895
+ def initialize(email=nil, status=nil, statusextra=nil, onlineduration=nil, freeduration=nil, busyduration=nil, notreadyduration=nil, restduration=nil, aftercallworkduration=nil, reason=nil, reserverest=nil, reservenotready=nil, usemobileaccept=nil, usemobilecallout=nil, lastonlinetimestamp=nil, laststatustimestamp=nil, clientinfo=nil)
5815
5896
  @Email = email
5816
5897
  @Status = status
5817
5898
  @StatusExtra = statusextra
@@ -5828,6 +5909,7 @@ module TencentCloud
5828
5909
  @UseMobileCallOut = usemobilecallout
5829
5910
  @LastOnlineTimestamp = lastonlinetimestamp
5830
5911
  @LastStatusTimestamp = laststatustimestamp
5912
+ @ClientInfo = clientinfo
5831
5913
  end
5832
5914
 
5833
5915
  def deserialize(params)
@@ -5850,6 +5932,14 @@ module TencentCloud
5850
5932
  @UseMobileCallOut = params['UseMobileCallOut']
5851
5933
  @LastOnlineTimestamp = params['LastOnlineTimestamp']
5852
5934
  @LastStatusTimestamp = params['LastStatusTimestamp']
5935
+ unless params['ClientInfo'].nil?
5936
+ @ClientInfo = []
5937
+ params['ClientInfo'].each do |i|
5938
+ clientinfo_tmp = ClientInfo.new
5939
+ clientinfo_tmp.deserialize(i)
5940
+ @ClientInfo << clientinfo_tmp
5941
+ end
5942
+ end
5853
5943
  end
5854
5944
  end
5855
5945
 
@@ -6082,8 +6172,8 @@ module TencentCloud
6082
6172
 
6083
6173
  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
6084
6174
  extend Gem::Deprecate
6085
- deprecate :Uui, :none, 2025, 4
6086
- deprecate :Uui=, :none, 2025, 4
6175
+ deprecate :Uui, :none, 2025, 6
6176
+ deprecate :Uui=, :none, 2025, 6
6087
6177
 
6088
6178
  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)
6089
6179
  @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.1074
4
+ version: 3.0.1079
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-06-04 00:00:00.000000000 Z
11
+ date: 2025-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common