tencentcloud-sdk-ess 3.0.371 → 3.0.379

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: 44adbddc035df9dcec9139571b023a3270a2da15
4
- data.tar.gz: 6f626748e67ba6fd3718cbdd4d1c935e2bce52c5
3
+ metadata.gz: f499ded35839e4ede68e7aa47f66ffc9dffcf49d
4
+ data.tar.gz: e98662c67be6654e93c9d5e4665614cd27140e58
5
5
  SHA512:
6
- metadata.gz: c4db19179231c4ccecd57f682cbde1078057ac320bb2005c2dc1ed6fef601006315ec3b8ae0354631f9ac67eef2c1f4b2f70a065a8d0446ec3162dbfdb4c22ea
7
- data.tar.gz: aee07888b5365d9a27a4cd3f34a339cee3b6ec8bd0847913686cc6b480fb6fc8a29bf99373ec7d3b455de33ac1610288a7448af7304e398b5bbf27a80a6af008
6
+ metadata.gz: 4e7cadab1c62fbf04fc4076d3ec42d98f085faa79aec7a5cc57ef244f7e3d0e195fcd46e09cc9dfc60e355de1b4d52c9af2dcfc970129f141d1504634ad16ab9
7
+ data.tar.gz: 4366df594898f507a032c81611cd074ff893308181d07ba5792ad86a36565ef54cc8d1d311a2363f572601705006d575f585a9008e9d2e5e6f6ccd53dae02a7f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.371
1
+ 3.0.379
@@ -79,6 +79,31 @@ module TencentCloud
79
79
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
80
80
  end
81
81
 
82
+ # 电子签企业版:指定需要批量撤回的签署流程Id,获取批量撤销链接
83
+ # 客户指定需要撤回的签署流程Id,最多100个,超过100不处理;接口调用成功返回批量撤回合同的链接,通过链接跳转到电子签小程序完成批量撤回
84
+
85
+ # @param request: Request instance for CreateBatchCancelFlowUrl.
86
+ # @type request: :class:`Tencentcloud::ess::V20201111::CreateBatchCancelFlowUrlRequest`
87
+ # @rtype: :class:`Tencentcloud::ess::V20201111::CreateBatchCancelFlowUrlResponse`
88
+ def CreateBatchCancelFlowUrl(request)
89
+ body = send_request('CreateBatchCancelFlowUrl', request.serialize)
90
+ response = JSON.parse(body)
91
+ if response['Response'].key?('Error') == false
92
+ model = CreateBatchCancelFlowUrlResponse.new
93
+ model.deserialize(response['Response'])
94
+ model
95
+ else
96
+ code = response['Response']['Error']['Code']
97
+ message = response['Response']['Error']['Message']
98
+ reqid = response['Response']['RequestId']
99
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
100
+ end
101
+ rescue TencentCloud::Common::TencentCloudSDKException => e
102
+ raise e
103
+ rescue StandardError => e
104
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
105
+ end
106
+
82
107
  # 创建文件转换任务
83
108
 
84
109
  # @param request: Request instance for CreateConvertTaskApi.
@@ -98,6 +98,34 @@ module TencentCloud
98
98
  end
99
99
  end
100
100
 
101
+ # 指定签署人限制项
102
+ class ApproverRestriction < TencentCloud::Common::AbstractModel
103
+ # @param Name: 指定签署人名字
104
+ # @type Name: String
105
+ # @param Mobile: 指定签署人手机号
106
+ # @type Mobile: String
107
+ # @param IdCardType: 指定签署人证件类型
108
+ # @type IdCardType: String
109
+ # @param IdCardNumber: 指定签署人证件号码
110
+ # @type IdCardNumber: String
111
+
112
+ attr_accessor :Name, :Mobile, :IdCardType, :IdCardNumber
113
+
114
+ def initialize(name=nil, mobile=nil, idcardtype=nil, idcardnumber=nil)
115
+ @Name = name
116
+ @Mobile = mobile
117
+ @IdCardType = idcardtype
118
+ @IdCardNumber = idcardnumber
119
+ end
120
+
121
+ def deserialize(params)
122
+ @Name = params['Name']
123
+ @Mobile = params['Mobile']
124
+ @IdCardType = params['IdCardType']
125
+ @IdCardNumber = params['IdCardNumber']
126
+ end
127
+ end
128
+
101
129
  # 此结构体 (Caller) 用于描述调用方属性。
102
130
  class Caller < TencentCloud::Common::AbstractModel
103
131
  # @param ApplicationId: 应用号
@@ -346,6 +374,57 @@ module TencentCloud
346
374
  end
347
375
  end
348
376
 
377
+ # CreateBatchCancelFlowUrl请求参数结构体
378
+ class CreateBatchCancelFlowUrlRequest < TencentCloud::Common::AbstractModel
379
+ # @param Operator: 调用方用户信息,userId 必填
380
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
381
+ # @param FlowIds: 需要执行撤回的签署流程id数组,最多100个
382
+ # @type FlowIds: Array
383
+
384
+ attr_accessor :Operator, :FlowIds
385
+
386
+ def initialize(operator=nil, flowids=nil)
387
+ @Operator = operator
388
+ @FlowIds = flowids
389
+ end
390
+
391
+ def deserialize(params)
392
+ unless params['Operator'].nil?
393
+ @Operator = UserInfo.new
394
+ @Operator.deserialize(params['Operator'])
395
+ end
396
+ @FlowIds = params['FlowIds']
397
+ end
398
+ end
399
+
400
+ # CreateBatchCancelFlowUrl返回参数结构体
401
+ class CreateBatchCancelFlowUrlResponse < TencentCloud::Common::AbstractModel
402
+ # @param BatchCancelFlowUrl: 批量撤回签署流程链接
403
+ # @type BatchCancelFlowUrl: String
404
+ # @param FailMessages: 签署流程撤回失败信息
405
+ # @type FailMessages: Array
406
+ # @param UrlExpireOn: 签署连接过期时间字符串:年月日-时分秒
407
+ # @type UrlExpireOn: String
408
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
409
+ # @type RequestId: String
410
+
411
+ attr_accessor :BatchCancelFlowUrl, :FailMessages, :UrlExpireOn, :RequestId
412
+
413
+ def initialize(batchcancelflowurl=nil, failmessages=nil, urlexpireon=nil, requestid=nil)
414
+ @BatchCancelFlowUrl = batchcancelflowurl
415
+ @FailMessages = failmessages
416
+ @UrlExpireOn = urlexpireon
417
+ @RequestId = requestid
418
+ end
419
+
420
+ def deserialize(params)
421
+ @BatchCancelFlowUrl = params['BatchCancelFlowUrl']
422
+ @FailMessages = params['FailMessages']
423
+ @UrlExpireOn = params['UrlExpireOn']
424
+ @RequestId = params['RequestId']
425
+ end
426
+ end
427
+
349
428
  # CreateConvertTaskApi请求参数结构体
350
429
  class CreateConvertTaskApiRequest < TencentCloud::Common::AbstractModel
351
430
  # @param ResourceId: 资源Id
@@ -738,10 +817,12 @@ module TencentCloud
738
817
  # @type FlowEffectiveDay: Integer
739
818
  # @param QrEffectiveDay: 二维码有效天数 默认7天 最高设置不超过90天
740
819
  # @type QrEffectiveDay: Integer
820
+ # @param ApproverRestrictions: 限制二维码用户条件
821
+ # @type ApproverRestrictions: :class:`Tencentcloud::Ess.v20201111.models.ApproverRestriction`
741
822
 
742
- attr_accessor :TemplateId, :FlowName, :Operator, :Agent, :CallbackUrl, :MaxFlowNum, :FlowEffectiveDay, :QrEffectiveDay
823
+ attr_accessor :TemplateId, :FlowName, :Operator, :Agent, :CallbackUrl, :MaxFlowNum, :FlowEffectiveDay, :QrEffectiveDay, :ApproverRestrictions
743
824
 
744
- def initialize(templateid=nil, flowname=nil, operator=nil, agent=nil, callbackurl=nil, maxflownum=nil, floweffectiveday=nil, qreffectiveday=nil)
825
+ def initialize(templateid=nil, flowname=nil, operator=nil, agent=nil, callbackurl=nil, maxflownum=nil, floweffectiveday=nil, qreffectiveday=nil, approverrestrictions=nil)
745
826
  @TemplateId = templateid
746
827
  @FlowName = flowname
747
828
  @Operator = operator
@@ -750,6 +831,7 @@ module TencentCloud
750
831
  @MaxFlowNum = maxflownum
751
832
  @FlowEffectiveDay = floweffectiveday
752
833
  @QrEffectiveDay = qreffectiveday
834
+ @ApproverRestrictions = approverrestrictions
753
835
  end
754
836
 
755
837
  def deserialize(params)
@@ -767,6 +849,10 @@ module TencentCloud
767
849
  @MaxFlowNum = params['MaxFlowNum']
768
850
  @FlowEffectiveDay = params['FlowEffectiveDay']
769
851
  @QrEffectiveDay = params['QrEffectiveDay']
852
+ unless params['ApproverRestrictions'].nil?
853
+ @ApproverRestrictions = ApproverRestriction.new
854
+ @ApproverRestrictions.deserialize(params['ApproverRestrictions'])
855
+ end
770
856
  end
771
857
  end
772
858
 
@@ -774,13 +860,16 @@ module TencentCloud
774
860
  class CreateMultiFlowSignQRCodeResponse < TencentCloud::Common::AbstractModel
775
861
  # @param QrCode: 签署二维码对象
776
862
  # @type QrCode: :class:`Tencentcloud::Ess.v20201111.models.SignQrCode`
863
+ # @param SignUrls: 签署链接对象
864
+ # @type SignUrls: :class:`Tencentcloud::Ess.v20201111.models.SignUrl`
777
865
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
778
866
  # @type RequestId: String
779
867
 
780
- attr_accessor :QrCode, :RequestId
868
+ attr_accessor :QrCode, :SignUrls, :RequestId
781
869
 
782
- def initialize(qrcode=nil, requestid=nil)
870
+ def initialize(qrcode=nil, signurls=nil, requestid=nil)
783
871
  @QrCode = qrcode
872
+ @SignUrls = signurls
784
873
  @RequestId = requestid
785
874
  end
786
875
 
@@ -789,6 +878,10 @@ module TencentCloud
789
878
  @QrCode = SignQrCode.new
790
879
  @QrCode.deserialize(params['QrCode'])
791
880
  end
881
+ unless params['SignUrls'].nil?
882
+ @SignUrls = SignUrl.new
883
+ @SignUrls.deserialize(params['SignUrls'])
884
+ end
792
885
  @RequestId = params['RequestId']
793
886
  end
794
887
  end
@@ -1552,6 +1645,30 @@ module TencentCloud
1552
1645
  end
1553
1646
  end
1554
1647
 
1648
+ # 一码多扫签署二维码签署信息
1649
+ class SignUrl < TencentCloud::Common::AbstractModel
1650
+ # @param AppSignUrl: 小程序签署链接
1651
+ # @type AppSignUrl: String
1652
+ # @param EffectiveTime: 签署链接有效时间
1653
+ # @type EffectiveTime: String
1654
+ # @param HttpSignUrl: 移动端签署链接
1655
+ # @type HttpSignUrl: String
1656
+
1657
+ attr_accessor :AppSignUrl, :EffectiveTime, :HttpSignUrl
1658
+
1659
+ def initialize(appsignurl=nil, effectivetime=nil, httpsignurl=nil)
1660
+ @AppSignUrl = appsignurl
1661
+ @EffectiveTime = effectivetime
1662
+ @HttpSignUrl = httpsignurl
1663
+ end
1664
+
1665
+ def deserialize(params)
1666
+ @AppSignUrl = params['AppSignUrl']
1667
+ @EffectiveTime = params['EffectiveTime']
1668
+ @HttpSignUrl = params['HttpSignUrl']
1669
+ end
1670
+ end
1671
+
1555
1672
  # StartFlow请求参数结构体
1556
1673
  class StartFlowRequest < TencentCloud::Common::AbstractModel
1557
1674
  # @param Operator: 调用方用户信息,userId 必填
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ess
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.371
4
+ version: 3.0.379
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-01 00:00:00.000000000 Z
11
+ date: 2022-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
27
  description: Tencent Cloud Ruby SDK is the official software development kit, which
@@ -33,10 +33,10 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/VERSION
37
- - lib/tencentcloud-sdk-ess.rb
38
- - lib/v20201111/client.rb
39
36
  - lib/v20201111/models.rb
37
+ - lib/v20201111/client.rb
38
+ - lib/tencentcloud-sdk-ess.rb
39
+ - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses:
42
42
  - Apache-2.0
@@ -49,17 +49,17 @@ require_paths:
49
49
  - lib
50
50
  required_ruby_version: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - ">="
57
+ - - '>='
58
58
  - !ruby/object:Gem::Version
59
59
  version: '0'
60
60
  requirements: []
61
61
  rubyforge_project:
62
- rubygems_version: 2.6.14
62
+ rubygems_version: 2.0.14
63
63
  signing_key:
64
64
  specification_version: 4
65
65
  summary: Tencent Cloud SDK for Ruby - ESS