tencentcloud-sdk-ess 3.0.1063 → 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 +76 -0
- 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
@@ -6614,6 +6614,82 @@ module TencentCloud
|
|
6614
6614
|
end
|
6615
6615
|
end
|
6616
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
|
+
|
6617
6693
|
# CreateUserVerifyUrl请求参数结构体
|
6618
6694
|
class CreateUserVerifyUrlRequest < TencentCloud::Common::AbstractModel
|
6619
6695
|
# @param Operator: 操作人信息
|
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
|