tencentcloud-sdk-essbasic 3.0.612 → 3.0.614
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 +61 -15
- 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: ad96f73aa4f260a09c18e9721703040f307ecf1d
|
4
|
+
data.tar.gz: b8305280d03c9f1a696721f9b6551aab06d224d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 101956a4769a88b6722878eafe6e8e7c18d304dd97334cac17f2b9539dbf1a63d1bbed4d625eabc97b7f4b5e74fe7ce69101d1ee17c8b3e065178a2bb724772d
|
7
|
+
data.tar.gz: baf33d8a487f600319b8804ab9fcb547bfb01b1491c2dedebd1f2e73f23858c504cd3d315c26fda4dbacaa27febd35ec8cac5ca89c06891a14ead3c2580f73d8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.614
|
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
@@ -598,9 +598,9 @@ module TencentCloud
|
|
598
598
|
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
599
599
|
# @param EmbedType: WEB嵌入资源类型。
|
600
600
|
# CREATE_SEAL: 创建印章
|
601
|
-
# CREATE_TEMPLATE
|
602
|
-
# MODIFY_TEMPLATE
|
603
|
-
# PREVIEW_TEMPLATE
|
601
|
+
# CREATE_TEMPLATE:创建模板
|
602
|
+
# MODIFY_TEMPLATE:修改模板
|
603
|
+
# PREVIEW_TEMPLATE:预览模板
|
604
604
|
# PREVIEW_FLOW:预览合同文档
|
605
605
|
# PREVIEW_FLOW_DETAIL:预览合同详情
|
606
606
|
# PREVIEW_SEAL_LIST:预览印章列表
|
@@ -608,7 +608,7 @@ module TencentCloud
|
|
608
608
|
# EXTEND_SERVICE:扩展服务
|
609
609
|
# @type EmbedType: String
|
610
610
|
# @param BusinessId: WEB嵌入的业务资源ID
|
611
|
-
# EmbedType取值MODIFY_TEMPLATE,PREVIEW_TEMPLATE
|
611
|
+
# EmbedType取值MODIFY_TEMPLATE,PREVIEW_TEMPLATE时必填,取值为模板id
|
612
612
|
# PREVIEW_FLOW,PREVIEW_FLOW_DETAIL时必填,取值为合同id
|
613
613
|
# PREVIEW_SEAL_DETAIL,必填,取值为印章id
|
614
614
|
# @type BusinessId: String
|
@@ -1253,6 +1253,49 @@ module TencentCloud
|
|
1253
1253
|
end
|
1254
1254
|
end
|
1255
1255
|
|
1256
|
+
# ChannelCreateOrganizationModifyQrCode请求参数结构体
|
1257
|
+
class ChannelCreateOrganizationModifyQrCodeRequest < TencentCloud::Common::AbstractModel
|
1258
|
+
# @param Agent: 应用相关信息。 此接口Agent.AppId 必填。
|
1259
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
1260
|
+
|
1261
|
+
attr_accessor :Agent
|
1262
|
+
|
1263
|
+
def initialize(agent=nil)
|
1264
|
+
@Agent = agent
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
def deserialize(params)
|
1268
|
+
unless params['Agent'].nil?
|
1269
|
+
@Agent = Agent.new
|
1270
|
+
@Agent.deserialize(params['Agent'])
|
1271
|
+
end
|
1272
|
+
end
|
1273
|
+
end
|
1274
|
+
|
1275
|
+
# ChannelCreateOrganizationModifyQrCode返回参数结构体
|
1276
|
+
class ChannelCreateOrganizationModifyQrCodeResponse < TencentCloud::Common::AbstractModel
|
1277
|
+
# @param QrCodeUrl: 二维码下载链接
|
1278
|
+
# @type QrCodeUrl: String
|
1279
|
+
# @param ExpiredTime: 二维码失效时间 UNIX 时间戳 精确到秒
|
1280
|
+
# @type ExpiredTime: Integer
|
1281
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1282
|
+
# @type RequestId: String
|
1283
|
+
|
1284
|
+
attr_accessor :QrCodeUrl, :ExpiredTime, :RequestId
|
1285
|
+
|
1286
|
+
def initialize(qrcodeurl=nil, expiredtime=nil, requestid=nil)
|
1287
|
+
@QrCodeUrl = qrcodeurl
|
1288
|
+
@ExpiredTime = expiredtime
|
1289
|
+
@RequestId = requestid
|
1290
|
+
end
|
1291
|
+
|
1292
|
+
def deserialize(params)
|
1293
|
+
@QrCodeUrl = params['QrCodeUrl']
|
1294
|
+
@ExpiredTime = params['ExpiredTime']
|
1295
|
+
@RequestId = params['RequestId']
|
1296
|
+
end
|
1297
|
+
end
|
1298
|
+
|
1256
1299
|
# ChannelCreatePrepareFlow请求参数结构体
|
1257
1300
|
class ChannelCreatePrepareFlowRequest < TencentCloud::Common::AbstractModel
|
1258
1301
|
# @param ResourceId: 资源id,与ResourceType对应
|
@@ -2786,15 +2829,15 @@ module TencentCloud
|
|
2786
2829
|
class CreateFlowOption < TencentCloud::Common::AbstractModel
|
2787
2830
|
# @param CanEditFlow: 是否允许修改合同信息,true-是,false-否
|
2788
2831
|
# @type CanEditFlow: Boolean
|
2789
|
-
# @param HideShowFlowName:
|
2832
|
+
# @param HideShowFlowName: 是否允许发起合同弹窗隐藏合同名称,true-允许,false-不允许
|
2790
2833
|
# @type HideShowFlowName: Boolean
|
2791
|
-
# @param HideShowFlowType:
|
2834
|
+
# @param HideShowFlowType: 是否允许发起合同弹窗隐藏合同类型,true-允许,false-不允许
|
2792
2835
|
# @type HideShowFlowType: Boolean
|
2793
|
-
# @param HideShowDeadline:
|
2836
|
+
# @param HideShowDeadline: 是否允许发起合同弹窗隐藏合同到期时间,true-允许,false-不允许
|
2794
2837
|
# @type HideShowDeadline: Boolean
|
2795
|
-
# @param CanSkipAddApprover:
|
2838
|
+
# @param CanSkipAddApprover: 是否允许发起合同步骤跳过指定签署方步骤,true-允许,false-不允许
|
2796
2839
|
# @type CanSkipAddApprover: Boolean
|
2797
|
-
# @param CustomCreateFlowDescription:
|
2840
|
+
# @param CustomCreateFlowDescription: 定制化发起合同弹窗的描述信息,描述信息最长500
|
2798
2841
|
# @type CustomCreateFlowDescription: String
|
2799
2842
|
|
2800
2843
|
attr_accessor :CanEditFlow, :HideShowFlowName, :HideShowFlowType, :HideShowDeadline, :CanSkipAddApprover, :CustomCreateFlowDescription
|
@@ -3811,8 +3854,11 @@ module TencentCloud
|
|
3811
3854
|
# @type CallbackUrl: String
|
3812
3855
|
# @param SignComponents: 使用PDF文件直接发起合同时,签署人指定的签署控件
|
3813
3856
|
# @type SignComponents: Array
|
3814
|
-
# @param ComponentLimitType:
|
3815
|
-
#
|
3857
|
+
# @param ComponentLimitType: 签署方控件类型为 SIGN_SIGNATURE时,可以指定签署方签名方式
|
3858
|
+
# HANDWRITE – 手写签名
|
3859
|
+
# OCR_ESIGN -- AI智能识别手写签名
|
3860
|
+
# ESIGN -- 个人印章类型
|
3861
|
+
# SYSTEM_ESIGN -- 系统签名(该类型可以在用户签署时根据用户姓名一键生成一个签名来进行签署)
|
3816
3862
|
# @type ComponentLimitType: Array
|
3817
3863
|
# @param PreReadTime: 合同的强制预览时间:3~300s,未指定则按合同页数计算
|
3818
3864
|
# @type PreReadTime: Integer
|
@@ -3832,8 +3878,8 @@ module TencentCloud
|
|
3832
3878
|
# - 发起流程时系统自动补充
|
3833
3879
|
# - 创建签署链接时,可以通过查询详情接口获得签署人的SignId,然后可传入此值为该签署人创建签署链接,无需再传姓名、手机号、证件号等其他信息
|
3834
3880
|
# @type SignId: String
|
3835
|
-
# @param NotifyType: SMS:
|
3836
|
-
# 默认为SMS(
|
3881
|
+
# @param NotifyType: SMS: 短信(需确保“电子签短信通知签署方”功能是开启状态才能生效); NONE: 不发信息
|
3882
|
+
# 默认为SMS(签署方为子客时该字段不生效)
|
3837
3883
|
# @type NotifyType: String
|
3838
3884
|
|
3839
3885
|
attr_accessor :Name, :IdCardType, :IdCardNumber, :Mobile, :OrganizationName, :NotChannelOrganization, :OpenId, :OrganizationOpenId, :ApproverType, :RecipientId, :Deadline, :CallbackUrl, :SignComponents, :ComponentLimitType, :PreReadTime, :JumpUrl, :ApproverOption, :ApproverNeedSignReview, :ApproverVerifyTypes, :ApproverSignTypes, :SignId, :NotifyType
|
@@ -4339,7 +4385,7 @@ module TencentCloud
|
|
4339
4385
|
# @param ComponentName: 控件的名字,跟ComponentId二选一,不能全为空
|
4340
4386
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4341
4387
|
# @type ComponentName: String
|
4342
|
-
# @param LockComponentValue:
|
4388
|
+
# @param LockComponentValue: 是否锁定模版控件值,锁定后无法修改(用于嵌入式发起合同),true-锁定,false-不锁定
|
4343
4389
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4344
4390
|
# @type LockComponentValue: Boolean
|
4345
4391
|
|
@@ -4602,7 +4648,7 @@ module TencentCloud
|
|
4602
4648
|
# @param TemplateId: 第三方应用平台模板库模板唯一标识
|
4603
4649
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4604
4650
|
# @type TemplateId: String
|
4605
|
-
# @param OperateResult:
|
4651
|
+
# @param OperateResult: 描述模板可见性更改的结果,和参数中Available无关,全部成功-"all-success",部分成功-"part-success", 全部失败-"fail"失败的会在FailMessageList中展示。
|
4606
4652
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4607
4653
|
# @type OperateResult: String
|
4608
4654
|
# @param AuthTag: 模板可见性, 全部可见-"all", 部分可见-"part"
|
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.614
|
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-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|