tencentcloud-sdk-ccc 3.0.837 → 3.0.838

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: 0a9217cf46ecbf7c9df2434568118669dc2e9c93
4
- data.tar.gz: 680561530a969fe93f56edfaa7388aac1bbe8679
3
+ metadata.gz: 70840dcb41dea2061179d3d6c621d920c1b9066a
4
+ data.tar.gz: 0f47ff4a27726beebabfc9c0c358ebd35a27a190
5
5
  SHA512:
6
- metadata.gz: 4a1fee3e19e2a5e628b987fa941e790da48e70daed9b64a5e36b6f2901c84c752255f3fb6db0115d70b32496b2decde2fb0bcb64774b0be6d85268c7b8a682ba
7
- data.tar.gz: fbd595fe1c2d5cc828ea364448d440de0dc54bd28b8b6dab6845ccf8cff97bf32305e23a69c4973ebee1fc63e5044699fa8645ca23b17bff7987b904122edac8
6
+ metadata.gz: 3cce2cef3b093935c479efa25aff428477a3757e3cf2ee4b8e882763cb4b95cd01e95b2a654772f7772c72918f0f24e81499a38fa69e689c225d7e3c2eee1d66
7
+ data.tar.gz: 87cd718290c8d8464ca168ef626b4e5dba994b435a2942377fee88f64bc1674d724c88e4f881427c04ec856338dcece55795e659a37234ee36b027a930d4c408
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.837
1
+ 3.0.838
@@ -269,6 +269,30 @@ module TencentCloud
269
269
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
270
  end
271
271
 
272
+ # 创建关联 IVR 的会话,仅高级版支持,目前支持呼入和自动外呼两种 IVR 类型。收到请求后 TCCC 会先尝试呼通被叫,然后进入 IVR 流程。
273
+
274
+ # @param request: Request instance for CreateIVRSession.
275
+ # @type request: :class:`Tencentcloud::ccc::V20200210::CreateIVRSessionRequest`
276
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::CreateIVRSessionResponse`
277
+ def CreateIVRSession(request)
278
+ body = send_request('CreateIVRSession', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = CreateIVRSessionResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
272
296
  # 创建预测式外呼任务
273
297
 
274
298
  # @param request: Request instance for CreatePredictiveDialingCampaign.
@@ -235,8 +235,8 @@ module TencentCloud
235
235
 
236
236
  attr_accessor :SdkAppId, :StaffEmail, :SkillGroupList, :StaffSkillGroupList
237
237
  extend Gem::Deprecate
238
- deprecate :SkillGroupList, :none, 2024, 5
239
- deprecate :SkillGroupList=, :none, 2024, 5
238
+ deprecate :SkillGroupList, :none, 2024, 6
239
+ deprecate :SkillGroupList=, :none, 2024, 6
240
240
 
241
241
  def initialize(sdkappid=nil, staffemail=nil, skillgrouplist=nil, staffskillgrouplist=nil)
242
242
  @SdkAppId = sdkappid
@@ -851,8 +851,8 @@ module TencentCloud
851
851
 
852
852
  attr_accessor :SdkAppId, :UserId, :Callee, :Caller, :Callers, :IsForceUseMobile, :Uui, :UUI
853
853
  extend Gem::Deprecate
854
- deprecate :Uui, :none, 2024, 5
855
- deprecate :Uui=, :none, 2024, 5
854
+ deprecate :Uui, :none, 2024, 6
855
+ deprecate :Uui=, :none, 2024, 6
856
856
 
857
857
  def initialize(sdkappid=nil, userid=nil, callee=nil, caller=nil, callers=nil, isforceusemobile=nil, uui=nil)
858
858
  @SdkAppId = sdkappid
@@ -1030,6 +1030,69 @@ module TencentCloud
1030
1030
  end
1031
1031
  end
1032
1032
 
1033
+ # CreateIVRSession请求参数结构体
1034
+ class CreateIVRSessionRequest < TencentCloud::Common::AbstractModel
1035
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
1036
+ # @type SdkAppId: Integer
1037
+ # @param Callee: 被叫
1038
+ # @type Callee: String
1039
+ # @param IVRId: 指定的 IVR Id,目前支持呼入和自动外呼两种类型
1040
+ # @type IVRId: Integer
1041
+ # @param Callers: 主叫号码列表
1042
+ # @type Callers: Array
1043
+ # @param Variables: 自定义变量
1044
+ # @type Variables: Array
1045
+ # @param UUI: 用户数据
1046
+ # @type UUI: String
1047
+
1048
+ attr_accessor :SdkAppId, :Callee, :IVRId, :Callers, :Variables, :UUI
1049
+
1050
+ def initialize(sdkappid=nil, callee=nil, ivrid=nil, callers=nil, variables=nil, uui=nil)
1051
+ @SdkAppId = sdkappid
1052
+ @Callee = callee
1053
+ @IVRId = ivrid
1054
+ @Callers = callers
1055
+ @Variables = variables
1056
+ @UUI = uui
1057
+ end
1058
+
1059
+ def deserialize(params)
1060
+ @SdkAppId = params['SdkAppId']
1061
+ @Callee = params['Callee']
1062
+ @IVRId = params['IVRId']
1063
+ @Callers = params['Callers']
1064
+ unless params['Variables'].nil?
1065
+ @Variables = []
1066
+ params['Variables'].each do |i|
1067
+ variable_tmp = Variable.new
1068
+ variable_tmp.deserialize(i)
1069
+ @Variables << variable_tmp
1070
+ end
1071
+ end
1072
+ @UUI = params['UUI']
1073
+ end
1074
+ end
1075
+
1076
+ # CreateIVRSession返回参数结构体
1077
+ class CreateIVRSessionResponse < TencentCloud::Common::AbstractModel
1078
+ # @param SessionId: 新创建的会话 ID
1079
+ # @type SessionId: String
1080
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1081
+ # @type RequestId: String
1082
+
1083
+ attr_accessor :SessionId, :RequestId
1084
+
1085
+ def initialize(sessionid=nil, requestid=nil)
1086
+ @SessionId = sessionid
1087
+ @RequestId = requestid
1088
+ end
1089
+
1090
+ def deserialize(params)
1091
+ @SessionId = params['SessionId']
1092
+ @RequestId = params['RequestId']
1093
+ end
1094
+ end
1095
+
1033
1096
  # CreatePredictiveDialingCampaign请求参数结构体
1034
1097
  class CreatePredictiveDialingCampaignRequest < TencentCloud::Common::AbstractModel
1035
1098
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
@@ -1809,10 +1872,10 @@ module TencentCloud
1809
1872
 
1810
1873
  attr_accessor :InstanceId, :SdkAppId, :CdrId, :Limit, :Offset, :Order, :SessionId
1811
1874
  extend Gem::Deprecate
1812
- deprecate :InstanceId, :none, 2024, 5
1813
- deprecate :InstanceId=, :none, 2024, 5
1814
- deprecate :CdrId, :none, 2024, 5
1815
- deprecate :CdrId=, :none, 2024, 5
1875
+ deprecate :InstanceId, :none, 2024, 6
1876
+ deprecate :InstanceId=, :none, 2024, 6
1877
+ deprecate :CdrId, :none, 2024, 6
1878
+ deprecate :CdrId=, :none, 2024, 6
1816
1879
 
1817
1880
  def initialize(instanceid=nil, sdkappid=nil, cdrid=nil, limit=nil, offset=nil, order=nil, sessionid=nil)
1818
1881
  @InstanceId = instanceid
@@ -2141,8 +2204,8 @@ module TencentCloud
2141
2204
 
2142
2205
  attr_accessor :StartTimestamp, :EndTimestamp, :InstanceId, :SdkAppId, :Limit, :Offset, :Type
2143
2206
  extend Gem::Deprecate
2144
- deprecate :InstanceId, :none, 2024, 5
2145
- deprecate :InstanceId=, :none, 2024, 5
2207
+ deprecate :InstanceId, :none, 2024, 6
2208
+ deprecate :InstanceId=, :none, 2024, 6
2146
2209
 
2147
2210
  def initialize(starttimestamp=nil, endtimestamp=nil, instanceid=nil, sdkappid=nil, limit=nil, offset=nil, type=nil)
2148
2211
  @StartTimestamp = starttimestamp
@@ -2179,8 +2242,8 @@ module TencentCloud
2179
2242
 
2180
2243
  attr_accessor :TotalCount, :IMCdrs, :IMCdrList, :RequestId
2181
2244
  extend Gem::Deprecate
2182
- deprecate :IMCdrs, :none, 2024, 5
2183
- deprecate :IMCdrs=, :none, 2024, 5
2245
+ deprecate :IMCdrs, :none, 2024, 6
2246
+ deprecate :IMCdrs=, :none, 2024, 6
2184
2247
 
2185
2248
  def initialize(totalcount=nil, imcdrs=nil, imcdrlist=nil, requestid=nil)
2186
2249
  @TotalCount = totalcount
@@ -2682,8 +2745,8 @@ module TencentCloud
2682
2745
 
2683
2746
  attr_accessor :TotalCount, :TelCdrs, :TelCdrList, :RequestId
2684
2747
  extend Gem::Deprecate
2685
- deprecate :TelCdrs, :none, 2024, 5
2686
- deprecate :TelCdrs=, :none, 2024, 5
2748
+ deprecate :TelCdrs, :none, 2024, 6
2749
+ deprecate :TelCdrs=, :none, 2024, 6
2687
2750
 
2688
2751
  def initialize(totalcount=nil, telcdrs=nil, telcdrlist=nil, requestid=nil)
2689
2752
  @TotalCount = totalcount
@@ -2948,8 +3011,8 @@ module TencentCloud
2948
3011
 
2949
3012
  attr_accessor :TelCallOutCount, :TelCallInCount, :SeatUsedCount, :VoipCallInCount, :VOIPCallInCount, :AsrOfflineCount, :AsrRealtimeCount, :RequestId
2950
3013
  extend Gem::Deprecate
2951
- deprecate :VoipCallInCount, :none, 2024, 5
2952
- deprecate :VoipCallInCount=, :none, 2024, 5
3014
+ deprecate :VoipCallInCount, :none, 2024, 6
3015
+ deprecate :VoipCallInCount=, :none, 2024, 6
2953
3016
 
2954
3017
  def initialize(telcalloutcount=nil, telcallincount=nil, seatusedcount=nil, voipcallincount=nil, asrofflinecount=nil, asrrealtimecount=nil, requestid=nil)
2955
3018
  @TelCallOutCount = telcalloutcount
@@ -2997,8 +3060,8 @@ module TencentCloud
2997
3060
 
2998
3061
  attr_accessor :StartTimeStamp, :EndTimeStamp, :InstanceId, :Limit, :Offset, :SdkAppId, :PageSize, :PageNumber, :Phones, :SessionIds
2999
3062
  extend Gem::Deprecate
3000
- deprecate :InstanceId, :none, 2024, 5
3001
- deprecate :InstanceId=, :none, 2024, 5
3063
+ deprecate :InstanceId, :none, 2024, 6
3064
+ deprecate :InstanceId=, :none, 2024, 6
3002
3065
 
3003
3066
  def initialize(starttimestamp=nil, endtimestamp=nil, instanceid=nil, limit=nil, offset=nil, sdkappid=nil, pagesize=nil, pagenumber=nil, phones=nil, sessionids=nil)
3004
3067
  @StartTimeStamp = starttimestamp
@@ -3040,8 +3103,8 @@ module TencentCloud
3040
3103
 
3041
3104
  attr_accessor :TotalCount, :TelCdrs, :TelCdrList, :RequestId
3042
3105
  extend Gem::Deprecate
3043
- deprecate :TelCdrs, :none, 2024, 5
3044
- deprecate :TelCdrs=, :none, 2024, 5
3106
+ deprecate :TelCdrs, :none, 2024, 6
3107
+ deprecate :TelCdrs=, :none, 2024, 6
3045
3108
 
3046
3109
  def initialize(totalcount=nil, telcdrs=nil, telcdrlist=nil, requestid=nil)
3047
3110
  @TotalCount = totalcount
@@ -4724,8 +4787,8 @@ module TencentCloud
4724
4787
 
4725
4788
  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, :CustomRecordURL, :Remark, :QueuedSkillGroupName, :VoicemailRecordURL, :VoicemailAsrURL
4726
4789
  extend Gem::Deprecate
4727
- deprecate :Uui, :none, 2024, 5
4728
- deprecate :Uui=, :none, 2024, 5
4790
+ deprecate :Uui, :none, 2024, 6
4791
+ deprecate :Uui=, :none, 2024, 6
4729
4792
 
4730
4793
  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, customrecordurl=nil, remark=nil, queuedskillgroupname=nil, voicemailrecordurl=nil, voicemailasrurl=nil)
4731
4794
  @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.837
4
+ version: 3.0.838
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-06-04 00:00:00.000000000 Z
11
+ date: 2024-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common