tencentcloud-sdk-ess 3.0.810 → 3.0.812
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 +28 -0
- data/lib/v20201111/models.rb +86 -1
- 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: 9f65809de96e7225d507baa5da50bd87a32ea102
|
4
|
+
data.tar.gz: e29dcec19dbf47b4024a33a3d2fb8a77ddd54310
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4da1f5bba54db61acaaf9b5ee196c667cb93ae84da027412d402489aab7f3fa37a522577707f113d5216098648aac1a2be9ecba9116347c398631bf65a965e40
|
7
|
+
data.tar.gz: a844d818cc10a4ebde8a329ebde332e29c9d50b98f7665f484bf0c1ce93252ecbb0504ac68458b9a476b28dfad2a912b6d49fb44df1ee18e873f1cbc8308f4fe
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.812
|
data/lib/v20201111/client.rb
CHANGED
@@ -1574,6 +1574,34 @@ module TencentCloud
|
|
1574
1574
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1575
1575
|
end
|
1576
1576
|
|
1577
|
+
# 此接口用于获取企业批量认证异步任务的状态及结果。
|
1578
|
+
|
1579
|
+
# 前提条件:已调用 CreateBatchOrganizationRegistrationTasks创建企业批量认证链接任务接口,并得到了任务Id。
|
1580
|
+
|
1581
|
+
# 异步任务的处理完成时间视当前已提交的任务量、任务的复杂程度等因素决定,正常情况下 3~5 秒即可完成,但也可能需要更长的时间
|
1582
|
+
|
1583
|
+
# @param request: Request instance for DescribeBatchOrganizationRegistrationUrls.
|
1584
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::DescribeBatchOrganizationRegistrationUrlsRequest`
|
1585
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::DescribeBatchOrganizationRegistrationUrlsResponse`
|
1586
|
+
def DescribeBatchOrganizationRegistrationUrls(request)
|
1587
|
+
body = send_request('DescribeBatchOrganizationRegistrationUrls', request.serialize)
|
1588
|
+
response = JSON.parse(body)
|
1589
|
+
if response['Response'].key?('Error') == false
|
1590
|
+
model = DescribeBatchOrganizationRegistrationUrlsResponse.new
|
1591
|
+
model.deserialize(response['Response'])
|
1592
|
+
model
|
1593
|
+
else
|
1594
|
+
code = response['Response']['Error']['Code']
|
1595
|
+
message = response['Response']['Error']['Message']
|
1596
|
+
reqid = response['Response']['RequestId']
|
1597
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1598
|
+
end
|
1599
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1600
|
+
raise e
|
1601
|
+
rescue StandardError => e
|
1602
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1603
|
+
end
|
1604
|
+
|
1577
1605
|
# 通过此接口(DescribeBillUsage)查询该企业的套餐套餐使用情况。
|
1578
1606
|
|
1579
1607
|
# @param request: Request instance for DescribeBillUsage.
|
data/lib/v20201111/models.rb
CHANGED
@@ -4663,7 +4663,7 @@ module TencentCloud
|
|
4663
4663
|
# 建议开发者保留此印章ID,后续指定签署区印章或者操作印章需此印章ID。
|
4664
4664
|
# 可登录腾讯电子签控制台,在 "印章"->"印章中心"选择查看的印章,在"印章详情" 中查看某个印章的SealId(在页面中展示为印章ID)。
|
4665
4665
|
# @type SealId: String
|
4666
|
-
# @param Expired:
|
4666
|
+
# @param Expired: 授权有效期,时间戳秒级。可以传0,代表有效期到2099年12月12日23点59分59秒。
|
4667
4667
|
# @type Expired: Integer
|
4668
4668
|
# @param UserIds: 需要授权的用户UserId集合。跟上面的SealId参数配合使用。选填,跟上面的Users同时起作用
|
4669
4669
|
# @type UserIds: Array
|
@@ -5509,6 +5509,64 @@ module TencentCloud
|
|
5509
5509
|
end
|
5510
5510
|
end
|
5511
5511
|
|
5512
|
+
# DescribeBatchOrganizationRegistrationUrls请求参数结构体
|
5513
|
+
class DescribeBatchOrganizationRegistrationUrlsRequest < TencentCloud::Common::AbstractModel
|
5514
|
+
# @param Operator: 执行本接口操作的员工信息。
|
5515
|
+
# 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
5516
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
5517
|
+
# @param TaskId: 通过接口CreateBatchOrganizationRegistrationTasks创建企业批量认证链接任得到的任务Id
|
5518
|
+
# @type TaskId: String
|
5519
|
+
# @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
|
5520
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
5521
|
+
|
5522
|
+
attr_accessor :Operator, :TaskId, :Agent
|
5523
|
+
|
5524
|
+
def initialize(operator=nil, taskid=nil, agent=nil)
|
5525
|
+
@Operator = operator
|
5526
|
+
@TaskId = taskid
|
5527
|
+
@Agent = agent
|
5528
|
+
end
|
5529
|
+
|
5530
|
+
def deserialize(params)
|
5531
|
+
unless params['Operator'].nil?
|
5532
|
+
@Operator = UserInfo.new
|
5533
|
+
@Operator.deserialize(params['Operator'])
|
5534
|
+
end
|
5535
|
+
@TaskId = params['TaskId']
|
5536
|
+
unless params['Agent'].nil?
|
5537
|
+
@Agent = Agent.new
|
5538
|
+
@Agent.deserialize(params['Agent'])
|
5539
|
+
end
|
5540
|
+
end
|
5541
|
+
end
|
5542
|
+
|
5543
|
+
# DescribeBatchOrganizationRegistrationUrls返回参数结构体
|
5544
|
+
class DescribeBatchOrganizationRegistrationUrlsResponse < TencentCloud::Common::AbstractModel
|
5545
|
+
# @param OrganizationAuthUrls: 企业批量注册链接信息
|
5546
|
+
# @type OrganizationAuthUrls: Array
|
5547
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5548
|
+
# @type RequestId: String
|
5549
|
+
|
5550
|
+
attr_accessor :OrganizationAuthUrls, :RequestId
|
5551
|
+
|
5552
|
+
def initialize(organizationauthurls=nil, requestid=nil)
|
5553
|
+
@OrganizationAuthUrls = organizationauthurls
|
5554
|
+
@RequestId = requestid
|
5555
|
+
end
|
5556
|
+
|
5557
|
+
def deserialize(params)
|
5558
|
+
unless params['OrganizationAuthUrls'].nil?
|
5559
|
+
@OrganizationAuthUrls = []
|
5560
|
+
params['OrganizationAuthUrls'].each do |i|
|
5561
|
+
organizationauthurl_tmp = OrganizationAuthUrl.new
|
5562
|
+
organizationauthurl_tmp.deserialize(i)
|
5563
|
+
@OrganizationAuthUrls << organizationauthurl_tmp
|
5564
|
+
end
|
5565
|
+
end
|
5566
|
+
@RequestId = params['RequestId']
|
5567
|
+
end
|
5568
|
+
end
|
5569
|
+
|
5512
5570
|
# DescribeBillUsageDetail请求参数结构体
|
5513
5571
|
class DescribeBillUsageDetailRequest < TencentCloud::Common::AbstractModel
|
5514
5572
|
# @param StartTime: 查询开始时间字符串,格式为yyyymmdd,时间跨度不能大于31天
|
@@ -9685,6 +9743,33 @@ module TencentCloud
|
|
9685
9743
|
end
|
9686
9744
|
end
|
9687
9745
|
|
9746
|
+
# 企业批量注册链接信息
|
9747
|
+
class OrganizationAuthUrl < TencentCloud::Common::AbstractModel
|
9748
|
+
# @param AuthUrl: 企业批量注册链接,根据Endpoint的不同设置,返回不同的链接地址。失效时间:7天
|
9749
|
+
# 跳转链接, 链接的有效期根据企业,员工状态和终端等有区别, 可以参考下表
|
9750
|
+
# <table> <thead> <tr> <th>Endpoint</th> <th>示例</th> <th>链接有效期限</th> </tr> </thead> <tbody>
|
9751
|
+
# <tr> <td>PC</td> <td>https://qian.tencent.com/console/batch-register?token=yDSx0UUgtjuaf4UEfd2MjCnfI1iuXFE6&orgName=批量认证线上测试企业9</td> <td>7天</td> </tr>
|
9752
|
+
# <tr> <td>PC_SHORT_URL</td> <td>https://test.essurl.cn/8gDKUBAWK8</td> <td>7天</td> </tr>
|
9753
|
+
# <tr> <td>APP</td> <td>/pages/guide/index?to=REGISTER_ENTERPRISE_FOR_BATCH&urlAuthToken=yDSx0UUgtjuaf4UEfd2MjCnfI1iuXFE6&orgName=批量认证线上测试企业9</td> <td>7天</td> </tr> </tbody> </table>
|
9754
|
+
# 注:
|
9755
|
+
# `1.创建的链接应避免被转义,如:&被转义为\u0026;如使用Postman请求后,请选择响应类型为 JSON,否则链接将被转义`
|
9756
|
+
# @type AuthUrl: String
|
9757
|
+
# @param ErrorMessage: 企业批量注册的错误信息,例如:企业三要素不通过
|
9758
|
+
# @type ErrorMessage: String
|
9759
|
+
|
9760
|
+
attr_accessor :AuthUrl, :ErrorMessage
|
9761
|
+
|
9762
|
+
def initialize(authurl=nil, errormessage=nil)
|
9763
|
+
@AuthUrl = authurl
|
9764
|
+
@ErrorMessage = errormessage
|
9765
|
+
end
|
9766
|
+
|
9767
|
+
def deserialize(params)
|
9768
|
+
@AuthUrl = params['AuthUrl']
|
9769
|
+
@ErrorMessage = params['ErrorMessage']
|
9770
|
+
end
|
9771
|
+
end
|
9772
|
+
|
9688
9773
|
# 机构信息
|
9689
9774
|
class OrganizationInfo < TencentCloud::Common::AbstractModel
|
9690
9775
|
# @param OrganizationId: 机构在平台的编号,内部字段,暂未开放
|
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.812
|
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-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|