tencentcloud-sdk-ccc 1.0.335 → 1.0.336
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200210/client.rb +24 -0
- data/lib/v20200210/models.rb +49 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4372158e60e40ce3a328c5b96b751ae4ee7fd519
|
4
|
+
data.tar.gz: 0d41246f45136f6f21910873450a84763d6161ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 765e42bc88d560d29e6630704cf247251097663f7d8e7bf8fac6b8bbec010ddd2adf411ea79e551062c736c3c5cab551c936d1be106ec8a33fa66b648fc83a8f
|
7
|
+
data.tar.gz: 7eb1b4abc52f8ec349605f6130350fa6a6d1084a6b195be2a23047c8d329b10b6ade88efbe5ecd6db0933cb53d4da04fdbcf3822157c0235fc0812b12fabf359
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.336
|
data/lib/v20200210/client.rb
CHANGED
@@ -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 CreateCCCSkillGroup.
|
83
|
+
# @type request: :class:`Tencentcloud::ccc::V20200210::CreateCCCSkillGroupRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::ccc::V20200210::CreateCCCSkillGroupResponse`
|
85
|
+
def CreateCCCSkillGroup(request)
|
86
|
+
body = send_request('CreateCCCSkillGroup', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = CreateCCCSkillGroupResponse.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 CreateCallOutSession.
|
data/lib/v20200210/models.rb
CHANGED
@@ -307,6 +307,55 @@ module TencentCloud
|
|
307
307
|
end
|
308
308
|
end
|
309
309
|
|
310
|
+
# CreateCCCSkillGroup请求参数结构体
|
311
|
+
class CreateCCCSkillGroupRequest < TencentCloud::Common::AbstractModel
|
312
|
+
# @param SdkAppId: 应用 ID(必填)
|
313
|
+
# @type SdkAppId: Integer
|
314
|
+
# @param SkillGroupName: 技能组名称
|
315
|
+
# @type SkillGroupName: String
|
316
|
+
# @param SkillGroupType: 技能组类型0-电话,1-在线,3-音频,4-视频
|
317
|
+
# @type SkillGroupType: Integer
|
318
|
+
# @param MaxConcurrency: 技能组接待人数上限(该技能组中1个座席可接待的人数上限)默认为1。1、若技能组类型为在线,则接待上限可设置为1及以上
|
319
|
+
# 2、若技能组类型为电话、音频、视频,则接待上线必须只能为1
|
320
|
+
# @type MaxConcurrency: Integer
|
321
|
+
|
322
|
+
attr_accessor :SdkAppId, :SkillGroupName, :SkillGroupType, :MaxConcurrency
|
323
|
+
|
324
|
+
def initialize(sdkappid=nil, skillgroupname=nil, skillgrouptype=nil, maxconcurrency=nil)
|
325
|
+
@SdkAppId = sdkappid
|
326
|
+
@SkillGroupName = skillgroupname
|
327
|
+
@SkillGroupType = skillgrouptype
|
328
|
+
@MaxConcurrency = maxconcurrency
|
329
|
+
end
|
330
|
+
|
331
|
+
def deserialize(params)
|
332
|
+
@SdkAppId = params['SdkAppId']
|
333
|
+
@SkillGroupName = params['SkillGroupName']
|
334
|
+
@SkillGroupType = params['SkillGroupType']
|
335
|
+
@MaxConcurrency = params['MaxConcurrency']
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
339
|
+
# CreateCCCSkillGroup返回参数结构体
|
340
|
+
class CreateCCCSkillGroupResponse < TencentCloud::Common::AbstractModel
|
341
|
+
# @param SkillGroupId: 技能组ID
|
342
|
+
# @type SkillGroupId: Integer
|
343
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
344
|
+
# @type RequestId: String
|
345
|
+
|
346
|
+
attr_accessor :SkillGroupId, :RequestId
|
347
|
+
|
348
|
+
def initialize(skillgroupid=nil, requestid=nil)
|
349
|
+
@SkillGroupId = skillgroupid
|
350
|
+
@RequestId = requestid
|
351
|
+
end
|
352
|
+
|
353
|
+
def deserialize(params)
|
354
|
+
@SkillGroupId = params['SkillGroupId']
|
355
|
+
@RequestId = params['RequestId']
|
356
|
+
end
|
357
|
+
end
|
358
|
+
|
310
359
|
# CreateCallOutSession请求参数结构体
|
311
360
|
class CreateCallOutSessionRequest < TencentCloud::Common::AbstractModel
|
312
361
|
# @param SdkAppId: 应用 ID
|
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: 1.0.
|
4
|
+
version: 1.0.336
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|