tencentcloud-sdk-ess 1.0.329 → 1.0.332

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: 6fd966dafd583123776d5f677cb6b3bb828767c4
4
- data.tar.gz: a8cdc82f53c42bbf4012828cde64ca4e5d2a3b9d
3
+ metadata.gz: 94cae90cad757c890c92ba4f6069312f3c3fbc17
4
+ data.tar.gz: c2171d26c5e56da5e063d77f16e4f0291ffbb81b
5
5
  SHA512:
6
- metadata.gz: 0e047a17971efcb000d88727214bd3287a5e699d9cf8e56bbccbba5cbf57c190078c3ce9136991ae2f5c6cdbe18ef988683d796beef882fbfbcc1e899e403718
7
- data.tar.gz: 10334380bd744c6fea8e0d1b01cabd9198f984ac372e79970d51bc7125799034748c91959264fbd927b62fb172f32d7e77c8c137e3c0ea92ade9880dad3b0e56
6
+ metadata.gz: 02b2743fa30c90489b555430c1089ee034b9f5afed0dde21585c180f2a09f8fcd723ab1dccfbd71d28241893ac8a80ec74db8a9854122fa80446cebd0aa3541f
7
+ data.tar.gz: 5e2755d22a23483fd3ae5f0e0f8143ec8d5870756073f5e6330b01966830f19651825c29d084d067aabbc10b2238084a0c6de89428223c4f2d80bf11b87c3e97
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.329
1
+ 1.0.332
@@ -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.329
4
+ version: 1.0.332
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-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common