tencentcloud-sdk-ccc 3.0.439 → 3.0.440
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 +144 -0
- data/lib/v20200210/models.rb +343 -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: 13ec1841490102601538cc8de3a901d821fda634
|
4
|
+
data.tar.gz: 53f440a93a56388a761d304fd351e515de8264da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6880d69a72951797d0b56e011686dc1f16df618a3f4c033b3203cd3de4368820229588ffbc2fbe9ac8989974e6dc25bab0c4e617d86bf82c2c1451298899db7
|
7
|
+
data.tar.gz: a163941f24a9491c1a5fd43661c990add43a9ea82003a8e3cb29c103203272fefadf65095255dc2b2642b45531ba9293cebd4f0853ff947e1b3142206f220b78
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.440
|
data/lib/v20200210/client.rb
CHANGED
@@ -125,6 +125,30 @@ module TencentCloud
|
|
125
125
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
126
|
end
|
127
127
|
|
128
|
+
# 创建话机账号
|
129
|
+
|
130
|
+
# @param request: Request instance for CreateExtension.
|
131
|
+
# @type request: :class:`Tencentcloud::ccc::V20200210::CreateExtensionRequest`
|
132
|
+
# @rtype: :class:`Tencentcloud::ccc::V20200210::CreateExtensionResponse`
|
133
|
+
def CreateExtension(request)
|
134
|
+
body = send_request('CreateExtension', request.serialize)
|
135
|
+
response = JSON.parse(body)
|
136
|
+
if response['Response'].key?('Error') == false
|
137
|
+
model = CreateExtensionResponse.new
|
138
|
+
model.deserialize(response['Response'])
|
139
|
+
model
|
140
|
+
else
|
141
|
+
code = response['Response']['Error']['Code']
|
142
|
+
message = response['Response']['Error']['Message']
|
143
|
+
reqid = response['Response']['RequestId']
|
144
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
145
|
+
end
|
146
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
147
|
+
raise e
|
148
|
+
rescue StandardError => e
|
149
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
|
+
end
|
151
|
+
|
128
152
|
# 创建 SDK 登录 Token。
|
129
153
|
|
130
154
|
# @param request: Request instance for CreateSDKLoginToken.
|
@@ -197,6 +221,30 @@ module TencentCloud
|
|
197
221
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
222
|
end
|
199
223
|
|
224
|
+
# 删除话机账号
|
225
|
+
|
226
|
+
# @param request: Request instance for DeleteExtension.
|
227
|
+
# @type request: :class:`Tencentcloud::ccc::V20200210::DeleteExtensionRequest`
|
228
|
+
# @rtype: :class:`Tencentcloud::ccc::V20200210::DeleteExtensionResponse`
|
229
|
+
def DeleteExtension(request)
|
230
|
+
body = send_request('DeleteExtension', request.serialize)
|
231
|
+
response = JSON.parse(body)
|
232
|
+
if response['Response'].key?('Error') == false
|
233
|
+
model = DeleteExtensionResponse.new
|
234
|
+
model.deserialize(response['Response'])
|
235
|
+
model
|
236
|
+
else
|
237
|
+
code = response['Response']['Error']['Code']
|
238
|
+
message = response['Response']['Error']['Message']
|
239
|
+
reqid = response['Response']['RequestId']
|
240
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
241
|
+
end
|
242
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
243
|
+
raise e
|
244
|
+
rescue StandardError => e
|
245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
|
+
end
|
247
|
+
|
200
248
|
# 删除坐席信息
|
201
249
|
|
202
250
|
# @param request: Request instance for DeleteStaff.
|
@@ -341,6 +389,54 @@ module TencentCloud
|
|
341
389
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
390
|
end
|
343
391
|
|
392
|
+
# 获取话机信息
|
393
|
+
|
394
|
+
# @param request: Request instance for DescribeExtension.
|
395
|
+
# @type request: :class:`Tencentcloud::ccc::V20200210::DescribeExtensionRequest`
|
396
|
+
# @rtype: :class:`Tencentcloud::ccc::V20200210::DescribeExtensionResponse`
|
397
|
+
def DescribeExtension(request)
|
398
|
+
body = send_request('DescribeExtension', request.serialize)
|
399
|
+
response = JSON.parse(body)
|
400
|
+
if response['Response'].key?('Error') == false
|
401
|
+
model = DescribeExtensionResponse.new
|
402
|
+
model.deserialize(response['Response'])
|
403
|
+
model
|
404
|
+
else
|
405
|
+
code = response['Response']['Error']['Code']
|
406
|
+
message = response['Response']['Error']['Message']
|
407
|
+
reqid = response['Response']['RequestId']
|
408
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
409
|
+
end
|
410
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
411
|
+
raise e
|
412
|
+
rescue StandardError => e
|
413
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
|
+
end
|
415
|
+
|
416
|
+
# 查询话机列表信息
|
417
|
+
|
418
|
+
# @param request: Request instance for DescribeExtensions.
|
419
|
+
# @type request: :class:`Tencentcloud::ccc::V20200210::DescribeExtensionsRequest`
|
420
|
+
# @rtype: :class:`Tencentcloud::ccc::V20200210::DescribeExtensionsResponse`
|
421
|
+
def DescribeExtensions(request)
|
422
|
+
body = send_request('DescribeExtensions', request.serialize)
|
423
|
+
response = JSON.parse(body)
|
424
|
+
if response['Response'].key?('Error') == false
|
425
|
+
model = DescribeExtensionsResponse.new
|
426
|
+
model.deserialize(response['Response'])
|
427
|
+
model
|
428
|
+
else
|
429
|
+
code = response['Response']['Error']['Code']
|
430
|
+
message = response['Response']['Error']['Message']
|
431
|
+
reqid = response['Response']['RequestId']
|
432
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
433
|
+
end
|
434
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
435
|
+
raise e
|
436
|
+
rescue StandardError => e
|
437
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
|
+
end
|
439
|
+
|
344
440
|
# 包括全媒体和文本两种类型
|
345
441
|
|
346
442
|
# @param request: Request instance for DescribeIMCdrs.
|
@@ -581,6 +677,30 @@ module TencentCloud
|
|
581
677
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
678
|
end
|
583
679
|
|
680
|
+
# 修改话机账号(绑定技能组、绑定坐席账号)
|
681
|
+
|
682
|
+
# @param request: Request instance for ModifyExtension.
|
683
|
+
# @type request: :class:`Tencentcloud::ccc::V20200210::ModifyExtensionRequest`
|
684
|
+
# @rtype: :class:`Tencentcloud::ccc::V20200210::ModifyExtensionResponse`
|
685
|
+
def ModifyExtension(request)
|
686
|
+
body = send_request('ModifyExtension', request.serialize)
|
687
|
+
response = JSON.parse(body)
|
688
|
+
if response['Response'].key?('Error') == false
|
689
|
+
model = ModifyExtensionResponse.new
|
690
|
+
model.deserialize(response['Response'])
|
691
|
+
model
|
692
|
+
else
|
693
|
+
code = response['Response']['Error']['Code']
|
694
|
+
message = response['Response']['Error']['Message']
|
695
|
+
reqid = response['Response']['RequestId']
|
696
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
697
|
+
end
|
698
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
699
|
+
raise e
|
700
|
+
rescue StandardError => e
|
701
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
702
|
+
end
|
703
|
+
|
584
704
|
# 修改客服账号
|
585
705
|
|
586
706
|
# @param request: Request instance for ModifyStaff.
|
@@ -605,6 +725,30 @@ module TencentCloud
|
|
605
725
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
606
726
|
end
|
607
727
|
|
728
|
+
# 重置话机注册密码
|
729
|
+
|
730
|
+
# @param request: Request instance for ResetExtensionPassword.
|
731
|
+
# @type request: :class:`Tencentcloud::ccc::V20200210::ResetExtensionPasswordRequest`
|
732
|
+
# @rtype: :class:`Tencentcloud::ccc::V20200210::ResetExtensionPasswordResponse`
|
733
|
+
def ResetExtensionPassword(request)
|
734
|
+
body = send_request('ResetExtensionPassword', request.serialize)
|
735
|
+
response = JSON.parse(body)
|
736
|
+
if response['Response'].key?('Error') == false
|
737
|
+
model = ResetExtensionPasswordResponse.new
|
738
|
+
model.deserialize(response['Response'])
|
739
|
+
model
|
740
|
+
else
|
741
|
+
code = response['Response']['Error']['Code']
|
742
|
+
message = response['Response']['Error']['Message']
|
743
|
+
reqid = response['Response']['RequestId']
|
744
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
745
|
+
end
|
746
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
747
|
+
raise e
|
748
|
+
rescue StandardError => e
|
749
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
750
|
+
end
|
751
|
+
|
608
752
|
# 停止自动外呼任务
|
609
753
|
|
610
754
|
# @param request: Request instance for StopAutoCalloutTask.
|
data/lib/v20200210/models.rb
CHANGED
@@ -427,6 +427,46 @@ module TencentCloud
|
|
427
427
|
end
|
428
428
|
end
|
429
429
|
|
430
|
+
# CreateExtension请求参数结构体
|
431
|
+
class CreateExtensionRequest < TencentCloud::Common::AbstractModel
|
432
|
+
# @param SdkAppId: TCCC 实例应用 ID
|
433
|
+
# @type SdkAppId: Integer
|
434
|
+
# @param ExtensionId: 分机号
|
435
|
+
# @type ExtensionId: String
|
436
|
+
# @param ExtensionName: 分机名称
|
437
|
+
# @type ExtensionName: String
|
438
|
+
|
439
|
+
attr_accessor :SdkAppId, :ExtensionId, :ExtensionName
|
440
|
+
|
441
|
+
def initialize(sdkappid=nil, extensionid=nil, extensionname=nil)
|
442
|
+
@SdkAppId = sdkappid
|
443
|
+
@ExtensionId = extensionid
|
444
|
+
@ExtensionName = extensionname
|
445
|
+
end
|
446
|
+
|
447
|
+
def deserialize(params)
|
448
|
+
@SdkAppId = params['SdkAppId']
|
449
|
+
@ExtensionId = params['ExtensionId']
|
450
|
+
@ExtensionName = params['ExtensionName']
|
451
|
+
end
|
452
|
+
end
|
453
|
+
|
454
|
+
# CreateExtension返回参数结构体
|
455
|
+
class CreateExtensionResponse < TencentCloud::Common::AbstractModel
|
456
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
457
|
+
# @type RequestId: String
|
458
|
+
|
459
|
+
attr_accessor :RequestId
|
460
|
+
|
461
|
+
def initialize(requestid=nil)
|
462
|
+
@RequestId = requestid
|
463
|
+
end
|
464
|
+
|
465
|
+
def deserialize(params)
|
466
|
+
@RequestId = params['RequestId']
|
467
|
+
end
|
468
|
+
end
|
469
|
+
|
430
470
|
# CreateSDKLoginToken请求参数结构体
|
431
471
|
class CreateSDKLoginTokenRequest < TencentCloud::Common::AbstractModel
|
432
472
|
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
@@ -578,6 +618,42 @@ module TencentCloud
|
|
578
618
|
end
|
579
619
|
end
|
580
620
|
|
621
|
+
# DeleteExtension请求参数结构体
|
622
|
+
class DeleteExtensionRequest < TencentCloud::Common::AbstractModel
|
623
|
+
# @param SdkAppId: TCCC 实例应用 ID
|
624
|
+
# @type SdkAppId: Integer
|
625
|
+
# @param ExtensionId: 分机号
|
626
|
+
# @type ExtensionId: String
|
627
|
+
|
628
|
+
attr_accessor :SdkAppId, :ExtensionId
|
629
|
+
|
630
|
+
def initialize(sdkappid=nil, extensionid=nil)
|
631
|
+
@SdkAppId = sdkappid
|
632
|
+
@ExtensionId = extensionid
|
633
|
+
end
|
634
|
+
|
635
|
+
def deserialize(params)
|
636
|
+
@SdkAppId = params['SdkAppId']
|
637
|
+
@ExtensionId = params['ExtensionId']
|
638
|
+
end
|
639
|
+
end
|
640
|
+
|
641
|
+
# DeleteExtension返回参数结构体
|
642
|
+
class DeleteExtensionResponse < TencentCloud::Common::AbstractModel
|
643
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
644
|
+
# @type RequestId: String
|
645
|
+
|
646
|
+
attr_accessor :RequestId
|
647
|
+
|
648
|
+
def initialize(requestid=nil)
|
649
|
+
@RequestId = requestid
|
650
|
+
end
|
651
|
+
|
652
|
+
def deserialize(params)
|
653
|
+
@RequestId = params['RequestId']
|
654
|
+
end
|
655
|
+
end
|
656
|
+
|
581
657
|
# DeleteStaff请求参数结构体
|
582
658
|
class DeleteStaffRequest < TencentCloud::Common::AbstractModel
|
583
659
|
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
@@ -955,6 +1031,129 @@ module TencentCloud
|
|
955
1031
|
end
|
956
1032
|
end
|
957
1033
|
|
1034
|
+
# DescribeExtension请求参数结构体
|
1035
|
+
class DescribeExtensionRequest < TencentCloud::Common::AbstractModel
|
1036
|
+
# @param SdkAppId: TCCC 实例应用 ID
|
1037
|
+
# @type SdkAppId: Integer
|
1038
|
+
# @param ExtensionId: 分机号
|
1039
|
+
# @type ExtensionId: String
|
1040
|
+
|
1041
|
+
attr_accessor :SdkAppId, :ExtensionId
|
1042
|
+
|
1043
|
+
def initialize(sdkappid=nil, extensionid=nil)
|
1044
|
+
@SdkAppId = sdkappid
|
1045
|
+
@ExtensionId = extensionid
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
def deserialize(params)
|
1049
|
+
@SdkAppId = params['SdkAppId']
|
1050
|
+
@ExtensionId = params['ExtensionId']
|
1051
|
+
end
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
# DescribeExtension返回参数结构体
|
1055
|
+
class DescribeExtensionResponse < TencentCloud::Common::AbstractModel
|
1056
|
+
# @param ExtensionId: 分机号
|
1057
|
+
# @type ExtensionId: String
|
1058
|
+
# @param ExtensionDomain: 域名
|
1059
|
+
# @type ExtensionDomain: String
|
1060
|
+
# @param Password: 注册密码
|
1061
|
+
# @type Password: String
|
1062
|
+
# @param OutboundProxy: 代理服务器地址
|
1063
|
+
# @type OutboundProxy: String
|
1064
|
+
# @param Transport: 传输协议
|
1065
|
+
# @type Transport: String
|
1066
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1067
|
+
# @type RequestId: String
|
1068
|
+
|
1069
|
+
attr_accessor :ExtensionId, :ExtensionDomain, :Password, :OutboundProxy, :Transport, :RequestId
|
1070
|
+
|
1071
|
+
def initialize(extensionid=nil, extensiondomain=nil, password=nil, outboundproxy=nil, transport=nil, requestid=nil)
|
1072
|
+
@ExtensionId = extensionid
|
1073
|
+
@ExtensionDomain = extensiondomain
|
1074
|
+
@Password = password
|
1075
|
+
@OutboundProxy = outboundproxy
|
1076
|
+
@Transport = transport
|
1077
|
+
@RequestId = requestid
|
1078
|
+
end
|
1079
|
+
|
1080
|
+
def deserialize(params)
|
1081
|
+
@ExtensionId = params['ExtensionId']
|
1082
|
+
@ExtensionDomain = params['ExtensionDomain']
|
1083
|
+
@Password = params['Password']
|
1084
|
+
@OutboundProxy = params['OutboundProxy']
|
1085
|
+
@Transport = params['Transport']
|
1086
|
+
@RequestId = params['RequestId']
|
1087
|
+
end
|
1088
|
+
end
|
1089
|
+
|
1090
|
+
# DescribeExtensions请求参数结构体
|
1091
|
+
class DescribeExtensionsRequest < TencentCloud::Common::AbstractModel
|
1092
|
+
# @param SdkAppId: TCCC 实例应用 ID
|
1093
|
+
# @type SdkAppId: Integer
|
1094
|
+
# @param PageNumber: 分页页号(从0开始)
|
1095
|
+
# @type PageNumber: Integer
|
1096
|
+
# @param ExtensionIds: 筛选分机号列表
|
1097
|
+
# @type ExtensionIds: Array
|
1098
|
+
# @param PageSize: 分页大小
|
1099
|
+
# @type PageSize: Integer
|
1100
|
+
# @param FuzzingKeyWord: 模糊查询字段(模糊查询分机号、分机名称、坐席邮箱、坐席名称)
|
1101
|
+
# @type FuzzingKeyWord: String
|
1102
|
+
# @param IsNeedStatus: 是否需要返回话机当前状态
|
1103
|
+
# @type IsNeedStatus: Boolean
|
1104
|
+
|
1105
|
+
attr_accessor :SdkAppId, :PageNumber, :ExtensionIds, :PageSize, :FuzzingKeyWord, :IsNeedStatus
|
1106
|
+
|
1107
|
+
def initialize(sdkappid=nil, pagenumber=nil, extensionids=nil, pagesize=nil, fuzzingkeyword=nil, isneedstatus=nil)
|
1108
|
+
@SdkAppId = sdkappid
|
1109
|
+
@PageNumber = pagenumber
|
1110
|
+
@ExtensionIds = extensionids
|
1111
|
+
@PageSize = pagesize
|
1112
|
+
@FuzzingKeyWord = fuzzingkeyword
|
1113
|
+
@IsNeedStatus = isneedstatus
|
1114
|
+
end
|
1115
|
+
|
1116
|
+
def deserialize(params)
|
1117
|
+
@SdkAppId = params['SdkAppId']
|
1118
|
+
@PageNumber = params['PageNumber']
|
1119
|
+
@ExtensionIds = params['ExtensionIds']
|
1120
|
+
@PageSize = params['PageSize']
|
1121
|
+
@FuzzingKeyWord = params['FuzzingKeyWord']
|
1122
|
+
@IsNeedStatus = params['IsNeedStatus']
|
1123
|
+
end
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
# DescribeExtensions返回参数结构体
|
1127
|
+
class DescribeExtensionsResponse < TencentCloud::Common::AbstractModel
|
1128
|
+
# @param Total: 查询总数
|
1129
|
+
# @type Total: Integer
|
1130
|
+
# @param ExtensionList: 话机信息列表
|
1131
|
+
# @type ExtensionList: Array
|
1132
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1133
|
+
# @type RequestId: String
|
1134
|
+
|
1135
|
+
attr_accessor :Total, :ExtensionList, :RequestId
|
1136
|
+
|
1137
|
+
def initialize(total=nil, extensionlist=nil, requestid=nil)
|
1138
|
+
@Total = total
|
1139
|
+
@ExtensionList = extensionlist
|
1140
|
+
@RequestId = requestid
|
1141
|
+
end
|
1142
|
+
|
1143
|
+
def deserialize(params)
|
1144
|
+
@Total = params['Total']
|
1145
|
+
unless params['ExtensionList'].nil?
|
1146
|
+
@ExtensionList = []
|
1147
|
+
params['ExtensionList'].each do |i|
|
1148
|
+
extensioninfo_tmp = ExtensionInfo.new
|
1149
|
+
extensioninfo_tmp.deserialize(i)
|
1150
|
+
@ExtensionList << extensioninfo_tmp
|
1151
|
+
end
|
1152
|
+
end
|
1153
|
+
@RequestId = params['RequestId']
|
1154
|
+
end
|
1155
|
+
end
|
1156
|
+
|
958
1157
|
# DescribeIMCdrs请求参数结构体
|
959
1158
|
class DescribeIMCdrsRequest < TencentCloud::Common::AbstractModel
|
960
1159
|
# @param StartTimestamp: 起始时间
|
@@ -1567,6 +1766,62 @@ module TencentCloud
|
|
1567
1766
|
end
|
1568
1767
|
end
|
1569
1768
|
|
1769
|
+
# 话机信息
|
1770
|
+
class ExtensionInfo < TencentCloud::Common::AbstractModel
|
1771
|
+
# @param SdkAppId: 实例ID
|
1772
|
+
# @type SdkAppId: Integer
|
1773
|
+
# @param FullExtensionId: 分机全名
|
1774
|
+
# @type FullExtensionId: String
|
1775
|
+
# @param ExtensionId: 分机号
|
1776
|
+
# @type ExtensionId: String
|
1777
|
+
# @param SkillGroupId: 所属技能组列表
|
1778
|
+
# @type SkillGroupId: String
|
1779
|
+
# @param ExtensionName: 分机名称
|
1780
|
+
# @type ExtensionName: String
|
1781
|
+
# @param CreateTime: 创建时间
|
1782
|
+
# @type CreateTime: Integer
|
1783
|
+
# @param ModifyTime: 最后修改时间
|
1784
|
+
# @type ModifyTime: Integer
|
1785
|
+
# @param Status: 话机状态(0 离线、100 空闲、200忙碌)
|
1786
|
+
# @type Status: Integer
|
1787
|
+
# @param Register: 是否注册
|
1788
|
+
# @type Register: Boolean
|
1789
|
+
# @param Relation: 绑定坐席邮箱
|
1790
|
+
# @type Relation: String
|
1791
|
+
# @param RelationName: 绑定坐席名称
|
1792
|
+
# @type RelationName: String
|
1793
|
+
|
1794
|
+
attr_accessor :SdkAppId, :FullExtensionId, :ExtensionId, :SkillGroupId, :ExtensionName, :CreateTime, :ModifyTime, :Status, :Register, :Relation, :RelationName
|
1795
|
+
|
1796
|
+
def initialize(sdkappid=nil, fullextensionid=nil, extensionid=nil, skillgroupid=nil, extensionname=nil, createtime=nil, modifytime=nil, status=nil, register=nil, relation=nil, relationname=nil)
|
1797
|
+
@SdkAppId = sdkappid
|
1798
|
+
@FullExtensionId = fullextensionid
|
1799
|
+
@ExtensionId = extensionid
|
1800
|
+
@SkillGroupId = skillgroupid
|
1801
|
+
@ExtensionName = extensionname
|
1802
|
+
@CreateTime = createtime
|
1803
|
+
@ModifyTime = modifytime
|
1804
|
+
@Status = status
|
1805
|
+
@Register = register
|
1806
|
+
@Relation = relation
|
1807
|
+
@RelationName = relationname
|
1808
|
+
end
|
1809
|
+
|
1810
|
+
def deserialize(params)
|
1811
|
+
@SdkAppId = params['SdkAppId']
|
1812
|
+
@FullExtensionId = params['FullExtensionId']
|
1813
|
+
@ExtensionId = params['ExtensionId']
|
1814
|
+
@SkillGroupId = params['SkillGroupId']
|
1815
|
+
@ExtensionName = params['ExtensionName']
|
1816
|
+
@CreateTime = params['CreateTime']
|
1817
|
+
@ModifyTime = params['ModifyTime']
|
1818
|
+
@Status = params['Status']
|
1819
|
+
@Register = params['Register']
|
1820
|
+
@Relation = params['Relation']
|
1821
|
+
@RelationName = params['RelationName']
|
1822
|
+
end
|
1823
|
+
end
|
1824
|
+
|
1570
1825
|
# 文本会话服务记录信息
|
1571
1826
|
class IMCdrInfo < TencentCloud::Common::AbstractModel
|
1572
1827
|
# @param Id: 服务记录ID
|
@@ -1703,6 +1958,54 @@ module TencentCloud
|
|
1703
1958
|
end
|
1704
1959
|
end
|
1705
1960
|
|
1961
|
+
# ModifyExtension请求参数结构体
|
1962
|
+
class ModifyExtensionRequest < TencentCloud::Common::AbstractModel
|
1963
|
+
# @param SdkAppId: TCCC 实例应用 ID
|
1964
|
+
# @type SdkAppId: Integer
|
1965
|
+
# @param ExtensionId: 分机号
|
1966
|
+
# @type ExtensionId: String
|
1967
|
+
# @param ExtensionName: 分机名称
|
1968
|
+
# @type ExtensionName: String
|
1969
|
+
# @param SkillGroupIds: 所属技能组列表
|
1970
|
+
# @type SkillGroupIds: Array
|
1971
|
+
# @param Relation: 绑定坐席邮箱账号
|
1972
|
+
# @type Relation: String
|
1973
|
+
|
1974
|
+
attr_accessor :SdkAppId, :ExtensionId, :ExtensionName, :SkillGroupIds, :Relation
|
1975
|
+
|
1976
|
+
def initialize(sdkappid=nil, extensionid=nil, extensionname=nil, skillgroupids=nil, relation=nil)
|
1977
|
+
@SdkAppId = sdkappid
|
1978
|
+
@ExtensionId = extensionid
|
1979
|
+
@ExtensionName = extensionname
|
1980
|
+
@SkillGroupIds = skillgroupids
|
1981
|
+
@Relation = relation
|
1982
|
+
end
|
1983
|
+
|
1984
|
+
def deserialize(params)
|
1985
|
+
@SdkAppId = params['SdkAppId']
|
1986
|
+
@ExtensionId = params['ExtensionId']
|
1987
|
+
@ExtensionName = params['ExtensionName']
|
1988
|
+
@SkillGroupIds = params['SkillGroupIds']
|
1989
|
+
@Relation = params['Relation']
|
1990
|
+
end
|
1991
|
+
end
|
1992
|
+
|
1993
|
+
# ModifyExtension返回参数结构体
|
1994
|
+
class ModifyExtensionResponse < TencentCloud::Common::AbstractModel
|
1995
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1996
|
+
# @type RequestId: String
|
1997
|
+
|
1998
|
+
attr_accessor :RequestId
|
1999
|
+
|
2000
|
+
def initialize(requestid=nil)
|
2001
|
+
@RequestId = requestid
|
2002
|
+
end
|
2003
|
+
|
2004
|
+
def deserialize(params)
|
2005
|
+
@RequestId = params['RequestId']
|
2006
|
+
end
|
2007
|
+
end
|
2008
|
+
|
1706
2009
|
# ModifyStaff请求参数结构体
|
1707
2010
|
class ModifyStaffRequest < TencentCloud::Common::AbstractModel
|
1708
2011
|
# @param SdkAppId: 应用ID
|
@@ -1975,6 +2278,46 @@ module TencentCloud
|
|
1975
2278
|
end
|
1976
2279
|
end
|
1977
2280
|
|
2281
|
+
# ResetExtensionPassword请求参数结构体
|
2282
|
+
class ResetExtensionPasswordRequest < TencentCloud::Common::AbstractModel
|
2283
|
+
# @param SdkAppId: TCCC 实例应用 ID
|
2284
|
+
# @type SdkAppId: Integer
|
2285
|
+
# @param ExtensionId: 分机号
|
2286
|
+
# @type ExtensionId: String
|
2287
|
+
|
2288
|
+
attr_accessor :SdkAppId, :ExtensionId
|
2289
|
+
|
2290
|
+
def initialize(sdkappid=nil, extensionid=nil)
|
2291
|
+
@SdkAppId = sdkappid
|
2292
|
+
@ExtensionId = extensionid
|
2293
|
+
end
|
2294
|
+
|
2295
|
+
def deserialize(params)
|
2296
|
+
@SdkAppId = params['SdkAppId']
|
2297
|
+
@ExtensionId = params['ExtensionId']
|
2298
|
+
end
|
2299
|
+
end
|
2300
|
+
|
2301
|
+
# ResetExtensionPassword返回参数结构体
|
2302
|
+
class ResetExtensionPasswordResponse < TencentCloud::Common::AbstractModel
|
2303
|
+
# @param Password: 重置后密码
|
2304
|
+
# @type Password: String
|
2305
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2306
|
+
# @type RequestId: String
|
2307
|
+
|
2308
|
+
attr_accessor :Password, :RequestId
|
2309
|
+
|
2310
|
+
def initialize(password=nil, requestid=nil)
|
2311
|
+
@Password = password
|
2312
|
+
@RequestId = requestid
|
2313
|
+
end
|
2314
|
+
|
2315
|
+
def deserialize(params)
|
2316
|
+
@Password = params['Password']
|
2317
|
+
@RequestId = params['RequestId']
|
2318
|
+
end
|
2319
|
+
end
|
2320
|
+
|
1978
2321
|
# 应用购买信息
|
1979
2322
|
class SdkAppIdBuyInfo < TencentCloud::Common::AbstractModel
|
1980
2323
|
# @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.440
|
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-10-
|
11
|
+
date: 2022-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|