tencentcloud-sdk-essbasic 3.0.1084 → 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/v20210526/client.rb +55 -0
- data/lib/v20210526/models.rb +162 -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: 399a2d20aa5cdb1ab874ed5bb6fff02b8bd73a44
|
4
|
+
data.tar.gz: 0c811bf77897d2bef1a9dfa2dc225511ad1e8616
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 406096f63c282dbddfcda2145cda4b3ec71ffbec9ecfacb685c17bf37175e35f94237a24f30266dc573e5a49d58bcec5b154df9de687043f87086e28a8c2be38
|
7
|
+
data.tar.gz: 74ccfae69c1e065ac7888e4556aa01d02f40134e711455d0d2a167fa7f3d80d8e6d414882f9bb9c0ee334c9708340ea16fb6d52f918c2c20024a0bf806f0e166
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1086
|
data/lib/v20210526/client.rb
CHANGED
@@ -1814,6 +1814,8 @@ module TencentCloud
|
|
1814
1814
|
|
1815
1815
|
# 提交申请出证报告任务并返回报告ID。
|
1816
1816
|
|
1817
|
+
# 出证报告的示例样式可以参考 [出征报告.PDF](https://qcloudimg.tencent-cloud.cn/raw/a55214fcddaebbd1582cc9c57cc6cf1b.pdf)
|
1818
|
+
|
1817
1819
|
# 注意:
|
1818
1820
|
# - 使用此功能**需搭配出证套餐** ,使用前请联系对接的客户经理沟通。
|
1819
1821
|
# - 操作人必须是**发起方或者签署方企业的(非走授权书认证)法人或者超管**。
|
@@ -2323,6 +2325,33 @@ module TencentCloud
|
|
2323
2325
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2324
2326
|
end
|
2325
2327
|
|
2328
|
+
# 本接口(CreateModifyAdminAuthorizationUrl)用于重新上传超管授权书。
|
2329
|
+
|
2330
|
+
# 注意:
|
2331
|
+
# 1. 重新上传超管授权书,必须是审核失败的情况下才能重新上传,可以通过回调[!授权书审核结果回调](https://qian.tencent.com/developers/partner/callback_types_staffs#%E5%9B%9B-%E6%8E%88%E6%9D%83%E4%B9%A6%E5%AE%A1%E6%A0%B8%E7%BB%93%E6%9E%9C%E5%9B%9E%E8%B0%83)得到
|
2332
|
+
|
2333
|
+
# @param request: Request instance for CreateModifyAdminAuthorizationUrl.
|
2334
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::CreateModifyAdminAuthorizationUrlRequest`
|
2335
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::CreateModifyAdminAuthorizationUrlResponse`
|
2336
|
+
def CreateModifyAdminAuthorizationUrl(request)
|
2337
|
+
body = send_request('CreateModifyAdminAuthorizationUrl', request.serialize)
|
2338
|
+
response = JSON.parse(body)
|
2339
|
+
if response['Response'].key?('Error') == false
|
2340
|
+
model = CreateModifyAdminAuthorizationUrlResponse.new
|
2341
|
+
model.deserialize(response['Response'])
|
2342
|
+
model
|
2343
|
+
else
|
2344
|
+
code = response['Response']['Error']['Code']
|
2345
|
+
message = response['Response']['Error']['Message']
|
2346
|
+
reqid = response['Response']['RequestId']
|
2347
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2348
|
+
end
|
2349
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2350
|
+
raise e
|
2351
|
+
rescue StandardError => e
|
2352
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2353
|
+
end
|
2354
|
+
|
2326
2355
|
# 生成合成后的各类企业授权书,包括:
|
2327
2356
|
# - 企业认证超管授权书
|
2328
2357
|
# - 超管变更授权书
|
@@ -2521,6 +2550,30 @@ module TencentCloud
|
|
2521
2550
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2522
2551
|
end
|
2523
2552
|
|
2553
|
+
# 本接口(DescribeBatchOrganizationRegistrationTasks)用于查询企业批量认证任务状态。
|
2554
|
+
|
2555
|
+
# @param request: Request instance for DescribeBatchOrganizationRegistrationTasks.
|
2556
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::DescribeBatchOrganizationRegistrationTasksRequest`
|
2557
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::DescribeBatchOrganizationRegistrationTasksResponse`
|
2558
|
+
def DescribeBatchOrganizationRegistrationTasks(request)
|
2559
|
+
body = send_request('DescribeBatchOrganizationRegistrationTasks', request.serialize)
|
2560
|
+
response = JSON.parse(body)
|
2561
|
+
if response['Response'].key?('Error') == false
|
2562
|
+
model = DescribeBatchOrganizationRegistrationTasksResponse.new
|
2563
|
+
model.deserialize(response['Response'])
|
2564
|
+
model
|
2565
|
+
else
|
2566
|
+
code = response['Response']['Error']['Code']
|
2567
|
+
message = response['Response']['Error']['Message']
|
2568
|
+
reqid = response['Response']['RequestId']
|
2569
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2570
|
+
end
|
2571
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2572
|
+
raise e
|
2573
|
+
rescue StandardError => e
|
2574
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2575
|
+
end
|
2576
|
+
|
2524
2577
|
# 此接口用于获取企业批量认证异步任务的状态及结果。需要先调用接口<a href="https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks" target="_blank">提交子企业批量认证链接创建任务</a>获取到任务ID,然后再调用此接口获取到各个子企业的注册认证链接。整体流程如下图。
|
2525
2578
|
# 
|
2526
2579
|
|
@@ -3096,6 +3149,8 @@ module TencentCloud
|
|
3096
3149
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3097
3150
|
end
|
3098
3151
|
|
3152
|
+
# 已经不再使用
|
3153
|
+
|
3099
3154
|
# 该接口 (PrepareFlows) 用于创建待发起文件
|
3100
3155
|
# 用户通过该接口进入签署流程发起的确认页面,进行发起信息二次确认, 如果确认则进行正常发起。
|
3101
3156
|
# 目前该接口只支持B2C,<font color='red'> **不建议使用**</font>。
|
data/lib/v20210526/models.rb
CHANGED
@@ -545,6 +545,55 @@ module TencentCloud
|
|
545
545
|
end
|
546
546
|
end
|
547
547
|
|
548
|
+
# 批量认证企业任务详情信息,其中包括 TaskId,状态信息等等
|
549
|
+
class BatchOrganizationRegistrationTasksDetails < TencentCloud::Common::AbstractModel
|
550
|
+
# @param TaskId: 生成注册链接的任务Id
|
551
|
+
# @type TaskId: String
|
552
|
+
# @param Status: 批量创建企业任务的状态
|
553
|
+
# <ul>
|
554
|
+
# <li>Processing</li>
|
555
|
+
# <li>Create</li>
|
556
|
+
# <li>Submit</li>
|
557
|
+
# <li>Authorization</li>
|
558
|
+
# <li>Failed</li>
|
559
|
+
# </ul>
|
560
|
+
|
561
|
+
# 各个状态所代表的含义如下表格所示:
|
562
|
+
# <table>
|
563
|
+
# <thead align="center" valign="center">
|
564
|
+
# <tr><th>任务状态名称</th><th>任务状态详情</th></tr>
|
565
|
+
# </thead>
|
566
|
+
# <tbody>
|
567
|
+
# <tr><th align="center" valign="center">Processing</th><th>企业认证任务处理中,用户调用了<a href="https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks">CreateBatchOrganizationRegistrationTasks</a>接口,但是任务还在处理中的状态</th></tr>
|
568
|
+
# <tr><th align="center" valign="center">Create</th><th>创建企业认证链接任务完成,可以调用生成任务链接接口</th></tr>
|
569
|
+
# <tr><th align="center" valign="center">Submit</th><th>企业认证任务已提交,到如下界面之后,会变为这个状态
|
570
|
+
|
571
|
+
# </th></tr>
|
572
|
+
# <tr><th align="center" valign="center">Authorization</th><th>企业认证任务认证成功,点击下图下一步,进入到授权书上传或者法人认证,则会变为这个状态
|
573
|
+
|
574
|
+
# </th></tr>
|
575
|
+
# <tr><th align="center" valign="center">Failed</th><th>企业认证任务失败</th></tr>
|
576
|
+
# </tbody>
|
577
|
+
# </table>
|
578
|
+
# @type Status: String
|
579
|
+
# @param ErrorMessage: 如果任务失败,会返回错误信息
|
580
|
+
# @type ErrorMessage: String
|
581
|
+
|
582
|
+
attr_accessor :TaskId, :Status, :ErrorMessage
|
583
|
+
|
584
|
+
def initialize(taskid=nil, status=nil, errormessage=nil)
|
585
|
+
@TaskId = taskid
|
586
|
+
@Status = status
|
587
|
+
@ErrorMessage = errormessage
|
588
|
+
end
|
589
|
+
|
590
|
+
def deserialize(params)
|
591
|
+
@TaskId = params['TaskId']
|
592
|
+
@Status = params['Status']
|
593
|
+
@ErrorMessage = params['ErrorMessage']
|
594
|
+
end
|
595
|
+
end
|
596
|
+
|
548
597
|
# 撤销失败的流程信息
|
549
598
|
class CancelFailureFlow < TencentCloud::Common::AbstractModel
|
550
599
|
# @param FlowId: 签署流程编号,为32位字符串
|
@@ -5750,13 +5799,16 @@ module TencentCloud
|
|
5750
5799
|
# <li>**SHORT_H5**:第三方H5跳转到电子签H5短链接, 一般用于贵方H5跳转过来, 打开后进入腾讯电子签H5页面</li></ul>
|
5751
5800
|
|
5752
5801
|
# @type Endpoint: String
|
5802
|
+
# @param BatchAuthMethod: 认证链接使用单链接还是多链接模式<ul><li>0 - 多链接(默认),指批量生成链接, 每一个企业会拥有一个认证链接,然后分别认证</li><li>1 - 单链接 , 指批量生成链接,然后会将多个链接聚合成一个链接,进行认证</li></ul>p.s.请注意, 如果使用单链接的模式并且认证方式是授权书方式的时候,必须在接口中传递超管授权书。
|
5803
|
+
# @type BatchAuthMethod: Integer
|
5753
5804
|
|
5754
|
-
attr_accessor :Agent, :RegistrationOrganizations, :Endpoint
|
5805
|
+
attr_accessor :Agent, :RegistrationOrganizations, :Endpoint, :BatchAuthMethod
|
5755
5806
|
|
5756
|
-
def initialize(agent=nil, registrationorganizations=nil, endpoint=nil)
|
5807
|
+
def initialize(agent=nil, registrationorganizations=nil, endpoint=nil, batchauthmethod=nil)
|
5757
5808
|
@Agent = agent
|
5758
5809
|
@RegistrationOrganizations = registrationorganizations
|
5759
5810
|
@Endpoint = endpoint
|
5811
|
+
@BatchAuthMethod = batchauthmethod
|
5760
5812
|
end
|
5761
5813
|
|
5762
5814
|
def deserialize(params)
|
@@ -5773,6 +5825,7 @@ module TencentCloud
|
|
5773
5825
|
end
|
5774
5826
|
end
|
5775
5827
|
@Endpoint = params['Endpoint']
|
5828
|
+
@BatchAuthMethod = params['BatchAuthMethod']
|
5776
5829
|
end
|
5777
5830
|
end
|
5778
5831
|
|
@@ -6854,6 +6907,58 @@ module TencentCloud
|
|
6854
6907
|
end
|
6855
6908
|
end
|
6856
6909
|
|
6910
|
+
# CreateModifyAdminAuthorizationUrl请求参数结构体
|
6911
|
+
class CreateModifyAdminAuthorizationUrlRequest < TencentCloud::Common::AbstractModel
|
6912
|
+
# @param Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
6913
|
+
|
6914
|
+
# 此接口下面信息必填。
|
6915
|
+
# <ul>
|
6916
|
+
# <li>渠道应用标识: Agent.AppId</li>
|
6917
|
+
# </ul>
|
6918
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
6919
|
+
# @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)得到
|
6920
|
+
# @type AuthorizationId: String
|
6921
|
+
# @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>
|
6922
|
+
# @type Endpoint: String
|
6923
|
+
|
6924
|
+
attr_accessor :Agent, :AuthorizationId, :Endpoint
|
6925
|
+
|
6926
|
+
def initialize(agent=nil, authorizationid=nil, endpoint=nil)
|
6927
|
+
@Agent = agent
|
6928
|
+
@AuthorizationId = authorizationid
|
6929
|
+
@Endpoint = endpoint
|
6930
|
+
end
|
6931
|
+
|
6932
|
+
def deserialize(params)
|
6933
|
+
unless params['Agent'].nil?
|
6934
|
+
@Agent = Agent.new
|
6935
|
+
@Agent.deserialize(params['Agent'])
|
6936
|
+
end
|
6937
|
+
@AuthorizationId = params['AuthorizationId']
|
6938
|
+
@Endpoint = params['Endpoint']
|
6939
|
+
end
|
6940
|
+
end
|
6941
|
+
|
6942
|
+
# CreateModifyAdminAuthorizationUrl返回参数结构体
|
6943
|
+
class CreateModifyAdminAuthorizationUrlResponse < TencentCloud::Common::AbstractModel
|
6944
|
+
# @param Url: 变更企业超管授权书链接。没有有效期限制。注意:此链接仅能由当时认证企业的认证人使用。
|
6945
|
+
# @type Url: String
|
6946
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6947
|
+
# @type RequestId: String
|
6948
|
+
|
6949
|
+
attr_accessor :Url, :RequestId
|
6950
|
+
|
6951
|
+
def initialize(url=nil, requestid=nil)
|
6952
|
+
@Url = url
|
6953
|
+
@RequestId = requestid
|
6954
|
+
end
|
6955
|
+
|
6956
|
+
def deserialize(params)
|
6957
|
+
@Url = params['Url']
|
6958
|
+
@RequestId = params['RequestId']
|
6959
|
+
end
|
6960
|
+
end
|
6961
|
+
|
6857
6962
|
# CreateOrganizationAuthFile请求参数结构体
|
6858
6963
|
class CreateOrganizationAuthFileRequest < TencentCloud::Common::AbstractModel
|
6859
6964
|
# @param Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
@@ -7505,6 +7610,61 @@ module TencentCloud
|
|
7505
7610
|
end
|
7506
7611
|
end
|
7507
7612
|
|
7613
|
+
# DescribeBatchOrganizationRegistrationTasks请求参数结构体
|
7614
|
+
class DescribeBatchOrganizationRegistrationTasksRequest < TencentCloud::Common::AbstractModel
|
7615
|
+
# @param Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
7616
|
+
|
7617
|
+
# 此接口下面信息必填。
|
7618
|
+
# <ul>
|
7619
|
+
# <li>渠道应用标识: Agent.AppId</li>
|
7620
|
+
# </ul>
|
7621
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
7622
|
+
# @param TaskIds: 企业批量认证链接的子任务 SubTaskId,该 SubTaskId 是通过接口[查询企业批量认证链接](https://qian.tencent.com/developers/companyApis/organizations/DescribeBatchOrganizationRegistrationUrls)可以得到。
|
7623
|
+
# @type TaskIds: Array
|
7624
|
+
|
7625
|
+
attr_accessor :Agent, :TaskIds
|
7626
|
+
|
7627
|
+
def initialize(agent=nil, taskids=nil)
|
7628
|
+
@Agent = agent
|
7629
|
+
@TaskIds = taskids
|
7630
|
+
end
|
7631
|
+
|
7632
|
+
def deserialize(params)
|
7633
|
+
unless params['Agent'].nil?
|
7634
|
+
@Agent = Agent.new
|
7635
|
+
@Agent.deserialize(params['Agent'])
|
7636
|
+
end
|
7637
|
+
@TaskIds = params['TaskIds']
|
7638
|
+
end
|
7639
|
+
end
|
7640
|
+
|
7641
|
+
# DescribeBatchOrganizationRegistrationTasks返回参数结构体
|
7642
|
+
class DescribeBatchOrganizationRegistrationTasksResponse < TencentCloud::Common::AbstractModel
|
7643
|
+
# @param Details: 企业批量任务状态明细
|
7644
|
+
# @type Details: Array
|
7645
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7646
|
+
# @type RequestId: String
|
7647
|
+
|
7648
|
+
attr_accessor :Details, :RequestId
|
7649
|
+
|
7650
|
+
def initialize(details=nil, requestid=nil)
|
7651
|
+
@Details = details
|
7652
|
+
@RequestId = requestid
|
7653
|
+
end
|
7654
|
+
|
7655
|
+
def deserialize(params)
|
7656
|
+
unless params['Details'].nil?
|
7657
|
+
@Details = []
|
7658
|
+
params['Details'].each do |i|
|
7659
|
+
batchorganizationregistrationtasksdetails_tmp = BatchOrganizationRegistrationTasksDetails.new
|
7660
|
+
batchorganizationregistrationtasksdetails_tmp.deserialize(i)
|
7661
|
+
@Details << batchorganizationregistrationtasksdetails_tmp
|
7662
|
+
end
|
7663
|
+
end
|
7664
|
+
@RequestId = params['RequestId']
|
7665
|
+
end
|
7666
|
+
end
|
7667
|
+
|
7508
7668
|
# DescribeBatchOrganizationRegistrationUrls请求参数结构体
|
7509
7669
|
class DescribeBatchOrganizationRegistrationUrlsRequest < TencentCloud::Common::AbstractModel
|
7510
7670
|
# @param Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-essbasic
|
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
|