tencentcloud-sdk-essbasic 3.0.461 → 3.0.463
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 +1 -1
- data/lib/v20210526/models.rb +48 -40
- 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: ff0cf5a475e816738f77d5c6163a1fd19bd60a38
|
4
|
+
data.tar.gz: cc352a22f0bda9624ec0e5cf473d5e018f12ea64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c30ad3ba0b02064b98f1515756177f8eb47448a5ce0c299269e8c423ce06ec23e9c916b8a0e115209b11e1f1e99ea600e6a1bcc47e62950a9903dc3023b10bc
|
7
|
+
data.tar.gz: 4988014780d35f2a008f5aeda06f7684b2bc507822df14c143137f74e22ea7cbf6c0e4814e3c7261b415498fe11a7b26d132104a7d20c84ac8b67d55548c9714
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.463
|
data/lib/v20210526/client.rb
CHANGED
@@ -135,7 +135,7 @@ module TencentCloud
|
|
135
135
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
136
136
|
end
|
137
137
|
|
138
|
-
# 此接口(
|
138
|
+
# 此接口(ChannelCreateBoundFlows)用于渠道子客领取合同,经办人需要有相应的角色,领取后的合同不能重复领取。
|
139
139
|
|
140
140
|
# @param request: Request instance for ChannelCreateBoundFlows.
|
141
141
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateBoundFlowsRequest`
|
data/lib/v20210526/models.rb
CHANGED
@@ -19,15 +19,15 @@ module TencentCloud
|
|
19
19
|
module V20210526
|
20
20
|
# 应用相关信息
|
21
21
|
class Agent < TencentCloud::Common::AbstractModel
|
22
|
-
# @param AppId:
|
22
|
+
# @param AppId: 应用的唯一标识。不同的业务系统可以采用不同的AppId,不同AppId下的数据是隔离的。可以由控制台开发者中心-应用集成自主生成。
|
23
23
|
# @type AppId: String
|
24
|
-
# @param ProxyOrganizationOpenId:
|
24
|
+
# @param ProxyOrganizationOpenId: 渠道平台自定义,对于渠道子客企业的唯一标识。一个渠道子客企业主体与子客企业ProxyOrganizationOpenId是一一对应的,不可更改,不可重复使用。(例如,可以使用企业名称的hash值,或者社会统一信用代码的hash值,或者随机hash值,需要渠道平台保存),最大64位字符串
|
25
25
|
# @type ProxyOrganizationOpenId: String
|
26
|
-
# @param ProxyOperator:
|
26
|
+
# @param ProxyOperator: 渠道子客企业中的员工/经办人,通过渠道平台进入电子签完成实名、且被赋予相关权限后,可以参与到企业资源的管理或签署流程中。
|
27
27
|
# @type ProxyOperator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
28
|
-
# @param ProxyAppId:
|
28
|
+
# @param ProxyAppId: 在子客企业开通电子签后,会生成唯一的子客应用Id(ProxyAppId)用于代理调用时的鉴权,在子客开通的回调中获取。
|
29
29
|
# @type ProxyAppId: String
|
30
|
-
# @param ProxyOrganizationId:
|
30
|
+
# @param ProxyOrganizationId: 内部参数,暂未开放使用
|
31
31
|
# @type ProxyOrganizationId: String
|
32
32
|
|
33
33
|
attr_accessor :AppId, :ProxyOrganizationOpenId, :ProxyOperator, :ProxyAppId, :ProxyOrganizationId
|
@@ -379,7 +379,7 @@ module TencentCloud
|
|
379
379
|
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
380
380
|
# @param FlowIds: 领取的合同id列表
|
381
381
|
# @type FlowIds: Array
|
382
|
-
# @param Operator:
|
382
|
+
# @param Operator: 暂未开放
|
383
383
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
384
384
|
|
385
385
|
attr_accessor :Agent, :FlowIds, :Operator
|
@@ -829,13 +829,13 @@ module TencentCloud
|
|
829
829
|
|
830
830
|
# ChannelCreateReleaseFlow请求参数结构体
|
831
831
|
class ChannelCreateReleaseFlowRequest < TencentCloud::Common::AbstractModel
|
832
|
+
# @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
|
833
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
832
834
|
# @param NeedRelievedFlowId: 待解除的流程编号(即原流程的编号)
|
833
835
|
# @type NeedRelievedFlowId: String
|
834
836
|
# @param ReliveInfo: 解除协议内容
|
835
837
|
# @type ReliveInfo: :class:`Tencentcloud::Essbasic.v20210526.models.RelieveInfo`
|
836
|
-
# @param
|
837
|
-
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
838
|
-
# @param ReleasedApprovers: 非必须,解除协议的本企业签署人列表,默认使用原流程的签署人列表;当解除协议的签署人与原流程的签署人不能相同时(比如原流程签署人离职了),需要指定本企业的其他签署人来替换原流程中的原签署人,注意需要指明ApproverNumber来代表需要替换哪一个签署人,解除协议的签署人数量不能多于原流程的签署人数量
|
838
|
+
# @param ReleasedApprovers: 非必须,解除协议的本企业签署人列表,默认使用原流程的签署人列表;当解除协议的签署人与原流程的签署人不能相同时(例如原流程签署人离职了),需要指定本企业的其他签署人来替换原流程中的原签署人,注意需要指明ApproverNumber来代表需要替换哪一个签署人,解除协议的签署人数量不能多于原流程的签署人数量
|
839
839
|
# @type ReleasedApprovers: Array
|
840
840
|
# @param CallbackUrl: 签署完回调url,最大长度1000个字符
|
841
841
|
# @type CallbackUrl: String
|
@@ -844,12 +844,12 @@ module TencentCloud
|
|
844
844
|
# @param Operator: 用户信息
|
845
845
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
846
846
|
|
847
|
-
attr_accessor :
|
847
|
+
attr_accessor :Agent, :NeedRelievedFlowId, :ReliveInfo, :ReleasedApprovers, :CallbackUrl, :Organization, :Operator
|
848
848
|
|
849
|
-
def initialize(
|
849
|
+
def initialize(agent=nil, needrelievedflowid=nil, reliveinfo=nil, releasedapprovers=nil, callbackurl=nil, organization=nil, operator=nil)
|
850
|
+
@Agent = agent
|
850
851
|
@NeedRelievedFlowId = needrelievedflowid
|
851
852
|
@ReliveInfo = reliveinfo
|
852
|
-
@Agent = agent
|
853
853
|
@ReleasedApprovers = releasedapprovers
|
854
854
|
@CallbackUrl = callbackurl
|
855
855
|
@Organization = organization
|
@@ -857,15 +857,15 @@ module TencentCloud
|
|
857
857
|
end
|
858
858
|
|
859
859
|
def deserialize(params)
|
860
|
+
unless params['Agent'].nil?
|
861
|
+
@Agent = Agent.new
|
862
|
+
@Agent.deserialize(params['Agent'])
|
863
|
+
end
|
860
864
|
@NeedRelievedFlowId = params['NeedRelievedFlowId']
|
861
865
|
unless params['ReliveInfo'].nil?
|
862
866
|
@ReliveInfo = RelieveInfo.new
|
863
867
|
@ReliveInfo.deserialize(params['ReliveInfo'])
|
864
868
|
end
|
865
|
-
unless params['Agent'].nil?
|
866
|
-
@Agent = Agent.new
|
867
|
-
@Agent.deserialize(params['Agent'])
|
868
|
-
end
|
869
869
|
unless params['ReleasedApprovers'].nil?
|
870
870
|
@ReleasedApprovers = []
|
871
871
|
params['ReleasedApprovers'].each do |i|
|
@@ -1640,9 +1640,9 @@ module TencentCloud
|
|
1640
1640
|
class CreateSealByImageRequest < TencentCloud::Common::AbstractModel
|
1641
1641
|
# @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
|
1642
1642
|
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
1643
|
-
# @param SealName: 印章名称,最大长度不超过
|
1643
|
+
# @param SealName: 印章名称,最大长度不超过50字符
|
1644
1644
|
# @type SealName: String
|
1645
|
-
# @param SealImage: 印章图片base64
|
1645
|
+
# @param SealImage: 印章图片base64,大小不超过10M(原始图片不超过7.6M)
|
1646
1646
|
# @type SealImage: String
|
1647
1647
|
# @param Operator: 操作者的信息
|
1648
1648
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
@@ -2040,10 +2040,12 @@ module TencentCloud
|
|
2040
2040
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
2041
2041
|
# @param WithPreviewUrl: 是否获取模板预览链接
|
2042
2042
|
# @type WithPreviewUrl: Boolean
|
2043
|
+
# @param WithPdfUrl: 是否获取模板的PDF文件链接-渠道版需要开启白名单时才能使用。
|
2044
|
+
# @type WithPdfUrl: Boolean
|
2043
2045
|
|
2044
|
-
attr_accessor :Agent, :TemplateId, :ContentType, :Limit, :Offset, :QueryAllComponents, :TemplateName, :Operator, :WithPreviewUrl
|
2046
|
+
attr_accessor :Agent, :TemplateId, :ContentType, :Limit, :Offset, :QueryAllComponents, :TemplateName, :Operator, :WithPreviewUrl, :WithPdfUrl
|
2045
2047
|
|
2046
|
-
def initialize(agent=nil, templateid=nil, contenttype=nil, limit=nil, offset=nil, queryallcomponents=nil, templatename=nil, operator=nil, withpreviewurl=nil)
|
2048
|
+
def initialize(agent=nil, templateid=nil, contenttype=nil, limit=nil, offset=nil, queryallcomponents=nil, templatename=nil, operator=nil, withpreviewurl=nil, withpdfurl=nil)
|
2047
2049
|
@Agent = agent
|
2048
2050
|
@TemplateId = templateid
|
2049
2051
|
@ContentType = contenttype
|
@@ -2053,6 +2055,7 @@ module TencentCloud
|
|
2053
2055
|
@TemplateName = templatename
|
2054
2056
|
@Operator = operator
|
2055
2057
|
@WithPreviewUrl = withpreviewurl
|
2058
|
+
@WithPdfUrl = withpdfurl
|
2056
2059
|
end
|
2057
2060
|
|
2058
2061
|
def deserialize(params)
|
@@ -2071,6 +2074,7 @@ module TencentCloud
|
|
2071
2074
|
@Operator.deserialize(params['Operator'])
|
2072
2075
|
end
|
2073
2076
|
@WithPreviewUrl = params['WithPreviewUrl']
|
2077
|
+
@WithPdfUrl = params['WithPdfUrl']
|
2074
2078
|
end
|
2075
2079
|
end
|
2076
2080
|
|
@@ -3164,7 +3168,7 @@ module TencentCloud
|
|
3164
3168
|
|
3165
3169
|
# 合作企业经办人列表信息
|
3166
3170
|
class ProxyOrganizationOperator < TencentCloud::Common::AbstractModel
|
3167
|
-
# @param Id:
|
3171
|
+
# @param Id: 对应Agent-ProxyOperator-OpenId。渠道平台自定义,对渠道子客企业员的唯一标识。一个OpenId在一个子客企业内唯一对应一个真实员工,不可在其他子客企业内重复使用。(比如,可以使用经办人企业名+员工身份证的hash值,需要渠道平台保存),最大64位字符串
|
3168
3172
|
# @type Id: String
|
3169
3173
|
# @param Name: 经办人姓名,最大长度50个字符
|
3170
3174
|
# @type Name: String
|
@@ -3768,10 +3772,10 @@ module TencentCloud
|
|
3768
3772
|
# @type Description: String
|
3769
3773
|
# @param Components: 模板控件信息结构
|
3770
3774
|
# @type Components: Array
|
3771
|
-
# @param SignComponents: 签署区模板信息结构
|
3772
|
-
# @type SignComponents: Array
|
3773
3775
|
# @param Recipients: 模板中的流程参与人信息
|
3774
3776
|
# @type Recipients: Array
|
3777
|
+
# @param SignComponents: 签署区模板信息结构
|
3778
|
+
# @type SignComponents: Array
|
3775
3779
|
# @param TemplateType: 模板类型:1-静默签;3-普通模板
|
3776
3780
|
# @type TemplateType: Integer
|
3777
3781
|
# @param IsPromoter: 是否是发起人 ,已弃用
|
@@ -3784,24 +3788,27 @@ module TencentCloud
|
|
3784
3788
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3785
3789
|
# @type PreviewUrl: String
|
3786
3790
|
# @param ChannelTemplateId: 渠道模板ID
|
3787
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3788
3791
|
# @type ChannelTemplateId: String
|
3792
|
+
# @param PdfUrl: 渠道版-模板PDF文件链接
|
3793
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3794
|
+
# @type PdfUrl: String
|
3789
3795
|
|
3790
|
-
attr_accessor :TemplateId, :TemplateName, :Description, :Components, :
|
3796
|
+
attr_accessor :TemplateId, :TemplateName, :Description, :Components, :Recipients, :SignComponents, :TemplateType, :IsPromoter, :Creator, :CreatedOn, :PreviewUrl, :ChannelTemplateId, :PdfUrl
|
3791
3797
|
|
3792
|
-
def initialize(templateid=nil, templatename=nil, description=nil, components=nil,
|
3798
|
+
def initialize(templateid=nil, templatename=nil, description=nil, components=nil, recipients=nil, signcomponents=nil, templatetype=nil, ispromoter=nil, creator=nil, createdon=nil, previewurl=nil, channeltemplateid=nil, pdfurl=nil)
|
3793
3799
|
@TemplateId = templateid
|
3794
3800
|
@TemplateName = templatename
|
3795
3801
|
@Description = description
|
3796
3802
|
@Components = components
|
3797
|
-
@SignComponents = signcomponents
|
3798
3803
|
@Recipients = recipients
|
3804
|
+
@SignComponents = signcomponents
|
3799
3805
|
@TemplateType = templatetype
|
3800
3806
|
@IsPromoter = ispromoter
|
3801
3807
|
@Creator = creator
|
3802
3808
|
@CreatedOn = createdon
|
3803
3809
|
@PreviewUrl = previewurl
|
3804
3810
|
@ChannelTemplateId = channeltemplateid
|
3811
|
+
@PdfUrl = pdfurl
|
3805
3812
|
end
|
3806
3813
|
|
3807
3814
|
def deserialize(params)
|
@@ -3816,14 +3823,6 @@ module TencentCloud
|
|
3816
3823
|
@Components << component_tmp
|
3817
3824
|
end
|
3818
3825
|
end
|
3819
|
-
unless params['SignComponents'].nil?
|
3820
|
-
@SignComponents = []
|
3821
|
-
params['SignComponents'].each do |i|
|
3822
|
-
component_tmp = Component.new
|
3823
|
-
component_tmp.deserialize(i)
|
3824
|
-
@SignComponents << component_tmp
|
3825
|
-
end
|
3826
|
-
end
|
3827
3826
|
unless params['Recipients'].nil?
|
3828
3827
|
@Recipients = []
|
3829
3828
|
params['Recipients'].each do |i|
|
@@ -3832,12 +3831,21 @@ module TencentCloud
|
|
3832
3831
|
@Recipients << recipient_tmp
|
3833
3832
|
end
|
3834
3833
|
end
|
3834
|
+
unless params['SignComponents'].nil?
|
3835
|
+
@SignComponents = []
|
3836
|
+
params['SignComponents'].each do |i|
|
3837
|
+
component_tmp = Component.new
|
3838
|
+
component_tmp.deserialize(i)
|
3839
|
+
@SignComponents << component_tmp
|
3840
|
+
end
|
3841
|
+
end
|
3835
3842
|
@TemplateType = params['TemplateType']
|
3836
3843
|
@IsPromoter = params['IsPromoter']
|
3837
3844
|
@Creator = params['Creator']
|
3838
3845
|
@CreatedOn = params['CreatedOn']
|
3839
3846
|
@PreviewUrl = params['PreviewUrl']
|
3840
3847
|
@ChannelTemplateId = params['ChannelTemplateId']
|
3848
|
+
@PdfUrl = params['PdfUrl']
|
3841
3849
|
end
|
3842
3850
|
end
|
3843
3851
|
|
@@ -3974,15 +3982,15 @@ module TencentCloud
|
|
3974
3982
|
|
3975
3983
|
# 接口调用者信息
|
3976
3984
|
class UserInfo < TencentCloud::Common::AbstractModel
|
3977
|
-
# @param OpenId:
|
3985
|
+
# @param OpenId: 渠道平台自定义,对渠道子客企业员的唯一标识。一个OpenId在一个子客企业内唯一对应一个真实员工,不可在其他子客企业内重复使用。(例如,可以使用经办人企业名+员工身份证的hash值,需要渠道平台保存),最大64位字符串
|
3978
3986
|
# @type OpenId: String
|
3979
|
-
# @param Channel:
|
3987
|
+
# @param Channel: 内部参数,暂未开放使用
|
3980
3988
|
# @type Channel: String
|
3981
|
-
# @param CustomUserId:
|
3989
|
+
# @param CustomUserId: 内部参数,暂未开放使用
|
3982
3990
|
# @type CustomUserId: String
|
3983
|
-
# @param ClientIp:
|
3991
|
+
# @param ClientIp: 内部参数,暂未开放使用
|
3984
3992
|
# @type ClientIp: String
|
3985
|
-
# @param ProxyIp:
|
3993
|
+
# @param ProxyIp: 内部参数,暂未开放使用
|
3986
3994
|
# @type ProxyIp: String
|
3987
3995
|
|
3988
3996
|
attr_accessor :OpenId, :Channel, :CustomUserId, :ClientIp, :ProxyIp
|
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.463
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|