tencentcloud-sdk-ccc 3.0.454 → 3.0.455

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: b1955316d4c9e539d7f91377a6702cbb106d6445
4
- data.tar.gz: 267828e241232757ac3408b179acab1e5994b7a5
3
+ metadata.gz: 3a8dc8ee5b3ba4148525c07da4d8a4476ed9cb17
4
+ data.tar.gz: a31d99a1497a46b1931caa370c3b8746309a3aa1
5
5
  SHA512:
6
- metadata.gz: 38583a48669c3deac660f8b6fc882ba4af307d0a2a60f52a91cec8ee51d245fc5a4d936c9ea53ef5c1965fa2ed1db6e5f1ad94cba1c8e3eae0e91a468e97e7e6
7
- data.tar.gz: 61f92541fb89c9bea36797fb1d9fe4a9105996c42b14ed8768c957bedd570d503b764eaac8684dbb5eaf380b2eef283abde97908ddfc233b686ca5e997a1c0d6
6
+ metadata.gz: 6d738255f42c8ce6ff5f918a6c7e6944fbfc9a9a9faec9c9068759e08219706746f89c2f287093c4f37f5080b9be566134e6c518b1b6f6ed2156bcd66fe3a300
7
+ data.tar.gz: 82634e836de4c8a6fb16fd9c37afbc7f22fa6cfeb79d5f768e6b2628dd4d190f7d19e01838293a6189f1c48e4945d0d34d0092930effbc068cf373733ed2a536
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.454
1
+ 3.0.455
@@ -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 CreateCarrierPrivilegeNumberApplicant.
131
+ # @type request: :class:`Tencentcloud::ccc::V20200210::CreateCarrierPrivilegeNumberApplicantRequest`
132
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::CreateCarrierPrivilegeNumberApplicantResponse`
133
+ def CreateCarrierPrivilegeNumberApplicant(request)
134
+ body = send_request('CreateCarrierPrivilegeNumberApplicant', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = CreateCarrierPrivilegeNumberApplicantResponse.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
  # 创建话机账号
129
153
 
130
154
  # @param request: Request instance for CreateExtension.
@@ -269,6 +293,30 @@ module TencentCloud
269
293
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
294
  end
271
295
 
296
+ # 查询生效运营商白名单规则
297
+
298
+ # @param request: Request instance for DescribeActiveCarrierPrivilegeNumber.
299
+ # @type request: :class:`Tencentcloud::ccc::V20200210::DescribeActiveCarrierPrivilegeNumberRequest`
300
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::DescribeActiveCarrierPrivilegeNumberResponse`
301
+ def DescribeActiveCarrierPrivilegeNumber(request)
302
+ body = send_request('DescribeActiveCarrierPrivilegeNumber', request.serialize)
303
+ response = JSON.parse(body)
304
+ if response['Response'].key?('Error') == false
305
+ model = DescribeActiveCarrierPrivilegeNumberResponse.new
306
+ model.deserialize(response['Response'])
307
+ model
308
+ else
309
+ code = response['Response']['Error']['Code']
310
+ message = response['Response']['Error']['Message']
311
+ reqid = response['Response']['RequestId']
312
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
313
+ end
314
+ rescue TencentCloud::Common::TencentCloudSDKException => e
315
+ raise e
316
+ rescue StandardError => e
317
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
+ end
319
+
272
320
  # 查询自动外呼任务详情
273
321
 
274
322
  # @param request: Request instance for DescribeAutoCalloutTask.
@@ -365,6 +413,30 @@ module TencentCloud
365
413
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
414
  end
367
415
 
416
+ # 查询单状态
417
+
418
+ # @param request: Request instance for DescribeCarrierPrivilegeNumberApplicants.
419
+ # @type request: :class:`Tencentcloud::ccc::V20200210::DescribeCarrierPrivilegeNumberApplicantsRequest`
420
+ # @rtype: :class:`Tencentcloud::ccc::V20200210::DescribeCarrierPrivilegeNumberApplicantsResponse`
421
+ def DescribeCarrierPrivilegeNumberApplicants(request)
422
+ body = send_request('DescribeCarrierPrivilegeNumberApplicants', request.serialize)
423
+ response = JSON.parse(body)
424
+ if response['Response'].key?('Error') == false
425
+ model = DescribeCarrierPrivilegeNumberApplicantsResponse.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
+
368
440
  # 包括具体聊天内容
369
441
 
370
442
  # @param request: Request instance for DescribeChatMessages.
@@ -17,6 +17,34 @@
17
17
  module TencentCloud
18
18
  module Ccc
19
19
  module V20200210
20
+ # 生效运营商白名单号码
21
+ class ActiveCarrierPrivilegeNumber < TencentCloud::Common::AbstractModel
22
+ # @param SdkAppId: 实例Id
23
+ # @type SdkAppId: Integer
24
+ # @param Caller: 主叫号码
25
+ # @type Caller: String
26
+ # @param Callee: 被叫号码
27
+ # @type Callee: String
28
+ # @param CreateTime: 生效unix时间戳(秒)
29
+ # @type CreateTime: Integer
30
+
31
+ attr_accessor :SdkAppId, :Caller, :Callee, :CreateTime
32
+
33
+ def initialize(sdkappid=nil, caller=nil, callee=nil, createtime=nil)
34
+ @SdkAppId = sdkappid
35
+ @Caller = caller
36
+ @Callee = callee
37
+ @CreateTime = createtime
38
+ end
39
+
40
+ def deserialize(params)
41
+ @SdkAppId = params['SdkAppId']
42
+ @Caller = params['Caller']
43
+ @Callee = params['Callee']
44
+ @CreateTime = params['CreateTime']
45
+ end
46
+ end
47
+
20
48
  # 外呼任务被叫信息
21
49
  class AutoCalloutTaskCalleeInfo < TencentCloud::Common::AbstractModel
22
50
  # @param Callee: 被叫号码
@@ -243,6 +271,51 @@ module TencentCloud
243
271
  end
244
272
  end
245
273
 
274
+ # 运营商白名单号码申请单
275
+ class CarrierPrivilegeNumberApplicant < TencentCloud::Common::AbstractModel
276
+ # @param SdkAppId: 实例Id
277
+ # @type SdkAppId: Integer
278
+ # @param ApplicantId: 申请单Id
279
+ # @type ApplicantId: Integer
280
+ # @param Callers: 主叫号码列表
281
+ # @type Callers: Array
282
+ # @param Callees: 被叫号码列表
283
+ # @type Callees: Array
284
+ # @param Description: 描述
285
+ # 注意:此字段可能返回 null,表示取不到有效值。
286
+ # @type Description: String
287
+ # @param State: 审批状态:1 待审核、2 通过、3 拒绝
288
+ # @type State: Integer
289
+ # @param CreateTime: 创建时间,unix时间戳(秒)
290
+ # @type CreateTime: Integer
291
+ # @param UpdateTime: 更新时间,unix时间戳(秒)
292
+ # @type UpdateTime: Integer
293
+
294
+ attr_accessor :SdkAppId, :ApplicantId, :Callers, :Callees, :Description, :State, :CreateTime, :UpdateTime
295
+
296
+ def initialize(sdkappid=nil, applicantid=nil, callers=nil, callees=nil, description=nil, state=nil, createtime=nil, updatetime=nil)
297
+ @SdkAppId = sdkappid
298
+ @ApplicantId = applicantid
299
+ @Callers = callers
300
+ @Callees = callees
301
+ @Description = description
302
+ @State = state
303
+ @CreateTime = createtime
304
+ @UpdateTime = updatetime
305
+ end
306
+
307
+ def deserialize(params)
308
+ @SdkAppId = params['SdkAppId']
309
+ @ApplicantId = params['ApplicantId']
310
+ @Callers = params['Callers']
311
+ @Callees = params['Callees']
312
+ @Description = params['Description']
313
+ @State = params['State']
314
+ @CreateTime = params['CreateTime']
315
+ @UpdateTime = params['UpdateTime']
316
+ end
317
+ end
318
+
246
319
  # CreateAutoCalloutTask请求参数结构体
247
320
  class CreateAutoCalloutTaskRequest < TencentCloud::Common::AbstractModel
248
321
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
@@ -427,6 +500,54 @@ module TencentCloud
427
500
  end
428
501
  end
429
502
 
503
+ # CreateCarrierPrivilegeNumberApplicant请求参数结构体
504
+ class CreateCarrierPrivilegeNumberApplicantRequest < TencentCloud::Common::AbstractModel
505
+ # @param SdkAppId: SdkAppId
506
+ # @type SdkAppId: Integer
507
+ # @param Callers: 主叫号码,必须为实例中存在的号码,格式为0086xxxx(暂时只支持国内号码)
508
+ # @type Callers: Array
509
+ # @param Callees: 被叫号码,必须为实例中坐席绑定的手机号码,格式为0086xxxx(暂时只支持国内号码)
510
+ # @type Callees: Array
511
+ # @param Description: 描述
512
+ # @type Description: String
513
+
514
+ attr_accessor :SdkAppId, :Callers, :Callees, :Description
515
+
516
+ def initialize(sdkappid=nil, callers=nil, callees=nil, description=nil)
517
+ @SdkAppId = sdkappid
518
+ @Callers = callers
519
+ @Callees = callees
520
+ @Description = description
521
+ end
522
+
523
+ def deserialize(params)
524
+ @SdkAppId = params['SdkAppId']
525
+ @Callers = params['Callers']
526
+ @Callees = params['Callees']
527
+ @Description = params['Description']
528
+ end
529
+ end
530
+
531
+ # CreateCarrierPrivilegeNumberApplicant返回参数结构体
532
+ class CreateCarrierPrivilegeNumberApplicantResponse < TencentCloud::Common::AbstractModel
533
+ # @param ApplicantId: 申请单Id
534
+ # @type ApplicantId: Integer
535
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
536
+ # @type RequestId: String
537
+
538
+ attr_accessor :ApplicantId, :RequestId
539
+
540
+ def initialize(applicantid=nil, requestid=nil)
541
+ @ApplicantId = applicantid
542
+ @RequestId = requestid
543
+ end
544
+
545
+ def deserialize(params)
546
+ @ApplicantId = params['ApplicantId']
547
+ @RequestId = params['RequestId']
548
+ end
549
+ end
550
+
430
551
  # CreateExtension请求参数结构体
431
552
  class CreateExtensionRequest < TencentCloud::Common::AbstractModel
432
553
  # @param SdkAppId: TCCC 实例应用 ID
@@ -699,6 +820,76 @@ module TencentCloud
699
820
  end
700
821
  end
701
822
 
823
+ # DescribeActiveCarrierPrivilegeNumber请求参数结构体
824
+ class DescribeActiveCarrierPrivilegeNumberRequest < TencentCloud::Common::AbstractModel
825
+ # @param SdkAppId: 实例Id
826
+ # @type SdkAppId: Integer
827
+ # @param PageNumber: 默认0
828
+ # @type PageNumber: Integer
829
+ # @param PageSize: 默认10,最大100
830
+ # @type PageSize: Integer
831
+ # @param Filters: 筛选条件 Name支持PhoneNumber(按号码模糊查找)
832
+ # @type Filters: Array
833
+
834
+ attr_accessor :SdkAppId, :PageNumber, :PageSize, :Filters
835
+
836
+ def initialize(sdkappid=nil, pagenumber=nil, pagesize=nil, filters=nil)
837
+ @SdkAppId = sdkappid
838
+ @PageNumber = pagenumber
839
+ @PageSize = pagesize
840
+ @Filters = filters
841
+ end
842
+
843
+ def deserialize(params)
844
+ @SdkAppId = params['SdkAppId']
845
+ @PageNumber = params['PageNumber']
846
+ @PageSize = params['PageSize']
847
+ unless params['Filters'].nil?
848
+ @Filters = []
849
+ params['Filters'].each do |i|
850
+ filter_tmp = Filter.new
851
+ filter_tmp.deserialize(i)
852
+ @Filters << filter_tmp
853
+ end
854
+ end
855
+ end
856
+ end
857
+
858
+ # DescribeActiveCarrierPrivilegeNumber返回参数结构体
859
+ class DescribeActiveCarrierPrivilegeNumberResponse < TencentCloud::Common::AbstractModel
860
+ # @param TotalCount: 总数量
861
+ # @type TotalCount: Integer
862
+ # @param ActiveCarrierPrivilegeNumbers: 生效列表
863
+ # @type ActiveCarrierPrivilegeNumbers: Array
864
+ # @param PendingApplicantIds: 待审核单号
865
+ # @type PendingApplicantIds: Array
866
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
867
+ # @type RequestId: String
868
+
869
+ attr_accessor :TotalCount, :ActiveCarrierPrivilegeNumbers, :PendingApplicantIds, :RequestId
870
+
871
+ def initialize(totalcount=nil, activecarrierprivilegenumbers=nil, pendingapplicantids=nil, requestid=nil)
872
+ @TotalCount = totalcount
873
+ @ActiveCarrierPrivilegeNumbers = activecarrierprivilegenumbers
874
+ @PendingApplicantIds = pendingapplicantids
875
+ @RequestId = requestid
876
+ end
877
+
878
+ def deserialize(params)
879
+ @TotalCount = params['TotalCount']
880
+ unless params['ActiveCarrierPrivilegeNumbers'].nil?
881
+ @ActiveCarrierPrivilegeNumbers = []
882
+ params['ActiveCarrierPrivilegeNumbers'].each do |i|
883
+ activecarrierprivilegenumber_tmp = ActiveCarrierPrivilegeNumber.new
884
+ activecarrierprivilegenumber_tmp.deserialize(i)
885
+ @ActiveCarrierPrivilegeNumbers << activecarrierprivilegenumber_tmp
886
+ end
887
+ end
888
+ @PendingApplicantIds = params['PendingApplicantIds']
889
+ @RequestId = params['RequestId']
890
+ end
891
+ end
892
+
702
893
  # DescribeAutoCalloutTask请求参数结构体
703
894
  class DescribeAutoCalloutTaskRequest < TencentCloud::Common::AbstractModel
704
895
  # @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
@@ -963,6 +1154,72 @@ module TencentCloud
963
1154
  end
964
1155
  end
965
1156
 
1157
+ # DescribeCarrierPrivilegeNumberApplicants请求参数结构体
1158
+ class DescribeCarrierPrivilegeNumberApplicantsRequest < TencentCloud::Common::AbstractModel
1159
+ # @param SdkAppId: 实例Id
1160
+ # @type SdkAppId: Integer
1161
+ # @param PageNumber: 默认0,从0开始
1162
+ # @type PageNumber: Integer
1163
+ # @param PageSize: 默认10,最大100
1164
+ # @type PageSize: Integer
1165
+ # @param Filters: 筛选条件,Name支持ApplicantId,PhoneNumber(按号码模糊查找)
1166
+ # @type Filters: Array
1167
+
1168
+ attr_accessor :SdkAppId, :PageNumber, :PageSize, :Filters
1169
+
1170
+ def initialize(sdkappid=nil, pagenumber=nil, pagesize=nil, filters=nil)
1171
+ @SdkAppId = sdkappid
1172
+ @PageNumber = pagenumber
1173
+ @PageSize = pagesize
1174
+ @Filters = filters
1175
+ end
1176
+
1177
+ def deserialize(params)
1178
+ @SdkAppId = params['SdkAppId']
1179
+ @PageNumber = params['PageNumber']
1180
+ @PageSize = params['PageSize']
1181
+ unless params['Filters'].nil?
1182
+ @Filters = []
1183
+ params['Filters'].each do |i|
1184
+ filter_tmp = Filter.new
1185
+ filter_tmp.deserialize(i)
1186
+ @Filters << filter_tmp
1187
+ end
1188
+ end
1189
+ end
1190
+ end
1191
+
1192
+ # DescribeCarrierPrivilegeNumberApplicants返回参数结构体
1193
+ class DescribeCarrierPrivilegeNumberApplicantsResponse < TencentCloud::Common::AbstractModel
1194
+ # @param TotalCount: 筛选出的总申请单数量
1195
+ # @type TotalCount: Integer
1196
+ # @param Applicants: 申请单列表
1197
+ # @type Applicants: Array
1198
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1199
+ # @type RequestId: String
1200
+
1201
+ attr_accessor :TotalCount, :Applicants, :RequestId
1202
+
1203
+ def initialize(totalcount=nil, applicants=nil, requestid=nil)
1204
+ @TotalCount = totalcount
1205
+ @Applicants = applicants
1206
+ @RequestId = requestid
1207
+ end
1208
+
1209
+ def deserialize(params)
1210
+ @TotalCount = params['TotalCount']
1211
+ unless params['Applicants'].nil?
1212
+ @Applicants = []
1213
+ params['Applicants'].each do |i|
1214
+ carrierprivilegenumberapplicant_tmp = CarrierPrivilegeNumberApplicant.new
1215
+ carrierprivilegenumberapplicant_tmp.deserialize(i)
1216
+ @Applicants << carrierprivilegenumberapplicant_tmp
1217
+ end
1218
+ end
1219
+ @RequestId = params['RequestId']
1220
+ end
1221
+ end
1222
+
966
1223
  # DescribeChatMessages请求参数结构体
967
1224
  class DescribeChatMessagesRequest < TencentCloud::Common::AbstractModel
968
1225
  # @param InstanceId: 实例 ID(废弃)
@@ -1826,6 +2083,28 @@ module TencentCloud
1826
2083
  end
1827
2084
  end
1828
2085
 
2086
+ # 筛选条件
2087
+ class Filter < TencentCloud::Common::AbstractModel
2088
+ # @param Name: 筛选字段名
2089
+ # 注意:此字段可能返回 null,表示取不到有效值。
2090
+ # @type Name: String
2091
+ # @param Values: 筛选条件值
2092
+ # 注意:此字段可能返回 null,表示取不到有效值。
2093
+ # @type Values: Array
2094
+
2095
+ attr_accessor :Name, :Values
2096
+
2097
+ def initialize(name=nil, values=nil)
2098
+ @Name = name
2099
+ @Values = values
2100
+ end
2101
+
2102
+ def deserialize(params)
2103
+ @Name = params['Name']
2104
+ @Values = params['Values']
2105
+ end
2106
+ end
2107
+
1829
2108
  # 文本会话服务记录信息
1830
2109
  class IMCdrInfo < TencentCloud::Common::AbstractModel
1831
2110
  # @param Id: 服务记录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.454
4
+ version: 3.0.455
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-11-18 00:00:00.000000000 Z
11
+ date: 2022-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common