tencentcloud-sdk-essbasic 3.0.524 → 3.0.525

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: 7bb1f89998446d339b4f86a9a63f82725981f9e3
4
- data.tar.gz: ea16493b218b773ff9867ef83978a925f0dd0079
3
+ metadata.gz: fd4cb655e564580e510495164f27857b63753d7a
4
+ data.tar.gz: b2830d746868939a1a9cf35912b99035451beba2
5
5
  SHA512:
6
- metadata.gz: 8627363aa7f2c968590bb2f4d3caa73c6fb86517c2b045058bd3245e372a994fb233a2f08f7cf6fe39efd0312bb70986e8b9ae97089d6557e73ba374ae4ad6a7
7
- data.tar.gz: 7f0df18c74519d9e5977db560593834bf08c058706a7d6b2a3a4b6e04e17e6755d111c1e9cfd5f029dd923883f75523039d0f1b5788a60ad418ee3d81a049bb3
6
+ metadata.gz: 79b8035f33f1e2903543096f6094d56db194bdbb0fb17042846b25cbbd7c49bc01ce5b6125b594dd0aab4c8f3d0b1150bb1c7f058648f6caa00477c697f594b5
7
+ data.tar.gz: ab031cc8ca48f5aebfbad1671221dd17c81a076e33db73c9780c10850d716c87e5aefdb686d682b9819d42d32859eb1692a3f36156f3c98c210b6b0ad09126ae
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.524
1
+ 3.0.525
@@ -183,6 +183,30 @@ module TencentCloud
183
183
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
184
184
  end
185
185
 
186
+ # 本接口(ChannelCreateEmbedWebUrl)用于创建嵌入web的链接
187
+
188
+ # @param request: Request instance for ChannelCreateEmbedWebUrl.
189
+ # @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateEmbedWebUrlRequest`
190
+ # @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateEmbedWebUrlResponse`
191
+ def ChannelCreateEmbedWebUrl(request)
192
+ body = send_request('ChannelCreateEmbedWebUrl', request.serialize)
193
+ response = JSON.parse(body)
194
+ if response['Response'].key?('Error') == false
195
+ model = ChannelCreateEmbedWebUrlResponse.new
196
+ model.deserialize(response['Response'])
197
+ model
198
+ else
199
+ code = response['Response']['Error']['Code']
200
+ message = response['Response']['Error']['Message']
201
+ reqid = response['Response']['RequestId']
202
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
203
+ end
204
+ rescue TencentCloud::Common::TencentCloudSDKException => e
205
+ raise e
206
+ rescue StandardError => e
207
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
208
+ end
209
+
186
210
  # 接口(ChannelCreateFlowByFiles)用于通过文件创建签署流程。此接口静默签能力不可直接使用,需要运营申请
187
211
 
188
212
  # @param request: Request instance for ChannelCreateFlowByFiles.
@@ -543,6 +543,64 @@ module TencentCloud
543
543
  end
544
544
  end
545
545
 
546
+ # ChannelCreateEmbedWebUrl请求参数结构体
547
+ class ChannelCreateEmbedWebUrlRequest < TencentCloud::Common::AbstractModel
548
+ # @param EmbedType: WEB嵌入资源类型,取值范围:CREATE_SEAL创建印章,CREATE_TEMPLATE创建模板,MODIFY_TEMPLATE修改模板,PREVIEW_TEMPLATE预览模板,PREVIEW_FLOW预览流程
549
+ # @type EmbedType: String
550
+ # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 必填。
551
+ # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
552
+ # @param Operator: 渠道操作者信息
553
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
554
+ # @param BusinessId: WEB嵌入的业务资源ID,EmbedType取值MODIFY_TEMPLATE或PREVIEW_TEMPLATE或 PREVIEW_FLOW时BusinessId必填
555
+ # @type BusinessId: String
556
+ # @param HiddenComponents: 是否隐藏控件,只有预览模板时生效
557
+ # @type HiddenComponents: Boolean
558
+
559
+ attr_accessor :EmbedType, :Agent, :Operator, :BusinessId, :HiddenComponents
560
+
561
+ def initialize(embedtype=nil, agent=nil, operator=nil, businessid=nil, hiddencomponents=nil)
562
+ @EmbedType = embedtype
563
+ @Agent = agent
564
+ @Operator = operator
565
+ @BusinessId = businessid
566
+ @HiddenComponents = hiddencomponents
567
+ end
568
+
569
+ def deserialize(params)
570
+ @EmbedType = params['EmbedType']
571
+ unless params['Agent'].nil?
572
+ @Agent = Agent.new
573
+ @Agent.deserialize(params['Agent'])
574
+ end
575
+ unless params['Operator'].nil?
576
+ @Operator = UserInfo.new
577
+ @Operator.deserialize(params['Operator'])
578
+ end
579
+ @BusinessId = params['BusinessId']
580
+ @HiddenComponents = params['HiddenComponents']
581
+ end
582
+ end
583
+
584
+ # ChannelCreateEmbedWebUrl返回参数结构体
585
+ class ChannelCreateEmbedWebUrlResponse < TencentCloud::Common::AbstractModel
586
+ # @param WebUrl: 嵌入的web链接
587
+ # @type WebUrl: String
588
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
589
+ # @type RequestId: String
590
+
591
+ attr_accessor :WebUrl, :RequestId
592
+
593
+ def initialize(weburl=nil, requestid=nil)
594
+ @WebUrl = weburl
595
+ @RequestId = requestid
596
+ end
597
+
598
+ def deserialize(params)
599
+ @WebUrl = params['WebUrl']
600
+ @RequestId = params['RequestId']
601
+ end
602
+ end
603
+
546
604
  # ChannelCreateFlowByFiles请求参数结构体
547
605
  class ChannelCreateFlowByFilesRequest < TencentCloud::Common::AbstractModel
548
606
  # @param Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
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.524
4
+ version: 3.0.525
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-03-08 00:00:00.000000000 Z
11
+ date: 2023-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common