tencentcloud-sdk-essbasic 3.0.493 → 3.0.495

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: 1a378f5caeb7a60a1a635d06ad57b7191da1c10c
4
- data.tar.gz: 6ca28f77a5e3f7b2b01792eb7bf0464455efd0bd
3
+ metadata.gz: 87563705f4eb4a53a3c81948e0087618bf05cb0a
4
+ data.tar.gz: 54a1660c4b137af0c8167fe282f4a0793967e1b9
5
5
  SHA512:
6
- metadata.gz: 49ee286bd238820e1ad76b8ea2ece1da3998676ab885faaee6adb4dc55920663cd7413c82040bf445624862b83696fff19ce532a1d0e1de5811ea90e24cc0001
7
- data.tar.gz: 16f4c8f77b181469a36aeb4d70ee84e343335907493ca8113c396c2fa0301f0d16b070ac500ee13bc582dd26b562542102b1cd5f0729dfc950940da270a8d28b
6
+ metadata.gz: b95d624b1e65e259b3a4c37da2a696586e84605512e30e2990d5ba87ddcb1f82692a2123357024265ac1c469a897dbfc050a229ac7234f79e18d8a25dd98100e
7
+ data.tar.gz: 0aa10c76c63181db3a02493f3bb047121894949343e4517bf4462289b7ea326669cbb085ec3b2cec3bc30121849e5314e15f8be04e91c6ed830c2c7160878d5b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.493
1
+ 3.0.495
@@ -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.493
4
+ version: 3.0.495
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-13 00:00:00.000000000 Z
11
+ date: 2023-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common