tencentcloud-sdk-essbasic 3.0.395 → 3.0.396

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 384a5988bcc5c6ffea38398734e5925a84b5a694
4
- data.tar.gz: e5ac486029aa1033695db7c29503df67877c356a
3
+ metadata.gz: bfeb4a8059ba9c19e18e62aface8d39298404650
4
+ data.tar.gz: 0fe82d470660b3988818b69184d36a1cf39ba552
5
5
  SHA512:
6
- metadata.gz: 7b43a66737472be3279f39b2e1b2df9d419ea474fe9ca0476f1e44a3a2807854b830ae4c56d2599f490019105f4a5541d98d7f745e6a57ecd75cbba85e005cf8
7
- data.tar.gz: fb53e97c754b38b90fb8af4106a09ab11e6355c2a5cbe707539c68008d4b362e37b3f223c5df569e6b0aa155ea903060b4b1bf1251425ad4389dfc52303e3f83
6
+ metadata.gz: 58a282286c902ad37f791ef0d424886e2a3ada006fb1133107ec4691bf2a5bb558a17e6c78cdf9453a7ff362fb36bca538d5f1bf55041a5d15c76488d38cc49d
7
+ data.tar.gz: b4d5778004a2fbb5b9d34e71bc3a7e657c2765c24c4c146a122efadd880431fa2a30476df67302713911e6e4daae5bf3ac0f2b63cc082638ac759bbc880531a3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.395
1
+ 3.0.396
@@ -202,6 +202,30 @@ module TencentCloud
202
202
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
203
203
  end
204
204
 
205
+ # 创建出证报告,返回报告 URL
206
+
207
+ # @param request: Request instance for CreateChannelFlowEvidenceReport.
208
+ # @type request: :class:`Tencentcloud::essbasic::V20210526::CreateChannelFlowEvidenceReportRequest`
209
+ # @rtype: :class:`Tencentcloud::essbasic::V20210526::CreateChannelFlowEvidenceReportResponse`
210
+ def CreateChannelFlowEvidenceReport(request)
211
+ body = send_request('CreateChannelFlowEvidenceReport', request.serialize)
212
+ response = JSON.parse(body)
213
+ if response['Response'].key?('Error') == false
214
+ model = CreateChannelFlowEvidenceReportResponse.new
215
+ model.deserialize(response['Response'])
216
+ model
217
+ else
218
+ code = response['Response']['Error']['Code']
219
+ message = response['Response']['Error']['Message']
220
+ reqid = response['Response']['RequestId']
221
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
222
+ end
223
+ rescue TencentCloud::Common::TencentCloudSDKException => e
224
+ raise e
225
+ rescue StandardError => e
226
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
227
+ end
228
+
205
229
  # 此接口(CreateConsoleLoginUrl)用于创建电子签控制台登录链接。若企业未激活,调用同步企业信息、同步经办人信息
206
230
 
207
231
  # @param request: Request instance for CreateConsoleLoginUrl.
@@ -593,16 +593,20 @@ module TencentCloud
593
593
  # @type TaskMessage: String
594
594
  # @param ResourceId: 资源Id,也是FileId,用于文件发起使用
595
595
  # @type ResourceId: String
596
+ # @param PreviewUrl: 预览文件Url,有效期30分钟
597
+ # 注意:此字段可能返回 null,表示取不到有效值。
598
+ # @type PreviewUrl: String
596
599
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
597
600
  # @type RequestId: String
598
601
 
599
- attr_accessor :TaskId, :TaskStatus, :TaskMessage, :ResourceId, :RequestId
602
+ attr_accessor :TaskId, :TaskStatus, :TaskMessage, :ResourceId, :PreviewUrl, :RequestId
600
603
 
601
- def initialize(taskid=nil, taskstatus=nil, taskmessage=nil, resourceid=nil, requestid=nil)
604
+ def initialize(taskid=nil, taskstatus=nil, taskmessage=nil, resourceid=nil, previewurl=nil, requestid=nil)
602
605
  @TaskId = taskid
603
606
  @TaskStatus = taskstatus
604
607
  @TaskMessage = taskmessage
605
608
  @ResourceId = resourceid
609
+ @PreviewUrl = previewurl
606
610
  @RequestId = requestid
607
611
  end
608
612
 
@@ -611,6 +615,7 @@ module TencentCloud
611
615
  @TaskStatus = params['TaskStatus']
612
616
  @TaskMessage = params['TaskMessage']
613
617
  @ResourceId = params['ResourceId']
618
+ @PreviewUrl = params['PreviewUrl']
614
619
  @RequestId = params['RequestId']
615
620
  end
616
621
  end
@@ -739,6 +744,56 @@ module TencentCloud
739
744
  end
740
745
  end
741
746
 
747
+ # CreateChannelFlowEvidenceReport请求参数结构体
748
+ class CreateChannelFlowEvidenceReportRequest < TencentCloud::Common::AbstractModel
749
+ # @param FlowId: 签署流程编号
750
+ # @type FlowId: String
751
+ # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填
752
+ # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
753
+ # @param Operator: 操作者的信息
754
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
755
+
756
+ attr_accessor :FlowId, :Agent, :Operator
757
+
758
+ def initialize(flowid=nil, agent=nil, operator=nil)
759
+ @FlowId = flowid
760
+ @Agent = agent
761
+ @Operator = operator
762
+ end
763
+
764
+ def deserialize(params)
765
+ @FlowId = params['FlowId']
766
+ unless params['Agent'].nil?
767
+ @Agent = Agent.new
768
+ @Agent.deserialize(params['Agent'])
769
+ end
770
+ unless params['Operator'].nil?
771
+ @Operator = UserInfo.new
772
+ @Operator.deserialize(params['Operator'])
773
+ end
774
+ end
775
+ end
776
+
777
+ # CreateChannelFlowEvidenceReport返回参数结构体
778
+ class CreateChannelFlowEvidenceReportResponse < TencentCloud::Common::AbstractModel
779
+ # @param ReportUrl: 出证报告 URL(有效五分钟)
780
+ # @type ReportUrl: String
781
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
782
+ # @type RequestId: String
783
+
784
+ attr_accessor :ReportUrl, :RequestId
785
+
786
+ def initialize(reporturl=nil, requestid=nil)
787
+ @ReportUrl = reporturl
788
+ @RequestId = requestid
789
+ end
790
+
791
+ def deserialize(params)
792
+ @ReportUrl = params['ReportUrl']
793
+ @RequestId = params['RequestId']
794
+ end
795
+ end
796
+
742
797
  # CreateConsoleLoginUrl请求参数结构体
743
798
  class CreateConsoleLoginUrlRequest < TencentCloud::Common::AbstractModel
744
799
  # @param Agent: 应用信息
@@ -868,16 +923,19 @@ module TencentCloud
868
923
  # @type ErrorMessages: Array
869
924
  # @param PreviewUrls: 预览模式下返回的预览文件url数组
870
925
  # @type PreviewUrls: Array
926
+ # @param TaskInfos: 复杂文档合成任务的任务信息数组
927
+ # @type TaskInfos: Array
871
928
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
872
929
  # @type RequestId: String
873
930
 
874
- attr_accessor :FlowIds, :CustomerData, :ErrorMessages, :PreviewUrls, :RequestId
931
+ attr_accessor :FlowIds, :CustomerData, :ErrorMessages, :PreviewUrls, :TaskInfos, :RequestId
875
932
 
876
- def initialize(flowids=nil, customerdata=nil, errormessages=nil, previewurls=nil, requestid=nil)
933
+ def initialize(flowids=nil, customerdata=nil, errormessages=nil, previewurls=nil, taskinfos=nil, requestid=nil)
877
934
  @FlowIds = flowids
878
935
  @CustomerData = customerdata
879
936
  @ErrorMessages = errormessages
880
937
  @PreviewUrls = previewurls
938
+ @TaskInfos = taskinfos
881
939
  @RequestId = requestid
882
940
  end
883
941
 
@@ -886,6 +944,14 @@ module TencentCloud
886
944
  @CustomerData = params['CustomerData']
887
945
  @ErrorMessages = params['ErrorMessages']
888
946
  @PreviewUrls = params['PreviewUrls']
947
+ unless params['TaskInfos'].nil?
948
+ @TaskInfos = []
949
+ params['TaskInfos'].each do |i|
950
+ taskinfo_tmp = TaskInfo.new
951
+ taskinfo_tmp.deserialize(i)
952
+ @TaskInfos << taskinfo_tmp
953
+ end
954
+ end
889
955
  @RequestId = params['RequestId']
890
956
  end
891
957
  end
@@ -2400,6 +2466,28 @@ module TencentCloud
2400
2466
  end
2401
2467
  end
2402
2468
 
2469
+ # 复杂文档合成任务的任务信息
2470
+ class TaskInfo < TencentCloud::Common::AbstractModel
2471
+ # @param TaskId: 合成任务Id,可以通过 ChannelGetTaskResultApi 接口获取任务信息
2472
+ # 注意:此字段可能返回 null,表示取不到有效值。
2473
+ # @type TaskId: String
2474
+ # @param TaskStatus: 任务状态:READY - 任务已完成;NOTREADY - 任务未完成;
2475
+ # 注意:此字段可能返回 null,表示取不到有效值。
2476
+ # @type TaskStatus: String
2477
+
2478
+ attr_accessor :TaskId, :TaskStatus
2479
+
2480
+ def initialize(taskid=nil, taskstatus=nil)
2481
+ @TaskId = taskid
2482
+ @TaskStatus = taskstatus
2483
+ end
2484
+
2485
+ def deserialize(params)
2486
+ @TaskId = params['TaskId']
2487
+ @TaskStatus = params['TaskStatus']
2488
+ end
2489
+ end
2490
+
2403
2491
  # 此结构体 (TemplateInfo) 用于描述模板的信息。
2404
2492
  class TemplateInfo < TencentCloud::Common::AbstractModel
2405
2493
  # @param TemplateId: 模板ID
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.395
4
+ version: 3.0.396
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-26 00:00:00.000000000 Z
11
+ date: 2022-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common