tencentcloud-sdk-ess 3.0.591 → 3.0.592
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 +24 -0
- data/lib/v20201111/models.rb +188 -10
- 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: 93979317b1908791bdfe6f880bf38e0452f1898f
|
4
|
+
data.tar.gz: 0e2fd1eec65c484fa8b9a0e348280fee505d9234
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42d92d3f16987c38f1bdc2cd40d6b2632210dbe52b8069ba7a3eb148be00bbcf9d60481852e89d6a797d53b765402eff95d8f4e61585b8d66d0beccca0aab950
|
7
|
+
data.tar.gz: d21dccf40ab1b3ca1267611deb3e46cfda7be3f6611d952470b201f766bbdfb21a9466eb0ea2e58cf74bccc82bf0c18fd6448a9f049bbf86e6f5972eecc094f7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.592
|
data/lib/v20201111/client.rb
CHANGED
@@ -773,6 +773,30 @@ module TencentCloud
|
|
773
773
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
774
774
|
end
|
775
775
|
|
776
|
+
# 查询企业扩展服务授权信息,目前支持查询:企业静默签,企业与港澳台居民签署合同,使用手机号验证签署方身份,骑缝章,批量签署能力是否已经开通
|
777
|
+
|
778
|
+
# @param request: Request instance for DescribeExtendedServiceAuthInfos.
|
779
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::DescribeExtendedServiceAuthInfosRequest`
|
780
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::DescribeExtendedServiceAuthInfosResponse`
|
781
|
+
def DescribeExtendedServiceAuthInfos(request)
|
782
|
+
body = send_request('DescribeExtendedServiceAuthInfos', request.serialize)
|
783
|
+
response = JSON.parse(body)
|
784
|
+
if response['Response'].key?('Error') == false
|
785
|
+
model = DescribeExtendedServiceAuthInfosResponse.new
|
786
|
+
model.deserialize(response['Response'])
|
787
|
+
model
|
788
|
+
else
|
789
|
+
code = response['Response']['Error']['Code']
|
790
|
+
message = response['Response']['Error']['Message']
|
791
|
+
reqid = response['Response']['RequestId']
|
792
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
793
|
+
end
|
794
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
795
|
+
raise e
|
796
|
+
rescue StandardError => e
|
797
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
798
|
+
end
|
799
|
+
|
776
800
|
# 查询文件下载URL。
|
777
801
|
# 适用场景:通过传参合同流程编号,下载对应的合同PDF文件流到本地。
|
778
802
|
|
data/lib/v20201111/models.rb
CHANGED
@@ -620,11 +620,10 @@ module TencentCloud
|
|
620
620
|
# {“ComponentTypeLimit”: [“xxx”]}
|
621
621
|
# xxx可以为:
|
622
622
|
# HANDWRITE – 手写签名
|
623
|
-
# BORDERLESS_ESIGN – 自动生成无边框腾讯体
|
624
623
|
# OCR_ESIGN -- AI智能识别手写签名
|
625
624
|
# ESIGN -- 个人印章类型
|
626
625
|
# SYSTEM_ESIGN -- 系统签名(该类型可以在用户签署时根据用户姓名一键生成一个签名来进行签署)
|
627
|
-
# 如:{“ComponentTypeLimit”: [“
|
626
|
+
# 如:{“ComponentTypeLimit”: [“SYSTEM_ESIGN”]}
|
628
627
|
|
629
628
|
# ComponentType为SIGN_DATE时,支持以下参数:
|
630
629
|
# 1 Font:字符串类型目前只支持"黑体"、"宋体",如果不填默认为"黑体"
|
@@ -1699,7 +1698,7 @@ module TencentCloud
|
|
1699
1698
|
class CreateIntegrationEmployeesRequest < TencentCloud::Common::AbstractModel
|
1700
1699
|
# @param Operator: 操作人信息,userId必填
|
1701
1700
|
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1702
|
-
# @param Employees: 待创建员工的信息,Mobile和DisplayName
|
1701
|
+
# @param Employees: 待创建员工的信息,Mobile和DisplayName必填,OpenId和Email选填,其他字段暂不支持
|
1703
1702
|
# @type Employees: Array
|
1704
1703
|
# @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
|
1705
1704
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
@@ -2046,6 +2045,9 @@ module TencentCloud
|
|
2046
2045
|
# @type FileId: String
|
2047
2046
|
|
2048
2047
|
attr_accessor :UserName, :IdCardNumber, :SealName, :Operator, :IdCardType, :SealImage, :SealImageCompress, :Mobile, :EnableAutoSign, :SealColor, :ProcessSeal, :FileId
|
2048
|
+
extend Gem::Deprecate
|
2049
|
+
deprecate :SealImage, :none, 2023, 6
|
2050
|
+
deprecate :SealImage=, :none, 2023, 6
|
2049
2051
|
|
2050
2052
|
def initialize(username=nil, idcardnumber=nil, sealname=nil, operator=nil, idcardtype=nil, sealimage=nil, sealimagecompress=nil, mobile=nil, enableautosign=nil, sealcolor=nil, processseal=nil, fileid=nil)
|
2051
2053
|
@UserName = username
|
@@ -2711,6 +2713,68 @@ module TencentCloud
|
|
2711
2713
|
end
|
2712
2714
|
end
|
2713
2715
|
|
2716
|
+
# DescribeExtendedServiceAuthInfos请求参数结构体
|
2717
|
+
class DescribeExtendedServiceAuthInfosRequest < TencentCloud::Common::AbstractModel
|
2718
|
+
# @param Operator: 操作人信息
|
2719
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
2720
|
+
# @param Agent: 代理相关应用信息,如集团主企业代子企业操作
|
2721
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
2722
|
+
# @param ExtendServiceType: 扩展服务类型,默认为空,查询目前支持的所有扩展服务信息,单个指定则查询单个扩展服务开通信息,取值:
|
2723
|
+
# OPEN_SERVER_SIGN:开通企业静默签署
|
2724
|
+
# OVERSEA_SIGN:企业与港澳台居民签署合同
|
2725
|
+
# MOBILE_CHECK_APPROVER:使用手机号验证签署方身份
|
2726
|
+
# PAGING_SEAL:骑缝章
|
2727
|
+
# BATCH_SIGN:批量签署
|
2728
|
+
# @type ExtendServiceType: String
|
2729
|
+
|
2730
|
+
attr_accessor :Operator, :Agent, :ExtendServiceType
|
2731
|
+
|
2732
|
+
def initialize(operator=nil, agent=nil, extendservicetype=nil)
|
2733
|
+
@Operator = operator
|
2734
|
+
@Agent = agent
|
2735
|
+
@ExtendServiceType = extendservicetype
|
2736
|
+
end
|
2737
|
+
|
2738
|
+
def deserialize(params)
|
2739
|
+
unless params['Operator'].nil?
|
2740
|
+
@Operator = UserInfo.new
|
2741
|
+
@Operator.deserialize(params['Operator'])
|
2742
|
+
end
|
2743
|
+
unless params['Agent'].nil?
|
2744
|
+
@Agent = Agent.new
|
2745
|
+
@Agent.deserialize(params['Agent'])
|
2746
|
+
end
|
2747
|
+
@ExtendServiceType = params['ExtendServiceType']
|
2748
|
+
end
|
2749
|
+
end
|
2750
|
+
|
2751
|
+
# DescribeExtendedServiceAuthInfos返回参数结构体
|
2752
|
+
class DescribeExtendedServiceAuthInfosResponse < TencentCloud::Common::AbstractModel
|
2753
|
+
# @param AuthInfoList: 授权服务信息列表
|
2754
|
+
# @type AuthInfoList: Array
|
2755
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2756
|
+
# @type RequestId: String
|
2757
|
+
|
2758
|
+
attr_accessor :AuthInfoList, :RequestId
|
2759
|
+
|
2760
|
+
def initialize(authinfolist=nil, requestid=nil)
|
2761
|
+
@AuthInfoList = authinfolist
|
2762
|
+
@RequestId = requestid
|
2763
|
+
end
|
2764
|
+
|
2765
|
+
def deserialize(params)
|
2766
|
+
unless params['AuthInfoList'].nil?
|
2767
|
+
@AuthInfoList = []
|
2768
|
+
params['AuthInfoList'].each do |i|
|
2769
|
+
extendauthinfo_tmp = ExtendAuthInfo.new
|
2770
|
+
extendauthinfo_tmp.deserialize(i)
|
2771
|
+
@AuthInfoList << extendauthinfo_tmp
|
2772
|
+
end
|
2773
|
+
end
|
2774
|
+
@RequestId = params['RequestId']
|
2775
|
+
end
|
2776
|
+
end
|
2777
|
+
|
2714
2778
|
# DescribeFileUrls请求参数结构体
|
2715
2779
|
class DescribeFileUrlsRequest < TencentCloud::Common::AbstractModel
|
2716
2780
|
# @param Operator: 调用方用户信息,UserId 必填
|
@@ -2995,9 +3059,7 @@ module TencentCloud
|
|
2995
3059
|
# @type Offset: Integer
|
2996
3060
|
# @param Limit: 查询个数,默认20,最大200
|
2997
3061
|
# @type Limit: Integer
|
2998
|
-
# @param ApplicationId:
|
2999
|
-
# IsChannel=false时,ApplicationId参数不起任何作用。
|
3000
|
-
# IsChannel=true时,ApplicationId为空,查询所有第三方应用集成平台企业模板列表;ApplicationId不为空,查询指定应用下的模板列表
|
3062
|
+
# @param ApplicationId: ApplicationId不为空,查询指定应用下的模板列表
|
3001
3063
|
# ApplicationId为空,查询所有应用下的模板列表
|
3002
3064
|
# @type ApplicationId: String
|
3003
3065
|
# @param IsChannel: 默认为false,查询SaaS模板库列表;
|
@@ -3010,6 +3072,8 @@ module TencentCloud
|
|
3010
3072
|
|
3011
3073
|
attr_accessor :Operator, :Agent, :ContentType, :Filters, :Offset, :Limit, :ApplicationId, :IsChannel, :Organization, :GenerateSource
|
3012
3074
|
extend Gem::Deprecate
|
3075
|
+
deprecate :IsChannel, :none, 2023, 6
|
3076
|
+
deprecate :IsChannel=, :none, 2023, 6
|
3013
3077
|
deprecate :Organization, :none, 2023, 6
|
3014
3078
|
deprecate :Organization=, :none, 2023, 6
|
3015
3079
|
deprecate :GenerateSource, :none, 2023, 6
|
@@ -3680,6 +3744,58 @@ module TencentCloud
|
|
3680
3744
|
end
|
3681
3745
|
end
|
3682
3746
|
|
3747
|
+
# 授权服务信息
|
3748
|
+
class ExtendAuthInfo < TencentCloud::Common::AbstractModel
|
3749
|
+
# @param Type: 授权服务类型
|
3750
|
+
# OPEN_SERVER_SIGN:开通企业静默签署
|
3751
|
+
# OVERSEA_SIGN:企业与港澳台居民签署合同
|
3752
|
+
# MOBILE_CHECK_APPROVER:使用手机号验证签署方身份
|
3753
|
+
# PAGING_SEAL:骑缝章
|
3754
|
+
# BATCH_SIGN:批量签署
|
3755
|
+
# @type Type: String
|
3756
|
+
# @param Name: 授权服务名称
|
3757
|
+
# @type Name: String
|
3758
|
+
# @param Status: 授权服务状态,ENABLE:开通
|
3759
|
+
# DISABLE:未开通
|
3760
|
+
# @type Status: String
|
3761
|
+
# @param OperatorUserId: 授权人用户id
|
3762
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3763
|
+
# @type OperatorUserId: String
|
3764
|
+
# @param OperateOn: 授权时间戳,单位秒
|
3765
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3766
|
+
# @type OperateOn: Integer
|
3767
|
+
# @param HasAuthUserList: 被授权用户列表
|
3768
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3769
|
+
# @type HasAuthUserList: Array
|
3770
|
+
|
3771
|
+
attr_accessor :Type, :Name, :Status, :OperatorUserId, :OperateOn, :HasAuthUserList
|
3772
|
+
|
3773
|
+
def initialize(type=nil, name=nil, status=nil, operatoruserid=nil, operateon=nil, hasauthuserlist=nil)
|
3774
|
+
@Type = type
|
3775
|
+
@Name = name
|
3776
|
+
@Status = status
|
3777
|
+
@OperatorUserId = operatoruserid
|
3778
|
+
@OperateOn = operateon
|
3779
|
+
@HasAuthUserList = hasauthuserlist
|
3780
|
+
end
|
3781
|
+
|
3782
|
+
def deserialize(params)
|
3783
|
+
@Type = params['Type']
|
3784
|
+
@Name = params['Name']
|
3785
|
+
@Status = params['Status']
|
3786
|
+
@OperatorUserId = params['OperatorUserId']
|
3787
|
+
@OperateOn = params['OperateOn']
|
3788
|
+
unless params['HasAuthUserList'].nil?
|
3789
|
+
@HasAuthUserList = []
|
3790
|
+
params['HasAuthUserList'].each do |i|
|
3791
|
+
hasauthuser_tmp = HasAuthUser.new
|
3792
|
+
hasauthuser_tmp.deserialize(i)
|
3793
|
+
@HasAuthUserList << hasauthuser_tmp
|
3794
|
+
end
|
3795
|
+
end
|
3796
|
+
end
|
3797
|
+
end
|
3798
|
+
|
3683
3799
|
# 绑定角色失败信息
|
3684
3800
|
class FailedCreateRoleData < TencentCloud::Common::AbstractModel
|
3685
3801
|
# @param UserId: 用户userId
|
@@ -4554,6 +4670,30 @@ module TencentCloud
|
|
4554
4670
|
end
|
4555
4671
|
end
|
4556
4672
|
|
4673
|
+
# 被授权用户信息
|
4674
|
+
class HasAuthUser < TencentCloud::Common::AbstractModel
|
4675
|
+
# @param UserId: 用户id
|
4676
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4677
|
+
# @type UserId: String
|
4678
|
+
# @param BelongTo: 用户归属
|
4679
|
+
# MainOrg:主企业
|
4680
|
+
# CurrentOrg:当前企业
|
4681
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4682
|
+
# @type BelongTo: String
|
4683
|
+
|
4684
|
+
attr_accessor :UserId, :BelongTo
|
4685
|
+
|
4686
|
+
def initialize(userid=nil, belongto=nil)
|
4687
|
+
@UserId = userid
|
4688
|
+
@BelongTo = belongto
|
4689
|
+
end
|
4690
|
+
|
4691
|
+
def deserialize(params)
|
4692
|
+
@UserId = params['UserId']
|
4693
|
+
@BelongTo = params['BelongTo']
|
4694
|
+
end
|
4695
|
+
end
|
4696
|
+
|
4557
4697
|
# 企业角色数据信息
|
4558
4698
|
class IntegrateRole < TencentCloud::Common::AbstractModel
|
4559
4699
|
# @param RoleId: 角色id
|
@@ -5099,6 +5239,17 @@ module TencentCloud
|
|
5099
5239
|
end
|
5100
5240
|
end
|
5101
5241
|
|
5242
|
+
# 模板结构体中的印章信息
|
5243
|
+
class SealInfo < TencentCloud::Common::AbstractModel
|
5244
|
+
|
5245
|
+
|
5246
|
+
def initialize()
|
5247
|
+
end
|
5248
|
+
|
5249
|
+
def deserialize(params)
|
5250
|
+
end
|
5251
|
+
end
|
5252
|
+
|
5102
5253
|
# 一码多扫签署二维码对象
|
5103
5254
|
class SignQrCode < TencentCloud::Common::AbstractModel
|
5104
5255
|
# @param QrCodeId: 二维码id
|
@@ -5432,10 +5583,19 @@ module TencentCloud
|
|
5432
5583
|
# @param Published: 模板是否已发布。true-已发布;false-未发布
|
5433
5584
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5434
5585
|
# @type Published: Boolean
|
5586
|
+
# @param TemplateSeals: 模板内部指定的印章列表
|
5587
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5588
|
+
# @type TemplateSeals: Array
|
5589
|
+
# @param Seals: 模板内部指定的印章列表
|
5590
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5591
|
+
# @type Seals: Array
|
5435
5592
|
|
5436
|
-
attr_accessor :TemplateId, :TemplateName, :Description, :DocumentResourceIds, :FileInfos, :AttachmentResourceIds, :SignOrder, :Recipients, :Components, :SignComponents, :Status, :Creator, :CreatedOn, :Promoter, :TemplateType, :Available, :OrganizationId, :PreviewUrl, :TemplateVersion, :Published
|
5593
|
+
attr_accessor :TemplateId, :TemplateName, :Description, :DocumentResourceIds, :FileInfos, :AttachmentResourceIds, :SignOrder, :Recipients, :Components, :SignComponents, :Status, :Creator, :CreatedOn, :Promoter, :TemplateType, :Available, :OrganizationId, :PreviewUrl, :TemplateVersion, :Published, :TemplateSeals, :Seals
|
5594
|
+
extend Gem::Deprecate
|
5595
|
+
deprecate :Seals, :none, 2023, 6
|
5596
|
+
deprecate :Seals=, :none, 2023, 6
|
5437
5597
|
|
5438
|
-
def initialize(templateid=nil, templatename=nil, description=nil, documentresourceids=nil, fileinfos=nil, attachmentresourceids=nil, signorder=nil, recipients=nil, components=nil, signcomponents=nil, status=nil, creator=nil, createdon=nil, promoter=nil, templatetype=nil, available=nil, organizationid=nil, previewurl=nil, templateversion=nil, published=nil)
|
5598
|
+
def initialize(templateid=nil, templatename=nil, description=nil, documentresourceids=nil, fileinfos=nil, attachmentresourceids=nil, signorder=nil, recipients=nil, components=nil, signcomponents=nil, status=nil, creator=nil, createdon=nil, promoter=nil, templatetype=nil, available=nil, organizationid=nil, previewurl=nil, templateversion=nil, published=nil, templateseals=nil, seals=nil)
|
5439
5599
|
@TemplateId = templateid
|
5440
5600
|
@TemplateName = templatename
|
5441
5601
|
@Description = description
|
@@ -5456,6 +5616,8 @@ module TencentCloud
|
|
5456
5616
|
@PreviewUrl = previewurl
|
5457
5617
|
@TemplateVersion = templateversion
|
5458
5618
|
@Published = published
|
5619
|
+
@TemplateSeals = templateseals
|
5620
|
+
@Seals = seals
|
5459
5621
|
end
|
5460
5622
|
|
5461
5623
|
def deserialize(params)
|
@@ -5510,6 +5672,22 @@ module TencentCloud
|
|
5510
5672
|
@PreviewUrl = params['PreviewUrl']
|
5511
5673
|
@TemplateVersion = params['TemplateVersion']
|
5512
5674
|
@Published = params['Published']
|
5675
|
+
unless params['TemplateSeals'].nil?
|
5676
|
+
@TemplateSeals = []
|
5677
|
+
params['TemplateSeals'].each do |i|
|
5678
|
+
sealinfo_tmp = SealInfo.new
|
5679
|
+
sealinfo_tmp.deserialize(i)
|
5680
|
+
@TemplateSeals << sealinfo_tmp
|
5681
|
+
end
|
5682
|
+
end
|
5683
|
+
unless params['Seals'].nil?
|
5684
|
+
@Seals = []
|
5685
|
+
params['Seals'].each do |i|
|
5686
|
+
sealinfo_tmp = SealInfo.new
|
5687
|
+
sealinfo_tmp.deserialize(i)
|
5688
|
+
@Seals << sealinfo_tmp
|
5689
|
+
end
|
5690
|
+
end
|
5513
5691
|
end
|
5514
5692
|
end
|
5515
5693
|
|
@@ -5562,9 +5740,9 @@ module TencentCloud
|
|
5562
5740
|
|
5563
5741
|
# UpdateIntegrationEmployees请求参数结构体
|
5564
5742
|
class UpdateIntegrationEmployeesRequest < TencentCloud::Common::AbstractModel
|
5565
|
-
# @param Operator:
|
5743
|
+
# @param Operator: 操作人信息,userId必填
|
5566
5744
|
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
5567
|
-
# @param Employees:
|
5745
|
+
# @param Employees: 员工信息,OpenId和UserId必填一个,Email、DisplayName和Email选填,其他字段暂不支持
|
5568
5746
|
# @type Employees: Array
|
5569
5747
|
# @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId需填充子企业Id
|
5570
5748
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
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.592
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|