tencentcloud-sdk-essbasic 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/v20210526/client.rb +31 -0
- data/lib/v20210526/models.rb +81 -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: d0611f3edc45b9233e7fbd9808361ee663b253a1
|
4
|
+
data.tar.gz: 64c07a513636da8cf18498e2674e0eeb7ba01f5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf315ca493ebf72041ea2c39eeafd206824a04a6c96eef6c3ff4baf9862a5163c35f3f79c6f0a57cf709b9be43b3ad49866cafd339ae729439354bf671c72667
|
7
|
+
data.tar.gz: 334f65da43e243e57ab8dc23711f5df77ee907274a357d56ddf5a4c7096c7beaac14255e47cf650d1c9184dfec8110f61dc67131f39d747e376851d0cb25bb58
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.673
|
data/lib/v20210526/client.rb
CHANGED
@@ -701,6 +701,37 @@ module TencentCloud
|
|
701
701
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
702
702
|
end
|
703
703
|
|
704
|
+
# 获取设置自动签印章小程序链接。
|
705
|
+
|
706
|
+
# 注意:
|
707
|
+
# <ul><li>需要<code>企业开通自动签</code>后使用。</li>
|
708
|
+
# <li>仅支持<code>已经开通了自动签的个人</code>更换自动签印章。</li>
|
709
|
+
# <li>链接有效期默认7天,<code>最多30天</code>。</li>
|
710
|
+
# <li>该接口的链接适用于<code>小程序</code>端。</li>
|
711
|
+
# <li>该接口不会扣除您的合同套餐,暂不参与计费。</li></ul>
|
712
|
+
|
713
|
+
# @param request: Request instance for ChannelCreateUserAutoSignSealUrl.
|
714
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateUserAutoSignSealUrlRequest`
|
715
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateUserAutoSignSealUrlResponse`
|
716
|
+
def ChannelCreateUserAutoSignSealUrl(request)
|
717
|
+
body = send_request('ChannelCreateUserAutoSignSealUrl', request.serialize)
|
718
|
+
response = JSON.parse(body)
|
719
|
+
if response['Response'].key?('Error') == false
|
720
|
+
model = ChannelCreateUserAutoSignSealUrlResponse.new
|
721
|
+
model.deserialize(response['Response'])
|
722
|
+
model
|
723
|
+
else
|
724
|
+
code = response['Response']['Error']['Code']
|
725
|
+
message = response['Response']['Error']['Message']
|
726
|
+
reqid = response['Response']['RequestId']
|
727
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
728
|
+
end
|
729
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
730
|
+
raise e
|
731
|
+
rescue StandardError => e
|
732
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
733
|
+
end
|
734
|
+
|
704
735
|
# 通过此接口,绑定员工角色,支持以电子签userId、客户系统userId两种方式调用。
|
705
736
|
|
706
737
|
# @param request: Request instance for ChannelCreateUserRoles.
|
data/lib/v20210526/models.rb
CHANGED
@@ -2275,6 +2275,87 @@ module TencentCloud
|
|
2275
2275
|
end
|
2276
2276
|
end
|
2277
2277
|
|
2278
|
+
# ChannelCreateUserAutoSignSealUrl请求参数结构体
|
2279
|
+
class ChannelCreateUserAutoSignSealUrlRequest < TencentCloud::Common::AbstractModel
|
2280
|
+
# @param Agent: 渠道应用相关信息。
|
2281
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
2282
|
+
# @param SceneKey: 自动签使用的场景值, 可以选择的场景值如下:
|
2283
|
+
# <ul><li> **E_PRESCRIPTION_AUTO_SIGN** : 电子处方场景</li></ul>
|
2284
|
+
|
2285
|
+
# 注: `现在仅支持电子处方场景`
|
2286
|
+
# @type SceneKey: String
|
2287
|
+
# @param UserInfo: 自动签开通个人用户信息,包括名字,身份证等。
|
2288
|
+
# @type UserInfo: :class:`Tencentcloud::Essbasic.v20210526.models.UserThreeFactor`
|
2289
|
+
# @param Operator: 执行本接口操作的员工信息。
|
2290
|
+
# 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
2291
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
2292
|
+
# @param ExpiredTime: 链接的过期时间,格式为Unix时间戳,不能早于当前时间,且最大为当前时间往后30天。`如果不传,默认过期时间为当前时间往后7天。`
|
2293
|
+
# @type ExpiredTime: Integer
|
2294
|
+
|
2295
|
+
attr_accessor :Agent, :SceneKey, :UserInfo, :Operator, :ExpiredTime
|
2296
|
+
|
2297
|
+
def initialize(agent=nil, scenekey=nil, userinfo=nil, operator=nil, expiredtime=nil)
|
2298
|
+
@Agent = agent
|
2299
|
+
@SceneKey = scenekey
|
2300
|
+
@UserInfo = userinfo
|
2301
|
+
@Operator = operator
|
2302
|
+
@ExpiredTime = expiredtime
|
2303
|
+
end
|
2304
|
+
|
2305
|
+
def deserialize(params)
|
2306
|
+
unless params['Agent'].nil?
|
2307
|
+
@Agent = Agent.new
|
2308
|
+
@Agent.deserialize(params['Agent'])
|
2309
|
+
end
|
2310
|
+
@SceneKey = params['SceneKey']
|
2311
|
+
unless params['UserInfo'].nil?
|
2312
|
+
@UserInfo = UserThreeFactor.new
|
2313
|
+
@UserInfo.deserialize(params['UserInfo'])
|
2314
|
+
end
|
2315
|
+
unless params['Operator'].nil?
|
2316
|
+
@Operator = UserInfo.new
|
2317
|
+
@Operator.deserialize(params['Operator'])
|
2318
|
+
end
|
2319
|
+
@ExpiredTime = params['ExpiredTime']
|
2320
|
+
end
|
2321
|
+
end
|
2322
|
+
|
2323
|
+
# ChannelCreateUserAutoSignSealUrl返回参数结构体
|
2324
|
+
class ChannelCreateUserAutoSignSealUrlResponse < TencentCloud::Common::AbstractModel
|
2325
|
+
# @param AppId: 腾讯电子签小程序的AppId,用于其他小程序/APP等应用跳转至腾讯电子签小程序使用。
|
2326
|
+
# @type AppId: String
|
2327
|
+
# @param AppOriginalId: 腾讯电子签小程序的原始Id,用于其他小程序/APP等应用跳转至腾讯电子签小程序使用。
|
2328
|
+
# @type AppOriginalId: String
|
2329
|
+
# @param Url: 个人用户自动签的开通链接, 短链形式。过期时间受 `ExpiredTime` 参数控制。
|
2330
|
+
# @type Url: String
|
2331
|
+
# @param Path: 腾讯电子签小程序的跳转路径,用于其他小程序/APP等应用跳转至腾讯电子签小程序使用。
|
2332
|
+
# @type Path: String
|
2333
|
+
# @param QrCode: base64格式的跳转二维码图片,可通过微信扫描后跳转到腾讯电子签小程序的开通界面。
|
2334
|
+
# @type QrCode: String
|
2335
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2336
|
+
# @type RequestId: String
|
2337
|
+
|
2338
|
+
attr_accessor :AppId, :AppOriginalId, :Url, :Path, :QrCode, :RequestId
|
2339
|
+
|
2340
|
+
def initialize(appid=nil, apporiginalid=nil, url=nil, path=nil, qrcode=nil, requestid=nil)
|
2341
|
+
@AppId = appid
|
2342
|
+
@AppOriginalId = apporiginalid
|
2343
|
+
@Url = url
|
2344
|
+
@Path = path
|
2345
|
+
@QrCode = qrcode
|
2346
|
+
@RequestId = requestid
|
2347
|
+
end
|
2348
|
+
|
2349
|
+
def deserialize(params)
|
2350
|
+
@AppId = params['AppId']
|
2351
|
+
@AppOriginalId = params['AppOriginalId']
|
2352
|
+
@Url = params['Url']
|
2353
|
+
@Path = params['Path']
|
2354
|
+
@QrCode = params['QrCode']
|
2355
|
+
@RequestId = params['RequestId']
|
2356
|
+
end
|
2357
|
+
end
|
2358
|
+
|
2278
2359
|
# ChannelCreateUserRoles请求参数结构体
|
2279
2360
|
class ChannelCreateUserRolesRequest < TencentCloud::Common::AbstractModel
|
2280
2361
|
# @param Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 必填。
|
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.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
|