tencentcloud-sdk-ess 3.0.804 → 3.0.805
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201111/client.rb +24 -0
- data/lib/v20201111/models.rb +176 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87de2b3b837fdfaa3b465fc5b5851fdc5535f5ee
|
4
|
+
data.tar.gz: daabc9829040af74cfa3f2eaf53802bd8da3c4ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da81cfa3499628143a2b5e011d74d080410e9577ae1272f4d164aea31bdac01eca88996bc46a152d92aa4ce751e747dc468b11990f9773321f98e7ed5607da35
|
7
|
+
data.tar.gz: 6e979886af83b4ec7e08ca40a76e688a903e0b7db770d87d36b756b1038071aa2b6c96761d0d80b59569b629e660edc1be4747a5ee12ad17c58e563726461118
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.805
|
data/lib/v20201111/client.rb
CHANGED
@@ -1574,6 +1574,30 @@ module TencentCloud
|
|
1574
1574
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1575
1575
|
end
|
1576
1576
|
|
1577
|
+
# 通过此接口(DescribeBillUsage)查询该企业的套餐套餐使用情况。
|
1578
|
+
|
1579
|
+
# @param request: Request instance for DescribeBillUsage.
|
1580
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::DescribeBillUsageRequest`
|
1581
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::DescribeBillUsageResponse`
|
1582
|
+
def DescribeBillUsage(request)
|
1583
|
+
body = send_request('DescribeBillUsage', request.serialize)
|
1584
|
+
response = JSON.parse(body)
|
1585
|
+
if response['Response'].key?('Error') == false
|
1586
|
+
model = DescribeBillUsageResponse.new
|
1587
|
+
model.deserialize(response['Response'])
|
1588
|
+
model
|
1589
|
+
else
|
1590
|
+
code = response['Response']['Error']['Code']
|
1591
|
+
message = response['Response']['Error']['Message']
|
1592
|
+
reqid = response['Response']['RequestId']
|
1593
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1594
|
+
end
|
1595
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1596
|
+
raise e
|
1597
|
+
rescue StandardError => e
|
1598
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1599
|
+
end
|
1600
|
+
|
1577
1601
|
# 通过此接口(DescribeBillUsageDetail)查询该企业的套餐消耗详情。
|
1578
1602
|
|
1579
1603
|
# @param request: Request instance for DescribeBillUsageDetail.
|
data/lib/v20201111/models.rb
CHANGED
@@ -5590,6 +5590,73 @@ module TencentCloud
|
|
5590
5590
|
end
|
5591
5591
|
end
|
5592
5592
|
|
5593
|
+
# DescribeBillUsage请求参数结构体
|
5594
|
+
class DescribeBillUsageRequest < TencentCloud::Common::AbstractModel
|
5595
|
+
# @param StartTime: 查询开始时间字符串,格式为yyyymmdd,时间跨度不能大于90天
|
5596
|
+
# @type StartTime: String
|
5597
|
+
# @param EndTime: 查询结束时间字符串,格式为yyyymmdd,时间跨度不能大于90天
|
5598
|
+
# @type EndTime: String
|
5599
|
+
# @param QuotaType: 查询的套餐类型 (选填 )不传则查询所有套餐;目前支持:<ul><li>**CloudEnterprise**: 企业版合同</li><li>**SingleSignature**: 单方签章</li><li>**CloudProve**: 签署报告</li><li>**CloudOnlineSign**: 腾讯会议在线签约</li><li>**ChannelWeCard**: 微工卡</li><li>**SignFlow**: 合同套餐</li><li>**SignFace**: 签署意愿(人脸识别)</li><li>**SignPassword**: 签署意愿(密码)</li><li>**SignSMS**: 签署意愿(短信)</li><li>**PersonalEssAuth**: 签署人实名(腾讯电子签认证)</li><li>**PersonalThirdAuth**: 签署人实名(信任第三方认证)</li><li>**OrgEssAuth**: 签署企业实名</li><li>**FlowNotify**: 短信通知</li><li>**AuthService**: 企业工商信息查询</li></ul>
|
5600
|
+
# @type QuotaType: String
|
5601
|
+
# @param DisplaySubEnterprise: 是否展示集团子企业的明细,默认否
|
5602
|
+
# @type DisplaySubEnterprise: Boolean
|
5603
|
+
|
5604
|
+
attr_accessor :StartTime, :EndTime, :QuotaType, :DisplaySubEnterprise
|
5605
|
+
|
5606
|
+
def initialize(starttime=nil, endtime=nil, quotatype=nil, displaysubenterprise=nil)
|
5607
|
+
@StartTime = starttime
|
5608
|
+
@EndTime = endtime
|
5609
|
+
@QuotaType = quotatype
|
5610
|
+
@DisplaySubEnterprise = displaysubenterprise
|
5611
|
+
end
|
5612
|
+
|
5613
|
+
def deserialize(params)
|
5614
|
+
@StartTime = params['StartTime']
|
5615
|
+
@EndTime = params['EndTime']
|
5616
|
+
@QuotaType = params['QuotaType']
|
5617
|
+
@DisplaySubEnterprise = params['DisplaySubEnterprise']
|
5618
|
+
end
|
5619
|
+
end
|
5620
|
+
|
5621
|
+
# DescribeBillUsage返回参数结构体
|
5622
|
+
class DescribeBillUsageResponse < TencentCloud::Common::AbstractModel
|
5623
|
+
# @param Summary: 企业套餐余额及使用情况
|
5624
|
+
# @type Summary: Array
|
5625
|
+
# @param SubOrgSummary: 集团子企业套餐使用情况
|
5626
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5627
|
+
# @type SubOrgSummary: Array
|
5628
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5629
|
+
# @type RequestId: String
|
5630
|
+
|
5631
|
+
attr_accessor :Summary, :SubOrgSummary, :RequestId
|
5632
|
+
|
5633
|
+
def initialize(summary=nil, suborgsummary=nil, requestid=nil)
|
5634
|
+
@Summary = summary
|
5635
|
+
@SubOrgSummary = suborgsummary
|
5636
|
+
@RequestId = requestid
|
5637
|
+
end
|
5638
|
+
|
5639
|
+
def deserialize(params)
|
5640
|
+
unless params['Summary'].nil?
|
5641
|
+
@Summary = []
|
5642
|
+
params['Summary'].each do |i|
|
5643
|
+
orgbillsummary_tmp = OrgBillSummary.new
|
5644
|
+
orgbillsummary_tmp.deserialize(i)
|
5645
|
+
@Summary << orgbillsummary_tmp
|
5646
|
+
end
|
5647
|
+
end
|
5648
|
+
unless params['SubOrgSummary'].nil?
|
5649
|
+
@SubOrgSummary = []
|
5650
|
+
params['SubOrgSummary'].each do |i|
|
5651
|
+
suborgbillsummary_tmp = SubOrgBillSummary.new
|
5652
|
+
suborgbillsummary_tmp.deserialize(i)
|
5653
|
+
@SubOrgSummary << suborgbillsummary_tmp
|
5654
|
+
end
|
5655
|
+
end
|
5656
|
+
@RequestId = params['RequestId']
|
5657
|
+
end
|
5658
|
+
end
|
5659
|
+
|
5593
5660
|
# DescribeCancelFlowsTask请求参数结构体
|
5594
5661
|
class DescribeCancelFlowsTaskRequest < TencentCloud::Common::AbstractModel
|
5595
5662
|
# @param Operator: 执行本接口操作的员工信息。
|
@@ -9523,6 +9590,51 @@ module TencentCloud
|
|
9523
9590
|
end
|
9524
9591
|
end
|
9525
9592
|
|
9593
|
+
# 企业套餐余额情况
|
9594
|
+
class OrgBillSummary < TencentCloud::Common::AbstractModel
|
9595
|
+
# @param Total: 套餐总数
|
9596
|
+
# @type Total: Integer
|
9597
|
+
# @param Used: 套餐使用数
|
9598
|
+
# @type Used: Integer
|
9599
|
+
# @param Available: 套餐剩余数
|
9600
|
+
# @type Available: Integer
|
9601
|
+
# @param QuotaType: 套餐类型
|
9602
|
+
# 对应关系如下:
|
9603
|
+
# <ul>
|
9604
|
+
# <li>**CloudEnterprise**: 企业版合同</li>
|
9605
|
+
# <li>**SingleSignature**: 单方签章</li>
|
9606
|
+
# <li>**CloudProve**: 签署报告</li>
|
9607
|
+
# <li>**CloudOnlineSign**: 腾讯会议在线签约</li>
|
9608
|
+
# <li>**ChannelWeCard**: 微工卡</li>
|
9609
|
+
# <li>**SignFlow**: 合同套餐</li>
|
9610
|
+
# <li>**SignFace**: 签署意愿(人脸识别)</li>
|
9611
|
+
# <li>**SignPassword**: 签署意愿(密码)</li>
|
9612
|
+
# <li>**SignSMS**: 签署意愿(短信)</li>
|
9613
|
+
# <li>**PersonalEssAuth**: 签署人实名(腾讯电子签认证)</li>
|
9614
|
+
# <li>**PersonalThirdAuth**: 签署人实名(信任第三方认证)</li>
|
9615
|
+
# <li>**OrgEssAuth**: 签署企业实名</li>
|
9616
|
+
# <li>**FlowNotify**: 短信通知</li>
|
9617
|
+
# <li>**AuthService**: 企业工商信息查询</li>
|
9618
|
+
# </ul>
|
9619
|
+
# @type QuotaType: String
|
9620
|
+
|
9621
|
+
attr_accessor :Total, :Used, :Available, :QuotaType
|
9622
|
+
|
9623
|
+
def initialize(total=nil, used=nil, available=nil, quotatype=nil)
|
9624
|
+
@Total = total
|
9625
|
+
@Used = used
|
9626
|
+
@Available = available
|
9627
|
+
@QuotaType = quotatype
|
9628
|
+
end
|
9629
|
+
|
9630
|
+
def deserialize(params)
|
9631
|
+
@Total = params['Total']
|
9632
|
+
@Used = params['Used']
|
9633
|
+
@Available = params['Available']
|
9634
|
+
@QuotaType = params['QuotaType']
|
9635
|
+
end
|
9636
|
+
end
|
9637
|
+
|
9526
9638
|
# 机构信息
|
9527
9639
|
class OrganizationInfo < TencentCloud::Common::AbstractModel
|
9528
9640
|
# @param OrganizationId: 机构在平台的编号,内部字段,暂未开放
|
@@ -10438,6 +10550,70 @@ module TencentCloud
|
|
10438
10550
|
end
|
10439
10551
|
end
|
10440
10552
|
|
10553
|
+
# 子企业套餐使用情况
|
10554
|
+
class SubOrgBillSummary < TencentCloud::Common::AbstractModel
|
10555
|
+
# @param OrganizationName: 子企业名称
|
10556
|
+
# @type OrganizationName: String
|
10557
|
+
# @param Usage:
|
10558
|
+
# @type Usage: Array
|
10559
|
+
|
10560
|
+
attr_accessor :OrganizationName, :Usage
|
10561
|
+
|
10562
|
+
def initialize(organizationname=nil, usage=nil)
|
10563
|
+
@OrganizationName = organizationname
|
10564
|
+
@Usage = usage
|
10565
|
+
end
|
10566
|
+
|
10567
|
+
def deserialize(params)
|
10568
|
+
@OrganizationName = params['OrganizationName']
|
10569
|
+
unless params['Usage'].nil?
|
10570
|
+
@Usage = []
|
10571
|
+
params['Usage'].each do |i|
|
10572
|
+
suborgbillusage_tmp = SubOrgBillUsage.new
|
10573
|
+
suborgbillusage_tmp.deserialize(i)
|
10574
|
+
@Usage << suborgbillusage_tmp
|
10575
|
+
end
|
10576
|
+
end
|
10577
|
+
end
|
10578
|
+
end
|
10579
|
+
|
10580
|
+
# 集团子企业使用集团主企业的套餐使用情况
|
10581
|
+
class SubOrgBillUsage < TencentCloud::Common::AbstractModel
|
10582
|
+
# @param Used: 套餐使用数
|
10583
|
+
# @type Used: Integer
|
10584
|
+
# @param QuotaType: 套餐类型
|
10585
|
+
# 对应关系如下:
|
10586
|
+
# <ul>
|
10587
|
+
# <li>**CloudEnterprise**: 企业版合同</li>
|
10588
|
+
# <li>**SingleSignature**: 单方签章</li>
|
10589
|
+
# <li>**CloudProve**: 签署报告</li>
|
10590
|
+
# <li>**CloudOnlineSign**: 腾讯会议在线签约</li>
|
10591
|
+
# <li>**ChannelWeCard**: 微工卡</li>
|
10592
|
+
# <li>**SignFlow**: 合同套餐</li>
|
10593
|
+
# <li>**SignFace**: 签署意愿(人脸识别)</li>
|
10594
|
+
# <li>**SignPassword**: 签署意愿(密码)</li>
|
10595
|
+
# <li>**SignSMS**: 签署意愿(短信)</li>
|
10596
|
+
# <li>**PersonalEssAuth**: 签署人实名(腾讯电子签认证)</li>
|
10597
|
+
# <li>**PersonalThirdAuth**: 签署人实名(信任第三方认证)</li>
|
10598
|
+
# <li>**OrgEssAuth**: 签署企业实名</li>
|
10599
|
+
# <li>**FlowNotify**: 短信通知</li>
|
10600
|
+
# <li>**AuthService**: 企业工商信息查询</li>
|
10601
|
+
# </ul>
|
10602
|
+
# @type QuotaType: String
|
10603
|
+
|
10604
|
+
attr_accessor :Used, :QuotaType
|
10605
|
+
|
10606
|
+
def initialize(used=nil, quotatype=nil)
|
10607
|
+
@Used = used
|
10608
|
+
@QuotaType = quotatype
|
10609
|
+
end
|
10610
|
+
|
10611
|
+
def deserialize(params)
|
10612
|
+
@Used = params['Used']
|
10613
|
+
@QuotaType = params['QuotaType']
|
10614
|
+
end
|
10615
|
+
end
|
10616
|
+
|
10441
10617
|
# 创建/修改员工成功返回的信息
|
10442
10618
|
# 现在支持saas/企微/H5端进行加入。
|
10443
10619
|
class SuccessCreateStaffData < TencentCloud::Common::AbstractModel
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ess
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.805
|
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-04-
|
11
|
+
date: 2024-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|