tencentcloud-sdk-ess 3.0.672 → 3.0.673
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201111/client.rb +31 -0
- data/lib/v20201111/models.rb +82 -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: 4c31ca9622fbb2c379c7caa09aba758d32309d99
|
4
|
+
data.tar.gz: f8512d54548bfb3bdad4239009a50311b7e0fc39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c728e54152a8fdf167a357ef6b812e5590c0898735dfc2a6b9a280cf759248fbee27e157b063c5d7b4b5dc8d798a7812cedcf4c979ea1b3ca97e0bdded644134
|
7
|
+
data.tar.gz: 8983e39991d17bdd49c187345cb12bad7d654f18be091fb5fab71c66fc98f8cdcc7e6327114cab5bc41573915327e25940808a3978523131d028c07625900bb6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.673
|
data/lib/v20201111/client.rb
CHANGED
@@ -966,6 +966,37 @@ module TencentCloud
|
|
966
966
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
967
967
|
end
|
968
968
|
|
969
|
+
# 获取设置自动签印章小程序链接。
|
970
|
+
|
971
|
+
# 注意:
|
972
|
+
# <ul><li>需要<code>企业开通自动签</code>后使用。</li>
|
973
|
+
# <li>仅支持<code>已经开通了自动签的个人</code>更换自动签印章。</li>
|
974
|
+
# <li>链接有效期默认7天,<code>最多30天</code>。</li>
|
975
|
+
# <li>该接口的链接适用于<code>小程序</code>端。</li>
|
976
|
+
# <li>该接口不会扣除您的合同套餐,暂不参与计费。</li></ul>
|
977
|
+
|
978
|
+
# @param request: Request instance for CreateUserAutoSignSealUrl.
|
979
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateUserAutoSignSealUrlRequest`
|
980
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateUserAutoSignSealUrlResponse`
|
981
|
+
def CreateUserAutoSignSealUrl(request)
|
982
|
+
body = send_request('CreateUserAutoSignSealUrl', request.serialize)
|
983
|
+
response = JSON.parse(body)
|
984
|
+
if response['Response'].key?('Error') == false
|
985
|
+
model = CreateUserAutoSignSealUrlResponse.new
|
986
|
+
model.deserialize(response['Response'])
|
987
|
+
model
|
988
|
+
else
|
989
|
+
code = response['Response']['Error']['Code']
|
990
|
+
message = response['Response']['Error']['Message']
|
991
|
+
reqid = response['Response']['RequestId']
|
992
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
993
|
+
end
|
994
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
995
|
+
raise e
|
996
|
+
rescue StandardError => e
|
997
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
998
|
+
end
|
999
|
+
|
969
1000
|
# 用来设置本企业嵌入式页面个性化主题配置(例如是否展示电子签logo、定义主题色等),设置后获取的web签署界面都会使用此配置进行展示。
|
970
1001
|
|
971
1002
|
# 如果多次调用,会以最后一次的配置为准
|
data/lib/v20201111/models.rb
CHANGED
@@ -4008,6 +4008,88 @@ module TencentCloud
|
|
4008
4008
|
end
|
4009
4009
|
end
|
4010
4010
|
|
4011
|
+
# CreateUserAutoSignSealUrl请求参数结构体
|
4012
|
+
class CreateUserAutoSignSealUrlRequest < TencentCloud::Common::AbstractModel
|
4013
|
+
# @param Operator: 执行本接口操作的员工信息。
|
4014
|
+
# 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
4015
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
4016
|
+
# @param SceneKey: 自动签使用的场景值, 可以选择的场景值如下:
|
4017
|
+
# <ul><li> **E_PRESCRIPTION_AUTO_SIGN** : 电子处方场景</li></ul>
|
4018
|
+
|
4019
|
+
# 注: `现在仅支持电子处方场景`
|
4020
|
+
# @type SceneKey: String
|
4021
|
+
# @param UserInfo: 自动签开通个人用户信息, 包括名字,身份证等。
|
4022
|
+
# @type UserInfo: :class:`Tencentcloud::Ess.v20201111.models.UserThreeFactor`
|
4023
|
+
# @param Agent: 代理企业和员工的信息。
|
4024
|
+
# 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
4025
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
4026
|
+
# @param ExpiredTime: 链接的过期时间,格式为Unix时间戳,不能早于当前时间,且最大为当前时间往后30天。`如果不传,默认过期时间为当前时间往后7天。`
|
4027
|
+
# @type ExpiredTime: Integer
|
4028
|
+
|
4029
|
+
attr_accessor :Operator, :SceneKey, :UserInfo, :Agent, :ExpiredTime
|
4030
|
+
|
4031
|
+
def initialize(operator=nil, scenekey=nil, userinfo=nil, agent=nil, expiredtime=nil)
|
4032
|
+
@Operator = operator
|
4033
|
+
@SceneKey = scenekey
|
4034
|
+
@UserInfo = userinfo
|
4035
|
+
@Agent = agent
|
4036
|
+
@ExpiredTime = expiredtime
|
4037
|
+
end
|
4038
|
+
|
4039
|
+
def deserialize(params)
|
4040
|
+
unless params['Operator'].nil?
|
4041
|
+
@Operator = UserInfo.new
|
4042
|
+
@Operator.deserialize(params['Operator'])
|
4043
|
+
end
|
4044
|
+
@SceneKey = params['SceneKey']
|
4045
|
+
unless params['UserInfo'].nil?
|
4046
|
+
@UserInfo = UserThreeFactor.new
|
4047
|
+
@UserInfo.deserialize(params['UserInfo'])
|
4048
|
+
end
|
4049
|
+
unless params['Agent'].nil?
|
4050
|
+
@Agent = Agent.new
|
4051
|
+
@Agent.deserialize(params['Agent'])
|
4052
|
+
end
|
4053
|
+
@ExpiredTime = params['ExpiredTime']
|
4054
|
+
end
|
4055
|
+
end
|
4056
|
+
|
4057
|
+
# CreateUserAutoSignSealUrl返回参数结构体
|
4058
|
+
class CreateUserAutoSignSealUrlResponse < TencentCloud::Common::AbstractModel
|
4059
|
+
# @param AppId: 腾讯电子签小程序的AppId,用于其他小程序/APP等应用跳转至腾讯电子签小程序使用。
|
4060
|
+
# @type AppId: String
|
4061
|
+
# @param AppOriginalId: 腾讯电子签小程序的原始Id,用于其他小程序/APP等应用跳转至腾讯电子签小程序使用。
|
4062
|
+
# @type AppOriginalId: String
|
4063
|
+
# @param Url: 个人用户自动签的开通链接, 短链形式。过期时间受 `ExpiredTime` 参数控制。
|
4064
|
+
# @type Url: String
|
4065
|
+
# @param Path: 腾讯电子签小程序的跳转路径,用于其他小程序/APP等应用跳转至腾讯电子签小程序使用。
|
4066
|
+
# @type Path: String
|
4067
|
+
# @param QrCode: base64格式的跳转二维码图片,可通过微信扫描后跳转到腾讯电子签小程序的开通界面。
|
4068
|
+
# @type QrCode: String
|
4069
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4070
|
+
# @type RequestId: String
|
4071
|
+
|
4072
|
+
attr_accessor :AppId, :AppOriginalId, :Url, :Path, :QrCode, :RequestId
|
4073
|
+
|
4074
|
+
def initialize(appid=nil, apporiginalid=nil, url=nil, path=nil, qrcode=nil, requestid=nil)
|
4075
|
+
@AppId = appid
|
4076
|
+
@AppOriginalId = apporiginalid
|
4077
|
+
@Url = url
|
4078
|
+
@Path = path
|
4079
|
+
@QrCode = qrcode
|
4080
|
+
@RequestId = requestid
|
4081
|
+
end
|
4082
|
+
|
4083
|
+
def deserialize(params)
|
4084
|
+
@AppId = params['AppId']
|
4085
|
+
@AppOriginalId = params['AppOriginalId']
|
4086
|
+
@Url = params['Url']
|
4087
|
+
@Path = params['Path']
|
4088
|
+
@QrCode = params['QrCode']
|
4089
|
+
@RequestId = params['RequestId']
|
4090
|
+
end
|
4091
|
+
end
|
4092
|
+
|
4011
4093
|
# CreateWebThemeConfig请求参数结构体
|
4012
4094
|
class CreateWebThemeConfigRequest < TencentCloud::Common::AbstractModel
|
4013
4095
|
# @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.673
|
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-10-
|
11
|
+
date: 2023-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|