tencentcloud-sdk-essbasic 3.0.492 → 3.0.494

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: e3600653178db0545dedcca5b067f3a09db2b401
4
- data.tar.gz: 373499cfcbc6adeae37d8d55c8655d0432311860
3
+ metadata.gz: 1c2ae856e7f779503b0bca015d446c8f97336598
4
+ data.tar.gz: 8780d3e8e55e621d1792c467857ad1f57c360eed
5
5
  SHA512:
6
- metadata.gz: 8be85454ca412e1b7621ead8e946e6ffce375463e87071fc789588b966589e89249ccf5f0b813076241dfde026a957f8b723f498bac34101449f368a44caf490
7
- data.tar.gz: 71fb107c10fe059a85b1c23de8a765c57d809691c8e9d106eb8619f3c0edd4b2fe66f9eb5da85cb80875c65720999e18bec9f43b32dccc68c24b29e1d65ae48b
6
+ metadata.gz: 1dd66bed25ce67614c302e58de13a4cb774efb7ba5b0972e842f306035531cc1fbb799a8a7b75da9ec31ff3498b6fd3c4be501c5ff3e54c123780db9a7b447fb
7
+ data.tar.gz: 603b667ecd9a63736983d7174f7eed38690936e356a11d788098c33e30f30ee61b1268b8cdac90fdb2c20092717a1b48174bf2f0ea71874742445eb1f09f623a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.492
1
+ 3.0.494
@@ -258,6 +258,30 @@ module TencentCloud
258
258
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
259
259
  end
260
260
 
261
+ # 渠道版创建签署链接,需要联系运营人员开白后才可使用
262
+
263
+ # @param request: Request instance for ChannelCreateFlowSignUrl.
264
+ # @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateFlowSignUrlRequest`
265
+ # @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateFlowSignUrlResponse`
266
+ def ChannelCreateFlowSignUrl(request)
267
+ body = send_request('ChannelCreateFlowSignUrl', request.serialize)
268
+ response = JSON.parse(body)
269
+ if response['Response'].key?('Error') == false
270
+ model = ChannelCreateFlowSignUrlResponse.new
271
+ model.deserialize(response['Response'])
272
+ model
273
+ else
274
+ code = response['Response']['Error']['Code']
275
+ message = response['Response']['Error']['Message']
276
+ reqid = response['Response']['RequestId']
277
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
278
+ end
279
+ rescue TencentCloud::Common::TencentCloudSDKException => e
280
+ raise e
281
+ rescue StandardError => e
282
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
283
+ end
284
+
261
285
  # 此接口(ChannelCreateMultiFlowSignQRCode)用于创建一码多扫签署流程二维码。
262
286
  # 适用的模版仅限于B2C(1、无序签署,2、顺序签署时B静默签署,3、顺序签署时B非首位签署)、单C的模版,且模版中发起方没有填写控件。
263
287
 
@@ -733,6 +733,81 @@ module TencentCloud
733
733
  end
734
734
  end
735
735
 
736
+ # ChannelCreateFlowSignUrl请求参数结构体
737
+ class ChannelCreateFlowSignUrlRequest < TencentCloud::Common::AbstractModel
738
+ # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填
739
+ # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
740
+ # @param FlowId: 流程编号
741
+ # @type FlowId: String
742
+ # @param FlowApproverInfos: 流程签署人,其中Name和Mobile必传,其他可不传,ApproverType目前只支持PERSON类型的签署人,如果不传默认为该值。还需注意签署人只能有手写签名和时间类型的签署控件,其他类型的填写控件和签署控件暂时都未支持。
743
+ # @type FlowApproverInfos: Array
744
+ # @param Operator: 用户信息,暂未开放
745
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
746
+ # @param Organization: 机构信息,暂未开放
747
+ # @type Organization: :class:`Tencentcloud::Essbasic.v20210526.models.OrganizationInfo`
748
+
749
+ attr_accessor :Agent, :FlowId, :FlowApproverInfos, :Operator, :Organization
750
+
751
+ def initialize(agent=nil, flowid=nil, flowapproverinfos=nil, operator=nil, organization=nil)
752
+ @Agent = agent
753
+ @FlowId = flowid
754
+ @FlowApproverInfos = flowapproverinfos
755
+ @Operator = operator
756
+ @Organization = organization
757
+ end
758
+
759
+ def deserialize(params)
760
+ unless params['Agent'].nil?
761
+ @Agent = Agent.new
762
+ @Agent.deserialize(params['Agent'])
763
+ end
764
+ @FlowId = params['FlowId']
765
+ unless params['FlowApproverInfos'].nil?
766
+ @FlowApproverInfos = []
767
+ params['FlowApproverInfos'].each do |i|
768
+ flowapproverinfo_tmp = FlowApproverInfo.new
769
+ flowapproverinfo_tmp.deserialize(i)
770
+ @FlowApproverInfos << flowapproverinfo_tmp
771
+ end
772
+ end
773
+ unless params['Operator'].nil?
774
+ @Operator = UserInfo.new
775
+ @Operator.deserialize(params['Operator'])
776
+ end
777
+ unless params['Organization'].nil?
778
+ @Organization = OrganizationInfo.new
779
+ @Organization.deserialize(params['Organization'])
780
+ end
781
+ end
782
+ end
783
+
784
+ # ChannelCreateFlowSignUrl返回参数结构体
785
+ class ChannelCreateFlowSignUrlResponse < TencentCloud::Common::AbstractModel
786
+ # @param FlowApproverUrlInfos: 签署人签署链接信息
787
+ # @type FlowApproverUrlInfos: Array
788
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
789
+ # @type RequestId: String
790
+
791
+ attr_accessor :FlowApproverUrlInfos, :RequestId
792
+
793
+ def initialize(flowapproverurlinfos=nil, requestid=nil)
794
+ @FlowApproverUrlInfos = flowapproverurlinfos
795
+ @RequestId = requestid
796
+ end
797
+
798
+ def deserialize(params)
799
+ unless params['FlowApproverUrlInfos'].nil?
800
+ @FlowApproverUrlInfos = []
801
+ params['FlowApproverUrlInfos'].each do |i|
802
+ flowapproverurlinfo_tmp = FlowApproverUrlInfo.new
803
+ flowapproverurlinfo_tmp.deserialize(i)
804
+ @FlowApproverUrlInfos << flowapproverurlinfo_tmp
805
+ end
806
+ end
807
+ @RequestId = params['RequestId']
808
+ end
809
+ end
810
+
736
811
  # ChannelCreateMultiFlowSignQRCode请求参数结构体
737
812
  class ChannelCreateMultiFlowSignQRCodeRequest < TencentCloud::Common::AbstractModel
738
813
  # @param Agent: 渠道应用相关信息。
@@ -2583,6 +2658,34 @@ module TencentCloud
2583
2658
  end
2584
2659
  end
2585
2660
 
2661
+ # 签署人签署链接信息
2662
+ class FlowApproverUrlInfo < TencentCloud::Common::AbstractModel
2663
+ # @param SignUrl: 签署链接,注意该链接有效期为30分钟,同时需要注意保密,不要外泄给无关用户。
2664
+ # @type SignUrl: String
2665
+ # @param Mobile: 签署人手机号
2666
+ # @type Mobile: String
2667
+ # @param Name: 签署人姓名
2668
+ # @type Name: String
2669
+ # @param ApproverType: 签署人类型 PERSON-个人
2670
+ # @type ApproverType: String
2671
+
2672
+ attr_accessor :SignUrl, :Mobile, :Name, :ApproverType
2673
+
2674
+ def initialize(signurl=nil, mobile=nil, name=nil, approvertype=nil)
2675
+ @SignUrl = signurl
2676
+ @Mobile = mobile
2677
+ @Name = name
2678
+ @ApproverType = approvertype
2679
+ end
2680
+
2681
+ def deserialize(params)
2682
+ @SignUrl = params['SignUrl']
2683
+ @Mobile = params['Mobile']
2684
+ @Name = params['Name']
2685
+ @ApproverType = params['ApproverType']
2686
+ end
2687
+ end
2688
+
2586
2689
  # 此结构体(FlowDetailInfo)描述的是合同(流程)的详细信息
2587
2690
  class FlowDetailInfo < TencentCloud::Common::AbstractModel
2588
2691
  # @param FlowId: 合同(流程)的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.492
4
+ version: 3.0.494
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-01-12 00:00:00.000000000 Z
11
+ date: 2023-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common