tencentcloud-sdk-ess 3.0.1082 → 3.0.1086
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201111/client.rb +53 -0
- data/lib/v20201111/models.rb +182 -2
- 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: 149c2b972f0af66d5c1e67017cb4c4b6e8bf440f
|
4
|
+
data.tar.gz: 1093c6da696e216b48fce553e2df1ba1cb224e8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f39acef13576e5843c7204a9aff7fbf0e472b5e8041913fbdb3aa9e14c10dcad7f436dc76a878ef0eaf9d2dec17cde79aa4778fff03e4bd45bd10d0f0a84b4a
|
7
|
+
data.tar.gz: cdf9070bbd1c71b524d0819bcd009668da4f3a637298655e2235b37e1942bb1b68768d73b521b19980c2b7ab75acb42b161cf1043a5d527f30165a45b1006bf8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1086
|
data/lib/v20201111/client.rb
CHANGED
@@ -943,6 +943,8 @@ module TencentCloud
|
|
943
943
|
|
944
944
|
# 提交申请出证报告任务并返回报告ID。
|
945
945
|
|
946
|
+
# 出证报告的示例样式可以参考 [出征报告.PDF](https://qcloudimg.tencent-cloud.cn/raw/a55214fcddaebbd1582cc9c57cc6cf1b.pdf)
|
947
|
+
|
946
948
|
# 注意:
|
947
949
|
# <ul><li>使用此功能`需搭配出证套餐` ,使用前请联系对接的客户经理沟通。</li>
|
948
950
|
# <li>操作人必须是`发起方或者签署方企业的(非走授权书认证)法人或者超管`。</li>
|
@@ -1455,6 +1457,33 @@ module TencentCloud
|
|
1455
1457
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1456
1458
|
end
|
1457
1459
|
|
1460
|
+
# 本接口(CreateModifyAdminAuthorizationUrl)用于重新上传超管授权书。
|
1461
|
+
|
1462
|
+
# 注意:
|
1463
|
+
# 1. 重新上传超管授权书,必须是审核失败的情况下才能重新上传,可以通过回调[!授权书认证审核结果回调](https://qian.tencent.com/developers/company/callback_types_staffs#%E5%8D%81%E5%85%AD-%E6%8E%88%E6%9D%83%E4%B9%A6%E8%AE%A4%E8%AF%81%E5%AE%A1%E6%A0%B8%E7%BB%93%E6%9E%9C%E5%9B%9E%E8%B0%83)得到
|
1464
|
+
|
1465
|
+
# @param request: Request instance for CreateModifyAdminAuthorizationUrl.
|
1466
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateModifyAdminAuthorizationUrlRequest`
|
1467
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateModifyAdminAuthorizationUrlResponse`
|
1468
|
+
def CreateModifyAdminAuthorizationUrl(request)
|
1469
|
+
body = send_request('CreateModifyAdminAuthorizationUrl', request.serialize)
|
1470
|
+
response = JSON.parse(body)
|
1471
|
+
if response['Response'].key?('Error') == false
|
1472
|
+
model = CreateModifyAdminAuthorizationUrlResponse.new
|
1473
|
+
model.deserialize(response['Response'])
|
1474
|
+
model
|
1475
|
+
else
|
1476
|
+
code = response['Response']['Error']['Code']
|
1477
|
+
message = response['Response']['Error']['Message']
|
1478
|
+
reqid = response['Response']['RequestId']
|
1479
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1480
|
+
end
|
1481
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1482
|
+
raise e
|
1483
|
+
rescue StandardError => e
|
1484
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1485
|
+
end
|
1486
|
+
|
1458
1487
|
# 此接口(CreateMultiFlowSignQRCode)用于创建一码多签签署码。
|
1459
1488
|
|
1460
1489
|
# **适用场景**:
|
@@ -2281,6 +2310,30 @@ module TencentCloud
|
|
2281
2310
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2282
2311
|
end
|
2283
2312
|
|
2313
|
+
# 本接口(DescribeBatchOrganizationRegistrationTasks)用于查询企业批量认证任务状态。
|
2314
|
+
|
2315
|
+
# @param request: Request instance for DescribeBatchOrganizationRegistrationTasks.
|
2316
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::DescribeBatchOrganizationRegistrationTasksRequest`
|
2317
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::DescribeBatchOrganizationRegistrationTasksResponse`
|
2318
|
+
def DescribeBatchOrganizationRegistrationTasks(request)
|
2319
|
+
body = send_request('DescribeBatchOrganizationRegistrationTasks', request.serialize)
|
2320
|
+
response = JSON.parse(body)
|
2321
|
+
if response['Response'].key?('Error') == false
|
2322
|
+
model = DescribeBatchOrganizationRegistrationTasksResponse.new
|
2323
|
+
model.deserialize(response['Response'])
|
2324
|
+
model
|
2325
|
+
else
|
2326
|
+
code = response['Response']['Error']['Code']
|
2327
|
+
message = response['Response']['Error']['Message']
|
2328
|
+
reqid = response['Response']['RequestId']
|
2329
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2330
|
+
end
|
2331
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2332
|
+
raise e
|
2333
|
+
rescue StandardError => e
|
2334
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2335
|
+
end
|
2336
|
+
|
2284
2337
|
# 此接口用于获取企业批量认证异步任务的状态及结果。
|
2285
2338
|
|
2286
2339
|
# 前提条件:已调用 CreateBatchOrganizationRegistrationTasks创建企业批量认证链接任务接口,并得到了任务Id。
|
data/lib/v20201111/models.rb
CHANGED
@@ -719,6 +719,55 @@ module TencentCloud
|
|
719
719
|
end
|
720
720
|
end
|
721
721
|
|
722
|
+
# 批量认证企业任务详情信息,其中包括 TaskId,状态信息等等。
|
723
|
+
class BatchOrganizationRegistrationTasksDetails < TencentCloud::Common::AbstractModel
|
724
|
+
# @param TaskId: 生成注册链接的任务Id
|
725
|
+
# @type TaskId: String
|
726
|
+
# @param Status: 批量创建企业任务的状态
|
727
|
+
# <ul>
|
728
|
+
# <li>Processing</li>
|
729
|
+
# <li>Create</li>
|
730
|
+
# <li>Submit</li>
|
731
|
+
# <li>Authorization</li>
|
732
|
+
# <li>Failed</li>
|
733
|
+
# </ul>
|
734
|
+
|
735
|
+
# 各个状态所代表的含义如下表格所示:
|
736
|
+
# <table>
|
737
|
+
# <thead align="center" valign="center">
|
738
|
+
# <tr><th>任务状态名称</th><th>任务状态详情</th></tr>
|
739
|
+
# </thead>
|
740
|
+
# <tbody>
|
741
|
+
# <tr><th align="center" valign="center">Processing</th><th>企业认证任务处理中,用户调用了<a href="https://qian.tencent.com/developers/companyApis/organizations/CreateBatchOrganizationRegistrationTasks">CreateBatchOrganizationRegistrationTasks</a>接口,但是任务还在处理中的状态</th></tr>
|
742
|
+
# <tr><th align="center" valign="center">Create</th><th>创建企业认证链接任务完成,可以调用生成任务链接接口</th></tr>
|
743
|
+
# <tr><th align="center" valign="center">Submit</th><th>企业认证任务已提交,到如下界面之后,会变为这个状态
|
744
|
+
|
745
|
+
# </th></tr>
|
746
|
+
# <tr><th align="center" valign="center">Authorization</th><th>企业认证任务认证成功,点击下图下一步,进入到授权书上传或者法人认证,则会变为这个状态
|
747
|
+
|
748
|
+
# </th></tr>
|
749
|
+
# <tr><th align="center" valign="center">Failed</th><th>企业认证任务失败</th></tr>
|
750
|
+
# </tbody>
|
751
|
+
# </table>
|
752
|
+
# @type Status: String
|
753
|
+
# @param ErrorMessage: 如果任务失败,会返回错误信息
|
754
|
+
# @type ErrorMessage: String
|
755
|
+
|
756
|
+
attr_accessor :TaskId, :Status, :ErrorMessage
|
757
|
+
|
758
|
+
def initialize(taskid=nil, status=nil, errormessage=nil)
|
759
|
+
@TaskId = taskid
|
760
|
+
@Status = status
|
761
|
+
@ErrorMessage = errormessage
|
762
|
+
end
|
763
|
+
|
764
|
+
def deserialize(params)
|
765
|
+
@TaskId = params['TaskId']
|
766
|
+
@Status = params['Status']
|
767
|
+
@ErrorMessage = params['ErrorMessage']
|
768
|
+
end
|
769
|
+
end
|
770
|
+
|
722
771
|
# 用户计费使用情况详情
|
723
772
|
class BillUsageDetail < TencentCloud::Common::AbstractModel
|
724
773
|
# @param FlowId: 合同流程ID,为32位字符串。
|
@@ -1807,14 +1856,25 @@ module TencentCloud
|
|
1807
1856
|
# <li>SHORT_H5:生成H5跳转短链</li>
|
1808
1857
|
# </ul>
|
1809
1858
|
# @type Endpoint: String
|
1859
|
+
# @param BatchAuthMethod: 认证链接使用单链接还是多链接模式
|
1860
|
+
|
1861
|
+
# <ul>
|
1862
|
+
# <li>0 - 多链接(默认),指批量生成链接, 每一个企业会拥有一个认证链接,然后分别认证</li>
|
1863
|
+
# <li>1 - 单链接 , 指批量生成链接,然后会将多个链接聚合成一个链接,进行认证</li>
|
1864
|
+
# </ul>
|
1865
|
+
|
1866
|
+
# p.s.
|
1867
|
+
# 请注意, 如果使用单链接的模式并且认证方式是授权书方式的时候,必须在接口中传递超管授权书。
|
1868
|
+
# @type BatchAuthMethod: Integer
|
1810
1869
|
|
1811
|
-
attr_accessor :Operator, :RegistrationOrganizations, :Agent, :Endpoint
|
1870
|
+
attr_accessor :Operator, :RegistrationOrganizations, :Agent, :Endpoint, :BatchAuthMethod
|
1812
1871
|
|
1813
|
-
def initialize(operator=nil, registrationorganizations=nil, agent=nil, endpoint=nil)
|
1872
|
+
def initialize(operator=nil, registrationorganizations=nil, agent=nil, endpoint=nil, batchauthmethod=nil)
|
1814
1873
|
@Operator = operator
|
1815
1874
|
@RegistrationOrganizations = registrationorganizations
|
1816
1875
|
@Agent = agent
|
1817
1876
|
@Endpoint = endpoint
|
1877
|
+
@BatchAuthMethod = batchauthmethod
|
1818
1878
|
end
|
1819
1879
|
|
1820
1880
|
def deserialize(params)
|
@@ -1835,6 +1895,7 @@ module TencentCloud
|
|
1835
1895
|
@Agent.deserialize(params['Agent'])
|
1836
1896
|
end
|
1837
1897
|
@Endpoint = params['Endpoint']
|
1898
|
+
@BatchAuthMethod = params['BatchAuthMethod']
|
1838
1899
|
end
|
1839
1900
|
end
|
1840
1901
|
|
@@ -4715,6 +4776,66 @@ module TencentCloud
|
|
4715
4776
|
end
|
4716
4777
|
end
|
4717
4778
|
|
4779
|
+
# CreateModifyAdminAuthorizationUrl请求参数结构体
|
4780
|
+
class CreateModifyAdminAuthorizationUrlRequest < TencentCloud::Common::AbstractModel
|
4781
|
+
# @param Operator: 执行本接口操作的员工信息。
|
4782
|
+
# 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
4783
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
4784
|
+
# @param Agent: 代理企业和员工的信息。
|
4785
|
+
# 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
4786
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
4787
|
+
# @param AuthorizationId: 企业认证流Id,可以通过回调[授权书认证审核结果回调](https://qian.tencent.com/developers/company/callback_types_staffs#%E5%8D%81%E5%85%AD-%E6%8E%88%E6%9D%83%E4%B9%A6%E8%AE%A4%E8%AF%81%E5%AE%A1%E6%A0%B8%E7%BB%93%E6%9E%9C%E5%9B%9E%E8%B0%83)得到
|
4788
|
+
# @type AuthorizationId: String
|
4789
|
+
# @param Endpoint: 要跳转的链接类型<ul><li> **HTTP**:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型 ,此时返回长链 (默认类型)</li><li>**HTTP_SHORT_URL**:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型,此时返回短链</li><li>**APP**: 第三方APP或小程序跳转电子签小程序的path, APP或者小程序跳转适合此类型</li><li>**PC**: 跳转电子签web 端控制台的链接。</li></ul>
|
4790
|
+
# @type Endpoint: String
|
4791
|
+
|
4792
|
+
attr_accessor :Operator, :Agent, :AuthorizationId, :Endpoint
|
4793
|
+
|
4794
|
+
def initialize(operator=nil, agent=nil, authorizationid=nil, endpoint=nil)
|
4795
|
+
@Operator = operator
|
4796
|
+
@Agent = agent
|
4797
|
+
@AuthorizationId = authorizationid
|
4798
|
+
@Endpoint = endpoint
|
4799
|
+
end
|
4800
|
+
|
4801
|
+
def deserialize(params)
|
4802
|
+
unless params['Operator'].nil?
|
4803
|
+
@Operator = UserInfo.new
|
4804
|
+
@Operator.deserialize(params['Operator'])
|
4805
|
+
end
|
4806
|
+
unless params['Agent'].nil?
|
4807
|
+
@Agent = Agent.new
|
4808
|
+
@Agent.deserialize(params['Agent'])
|
4809
|
+
end
|
4810
|
+
@AuthorizationId = params['AuthorizationId']
|
4811
|
+
@Endpoint = params['Endpoint']
|
4812
|
+
end
|
4813
|
+
end
|
4814
|
+
|
4815
|
+
# CreateModifyAdminAuthorizationUrl返回参数结构体
|
4816
|
+
class CreateModifyAdminAuthorizationUrlResponse < TencentCloud::Common::AbstractModel
|
4817
|
+
# @param Url: 变更企业超管授权书链接。
|
4818
|
+
# 没有有效期限制。
|
4819
|
+
|
4820
|
+
# 注意:
|
4821
|
+
# 此链接仅能由当时认证企业的认证人使用。
|
4822
|
+
# @type Url: String
|
4823
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4824
|
+
# @type RequestId: String
|
4825
|
+
|
4826
|
+
attr_accessor :Url, :RequestId
|
4827
|
+
|
4828
|
+
def initialize(url=nil, requestid=nil)
|
4829
|
+
@Url = url
|
4830
|
+
@RequestId = requestid
|
4831
|
+
end
|
4832
|
+
|
4833
|
+
def deserialize(params)
|
4834
|
+
@Url = params['Url']
|
4835
|
+
@RequestId = params['RequestId']
|
4836
|
+
end
|
4837
|
+
end
|
4838
|
+
|
4718
4839
|
# CreateMultiFlowSignQRCode请求参数结构体
|
4719
4840
|
class CreateMultiFlowSignQRCodeRequest < TencentCloud::Common::AbstractModel
|
4720
4841
|
# @param Operator: 执行本接口操作的员工信息。
|
@@ -7408,6 +7529,65 @@ module TencentCloud
|
|
7408
7529
|
end
|
7409
7530
|
end
|
7410
7531
|
|
7532
|
+
# DescribeBatchOrganizationRegistrationTasks请求参数结构体
|
7533
|
+
class DescribeBatchOrganizationRegistrationTasksRequest < TencentCloud::Common::AbstractModel
|
7534
|
+
# @param Operator: 执行本接口操作的员工信息。
|
7535
|
+
# 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
7536
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
7537
|
+
# @param Agent: 代理企业和员工的信息。
|
7538
|
+
# 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
7539
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
7540
|
+
# @param TaskIds: 企业批量认证链接的子任务 SubTaskId,该 SubTaskId 是通过接口[查询企业批量认证链接](https://qian.tencent.com/developers/companyApis/organizations/DescribeBatchOrganizationRegistrationUrls)可以得到。
|
7541
|
+
# @type TaskIds: Array
|
7542
|
+
|
7543
|
+
attr_accessor :Operator, :Agent, :TaskIds
|
7544
|
+
|
7545
|
+
def initialize(operator=nil, agent=nil, taskids=nil)
|
7546
|
+
@Operator = operator
|
7547
|
+
@Agent = agent
|
7548
|
+
@TaskIds = taskids
|
7549
|
+
end
|
7550
|
+
|
7551
|
+
def deserialize(params)
|
7552
|
+
unless params['Operator'].nil?
|
7553
|
+
@Operator = UserInfo.new
|
7554
|
+
@Operator.deserialize(params['Operator'])
|
7555
|
+
end
|
7556
|
+
unless params['Agent'].nil?
|
7557
|
+
@Agent = Agent.new
|
7558
|
+
@Agent.deserialize(params['Agent'])
|
7559
|
+
end
|
7560
|
+
@TaskIds = params['TaskIds']
|
7561
|
+
end
|
7562
|
+
end
|
7563
|
+
|
7564
|
+
# DescribeBatchOrganizationRegistrationTasks返回参数结构体
|
7565
|
+
class DescribeBatchOrganizationRegistrationTasksResponse < TencentCloud::Common::AbstractModel
|
7566
|
+
# @param Details: 企业批量任务状态明细
|
7567
|
+
# @type Details: Array
|
7568
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7569
|
+
# @type RequestId: String
|
7570
|
+
|
7571
|
+
attr_accessor :Details, :RequestId
|
7572
|
+
|
7573
|
+
def initialize(details=nil, requestid=nil)
|
7574
|
+
@Details = details
|
7575
|
+
@RequestId = requestid
|
7576
|
+
end
|
7577
|
+
|
7578
|
+
def deserialize(params)
|
7579
|
+
unless params['Details'].nil?
|
7580
|
+
@Details = []
|
7581
|
+
params['Details'].each do |i|
|
7582
|
+
batchorganizationregistrationtasksdetails_tmp = BatchOrganizationRegistrationTasksDetails.new
|
7583
|
+
batchorganizationregistrationtasksdetails_tmp.deserialize(i)
|
7584
|
+
@Details << batchorganizationregistrationtasksdetails_tmp
|
7585
|
+
end
|
7586
|
+
end
|
7587
|
+
@RequestId = params['RequestId']
|
7588
|
+
end
|
7589
|
+
end
|
7590
|
+
|
7411
7591
|
# DescribeBatchOrganizationRegistrationUrls请求参数结构体
|
7412
7592
|
class DescribeBatchOrganizationRegistrationUrlsRequest < TencentCloud::Common::AbstractModel
|
7413
7593
|
# @param Operator: 执行本接口操作的员工信息。
|
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.1086
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|