tencentcloud-sdk-ccc 3.0.807 → 3.0.809
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 +25 -1
- data/lib/v20200210/models.rb +43 -1
- 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: 50e9258225c47ec2a819e5cefaf1ad552a2507fc
|
4
|
+
data.tar.gz: 1e30f28bb70a079e745909d4547f4c790952a4e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9e7a328daac578cfb6ab12a8240c485bfdedfcd1a43638d91ecf86277246455d14713036bc8071a60970c7b97b1acdd6c03c9810c13d6f305f81ccb4ed9a326
|
7
|
+
data.tar.gz: 228a110a6c441b36d79289f7ec9908ce50dc738d91e62ebb433faac69cda83b3161cff99964521d4020cf2165f0ef64fb3d0efebe4620de7e97b358b330f7bdb
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.809
|
data/lib/v20200210/client.rb
CHANGED
@@ -485,7 +485,7 @@ module TencentCloud
|
|
485
485
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
486
486
|
end
|
487
487
|
|
488
|
-
#
|
488
|
+
# 批量查询自动外呼任务
|
489
489
|
|
490
490
|
# @param request: Request instance for DescribeAutoCalloutTasks.
|
491
491
|
# @type request: :class:`Tencentcloud::ccc::V20200210::DescribeAutoCalloutTasksRequest`
|
@@ -1159,6 +1159,30 @@ module TencentCloud
|
|
1159
1159
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1160
1160
|
end
|
1161
1161
|
|
1162
|
+
# 修改座席的密码
|
1163
|
+
|
1164
|
+
# @param request: Request instance for ModifyStaffPassword.
|
1165
|
+
# @type request: :class:`Tencentcloud::ccc::V20200210::ModifyStaffPasswordRequest`
|
1166
|
+
# @rtype: :class:`Tencentcloud::ccc::V20200210::ModifyStaffPasswordResponse`
|
1167
|
+
def ModifyStaffPassword(request)
|
1168
|
+
body = send_request('ModifyStaffPassword', request.serialize)
|
1169
|
+
response = JSON.parse(body)
|
1170
|
+
if response['Response'].key?('Error') == false
|
1171
|
+
model = ModifyStaffPasswordResponse.new
|
1172
|
+
model.deserialize(response['Response'])
|
1173
|
+
model
|
1174
|
+
else
|
1175
|
+
code = response['Response']['Error']['Code']
|
1176
|
+
message = response['Response']['Error']['Message']
|
1177
|
+
reqid = response['Response']['RequestId']
|
1178
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1179
|
+
end
|
1180
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1181
|
+
raise e
|
1182
|
+
rescue StandardError => e
|
1183
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1184
|
+
end
|
1185
|
+
|
1162
1186
|
# 暂停预测式外呼任务
|
1163
1187
|
|
1164
1188
|
# @param request: Request instance for PausePredictiveDialingCampaign.
|
data/lib/v20200210/models.rb
CHANGED
@@ -1764,13 +1764,15 @@ module TencentCloud
|
|
1764
1764
|
# @type Offset: Integer
|
1765
1765
|
# @param Order: 1为从早到晚,2为从晚到早,默认为2
|
1766
1766
|
# @type Order: Integer
|
1767
|
-
# @param SessionId: 服务记录 SessionID
|
1767
|
+
# @param SessionId: 服务记录 SessionID
|
1768
1768
|
# @type SessionId: String
|
1769
1769
|
|
1770
1770
|
attr_accessor :InstanceId, :SdkAppId, :CdrId, :Limit, :Offset, :Order, :SessionId
|
1771
1771
|
extend Gem::Deprecate
|
1772
1772
|
deprecate :InstanceId, :none, 2024, 4
|
1773
1773
|
deprecate :InstanceId=, :none, 2024, 4
|
1774
|
+
deprecate :CdrId, :none, 2024, 4
|
1775
|
+
deprecate :CdrId=, :none, 2024, 4
|
1774
1776
|
|
1775
1777
|
def initialize(instanceid=nil, sdkappid=nil, cdrid=nil, limit=nil, offset=nil, order=nil, sessionid=nil)
|
1776
1778
|
@InstanceId = instanceid
|
@@ -3502,6 +3504,46 @@ module TencentCloud
|
|
3502
3504
|
end
|
3503
3505
|
end
|
3504
3506
|
|
3507
|
+
# ModifyStaffPassword请求参数结构体
|
3508
|
+
class ModifyStaffPasswordRequest < TencentCloud::Common::AbstractModel
|
3509
|
+
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
3510
|
+
# @type SdkAppId: Integer
|
3511
|
+
# @param Email: 座席邮箱
|
3512
|
+
# @type Email: String
|
3513
|
+
# @param Password: 设置的密码
|
3514
|
+
# @type Password: String
|
3515
|
+
|
3516
|
+
attr_accessor :SdkAppId, :Email, :Password
|
3517
|
+
|
3518
|
+
def initialize(sdkappid=nil, email=nil, password=nil)
|
3519
|
+
@SdkAppId = sdkappid
|
3520
|
+
@Email = email
|
3521
|
+
@Password = password
|
3522
|
+
end
|
3523
|
+
|
3524
|
+
def deserialize(params)
|
3525
|
+
@SdkAppId = params['SdkAppId']
|
3526
|
+
@Email = params['Email']
|
3527
|
+
@Password = params['Password']
|
3528
|
+
end
|
3529
|
+
end
|
3530
|
+
|
3531
|
+
# ModifyStaffPassword返回参数结构体
|
3532
|
+
class ModifyStaffPasswordResponse < TencentCloud::Common::AbstractModel
|
3533
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3534
|
+
# @type RequestId: String
|
3535
|
+
|
3536
|
+
attr_accessor :RequestId
|
3537
|
+
|
3538
|
+
def initialize(requestid=nil)
|
3539
|
+
@RequestId = requestid
|
3540
|
+
end
|
3541
|
+
|
3542
|
+
def deserialize(params)
|
3543
|
+
@RequestId = params['RequestId']
|
3544
|
+
end
|
3545
|
+
end
|
3546
|
+
|
3505
3547
|
# ModifyStaff请求参数结构体
|
3506
3548
|
class ModifyStaffRequest < TencentCloud::Common::AbstractModel
|
3507
3549
|
# @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: 3.0.
|
4
|
+
version: 3.0.809
|
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-04-
|
11
|
+
date: 2024-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|