tencentcloud-sdk-essbasic 1.0.225 → 1.0.229

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 756982db6361aa680200a5e95824ab459d01dbda
4
- data.tar.gz: 17514e2f1cbb01fc7adde8de7b7f51e17292d5d8
3
+ metadata.gz: e6fcddff21db989ec2e98e24c5e65c07236a42d9
4
+ data.tar.gz: 264acf3091feb13dd667560eabf2a071ed30a318
5
5
  SHA512:
6
- metadata.gz: 540f7add0bb2155cca70de0e0332718c509992a9d1acd828105ba222da3dc5d210695f55fd236aa579db9e0858d31a1904a35c57e59d02c5d089426095ce5693
7
- data.tar.gz: ec3e849216a11bd5b9254f957ad773c920349aace391ee2640281b3375b4370bf3c93f12523a4661ac2051755ba5a17d0c208bac099fc983e054bf7946677117
6
+ metadata.gz: a4ba485c3df2b49f2a2200b9fda92f525d9e5ff43bcb27a988d54aec348f437f991b135620ae44a4a21869f9c56255fb975fa17743af5a50343fd28d5eccd7a9
7
+ data.tar.gz: e4f934c24eec240aabe03f81e9d02ed596b2d05958dce0327db4c0efb8483875edd4e3966599b9332d68fa7b94f7acdbc8313f6df1c0383492fad8cc202eb05e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.225
1
+ 1.0.229
@@ -174,6 +174,67 @@ module TencentCloud
174
174
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
175
175
  end
176
176
 
177
+ # 此接口(GetDownloadFlowUrl)用于创建电子签批量下载确认页面链接,支持客户合同(流程)归类打包下载。
178
+
179
+ # @param request: Request instance for GetDownloadFlowUrl.
180
+ # @type request: :class:`Tencentcloud::essbasic::V20210526::GetDownloadFlowUrlRequest`
181
+ # @rtype: :class:`Tencentcloud::essbasic::V20210526::GetDownloadFlowUrlResponse`
182
+ def GetDownloadFlowUrl(request)
183
+ body = send_request('GetDownloadFlowUrl', request.serialize)
184
+ response = JSON.parse(body)
185
+ if response['Response'].key?('Error') == false
186
+ model = GetDownloadFlowUrlResponse.new
187
+ model.deserialize(response['Response'])
188
+ model
189
+ else
190
+ code = response['Response']['Error']['Code']
191
+ message = response['Response']['Error']['Message']
192
+ reqid = response['Response']['RequestId']
193
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
194
+ end
195
+ rescue TencentCloud::Common::TencentCloudSDKException => e
196
+ raise e
197
+ rescue StandardError => e
198
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
199
+ end
200
+
201
+ # 此接口(OperateChannelTemplate)用于渠道侧将模板库中的模板对合作企业进行查询和设置, 其中包括可见性的修改以及对合作企业的指定.
202
+ # 1、同步标识=select时:
203
+ # 输入规则:“可见标识”、“指定合作企业列表”为空。
204
+ # 处理规则:返回指定模版的可见标识、指定合作企业列表。
205
+ # 2、同步标识=update时:
206
+ # 输入规则:“可见标识”、“指定合作企业列表”非必填输入。
207
+ # 处理规则:
208
+ # 若“可见标识”=空,不做处理,返回当前的可见标识。
209
+ # 若“可见标识”=所有合作企业,不取“指定合作企业列表”的值处理。
210
+ # 若“可见标识”=指定合作企业,取“指定合作企业列表”的值进行更新/插入。
211
+ # 3、同步标识=delete时:
212
+ # 输入规则:“可见标识”、“指定合作企业列表”非必填输入。
213
+ # 处理规则:
214
+ # 仅取“指定合作企业列表”的值进行删除处理,为空时不做处。
215
+
216
+ # @param request: Request instance for OperateChannelTemplate.
217
+ # @type request: :class:`Tencentcloud::essbasic::V20210526::OperateChannelTemplateRequest`
218
+ # @rtype: :class:`Tencentcloud::essbasic::V20210526::OperateChannelTemplateResponse`
219
+ def OperateChannelTemplate(request)
220
+ body = send_request('OperateChannelTemplate', request.serialize)
221
+ response = JSON.parse(body)
222
+ if response['Response'].key?('Error') == false
223
+ model = OperateChannelTemplateResponse.new
224
+ model.deserialize(response['Response'])
225
+ model
226
+ else
227
+ code = response['Response']['Error']['Code']
228
+ message = response['Response']['Error']['Message']
229
+ reqid = response['Response']['RequestId']
230
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
231
+ end
232
+ rescue TencentCloud::Common::TencentCloudSDKException => e
233
+ raise e
234
+ rescue StandardError => e
235
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
236
+ end
237
+
177
238
  # 该接口 (PrepareFlows) 用于创建待发起文件
178
239
 
179
240
  # @param request: Request instance for PrepareFlows.
@@ -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: 控件编号
@@ -564,6 +600,26 @@ module TencentCloud
564
600
  end
565
601
  end
566
602
 
603
+ # 合同(流程)下载信息
604
+ class DownloadFlowInfo < TencentCloud::Common::AbstractModel
605
+ # @param FileName: 文件夹名称
606
+ # @type FileName: String
607
+ # @param FlowIdList: 合同(流程)的标识数组
608
+ # @type FlowIdList: Array
609
+
610
+ attr_accessor :FileName, :FlowIdList
611
+
612
+ def initialize(filename=nil, flowidlist=nil)
613
+ @FileName = filename
614
+ @FlowIdList = flowidlist
615
+ end
616
+
617
+ def deserialize(params)
618
+ @FileName = params['FileName']
619
+ @FlowIdList = params['FlowIdList']
620
+ end
621
+ end
622
+
567
623
  # 创建流程签署人入参
568
624
  class FlowApproverInfo < TencentCloud::Common::AbstractModel
569
625
  # @param Name: 签署人姓名
@@ -582,10 +638,12 @@ module TencentCloud
582
638
  # @type ApproverType: String
583
639
  # @param OpenId: 用户侧第三方id
584
640
  # @type OpenId: String
641
+ # @param PreReadTime: 合同的强制预览时间:3~300s,未指定则按合同页数计算
642
+ # @type PreReadTime: Integer
585
643
 
586
- attr_accessor :Name, :Mobile, :IdCardNumber, :JumpUrl, :Deadline, :CallbackUrl, :ApproverType, :OpenId
644
+ attr_accessor :Name, :Mobile, :IdCardNumber, :JumpUrl, :Deadline, :CallbackUrl, :ApproverType, :OpenId, :PreReadTime
587
645
 
588
- def initialize(name=nil, mobile=nil, idcardnumber=nil, jumpurl=nil, deadline=nil, callbackurl=nil, approvertype=nil, openid=nil)
646
+ def initialize(name=nil, mobile=nil, idcardnumber=nil, jumpurl=nil, deadline=nil, callbackurl=nil, approvertype=nil, openid=nil, prereadtime=nil)
589
647
  @Name = name
590
648
  @Mobile = mobile
591
649
  @IdCardNumber = idcardnumber
@@ -594,6 +652,7 @@ module TencentCloud
594
652
  @CallbackUrl = callbackurl
595
653
  @ApproverType = approvertype
596
654
  @OpenId = openid
655
+ @PreReadTime = prereadtime
597
656
  end
598
657
 
599
658
  def deserialize(params)
@@ -605,6 +664,7 @@ module TencentCloud
605
664
  @CallbackUrl = params['CallbackUrl']
606
665
  @ApproverType = params['ApproverType']
607
666
  @OpenId = params['OpenId']
667
+ @PreReadTime = params['PreReadTime']
608
668
  end
609
669
  end
610
670
 
@@ -632,10 +692,12 @@ module TencentCloud
632
692
  # @type FlowDescription: String
633
693
  # @param CustomerData: 渠道的业务信息,限制1024字符
634
694
  # @type CustomerData: String
695
+ # @param CcInfos: 被抄送人的信息列表
696
+ # @type CcInfos: Array
635
697
 
636
- attr_accessor :FlowName, :Deadline, :TemplateId, :FlowType, :CallbackUrl, :FlowApprovers, :FormFields, :FlowDescription, :CustomerData
698
+ attr_accessor :FlowName, :Deadline, :TemplateId, :FlowType, :CallbackUrl, :FlowApprovers, :FormFields, :FlowDescription, :CustomerData, :CcInfos
637
699
 
638
- def initialize(flowname=nil, deadline=nil, templateid=nil, flowtype=nil, callbackurl=nil, flowapprovers=nil, formfields=nil, flowdescription=nil, customerdata=nil)
700
+ def initialize(flowname=nil, deadline=nil, templateid=nil, flowtype=nil, callbackurl=nil, flowapprovers=nil, formfields=nil, flowdescription=nil, customerdata=nil, ccinfos=nil)
639
701
  @FlowName = flowname
640
702
  @Deadline = deadline
641
703
  @TemplateId = templateid
@@ -645,6 +707,7 @@ module TencentCloud
645
707
  @FormFields = formfields
646
708
  @FlowDescription = flowdescription
647
709
  @CustomerData = customerdata
710
+ @CcInfos = ccinfos
648
711
  end
649
712
 
650
713
  def deserialize(params)
@@ -671,6 +734,14 @@ module TencentCloud
671
734
  end
672
735
  @FlowDescription = params['FlowDescription']
673
736
  @CustomerData = params['CustomerData']
737
+ unless params['CcInfos'].nil?
738
+ @CcInfos = []
739
+ params['CcInfos'].each do |i|
740
+ ccinfo_tmp = CcInfo.new
741
+ ccinfo_tmp.deserialize(i)
742
+ @CcInfos << ccinfo_tmp
743
+ end
744
+ end
674
745
  end
675
746
  end
676
747
 
@@ -729,6 +800,159 @@ module TencentCloud
729
800
  end
730
801
  end
731
802
 
803
+ # GetDownloadFlowUrl请求参数结构体
804
+ class GetDownloadFlowUrlRequest < TencentCloud::Common::AbstractModel
805
+ # @param Agent: 应用信息
806
+ # 此接口Agent.ProxyOrganizationOpenId 和 Agent. ProxyOperator.OpenId 必填
807
+ # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
808
+ # @param Operator: 操作者的信息
809
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
810
+ # @param DownLoadFlows: 文件夹数组,合同(流程)总数不能超过50个,一个文件夹下,不能超过20个合同(流程),
811
+ # @type DownLoadFlows: Array
812
+
813
+ attr_accessor :Agent, :Operator, :DownLoadFlows
814
+
815
+ def initialize(agent=nil, operator=nil, downloadflows=nil)
816
+ @Agent = agent
817
+ @Operator = operator
818
+ @DownLoadFlows = downloadflows
819
+ end
820
+
821
+ def deserialize(params)
822
+ unless params['Agent'].nil?
823
+ @Agent = Agent.new
824
+ @Agent.deserialize(params['Agent'])
825
+ end
826
+ unless params['Operator'].nil?
827
+ @Operator = UserInfo.new
828
+ @Operator.deserialize(params['Operator'])
829
+ end
830
+ unless params['DownLoadFlows'].nil?
831
+ @DownLoadFlows = []
832
+ params['DownLoadFlows'].each do |i|
833
+ downloadflowinfo_tmp = DownloadFlowInfo.new
834
+ downloadflowinfo_tmp.deserialize(i)
835
+ @DownLoadFlows << downloadflowinfo_tmp
836
+ end
837
+ end
838
+ end
839
+ end
840
+
841
+ # GetDownloadFlowUrl返回参数结构体
842
+ class GetDownloadFlowUrlResponse < TencentCloud::Common::AbstractModel
843
+ # @param DownLoadUrl: 进入合同(流程)下载确认页面链接
844
+ # @type DownLoadUrl: String
845
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
846
+ # @type RequestId: String
847
+
848
+ attr_accessor :DownLoadUrl, :RequestId
849
+
850
+ def initialize(downloadurl=nil, requestid=nil)
851
+ @DownLoadUrl = downloadurl
852
+ @RequestId = requestid
853
+ end
854
+
855
+ def deserialize(params)
856
+ @DownLoadUrl = params['DownLoadUrl']
857
+ @RequestId = params['RequestId']
858
+ end
859
+ end
860
+
861
+ # OperateChannelTemplate请求参数结构体
862
+ class OperateChannelTemplateRequest < TencentCloud::Common::AbstractModel
863
+ # @param Agent: 应用信息
864
+ # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
865
+ # @param TemplateId: 渠道方模板库模板唯一标识
866
+ # @type TemplateId: String
867
+ # @param OperateType: 操作类型,查询:"SELECT",删除:"DELETE",更新:"UPDATE"
868
+ # @type OperateType: String
869
+ # @param Operator: 操作者的信息
870
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
871
+ # @param AuthTag: 模板可见性, 全部可见-"all", 部分可见-"part"
872
+ # @type AuthTag: String
873
+ # @param ProxyOrganizationOpenIds: 合作企业方第三方机构唯一标识数据
874
+ # @type ProxyOrganizationOpenIds: String
875
+
876
+ attr_accessor :Agent, :TemplateId, :OperateType, :Operator, :AuthTag, :ProxyOrganizationOpenIds
877
+
878
+ def initialize(agent=nil, templateid=nil, operatetype=nil, operator=nil, authtag=nil, proxyorganizationopenids=nil)
879
+ @Agent = agent
880
+ @TemplateId = templateid
881
+ @OperateType = operatetype
882
+ @Operator = operator
883
+ @AuthTag = authtag
884
+ @ProxyOrganizationOpenIds = proxyorganizationopenids
885
+ end
886
+
887
+ def deserialize(params)
888
+ unless params['Agent'].nil?
889
+ @Agent = Agent.new
890
+ @Agent.deserialize(params['Agent'])
891
+ end
892
+ @TemplateId = params['TemplateId']
893
+ @OperateType = params['OperateType']
894
+ unless params['Operator'].nil?
895
+ @Operator = UserInfo.new
896
+ @Operator.deserialize(params['Operator'])
897
+ end
898
+ @AuthTag = params['AuthTag']
899
+ @ProxyOrganizationOpenIds = params['ProxyOrganizationOpenIds']
900
+ end
901
+ end
902
+
903
+ # OperateChannelTemplate返回参数结构体
904
+ class OperateChannelTemplateResponse < TencentCloud::Common::AbstractModel
905
+ # @param AppId: 腾讯电子签颁发给渠道的应用ID
906
+ # 注意:此字段可能返回 null,表示取不到有效值。
907
+ # @type AppId: String
908
+ # @param TemplateId: 渠道方模板库模板唯一标识
909
+ # 注意:此字段可能返回 null,表示取不到有效值。
910
+ # @type TemplateId: String
911
+ # @param OperateResult: 全部成功-"all-success",部分成功-"part-success", 全部失败-"fail"失败的会在FailMessageList中展示
912
+ # 注意:此字段可能返回 null,表示取不到有效值。
913
+ # @type OperateResult: String
914
+ # @param AuthTag: 模板可见性, 全部可见-"all", 部分可见-"part"
915
+ # 注意:此字段可能返回 null,表示取不到有效值。
916
+ # @type AuthTag: String
917
+ # @param ProxyOrganizationOpenIds: 合作企业方第三方机构唯一标识数据
918
+ # 注意:此字段可能返回 null,表示取不到有效值。
919
+ # @type ProxyOrganizationOpenIds: Array
920
+ # @param FailMessageList: 操作失败信息数组
921
+ # 注意:此字段可能返回 null,表示取不到有效值。
922
+ # @type FailMessageList: Array
923
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
924
+ # @type RequestId: String
925
+
926
+ attr_accessor :AppId, :TemplateId, :OperateResult, :AuthTag, :ProxyOrganizationOpenIds, :FailMessageList, :RequestId
927
+
928
+ def initialize(appid=nil, templateid=nil, operateresult=nil, authtag=nil, proxyorganizationopenids=nil, failmessagelist=nil, requestid=nil)
929
+ @AppId = appid
930
+ @TemplateId = templateid
931
+ @OperateResult = operateresult
932
+ @AuthTag = authtag
933
+ @ProxyOrganizationOpenIds = proxyorganizationopenids
934
+ @FailMessageList = failmessagelist
935
+ @RequestId = requestid
936
+ end
937
+
938
+ def deserialize(params)
939
+ @AppId = params['AppId']
940
+ @TemplateId = params['TemplateId']
941
+ @OperateResult = params['OperateResult']
942
+ @AuthTag = params['AuthTag']
943
+ @ProxyOrganizationOpenIds = params['ProxyOrganizationOpenIds']
944
+ unless params['FailMessageList'].nil?
945
+ @FailMessageList = []
946
+ params['FailMessageList'].each do |i|
947
+ authfailmessage_tmp = AuthFailMessage.new
948
+ authfailmessage_tmp.deserialize(i)
949
+ @FailMessageList << authfailmessage_tmp
950
+ end
951
+ end
952
+ @RequestId = params['RequestId']
953
+ end
954
+ end
955
+
732
956
  # PrepareFlows请求参数结构体
733
957
  class PrepareFlowsRequest < TencentCloud::Common::AbstractModel
734
958
  # @param Agent: 渠道应用相关信息
@@ -1144,10 +1368,12 @@ module TencentCloud
1144
1368
  # @type TemplateType: Integer
1145
1369
  # @param Recipients: 模板中的流程参与人信息
1146
1370
  # @type Recipients: Array
1371
+ # @param IsPromoter: 是否是发起人
1372
+ # @type IsPromoter: Boolean
1147
1373
 
1148
- attr_accessor :TemplateId, :TemplateName, :Description, :Components, :SignComponents, :Creator, :CreatedOn, :TemplateType, :Recipients
1374
+ attr_accessor :TemplateId, :TemplateName, :Description, :Components, :SignComponents, :Creator, :CreatedOn, :TemplateType, :Recipients, :IsPromoter
1149
1375
 
1150
- def initialize(templateid=nil, templatename=nil, description=nil, components=nil, signcomponents=nil, creator=nil, createdon=nil, templatetype=nil, recipients=nil)
1376
+ def initialize(templateid=nil, templatename=nil, description=nil, components=nil, signcomponents=nil, creator=nil, createdon=nil, templatetype=nil, recipients=nil, ispromoter=nil)
1151
1377
  @TemplateId = templateid
1152
1378
  @TemplateName = templatename
1153
1379
  @Description = description
@@ -1157,6 +1383,7 @@ module TencentCloud
1157
1383
  @CreatedOn = createdon
1158
1384
  @TemplateType = templatetype
1159
1385
  @Recipients = recipients
1386
+ @IsPromoter = ispromoter
1160
1387
  end
1161
1388
 
1162
1389
  def deserialize(params)
@@ -1190,6 +1417,7 @@ module TencentCloud
1190
1417
  @Recipients << recipient_tmp
1191
1418
  end
1192
1419
  end
1420
+ @IsPromoter = params['IsPromoter']
1193
1421
  end
1194
1422
  end
1195
1423
 
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.225
4
+ version: 1.0.229
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-16 00:00:00.000000000 Z
11
+ date: 2021-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common