tencentcloud-sdk-ess 3.0.1062 → 3.0.1064
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 +26 -0
- data/lib/v20201111/models.rb +99 -17
- 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: be688b764605e29938160169f977c8b587f27fc6
|
4
|
+
data.tar.gz: b3fd187e1200e8dbe6d2dd2c5665393939ecf019
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cb2acff594bfced5f6c267a044526d2376136812233aeb69c5de148f6376e2238fe540213847e931ff3d80216abceb31ff378465d53e34a92cba530d5a64049
|
7
|
+
data.tar.gz: 46135774fca77af42634e43c02a53a4f5ca1635891cb8426b02fddc034be316fdb72f46626a4aedd948f7787f14028915c774878ebb660405ebca6a728c4ce63
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1064
|
data/lib/v20201111/client.rb
CHANGED
@@ -2002,6 +2002,32 @@ module TencentCloud
|
|
2002
2002
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2003
2003
|
end
|
2004
2004
|
|
2005
|
+
# 生成个人用户实名更名链接,个人用户点击此链接进入更名流程(若用户未完成实名认证,则直接进入实名页面实名后再进行更名)。此链接为通用链接,任何点击生成链接的用户将会被引导至小程序个人更名页面完成更名。
|
2006
|
+
|
2007
|
+
# 注: 调用此接口需要购买<font color="red"><b>单独的实名套餐包</b></font>。使用前请联系对接的客户经理沟通。
|
2008
|
+
|
2009
|
+
# @param request: Request instance for CreateUserNameChangeUrl.
|
2010
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateUserNameChangeUrlRequest`
|
2011
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateUserNameChangeUrlResponse`
|
2012
|
+
def CreateUserNameChangeUrl(request)
|
2013
|
+
body = send_request('CreateUserNameChangeUrl', request.serialize)
|
2014
|
+
response = JSON.parse(body)
|
2015
|
+
if response['Response'].key?('Error') == false
|
2016
|
+
model = CreateUserNameChangeUrlResponse.new
|
2017
|
+
model.deserialize(response['Response'])
|
2018
|
+
model
|
2019
|
+
else
|
2020
|
+
code = response['Response']['Error']['Code']
|
2021
|
+
message = response['Response']['Error']['Message']
|
2022
|
+
reqid = response['Response']['RequestId']
|
2023
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2024
|
+
end
|
2025
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2026
|
+
raise e
|
2027
|
+
rescue StandardError => e
|
2028
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2029
|
+
end
|
2030
|
+
|
2005
2031
|
# 生成个人用户实名认证链接,个人用户点击此链接进入实名流程(若用户已完成实名认证,则直接进入成功页面)。
|
2006
2032
|
|
2007
2033
|
# 注: 调用此接口需要购买<font color="red"><b>单独的实名套餐包</b></font>。使用前请联系对接的客户经理沟通。
|
data/lib/v20201111/models.rb
CHANGED
@@ -162,9 +162,9 @@ module TencentCloud
|
|
162
162
|
|
163
163
|
# 注: `如果是用模板发起, 优先使用此处上传的, 如果不传则用模板的配置的`
|
164
164
|
# @type ApproverRoleName: String
|
165
|
-
# @param VerifyChannel: <font
|
165
|
+
# @param VerifyChannel: <font color="red">【已不再使用】</font>签署意愿确认渠道,默认为WEIXINAPP:人脸识别
|
166
166
|
|
167
|
-
# 注:
|
167
|
+
# 注: 该字段已不再使用, 请用ApproverSignTypes签署人签署合同时的认证方式代替, 新客户可请用ApproverSignTypes来设置
|
168
168
|
# @type VerifyChannel: Array
|
169
169
|
# @param PreReadTime: 签署方在签署合同之前,需要强制阅读合同的时长,可指定为3秒至300秒之间的任意值。
|
170
170
|
|
@@ -2299,7 +2299,7 @@ module TencentCloud
|
|
2299
2299
|
# @param Agent: 代理企业和员工的信息。
|
2300
2300
|
# 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
2301
2301
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
2302
|
-
# @param ClientToken:
|
2302
|
+
# @param ClientToken: 该字段已不再使用
|
2303
2303
|
# @type ClientToken: String
|
2304
2304
|
|
2305
2305
|
attr_accessor :Operator, :TemplateId, :FlowId, :FileNames, :FormFields, :NeedPreview, :PreviewType, :Agent, :ClientToken
|
@@ -3743,10 +3743,13 @@ module TencentCloud
|
|
3743
3743
|
# @param SignComponentConfig: 签署控件的配置信息,用在嵌入式发起的页面配置,包括
|
3744
3744
|
# - 签署控件 是否默认展示日期.
|
3745
3745
|
# @type SignComponentConfig: :class:`Tencentcloud::Ess.v20201111.models.SignComponentConfig`
|
3746
|
+
# @param ForbidEditWatermark: 是否禁止编辑(展示)水印控件属性
|
3747
|
+
# <ul><li>(默认) false -否</li> <li> true - 禁止编辑</li></ul>
|
3748
|
+
# @type ForbidEditWatermark: Boolean
|
3746
3749
|
|
3747
|
-
attr_accessor :CanEditFlow, :CanEditFormField, :HideShowFlowName, :HideShowFlowType, :HideShowDeadline, :CanSkipAddApprover, :SkipUploadFile, :ForbidEditFillComponent, :CustomCreateFlowDescription, :ForbidAddApprover, :ForbidEditApprover, :ForbidEditFlowProperties, :HideComponentTypes, :ShowComponentTypes, :ResultPageConfig, :SignComponentConfig
|
3750
|
+
attr_accessor :CanEditFlow, :CanEditFormField, :HideShowFlowName, :HideShowFlowType, :HideShowDeadline, :CanSkipAddApprover, :SkipUploadFile, :ForbidEditFillComponent, :CustomCreateFlowDescription, :ForbidAddApprover, :ForbidEditApprover, :ForbidEditFlowProperties, :HideComponentTypes, :ShowComponentTypes, :ResultPageConfig, :SignComponentConfig, :ForbidEditWatermark
|
3748
3751
|
|
3749
|
-
def initialize(caneditflow=nil, caneditformfield=nil, hideshowflowname=nil, hideshowflowtype=nil, hideshowdeadline=nil, canskipaddapprover=nil, skipuploadfile=nil, forbideditfillcomponent=nil, customcreateflowdescription=nil, forbidaddapprover=nil, forbideditapprover=nil, forbideditflowproperties=nil, hidecomponenttypes=nil, showcomponenttypes=nil, resultpageconfig=nil, signcomponentconfig=nil)
|
3752
|
+
def initialize(caneditflow=nil, caneditformfield=nil, hideshowflowname=nil, hideshowflowtype=nil, hideshowdeadline=nil, canskipaddapprover=nil, skipuploadfile=nil, forbideditfillcomponent=nil, customcreateflowdescription=nil, forbidaddapprover=nil, forbideditapprover=nil, forbideditflowproperties=nil, hidecomponenttypes=nil, showcomponenttypes=nil, resultpageconfig=nil, signcomponentconfig=nil, forbideditwatermark=nil)
|
3750
3753
|
@CanEditFlow = caneditflow
|
3751
3754
|
@CanEditFormField = caneditformfield
|
3752
3755
|
@HideShowFlowName = hideshowflowname
|
@@ -3763,6 +3766,7 @@ module TencentCloud
|
|
3763
3766
|
@ShowComponentTypes = showcomponenttypes
|
3764
3767
|
@ResultPageConfig = resultpageconfig
|
3765
3768
|
@SignComponentConfig = signcomponentconfig
|
3769
|
+
@ForbidEditWatermark = forbideditwatermark
|
3766
3770
|
end
|
3767
3771
|
|
3768
3772
|
def deserialize(params)
|
@@ -3792,6 +3796,7 @@ module TencentCloud
|
|
3792
3796
|
@SignComponentConfig = SignComponentConfig.new
|
3793
3797
|
@SignComponentConfig.deserialize(params['SignComponentConfig'])
|
3794
3798
|
end
|
3799
|
+
@ForbidEditWatermark = params['ForbidEditWatermark']
|
3795
3800
|
end
|
3796
3801
|
end
|
3797
3802
|
|
@@ -3877,7 +3882,7 @@ module TencentCloud
|
|
3877
3882
|
# @param FlowType: 合同流程的类别分类(可自定义名称,如销售合同/入职合同等),最大长度为200个字符,仅限中文、字母、数字和下划线组成。
|
3878
3883
|
# 此合同类型需要跟模板配置的合同类型保持一致。
|
3879
3884
|
# @type FlowType: String
|
3880
|
-
# @param ClientToken:
|
3885
|
+
# @param ClientToken: 该字段已不再使用
|
3881
3886
|
# @type ClientToken: String
|
3882
3887
|
# @param DeadLine: 合同流程的签署截止时间,格式为Unix标准时间戳(秒),如果未设置签署截止时间,则默认为合同流程创建后的365天时截止。
|
3883
3888
|
# 如果在签署截止时间前未完成签署,则合同状态会变为已过期,导致合同作废。
|
@@ -5497,7 +5502,7 @@ module TencentCloud
|
|
5497
5502
|
# <ul><li> **OPEN**:开启(默认值)</li>
|
5498
5503
|
# <li> **CLOSE**:关闭</li></ul>
|
5499
5504
|
# @type IntelligentStatus: String
|
5500
|
-
# @param Components:
|
5505
|
+
# @param Components: 该字段已不再使用,请使用InitiatorComponents
|
5501
5506
|
# @type Components: :class:`Tencentcloud::Ess.v20201111.models.Component`
|
5502
5507
|
# @param FlowOption: 发起合同个性化参数
|
5503
5508
|
# 用于满足创建及页面操作过程中的个性化要求
|
@@ -5532,7 +5537,7 @@ module TencentCloud
|
|
5532
5537
|
# @type InitiatorComponents: Array
|
5533
5538
|
# @param FlowDisplayType: 在短信通知、填写、签署流程中,若标题、按钮、合同详情等地方存在“合同”字样时,可根据此配置指定文案,可选文案如下: <ul><li> <b>0</b> :合同(默认值)</li> <li> <b>1</b> :文件</li> <li> <b>2</b> :协议</li><li> <b>3</b> :文书</li></ul>效果如下:
|
5534
5539
|
# @type FlowDisplayType: Integer
|
5535
|
-
# @param SignComponentConfig: <font color="red"
|
5540
|
+
# @param SignComponentConfig: <font color="red">此字段已不再使用,请使用 CreateFlowOption 里面的 SignComponentConfig</font>
|
5536
5541
|
# 签署控件的配置信息,用在嵌入式发起的页面配置,
|
5537
5542
|
# 包括
|
5538
5543
|
|
@@ -5672,15 +5677,13 @@ module TencentCloud
|
|
5672
5677
|
# <li>HONGKONG_AND_MACAO : 中国港澳居民来往内地通行证</li>
|
5673
5678
|
# <li>HONGKONG_MACAO_AND_TAIWAN : 中国港澳台居民居住证(格式同 中国大陆居民身份证)</li></ul>
|
5674
5679
|
# @type IdCardType: String
|
5675
|
-
# @param SealImage:
|
5676
|
-
# 注:已废弃
|
5677
|
-
# 请先通过UploadFiles接口上传文件,获取 FileId
|
5680
|
+
# @param SealImage: 该字段已不再使用
|
5678
5681
|
# @type SealImage: String
|
5679
5682
|
# @param SealImageCompress: 是否开启印章图片压缩处理,默认不开启,如需开启请设置为 true。当印章超过 2M 时建议开启,开启后图片的 hash 将发生变化。
|
5680
5683
|
# @type SealImageCompress: Boolean
|
5681
5684
|
# @param Mobile: 手机号码;当需要开通自动签时,该参数必传
|
5682
5685
|
# @type Mobile: String
|
5683
|
-
# @param EnableAutoSign:
|
5686
|
+
# @param EnableAutoSign: 该字段已不再使用
|
5684
5687
|
# @type EnableAutoSign: Boolean
|
5685
5688
|
# @param SealColor: 印章颜色(参数ProcessSeal=true时生效)
|
5686
5689
|
# 默认值:BLACK黑色
|
@@ -6611,6 +6614,82 @@ module TencentCloud
|
|
6611
6614
|
end
|
6612
6615
|
end
|
6613
6616
|
|
6617
|
+
# CreateUserNameChangeUrl请求参数结构体
|
6618
|
+
class CreateUserNameChangeUrlRequest < TencentCloud::Common::AbstractModel
|
6619
|
+
# @param Operator: 操作人信息
|
6620
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
6621
|
+
# @param Endpoint: 要跳转的链接类型
|
6622
|
+
|
6623
|
+
# <ul>
|
6624
|
+
# <li><strong>HTTP</strong>:适用于短信通知或H5跳转的电子签小程序HTTP长链接</li>
|
6625
|
+
# <li><strong>HTTP_SHORT_URL</strong>:适用于短信通知或H5跳转的电子签小程序HTTP短链接</li>
|
6626
|
+
# <li><strong>APP</strong>:(默认类型)适用于第三方APP或小程序跳转的电子签小程序路径</li>
|
6627
|
+
# </ul>
|
6628
|
+
|
6629
|
+
# 注:如果不传递,默认值是 <font color="red"> HTTP </font>
|
6630
|
+
# @type Endpoint: String
|
6631
|
+
# @param UserData: 在用户完成改名后,其自定义数据将通过[企业引导个人更名后回调](https://qian.tencent.com/developers/company/callback_types_staffs#%E5%8D%81%E5%85%AB-%E4%BC%81%E4%B8%9A%E5%BC%95%E5%AF%BC%E4%B8%AA%E4%BA%BA%E6%9B%B4%E5%90%8D%E5%90%8E%E5%9B%9E%E8%B0%83)返回,以便用户确认其个人数据信息。请注意,自定义数据的字符长度上限为1000,且必须采用base64编码格式。
|
6632
|
+
# @type UserData: String
|
6633
|
+
|
6634
|
+
attr_accessor :Operator, :Endpoint, :UserData
|
6635
|
+
|
6636
|
+
def initialize(operator=nil, endpoint=nil, userdata=nil)
|
6637
|
+
@Operator = operator
|
6638
|
+
@Endpoint = endpoint
|
6639
|
+
@UserData = userdata
|
6640
|
+
end
|
6641
|
+
|
6642
|
+
def deserialize(params)
|
6643
|
+
unless params['Operator'].nil?
|
6644
|
+
@Operator = UserInfo.new
|
6645
|
+
@Operator.deserialize(params['Operator'])
|
6646
|
+
end
|
6647
|
+
@Endpoint = params['Endpoint']
|
6648
|
+
@UserData = params['UserData']
|
6649
|
+
end
|
6650
|
+
end
|
6651
|
+
|
6652
|
+
# CreateUserNameChangeUrl返回参数结构体
|
6653
|
+
class CreateUserNameChangeUrlResponse < TencentCloud::Common::AbstractModel
|
6654
|
+
# @param UserVerifyUrl: 腾讯电子签小程序的个人更名链接。
|
6655
|
+
# 如果没有传递,默认值是 HTTP。 链接的有效期均是 7 天。
|
6656
|
+
|
6657
|
+
# <strong>1.如果EndPoint是APP</strong>:
|
6658
|
+
# 得到的链接类似于<a href="">pages/guide/index?to=MP_PERSONAL_VERIFY&shortKey=yDCZHUyOcExAlcOvNod0</a>, 用法可以参考描述中的"跳转到小程序的实现"
|
6659
|
+
|
6660
|
+
# <strong>2.如果EndPoint是HTTP</strong>:
|
6661
|
+
# 得到的链接类似于 <a href="">https://res.ess.tencent.cn/cdn/h5-activity/jump-mp.html?to=TAG_VERIFY&shortKey=yDCZHUyOcChrfpaswT0d</a>,点击后会跳转到腾讯电子签小程序进行签署
|
6662
|
+
|
6663
|
+
# <strong>3.如果EndPoint是HTTP_SHORT_URL</strong>:
|
6664
|
+
# 得到的链接类似于<a href="">https://essurl.cn/2n**42Nd</a>,点击后会跳转到腾讯电子签小程序进行签署
|
6665
|
+
|
6666
|
+
|
6667
|
+
# `注:` <font color="red">生成的链路后面不能再增加参数,防止出错重复参数覆盖原有的参数</font>
|
6668
|
+
# @type UserVerifyUrl: String
|
6669
|
+
# @param ExpireTime: 链接过期时间,为Unix时间戳(单位为秒)。
|
6670
|
+
# @type ExpireTime: Integer
|
6671
|
+
# @param MiniAppId: 小程序appid,用于半屏拉起电子签小程序, 仅在 Endpoint 设置为 APP 的时候返回
|
6672
|
+
# @type MiniAppId: String
|
6673
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6674
|
+
# @type RequestId: String
|
6675
|
+
|
6676
|
+
attr_accessor :UserVerifyUrl, :ExpireTime, :MiniAppId, :RequestId
|
6677
|
+
|
6678
|
+
def initialize(userverifyurl=nil, expiretime=nil, miniappid=nil, requestid=nil)
|
6679
|
+
@UserVerifyUrl = userverifyurl
|
6680
|
+
@ExpireTime = expiretime
|
6681
|
+
@MiniAppId = miniappid
|
6682
|
+
@RequestId = requestid
|
6683
|
+
end
|
6684
|
+
|
6685
|
+
def deserialize(params)
|
6686
|
+
@UserVerifyUrl = params['UserVerifyUrl']
|
6687
|
+
@ExpireTime = params['ExpireTime']
|
6688
|
+
@MiniAppId = params['MiniAppId']
|
6689
|
+
@RequestId = params['RequestId']
|
6690
|
+
end
|
6691
|
+
end
|
6692
|
+
|
6614
6693
|
# CreateUserVerifyUrl请求参数结构体
|
6615
6694
|
class CreateUserVerifyUrlRequest < TencentCloud::Common::AbstractModel
|
6616
6695
|
# @param Operator: 操作人信息
|
@@ -9367,19 +9446,24 @@ module TencentCloud
|
|
9367
9446
|
|
9368
9447
|
# 注意: 此参数仅针对**EmbedType=CREATE_TEMPLATE(创建模板)和EmbedType=CREATE_CONTRACT_DRAFT_COOPEDIT(创建起草合同)有效**,
|
9369
9448
|
# @type SkipUploadFile: Boolean
|
9449
|
+
# @param ForbidEditWatermark: 是否禁止编辑(展示)水印控件属性
|
9450
|
+
# <ul><li>(默认) false -否</li> <li> true - 禁止编辑</li></ul>
|
9451
|
+
# @type ForbidEditWatermark: Boolean
|
9370
9452
|
|
9371
|
-
attr_accessor :ShowFlowDetailComponent, :ShowTemplateComponent, :SkipUploadFile
|
9453
|
+
attr_accessor :ShowFlowDetailComponent, :ShowTemplateComponent, :SkipUploadFile, :ForbidEditWatermark
|
9372
9454
|
|
9373
|
-
def initialize(showflowdetailcomponent=nil, showtemplatecomponent=nil, skipuploadfile=nil)
|
9455
|
+
def initialize(showflowdetailcomponent=nil, showtemplatecomponent=nil, skipuploadfile=nil, forbideditwatermark=nil)
|
9374
9456
|
@ShowFlowDetailComponent = showflowdetailcomponent
|
9375
9457
|
@ShowTemplateComponent = showtemplatecomponent
|
9376
9458
|
@SkipUploadFile = skipuploadfile
|
9459
|
+
@ForbidEditWatermark = forbideditwatermark
|
9377
9460
|
end
|
9378
9461
|
|
9379
9462
|
def deserialize(params)
|
9380
9463
|
@ShowFlowDetailComponent = params['ShowFlowDetailComponent']
|
9381
9464
|
@ShowTemplateComponent = params['ShowTemplateComponent']
|
9382
9465
|
@SkipUploadFile = params['SkipUploadFile']
|
9466
|
+
@ForbidEditWatermark = params['ForbidEditWatermark']
|
9383
9467
|
end
|
9384
9468
|
end
|
9385
9469
|
|
@@ -13853,9 +13937,7 @@ module TencentCloud
|
|
13853
13937
|
|
13854
13938
|
# 注: `该参数仅在关键字定位时,需要去除关键字所在的灰框场景下使用。`
|
13855
13939
|
# @type CoverRect: Boolean
|
13856
|
-
# @param CustomIds:
|
13857
|
-
|
13858
|
-
# 注: `历史遗留问题,已经废弃,调用接口时不用赋值`
|
13940
|
+
# @param CustomIds: 该字段已不再使用
|
13859
13941
|
# @type CustomIds: Array
|
13860
13942
|
# @param FileUrls: 不再使用,上传文件链接数组,最多支持20个URL
|
13861
13943
|
# @type FileUrls: String
|
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.1064
|
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-05-
|
11
|
+
date: 2025-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|