tencentcloud-sdk-smpn 3.0.858 → 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: aa8aa22385c8ec6d729cd9382db4ec132a04e344
4
- data.tar.gz: 9d8b97d6aa7ca5e848e3d2f3226763dd7fb7617a
3
+ metadata.gz: 8a0cdbd0b2c1778d163b1f7ae597e8ff58edaa5c
4
+ data.tar.gz: f3f0b01477c5696a999adcf080af9b228aee112b
5
5
  SHA512:
6
- metadata.gz: 77d06e91acb1448b47fcf0c3606b886b2e4a4803c706fd99759a4a0d54b670dde9182d4e2deafd1ac45f0ea084904715f76e29e2a30f7ac93378c5e257d546cf
7
- data.tar.gz: 48577fe184a4f0e1cf22eb0e9b059de44b274957ba4548397767fcf4933a6c5240dd7a098ece98cbb7775f6ac6f1f7f10127a989b8819c28795b4c076cccef90
6
+ metadata.gz: eab00983a0735c15e3bd0af86cecdff9e4b73860275d21afcedaf378e40f6d53149013cbb8777af9bcc7179d08b5045cb411aeb950a497fafbbeed2dc6596bf1
7
+ data.tar.gz: 33ad294cbe546b47d99bf04e394fa1d7cf8e451b28eefeaedabeff3e109907fdfb975309f26303393fb07cf866b693242a404e7cf03cfd731588cde01d9bc373
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.858
1
+ 3.0.860
@@ -29,29 +29,7 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
- # 企业号码认证
33
-
34
- # @param request: Request instance for CreateSmpnEpa.
35
- # @type request: :class:`Tencentcloud::smpn::V20190822::CreateSmpnEpaRequest`
36
- # @rtype: :class:`Tencentcloud::smpn::V20190822::CreateSmpnEpaResponse`
37
- def CreateSmpnEpa(request)
38
- body = send_request('CreateSmpnEpa', request.serialize)
39
- response = JSON.parse(body)
40
- if response['Response'].key?('Error') == false
41
- model = CreateSmpnEpaResponse.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
32
+ # 不在使用的API
55
33
 
56
34
  # 查询号码的标记和标记次数
57
35
 
@@ -77,6 +55,8 @@ module TencentCloud
77
55
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
56
  end
79
57
 
58
+ # 不在使用的API
59
+
80
60
  # 虚假号码识别
81
61
 
82
62
  # @param request: Request instance for DescribeSmpnFnr.
@@ -101,54 +81,6 @@ module TencentCloud
101
81
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
82
  end
103
83
 
104
- # 号码营销监控
105
-
106
- # @param request: Request instance for DescribeSmpnMhm.
107
- # @type request: :class:`Tencentcloud::smpn::V20190822::DescribeSmpnMhmRequest`
108
- # @rtype: :class:`Tencentcloud::smpn::V20190822::DescribeSmpnMhmResponse`
109
- def DescribeSmpnMhm(request)
110
- body = send_request('DescribeSmpnMhm', request.serialize)
111
- response = JSON.parse(body)
112
- if response['Response'].key?('Error') == false
113
- model = DescribeSmpnMhmResponse.new
114
- model.deserialize(response['Response'])
115
- model
116
- else
117
- code = response['Response']['Error']['Code']
118
- message = response['Response']['Error']['Message']
119
- reqid = response['Response']['RequestId']
120
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
121
- end
122
- rescue TencentCloud::Common::TencentCloudSDKException => e
123
- raise e
124
- rescue StandardError => e
125
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
- end
127
-
128
- # 查询号码恶意标记等级
129
-
130
- # @param request: Request instance for DescribeSmpnMrl.
131
- # @type request: :class:`Tencentcloud::smpn::V20190822::DescribeSmpnMrlRequest`
132
- # @rtype: :class:`Tencentcloud::smpn::V20190822::DescribeSmpnMrlResponse`
133
- def DescribeSmpnMrl(request)
134
- body = send_request('DescribeSmpnMrl', request.serialize)
135
- response = JSON.parse(body)
136
- if response['Response'].key?('Error') == false
137
- model = DescribeSmpnMrlResponse.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
-
152
84
 
153
85
  end
154
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.858
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-04 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