tencentcloud-sdk-ccc 3.0.807 → 3.0.808

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 56fc4187618ac344514589e4be9f03678cfb2ed1
4
- data.tar.gz: 280899147796ac465f7a506ed91ac5b387952e8b
3
+ metadata.gz: e95fbd7d815289d2af321ecad3017a4207041a84
4
+ data.tar.gz: 275d8f4859c848d597be65e546b78be4b028b47e
5
5
  SHA512:
6
- metadata.gz: 8998a5dac99f1099589f32ad49c84fa9866a26d0a3af879548abf8e5e567252d280ea6217c2a81252c2f26f2e8b4e7fddee7dab6f9485199c294e93c8218f616
7
- data.tar.gz: 812f248f6f7fc2dbe460b3276da5b28fba60db3e0455a663c35373c8fe32653fd1e2aa05960b5e73c9cf6aaf3e8f581a6ccdd29fefaa60df1ca7236b0c11f4c2
6
+ metadata.gz: 7d1968c16592961f34f483e68e56db1e3d232cd69d6a9b90f55aa77b7e5e8488da67f3761cf7870a70b04e798d04f3b0ed62843bcaf25e766152fc169d4e9052
7
+ data.tar.gz: a61251d52eaf401d9ae3bd59d136e0db2bac4c8aff7a53a35f9454d4c11b5a185f64ff60b363d2f209ac5df7d80891db17bb671647bd19930fe8ad5a2c041316
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.807
1
+ 3.0.808
@@ -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.
@@ -3502,6 +3502,46 @@ module TencentCloud
3502
3502
  end
3503
3503
  end
3504
3504
 
3505
+ # ModifyStaffPassword请求参数结构体
3506
+ class ModifyStaffPasswordRequest < TencentCloud::Common::AbstractModel
3507
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
3508
+ # @type SdkAppId: Integer
3509
+ # @param Email: 座席邮箱
3510
+ # @type Email: String
3511
+ # @param Password: 设置的密码
3512
+ # @type Password: String
3513
+
3514
+ attr_accessor :SdkAppId, :Email, :Password
3515
+
3516
+ def initialize(sdkappid=nil, email=nil, password=nil)
3517
+ @SdkAppId = sdkappid
3518
+ @Email = email
3519
+ @Password = password
3520
+ end
3521
+
3522
+ def deserialize(params)
3523
+ @SdkAppId = params['SdkAppId']
3524
+ @Email = params['Email']
3525
+ @Password = params['Password']
3526
+ end
3527
+ end
3528
+
3529
+ # ModifyStaffPassword返回参数结构体
3530
+ class ModifyStaffPasswordResponse < TencentCloud::Common::AbstractModel
3531
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3532
+ # @type RequestId: String
3533
+
3534
+ attr_accessor :RequestId
3535
+
3536
+ def initialize(requestid=nil)
3537
+ @RequestId = requestid
3538
+ end
3539
+
3540
+ def deserialize(params)
3541
+ @RequestId = params['RequestId']
3542
+ end
3543
+ end
3544
+
3505
3545
  # ModifyStaff请求参数结构体
3506
3546
  class ModifyStaffRequest < TencentCloud::Common::AbstractModel
3507
3547
  # @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.807
4
+ version: 3.0.808
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-21 00:00:00.000000000 Z
11
+ date: 2024-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common