tencentcloud-sdk-essbasic 3.0.613 → 3.0.615
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 +24 -0
- data/lib/v20210526/models.rb +54 -4
- 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: 2ea3dfe711bccb0a93481605ad8ac95689ab9fcb
|
4
|
+
data.tar.gz: 11ecaf52cb994d43b9953548f19f523fda6db065
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 790ac98241e89e5cbbd23e36ab9bbd99c61faa781491ecf5570945a328db01b2abf6e149f892ee15fa0fcd894c4922129c39ae8f11310a0a03ef1b5b8f12bde2
|
7
|
+
data.tar.gz: 1c001f633fe498f04c3358aaf452b997aeace4b2850aa66c5ef0d2f1152d0cfa11d92f6cac2ee3b5429d8db8b938da1e9f0a02ec6c95409684570016f9540347
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.615
|
data/lib/v20210526/client.rb
CHANGED
@@ -401,6 +401,30 @@ module TencentCloud
|
|
401
401
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
402
402
|
end
|
403
403
|
|
404
|
+
# 生成渠道子客编辑企业信息二维码
|
405
|
+
|
406
|
+
# @param request: Request instance for ChannelCreateOrganizationModifyQrCode.
|
407
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateOrganizationModifyQrCodeRequest`
|
408
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateOrganizationModifyQrCodeResponse`
|
409
|
+
def ChannelCreateOrganizationModifyQrCode(request)
|
410
|
+
body = send_request('ChannelCreateOrganizationModifyQrCode', request.serialize)
|
411
|
+
response = JSON.parse(body)
|
412
|
+
if response['Response'].key?('Error') == false
|
413
|
+
model = ChannelCreateOrganizationModifyQrCodeResponse.new
|
414
|
+
model.deserialize(response['Response'])
|
415
|
+
model
|
416
|
+
else
|
417
|
+
code = response['Response']['Error']['Code']
|
418
|
+
message = response['Response']['Error']['Message']
|
419
|
+
reqid = response['Response']['RequestId']
|
420
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
421
|
+
end
|
422
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
423
|
+
raise e
|
424
|
+
rescue StandardError => e
|
425
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
426
|
+
end
|
427
|
+
|
404
428
|
# 创建预发起合同
|
405
429
|
# 通过此接口指定:合同,签署人,填写控件信息,生成预创建合同链接,点击后跳转到web页面完成合同创建并发起
|
406
430
|
# 可指定合同信息不可更改,签署人信息不可更改
|
data/lib/v20210526/models.rb
CHANGED
@@ -1079,20 +1079,23 @@ module TencentCloud
|
|
1079
1079
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
1080
1080
|
# @param Organization: 机构信息,暂未开放
|
1081
1081
|
# @type Organization: :class:`Tencentcloud::Essbasic.v20210526.models.OrganizationInfo`
|
1082
|
+
# @param JumpUrl: 签署完之后的H5页面的跳转链接,此链接支持http://和https://,最大长度1000个字符。
|
1083
|
+
# @type JumpUrl: String
|
1082
1084
|
|
1083
|
-
attr_accessor :Agent, :FlowId, :FlowApproverInfos, :Operator, :Organization
|
1085
|
+
attr_accessor :Agent, :FlowId, :FlowApproverInfos, :Operator, :Organization, :JumpUrl
|
1084
1086
|
extend Gem::Deprecate
|
1085
1087
|
deprecate :Operator, :none, 2023, 7
|
1086
1088
|
deprecate :Operator=, :none, 2023, 7
|
1087
1089
|
deprecate :Organization, :none, 2023, 7
|
1088
1090
|
deprecate :Organization=, :none, 2023, 7
|
1089
1091
|
|
1090
|
-
def initialize(agent=nil, flowid=nil, flowapproverinfos=nil, operator=nil, organization=nil)
|
1092
|
+
def initialize(agent=nil, flowid=nil, flowapproverinfos=nil, operator=nil, organization=nil, jumpurl=nil)
|
1091
1093
|
@Agent = agent
|
1092
1094
|
@FlowId = flowid
|
1093
1095
|
@FlowApproverInfos = flowapproverinfos
|
1094
1096
|
@Operator = operator
|
1095
1097
|
@Organization = organization
|
1098
|
+
@JumpUrl = jumpurl
|
1096
1099
|
end
|
1097
1100
|
|
1098
1101
|
def deserialize(params)
|
@@ -1117,6 +1120,7 @@ module TencentCloud
|
|
1117
1120
|
@Organization = OrganizationInfo.new
|
1118
1121
|
@Organization.deserialize(params['Organization'])
|
1119
1122
|
end
|
1123
|
+
@JumpUrl = params['JumpUrl']
|
1120
1124
|
end
|
1121
1125
|
end
|
1122
1126
|
|
@@ -1253,6 +1257,49 @@ module TencentCloud
|
|
1253
1257
|
end
|
1254
1258
|
end
|
1255
1259
|
|
1260
|
+
# ChannelCreateOrganizationModifyQrCode请求参数结构体
|
1261
|
+
class ChannelCreateOrganizationModifyQrCodeRequest < TencentCloud::Common::AbstractModel
|
1262
|
+
# @param Agent: 应用相关信息。 此接口Agent.AppId 必填。
|
1263
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
1264
|
+
|
1265
|
+
attr_accessor :Agent
|
1266
|
+
|
1267
|
+
def initialize(agent=nil)
|
1268
|
+
@Agent = agent
|
1269
|
+
end
|
1270
|
+
|
1271
|
+
def deserialize(params)
|
1272
|
+
unless params['Agent'].nil?
|
1273
|
+
@Agent = Agent.new
|
1274
|
+
@Agent.deserialize(params['Agent'])
|
1275
|
+
end
|
1276
|
+
end
|
1277
|
+
end
|
1278
|
+
|
1279
|
+
# ChannelCreateOrganizationModifyQrCode返回参数结构体
|
1280
|
+
class ChannelCreateOrganizationModifyQrCodeResponse < TencentCloud::Common::AbstractModel
|
1281
|
+
# @param QrCodeUrl: 二维码下载链接
|
1282
|
+
# @type QrCodeUrl: String
|
1283
|
+
# @param ExpiredTime: 二维码失效时间 UNIX 时间戳 精确到秒
|
1284
|
+
# @type ExpiredTime: Integer
|
1285
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1286
|
+
# @type RequestId: String
|
1287
|
+
|
1288
|
+
attr_accessor :QrCodeUrl, :ExpiredTime, :RequestId
|
1289
|
+
|
1290
|
+
def initialize(qrcodeurl=nil, expiredtime=nil, requestid=nil)
|
1291
|
+
@QrCodeUrl = qrcodeurl
|
1292
|
+
@ExpiredTime = expiredtime
|
1293
|
+
@RequestId = requestid
|
1294
|
+
end
|
1295
|
+
|
1296
|
+
def deserialize(params)
|
1297
|
+
@QrCodeUrl = params['QrCodeUrl']
|
1298
|
+
@ExpiredTime = params['ExpiredTime']
|
1299
|
+
@RequestId = params['RequestId']
|
1300
|
+
end
|
1301
|
+
end
|
1302
|
+
|
1256
1303
|
# ChannelCreatePrepareFlow请求参数结构体
|
1257
1304
|
class ChannelCreatePrepareFlowRequest < TencentCloud::Common::AbstractModel
|
1258
1305
|
# @param ResourceId: 资源id,与ResourceType对应
|
@@ -3811,8 +3858,11 @@ module TencentCloud
|
|
3811
3858
|
# @type CallbackUrl: String
|
3812
3859
|
# @param SignComponents: 使用PDF文件直接发起合同时,签署人指定的签署控件
|
3813
3860
|
# @type SignComponents: Array
|
3814
|
-
# @param ComponentLimitType:
|
3815
|
-
#
|
3861
|
+
# @param ComponentLimitType: 签署方控件类型为 SIGN_SIGNATURE时,可以指定签署方签名方式
|
3862
|
+
# HANDWRITE – 手写签名
|
3863
|
+
# OCR_ESIGN -- AI智能识别手写签名
|
3864
|
+
# ESIGN -- 个人印章类型
|
3865
|
+
# SYSTEM_ESIGN -- 系统签名(该类型可以在用户签署时根据用户姓名一键生成一个签名来进行签署)
|
3816
3866
|
# @type ComponentLimitType: Array
|
3817
3867
|
# @param PreReadTime: 合同的强制预览时间:3~300s,未指定则按合同页数计算
|
3818
3868
|
# @type PreReadTime: Integer
|
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.615
|
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-07-
|
11
|
+
date: 2023-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|