tencentcloud-sdk-essbasic 3.0.460 → 3.0.462
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 +26 -1
- data/lib/v20210526/models.rb +210 -31
- 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: 896457b97c0872e5b99c74f6727b27f162cae1ca
|
4
|
+
data.tar.gz: 65b5d58eac546d2487d26c55b1dac91a61510d70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aed0f873d2618216073fa3a529e46e6f96b5b2ff0fab6826af4fee04f6a5feb7c549845c12547fed3fbe167cfcc157880ffc3f7e81fe958e5dda205d6666ce8b
|
7
|
+
data.tar.gz: 049b25e1fd4d359d19e5045f46026be1550a3ffd91233e14802d6a9b1c201f095c426015300741e336b881cd641fc9d98a2237f903fc4c84ec5802668053899a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.462
|
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`
|
@@ -283,6 +283,31 @@ module TencentCloud
|
|
283
283
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
284
284
|
end
|
285
285
|
|
286
|
+
# 渠道版发起解除协议,主要应用场景为:基于一份已经签署的合同,进行解除操作。
|
287
|
+
# 合同发起人必须在电子签已经进行实名。
|
288
|
+
|
289
|
+
# @param request: Request instance for ChannelCreateReleaseFlow.
|
290
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateReleaseFlowRequest`
|
291
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateReleaseFlowResponse`
|
292
|
+
def ChannelCreateReleaseFlow(request)
|
293
|
+
body = send_request('ChannelCreateReleaseFlow', request.serialize)
|
294
|
+
response = JSON.parse(body)
|
295
|
+
if response['Response'].key?('Error') == false
|
296
|
+
model = ChannelCreateReleaseFlowResponse.new
|
297
|
+
model.deserialize(response['Response'])
|
298
|
+
model
|
299
|
+
else
|
300
|
+
code = response['Response']['Error']['Code']
|
301
|
+
message = response['Response']['Error']['Message']
|
302
|
+
reqid = response['Response']['RequestId']
|
303
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
304
|
+
end
|
305
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
306
|
+
raise e
|
307
|
+
rescue StandardError => e
|
308
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
309
|
+
end
|
310
|
+
|
286
311
|
# 查询企业员工列表
|
287
312
|
|
288
313
|
# @param request: Request instance for ChannelDescribeEmployees.
|
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
|
@@ -827,6 +827,85 @@ module TencentCloud
|
|
827
827
|
end
|
828
828
|
end
|
829
829
|
|
830
|
+
# ChannelCreateReleaseFlow请求参数结构体
|
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`
|
834
|
+
# @param NeedRelievedFlowId: 待解除的流程编号(即原流程的编号)
|
835
|
+
# @type NeedRelievedFlowId: String
|
836
|
+
# @param ReliveInfo: 解除协议内容
|
837
|
+
# @type ReliveInfo: :class:`Tencentcloud::Essbasic.v20210526.models.RelieveInfo`
|
838
|
+
# @param ReleasedApprovers: 非必须,解除协议的本企业签署人列表,默认使用原流程的签署人列表;当解除协议的签署人与原流程的签署人不能相同时(例如原流程签署人离职了),需要指定本企业的其他签署人来替换原流程中的原签署人,注意需要指明ApproverNumber来代表需要替换哪一个签署人,解除协议的签署人数量不能多于原流程的签署人数量
|
839
|
+
# @type ReleasedApprovers: Array
|
840
|
+
# @param CallbackUrl: 签署完回调url,最大长度1000个字符
|
841
|
+
# @type CallbackUrl: String
|
842
|
+
# @param Organization: 机构信息
|
843
|
+
# @type Organization: :class:`Tencentcloud::Essbasic.v20210526.models.OrganizationInfo`
|
844
|
+
# @param Operator: 用户信息
|
845
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
846
|
+
|
847
|
+
attr_accessor :Agent, :NeedRelievedFlowId, :ReliveInfo, :ReleasedApprovers, :CallbackUrl, :Organization, :Operator
|
848
|
+
|
849
|
+
def initialize(agent=nil, needrelievedflowid=nil, reliveinfo=nil, releasedapprovers=nil, callbackurl=nil, organization=nil, operator=nil)
|
850
|
+
@Agent = agent
|
851
|
+
@NeedRelievedFlowId = needrelievedflowid
|
852
|
+
@ReliveInfo = reliveinfo
|
853
|
+
@ReleasedApprovers = releasedapprovers
|
854
|
+
@CallbackUrl = callbackurl
|
855
|
+
@Organization = organization
|
856
|
+
@Operator = operator
|
857
|
+
end
|
858
|
+
|
859
|
+
def deserialize(params)
|
860
|
+
unless params['Agent'].nil?
|
861
|
+
@Agent = Agent.new
|
862
|
+
@Agent.deserialize(params['Agent'])
|
863
|
+
end
|
864
|
+
@NeedRelievedFlowId = params['NeedRelievedFlowId']
|
865
|
+
unless params['ReliveInfo'].nil?
|
866
|
+
@ReliveInfo = RelieveInfo.new
|
867
|
+
@ReliveInfo.deserialize(params['ReliveInfo'])
|
868
|
+
end
|
869
|
+
unless params['ReleasedApprovers'].nil?
|
870
|
+
@ReleasedApprovers = []
|
871
|
+
params['ReleasedApprovers'].each do |i|
|
872
|
+
releasedapprover_tmp = ReleasedApprover.new
|
873
|
+
releasedapprover_tmp.deserialize(i)
|
874
|
+
@ReleasedApprovers << releasedapprover_tmp
|
875
|
+
end
|
876
|
+
end
|
877
|
+
@CallbackUrl = params['CallbackUrl']
|
878
|
+
unless params['Organization'].nil?
|
879
|
+
@Organization = OrganizationInfo.new
|
880
|
+
@Organization.deserialize(params['Organization'])
|
881
|
+
end
|
882
|
+
unless params['Operator'].nil?
|
883
|
+
@Operator = UserInfo.new
|
884
|
+
@Operator.deserialize(params['Operator'])
|
885
|
+
end
|
886
|
+
end
|
887
|
+
end
|
888
|
+
|
889
|
+
# ChannelCreateReleaseFlow返回参数结构体
|
890
|
+
class ChannelCreateReleaseFlowResponse < TencentCloud::Common::AbstractModel
|
891
|
+
# @param FlowId: 解除协议流程编号
|
892
|
+
# @type FlowId: String
|
893
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
894
|
+
# @type RequestId: String
|
895
|
+
|
896
|
+
attr_accessor :FlowId, :RequestId
|
897
|
+
|
898
|
+
def initialize(flowid=nil, requestid=nil)
|
899
|
+
@FlowId = flowid
|
900
|
+
@RequestId = requestid
|
901
|
+
end
|
902
|
+
|
903
|
+
def deserialize(params)
|
904
|
+
@FlowId = params['FlowId']
|
905
|
+
@RequestId = params['RequestId']
|
906
|
+
end
|
907
|
+
end
|
908
|
+
|
830
909
|
# ChannelDescribeEmployees请求参数结构体
|
831
910
|
class ChannelDescribeEmployeesRequest < TencentCloud::Common::AbstractModel
|
832
911
|
# @param Limit: 返回最大数量,最大为20
|
@@ -923,7 +1002,7 @@ module TencentCloud
|
|
923
1002
|
# @type Limit: Integer
|
924
1003
|
# @param Offset: 偏移量,默认为0,最大为20000
|
925
1004
|
# @type Offset: Integer
|
926
|
-
# @param InfoType: 查询信息类型,为
|
1005
|
+
# @param InfoType: 查询信息类型,为1时返回授权用户,为其他值时不返回
|
927
1006
|
# @type InfoType: Integer
|
928
1007
|
# @param SealId: 印章id(没有输入返回所有)
|
929
1008
|
# @type SealId: String
|
@@ -1561,9 +1640,9 @@ module TencentCloud
|
|
1561
1640
|
class CreateSealByImageRequest < TencentCloud::Common::AbstractModel
|
1562
1641
|
# @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
|
1563
1642
|
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
1564
|
-
# @param SealName: 印章名称,最大长度不超过
|
1643
|
+
# @param SealName: 印章名称,最大长度不超过50字符
|
1565
1644
|
# @type SealName: String
|
1566
|
-
# @param SealImage: 印章图片base64
|
1645
|
+
# @param SealImage: 印章图片base64,大小不超过10M(原始图片不超过7.6M)
|
1567
1646
|
# @type SealImage: String
|
1568
1647
|
# @param Operator: 操作者的信息
|
1569
1648
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
@@ -1961,10 +2040,12 @@ module TencentCloud
|
|
1961
2040
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
1962
2041
|
# @param WithPreviewUrl: 是否获取模板预览链接
|
1963
2042
|
# @type WithPreviewUrl: Boolean
|
2043
|
+
# @param WithPdfUrl: 是否获取模板的PDF文件链接-渠道版需要开启白名单时才能使用。
|
2044
|
+
# @type WithPdfUrl: Boolean
|
1964
2045
|
|
1965
|
-
attr_accessor :Agent, :TemplateId, :ContentType, :Limit, :Offset, :QueryAllComponents, :TemplateName, :Operator, :WithPreviewUrl
|
2046
|
+
attr_accessor :Agent, :TemplateId, :ContentType, :Limit, :Offset, :QueryAllComponents, :TemplateName, :Operator, :WithPreviewUrl, :WithPdfUrl
|
1966
2047
|
|
1967
|
-
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)
|
1968
2049
|
@Agent = agent
|
1969
2050
|
@TemplateId = templateid
|
1970
2051
|
@ContentType = contenttype
|
@@ -1974,6 +2055,7 @@ module TencentCloud
|
|
1974
2055
|
@TemplateName = templatename
|
1975
2056
|
@Operator = operator
|
1976
2057
|
@WithPreviewUrl = withpreviewurl
|
2058
|
+
@WithPdfUrl = withpdfurl
|
1977
2059
|
end
|
1978
2060
|
|
1979
2061
|
def deserialize(params)
|
@@ -1992,6 +2074,7 @@ module TencentCloud
|
|
1992
2074
|
@Operator.deserialize(params['Operator'])
|
1993
2075
|
end
|
1994
2076
|
@WithPreviewUrl = params['WithPreviewUrl']
|
2077
|
+
@WithPdfUrl = params['WithPdfUrl']
|
1995
2078
|
end
|
1996
2079
|
end
|
1997
2080
|
|
@@ -3085,7 +3168,7 @@ module TencentCloud
|
|
3085
3168
|
|
3086
3169
|
# 合作企业经办人列表信息
|
3087
3170
|
class ProxyOrganizationOperator < TencentCloud::Common::AbstractModel
|
3088
|
-
# @param Id:
|
3171
|
+
# @param Id: 对应Agent-ProxyOperator-OpenId。渠道平台自定义,对渠道子客企业员的唯一标识。一个OpenId在一个子客企业内唯一对应一个真实员工,不可在其他子客企业内重复使用。(比如,可以使用经办人企业名+员工身份证的hash值,需要渠道平台保存),最大64位字符串
|
3089
3172
|
# @type Id: String
|
3090
3173
|
# @param Name: 经办人姓名,最大长度50个字符
|
3091
3174
|
# @type Name: String
|
@@ -3166,6 +3249,98 @@ module TencentCloud
|
|
3166
3249
|
end
|
3167
3250
|
end
|
3168
3251
|
|
3252
|
+
# 解除协议的签署人,如不指定,默认使用待解除流程(即原流程)中的签署人。
|
3253
|
+
# 注意:不支持更换C端(个人身份类型)签署人,如果原流程中含有C端签署人,默认使用原流程中的该签署人。
|
3254
|
+
|
3255
|
+
# 如果需要指定B端(机构身份类型)签署人,其中ReleasedApprover需要传递的参数如下:
|
3256
|
+
# ApproverNumber, OrganizationName, ApproverType必传。
|
3257
|
+
# 对于其他身份标识
|
3258
|
+
# - 渠道子客企业指定经办人:OpenId必传,OrganizationOpenId必传;
|
3259
|
+
# - 非渠道合作企业:Name、Mobile必传。
|
3260
|
+
class ReleasedApprover < TencentCloud::Common::AbstractModel
|
3261
|
+
# @param OrganizationName: 企业签署方工商营业执照上的企业名称,签署方为非发起方企业场景下必传,最大长度64个字符
|
3262
|
+
# @type OrganizationName: String
|
3263
|
+
# @param ApproverNumber: 签署人在原流程中的签署人列表中的顺序序号(从0开始,按顺序依次递增),如果不清楚原流程中的签署人列表,可以通过DescribeFlows接口查看
|
3264
|
+
# @type ApproverNumber: Integer
|
3265
|
+
# @param ApproverType: 签署人类型,目前仅支持
|
3266
|
+
# ORGANIZATION-企业
|
3267
|
+
# @type ApproverType: String
|
3268
|
+
# @param Name: 签署人姓名,最大长度50个字符
|
3269
|
+
# @type Name: String
|
3270
|
+
# @param IdCardType: 签署人身份证件类型
|
3271
|
+
# 1.ID_CARD 居民身份证
|
3272
|
+
# 2.HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证
|
3273
|
+
# 3.HONGKONG_AND_MACAO 港澳居民来往内地通行证
|
3274
|
+
# @type IdCardType: String
|
3275
|
+
# @param IdCardNumber: 签署人证件号
|
3276
|
+
# @type IdCardNumber: String
|
3277
|
+
# @param Mobile: 签署人手机号,脱敏显示。大陆手机号为11位,暂不支持海外手机号
|
3278
|
+
# @type Mobile: String
|
3279
|
+
# @param OrganizationOpenId: 企业签署方在同一渠道下的其他合作企业OpenId,签署方为非发起方企业场景下必传,最大长度64个字符
|
3280
|
+
# @type OrganizationOpenId: String
|
3281
|
+
# @param OpenId: 用户侧第三方id,最大长度64个字符
|
3282
|
+
# 当签署方为同一渠道下的员工时,该字必传
|
3283
|
+
# @type OpenId: String
|
3284
|
+
|
3285
|
+
attr_accessor :OrganizationName, :ApproverNumber, :ApproverType, :Name, :IdCardType, :IdCardNumber, :Mobile, :OrganizationOpenId, :OpenId
|
3286
|
+
|
3287
|
+
def initialize(organizationname=nil, approvernumber=nil, approvertype=nil, name=nil, idcardtype=nil, idcardnumber=nil, mobile=nil, organizationopenid=nil, openid=nil)
|
3288
|
+
@OrganizationName = organizationname
|
3289
|
+
@ApproverNumber = approvernumber
|
3290
|
+
@ApproverType = approvertype
|
3291
|
+
@Name = name
|
3292
|
+
@IdCardType = idcardtype
|
3293
|
+
@IdCardNumber = idcardnumber
|
3294
|
+
@Mobile = mobile
|
3295
|
+
@OrganizationOpenId = organizationopenid
|
3296
|
+
@OpenId = openid
|
3297
|
+
end
|
3298
|
+
|
3299
|
+
def deserialize(params)
|
3300
|
+
@OrganizationName = params['OrganizationName']
|
3301
|
+
@ApproverNumber = params['ApproverNumber']
|
3302
|
+
@ApproverType = params['ApproverType']
|
3303
|
+
@Name = params['Name']
|
3304
|
+
@IdCardType = params['IdCardType']
|
3305
|
+
@IdCardNumber = params['IdCardNumber']
|
3306
|
+
@Mobile = params['Mobile']
|
3307
|
+
@OrganizationOpenId = params['OrganizationOpenId']
|
3308
|
+
@OpenId = params['OpenId']
|
3309
|
+
end
|
3310
|
+
end
|
3311
|
+
|
3312
|
+
# 解除协议文档中内容信息,包括但不限于:解除理由、解除后仍然有效的条款-保留条款、原合同事项处理-费用结算、原合同事项处理-其他事项、其他约定等。
|
3313
|
+
class RelieveInfo < TencentCloud::Common::AbstractModel
|
3314
|
+
# @param Reason: 解除理由,最大支持200个字
|
3315
|
+
# @type Reason: String
|
3316
|
+
# @param RemainInForceItem: 解除后仍然有效的条款,保留条款,最大支持200个字
|
3317
|
+
# @type RemainInForceItem: String
|
3318
|
+
# @param OriginalExpenseSettlement: 原合同事项处理-费用结算,最大支持200个字
|
3319
|
+
# @type OriginalExpenseSettlement: String
|
3320
|
+
# @param OriginalOtherSettlement: 原合同事项处理-其他事项,最大支持200个字
|
3321
|
+
# @type OriginalOtherSettlement: String
|
3322
|
+
# @param OtherDeals: 其他约定,最大支持200个字
|
3323
|
+
# @type OtherDeals: String
|
3324
|
+
|
3325
|
+
attr_accessor :Reason, :RemainInForceItem, :OriginalExpenseSettlement, :OriginalOtherSettlement, :OtherDeals
|
3326
|
+
|
3327
|
+
def initialize(reason=nil, remaininforceitem=nil, originalexpensesettlement=nil, originalothersettlement=nil, otherdeals=nil)
|
3328
|
+
@Reason = reason
|
3329
|
+
@RemainInForceItem = remaininforceitem
|
3330
|
+
@OriginalExpenseSettlement = originalexpensesettlement
|
3331
|
+
@OriginalOtherSettlement = originalothersettlement
|
3332
|
+
@OtherDeals = otherdeals
|
3333
|
+
end
|
3334
|
+
|
3335
|
+
def deserialize(params)
|
3336
|
+
@Reason = params['Reason']
|
3337
|
+
@RemainInForceItem = params['RemainInForceItem']
|
3338
|
+
@OriginalExpenseSettlement = params['OriginalExpenseSettlement']
|
3339
|
+
@OriginalOtherSettlement = params['OriginalOtherSettlement']
|
3340
|
+
@OtherDeals = params['OtherDeals']
|
3341
|
+
end
|
3342
|
+
end
|
3343
|
+
|
3169
3344
|
# 资源链接信息
|
3170
3345
|
class ResourceUrlInfo < TencentCloud::Common::AbstractModel
|
3171
3346
|
# @param Url: 资源链接地址,过期时间5分钟
|
@@ -3597,10 +3772,10 @@ module TencentCloud
|
|
3597
3772
|
# @type Description: String
|
3598
3773
|
# @param Components: 模板控件信息结构
|
3599
3774
|
# @type Components: Array
|
3600
|
-
# @param SignComponents: 签署区模板信息结构
|
3601
|
-
# @type SignComponents: Array
|
3602
3775
|
# @param Recipients: 模板中的流程参与人信息
|
3603
3776
|
# @type Recipients: Array
|
3777
|
+
# @param SignComponents: 签署区模板信息结构
|
3778
|
+
# @type SignComponents: Array
|
3604
3779
|
# @param TemplateType: 模板类型:1-静默签;3-普通模板
|
3605
3780
|
# @type TemplateType: Integer
|
3606
3781
|
# @param IsPromoter: 是否是发起人 ,已弃用
|
@@ -3613,24 +3788,27 @@ module TencentCloud
|
|
3613
3788
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3614
3789
|
# @type PreviewUrl: String
|
3615
3790
|
# @param ChannelTemplateId: 渠道模板ID
|
3616
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3617
3791
|
# @type ChannelTemplateId: String
|
3792
|
+
# @param PdfUrl: 渠道版-模板PDF文件链接
|
3793
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3794
|
+
# @type PdfUrl: String
|
3618
3795
|
|
3619
|
-
attr_accessor :TemplateId, :TemplateName, :Description, :Components, :
|
3796
|
+
attr_accessor :TemplateId, :TemplateName, :Description, :Components, :Recipients, :SignComponents, :TemplateType, :IsPromoter, :Creator, :CreatedOn, :PreviewUrl, :ChannelTemplateId, :PdfUrl
|
3620
3797
|
|
3621
|
-
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)
|
3622
3799
|
@TemplateId = templateid
|
3623
3800
|
@TemplateName = templatename
|
3624
3801
|
@Description = description
|
3625
3802
|
@Components = components
|
3626
|
-
@SignComponents = signcomponents
|
3627
3803
|
@Recipients = recipients
|
3804
|
+
@SignComponents = signcomponents
|
3628
3805
|
@TemplateType = templatetype
|
3629
3806
|
@IsPromoter = ispromoter
|
3630
3807
|
@Creator = creator
|
3631
3808
|
@CreatedOn = createdon
|
3632
3809
|
@PreviewUrl = previewurl
|
3633
3810
|
@ChannelTemplateId = channeltemplateid
|
3811
|
+
@PdfUrl = pdfurl
|
3634
3812
|
end
|
3635
3813
|
|
3636
3814
|
def deserialize(params)
|
@@ -3645,14 +3823,6 @@ module TencentCloud
|
|
3645
3823
|
@Components << component_tmp
|
3646
3824
|
end
|
3647
3825
|
end
|
3648
|
-
unless params['SignComponents'].nil?
|
3649
|
-
@SignComponents = []
|
3650
|
-
params['SignComponents'].each do |i|
|
3651
|
-
component_tmp = Component.new
|
3652
|
-
component_tmp.deserialize(i)
|
3653
|
-
@SignComponents << component_tmp
|
3654
|
-
end
|
3655
|
-
end
|
3656
3826
|
unless params['Recipients'].nil?
|
3657
3827
|
@Recipients = []
|
3658
3828
|
params['Recipients'].each do |i|
|
@@ -3661,12 +3831,21 @@ module TencentCloud
|
|
3661
3831
|
@Recipients << recipient_tmp
|
3662
3832
|
end
|
3663
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
|
3664
3842
|
@TemplateType = params['TemplateType']
|
3665
3843
|
@IsPromoter = params['IsPromoter']
|
3666
3844
|
@Creator = params['Creator']
|
3667
3845
|
@CreatedOn = params['CreatedOn']
|
3668
3846
|
@PreviewUrl = params['PreviewUrl']
|
3669
3847
|
@ChannelTemplateId = params['ChannelTemplateId']
|
3848
|
+
@PdfUrl = params['PdfUrl']
|
3670
3849
|
end
|
3671
3850
|
end
|
3672
3851
|
|
@@ -3803,15 +3982,15 @@ module TencentCloud
|
|
3803
3982
|
|
3804
3983
|
# 接口调用者信息
|
3805
3984
|
class UserInfo < TencentCloud::Common::AbstractModel
|
3806
|
-
# @param OpenId:
|
3985
|
+
# @param OpenId: 渠道平台自定义,对渠道子客企业员的唯一标识。一个OpenId在一个子客企业内唯一对应一个真实员工,不可在其他子客企业内重复使用。(例如,可以使用经办人企业名+员工身份证的hash值,需要渠道平台保存),最大64位字符串
|
3807
3986
|
# @type OpenId: String
|
3808
|
-
# @param Channel:
|
3987
|
+
# @param Channel: 内部参数,暂未开放使用
|
3809
3988
|
# @type Channel: String
|
3810
|
-
# @param CustomUserId:
|
3989
|
+
# @param CustomUserId: 内部参数,暂未开放使用
|
3811
3990
|
# @type CustomUserId: String
|
3812
|
-
# @param ClientIp:
|
3991
|
+
# @param ClientIp: 内部参数,暂未开放使用
|
3813
3992
|
# @type ClientIp: String
|
3814
|
-
# @param ProxyIp:
|
3993
|
+
# @param ProxyIp: 内部参数,暂未开放使用
|
3815
3994
|
# @type ProxyIp: String
|
3816
3995
|
|
3817
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.462
|
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-
|
11
|
+
date: 2022-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|