tencentcloud-sdk-ccc 3.0.771 → 3.0.772

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: d2d80425e8d9683251943440ff17940cb762c043
4
- data.tar.gz: 4d2ee867c3213c2596a7e4ce0be8d737563d2740
3
+ metadata.gz: 7a1be7414cc1e49ed22500f047b9e904b1058aed
4
+ data.tar.gz: 397840c749666ab47d90c55ab888b41f737b21b7
5
5
  SHA512:
6
- metadata.gz: 11729a840f135d2b94a01e0bb9a35fba095beffcef6980bd4a2fc66df510e020104886dea1ddf94cca8950da413e034d3d87ddd38f0daf42aa127347c5983389
7
- data.tar.gz: aedf4a7428a94fd83daa9d0eecc6539ed081ffc3e7d61451dcbd8928dbe1942f386f617fbdab41839cf4ffd83a3a3e8d462ffe43c6e90c33db60875013bb8617
6
+ metadata.gz: abbf2a04522393e66bbd3d6ca63a5389c2a15b037c196786bede25156ee564b4256ab12cbdca714e8df5accb582d13487a67152617f8fc58b4474e8281146e84
7
+ data.tar.gz: 831ad9f024241b4b493e8751147047d415d77477f3ba116212af3949eccb8bd33eb587ebe82807e5b38992957d287682070f8d98e639f4b8c98ff38bc92f3875
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.771
1
+ 3.0.772
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 停止预测式外呼任务
33
+
34
+ # @param request: Request instance for AbortPredictiveDialingCampaign.
35
+ # @type request: :class:`Tencentcloud::ccc::V20200210::AbortPredictiveDialingCampaignRequest`
36
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::AbortPredictiveDialingCampaignResponse`
37
+ def AbortPredictiveDialingCampaign(request)
38
+ body = send_request('AbortPredictiveDialingCampaign', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = AbortPredictiveDialingCampaignResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
32
56
  # 绑定号码外呼技能组
33
57
 
34
58
  # @param request: Request instance for BindNumberCallOutSkillGroup.
@@ -221,6 +245,30 @@ module TencentCloud
221
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
246
  end
223
247
 
248
+ # 创建预测式外呼任务
249
+
250
+ # @param request: Request instance for CreatePredictiveDialingCampaign.
251
+ # @type request: :class:`Tencentcloud::ccc::V20200210::CreatePredictiveDialingCampaignRequest`
252
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::CreatePredictiveDialingCampaignResponse`
253
+ def CreatePredictiveDialingCampaign(request)
254
+ body = send_request('CreatePredictiveDialingCampaign', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = CreatePredictiveDialingCampaignResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
224
272
  # 创建 SDK 登录 Token。
225
273
 
226
274
  # @param request: Request instance for CreateSDKLoginToken.
@@ -317,6 +365,30 @@ module TencentCloud
317
365
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
366
  end
319
367
 
368
+ # 删除预测式外呼任务
369
+
370
+ # @param request: Request instance for DeletePredictiveDialingCampaign.
371
+ # @type request: :class:`Tencentcloud::ccc::V20200210::DeletePredictiveDialingCampaignRequest`
372
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::DeletePredictiveDialingCampaignResponse`
373
+ def DeletePredictiveDialingCampaign(request)
374
+ body = send_request('DeletePredictiveDialingCampaign', request.serialize)
375
+ response = JSON.parse(body)
376
+ if response['Response'].key?('Error') == false
377
+ model = DeletePredictiveDialingCampaignResponse.new
378
+ model.deserialize(response['Response'])
379
+ model
380
+ else
381
+ code = response['Response']['Error']['Code']
382
+ message = response['Response']['Error']['Message']
383
+ reqid = response['Response']['RequestId']
384
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
385
+ end
386
+ rescue TencentCloud::Common::TencentCloudSDKException => e
387
+ raise e
388
+ rescue StandardError => e
389
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
+ end
391
+
320
392
  # 删除坐席信息
321
393
 
322
394
  # @param request: Request instance for DeleteStaff.
@@ -655,6 +727,78 @@ module TencentCloud
655
727
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
656
728
  end
657
729
 
730
+ # 查询预测式外呼任务
731
+
732
+ # @param request: Request instance for DescribePredictiveDialingCampaign.
733
+ # @type request: :class:`Tencentcloud::ccc::V20200210::DescribePredictiveDialingCampaignRequest`
734
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::DescribePredictiveDialingCampaignResponse`
735
+ def DescribePredictiveDialingCampaign(request)
736
+ body = send_request('DescribePredictiveDialingCampaign', request.serialize)
737
+ response = JSON.parse(body)
738
+ if response['Response'].key?('Error') == false
739
+ model = DescribePredictiveDialingCampaignResponse.new
740
+ model.deserialize(response['Response'])
741
+ model
742
+ else
743
+ code = response['Response']['Error']['Code']
744
+ message = response['Response']['Error']['Message']
745
+ reqid = response['Response']['RequestId']
746
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
747
+ end
748
+ rescue TencentCloud::Common::TencentCloudSDKException => e
749
+ raise e
750
+ rescue StandardError => e
751
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
752
+ end
753
+
754
+ # 查询预测式外呼任务列表
755
+
756
+ # @param request: Request instance for DescribePredictiveDialingCampaigns.
757
+ # @type request: :class:`Tencentcloud::ccc::V20200210::DescribePredictiveDialingCampaignsRequest`
758
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::DescribePredictiveDialingCampaignsResponse`
759
+ def DescribePredictiveDialingCampaigns(request)
760
+ body = send_request('DescribePredictiveDialingCampaigns', request.serialize)
761
+ response = JSON.parse(body)
762
+ if response['Response'].key?('Error') == false
763
+ model = DescribePredictiveDialingCampaignsResponse.new
764
+ model.deserialize(response['Response'])
765
+ model
766
+ else
767
+ code = response['Response']['Error']['Code']
768
+ message = response['Response']['Error']['Message']
769
+ reqid = response['Response']['RequestId']
770
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
771
+ end
772
+ rescue TencentCloud::Common::TencentCloudSDKException => e
773
+ raise e
774
+ rescue StandardError => e
775
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
776
+ end
777
+
778
+ # 查询预测式外呼呼叫列表
779
+
780
+ # @param request: Request instance for DescribePredictiveDialingSessions.
781
+ # @type request: :class:`Tencentcloud::ccc::V20200210::DescribePredictiveDialingSessionsRequest`
782
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::DescribePredictiveDialingSessionsResponse`
783
+ def DescribePredictiveDialingSessions(request)
784
+ body = send_request('DescribePredictiveDialingSessions', request.serialize)
785
+ response = JSON.parse(body)
786
+ if response['Response'].key?('Error') == false
787
+ model = DescribePredictiveDialingSessionsResponse.new
788
+ model.deserialize(response['Response'])
789
+ model
790
+ else
791
+ code = response['Response']['Error']['Code']
792
+ message = response['Response']['Error']['Message']
793
+ reqid = response['Response']['RequestId']
794
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
795
+ end
796
+ rescue TencentCloud::Common::TencentCloudSDKException => e
797
+ raise e
798
+ rescue StandardError => e
799
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
800
+ end
801
+
658
802
  # 获取主被叫受保护的电话服务记录与录音
659
803
 
660
804
  # @param request: Request instance for DescribeProtectedTelCdr.
@@ -919,6 +1063,30 @@ module TencentCloud
919
1063
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
920
1064
  end
921
1065
 
1066
+ # 暂停预测式外呼任务
1067
+
1068
+ # @param request: Request instance for PausePredictiveDialingCampaign.
1069
+ # @type request: :class:`Tencentcloud::ccc::V20200210::PausePredictiveDialingCampaignRequest`
1070
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::PausePredictiveDialingCampaignResponse`
1071
+ def PausePredictiveDialingCampaign(request)
1072
+ body = send_request('PausePredictiveDialingCampaign', request.serialize)
1073
+ response = JSON.parse(body)
1074
+ if response['Response'].key?('Error') == false
1075
+ model = PausePredictiveDialingCampaignResponse.new
1076
+ model.deserialize(response['Response'])
1077
+ model
1078
+ else
1079
+ code = response['Response']['Error']['Code']
1080
+ message = response['Response']['Error']['Message']
1081
+ reqid = response['Response']['RequestId']
1082
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1083
+ end
1084
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1085
+ raise e
1086
+ rescue StandardError => e
1087
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1088
+ end
1089
+
922
1090
  # 重置话机注册密码
923
1091
 
924
1092
  # @param request: Request instance for ResetExtensionPassword.
@@ -943,6 +1111,30 @@ module TencentCloud
943
1111
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
944
1112
  end
945
1113
 
1114
+ # 恢复预测式外呼任务
1115
+
1116
+ # @param request: Request instance for ResumePredictiveDialingCampaign.
1117
+ # @type request: :class:`Tencentcloud::ccc::V20200210::ResumePredictiveDialingCampaignRequest`
1118
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::ResumePredictiveDialingCampaignResponse`
1119
+ def ResumePredictiveDialingCampaign(request)
1120
+ body = send_request('ResumePredictiveDialingCampaign', request.serialize)
1121
+ response = JSON.parse(body)
1122
+ if response['Response'].key?('Error') == false
1123
+ model = ResumePredictiveDialingCampaignResponse.new
1124
+ model.deserialize(response['Response'])
1125
+ model
1126
+ else
1127
+ code = response['Response']['Error']['Code']
1128
+ message = response['Response']['Error']['Message']
1129
+ reqid = response['Response']['RequestId']
1130
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1131
+ end
1132
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1133
+ raise e
1134
+ rescue StandardError => e
1135
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1136
+ end
1137
+
946
1138
  # 停止自动外呼任务
947
1139
 
948
1140
  # @param request: Request instance for StopAutoCalloutTask.
@@ -1015,6 +1207,30 @@ module TencentCloud
1015
1207
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1016
1208
  end
1017
1209
 
1210
+ # 任务未启动前,更新预测式外呼任务。
1211
+
1212
+ # @param request: Request instance for UpdatePredictiveDialingCampaign.
1213
+ # @type request: :class:`Tencentcloud::ccc::V20200210::UpdatePredictiveDialingCampaignRequest`
1214
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::UpdatePredictiveDialingCampaignResponse`
1215
+ def UpdatePredictiveDialingCampaign(request)
1216
+ body = send_request('UpdatePredictiveDialingCampaign', request.serialize)
1217
+ response = JSON.parse(body)
1218
+ if response['Response'].key?('Error') == false
1219
+ model = UpdatePredictiveDialingCampaignResponse.new
1220
+ model.deserialize(response['Response'])
1221
+ model
1222
+ else
1223
+ code = response['Response']['Error']['Code']
1224
+ message = response['Response']['Error']['Message']
1225
+ reqid = response['Response']['RequestId']
1226
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1227
+ end
1228
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1229
+ raise e
1230
+ rescue StandardError => e
1231
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1232
+ end
1233
+
1018
1234
 
1019
1235
  end
1020
1236
  end
@@ -17,6 +17,42 @@
17
17
  module TencentCloud
18
18
  module Ccc
19
19
  module V20200210
20
+ # AbortPredictiveDialingCampaign请求参数结构体
21
+ class AbortPredictiveDialingCampaignRequest < TencentCloud::Common::AbstractModel
22
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
23
+ # @type SdkAppId: Integer
24
+ # @param CampaignId: 任务 ID
25
+ # @type CampaignId: Integer
26
+
27
+ attr_accessor :SdkAppId, :CampaignId
28
+
29
+ def initialize(sdkappid=nil, campaignid=nil)
30
+ @SdkAppId = sdkappid
31
+ @CampaignId = campaignid
32
+ end
33
+
34
+ def deserialize(params)
35
+ @SdkAppId = params['SdkAppId']
36
+ @CampaignId = params['CampaignId']
37
+ end
38
+ end
39
+
40
+ # AbortPredictiveDialingCampaign返回参数结构体
41
+ class AbortPredictiveDialingCampaignResponse < TencentCloud::Common::AbstractModel
42
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
43
+ # @type RequestId: String
44
+
45
+ attr_accessor :RequestId
46
+
47
+ def initialize(requestid=nil)
48
+ @RequestId = requestid
49
+ end
50
+
51
+ def deserialize(params)
52
+ @RequestId = params['RequestId']
53
+ end
54
+ end
55
+
20
56
  # 生效运营商白名单号码
21
57
  class ActiveCarrierPrivilegeNumber < TencentCloud::Common::AbstractModel
22
58
  # @param SdkAppId: 实例Id
@@ -167,8 +203,8 @@ module TencentCloud
167
203
 
168
204
  attr_accessor :SdkAppId, :StaffEmail, :SkillGroupList, :StaffSkillGroupList
169
205
  extend Gem::Deprecate
170
- deprecate :SkillGroupList, :none, 2024, 1
171
- deprecate :SkillGroupList=, :none, 2024, 1
206
+ deprecate :SkillGroupList, :none, 2024, 3
207
+ deprecate :SkillGroupList=, :none, 2024, 3
172
208
 
173
209
  def initialize(sdkappid=nil, staffemail=nil, skillgrouplist=nil, staffskillgrouplist=nil)
174
210
  @SdkAppId = sdkappid
@@ -605,8 +641,8 @@ module TencentCloud
605
641
 
606
642
  attr_accessor :SdkAppId, :UserId, :Callee, :Caller, :Callers, :IsForceUseMobile, :Uui, :UUI
607
643
  extend Gem::Deprecate
608
- deprecate :Uui, :none, 2024, 1
609
- deprecate :Uui=, :none, 2024, 1
644
+ deprecate :Uui, :none, 2024, 3
645
+ deprecate :Uui=, :none, 2024, 3
610
646
 
611
647
  def initialize(sdkappid=nil, userid=nil, callee=nil, caller=nil, callers=nil, isforceusemobile=nil, uui=nil)
612
648
  @SdkAppId = sdkappid
@@ -745,6 +781,90 @@ module TencentCloud
745
781
  end
746
782
  end
747
783
 
784
+ # CreatePredictiveDialingCampaign请求参数结构体
785
+ class CreatePredictiveDialingCampaignRequest < TencentCloud::Common::AbstractModel
786
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
787
+ # @type SdkAppId: Integer
788
+ # @param Name: 任务名称
789
+ # @type Name: String
790
+ # @param Callees: 被叫列表,支持 E.164 或不带国家码形式的号码
791
+ # @type Callees: Array
792
+ # @param Callers: 主叫列表,使用管理端展示的号码格式
793
+ # @type Callers: Array
794
+ # @param CallOrder: 被叫呼叫顺序 0 随机 1 顺序
795
+ # @type CallOrder: Integer
796
+ # @param SkillGroupId: 使用的座席技能组 ID
797
+ # @type SkillGroupId: Integer
798
+ # @param Priority: 相同应用内多个任务运行优先级,从高到底 1 - 5
799
+ # @type Priority: Integer
800
+ # @param ExpectedAbandonRate: 预期呼损率,百分比,5 - 50
801
+ # @type ExpectedAbandonRate: Integer
802
+ # @param RetryInterval: 呼叫重试间隔时间,单位秒,60 - 86400
803
+ # @type RetryInterval: Integer
804
+ # @param StartTime: 任务启动时间,Unix 时间戳,到此时间后会自动启动任务
805
+ # @type StartTime: Integer
806
+ # @param EndTime: 任务结束时间,Unix 时间戳,到此时间后会自动终止任务
807
+ # @type EndTime: Integer
808
+ # @param IVRId: 指定的 IVR Id
809
+ # @type IVRId: Integer
810
+ # @param RetryTimes: 呼叫重试次数,0 - 2
811
+ # @type RetryTimes: Integer
812
+
813
+ attr_accessor :SdkAppId, :Name, :Callees, :Callers, :CallOrder, :SkillGroupId, :Priority, :ExpectedAbandonRate, :RetryInterval, :StartTime, :EndTime, :IVRId, :RetryTimes
814
+
815
+ def initialize(sdkappid=nil, name=nil, callees=nil, callers=nil, callorder=nil, skillgroupid=nil, priority=nil, expectedabandonrate=nil, retryinterval=nil, starttime=nil, endtime=nil, ivrid=nil, retrytimes=nil)
816
+ @SdkAppId = sdkappid
817
+ @Name = name
818
+ @Callees = callees
819
+ @Callers = callers
820
+ @CallOrder = callorder
821
+ @SkillGroupId = skillgroupid
822
+ @Priority = priority
823
+ @ExpectedAbandonRate = expectedabandonrate
824
+ @RetryInterval = retryinterval
825
+ @StartTime = starttime
826
+ @EndTime = endtime
827
+ @IVRId = ivrid
828
+ @RetryTimes = retrytimes
829
+ end
830
+
831
+ def deserialize(params)
832
+ @SdkAppId = params['SdkAppId']
833
+ @Name = params['Name']
834
+ @Callees = params['Callees']
835
+ @Callers = params['Callers']
836
+ @CallOrder = params['CallOrder']
837
+ @SkillGroupId = params['SkillGroupId']
838
+ @Priority = params['Priority']
839
+ @ExpectedAbandonRate = params['ExpectedAbandonRate']
840
+ @RetryInterval = params['RetryInterval']
841
+ @StartTime = params['StartTime']
842
+ @EndTime = params['EndTime']
843
+ @IVRId = params['IVRId']
844
+ @RetryTimes = params['RetryTimes']
845
+ end
846
+ end
847
+
848
+ # CreatePredictiveDialingCampaign返回参数结构体
849
+ class CreatePredictiveDialingCampaignResponse < TencentCloud::Common::AbstractModel
850
+ # @param CampaignId: 生成的任务 ID
851
+ # @type CampaignId: Integer
852
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
853
+ # @type RequestId: String
854
+
855
+ attr_accessor :CampaignId, :RequestId
856
+
857
+ def initialize(campaignid=nil, requestid=nil)
858
+ @CampaignId = campaignid
859
+ @RequestId = requestid
860
+ end
861
+
862
+ def deserialize(params)
863
+ @CampaignId = params['CampaignId']
864
+ @RequestId = params['RequestId']
865
+ end
866
+ end
867
+
748
868
  # CreateSDKLoginToken请求参数结构体
749
869
  class CreateSDKLoginTokenRequest < TencentCloud::Common::AbstractModel
750
870
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
@@ -940,6 +1060,42 @@ module TencentCloud
940
1060
  end
941
1061
  end
942
1062
 
1063
+ # DeletePredictiveDialingCampaign请求参数结构体
1064
+ class DeletePredictiveDialingCampaignRequest < TencentCloud::Common::AbstractModel
1065
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
1066
+ # @type SdkAppId: Integer
1067
+ # @param CampaignId: 任务 ID
1068
+ # @type CampaignId: Integer
1069
+
1070
+ attr_accessor :SdkAppId, :CampaignId
1071
+
1072
+ def initialize(sdkappid=nil, campaignid=nil)
1073
+ @SdkAppId = sdkappid
1074
+ @CampaignId = campaignid
1075
+ end
1076
+
1077
+ def deserialize(params)
1078
+ @SdkAppId = params['SdkAppId']
1079
+ @CampaignId = params['CampaignId']
1080
+ end
1081
+ end
1082
+
1083
+ # DeletePredictiveDialingCampaign返回参数结构体
1084
+ class DeletePredictiveDialingCampaignResponse < TencentCloud::Common::AbstractModel
1085
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1086
+ # @type RequestId: String
1087
+
1088
+ attr_accessor :RequestId
1089
+
1090
+ def initialize(requestid=nil)
1091
+ @RequestId = requestid
1092
+ end
1093
+
1094
+ def deserialize(params)
1095
+ @RequestId = params['RequestId']
1096
+ end
1097
+ end
1098
+
943
1099
  # DeleteStaff请求参数结构体
944
1100
  class DeleteStaffRequest < TencentCloud::Common::AbstractModel
945
1101
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
@@ -1404,8 +1560,8 @@ module TencentCloud
1404
1560
 
1405
1561
  attr_accessor :InstanceId, :SdkAppId, :CdrId, :Limit, :Offset, :Order, :SessionId
1406
1562
  extend Gem::Deprecate
1407
- deprecate :InstanceId, :none, 2024, 1
1408
- deprecate :InstanceId=, :none, 2024, 1
1563
+ deprecate :InstanceId, :none, 2024, 3
1564
+ deprecate :InstanceId=, :none, 2024, 3
1409
1565
 
1410
1566
  def initialize(instanceid=nil, sdkappid=nil, cdrid=nil, limit=nil, offset=nil, order=nil, sessionid=nil)
1411
1567
  @InstanceId = instanceid
@@ -1670,8 +1826,8 @@ module TencentCloud
1670
1826
 
1671
1827
  attr_accessor :StartTimestamp, :EndTimestamp, :InstanceId, :SdkAppId, :Limit, :Offset, :Type
1672
1828
  extend Gem::Deprecate
1673
- deprecate :InstanceId, :none, 2024, 1
1674
- deprecate :InstanceId=, :none, 2024, 1
1829
+ deprecate :InstanceId, :none, 2024, 3
1830
+ deprecate :InstanceId=, :none, 2024, 3
1675
1831
 
1676
1832
  def initialize(starttimestamp=nil, endtimestamp=nil, instanceid=nil, sdkappid=nil, limit=nil, offset=nil, type=nil)
1677
1833
  @StartTimestamp = starttimestamp
@@ -1708,8 +1864,8 @@ module TencentCloud
1708
1864
 
1709
1865
  attr_accessor :TotalCount, :IMCdrs, :IMCdrList, :RequestId
1710
1866
  extend Gem::Deprecate
1711
- deprecate :IMCdrs, :none, 2024, 1
1712
- deprecate :IMCdrs=, :none, 2024, 1
1867
+ deprecate :IMCdrs, :none, 2024, 3
1868
+ deprecate :IMCdrs=, :none, 2024, 3
1713
1869
 
1714
1870
  def initialize(totalcount=nil, imcdrs=nil, imcdrlist=nil, requestid=nil)
1715
1871
  @TotalCount = totalcount
@@ -1850,6 +2006,255 @@ module TencentCloud
1850
2006
  end
1851
2007
  end
1852
2008
 
2009
+ # DescribePredictiveDialingCampaign请求参数结构体
2010
+ class DescribePredictiveDialingCampaignRequest < TencentCloud::Common::AbstractModel
2011
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
2012
+ # @type SdkAppId: Integer
2013
+ # @param CampaignId: 任务 ID
2014
+ # @type CampaignId: Integer
2015
+
2016
+ attr_accessor :SdkAppId, :CampaignId
2017
+
2018
+ def initialize(sdkappid=nil, campaignid=nil)
2019
+ @SdkAppId = sdkappid
2020
+ @CampaignId = campaignid
2021
+ end
2022
+
2023
+ def deserialize(params)
2024
+ @SdkAppId = params['SdkAppId']
2025
+ @CampaignId = params['CampaignId']
2026
+ end
2027
+ end
2028
+
2029
+ # DescribePredictiveDialingCampaign返回参数结构体
2030
+ class DescribePredictiveDialingCampaignResponse < TencentCloud::Common::AbstractModel
2031
+ # @param CampaignId: 任务 ID
2032
+ # @type CampaignId: Integer
2033
+ # @param Name: 任务名称
2034
+ # @type Name: String
2035
+ # @param CallOrder: 被叫呼叫顺序 0 随机 1 顺序
2036
+ # @type CallOrder: Integer
2037
+ # @param SkillGroupId: 使用的座席技能组 ID
2038
+ # @type SkillGroupId: Integer
2039
+ # @param IVRId: 指定的 IVR ID
2040
+ # @type IVRId: Integer
2041
+ # @param Priority: 相同应用内多个任务运行优先级,从高到底 1 - 5
2042
+ # @type Priority: Integer
2043
+ # @param ExpectedAbandonRate: 预期呼损率,百分比,5 - 50
2044
+ # @type ExpectedAbandonRate: Integer
2045
+ # @param RetryTimes: 呼叫重试次数,0 - 2
2046
+ # @type RetryTimes: Integer
2047
+ # @param RetryInterval: 呼叫重试间隔时间,单位秒,60 - 86400
2048
+ # @type RetryInterval: Integer
2049
+ # @param StartTime: 任务启动时间,Unix 时间戳,到此时间后会自动启动任务
2050
+ # @type StartTime: Integer
2051
+ # @param EndTime: 任务结束时间,Unix 时间戳,到此时间后会自动终止任务
2052
+ # @type EndTime: Integer
2053
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2054
+ # @type RequestId: String
2055
+
2056
+ attr_accessor :CampaignId, :Name, :CallOrder, :SkillGroupId, :IVRId, :Priority, :ExpectedAbandonRate, :RetryTimes, :RetryInterval, :StartTime, :EndTime, :RequestId
2057
+
2058
+ def initialize(campaignid=nil, name=nil, callorder=nil, skillgroupid=nil, ivrid=nil, priority=nil, expectedabandonrate=nil, retrytimes=nil, retryinterval=nil, starttime=nil, endtime=nil, requestid=nil)
2059
+ @CampaignId = campaignid
2060
+ @Name = name
2061
+ @CallOrder = callorder
2062
+ @SkillGroupId = skillgroupid
2063
+ @IVRId = ivrid
2064
+ @Priority = priority
2065
+ @ExpectedAbandonRate = expectedabandonrate
2066
+ @RetryTimes = retrytimes
2067
+ @RetryInterval = retryinterval
2068
+ @StartTime = starttime
2069
+ @EndTime = endtime
2070
+ @RequestId = requestid
2071
+ end
2072
+
2073
+ def deserialize(params)
2074
+ @CampaignId = params['CampaignId']
2075
+ @Name = params['Name']
2076
+ @CallOrder = params['CallOrder']
2077
+ @SkillGroupId = params['SkillGroupId']
2078
+ @IVRId = params['IVRId']
2079
+ @Priority = params['Priority']
2080
+ @ExpectedAbandonRate = params['ExpectedAbandonRate']
2081
+ @RetryTimes = params['RetryTimes']
2082
+ @RetryInterval = params['RetryInterval']
2083
+ @StartTime = params['StartTime']
2084
+ @EndTime = params['EndTime']
2085
+ @RequestId = params['RequestId']
2086
+ end
2087
+ end
2088
+
2089
+ # 查询预测式外呼任务列表元素
2090
+ class DescribePredictiveDialingCampaignsElement < TencentCloud::Common::AbstractModel
2091
+ # @param CampaignId: 任务 ID
2092
+ # 注意:此字段可能返回 null,表示取不到有效值。
2093
+ # @type CampaignId: Integer
2094
+ # @param Name: 任务名称
2095
+ # 注意:此字段可能返回 null,表示取不到有效值。
2096
+ # @type Name: String
2097
+ # @param Status: 任务状态 0 待开始 1 进行中 2 已暂停 3 已终止 4 已完成
2098
+ # 注意:此字段可能返回 null,表示取不到有效值。
2099
+ # @type Status: Integer
2100
+ # @param StatusReason: 任务状态原因 0 正常 1 手动结束 2 超时结束
2101
+ # 注意:此字段可能返回 null,表示取不到有效值。
2102
+ # @type StatusReason: Integer
2103
+ # @param CalleeCount: 被叫号码个数
2104
+ # 注意:此字段可能返回 null,表示取不到有效值。
2105
+ # @type CalleeCount: Integer
2106
+ # @param FinishedCalleeCount: 已完成的被叫个数
2107
+ # 注意:此字段可能返回 null,表示取不到有效值。
2108
+ # @type FinishedCalleeCount: Integer
2109
+ # @param Priority: 相同应用内多个任务运行优先级,从高到底 1 - 5
2110
+ # 注意:此字段可能返回 null,表示取不到有效值。
2111
+ # @type Priority: Integer
2112
+ # @param SkillGroupId: 使用的座席技能组 ID
2113
+ # 注意:此字段可能返回 null,表示取不到有效值。
2114
+ # @type SkillGroupId: Integer
2115
+
2116
+ attr_accessor :CampaignId, :Name, :Status, :StatusReason, :CalleeCount, :FinishedCalleeCount, :Priority, :SkillGroupId
2117
+
2118
+ def initialize(campaignid=nil, name=nil, status=nil, statusreason=nil, calleecount=nil, finishedcalleecount=nil, priority=nil, skillgroupid=nil)
2119
+ @CampaignId = campaignid
2120
+ @Name = name
2121
+ @Status = status
2122
+ @StatusReason = statusreason
2123
+ @CalleeCount = calleecount
2124
+ @FinishedCalleeCount = finishedcalleecount
2125
+ @Priority = priority
2126
+ @SkillGroupId = skillgroupid
2127
+ end
2128
+
2129
+ def deserialize(params)
2130
+ @CampaignId = params['CampaignId']
2131
+ @Name = params['Name']
2132
+ @Status = params['Status']
2133
+ @StatusReason = params['StatusReason']
2134
+ @CalleeCount = params['CalleeCount']
2135
+ @FinishedCalleeCount = params['FinishedCalleeCount']
2136
+ @Priority = params['Priority']
2137
+ @SkillGroupId = params['SkillGroupId']
2138
+ end
2139
+ end
2140
+
2141
+ # DescribePredictiveDialingCampaigns请求参数结构体
2142
+ class DescribePredictiveDialingCampaignsRequest < TencentCloud::Common::AbstractModel
2143
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
2144
+ # @type SdkAppId: Integer
2145
+ # @param PageSize: 分页尺寸,最大为 100
2146
+ # @type PageSize: Integer
2147
+ # @param PageNumber: 分页页码,从 0 开始
2148
+ # @type PageNumber: Integer
2149
+ # @param Name: 查询任务列表名称关键字
2150
+ # @type Name: String
2151
+ # @param SkillGroupId: 查询任务列表技能组 ID
2152
+ # @type SkillGroupId: Integer
2153
+
2154
+ attr_accessor :SdkAppId, :PageSize, :PageNumber, :Name, :SkillGroupId
2155
+
2156
+ def initialize(sdkappid=nil, pagesize=nil, pagenumber=nil, name=nil, skillgroupid=nil)
2157
+ @SdkAppId = sdkappid
2158
+ @PageSize = pagesize
2159
+ @PageNumber = pagenumber
2160
+ @Name = name
2161
+ @SkillGroupId = skillgroupid
2162
+ end
2163
+
2164
+ def deserialize(params)
2165
+ @SdkAppId = params['SdkAppId']
2166
+ @PageSize = params['PageSize']
2167
+ @PageNumber = params['PageNumber']
2168
+ @Name = params['Name']
2169
+ @SkillGroupId = params['SkillGroupId']
2170
+ end
2171
+ end
2172
+
2173
+ # DescribePredictiveDialingCampaigns返回参数结构体
2174
+ class DescribePredictiveDialingCampaignsResponse < TencentCloud::Common::AbstractModel
2175
+ # @param TotalCount: 数据总量
2176
+ # 注意:此字段可能返回 null,表示取不到有效值。
2177
+ # @type TotalCount: Integer
2178
+ # @param CampaignList: 数据
2179
+ # 注意:此字段可能返回 null,表示取不到有效值。
2180
+ # @type CampaignList: Array
2181
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2182
+ # @type RequestId: String
2183
+
2184
+ attr_accessor :TotalCount, :CampaignList, :RequestId
2185
+
2186
+ def initialize(totalcount=nil, campaignlist=nil, requestid=nil)
2187
+ @TotalCount = totalcount
2188
+ @CampaignList = campaignlist
2189
+ @RequestId = requestid
2190
+ end
2191
+
2192
+ def deserialize(params)
2193
+ @TotalCount = params['TotalCount']
2194
+ unless params['CampaignList'].nil?
2195
+ @CampaignList = []
2196
+ params['CampaignList'].each do |i|
2197
+ describepredictivedialingcampaignselement_tmp = DescribePredictiveDialingCampaignsElement.new
2198
+ describepredictivedialingcampaignselement_tmp.deserialize(i)
2199
+ @CampaignList << describepredictivedialingcampaignselement_tmp
2200
+ end
2201
+ end
2202
+ @RequestId = params['RequestId']
2203
+ end
2204
+ end
2205
+
2206
+ # DescribePredictiveDialingSessions请求参数结构体
2207
+ class DescribePredictiveDialingSessionsRequest < TencentCloud::Common::AbstractModel
2208
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
2209
+ # @type SdkAppId: Integer
2210
+ # @param CampaignId: 生成的任务 ID
2211
+ # @type CampaignId: Integer
2212
+ # @param PageSize: 分页尺寸,最大为 1000
2213
+ # @type PageSize: Integer
2214
+ # @param PageNumber: 分页页码,从 0 开始
2215
+ # @type PageNumber: Integer
2216
+
2217
+ attr_accessor :SdkAppId, :CampaignId, :PageSize, :PageNumber
2218
+
2219
+ def initialize(sdkappid=nil, campaignid=nil, pagesize=nil, pagenumber=nil)
2220
+ @SdkAppId = sdkappid
2221
+ @CampaignId = campaignid
2222
+ @PageSize = pagesize
2223
+ @PageNumber = pagenumber
2224
+ end
2225
+
2226
+ def deserialize(params)
2227
+ @SdkAppId = params['SdkAppId']
2228
+ @CampaignId = params['CampaignId']
2229
+ @PageSize = params['PageSize']
2230
+ @PageNumber = params['PageNumber']
2231
+ end
2232
+ end
2233
+
2234
+ # DescribePredictiveDialingSessions返回参数结构体
2235
+ class DescribePredictiveDialingSessionsResponse < TencentCloud::Common::AbstractModel
2236
+ # @param TotalCount: 数据总量
2237
+ # @type TotalCount: Integer
2238
+ # @param SessionList: 呼叫的 session id 列表,通过 https://cloud.tencent.com/document/product/679/47714 可以批量获取呼叫详细话单
2239
+ # @type SessionList: Array
2240
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2241
+ # @type RequestId: String
2242
+
2243
+ attr_accessor :TotalCount, :SessionList, :RequestId
2244
+
2245
+ def initialize(totalcount=nil, sessionlist=nil, requestid=nil)
2246
+ @TotalCount = totalcount
2247
+ @SessionList = sessionlist
2248
+ @RequestId = requestid
2249
+ end
2250
+
2251
+ def deserialize(params)
2252
+ @TotalCount = params['TotalCount']
2253
+ @SessionList = params['SessionList']
2254
+ @RequestId = params['RequestId']
2255
+ end
2256
+ end
2257
+
1853
2258
  # DescribeProtectedTelCdr请求参数结构体
1854
2259
  class DescribeProtectedTelCdrRequest < TencentCloud::Common::AbstractModel
1855
2260
  # @param StartTimeStamp: 起始时间戳,Unix 秒级时间戳
@@ -1895,8 +2300,8 @@ module TencentCloud
1895
2300
 
1896
2301
  attr_accessor :TotalCount, :TelCdrs, :TelCdrList, :RequestId
1897
2302
  extend Gem::Deprecate
1898
- deprecate :TelCdrs, :none, 2024, 1
1899
- deprecate :TelCdrs=, :none, 2024, 1
2303
+ deprecate :TelCdrs, :none, 2024, 3
2304
+ deprecate :TelCdrs=, :none, 2024, 3
1900
2305
 
1901
2306
  def initialize(totalcount=nil, telcdrs=nil, telcdrlist=nil, requestid=nil)
1902
2307
  @TotalCount = totalcount
@@ -2161,8 +2566,8 @@ module TencentCloud
2161
2566
 
2162
2567
  attr_accessor :TelCallOutCount, :TelCallInCount, :SeatUsedCount, :VoipCallInCount, :VOIPCallInCount, :AsrOfflineCount, :AsrRealtimeCount, :RequestId
2163
2568
  extend Gem::Deprecate
2164
- deprecate :VoipCallInCount, :none, 2024, 1
2165
- deprecate :VoipCallInCount=, :none, 2024, 1
2569
+ deprecate :VoipCallInCount, :none, 2024, 3
2570
+ deprecate :VoipCallInCount=, :none, 2024, 3
2166
2571
 
2167
2572
  def initialize(telcalloutcount=nil, telcallincount=nil, seatusedcount=nil, voipcallincount=nil, asrofflinecount=nil, asrrealtimecount=nil, requestid=nil)
2168
2573
  @TelCallOutCount = telcalloutcount
@@ -2210,8 +2615,8 @@ module TencentCloud
2210
2615
 
2211
2616
  attr_accessor :StartTimeStamp, :EndTimeStamp, :InstanceId, :Limit, :Offset, :SdkAppId, :PageSize, :PageNumber, :Phones, :SessionIds
2212
2617
  extend Gem::Deprecate
2213
- deprecate :InstanceId, :none, 2024, 1
2214
- deprecate :InstanceId=, :none, 2024, 1
2618
+ deprecate :InstanceId, :none, 2024, 3
2619
+ deprecate :InstanceId=, :none, 2024, 3
2215
2620
 
2216
2621
  def initialize(starttimestamp=nil, endtimestamp=nil, instanceid=nil, limit=nil, offset=nil, sdkappid=nil, pagesize=nil, pagenumber=nil, phones=nil, sessionids=nil)
2217
2622
  @StartTimeStamp = starttimestamp
@@ -2253,8 +2658,8 @@ module TencentCloud
2253
2658
 
2254
2659
  attr_accessor :TotalCount, :TelCdrs, :TelCdrList, :RequestId
2255
2660
  extend Gem::Deprecate
2256
- deprecate :TelCdrs, :none, 2024, 1
2257
- deprecate :TelCdrs=, :none, 2024, 1
2661
+ deprecate :TelCdrs, :none, 2024, 3
2662
+ deprecate :TelCdrs=, :none, 2024, 3
2258
2663
 
2259
2664
  def initialize(totalcount=nil, telcdrs=nil, telcdrlist=nil, requestid=nil)
2260
2665
  @TotalCount = totalcount
@@ -2978,6 +3383,42 @@ module TencentCloud
2978
3383
  end
2979
3384
  end
2980
3385
 
3386
+ # PausePredictiveDialingCampaign请求参数结构体
3387
+ class PausePredictiveDialingCampaignRequest < TencentCloud::Common::AbstractModel
3388
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
3389
+ # @type SdkAppId: Integer
3390
+ # @param CampaignId: 任务 ID
3391
+ # @type CampaignId: Integer
3392
+
3393
+ attr_accessor :SdkAppId, :CampaignId
3394
+
3395
+ def initialize(sdkappid=nil, campaignid=nil)
3396
+ @SdkAppId = sdkappid
3397
+ @CampaignId = campaignid
3398
+ end
3399
+
3400
+ def deserialize(params)
3401
+ @SdkAppId = params['SdkAppId']
3402
+ @CampaignId = params['CampaignId']
3403
+ end
3404
+ end
3405
+
3406
+ # PausePredictiveDialingCampaign返回参数结构体
3407
+ class PausePredictiveDialingCampaignResponse < TencentCloud::Common::AbstractModel
3408
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3409
+ # @type RequestId: String
3410
+
3411
+ attr_accessor :RequestId
3412
+
3413
+ def initialize(requestid=nil)
3414
+ @RequestId = requestid
3415
+ end
3416
+
3417
+ def deserialize(params)
3418
+ @RequestId = params['RequestId']
3419
+ end
3420
+ end
3421
+
2981
3422
  # 号码购买信息
2982
3423
  class PhoneNumBuyInfo < TencentCloud::Common::AbstractModel
2983
3424
  # @param PhoneNum: 电话号码
@@ -3054,6 +3495,42 @@ module TencentCloud
3054
3495
  end
3055
3496
  end
3056
3497
 
3498
+ # ResumePredictiveDialingCampaign请求参数结构体
3499
+ class ResumePredictiveDialingCampaignRequest < TencentCloud::Common::AbstractModel
3500
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
3501
+ # @type SdkAppId: Integer
3502
+ # @param CampaignId: 任务 ID
3503
+ # @type CampaignId: Integer
3504
+
3505
+ attr_accessor :SdkAppId, :CampaignId
3506
+
3507
+ def initialize(sdkappid=nil, campaignid=nil)
3508
+ @SdkAppId = sdkappid
3509
+ @CampaignId = campaignid
3510
+ end
3511
+
3512
+ def deserialize(params)
3513
+ @SdkAppId = params['SdkAppId']
3514
+ @CampaignId = params['CampaignId']
3515
+ end
3516
+ end
3517
+
3518
+ # ResumePredictiveDialingCampaign返回参数结构体
3519
+ class ResumePredictiveDialingCampaignResponse < TencentCloud::Common::AbstractModel
3520
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3521
+ # @type RequestId: String
3522
+
3523
+ attr_accessor :RequestId
3524
+
3525
+ def initialize(requestid=nil)
3526
+ @RequestId = requestid
3527
+ end
3528
+
3529
+ def deserialize(params)
3530
+ @RequestId = params['RequestId']
3531
+ end
3532
+ end
3533
+
3057
3534
  # 应用购买信息
3058
3535
  class SdkAppIdBuyInfo < TencentCloud::Common::AbstractModel
3059
3536
  # @param SdkAppId: 应用ID
@@ -3765,8 +4242,8 @@ module TencentCloud
3765
4242
 
3766
4243
  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
3767
4244
  extend Gem::Deprecate
3768
- deprecate :Uui, :none, 2024, 1
3769
- deprecate :Uui=, :none, 2024, 1
4245
+ deprecate :Uui, :none, 2024, 3
4246
+ deprecate :Uui=, :none, 2024, 3
3770
4247
 
3771
4248
  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)
3772
4249
  @Caller = caller
@@ -3949,6 +4426,90 @@ module TencentCloud
3949
4426
  end
3950
4427
  end
3951
4428
 
4429
+ # UpdatePredictiveDialingCampaign请求参数结构体
4430
+ class UpdatePredictiveDialingCampaignRequest < TencentCloud::Common::AbstractModel
4431
+ # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
4432
+ # @type SdkAppId: Integer
4433
+ # @param CampaignId: 生成的任务 ID
4434
+ # @type CampaignId: Integer
4435
+ # @param Name: 任务名称
4436
+ # @type Name: String
4437
+ # @param Callees: 被叫列表,支持 E.164 或不带国家码形式的号码
4438
+ # @type Callees: Array
4439
+ # @param Callers: 主叫列表,使用管理端展示的号码格式
4440
+ # @type Callers: Array
4441
+ # @param CallOrder: 被叫呼叫顺序 0 随机 1 顺序
4442
+ # @type CallOrder: Integer
4443
+ # @param SkillGroupId: 使用的座席技能组 ID
4444
+ # @type SkillGroupId: Integer
4445
+ # @param Priority: 相同应用内多个任务运行优先级,从高到底 1 - 5
4446
+ # @type Priority: Integer
4447
+ # @param ExpectedAbandonRate: 预期呼损率,百分比,5 - 50
4448
+ # @type ExpectedAbandonRate: Integer
4449
+ # @param RetryInterval: 呼叫重试间隔时间,单位秒,60 - 86400
4450
+ # @type RetryInterval: Integer
4451
+ # @param StartTime: 任务启动时间,Unix 时间戳,到此时间后会自动启动任务
4452
+ # @type StartTime: Integer
4453
+ # @param EndTime: 任务结束时间,Unix 时间戳,到此时间后会自动终止任务
4454
+ # @type EndTime: Integer
4455
+ # @param IVRId: 指定的 IVR ID
4456
+ # @type IVRId: Integer
4457
+ # @param RetryTimes: 呼叫重试次数,0 - 2
4458
+ # @type RetryTimes: Integer
4459
+
4460
+ attr_accessor :SdkAppId, :CampaignId, :Name, :Callees, :Callers, :CallOrder, :SkillGroupId, :Priority, :ExpectedAbandonRate, :RetryInterval, :StartTime, :EndTime, :IVRId, :RetryTimes
4461
+
4462
+ def initialize(sdkappid=nil, campaignid=nil, name=nil, callees=nil, callers=nil, callorder=nil, skillgroupid=nil, priority=nil, expectedabandonrate=nil, retryinterval=nil, starttime=nil, endtime=nil, ivrid=nil, retrytimes=nil)
4463
+ @SdkAppId = sdkappid
4464
+ @CampaignId = campaignid
4465
+ @Name = name
4466
+ @Callees = callees
4467
+ @Callers = callers
4468
+ @CallOrder = callorder
4469
+ @SkillGroupId = skillgroupid
4470
+ @Priority = priority
4471
+ @ExpectedAbandonRate = expectedabandonrate
4472
+ @RetryInterval = retryinterval
4473
+ @StartTime = starttime
4474
+ @EndTime = endtime
4475
+ @IVRId = ivrid
4476
+ @RetryTimes = retrytimes
4477
+ end
4478
+
4479
+ def deserialize(params)
4480
+ @SdkAppId = params['SdkAppId']
4481
+ @CampaignId = params['CampaignId']
4482
+ @Name = params['Name']
4483
+ @Callees = params['Callees']
4484
+ @Callers = params['Callers']
4485
+ @CallOrder = params['CallOrder']
4486
+ @SkillGroupId = params['SkillGroupId']
4487
+ @Priority = params['Priority']
4488
+ @ExpectedAbandonRate = params['ExpectedAbandonRate']
4489
+ @RetryInterval = params['RetryInterval']
4490
+ @StartTime = params['StartTime']
4491
+ @EndTime = params['EndTime']
4492
+ @IVRId = params['IVRId']
4493
+ @RetryTimes = params['RetryTimes']
4494
+ end
4495
+ end
4496
+
4497
+ # UpdatePredictiveDialingCampaign返回参数结构体
4498
+ class UpdatePredictiveDialingCampaignResponse < TencentCloud::Common::AbstractModel
4499
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4500
+ # @type RequestId: String
4501
+
4502
+ attr_accessor :RequestId
4503
+
4504
+ def initialize(requestid=nil)
4505
+ @RequestId = requestid
4506
+ end
4507
+
4508
+ def deserialize(params)
4509
+ @RequestId = params['RequestId']
4510
+ end
4511
+ end
4512
+
3952
4513
  # 变量
3953
4514
  class Variable < TencentCloud::Common::AbstractModel
3954
4515
  # @param Key: 变量名
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.771
4
+ version: 3.0.772
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-02-28 00:00:00.000000000 Z
11
+ date: 2024-02-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common