tencentcloud-sdk-essbasic 1.0.226 → 1.0.230
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/v20210526/client.rb +85 -0
- data/lib/v20210526/models.rb +416 -6
- 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: 3d3460da6fd7aa9fb0437b48a6863dd4fcd284e6
|
|
4
|
+
data.tar.gz: 08e4f0560c47e6e9594e54938960a0752866bd16
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 053f09ef90596f21ba00ec01b6a7a485725a0d32086c1dc6173a60c478311b1d1a8aa4e3996add5afd1783dfee1d968e117ddfcff3f2e5bf128aca69640f9c45
|
|
7
|
+
data.tar.gz: adad5612e684d74e0fcde648438fb543ef73b9014d1a1998b85b5b2a4515654a7d9d86188b3650696b5c40a3563518b46daa4042cf433344831f466412a5ef4d
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.230
|
data/lib/v20210526/client.rb
CHANGED
|
@@ -101,6 +101,30 @@ module TencentCloud
|
|
|
101
101
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
102
102
|
end
|
|
103
103
|
|
|
104
|
+
# 此接口(DescribeFlowDetailInfo)用于查询合同(流程)的详细信息。
|
|
105
|
+
|
|
106
|
+
# @param request: Request instance for DescribeFlowDetailInfo.
|
|
107
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::DescribeFlowDetailInfoRequest`
|
|
108
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::DescribeFlowDetailInfoResponse`
|
|
109
|
+
def DescribeFlowDetailInfo(request)
|
|
110
|
+
body = send_request('DescribeFlowDetailInfo', request.serialize)
|
|
111
|
+
response = JSON.parse(body)
|
|
112
|
+
if response['Response'].key?('Error') == false
|
|
113
|
+
model = DescribeFlowDetailInfoResponse.new
|
|
114
|
+
model.deserialize(response['Response'])
|
|
115
|
+
model
|
|
116
|
+
else
|
|
117
|
+
code = response['Response']['Error']['Code']
|
|
118
|
+
message = response['Response']['Error']['Message']
|
|
119
|
+
reqid = response['Response']['RequestId']
|
|
120
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
121
|
+
end
|
|
122
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
123
|
+
raise e
|
|
124
|
+
rescue StandardError => e
|
|
125
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
126
|
+
end
|
|
127
|
+
|
|
104
128
|
# 根据流程信息批量获取资源下载链接
|
|
105
129
|
|
|
106
130
|
# @param request: Request instance for DescribeResourceUrlsByFlows.
|
|
@@ -174,6 +198,67 @@ module TencentCloud
|
|
|
174
198
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
175
199
|
end
|
|
176
200
|
|
|
201
|
+
# 此接口(GetDownloadFlowUrl)用于创建电子签批量下载确认页面链接,支持客户合同(流程)归类打包下载。
|
|
202
|
+
|
|
203
|
+
# @param request: Request instance for GetDownloadFlowUrl.
|
|
204
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::GetDownloadFlowUrlRequest`
|
|
205
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::GetDownloadFlowUrlResponse`
|
|
206
|
+
def GetDownloadFlowUrl(request)
|
|
207
|
+
body = send_request('GetDownloadFlowUrl', request.serialize)
|
|
208
|
+
response = JSON.parse(body)
|
|
209
|
+
if response['Response'].key?('Error') == false
|
|
210
|
+
model = GetDownloadFlowUrlResponse.new
|
|
211
|
+
model.deserialize(response['Response'])
|
|
212
|
+
model
|
|
213
|
+
else
|
|
214
|
+
code = response['Response']['Error']['Code']
|
|
215
|
+
message = response['Response']['Error']['Message']
|
|
216
|
+
reqid = response['Response']['RequestId']
|
|
217
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
218
|
+
end
|
|
219
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
220
|
+
raise e
|
|
221
|
+
rescue StandardError => e
|
|
222
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
# 此接口(OperateChannelTemplate)用于渠道侧将模板库中的模板对合作企业进行查询和设置, 其中包括可见性的修改以及对合作企业的指定.
|
|
226
|
+
# 1、同步标识=select时:
|
|
227
|
+
# 输入规则:“可见标识”、“指定合作企业列表”为空。
|
|
228
|
+
# 处理规则:返回指定模版的可见标识、指定合作企业列表。
|
|
229
|
+
# 2、同步标识=update时:
|
|
230
|
+
# 输入规则:“可见标识”、“指定合作企业列表”非必填输入。
|
|
231
|
+
# 处理规则:
|
|
232
|
+
# 若“可见标识”=空,不做处理,返回当前的可见标识。
|
|
233
|
+
# 若“可见标识”=所有合作企业,不取“指定合作企业列表”的值处理。
|
|
234
|
+
# 若“可见标识”=指定合作企业,取“指定合作企业列表”的值进行更新/插入。
|
|
235
|
+
# 3、同步标识=delete时:
|
|
236
|
+
# 输入规则:“可见标识”、“指定合作企业列表”非必填输入。
|
|
237
|
+
# 处理规则:
|
|
238
|
+
# 仅取“指定合作企业列表”的值进行删除处理,为空时不做处。
|
|
239
|
+
|
|
240
|
+
# @param request: Request instance for OperateChannelTemplate.
|
|
241
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::OperateChannelTemplateRequest`
|
|
242
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::OperateChannelTemplateResponse`
|
|
243
|
+
def OperateChannelTemplate(request)
|
|
244
|
+
body = send_request('OperateChannelTemplate', request.serialize)
|
|
245
|
+
response = JSON.parse(body)
|
|
246
|
+
if response['Response'].key?('Error') == false
|
|
247
|
+
model = OperateChannelTemplateResponse.new
|
|
248
|
+
model.deserialize(response['Response'])
|
|
249
|
+
model
|
|
250
|
+
else
|
|
251
|
+
code = response['Response']['Error']['Code']
|
|
252
|
+
message = response['Response']['Error']['Message']
|
|
253
|
+
reqid = response['Response']['RequestId']
|
|
254
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
255
|
+
end
|
|
256
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
257
|
+
raise e
|
|
258
|
+
rescue StandardError => e
|
|
259
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
260
|
+
end
|
|
261
|
+
|
|
177
262
|
# 该接口 (PrepareFlows) 用于创建待发起文件
|
|
178
263
|
|
|
179
264
|
# @param request: Request instance for PrepareFlows.
|
data/lib/v20210526/models.rb
CHANGED
|
@@ -52,6 +52,42 @@ module TencentCloud
|
|
|
52
52
|
end
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
+
# 授权出错信息
|
|
56
|
+
class AuthFailMessage < TencentCloud::Common::AbstractModel
|
|
57
|
+
# @param ProxyOrganizationOpenId: 合作企业Id
|
|
58
|
+
# @type ProxyOrganizationOpenId: String
|
|
59
|
+
# @param Message: 出错信息
|
|
60
|
+
# @type Message: String
|
|
61
|
+
|
|
62
|
+
attr_accessor :ProxyOrganizationOpenId, :Message
|
|
63
|
+
|
|
64
|
+
def initialize(proxyorganizationopenid=nil, message=nil)
|
|
65
|
+
@ProxyOrganizationOpenId = proxyorganizationopenid
|
|
66
|
+
@Message = message
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
def deserialize(params)
|
|
70
|
+
@ProxyOrganizationOpenId = params['ProxyOrganizationOpenId']
|
|
71
|
+
@Message = params['Message']
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# 抄送信息
|
|
76
|
+
class CcInfo < TencentCloud::Common::AbstractModel
|
|
77
|
+
# @param Mobile: 被抄送人手机号
|
|
78
|
+
# @type Mobile: String
|
|
79
|
+
|
|
80
|
+
attr_accessor :Mobile
|
|
81
|
+
|
|
82
|
+
def initialize(mobile=nil)
|
|
83
|
+
@Mobile = mobile
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
def deserialize(params)
|
|
87
|
+
@Mobile = params['Mobile']
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
|
|
55
91
|
# 此结构体 (Component) 用于描述控件属性。
|
|
56
92
|
class Component < TencentCloud::Common::AbstractModel
|
|
57
93
|
# @param ComponentId: 控件编号
|
|
@@ -364,6 +400,72 @@ module TencentCloud
|
|
|
364
400
|
end
|
|
365
401
|
end
|
|
366
402
|
|
|
403
|
+
# DescribeFlowDetailInfo请求参数结构体
|
|
404
|
+
class DescribeFlowDetailInfoRequest < TencentCloud::Common::AbstractModel
|
|
405
|
+
# @param Agent: 应用信息
|
|
406
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
|
407
|
+
# @param FlowIds: 合同(流程)编号数组
|
|
408
|
+
# @type FlowIds: Array
|
|
409
|
+
# @param Operator: 操作者的信息
|
|
410
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
|
411
|
+
|
|
412
|
+
attr_accessor :Agent, :FlowIds, :Operator
|
|
413
|
+
|
|
414
|
+
def initialize(agent=nil, flowids=nil, operator=nil)
|
|
415
|
+
@Agent = agent
|
|
416
|
+
@FlowIds = flowids
|
|
417
|
+
@Operator = operator
|
|
418
|
+
end
|
|
419
|
+
|
|
420
|
+
def deserialize(params)
|
|
421
|
+
unless params['Agent'].nil?
|
|
422
|
+
@Agent = Agent.new
|
|
423
|
+
@Agent.deserialize(params['Agent'])
|
|
424
|
+
end
|
|
425
|
+
@FlowIds = params['FlowIds']
|
|
426
|
+
unless params['Operator'].nil?
|
|
427
|
+
@Operator = UserInfo.new
|
|
428
|
+
@Operator.deserialize(params['Operator'])
|
|
429
|
+
end
|
|
430
|
+
end
|
|
431
|
+
end
|
|
432
|
+
|
|
433
|
+
# DescribeFlowDetailInfo返回参数结构体
|
|
434
|
+
class DescribeFlowDetailInfoResponse < TencentCloud::Common::AbstractModel
|
|
435
|
+
# @param ApplicationId: 渠道侧应用号Id
|
|
436
|
+
# @type ApplicationId: String
|
|
437
|
+
# @param ProxyOrganizationOpenId: 渠道侧企业第三方Id
|
|
438
|
+
# @type ProxyOrganizationOpenId: String
|
|
439
|
+
# @param FlowInfo: 合同(流程)的具体详细描述信息
|
|
440
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
441
|
+
# @type FlowInfo: Array
|
|
442
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
443
|
+
# @type RequestId: String
|
|
444
|
+
|
|
445
|
+
attr_accessor :ApplicationId, :ProxyOrganizationOpenId, :FlowInfo, :RequestId
|
|
446
|
+
|
|
447
|
+
def initialize(applicationid=nil, proxyorganizationopenid=nil, flowinfo=nil, requestid=nil)
|
|
448
|
+
@ApplicationId = applicationid
|
|
449
|
+
@ProxyOrganizationOpenId = proxyorganizationopenid
|
|
450
|
+
@FlowInfo = flowinfo
|
|
451
|
+
@RequestId = requestid
|
|
452
|
+
end
|
|
453
|
+
|
|
454
|
+
def deserialize(params)
|
|
455
|
+
@ApplicationId = params['ApplicationId']
|
|
456
|
+
@ProxyOrganizationOpenId = params['ProxyOrganizationOpenId']
|
|
457
|
+
unless params['FlowInfo'].nil?
|
|
458
|
+
@FlowInfo = []
|
|
459
|
+
params['FlowInfo'].each do |i|
|
|
460
|
+
flowdetailinfo_tmp = FlowDetailInfo.new
|
|
461
|
+
flowdetailinfo_tmp.deserialize(i)
|
|
462
|
+
@FlowInfo << flowdetailinfo_tmp
|
|
463
|
+
end
|
|
464
|
+
end
|
|
465
|
+
@RequestId = params['RequestId']
|
|
466
|
+
end
|
|
467
|
+
end
|
|
468
|
+
|
|
367
469
|
# DescribeResourceUrlsByFlows请求参数结构体
|
|
368
470
|
class DescribeResourceUrlsByFlowsRequest < TencentCloud::Common::AbstractModel
|
|
369
471
|
# @param Agent: 渠道应用相关信息
|
|
@@ -564,6 +666,87 @@ module TencentCloud
|
|
|
564
666
|
end
|
|
565
667
|
end
|
|
566
668
|
|
|
669
|
+
# 合同(流程)下载信息
|
|
670
|
+
class DownloadFlowInfo < TencentCloud::Common::AbstractModel
|
|
671
|
+
# @param FileName: 文件夹名称
|
|
672
|
+
# @type FileName: String
|
|
673
|
+
# @param FlowIdList: 合同(流程)的标识数组
|
|
674
|
+
# @type FlowIdList: Array
|
|
675
|
+
|
|
676
|
+
attr_accessor :FileName, :FlowIdList
|
|
677
|
+
|
|
678
|
+
def initialize(filename=nil, flowidlist=nil)
|
|
679
|
+
@FileName = filename
|
|
680
|
+
@FlowIdList = flowidlist
|
|
681
|
+
end
|
|
682
|
+
|
|
683
|
+
def deserialize(params)
|
|
684
|
+
@FileName = params['FileName']
|
|
685
|
+
@FlowIdList = params['FlowIdList']
|
|
686
|
+
end
|
|
687
|
+
end
|
|
688
|
+
|
|
689
|
+
# 签署人的流程信息明细
|
|
690
|
+
class FlowApproverDetail < TencentCloud::Common::AbstractModel
|
|
691
|
+
# @param ReceiptId: 模板配置时候的签署人id,与控件绑定
|
|
692
|
+
# @type ReceiptId: String
|
|
693
|
+
# @param ProxyOrganizationOpenId: 渠道侧企业的第三方id
|
|
694
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
695
|
+
# @type ProxyOrganizationOpenId: String
|
|
696
|
+
# @param ProxyOperatorOpenId: 渠道侧企业操作人的第三方id
|
|
697
|
+
# @type ProxyOperatorOpenId: String
|
|
698
|
+
# @param ProxyOrganizationName: 渠道侧企业名称
|
|
699
|
+
# @type ProxyOrganizationName: String
|
|
700
|
+
# @param Mobile: 签署人手机号
|
|
701
|
+
# @type Mobile: String
|
|
702
|
+
# @param SignOrder: 签署人签署顺序
|
|
703
|
+
# @type SignOrder: Integer
|
|
704
|
+
# @param ApproveName: 签署人姓名
|
|
705
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
706
|
+
# @type ApproveName: String
|
|
707
|
+
# @param ApproveStatus: 当前签署人的状态
|
|
708
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
709
|
+
# @type ApproveStatus: String
|
|
710
|
+
# @param ApproveMessage: 签署人信息
|
|
711
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
712
|
+
# @type ApproveMessage: String
|
|
713
|
+
# @param ApproveTime: 签署人签署时间
|
|
714
|
+
# @type ApproveTime: Integer
|
|
715
|
+
# @param ApproveType: 参与者类型 (ORGANIZATION企业/PERSON个人)
|
|
716
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
717
|
+
# @type ApproveType: String
|
|
718
|
+
|
|
719
|
+
attr_accessor :ReceiptId, :ProxyOrganizationOpenId, :ProxyOperatorOpenId, :ProxyOrganizationName, :Mobile, :SignOrder, :ApproveName, :ApproveStatus, :ApproveMessage, :ApproveTime, :ApproveType
|
|
720
|
+
|
|
721
|
+
def initialize(receiptid=nil, proxyorganizationopenid=nil, proxyoperatoropenid=nil, proxyorganizationname=nil, mobile=nil, signorder=nil, approvename=nil, approvestatus=nil, approvemessage=nil, approvetime=nil, approvetype=nil)
|
|
722
|
+
@ReceiptId = receiptid
|
|
723
|
+
@ProxyOrganizationOpenId = proxyorganizationopenid
|
|
724
|
+
@ProxyOperatorOpenId = proxyoperatoropenid
|
|
725
|
+
@ProxyOrganizationName = proxyorganizationname
|
|
726
|
+
@Mobile = mobile
|
|
727
|
+
@SignOrder = signorder
|
|
728
|
+
@ApproveName = approvename
|
|
729
|
+
@ApproveStatus = approvestatus
|
|
730
|
+
@ApproveMessage = approvemessage
|
|
731
|
+
@ApproveTime = approvetime
|
|
732
|
+
@ApproveType = approvetype
|
|
733
|
+
end
|
|
734
|
+
|
|
735
|
+
def deserialize(params)
|
|
736
|
+
@ReceiptId = params['ReceiptId']
|
|
737
|
+
@ProxyOrganizationOpenId = params['ProxyOrganizationOpenId']
|
|
738
|
+
@ProxyOperatorOpenId = params['ProxyOperatorOpenId']
|
|
739
|
+
@ProxyOrganizationName = params['ProxyOrganizationName']
|
|
740
|
+
@Mobile = params['Mobile']
|
|
741
|
+
@SignOrder = params['SignOrder']
|
|
742
|
+
@ApproveName = params['ApproveName']
|
|
743
|
+
@ApproveStatus = params['ApproveStatus']
|
|
744
|
+
@ApproveMessage = params['ApproveMessage']
|
|
745
|
+
@ApproveTime = params['ApproveTime']
|
|
746
|
+
@ApproveType = params['ApproveType']
|
|
747
|
+
end
|
|
748
|
+
end
|
|
749
|
+
|
|
567
750
|
# 创建流程签署人入参
|
|
568
751
|
class FlowApproverInfo < TencentCloud::Common::AbstractModel
|
|
569
752
|
# @param Name: 签署人姓名
|
|
@@ -582,10 +765,12 @@ module TencentCloud
|
|
|
582
765
|
# @type ApproverType: String
|
|
583
766
|
# @param OpenId: 用户侧第三方id
|
|
584
767
|
# @type OpenId: String
|
|
768
|
+
# @param PreReadTime: 合同的强制预览时间:3~300s,未指定则按合同页数计算
|
|
769
|
+
# @type PreReadTime: Integer
|
|
585
770
|
|
|
586
|
-
attr_accessor :Name, :Mobile, :IdCardNumber, :JumpUrl, :Deadline, :CallbackUrl, :ApproverType, :OpenId
|
|
771
|
+
attr_accessor :Name, :Mobile, :IdCardNumber, :JumpUrl, :Deadline, :CallbackUrl, :ApproverType, :OpenId, :PreReadTime
|
|
587
772
|
|
|
588
|
-
def initialize(name=nil, mobile=nil, idcardnumber=nil, jumpurl=nil, deadline=nil, callbackurl=nil, approvertype=nil, openid=nil)
|
|
773
|
+
def initialize(name=nil, mobile=nil, idcardnumber=nil, jumpurl=nil, deadline=nil, callbackurl=nil, approvertype=nil, openid=nil, prereadtime=nil)
|
|
589
774
|
@Name = name
|
|
590
775
|
@Mobile = mobile
|
|
591
776
|
@IdCardNumber = idcardnumber
|
|
@@ -594,6 +779,7 @@ module TencentCloud
|
|
|
594
779
|
@CallbackUrl = callbackurl
|
|
595
780
|
@ApproverType = approvertype
|
|
596
781
|
@OpenId = openid
|
|
782
|
+
@PreReadTime = prereadtime
|
|
597
783
|
end
|
|
598
784
|
|
|
599
785
|
def deserialize(params)
|
|
@@ -605,6 +791,62 @@ module TencentCloud
|
|
|
605
791
|
@CallbackUrl = params['CallbackUrl']
|
|
606
792
|
@ApproverType = params['ApproverType']
|
|
607
793
|
@OpenId = params['OpenId']
|
|
794
|
+
@PreReadTime = params['PreReadTime']
|
|
795
|
+
end
|
|
796
|
+
end
|
|
797
|
+
|
|
798
|
+
# 此结构体(FlowDetailInfo)描述的是合同(流程)的详细信息
|
|
799
|
+
class FlowDetailInfo < TencentCloud::Common::AbstractModel
|
|
800
|
+
# @param FlowId: 合同(流程)的Id
|
|
801
|
+
# @type FlowId: String
|
|
802
|
+
# @param FlowName: 合同(流程)的名字
|
|
803
|
+
# @type FlowName: String
|
|
804
|
+
# @param FlowType: 合同(流程)的类型
|
|
805
|
+
# @type FlowType: String
|
|
806
|
+
# @param FlowStatus: 合同(流程)的状态
|
|
807
|
+
# @type FlowStatus: String
|
|
808
|
+
# @param FlowMessage: 合同(流程)的信息
|
|
809
|
+
# @type FlowMessage: String
|
|
810
|
+
# @param CreateOn: 合同(流程)的创建时间戳
|
|
811
|
+
# @type CreateOn: Integer
|
|
812
|
+
# @param DeadLine: 合同(流程)的签署截止时间戳
|
|
813
|
+
# @type DeadLine: Integer
|
|
814
|
+
# @param CustomData: 用户自定义数据
|
|
815
|
+
# @type CustomData: String
|
|
816
|
+
# @param FlowApproverInfos: 合同(流程)的签署人数组
|
|
817
|
+
# @type FlowApproverInfos: Array
|
|
818
|
+
|
|
819
|
+
attr_accessor :FlowId, :FlowName, :FlowType, :FlowStatus, :FlowMessage, :CreateOn, :DeadLine, :CustomData, :FlowApproverInfos
|
|
820
|
+
|
|
821
|
+
def initialize(flowid=nil, flowname=nil, flowtype=nil, flowstatus=nil, flowmessage=nil, createon=nil, deadline=nil, customdata=nil, flowapproverinfos=nil)
|
|
822
|
+
@FlowId = flowid
|
|
823
|
+
@FlowName = flowname
|
|
824
|
+
@FlowType = flowtype
|
|
825
|
+
@FlowStatus = flowstatus
|
|
826
|
+
@FlowMessage = flowmessage
|
|
827
|
+
@CreateOn = createon
|
|
828
|
+
@DeadLine = deadline
|
|
829
|
+
@CustomData = customdata
|
|
830
|
+
@FlowApproverInfos = flowapproverinfos
|
|
831
|
+
end
|
|
832
|
+
|
|
833
|
+
def deserialize(params)
|
|
834
|
+
@FlowId = params['FlowId']
|
|
835
|
+
@FlowName = params['FlowName']
|
|
836
|
+
@FlowType = params['FlowType']
|
|
837
|
+
@FlowStatus = params['FlowStatus']
|
|
838
|
+
@FlowMessage = params['FlowMessage']
|
|
839
|
+
@CreateOn = params['CreateOn']
|
|
840
|
+
@DeadLine = params['DeadLine']
|
|
841
|
+
@CustomData = params['CustomData']
|
|
842
|
+
unless params['FlowApproverInfos'].nil?
|
|
843
|
+
@FlowApproverInfos = []
|
|
844
|
+
params['FlowApproverInfos'].each do |i|
|
|
845
|
+
flowapproverdetail_tmp = FlowApproverDetail.new
|
|
846
|
+
flowapproverdetail_tmp.deserialize(i)
|
|
847
|
+
@FlowApproverInfos << flowapproverdetail_tmp
|
|
848
|
+
end
|
|
849
|
+
end
|
|
608
850
|
end
|
|
609
851
|
end
|
|
610
852
|
|
|
@@ -632,10 +874,12 @@ module TencentCloud
|
|
|
632
874
|
# @type FlowDescription: String
|
|
633
875
|
# @param CustomerData: 渠道的业务信息,限制1024字符
|
|
634
876
|
# @type CustomerData: String
|
|
877
|
+
# @param CcInfos: 被抄送人的信息列表
|
|
878
|
+
# @type CcInfos: Array
|
|
635
879
|
|
|
636
|
-
attr_accessor :FlowName, :Deadline, :TemplateId, :FlowType, :CallbackUrl, :FlowApprovers, :FormFields, :FlowDescription, :CustomerData
|
|
880
|
+
attr_accessor :FlowName, :Deadline, :TemplateId, :FlowType, :CallbackUrl, :FlowApprovers, :FormFields, :FlowDescription, :CustomerData, :CcInfos
|
|
637
881
|
|
|
638
|
-
def initialize(flowname=nil, deadline=nil, templateid=nil, flowtype=nil, callbackurl=nil, flowapprovers=nil, formfields=nil, flowdescription=nil, customerdata=nil)
|
|
882
|
+
def initialize(flowname=nil, deadline=nil, templateid=nil, flowtype=nil, callbackurl=nil, flowapprovers=nil, formfields=nil, flowdescription=nil, customerdata=nil, ccinfos=nil)
|
|
639
883
|
@FlowName = flowname
|
|
640
884
|
@Deadline = deadline
|
|
641
885
|
@TemplateId = templateid
|
|
@@ -645,6 +889,7 @@ module TencentCloud
|
|
|
645
889
|
@FormFields = formfields
|
|
646
890
|
@FlowDescription = flowdescription
|
|
647
891
|
@CustomerData = customerdata
|
|
892
|
+
@CcInfos = ccinfos
|
|
648
893
|
end
|
|
649
894
|
|
|
650
895
|
def deserialize(params)
|
|
@@ -671,6 +916,14 @@ module TencentCloud
|
|
|
671
916
|
end
|
|
672
917
|
@FlowDescription = params['FlowDescription']
|
|
673
918
|
@CustomerData = params['CustomerData']
|
|
919
|
+
unless params['CcInfos'].nil?
|
|
920
|
+
@CcInfos = []
|
|
921
|
+
params['CcInfos'].each do |i|
|
|
922
|
+
ccinfo_tmp = CcInfo.new
|
|
923
|
+
ccinfo_tmp.deserialize(i)
|
|
924
|
+
@CcInfos << ccinfo_tmp
|
|
925
|
+
end
|
|
926
|
+
end
|
|
674
927
|
end
|
|
675
928
|
end
|
|
676
929
|
|
|
@@ -729,6 +982,159 @@ module TencentCloud
|
|
|
729
982
|
end
|
|
730
983
|
end
|
|
731
984
|
|
|
985
|
+
# GetDownloadFlowUrl请求参数结构体
|
|
986
|
+
class GetDownloadFlowUrlRequest < TencentCloud::Common::AbstractModel
|
|
987
|
+
# @param Agent: 应用信息
|
|
988
|
+
# 此接口Agent.ProxyOrganizationOpenId 和 Agent. ProxyOperator.OpenId 必填
|
|
989
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
|
990
|
+
# @param Operator: 操作者的信息
|
|
991
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
|
992
|
+
# @param DownLoadFlows: 文件夹数组,合同(流程)总数不能超过50个,一个文件夹下,不能超过20个合同(流程),
|
|
993
|
+
# @type DownLoadFlows: Array
|
|
994
|
+
|
|
995
|
+
attr_accessor :Agent, :Operator, :DownLoadFlows
|
|
996
|
+
|
|
997
|
+
def initialize(agent=nil, operator=nil, downloadflows=nil)
|
|
998
|
+
@Agent = agent
|
|
999
|
+
@Operator = operator
|
|
1000
|
+
@DownLoadFlows = downloadflows
|
|
1001
|
+
end
|
|
1002
|
+
|
|
1003
|
+
def deserialize(params)
|
|
1004
|
+
unless params['Agent'].nil?
|
|
1005
|
+
@Agent = Agent.new
|
|
1006
|
+
@Agent.deserialize(params['Agent'])
|
|
1007
|
+
end
|
|
1008
|
+
unless params['Operator'].nil?
|
|
1009
|
+
@Operator = UserInfo.new
|
|
1010
|
+
@Operator.deserialize(params['Operator'])
|
|
1011
|
+
end
|
|
1012
|
+
unless params['DownLoadFlows'].nil?
|
|
1013
|
+
@DownLoadFlows = []
|
|
1014
|
+
params['DownLoadFlows'].each do |i|
|
|
1015
|
+
downloadflowinfo_tmp = DownloadFlowInfo.new
|
|
1016
|
+
downloadflowinfo_tmp.deserialize(i)
|
|
1017
|
+
@DownLoadFlows << downloadflowinfo_tmp
|
|
1018
|
+
end
|
|
1019
|
+
end
|
|
1020
|
+
end
|
|
1021
|
+
end
|
|
1022
|
+
|
|
1023
|
+
# GetDownloadFlowUrl返回参数结构体
|
|
1024
|
+
class GetDownloadFlowUrlResponse < TencentCloud::Common::AbstractModel
|
|
1025
|
+
# @param DownLoadUrl: 进入合同(流程)下载确认页面链接
|
|
1026
|
+
# @type DownLoadUrl: String
|
|
1027
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1028
|
+
# @type RequestId: String
|
|
1029
|
+
|
|
1030
|
+
attr_accessor :DownLoadUrl, :RequestId
|
|
1031
|
+
|
|
1032
|
+
def initialize(downloadurl=nil, requestid=nil)
|
|
1033
|
+
@DownLoadUrl = downloadurl
|
|
1034
|
+
@RequestId = requestid
|
|
1035
|
+
end
|
|
1036
|
+
|
|
1037
|
+
def deserialize(params)
|
|
1038
|
+
@DownLoadUrl = params['DownLoadUrl']
|
|
1039
|
+
@RequestId = params['RequestId']
|
|
1040
|
+
end
|
|
1041
|
+
end
|
|
1042
|
+
|
|
1043
|
+
# OperateChannelTemplate请求参数结构体
|
|
1044
|
+
class OperateChannelTemplateRequest < TencentCloud::Common::AbstractModel
|
|
1045
|
+
# @param Agent: 应用信息
|
|
1046
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
|
1047
|
+
# @param TemplateId: 渠道方模板库模板唯一标识
|
|
1048
|
+
# @type TemplateId: String
|
|
1049
|
+
# @param OperateType: 操作类型,查询:"SELECT",删除:"DELETE",更新:"UPDATE"
|
|
1050
|
+
# @type OperateType: String
|
|
1051
|
+
# @param Operator: 操作者的信息
|
|
1052
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
|
1053
|
+
# @param AuthTag: 模板可见性, 全部可见-"all", 部分可见-"part"
|
|
1054
|
+
# @type AuthTag: String
|
|
1055
|
+
# @param ProxyOrganizationOpenIds: 合作企业方第三方机构唯一标识数据
|
|
1056
|
+
# @type ProxyOrganizationOpenIds: String
|
|
1057
|
+
|
|
1058
|
+
attr_accessor :Agent, :TemplateId, :OperateType, :Operator, :AuthTag, :ProxyOrganizationOpenIds
|
|
1059
|
+
|
|
1060
|
+
def initialize(agent=nil, templateid=nil, operatetype=nil, operator=nil, authtag=nil, proxyorganizationopenids=nil)
|
|
1061
|
+
@Agent = agent
|
|
1062
|
+
@TemplateId = templateid
|
|
1063
|
+
@OperateType = operatetype
|
|
1064
|
+
@Operator = operator
|
|
1065
|
+
@AuthTag = authtag
|
|
1066
|
+
@ProxyOrganizationOpenIds = proxyorganizationopenids
|
|
1067
|
+
end
|
|
1068
|
+
|
|
1069
|
+
def deserialize(params)
|
|
1070
|
+
unless params['Agent'].nil?
|
|
1071
|
+
@Agent = Agent.new
|
|
1072
|
+
@Agent.deserialize(params['Agent'])
|
|
1073
|
+
end
|
|
1074
|
+
@TemplateId = params['TemplateId']
|
|
1075
|
+
@OperateType = params['OperateType']
|
|
1076
|
+
unless params['Operator'].nil?
|
|
1077
|
+
@Operator = UserInfo.new
|
|
1078
|
+
@Operator.deserialize(params['Operator'])
|
|
1079
|
+
end
|
|
1080
|
+
@AuthTag = params['AuthTag']
|
|
1081
|
+
@ProxyOrganizationOpenIds = params['ProxyOrganizationOpenIds']
|
|
1082
|
+
end
|
|
1083
|
+
end
|
|
1084
|
+
|
|
1085
|
+
# OperateChannelTemplate返回参数结构体
|
|
1086
|
+
class OperateChannelTemplateResponse < TencentCloud::Common::AbstractModel
|
|
1087
|
+
# @param AppId: 腾讯电子签颁发给渠道的应用ID
|
|
1088
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1089
|
+
# @type AppId: String
|
|
1090
|
+
# @param TemplateId: 渠道方模板库模板唯一标识
|
|
1091
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1092
|
+
# @type TemplateId: String
|
|
1093
|
+
# @param OperateResult: 全部成功-"all-success",部分成功-"part-success", 全部失败-"fail"失败的会在FailMessageList中展示
|
|
1094
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1095
|
+
# @type OperateResult: String
|
|
1096
|
+
# @param AuthTag: 模板可见性, 全部可见-"all", 部分可见-"part"
|
|
1097
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1098
|
+
# @type AuthTag: String
|
|
1099
|
+
# @param ProxyOrganizationOpenIds: 合作企业方第三方机构唯一标识数据
|
|
1100
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1101
|
+
# @type ProxyOrganizationOpenIds: Array
|
|
1102
|
+
# @param FailMessageList: 操作失败信息数组
|
|
1103
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1104
|
+
# @type FailMessageList: Array
|
|
1105
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1106
|
+
# @type RequestId: String
|
|
1107
|
+
|
|
1108
|
+
attr_accessor :AppId, :TemplateId, :OperateResult, :AuthTag, :ProxyOrganizationOpenIds, :FailMessageList, :RequestId
|
|
1109
|
+
|
|
1110
|
+
def initialize(appid=nil, templateid=nil, operateresult=nil, authtag=nil, proxyorganizationopenids=nil, failmessagelist=nil, requestid=nil)
|
|
1111
|
+
@AppId = appid
|
|
1112
|
+
@TemplateId = templateid
|
|
1113
|
+
@OperateResult = operateresult
|
|
1114
|
+
@AuthTag = authtag
|
|
1115
|
+
@ProxyOrganizationOpenIds = proxyorganizationopenids
|
|
1116
|
+
@FailMessageList = failmessagelist
|
|
1117
|
+
@RequestId = requestid
|
|
1118
|
+
end
|
|
1119
|
+
|
|
1120
|
+
def deserialize(params)
|
|
1121
|
+
@AppId = params['AppId']
|
|
1122
|
+
@TemplateId = params['TemplateId']
|
|
1123
|
+
@OperateResult = params['OperateResult']
|
|
1124
|
+
@AuthTag = params['AuthTag']
|
|
1125
|
+
@ProxyOrganizationOpenIds = params['ProxyOrganizationOpenIds']
|
|
1126
|
+
unless params['FailMessageList'].nil?
|
|
1127
|
+
@FailMessageList = []
|
|
1128
|
+
params['FailMessageList'].each do |i|
|
|
1129
|
+
authfailmessage_tmp = AuthFailMessage.new
|
|
1130
|
+
authfailmessage_tmp.deserialize(i)
|
|
1131
|
+
@FailMessageList << authfailmessage_tmp
|
|
1132
|
+
end
|
|
1133
|
+
end
|
|
1134
|
+
@RequestId = params['RequestId']
|
|
1135
|
+
end
|
|
1136
|
+
end
|
|
1137
|
+
|
|
732
1138
|
# PrepareFlows请求参数结构体
|
|
733
1139
|
class PrepareFlowsRequest < TencentCloud::Common::AbstractModel
|
|
734
1140
|
# @param Agent: 渠道应用相关信息
|
|
@@ -1144,10 +1550,12 @@ module TencentCloud
|
|
|
1144
1550
|
# @type TemplateType: Integer
|
|
1145
1551
|
# @param Recipients: 模板中的流程参与人信息
|
|
1146
1552
|
# @type Recipients: Array
|
|
1553
|
+
# @param IsPromoter: 是否是发起人
|
|
1554
|
+
# @type IsPromoter: Boolean
|
|
1147
1555
|
|
|
1148
|
-
attr_accessor :TemplateId, :TemplateName, :Description, :Components, :SignComponents, :Creator, :CreatedOn, :TemplateType, :Recipients
|
|
1556
|
+
attr_accessor :TemplateId, :TemplateName, :Description, :Components, :SignComponents, :Creator, :CreatedOn, :TemplateType, :Recipients, :IsPromoter
|
|
1149
1557
|
|
|
1150
|
-
def initialize(templateid=nil, templatename=nil, description=nil, components=nil, signcomponents=nil, creator=nil, createdon=nil, templatetype=nil, recipients=nil)
|
|
1558
|
+
def initialize(templateid=nil, templatename=nil, description=nil, components=nil, signcomponents=nil, creator=nil, createdon=nil, templatetype=nil, recipients=nil, ispromoter=nil)
|
|
1151
1559
|
@TemplateId = templateid
|
|
1152
1560
|
@TemplateName = templatename
|
|
1153
1561
|
@Description = description
|
|
@@ -1157,6 +1565,7 @@ module TencentCloud
|
|
|
1157
1565
|
@CreatedOn = createdon
|
|
1158
1566
|
@TemplateType = templatetype
|
|
1159
1567
|
@Recipients = recipients
|
|
1568
|
+
@IsPromoter = ispromoter
|
|
1160
1569
|
end
|
|
1161
1570
|
|
|
1162
1571
|
def deserialize(params)
|
|
@@ -1190,6 +1599,7 @@ module TencentCloud
|
|
|
1190
1599
|
@Recipients << recipient_tmp
|
|
1191
1600
|
end
|
|
1192
1601
|
end
|
|
1602
|
+
@IsPromoter = params['IsPromoter']
|
|
1193
1603
|
end
|
|
1194
1604
|
end
|
|
1195
1605
|
|
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: 1.0.
|
|
4
|
+
version: 1.0.230
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-12-
|
|
11
|
+
date: 2021-12-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|