tencentcloud-sdk-smpn 3.0.859 → 3.0.860

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: 08b1d819cb04a642e459ee5ca90f1bb56b599418
4
- data.tar.gz: 9ece1925cbb429c88908f3d5e97b183e0a24e48c
3
+ metadata.gz: 8a0cdbd0b2c1778d163b1f7ae597e8ff58edaa5c
4
+ data.tar.gz: f3f0b01477c5696a999adcf080af9b228aee112b
5
5
  SHA512:
6
- metadata.gz: 2b2da3d12cf19132b114075a63ae38c5ba2601246107c8a9100892cbcb016b6c0bd0190e774214e5f50447451b99995ed1dd0e35ea3e0d614d76d144e6c3c8ef
7
- data.tar.gz: a186763884db9708cc480c439ae43cac9381468ffc9227418a18ad9ac1eddda847e70c968a4bf0cbb9f721680c78daab40d50aece742b6b95f52f544254fb0bf
6
+ metadata.gz: eab00983a0735c15e3bd0af86cecdff9e4b73860275d21afcedaf378e40f6d53149013cbb8777af9bcc7179d08b5045cb411aeb950a497fafbbeed2dc6596bf1
7
+ data.tar.gz: 33ad294cbe546b47d99bf04e394fa1d7cf8e451b28eefeaedabeff3e109907fdfb975309f26303393fb07cf866b693242a404e7cf03cfd731588cde01d9bc373
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.859
1
+ 3.0.860
@@ -29,32 +29,6 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
- # 不在使用的API
33
-
34
- # 企业号码认证
35
-
36
- # @param request: Request instance for CreateSmpnEpa.
37
- # @type request: :class:`Tencentcloud::smpn::V20190822::CreateSmpnEpaRequest`
38
- # @rtype: :class:`Tencentcloud::smpn::V20190822::CreateSmpnEpaResponse`
39
- def CreateSmpnEpa(request)
40
- body = send_request('CreateSmpnEpa', request.serialize)
41
- response = JSON.parse(body)
42
- if response['Response'].key?('Error') == false
43
- model = CreateSmpnEpaResponse.new
44
- model.deserialize(response['Response'])
45
- model
46
- else
47
- code = response['Response']['Error']['Code']
48
- message = response['Response']['Error']['Message']
49
- reqid = response['Response']['RequestId']
50
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
51
- end
52
- rescue TencentCloud::Common::TencentCloudSDKException => e
53
- raise e
54
- rescue StandardError => e
55
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
56
- end
57
-
58
32
  # 不在使用的API
59
33
 
60
34
  # 查询号码的标记和标记次数
@@ -107,58 +81,6 @@ module TencentCloud
107
81
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
108
82
  end
109
83
 
110
- # 不在使用的API
111
-
112
- # 号码营销监控
113
-
114
- # @param request: Request instance for DescribeSmpnMhm.
115
- # @type request: :class:`Tencentcloud::smpn::V20190822::DescribeSmpnMhmRequest`
116
- # @rtype: :class:`Tencentcloud::smpn::V20190822::DescribeSmpnMhmResponse`
117
- def DescribeSmpnMhm(request)
118
- body = send_request('DescribeSmpnMhm', request.serialize)
119
- response = JSON.parse(body)
120
- if response['Response'].key?('Error') == false
121
- model = DescribeSmpnMhmResponse.new
122
- model.deserialize(response['Response'])
123
- model
124
- else
125
- code = response['Response']['Error']['Code']
126
- message = response['Response']['Error']['Message']
127
- reqid = response['Response']['RequestId']
128
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
129
- end
130
- rescue TencentCloud::Common::TencentCloudSDKException => e
131
- raise e
132
- rescue StandardError => e
133
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
134
- end
135
-
136
- # 不在使用的API
137
-
138
- # 查询号码恶意标记等级
139
-
140
- # @param request: Request instance for DescribeSmpnMrl.
141
- # @type request: :class:`Tencentcloud::smpn::V20190822::DescribeSmpnMrlRequest`
142
- # @rtype: :class:`Tencentcloud::smpn::V20190822::DescribeSmpnMrlResponse`
143
- def DescribeSmpnMrl(request)
144
- body = send_request('DescribeSmpnMrl', request.serialize)
145
- response = JSON.parse(body)
146
- if response['Response'].key?('Error') == false
147
- model = DescribeSmpnMrlResponse.new
148
- model.deserialize(response['Response'])
149
- model
150
- else
151
- code = response['Response']['Error']['Code']
152
- message = response['Response']['Error']['Message']
153
- reqid = response['Response']['RequestId']
154
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
155
- end
156
- rescue TencentCloud::Common::TencentCloudSDKException => e
157
- raise e
158
- rescue StandardError => e
159
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
160
- end
161
-
162
84
 
163
85
  end
164
86
  end
@@ -61,52 +61,6 @@ module TencentCloud
61
61
  end
62
62
  end
63
63
 
64
- # CreateSmpnEpa请求参数结构体
65
- class CreateSmpnEpaRequest < TencentCloud::Common::AbstractModel
66
- # @param RequestData: 企业号码认证请求内容
67
- # @type RequestData: :class:`Tencentcloud::Smpn.v20190822.models.EPARequest`
68
- # @param ResourceId: 用于计费的资源ID
69
- # @type ResourceId: String
70
-
71
- attr_accessor :RequestData, :ResourceId
72
-
73
- def initialize(requestdata=nil, resourceid=nil)
74
- @RequestData = requestdata
75
- @ResourceId = resourceid
76
- end
77
-
78
- def deserialize(params)
79
- unless params['RequestData'].nil?
80
- @RequestData = EPARequest.new
81
- @RequestData.deserialize(params['RequestData'])
82
- end
83
- @ResourceId = params['ResourceId']
84
- end
85
- end
86
-
87
- # CreateSmpnEpa返回参数结构体
88
- class CreateSmpnEpaResponse < TencentCloud::Common::AbstractModel
89
- # @param ResponseData: 业号码认证回应内容
90
- # @type ResponseData: :class:`Tencentcloud::Smpn.v20190822.models.EPAResponse`
91
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
92
- # @type RequestId: String
93
-
94
- attr_accessor :ResponseData, :RequestId
95
-
96
- def initialize(responsedata=nil, requestid=nil)
97
- @ResponseData = responsedata
98
- @RequestId = requestid
99
- end
100
-
101
- def deserialize(params)
102
- unless params['ResponseData'].nil?
103
- @ResponseData = EPAResponse.new
104
- @ResponseData.deserialize(params['ResponseData'])
105
- end
106
- @RequestId = params['RequestId']
107
- end
108
- end
109
-
110
64
  # DescribeSmpnChp请求参数结构体
111
65
  class DescribeSmpnChpRequest < TencentCloud::Common::AbstractModel
112
66
  # @param ResourceId: 客户用于计费的资源Id
@@ -199,134 +153,6 @@ module TencentCloud
199
153
  end
200
154
  end
201
155
 
202
- # DescribeSmpnMhm请求参数结构体
203
- class DescribeSmpnMhmRequest < TencentCloud::Common::AbstractModel
204
- # @param RequestData: 号码营销监控请求内容
205
- # @type RequestData: :class:`Tencentcloud::Smpn.v20190822.models.MHMRequest`
206
- # @param ResourceId: 用于计费的资源ID
207
- # @type ResourceId: String
208
-
209
- attr_accessor :RequestData, :ResourceId
210
-
211
- def initialize(requestdata=nil, resourceid=nil)
212
- @RequestData = requestdata
213
- @ResourceId = resourceid
214
- end
215
-
216
- def deserialize(params)
217
- unless params['RequestData'].nil?
218
- @RequestData = MHMRequest.new
219
- @RequestData.deserialize(params['RequestData'])
220
- end
221
- @ResourceId = params['ResourceId']
222
- end
223
- end
224
-
225
- # DescribeSmpnMhm返回参数结构体
226
- class DescribeSmpnMhmResponse < TencentCloud::Common::AbstractModel
227
- # @param ResponseData: 号码营销监控回应内容
228
- # @type ResponseData: :class:`Tencentcloud::Smpn.v20190822.models.MHMResponse`
229
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
230
- # @type RequestId: String
231
-
232
- attr_accessor :ResponseData, :RequestId
233
-
234
- def initialize(responsedata=nil, requestid=nil)
235
- @ResponseData = responsedata
236
- @RequestId = requestid
237
- end
238
-
239
- def deserialize(params)
240
- unless params['ResponseData'].nil?
241
- @ResponseData = MHMResponse.new
242
- @ResponseData.deserialize(params['ResponseData'])
243
- end
244
- @RequestId = params['RequestId']
245
- end
246
- end
247
-
248
- # DescribeSmpnMrl请求参数结构体
249
- class DescribeSmpnMrlRequest < TencentCloud::Common::AbstractModel
250
- # @param RequestData: 恶意标记等级请求内容
251
- # @type RequestData: :class:`Tencentcloud::Smpn.v20190822.models.MRLRequest`
252
- # @param ResourceId: 用于计费的资源ID
253
- # @type ResourceId: String
254
-
255
- attr_accessor :RequestData, :ResourceId
256
-
257
- def initialize(requestdata=nil, resourceid=nil)
258
- @RequestData = requestdata
259
- @ResourceId = resourceid
260
- end
261
-
262
- def deserialize(params)
263
- unless params['RequestData'].nil?
264
- @RequestData = MRLRequest.new
265
- @RequestData.deserialize(params['RequestData'])
266
- end
267
- @ResourceId = params['ResourceId']
268
- end
269
- end
270
-
271
- # DescribeSmpnMrl返回参数结构体
272
- class DescribeSmpnMrlResponse < TencentCloud::Common::AbstractModel
273
- # @param ResponseData: 恶意标记等级回应内容
274
- # @type ResponseData: :class:`Tencentcloud::Smpn.v20190822.models.MRLResponse`
275
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
276
- # @type RequestId: String
277
-
278
- attr_accessor :ResponseData, :RequestId
279
-
280
- def initialize(responsedata=nil, requestid=nil)
281
- @ResponseData = responsedata
282
- @RequestId = requestid
283
- end
284
-
285
- def deserialize(params)
286
- unless params['ResponseData'].nil?
287
- @ResponseData = MRLResponse.new
288
- @ResponseData.deserialize(params['ResponseData'])
289
- end
290
- @RequestId = params['RequestId']
291
- end
292
- end
293
-
294
- # 企业号码认证请求
295
- class EPARequest < TencentCloud::Common::AbstractModel
296
- # @param PhoneNumber: 电话号码
297
- # @type PhoneNumber: String
298
- # @param Name: 黄页名称
299
- # @type Name: String
300
-
301
- attr_accessor :PhoneNumber, :Name
302
-
303
- def initialize(phonenumber=nil, name=nil)
304
- @PhoneNumber = phonenumber
305
- @Name = name
306
- end
307
-
308
- def deserialize(params)
309
- @PhoneNumber = params['PhoneNumber']
310
- @Name = params['Name']
311
- end
312
- end
313
-
314
- # 企业号码认证回应
315
- class EPAResponse < TencentCloud::Common::AbstractModel
316
- # @param RetCode: 0成功 其他失败
317
- # @type RetCode: Integer
318
-
319
- attr_accessor :RetCode
320
-
321
- def initialize(retcode=nil)
322
- @RetCode = retcode
323
- end
324
-
325
- def deserialize(params)
326
- @RetCode = params['RetCode']
327
- end
328
- end
329
-
330
156
  # 虚假号码识别请求
331
157
  class FNRRequest < TencentCloud::Common::AbstractModel
332
158
  # @param PhoneNumber: 电话号码
@@ -359,98 +185,6 @@ module TencentCloud
359
185
  end
360
186
  end
361
187
 
362
- # 号码营销监控请求
363
- class MHMRequest < TencentCloud::Common::AbstractModel
364
- # @param PhoneNumber: 电话号码
365
- # @type PhoneNumber: String
366
-
367
- attr_accessor :PhoneNumber
368
-
369
- def initialize(phonenumber=nil)
370
- @PhoneNumber = phonenumber
371
- end
372
-
373
- def deserialize(params)
374
- @PhoneNumber = params['PhoneNumber']
375
- end
376
- end
377
-
378
- # 号码营销监控回应
379
- class MHMResponse < TencentCloud::Common::AbstractModel
380
- # @param TagType: 标记类型
381
- # 0: 无标记
382
- # 50:骚扰电话
383
- # 51:房产中介
384
- # 52:保险理财
385
- # 53:广告推销
386
- # 54:诈骗电话
387
- # 55:快递电话
388
- # 56:出租车专车
389
- # @type TagType: Integer
390
- # @param TagCount: 标记次数
391
- # @type TagCount: Integer
392
-
393
- attr_accessor :TagType, :TagCount
394
-
395
- def initialize(tagtype=nil, tagcount=nil)
396
- @TagType = tagtype
397
- @TagCount = tagcount
398
- end
399
-
400
- def deserialize(params)
401
- @TagType = params['TagType']
402
- @TagCount = params['TagCount']
403
- end
404
- end
405
-
406
- # 号码恶意标记等级请求
407
- class MRLRequest < TencentCloud::Common::AbstractModel
408
- # @param PhoneNumber: 电话号码
409
- # @type PhoneNumber: String
410
-
411
- attr_accessor :PhoneNumber
412
-
413
- def initialize(phonenumber=nil)
414
- @PhoneNumber = phonenumber
415
- end
416
-
417
- def deserialize(params)
418
- @PhoneNumber = params['PhoneNumber']
419
- end
420
- end
421
-
422
- # 号码恶意标记等级
423
- class MRLResponse < TencentCloud::Common::AbstractModel
424
- # @param DisturbLevel: 骚扰电话恶意标记等级
425
- # @type DisturbLevel: Integer
426
- # @param HouseAgentLevel: 房产中介恶意标记等级
427
- # @type HouseAgentLevel: Integer
428
- # @param InsuranceLevel: 保险理财恶意标记等级
429
- # @type InsuranceLevel: Integer
430
- # @param SalesLevel: 广告推销恶意标记等级
431
- # @type SalesLevel: Integer
432
- # @param CheatLevel: 诈骗电话恶意标记等级
433
- # @type CheatLevel: Integer
434
-
435
- attr_accessor :DisturbLevel, :HouseAgentLevel, :InsuranceLevel, :SalesLevel, :CheatLevel
436
-
437
- def initialize(disturblevel=nil, houseagentlevel=nil, insurancelevel=nil, saleslevel=nil, cheatlevel=nil)
438
- @DisturbLevel = disturblevel
439
- @HouseAgentLevel = houseagentlevel
440
- @InsuranceLevel = insurancelevel
441
- @SalesLevel = saleslevel
442
- @CheatLevel = cheatlevel
443
- end
444
-
445
- def deserialize(params)
446
- @DisturbLevel = params['DisturbLevel']
447
- @HouseAgentLevel = params['HouseAgentLevel']
448
- @InsuranceLevel = params['InsuranceLevel']
449
- @SalesLevel = params['SalesLevel']
450
- @CheatLevel = params['CheatLevel']
451
- end
452
- end
453
-
454
188
  end
455
189
  end
456
190
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-smpn
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.859
4
+ version: 3.0.860
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-07-07 00:00:00.000000000 Z
11
+ date: 2024-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common