tencentcloud-sdk-wav 1.0.289 → 1.0.290

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: 28c38163eec9af8b6d457d20c94f0b080dc37fd1
4
- data.tar.gz: f7b66b24684f42deaae1dbf549292c75f43d8b10
3
+ metadata.gz: 179642b8f769b718dff40eccbc23fccb89b3b1bd
4
+ data.tar.gz: aec85c666d17fb0734ee4fe5a001df3c0c61fbd6
5
5
  SHA512:
6
- metadata.gz: e512502d93cd8802a90c81b30e39d657a65a7749e30527e9909985488e7a95f6d6cf01061dea48348c9566912732549ec66749b3afa3dd4ce82184586339bbf4
7
- data.tar.gz: 3daee17eeda3ee67ea7e01942b64bd605ae97f824435fcc7bbf7387bb838d9e694d30e94b1a421e056994c3df78f3bdf87e0de7e49479525348046fc95af88ed
6
+ metadata.gz: b134b27105a63d1888d3040351e95d1f50ce87f9b09eef706866603f968d24087fcfd4c44a5aa2c9b233c4a25f3adc8e225dcfe321211695e45134fea2ae646e
7
+ data.tar.gz: 1e28ac2daf57a05822b9be3046e160f544f404de5472cbdebb899c811e08a39f36a6c9568d46c73b4341f721b41b63a8cc75349dc9207ceedd129b8eb11f2579
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.289
1
+ 1.0.290
@@ -245,6 +245,54 @@ module TencentCloud
245
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
246
  end
247
247
 
248
+ # 通过接口拉取租户/指定成员/部门在指定日期范围内的CRM跟进统计数据
249
+
250
+ # @param request: Request instance for QueryCrmStatistics.
251
+ # @type request: :class:`Tencentcloud::wav::V20210129::QueryCrmStatisticsRequest`
252
+ # @rtype: :class:`Tencentcloud::wav::V20210129::QueryCrmStatisticsResponse`
253
+ def QueryCrmStatistics(request)
254
+ body = send_request('QueryCrmStatistics', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = QueryCrmStatisticsResponse.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
+
272
+ # 通过接口拉取SaaS内C端外部联系人在指定时间范围内的行为事件明细。此接口提供的数据以天为维度,查询的时间范围为[start_time,end_time],即前后均为闭区间,支持的最大查询跨度为365天。
273
+
274
+ # @param request: Request instance for QueryCustomerEventDetailStatistics.
275
+ # @type request: :class:`Tencentcloud::wav::V20210129::QueryCustomerEventDetailStatisticsRequest`
276
+ # @rtype: :class:`Tencentcloud::wav::V20210129::QueryCustomerEventDetailStatisticsResponse`
277
+ def QueryCustomerEventDetailStatistics(request)
278
+ body = send_request('QueryCustomerEventDetailStatistics', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = QueryCustomerEventDetailStatisticsResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
248
296
  # 企业可通过此接口获取录入在企微SaaS平台上的经销商信息。
249
297
 
250
298
  # @param request: Request instance for QueryDealerInfoList.
@@ -317,6 +365,30 @@ module TencentCloud
317
365
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
366
  end
319
367
 
368
+ # 通过接口拉取租户在指定时间范围内的外部联系人添加/删除明细,此接口提供的数据以天为维度,查询的时间范围为[StarTime, EndTime],即前后均为闭区间,支持的最大查询跨度为365天;
369
+
370
+ # @param request: Request instance for QueryExternalUserEventList.
371
+ # @type request: :class:`Tencentcloud::wav::V20210129::QueryExternalUserEventListRequest`
372
+ # @rtype: :class:`Tencentcloud::wav::V20210129::QueryExternalUserEventListResponse`
373
+ def QueryExternalUserEventList(request)
374
+ body = send_request('QueryExternalUserEventList', request.serialize)
375
+ response = JSON.parse(body)
376
+ if response['Response'].key?('Error') == false
377
+ model = QueryExternalUserEventListResponse.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
  # 企业可通过此接口将企业主体对应的外部联系人id转换为乐销车应用主体对应的外部联系人。
321
393
 
322
394
  # @param request: Request instance for QueryExternalUserMappingInfo.
@@ -365,6 +437,30 @@ module TencentCloud
365
437
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
438
  end
367
439
 
440
+ # 通过接口按类型拉取租户当前的素材列表及关键信息
441
+
442
+ # @param request: Request instance for QueryMaterialList.
443
+ # @type request: :class:`Tencentcloud::wav::V20210129::QueryMaterialListRequest`
444
+ # @rtype: :class:`Tencentcloud::wav::V20210129::QueryMaterialListResponse`
445
+ def QueryMaterialList(request)
446
+ body = send_request('QueryMaterialList', request.serialize)
447
+ response = JSON.parse(body)
448
+ if response['Response'].key?('Error') == false
449
+ model = QueryMaterialListResponse.new
450
+ model.deserialize(response['Response'])
451
+ model
452
+ else
453
+ code = response['Response']['Error']['Code']
454
+ message = response['Response']['Error']['Message']
455
+ reqid = response['Response']['RequestId']
456
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
457
+ end
458
+ rescue TencentCloud::Common::TencentCloudSDKException => e
459
+ raise e
460
+ rescue StandardError => e
461
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
462
+ end
463
+
368
464
  # 查询小程序码列表接口
369
465
 
370
466
  # @param request: Request instance for QueryMiniAppCodeList.
@@ -389,6 +485,54 @@ module TencentCloud
389
485
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
486
  end
391
487
 
488
+ # 通过接口拉取SaaS内企业成员在指定时间范围内的行为事件明细。此接口提供的数据以天为维度,查询的时间范围为[start_time,end_time],即前后均为闭区间,支持的最大查询跨度为365天。
489
+
490
+ # @param request: Request instance for QueryStaffEventDetailStatistics.
491
+ # @type request: :class:`Tencentcloud::wav::V20210129::QueryStaffEventDetailStatisticsRequest`
492
+ # @rtype: :class:`Tencentcloud::wav::V20210129::QueryStaffEventDetailStatisticsResponse`
493
+ def QueryStaffEventDetailStatistics(request)
494
+ body = send_request('QueryStaffEventDetailStatistics', request.serialize)
495
+ response = JSON.parse(body)
496
+ if response['Response'].key?('Error') == false
497
+ model = QueryStaffEventDetailStatisticsResponse.new
498
+ model.deserialize(response['Response'])
499
+ model
500
+ else
501
+ code = response['Response']['Error']['Code']
502
+ message = response['Response']['Error']['Message']
503
+ reqid = response['Response']['RequestId']
504
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
505
+ end
506
+ rescue TencentCloud::Common::TencentCloudSDKException => e
507
+ raise e
508
+ rescue StandardError => e
509
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
+ end
511
+
512
+ # 查询企业成员信息列表接口
513
+
514
+ # @param request: Request instance for QueryUserInfoList.
515
+ # @type request: :class:`Tencentcloud::wav::V20210129::QueryUserInfoListRequest`
516
+ # @rtype: :class:`Tencentcloud::wav::V20210129::QueryUserInfoListResponse`
517
+ def QueryUserInfoList(request)
518
+ body = send_request('QueryUserInfoList', request.serialize)
519
+ response = JSON.parse(body)
520
+ if response['Response'].key?('Error') == false
521
+ model = QueryUserInfoListResponse.new
522
+ model.deserialize(response['Response'])
523
+ model
524
+ else
525
+ code = response['Response']['Error']['Code']
526
+ message = response['Response']['Error']['Message']
527
+ reqid = response['Response']['RequestId']
528
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
529
+ end
530
+ rescue TencentCloud::Common::TencentCloudSDKException => e
531
+ raise e
532
+ rescue StandardError => e
533
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
534
+ end
535
+
392
536
  # 企业可通过此接口获取企微SaaS平台上的车系车型信息。
393
537
 
394
538
  # @param request: Request instance for QueryVehicleInfoList.
@@ -407,6 +407,66 @@ module TencentCloud
407
407
  end
408
408
  end
409
409
 
410
+ # 企业成员信息
411
+ class CorpUserInfo < TencentCloud::Common::AbstractModel
412
+ # @param UserId: 企业成员UserId
413
+ # @type UserId: Integer
414
+ # @param UserName: 企业成员在SaaS名片内填写的姓名
415
+ # 注意:此字段可能返回 null,表示取不到有效值。
416
+ # @type UserName: String
417
+ # @param UserOpenId: 企业成员在企微原生通讯录内的id
418
+ # 注意:此字段可能返回 null,表示取不到有效值。
419
+ # @type UserOpenId: String
420
+ # @param DealerId: 成员所属经销商id,可为空
421
+ # 注意:此字段可能返回 null,表示取不到有效值。
422
+ # @type DealerId: Integer
423
+ # @param ShopId: 成员所属门店id,可为空
424
+ # 注意:此字段可能返回 null,表示取不到有效值。
425
+ # @type ShopId: Integer
426
+ # @param Phone: 企业成员手机号
427
+ # 注意:此字段可能返回 null,表示取不到有效值。
428
+ # @type Phone: String
429
+ # @param OrgIds: 成员所属部门id列表,仅返回该应用有查看权限的部门id;成员授权模式下,固定返回根部门id,即固定为1;多个部门使用逗号分割
430
+ # 注意:此字段可能返回 null,表示取不到有效值。
431
+ # @type OrgIds: String
432
+ # @param MainDepartment: 主部门,仅当应用对主部门有查看权限时返回
433
+ # 注意:此字段可能返回 null,表示取不到有效值。
434
+ # @type MainDepartment: String
435
+ # @param IsLeaderInDept: 是否为部门负责人,第三方应用可为空。与orgIds值一一对应,多个部门使用逗号隔开,0-否, 1-是
436
+ # 注意:此字段可能返回 null,表示取不到有效值。
437
+ # @type IsLeaderInDept: String
438
+ # @param Status: 激活状态: 0=已激活,1=已禁用,-1=退出企业"
439
+ # @type Status: Integer
440
+
441
+ attr_accessor :UserId, :UserName, :UserOpenId, :DealerId, :ShopId, :Phone, :OrgIds, :MainDepartment, :IsLeaderInDept, :Status
442
+
443
+ def initialize(userid=nil, username=nil, useropenid=nil, dealerid=nil, shopid=nil, phone=nil, orgids=nil, maindepartment=nil, isleaderindept=nil, status=nil)
444
+ @UserId = userid
445
+ @UserName = username
446
+ @UserOpenId = useropenid
447
+ @DealerId = dealerid
448
+ @ShopId = shopid
449
+ @Phone = phone
450
+ @OrgIds = orgids
451
+ @MainDepartment = maindepartment
452
+ @IsLeaderInDept = isleaderindept
453
+ @Status = status
454
+ end
455
+
456
+ def deserialize(params)
457
+ @UserId = params['UserId']
458
+ @UserName = params['UserName']
459
+ @UserOpenId = params['UserOpenId']
460
+ @DealerId = params['DealerId']
461
+ @ShopId = params['ShopId']
462
+ @Phone = params['Phone']
463
+ @OrgIds = params['OrgIds']
464
+ @MainDepartment = params['MainDepartment']
465
+ @IsLeaderInDept = params['IsLeaderInDept']
466
+ @Status = params['Status']
467
+ end
468
+ end
469
+
410
470
  # CreateChannelCode请求参数结构体
411
471
  class CreateChannelCodeRequest < TencentCloud::Common::AbstractModel
412
472
  # @param Type: 欢迎语类型:0普通欢迎语,1渠道欢迎语
@@ -640,6 +700,94 @@ module TencentCloud
640
700
  end
641
701
  end
642
702
 
703
+ # CRM统计数据响应
704
+ class CrmStatisticsData < TencentCloud::Common::AbstractModel
705
+ # @param LeadCnt: 新增线索
706
+ # @type LeadCnt: Integer
707
+ # @param BuildCnt: 新增建档
708
+ # @type BuildCnt: Integer
709
+ # @param InvitedCnt: 新增到店
710
+ # @type InvitedCnt: Integer
711
+ # @param OrderedCnt: 新增下订
712
+ # @type OrderedCnt: Integer
713
+ # @param DeliveredCnt: 新增成交
714
+ # @type DeliveredCnt: Integer
715
+ # @param DefeatCnt: 新增战败
716
+ # @type DefeatCnt: Integer
717
+ # @param NewContactCnt: 新增好友
718
+ # @type NewContactCnt: Integer
719
+ # @param StatisticalTime: 统计时间, 单位:天
720
+ # @type StatisticalTime: String
721
+
722
+ attr_accessor :LeadCnt, :BuildCnt, :InvitedCnt, :OrderedCnt, :DeliveredCnt, :DefeatCnt, :NewContactCnt, :StatisticalTime
723
+
724
+ def initialize(leadcnt=nil, buildcnt=nil, invitedcnt=nil, orderedcnt=nil, deliveredcnt=nil, defeatcnt=nil, newcontactcnt=nil, statisticaltime=nil)
725
+ @LeadCnt = leadcnt
726
+ @BuildCnt = buildcnt
727
+ @InvitedCnt = invitedcnt
728
+ @OrderedCnt = orderedcnt
729
+ @DeliveredCnt = deliveredcnt
730
+ @DefeatCnt = defeatcnt
731
+ @NewContactCnt = newcontactcnt
732
+ @StatisticalTime = statisticaltime
733
+ end
734
+
735
+ def deserialize(params)
736
+ @LeadCnt = params['LeadCnt']
737
+ @BuildCnt = params['BuildCnt']
738
+ @InvitedCnt = params['InvitedCnt']
739
+ @OrderedCnt = params['OrderedCnt']
740
+ @DeliveredCnt = params['DeliveredCnt']
741
+ @DefeatCnt = params['DefeatCnt']
742
+ @NewContactCnt = params['NewContactCnt']
743
+ @StatisticalTime = params['StatisticalTime']
744
+ end
745
+ end
746
+
747
+ # 外部联系人SaaS使用明细数据
748
+ class CustomerActionEventDetail < TencentCloud::Common::AbstractModel
749
+ # @param EventCode: 事件码
750
+ # @type EventCode: String
751
+ # @param EventType: 事件类型
752
+ # @type EventType: Integer
753
+ # @param EventSource: 事件来源
754
+ # @type EventSource: Integer
755
+ # @param ExternalUserId: 外部联系人id
756
+ # @type ExternalUserId: String
757
+ # @param SalesId: 销售顾问id
758
+ # @type SalesId: Integer
759
+ # @param MaterialType: 素材类型
760
+ # @type MaterialType: Integer
761
+ # @param MaterialId: 素材编号id
762
+ # @type MaterialId: Integer
763
+ # @param EventTime: 事件上报时间,单位:秒
764
+ # @type EventTime: Integer
765
+
766
+ attr_accessor :EventCode, :EventType, :EventSource, :ExternalUserId, :SalesId, :MaterialType, :MaterialId, :EventTime
767
+
768
+ def initialize(eventcode=nil, eventtype=nil, eventsource=nil, externaluserid=nil, salesid=nil, materialtype=nil, materialid=nil, eventtime=nil)
769
+ @EventCode = eventcode
770
+ @EventType = eventtype
771
+ @EventSource = eventsource
772
+ @ExternalUserId = externaluserid
773
+ @SalesId = salesid
774
+ @MaterialType = materialtype
775
+ @MaterialId = materialid
776
+ @EventTime = eventtime
777
+ end
778
+
779
+ def deserialize(params)
780
+ @EventCode = params['EventCode']
781
+ @EventType = params['EventType']
782
+ @EventSource = params['EventSource']
783
+ @ExternalUserId = params['ExternalUserId']
784
+ @SalesId = params['SalesId']
785
+ @MaterialType = params['MaterialType']
786
+ @MaterialId = params['MaterialId']
787
+ @EventTime = params['EventTime']
788
+ end
789
+ end
790
+
643
791
  # 经销商信息
644
792
  class DealerInfo < TencentCloud::Common::AbstractModel
645
793
  # @param DealerId: 企微SaaS平台经销商id
@@ -759,6 +907,34 @@ module TencentCloud
759
907
  end
760
908
  end
761
909
 
910
+ # 外部联系人事件信息
911
+ class ExternalUserEventInfo < TencentCloud::Common::AbstractModel
912
+ # @param EventCode: 事件编码, 添加外部联系人(ADD_EXTERNAL_CUSTOMER)/成员删除外部联系人(DELETE_EXTERNAL_CUSTOMER)/外部联系人删除成员(DELETE_FOLLOW_USER)
913
+ # @type EventCode: String
914
+ # @param ExternalUserId: 外部联系人id
915
+ # @type ExternalUserId: String
916
+ # @param SalesId: 企微SaaS的成员id
917
+ # @type SalesId: String
918
+ # @param EventTime: 事件上报时间戳,单位:秒
919
+ # @type EventTime: Integer
920
+
921
+ attr_accessor :EventCode, :ExternalUserId, :SalesId, :EventTime
922
+
923
+ def initialize(eventcode=nil, externaluserid=nil, salesid=nil, eventtime=nil)
924
+ @EventCode = eventcode
925
+ @ExternalUserId = externaluserid
926
+ @SalesId = salesid
927
+ @EventTime = eventtime
928
+ end
929
+
930
+ def deserialize(params)
931
+ @EventCode = params['EventCode']
932
+ @ExternalUserId = params['ExternalUserId']
933
+ @SalesId = params['SalesId']
934
+ @EventTime = params['EventTime']
935
+ end
936
+ end
937
+
762
938
  # 外部联系人映射信息
763
939
  class ExternalUserMappingInfo < TencentCloud::Common::AbstractModel
764
940
  # @param CorpExternalUserId: 企业主体对应的外部联系人userId
@@ -932,6 +1108,31 @@ module TencentCloud
932
1108
  end
933
1109
  end
934
1110
 
1111
+ # 素材信息响应体
1112
+ class MaterialInfo < TencentCloud::Common::AbstractModel
1113
+ # @param MaterialId: 素材id
1114
+ # @type MaterialId: Integer
1115
+ # @param MaterialName: 素材名称
1116
+ # 注意:此字段可能返回 null,表示取不到有效值。
1117
+ # @type MaterialName: String
1118
+ # @param Status: 素材状态, -1: 删除 0: 启用 1: 禁用
1119
+ # @type Status: Integer
1120
+
1121
+ attr_accessor :MaterialId, :MaterialName, :Status
1122
+
1123
+ def initialize(materialid=nil, materialname=nil, status=nil)
1124
+ @MaterialId = materialid
1125
+ @MaterialName = materialname
1126
+ @Status = status
1127
+ end
1128
+
1129
+ def deserialize(params)
1130
+ @MaterialId = params['MaterialId']
1131
+ @MaterialName = params['MaterialName']
1132
+ @Status = params['Status']
1133
+ end
1134
+ end
1135
+
935
1136
  # 小程序码信息
936
1137
  class MiniAppCodeInfo < TencentCloud::Common::AbstractModel
937
1138
  # @param Id: 主键id
@@ -1299,6 +1500,136 @@ module TencentCloud
1299
1500
  end
1300
1501
  end
1301
1502
 
1503
+ # QueryCrmStatistics请求参数结构体
1504
+ class QueryCrmStatisticsRequest < TencentCloud::Common::AbstractModel
1505
+ # @param BeginTime: 查询开始时间, 单位秒
1506
+ # @type BeginTime: Integer
1507
+ # @param EndTime: 查询结束时间, 单位秒
1508
+ # @type EndTime: Integer
1509
+ # @param Cursor: 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填
1510
+ # @type Cursor: String
1511
+ # @param Limit: 返回的最大记录数,整型,最大值100,默认值50,超过最大值时取最大值
1512
+ # @type Limit: Integer
1513
+ # @param SalesId: 请求的企业成员id,为空时默认全租户
1514
+ # @type SalesId: String
1515
+ # @param OrgId: 请求的部门id,为空时默认全租户
1516
+ # @type OrgId: Integer
1517
+
1518
+ attr_accessor :BeginTime, :EndTime, :Cursor, :Limit, :SalesId, :OrgId
1519
+
1520
+ def initialize(begintime=nil, endtime=nil, cursor=nil, limit=nil, salesid=nil, orgid=nil)
1521
+ @BeginTime = begintime
1522
+ @EndTime = endtime
1523
+ @Cursor = cursor
1524
+ @Limit = limit
1525
+ @SalesId = salesid
1526
+ @OrgId = orgid
1527
+ end
1528
+
1529
+ def deserialize(params)
1530
+ @BeginTime = params['BeginTime']
1531
+ @EndTime = params['EndTime']
1532
+ @Cursor = params['Cursor']
1533
+ @Limit = params['Limit']
1534
+ @SalesId = params['SalesId']
1535
+ @OrgId = params['OrgId']
1536
+ end
1537
+ end
1538
+
1539
+ # QueryCrmStatistics返回参数结构体
1540
+ class QueryCrmStatisticsResponse < TencentCloud::Common::AbstractModel
1541
+ # @param NextCursor: 分页游标,再下次请求时填写以获取之后分页的记录,如果已经没有更多的数据则返回空
1542
+ # 注意:此字段可能返回 null,表示取不到有效值。
1543
+ # @type NextCursor: String
1544
+ # @param PageData: CRM统计响应数据
1545
+ # 注意:此字段可能返回 null,表示取不到有效值。
1546
+ # @type PageData: Array
1547
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1548
+ # @type RequestId: String
1549
+
1550
+ attr_accessor :NextCursor, :PageData, :RequestId
1551
+
1552
+ def initialize(nextcursor=nil, pagedata=nil, requestid=nil)
1553
+ @NextCursor = nextcursor
1554
+ @PageData = pagedata
1555
+ @RequestId = requestid
1556
+ end
1557
+
1558
+ def deserialize(params)
1559
+ @NextCursor = params['NextCursor']
1560
+ unless params['PageData'].nil?
1561
+ @PageData = []
1562
+ params['PageData'].each do |i|
1563
+ crmstatisticsdata_tmp = CrmStatisticsData.new
1564
+ crmstatisticsdata_tmp.deserialize(i)
1565
+ @PageData << crmstatisticsdata_tmp
1566
+ end
1567
+ end
1568
+ @RequestId = params['RequestId']
1569
+ end
1570
+ end
1571
+
1572
+ # QueryCustomerEventDetailStatistics请求参数结构体
1573
+ class QueryCustomerEventDetailStatisticsRequest < TencentCloud::Common::AbstractModel
1574
+ # @param BeginTime: 查询开始时间, 单位秒
1575
+ # @type BeginTime: Integer
1576
+ # @param EndTime: 查询结束时间, 单位秒
1577
+ # @type EndTime: Integer
1578
+ # @param Cursor: 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填
1579
+ # @type Cursor: String
1580
+ # @param Limit: 返回的最大记录数,整型,最大值100,默认值50,超过最大值时取最大值
1581
+ # @type Limit: Integer
1582
+
1583
+ attr_accessor :BeginTime, :EndTime, :Cursor, :Limit
1584
+
1585
+ def initialize(begintime=nil, endtime=nil, cursor=nil, limit=nil)
1586
+ @BeginTime = begintime
1587
+ @EndTime = endtime
1588
+ @Cursor = cursor
1589
+ @Limit = limit
1590
+ end
1591
+
1592
+ def deserialize(params)
1593
+ @BeginTime = params['BeginTime']
1594
+ @EndTime = params['EndTime']
1595
+ @Cursor = params['Cursor']
1596
+ @Limit = params['Limit']
1597
+ end
1598
+ end
1599
+
1600
+ # QueryCustomerEventDetailStatistics返回参数结构体
1601
+ class QueryCustomerEventDetailStatisticsResponse < TencentCloud::Common::AbstractModel
1602
+ # @param NextCursor: 分页游标,再下次请求时填写以获取之后分页的记录,如果已经没有更多的数据则返回空
1603
+ # 注意:此字段可能返回 null,表示取不到有效值。
1604
+ # @type NextCursor: String
1605
+ # @param PageData: 外部联系人SaaS使用明细统计响应数据
1606
+ # 注意:此字段可能返回 null,表示取不到有效值。
1607
+ # @type PageData: Array
1608
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1609
+ # @type RequestId: String
1610
+
1611
+ attr_accessor :NextCursor, :PageData, :RequestId
1612
+
1613
+ def initialize(nextcursor=nil, pagedata=nil, requestid=nil)
1614
+ @NextCursor = nextcursor
1615
+ @PageData = pagedata
1616
+ @RequestId = requestid
1617
+ end
1618
+
1619
+ def deserialize(params)
1620
+ @NextCursor = params['NextCursor']
1621
+ unless params['PageData'].nil?
1622
+ @PageData = []
1623
+ params['PageData'].each do |i|
1624
+ customeractioneventdetail_tmp = CustomerActionEventDetail.new
1625
+ customeractioneventdetail_tmp.deserialize(i)
1626
+ @PageData << customeractioneventdetail_tmp
1627
+ end
1628
+ end
1629
+ @RequestId = params['RequestId']
1630
+ end
1631
+ end
1632
+
1302
1633
  # QueryDealerInfoList请求参数结构体
1303
1634
  class QueryDealerInfoListRequest < TencentCloud::Common::AbstractModel
1304
1635
  # @param Cursor: 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填
@@ -1475,6 +1806,67 @@ module TencentCloud
1475
1806
  end
1476
1807
  end
1477
1808
 
1809
+ # QueryExternalUserEventList请求参数结构体
1810
+ class QueryExternalUserEventListRequest < TencentCloud::Common::AbstractModel
1811
+ # @param BeginTime: 查询开始时间, 单位秒
1812
+ # @type BeginTime: Integer
1813
+ # @param EndTime: 查询结束时间, 单位秒
1814
+ # @type EndTime: Integer
1815
+ # @param Cursor: 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填
1816
+ # @type Cursor: String
1817
+ # @param Limit: 返回的最大记录数,整型,最大值100,默认值50,超过最大值时取最大值
1818
+ # @type Limit: Integer
1819
+
1820
+ attr_accessor :BeginTime, :EndTime, :Cursor, :Limit
1821
+
1822
+ def initialize(begintime=nil, endtime=nil, cursor=nil, limit=nil)
1823
+ @BeginTime = begintime
1824
+ @EndTime = endtime
1825
+ @Cursor = cursor
1826
+ @Limit = limit
1827
+ end
1828
+
1829
+ def deserialize(params)
1830
+ @BeginTime = params['BeginTime']
1831
+ @EndTime = params['EndTime']
1832
+ @Cursor = params['Cursor']
1833
+ @Limit = params['Limit']
1834
+ end
1835
+ end
1836
+
1837
+ # QueryExternalUserEventList返回参数结构体
1838
+ class QueryExternalUserEventListResponse < TencentCloud::Common::AbstractModel
1839
+ # @param NextCursor: 分页游标,再下次请求时填写以获取之后分页的记录,如果已经没有更多的数据则返回空
1840
+ # 注意:此字段可能返回 null,表示取不到有效值。
1841
+ # @type NextCursor: String
1842
+ # @param PageData: 外部联系人事件信息响应数据
1843
+ # 注意:此字段可能返回 null,表示取不到有效值。
1844
+ # @type PageData: Array
1845
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1846
+ # @type RequestId: String
1847
+
1848
+ attr_accessor :NextCursor, :PageData, :RequestId
1849
+
1850
+ def initialize(nextcursor=nil, pagedata=nil, requestid=nil)
1851
+ @NextCursor = nextcursor
1852
+ @PageData = pagedata
1853
+ @RequestId = requestid
1854
+ end
1855
+
1856
+ def deserialize(params)
1857
+ @NextCursor = params['NextCursor']
1858
+ unless params['PageData'].nil?
1859
+ @PageData = []
1860
+ params['PageData'].each do |i|
1861
+ externalusereventinfo_tmp = ExternalUserEventInfo.new
1862
+ externalusereventinfo_tmp.deserialize(i)
1863
+ @PageData << externalusereventinfo_tmp
1864
+ end
1865
+ end
1866
+ @RequestId = params['RequestId']
1867
+ end
1868
+ end
1869
+
1478
1870
  # QueryExternalUserMappingInfo请求参数结构体
1479
1871
  class QueryExternalUserMappingInfoRequest < TencentCloud::Common::AbstractModel
1480
1872
  # @param CorpExternalUserIdList: 企业主体对应的外部联系人id列表,列表长度限制最大为50。
@@ -1559,6 +1951,63 @@ module TencentCloud
1559
1951
  end
1560
1952
  end
1561
1953
 
1954
+ # QueryMaterialList请求参数结构体
1955
+ class QueryMaterialListRequest < TencentCloud::Common::AbstractModel
1956
+ # @param MaterialType: 素材类型:0-图片,1-视频,3-文章,10-车型,11-名片
1957
+ # @type MaterialType: Integer
1958
+ # @param Cursor: 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填
1959
+ # @type Cursor: String
1960
+ # @param Limit: 返回的最大记录数,整型,最大值100,默认值50,超过最大值时取最大值
1961
+ # @type Limit: Integer
1962
+
1963
+ attr_accessor :MaterialType, :Cursor, :Limit
1964
+
1965
+ def initialize(materialtype=nil, cursor=nil, limit=nil)
1966
+ @MaterialType = materialtype
1967
+ @Cursor = cursor
1968
+ @Limit = limit
1969
+ end
1970
+
1971
+ def deserialize(params)
1972
+ @MaterialType = params['MaterialType']
1973
+ @Cursor = params['Cursor']
1974
+ @Limit = params['Limit']
1975
+ end
1976
+ end
1977
+
1978
+ # QueryMaterialList返回参数结构体
1979
+ class QueryMaterialListResponse < TencentCloud::Common::AbstractModel
1980
+ # @param NextCursor: 分页游标,再下次请求时填写以获取之后分页的记录,如果已经没有更多的数据则返回空
1981
+ # 注意:此字段可能返回 null,表示取不到有效值。
1982
+ # @type NextCursor: String
1983
+ # @param PageData: 企业素材列表响应数据
1984
+ # 注意:此字段可能返回 null,表示取不到有效值。
1985
+ # @type PageData: Array
1986
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1987
+ # @type RequestId: String
1988
+
1989
+ attr_accessor :NextCursor, :PageData, :RequestId
1990
+
1991
+ def initialize(nextcursor=nil, pagedata=nil, requestid=nil)
1992
+ @NextCursor = nextcursor
1993
+ @PageData = pagedata
1994
+ @RequestId = requestid
1995
+ end
1996
+
1997
+ def deserialize(params)
1998
+ @NextCursor = params['NextCursor']
1999
+ unless params['PageData'].nil?
2000
+ @PageData = []
2001
+ params['PageData'].each do |i|
2002
+ materialinfo_tmp = MaterialInfo.new
2003
+ materialinfo_tmp.deserialize(i)
2004
+ @PageData << materialinfo_tmp
2005
+ end
2006
+ end
2007
+ @RequestId = params['RequestId']
2008
+ end
2009
+ end
2010
+
1562
2011
  # QueryMiniAppCodeList请求参数结构体
1563
2012
  class QueryMiniAppCodeListRequest < TencentCloud::Common::AbstractModel
1564
2013
  # @param Cursor: 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填
@@ -1612,6 +2061,120 @@ module TencentCloud
1612
2061
  end
1613
2062
  end
1614
2063
 
2064
+ # QueryStaffEventDetailStatistics请求参数结构体
2065
+ class QueryStaffEventDetailStatisticsRequest < TencentCloud::Common::AbstractModel
2066
+ # @param BeginTime: 查询开始时间, 单位秒
2067
+ # @type BeginTime: Integer
2068
+ # @param EndTime: 查询结束时间, 单位秒
2069
+ # @type EndTime: Integer
2070
+ # @param Cursor: 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填
2071
+ # @type Cursor: String
2072
+ # @param Limit: 返回的最大记录数,整型,最大值100,默认值50,超过最大值时取最大值
2073
+ # @type Limit: Integer
2074
+
2075
+ attr_accessor :BeginTime, :EndTime, :Cursor, :Limit
2076
+
2077
+ def initialize(begintime=nil, endtime=nil, cursor=nil, limit=nil)
2078
+ @BeginTime = begintime
2079
+ @EndTime = endtime
2080
+ @Cursor = cursor
2081
+ @Limit = limit
2082
+ end
2083
+
2084
+ def deserialize(params)
2085
+ @BeginTime = params['BeginTime']
2086
+ @EndTime = params['EndTime']
2087
+ @Cursor = params['Cursor']
2088
+ @Limit = params['Limit']
2089
+ end
2090
+ end
2091
+
2092
+ # QueryStaffEventDetailStatistics返回参数结构体
2093
+ class QueryStaffEventDetailStatisticsResponse < TencentCloud::Common::AbstractModel
2094
+ # @param NextCursor: 分页游标,再下次请求时填写以获取之后分页的记录,如果已经没有更多的数据则返回空
2095
+ # 注意:此字段可能返回 null,表示取不到有效值。
2096
+ # @type NextCursor: String
2097
+ # @param PageData: 企业成员SaaS使用明细统计响应数据
2098
+ # 注意:此字段可能返回 null,表示取不到有效值。
2099
+ # @type PageData: Array
2100
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2101
+ # @type RequestId: String
2102
+
2103
+ attr_accessor :NextCursor, :PageData, :RequestId
2104
+
2105
+ def initialize(nextcursor=nil, pagedata=nil, requestid=nil)
2106
+ @NextCursor = nextcursor
2107
+ @PageData = pagedata
2108
+ @RequestId = requestid
2109
+ end
2110
+
2111
+ def deserialize(params)
2112
+ @NextCursor = params['NextCursor']
2113
+ unless params['PageData'].nil?
2114
+ @PageData = []
2115
+ params['PageData'].each do |i|
2116
+ salesactioneventdetail_tmp = SalesActionEventDetail.new
2117
+ salesactioneventdetail_tmp.deserialize(i)
2118
+ @PageData << salesactioneventdetail_tmp
2119
+ end
2120
+ end
2121
+ @RequestId = params['RequestId']
2122
+ end
2123
+ end
2124
+
2125
+ # QueryUserInfoList请求参数结构体
2126
+ class QueryUserInfoListRequest < TencentCloud::Common::AbstractModel
2127
+ # @param Cursor: 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填
2128
+ # @type Cursor: String
2129
+ # @param Limit: 返回的最大记录数,整型,最大值100,默认值50,超过最大值时取最大值
2130
+ # @type Limit: Integer
2131
+
2132
+ attr_accessor :Cursor, :Limit
2133
+
2134
+ def initialize(cursor=nil, limit=nil)
2135
+ @Cursor = cursor
2136
+ @Limit = limit
2137
+ end
2138
+
2139
+ def deserialize(params)
2140
+ @Cursor = params['Cursor']
2141
+ @Limit = params['Limit']
2142
+ end
2143
+ end
2144
+
2145
+ # QueryUserInfoList返回参数结构体
2146
+ class QueryUserInfoListResponse < TencentCloud::Common::AbstractModel
2147
+ # @param NextCursor: 分页游标,再下次请求时填写以获取之后分页的记录,如果已经没有更多的数据则返回空
2148
+ # 注意:此字段可能返回 null,表示取不到有效值。
2149
+ # @type NextCursor: String
2150
+ # @param PageData: 企业成员信息列表响应数据
2151
+ # 注意:此字段可能返回 null,表示取不到有效值。
2152
+ # @type PageData: Array
2153
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2154
+ # @type RequestId: String
2155
+
2156
+ attr_accessor :NextCursor, :PageData, :RequestId
2157
+
2158
+ def initialize(nextcursor=nil, pagedata=nil, requestid=nil)
2159
+ @NextCursor = nextcursor
2160
+ @PageData = pagedata
2161
+ @RequestId = requestid
2162
+ end
2163
+
2164
+ def deserialize(params)
2165
+ @NextCursor = params['NextCursor']
2166
+ unless params['PageData'].nil?
2167
+ @PageData = []
2168
+ params['PageData'].each do |i|
2169
+ corpuserinfo_tmp = CorpUserInfo.new
2170
+ corpuserinfo_tmp.deserialize(i)
2171
+ @PageData << corpuserinfo_tmp
2172
+ end
2173
+ end
2174
+ @RequestId = params['RequestId']
2175
+ end
2176
+ end
2177
+
1615
2178
  # QueryVehicleInfoList请求参数结构体
1616
2179
  class QueryVehicleInfoListRequest < TencentCloud::Common::AbstractModel
1617
2180
  # @param Cursor: 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填
@@ -1670,6 +2233,46 @@ module TencentCloud
1670
2233
  end
1671
2234
  end
1672
2235
 
2236
+ # 企业成员SaaS使用明细数据
2237
+ class SalesActionEventDetail < TencentCloud::Common::AbstractModel
2238
+ # @param EventCode: 事件码
2239
+ # @type EventCode: String
2240
+ # @param EventType: 事件类型
2241
+ # @type EventType: Integer
2242
+ # @param EventSource: 事件来源
2243
+ # @type EventSource: Integer
2244
+ # @param SalesId: 销售顾问id
2245
+ # @type SalesId: Integer
2246
+ # @param MaterialType: 素材类型
2247
+ # @type MaterialType: Integer
2248
+ # @param MaterialId: 素材编号id
2249
+ # @type MaterialId: Integer
2250
+ # @param EventTime: 事件上报时间,单位:秒
2251
+ # @type EventTime: Integer
2252
+
2253
+ attr_accessor :EventCode, :EventType, :EventSource, :SalesId, :MaterialType, :MaterialId, :EventTime
2254
+
2255
+ def initialize(eventcode=nil, eventtype=nil, eventsource=nil, salesid=nil, materialtype=nil, materialid=nil, eventtime=nil)
2256
+ @EventCode = eventcode
2257
+ @EventType = eventtype
2258
+ @EventSource = eventsource
2259
+ @SalesId = salesid
2260
+ @MaterialType = materialtype
2261
+ @MaterialId = materialid
2262
+ @EventTime = eventtime
2263
+ end
2264
+
2265
+ def deserialize(params)
2266
+ @EventCode = params['EventCode']
2267
+ @EventType = params['EventType']
2268
+ @EventSource = params['EventSource']
2269
+ @SalesId = params['SalesId']
2270
+ @MaterialType = params['MaterialType']
2271
+ @MaterialId = params['MaterialId']
2272
+ @EventTime = params['EventTime']
2273
+ end
2274
+ end
2275
+
1673
2276
  # 标签详细信息
1674
2277
  class TagDetailInfo < TencentCloud::Common::AbstractModel
1675
2278
  # @param TagName: 标签名称
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.289
4
+ version: 1.0.290
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-03-30 00:00:00.000000000 Z
11
+ date: 2022-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common