tencentcloud-sdk-ess 1.0.330 → 1.0.331

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: 6da0233218e16f9fd251d2f4bc174a3f07f356bc
4
- data.tar.gz: 1a3cbb5ae294a26c8939f900da1f9775103a6c22
3
+ metadata.gz: d9065f7bdbc3b2c811c62e547dc48330868bd8e8
4
+ data.tar.gz: 26a4c046ef25df5e7fa2ae545d4e7e48caf09b48
5
5
  SHA512:
6
- metadata.gz: 73a898fdfdb3e8e6402d23eb2c8e81149e2b168aecab52679145ae1f803f326e5235bc22b71d72073a25b88db43c69073c801610933612e3e8b8cead99556d13
7
- data.tar.gz: bd02fed60391828e40c67097e7fe3a469ac6ebf0f7881d6d86855ff0ecc409fe689a394f4286fc68155d847bb7ec1e31b9ab88b17965705cb0202315d55611a6
6
+ metadata.gz: 053a8fa9b45341423130966424ac43289884f2ce1051215c4139f699a3cd7c680695f574b3f88c768238548f9353911d551c6c562ff13c82b7c526711d73b1f7
7
+ data.tar.gz: 994bed568e2153d5e65dbbbd4321a0960c236b7fdefcdf931be3c63ad70ffd50a2d165007a051591c7751900bb351bdc6898ac9104528fefdf7dbaee2eb5e940
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.330
1
+ 1.0.331
@@ -53,6 +53,30 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 此接口(CancelMultiFlowSignQRCode)用于取消一码多扫二维码。该接口对传入的二维码ID,若还在有效期内,可以提前失效。
57
+
58
+ # @param request: Request instance for CancelMultiFlowSignQRCode.
59
+ # @type request: :class:`Tencentcloud::ess::V20201111::CancelMultiFlowSignQRCodeRequest`
60
+ # @rtype: :class:`Tencentcloud::ess::V20201111::CancelMultiFlowSignQRCodeResponse`
61
+ def CancelMultiFlowSignQRCode(request)
62
+ body = send_request('CancelMultiFlowSignQRCode', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = CancelMultiFlowSignQRCodeResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
56
80
  # 创建电子文档
57
81
 
58
82
  # @param request: Request instance for CreateDocument.
@@ -125,6 +149,31 @@ module TencentCloud
125
149
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
150
  end
127
151
 
152
+ # 此接口(CreateMultiFlowSignQRCode)用于创建一码多扫流程签署二维码。
153
+ # 适用的模版仅限于B2C(1、无序签署,2、顺序签署时B静默签署,3、顺序签署时B非首位签署)、单C的模版,且模版中发起方没有填写控件。
154
+
155
+ # @param request: Request instance for CreateMultiFlowSignQRCode.
156
+ # @type request: :class:`Tencentcloud::ess::V20201111::CreateMultiFlowSignQRCodeRequest`
157
+ # @rtype: :class:`Tencentcloud::ess::V20201111::CreateMultiFlowSignQRCodeResponse`
158
+ def CreateMultiFlowSignQRCode(request)
159
+ body = send_request('CreateMultiFlowSignQRCode', request.serialize)
160
+ response = JSON.parse(body)
161
+ if response['Response'].key?('Error') == false
162
+ model = CreateMultiFlowSignQRCodeResponse.new
163
+ model.deserialize(response['Response'])
164
+ model
165
+ else
166
+ code = response['Response']['Error']['Code']
167
+ message = response['Response']['Error']['Message']
168
+ reqid = response['Response']['RequestId']
169
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
170
+ end
171
+ rescue TencentCloud::Common::TencentCloudSDKException => e
172
+ raise e
173
+ rescue StandardError => e
174
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
175
+ end
176
+
128
177
  # 获取小程序跳转链接
129
178
 
130
179
  # 跳转到小程序的实现,参考官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式)
@@ -176,6 +176,52 @@ module TencentCloud
176
176
  end
177
177
  end
178
178
 
179
+ # CancelMultiFlowSignQRCode请求参数结构体
180
+ class CancelMultiFlowSignQRCodeRequest < TencentCloud::Common::AbstractModel
181
+ # @param Operator: 用户信息
182
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
183
+ # @param QrCodeId: 二维码id
184
+ # @type QrCodeId: String
185
+ # @param Agent: 应用信息
186
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
187
+
188
+ attr_accessor :Operator, :QrCodeId, :Agent
189
+
190
+ def initialize(operator=nil, qrcodeid=nil, agent=nil)
191
+ @Operator = operator
192
+ @QrCodeId = qrcodeid
193
+ @Agent = agent
194
+ end
195
+
196
+ def deserialize(params)
197
+ unless params['Operator'].nil?
198
+ @Operator = UserInfo.new
199
+ @Operator.deserialize(params['Operator'])
200
+ end
201
+ @QrCodeId = params['QrCodeId']
202
+ unless params['Agent'].nil?
203
+ @Agent = Agent.new
204
+ @Agent.deserialize(params['Agent'])
205
+ end
206
+ end
207
+ end
208
+
209
+ # CancelMultiFlowSignQRCode返回参数结构体
210
+ class CancelMultiFlowSignQRCodeResponse < TencentCloud::Common::AbstractModel
211
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
212
+ # @type RequestId: String
213
+
214
+ attr_accessor :RequestId
215
+
216
+ def initialize(requestid=nil)
217
+ @RequestId = requestid
218
+ end
219
+
220
+ def deserialize(params)
221
+ @RequestId = params['RequestId']
222
+ end
223
+ end
224
+
179
225
  # 抄送信息
180
226
  class CcInfo < TencentCloud::Common::AbstractModel
181
227
  # @param Mobile: 被抄送人手机号
@@ -583,6 +629,79 @@ module TencentCloud
583
629
  end
584
630
  end
585
631
 
632
+ # CreateMultiFlowSignQRCode请求参数结构体
633
+ class CreateMultiFlowSignQRCodeRequest < TencentCloud::Common::AbstractModel
634
+ # @param TemplateId: 模版ID
635
+ # @type TemplateId: String
636
+ # @param Operator: 用户信息
637
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
638
+ # @param FlowName: 合同名称
639
+ # @type FlowName: String
640
+ # @param Agent: 应用信息
641
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
642
+ # @param FlowEffectiveDay: 合同有效天数 默认7天 最高设置不超过30天
643
+ # @type FlowEffectiveDay: Integer
644
+ # @param QrEffectiveDay: 二维码有效天数 默认7天 最高设置不超过90天
645
+ # @type QrEffectiveDay: Integer
646
+ # @param MaxFlowNum: 最大合同份数,默认5份 超过此上限 二维码自动失效
647
+ # @type MaxFlowNum: Integer
648
+ # @param CallbackUrl: 回调地址
649
+ # @type CallbackUrl: String
650
+
651
+ attr_accessor :TemplateId, :Operator, :FlowName, :Agent, :FlowEffectiveDay, :QrEffectiveDay, :MaxFlowNum, :CallbackUrl
652
+
653
+ def initialize(templateid=nil, operator=nil, flowname=nil, agent=nil, floweffectiveday=nil, qreffectiveday=nil, maxflownum=nil, callbackurl=nil)
654
+ @TemplateId = templateid
655
+ @Operator = operator
656
+ @FlowName = flowname
657
+ @Agent = agent
658
+ @FlowEffectiveDay = floweffectiveday
659
+ @QrEffectiveDay = qreffectiveday
660
+ @MaxFlowNum = maxflownum
661
+ @CallbackUrl = callbackurl
662
+ end
663
+
664
+ def deserialize(params)
665
+ @TemplateId = params['TemplateId']
666
+ unless params['Operator'].nil?
667
+ @Operator = UserInfo.new
668
+ @Operator.deserialize(params['Operator'])
669
+ end
670
+ @FlowName = params['FlowName']
671
+ unless params['Agent'].nil?
672
+ @Agent = Agent.new
673
+ @Agent.deserialize(params['Agent'])
674
+ end
675
+ @FlowEffectiveDay = params['FlowEffectiveDay']
676
+ @QrEffectiveDay = params['QrEffectiveDay']
677
+ @MaxFlowNum = params['MaxFlowNum']
678
+ @CallbackUrl = params['CallbackUrl']
679
+ end
680
+ end
681
+
682
+ # CreateMultiFlowSignQRCode返回参数结构体
683
+ class CreateMultiFlowSignQRCodeResponse < TencentCloud::Common::AbstractModel
684
+ # @param QrCode: 签署二维码对象
685
+ # @type QrCode: :class:`Tencentcloud::Ess.v20201111.models.SignQrCode`
686
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
687
+ # @type RequestId: String
688
+
689
+ attr_accessor :QrCode, :RequestId
690
+
691
+ def initialize(qrcode=nil, requestid=nil)
692
+ @QrCode = qrcode
693
+ @RequestId = requestid
694
+ end
695
+
696
+ def deserialize(params)
697
+ unless params['QrCode'].nil?
698
+ @QrCode = SignQrCode.new
699
+ @QrCode.deserialize(params['QrCode'])
700
+ end
701
+ @RequestId = params['RequestId']
702
+ end
703
+ end
704
+
586
705
  # CreateSchemeUrl请求参数结构体
587
706
  class CreateSchemeUrlRequest < TencentCloud::Common::AbstractModel
588
707
  # @param Operator: 调用方用户信息,参考通用结构
@@ -1213,6 +1332,30 @@ module TencentCloud
1213
1332
  end
1214
1333
  end
1215
1334
 
1335
+ # 一码多扫签署二维码对象
1336
+ class SignQrCode < TencentCloud::Common::AbstractModel
1337
+ # @param QrCodeId: 二维码id
1338
+ # @type QrCodeId: String
1339
+ # @param QrCodeUrl: 二维码url
1340
+ # @type QrCodeUrl: String
1341
+ # @param ExpiredTime: 二维码过期时间
1342
+ # @type ExpiredTime: Integer
1343
+
1344
+ attr_accessor :QrCodeId, :QrCodeUrl, :ExpiredTime
1345
+
1346
+ def initialize(qrcodeid=nil, qrcodeurl=nil, expiredtime=nil)
1347
+ @QrCodeId = qrcodeid
1348
+ @QrCodeUrl = qrcodeurl
1349
+ @ExpiredTime = expiredtime
1350
+ end
1351
+
1352
+ def deserialize(params)
1353
+ @QrCodeId = params['QrCodeId']
1354
+ @QrCodeUrl = params['QrCodeUrl']
1355
+ @ExpiredTime = params['ExpiredTime']
1356
+ end
1357
+ end
1358
+
1216
1359
  # StartFlow请求参数结构体
1217
1360
  class StartFlowRequest < TencentCloud::Common::AbstractModel
1218
1361
  # @param Operator: 用户信息
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ess
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.330
4
+ version: 1.0.331
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-06-09 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common