tencentcloud-sdk-wav 1.0.227 → 1.0.228

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: 7a6cccbefbb4f437d155d60939d6ea4cb2ddd255
4
- data.tar.gz: 7d5f5abacc8fd9c7cc80674252605a5d7637e769
3
+ metadata.gz: 52350534903b76722786057c61d2306a9b195a96
4
+ data.tar.gz: 86cf68123a338c45c83e270062c56ddbf4880684
5
5
  SHA512:
6
- metadata.gz: 1ae264047f1662fc2c3c7512ae84b03dc51e9515f5710b4101b6c342ca3c359d5e2bffac4f545faa40cf29ad1229aef18a9796f631b747c7bf97e8bb48b993b7
7
- data.tar.gz: 3d85c6bab25829c88b6fd621e707ee7e40e0216b8d1449d6359ea6ec616eb194df00409c54f6aba15ddadf58cb420b5f7b108c311a0374e99a84f8e495a530ef
6
+ metadata.gz: 76de3745e97258e9a65b558b65321b7b907ba235059c683ee2c60a2d4cebcc9dca5e4432e02a0474090b0d6e7d1ee973039b1df06c4dfcc0ca79faa7460b9c86
7
+ data.tar.gz: 45ded7b68dd0f8c4884cb56627001e7c68d74e666dd0f0c657675b95069e69b07b556c2ee9be5c9f55e9dc25789346f43702cd33b09bc80d12df620b7f18804a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.227
1
+ 1.0.228
@@ -77,6 +77,30 @@ module TencentCloud
77
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
78
  end
79
79
 
80
+ # 线索回收接口
81
+
82
+ # @param request: Request instance for CreateLead.
83
+ # @type request: :class:`Tencentcloud::wav::V20210129::CreateLeadRequest`
84
+ # @rtype: :class:`Tencentcloud::wav::V20210129::CreateLeadResponse`
85
+ def CreateLead(request)
86
+ body = send_request('CreateLead', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = CreateLeadResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
80
104
  # 根据游标拉取活动参与列表信息
81
105
 
82
106
  # @param request: Request instance for QueryActivityJoinList.
@@ -221,6 +245,30 @@ module TencentCloud
221
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
246
  end
223
247
 
248
+ # 企业可通过此接口获取录入在企微SaaS平台上的经销商信息。
249
+
250
+ # @param request: Request instance for QueryDealerInfoList.
251
+ # @type request: :class:`Tencentcloud::wav::V20210129::QueryDealerInfoListRequest`
252
+ # @rtype: :class:`Tencentcloud::wav::V20210129::QueryDealerInfoListResponse`
253
+ def QueryDealerInfoList(request)
254
+ body = send_request('QueryDealerInfoList', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = QueryDealerInfoListResponse.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
  # 企业可通过此接口,根据外部联系人的userid,拉取客户详情
225
273
 
226
274
  # @param request: Request instance for QueryExternalContactDetail.
@@ -341,6 +389,30 @@ module TencentCloud
341
389
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
390
  end
343
391
 
392
+ # 企业可通过此接口获取企微SaaS平台上的车系车型信息。
393
+
394
+ # @param request: Request instance for QueryVehicleInfoList.
395
+ # @type request: :class:`Tencentcloud::wav::V20210129::QueryVehicleInfoListRequest`
396
+ # @rtype: :class:`Tencentcloud::wav::V20210129::QueryVehicleInfoListResponse`
397
+ def QueryVehicleInfoList(request)
398
+ body = send_request('QueryVehicleInfoList', request.serialize)
399
+ response = JSON.parse(body)
400
+ if response['Response'].key?('Error') == false
401
+ model = QueryVehicleInfoListResponse.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
+
344
416
 
345
417
  end
346
418
  end
@@ -544,6 +544,122 @@ module TencentCloud
544
544
  end
545
545
  end
546
546
 
547
+ # CreateLead请求参数结构体
548
+ class CreateLeadRequest < TencentCloud::Common::AbstractModel
549
+ # @param ChannelId: 来源ID
550
+ # @type ChannelId: Integer
551
+ # @param ChannelName: 来源名称
552
+ # @type ChannelName: String
553
+ # @param CreateTime: 创建时间, 单位毫秒
554
+ # @type CreateTime: Integer
555
+ # @param SourceType: 线索类型:1-400呼入,2-常规留资
556
+ # @type SourceType: Integer
557
+ # @param DealerId: 经销商id
558
+ # @type DealerId: Integer
559
+ # @param BrandId: 品牌id
560
+ # @type BrandId: Integer
561
+ # @param SeriesId: 车系id
562
+ # @type SeriesId: Integer
563
+ # @param CustomerName: 客户姓名
564
+ # @type CustomerName: String
565
+ # @param CustomerPhone: 客户手机号
566
+ # @type CustomerPhone: String
567
+ # @param ModelId: 车型id
568
+ # @type ModelId: Integer
569
+ # @param CustomerSex: 客户性别: 0-未知, 1-男, 2-女
570
+ # @type CustomerSex: Integer
571
+ # @param SalesName: 销售姓名
572
+ # @type SalesName: String
573
+ # @param SalesPhone: 销售手机号
574
+ # @type SalesPhone: String
575
+ # @param CcName: Cc坐席姓名
576
+ # @type CcName: String
577
+ # @param Remark: 备注
578
+ # @type Remark: String
579
+
580
+ attr_accessor :ChannelId, :ChannelName, :CreateTime, :SourceType, :DealerId, :BrandId, :SeriesId, :CustomerName, :CustomerPhone, :ModelId, :CustomerSex, :SalesName, :SalesPhone, :CcName, :Remark
581
+
582
+ def initialize(channelid=nil, channelname=nil, createtime=nil, sourcetype=nil, dealerid=nil, brandid=nil, seriesid=nil, customername=nil, customerphone=nil, modelid=nil, customersex=nil, salesname=nil, salesphone=nil, ccname=nil, remark=nil)
583
+ @ChannelId = channelid
584
+ @ChannelName = channelname
585
+ @CreateTime = createtime
586
+ @SourceType = sourcetype
587
+ @DealerId = dealerid
588
+ @BrandId = brandid
589
+ @SeriesId = seriesid
590
+ @CustomerName = customername
591
+ @CustomerPhone = customerphone
592
+ @ModelId = modelid
593
+ @CustomerSex = customersex
594
+ @SalesName = salesname
595
+ @SalesPhone = salesphone
596
+ @CcName = ccname
597
+ @Remark = remark
598
+ end
599
+
600
+ def deserialize(params)
601
+ @ChannelId = params['ChannelId']
602
+ @ChannelName = params['ChannelName']
603
+ @CreateTime = params['CreateTime']
604
+ @SourceType = params['SourceType']
605
+ @DealerId = params['DealerId']
606
+ @BrandId = params['BrandId']
607
+ @SeriesId = params['SeriesId']
608
+ @CustomerName = params['CustomerName']
609
+ @CustomerPhone = params['CustomerPhone']
610
+ @ModelId = params['ModelId']
611
+ @CustomerSex = params['CustomerSex']
612
+ @SalesName = params['SalesName']
613
+ @SalesPhone = params['SalesPhone']
614
+ @CcName = params['CcName']
615
+ @Remark = params['Remark']
616
+ end
617
+ end
618
+
619
+ # CreateLead返回参数结构体
620
+ class CreateLeadResponse < TencentCloud::Common::AbstractModel
621
+ # @param BusinessCode: 线索处理状态码: 0-表示创建成功, 1-表示线索合并,2-表示线索重复
622
+ # @type BusinessCode: Integer
623
+ # @param BusinessMsg: 线索处理结果描述
624
+ # @type BusinessMsg: String
625
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
626
+ # @type RequestId: String
627
+
628
+ attr_accessor :BusinessCode, :BusinessMsg, :RequestId
629
+
630
+ def initialize(businesscode=nil, businessmsg=nil, requestid=nil)
631
+ @BusinessCode = businesscode
632
+ @BusinessMsg = businessmsg
633
+ @RequestId = requestid
634
+ end
635
+
636
+ def deserialize(params)
637
+ @BusinessCode = params['BusinessCode']
638
+ @BusinessMsg = params['BusinessMsg']
639
+ @RequestId = params['RequestId']
640
+ end
641
+ end
642
+
643
+ # 经销商信息
644
+ class DealerInfo < TencentCloud::Common::AbstractModel
645
+ # @param DealerId: 企微SaaS平台经销商id
646
+ # @type DealerId: Integer
647
+ # @param DealerName: 经销商名称
648
+ # @type DealerName: String
649
+
650
+ attr_accessor :DealerId, :DealerName
651
+
652
+ def initialize(dealerid=nil, dealername=nil)
653
+ @DealerId = dealerid
654
+ @DealerName = dealername
655
+ end
656
+
657
+ def deserialize(params)
658
+ @DealerId = params['DealerId']
659
+ @DealerName = params['DealerName']
660
+ end
661
+ end
662
+
547
663
  # 客户信息
548
664
  class ExternalContact < TencentCloud::Common::AbstractModel
549
665
  # @param ExternalUserId: 外部联系人的userId
@@ -1183,6 +1299,64 @@ module TencentCloud
1183
1299
  end
1184
1300
  end
1185
1301
 
1302
+ # QueryDealerInfoList请求参数结构体
1303
+ class QueryDealerInfoListRequest < TencentCloud::Common::AbstractModel
1304
+ # @param Cursor: 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填
1305
+ # @type Cursor: String
1306
+ # @param Limit: 返回的最大记录数,整型,最大值100,默认值50,超过最大值时取最大值
1307
+ # @type Limit: Integer
1308
+
1309
+ attr_accessor :Cursor, :Limit
1310
+
1311
+ def initialize(cursor=nil, limit=nil)
1312
+ @Cursor = cursor
1313
+ @Limit = limit
1314
+ end
1315
+
1316
+ def deserialize(params)
1317
+ @Cursor = params['Cursor']
1318
+ @Limit = params['Limit']
1319
+ end
1320
+ end
1321
+
1322
+ # QueryDealerInfoList返回参数结构体
1323
+ class QueryDealerInfoListResponse < TencentCloud::Common::AbstractModel
1324
+ # @param PageData: 经销商信息列表
1325
+ # 注意:此字段可能返回 null,表示取不到有效值。
1326
+ # @type PageData: Array
1327
+ # @param NextCursor: 分页游标,下次调用带上该值,则从当前的位置继续往后拉取新增的数据,以实现增量拉取。
1328
+ # 注意:此字段可能返回 null,表示取不到有效值。
1329
+ # @type NextCursor: String
1330
+ # @param HasMore: 是否还有更多数据。0-否;1-是。
1331
+ # 注意:此字段可能返回 null,表示取不到有效值。
1332
+ # @type HasMore: Integer
1333
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1334
+ # @type RequestId: String
1335
+
1336
+ attr_accessor :PageData, :NextCursor, :HasMore, :RequestId
1337
+
1338
+ def initialize(pagedata=nil, nextcursor=nil, hasmore=nil, requestid=nil)
1339
+ @PageData = pagedata
1340
+ @NextCursor = nextcursor
1341
+ @HasMore = hasmore
1342
+ @RequestId = requestid
1343
+ end
1344
+
1345
+ def deserialize(params)
1346
+ unless params['PageData'].nil?
1347
+ @PageData = []
1348
+ params['PageData'].each do |i|
1349
+ dealerinfo_tmp = DealerInfo.new
1350
+ dealerinfo_tmp.deserialize(i)
1351
+ @PageData << dealerinfo_tmp
1352
+ end
1353
+ end
1354
+ @NextCursor = params['NextCursor']
1355
+ @HasMore = params['HasMore']
1356
+ @RequestId = params['RequestId']
1357
+ end
1358
+ end
1359
+
1186
1360
  # QueryExternalContactDetail请求参数结构体
1187
1361
  class QueryExternalContactDetailRequest < TencentCloud::Common::AbstractModel
1188
1362
  # @param ExternalUserId: 外部联系人的userid,注意不是企业成员的帐号
@@ -1438,6 +1612,64 @@ module TencentCloud
1438
1612
  end
1439
1613
  end
1440
1614
 
1615
+ # QueryVehicleInfoList请求参数结构体
1616
+ class QueryVehicleInfoListRequest < TencentCloud::Common::AbstractModel
1617
+ # @param Cursor: 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填
1618
+ # @type Cursor: String
1619
+ # @param Limit: 返回的最大记录数,整型,最大值100,默认值50,超过最大值时取最大值
1620
+ # @type Limit: Integer
1621
+
1622
+ attr_accessor :Cursor, :Limit
1623
+
1624
+ def initialize(cursor=nil, limit=nil)
1625
+ @Cursor = cursor
1626
+ @Limit = limit
1627
+ end
1628
+
1629
+ def deserialize(params)
1630
+ @Cursor = params['Cursor']
1631
+ @Limit = params['Limit']
1632
+ end
1633
+ end
1634
+
1635
+ # QueryVehicleInfoList返回参数结构体
1636
+ class QueryVehicleInfoListResponse < TencentCloud::Common::AbstractModel
1637
+ # @param PageData: 车系车型信息列表
1638
+ # 注意:此字段可能返回 null,表示取不到有效值。
1639
+ # @type PageData: Array
1640
+ # @param NextCursor: 分页游标,下次调用带上该值,则从当前的位置继续往后拉取新增的数据,以实现增量拉取。
1641
+ # 注意:此字段可能返回 null,表示取不到有效值。
1642
+ # @type NextCursor: String
1643
+ # @param HasMore: 是否还有更多数据。0-否;1-是。
1644
+ # 注意:此字段可能返回 null,表示取不到有效值。
1645
+ # @type HasMore: Integer
1646
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1647
+ # @type RequestId: String
1648
+
1649
+ attr_accessor :PageData, :NextCursor, :HasMore, :RequestId
1650
+
1651
+ def initialize(pagedata=nil, nextcursor=nil, hasmore=nil, requestid=nil)
1652
+ @PageData = pagedata
1653
+ @NextCursor = nextcursor
1654
+ @HasMore = hasmore
1655
+ @RequestId = requestid
1656
+ end
1657
+
1658
+ def deserialize(params)
1659
+ unless params['PageData'].nil?
1660
+ @PageData = []
1661
+ params['PageData'].each do |i|
1662
+ vehicleinfo_tmp = VehicleInfo.new
1663
+ vehicleinfo_tmp.deserialize(i)
1664
+ @PageData << vehicleinfo_tmp
1665
+ end
1666
+ end
1667
+ @NextCursor = params['NextCursor']
1668
+ @HasMore = params['HasMore']
1669
+ @RequestId = params['RequestId']
1670
+ end
1671
+ end
1672
+
1441
1673
  # 标签详细信息
1442
1674
  class TagDetailInfo < TencentCloud::Common::AbstractModel
1443
1675
  # @param TagName: 标签名称
@@ -1533,6 +1765,42 @@ module TencentCloud
1533
1765
  end
1534
1766
  end
1535
1767
 
1768
+ # 车型车系信息
1769
+ class VehicleInfo < TencentCloud::Common::AbstractModel
1770
+ # @param BrandId: 品牌id
1771
+ # @type BrandId: Integer
1772
+ # @param BrandName: 品牌名称
1773
+ # @type BrandName: String
1774
+ # @param SeriesId: 车系id
1775
+ # @type SeriesId: Integer
1776
+ # @param SeriesName: 车系名称
1777
+ # @type SeriesName: String
1778
+ # @param ModelId: 车型id
1779
+ # @type ModelId: Integer
1780
+ # @param ModelName: 车型名称
1781
+ # @type ModelName: String
1782
+
1783
+ attr_accessor :BrandId, :BrandName, :SeriesId, :SeriesName, :ModelId, :ModelName
1784
+
1785
+ def initialize(brandid=nil, brandname=nil, seriesid=nil, seriesname=nil, modelid=nil, modelname=nil)
1786
+ @BrandId = brandid
1787
+ @BrandName = brandname
1788
+ @SeriesId = seriesid
1789
+ @SeriesName = seriesname
1790
+ @ModelId = modelid
1791
+ @ModelName = modelname
1792
+ end
1793
+
1794
+ def deserialize(params)
1795
+ @BrandId = params['BrandId']
1796
+ @BrandName = params['BrandName']
1797
+ @SeriesId = params['SeriesId']
1798
+ @SeriesName = params['SeriesName']
1799
+ @ModelId = params['ModelId']
1800
+ @ModelName = params['ModelName']
1801
+ end
1802
+ end
1803
+
1536
1804
  # 企微个人标签信息,渠道活码使用
1537
1805
  class WeComTagDetail < TencentCloud::Common::AbstractModel
1538
1806
  # @param GroupName: 标签分组名称
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-wav
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.227
4
+ version: 1.0.228
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-20 00:00:00.000000000 Z
11
+ date: 2021-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common