tencentcloud-sdk-essbasic 3.0.524 → 3.0.526

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: 0624a63153133fa77662d264b18f1fdf7bbefd52
4
+ data.tar.gz: 5eaba023505c21e2af09e91edab5aceb509944fc
5
5
  SHA512:
6
- metadata.gz: 8627363aa7f2c968590bb2f4d3caa73c6fb86517c2b045058bd3245e372a994fb233a2f08f7cf6fe39efd0312bb70986e8b9ae97089d6557e73ba374ae4ad6a7
7
- data.tar.gz: 7f0df18c74519d9e5977db560593834bf08c058706a7d6b2a3a4b6e04e17e6755d111c1e9cfd5f029dd923883f75523039d0f1b5788a60ad418ee3d81a049bb3
6
+ metadata.gz: 2584a14daa421926f0a2d62dc7e9112471c307065127574cf8c1dc78c7fa0fa59c61f370d16c072cb66adfa16e2727f67124733092f2321c8ffe31a9e2ca4091
7
+ data.tar.gz: 3272d23f76379f3483d344c91076057b799609175d1da3a5bfa0a3ea9eadc82774edbcacbf093890afaa49185f1d27cdedcc87222873f0824f954f882caae87a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.524
1
+ 3.0.526
@@ -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.
@@ -195,15 +195,33 @@ module TencentCloud
195
195
  class CcInfo < TencentCloud::Common::AbstractModel
196
196
  # @param Mobile: 被抄送人手机号,大陆11位手机号
197
197
  # @type Mobile: String
198
+ # @param Name: 被抄送人姓名
199
+ # 注意:此字段可能返回 null,表示取不到有效值。
200
+ # @type Name: String
201
+ # @param CcType: 被抄送人类型
202
+ # 0--个人. 1--员工
203
+ # 注意:此字段可能返回 null,表示取不到有效值。
204
+ # @type CcType: Integer
205
+ # @param CcPermission: 被抄送人权限
206
+ # 0--可查看
207
+ # 1--可查看也可下载
208
+ # 注意:此字段可能返回 null,表示取不到有效值。
209
+ # @type CcPermission: Integer
198
210
 
199
- attr_accessor :Mobile
211
+ attr_accessor :Mobile, :Name, :CcType, :CcPermission
200
212
 
201
- def initialize(mobile=nil)
213
+ def initialize(mobile=nil, name=nil, cctype=nil, ccpermission=nil)
202
214
  @Mobile = mobile
215
+ @Name = name
216
+ @CcType = cctype
217
+ @CcPermission = ccpermission
203
218
  end
204
219
 
205
220
  def deserialize(params)
206
221
  @Mobile = params['Mobile']
222
+ @Name = params['Name']
223
+ @CcType = params['CcType']
224
+ @CcPermission = params['CcPermission']
207
225
  end
208
226
  end
209
227
 
@@ -543,13 +561,71 @@ module TencentCloud
543
561
  end
544
562
  end
545
563
 
564
+ # ChannelCreateEmbedWebUrl请求参数结构体
565
+ class ChannelCreateEmbedWebUrlRequest < TencentCloud::Common::AbstractModel
566
+ # @param EmbedType: WEB嵌入资源类型,取值范围:CREATE_SEAL创建印章,CREATE_TEMPLATE创建模板,MODIFY_TEMPLATE修改模板,PREVIEW_TEMPLATE预览模板,PREVIEW_FLOW预览流程
567
+ # @type EmbedType: String
568
+ # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 必填。
569
+ # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
570
+ # @param Operator: 渠道操作者信息
571
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
572
+ # @param BusinessId: WEB嵌入的业务资源ID,EmbedType取值MODIFY_TEMPLATE或PREVIEW_TEMPLATE或 PREVIEW_FLOW时BusinessId必填
573
+ # @type BusinessId: String
574
+ # @param HiddenComponents: 是否隐藏控件,只有预览模板时生效
575
+ # @type HiddenComponents: Boolean
576
+
577
+ attr_accessor :EmbedType, :Agent, :Operator, :BusinessId, :HiddenComponents
578
+
579
+ def initialize(embedtype=nil, agent=nil, operator=nil, businessid=nil, hiddencomponents=nil)
580
+ @EmbedType = embedtype
581
+ @Agent = agent
582
+ @Operator = operator
583
+ @BusinessId = businessid
584
+ @HiddenComponents = hiddencomponents
585
+ end
586
+
587
+ def deserialize(params)
588
+ @EmbedType = params['EmbedType']
589
+ unless params['Agent'].nil?
590
+ @Agent = Agent.new
591
+ @Agent.deserialize(params['Agent'])
592
+ end
593
+ unless params['Operator'].nil?
594
+ @Operator = UserInfo.new
595
+ @Operator.deserialize(params['Operator'])
596
+ end
597
+ @BusinessId = params['BusinessId']
598
+ @HiddenComponents = params['HiddenComponents']
599
+ end
600
+ end
601
+
602
+ # ChannelCreateEmbedWebUrl返回参数结构体
603
+ class ChannelCreateEmbedWebUrlResponse < TencentCloud::Common::AbstractModel
604
+ # @param WebUrl: 嵌入的web链接
605
+ # @type WebUrl: String
606
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
607
+ # @type RequestId: String
608
+
609
+ attr_accessor :WebUrl, :RequestId
610
+
611
+ def initialize(weburl=nil, requestid=nil)
612
+ @WebUrl = weburl
613
+ @RequestId = requestid
614
+ end
615
+
616
+ def deserialize(params)
617
+ @WebUrl = params['WebUrl']
618
+ @RequestId = params['RequestId']
619
+ end
620
+ end
621
+
546
622
  # ChannelCreateFlowByFiles请求参数结构体
547
623
  class ChannelCreateFlowByFilesRequest < TencentCloud::Common::AbstractModel
548
624
  # @param Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
549
625
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
550
626
  # @param FlowName: 签署流程名称,长度不超过200个字符
551
627
  # @type FlowName: String
552
- # @param FlowApprovers: 签署流程签约方列表,最多不超过5个参与方
628
+ # @param FlowApprovers: 签署流程签约方列表,最多不超过50个参与方
553
629
  # @type FlowApprovers: Array
554
630
  # @param FileIds: 签署文件资源Id列表,目前仅支持单个文件
555
631
  # @type FileIds: Array
@@ -580,10 +656,14 @@ module TencentCloud
580
656
  # @type SignBeanTag: Integer
581
657
  # @param Operator: 操作者的信息,不用传
582
658
  # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
659
+ # @param CcInfos: 被抄送人信息列表
660
+ # @type CcInfos: Array
661
+ # @param CcNotifyType: 给关注人发送短信通知的类型,0-合同发起时通知 1-签署完成后通知
662
+ # @type CcNotifyType: Integer
583
663
 
584
- attr_accessor :Agent, :FlowName, :FlowApprovers, :FileIds, :Components, :Deadline, :CallbackUrl, :Unordered, :FlowType, :FlowDescription, :CustomShowMap, :CustomerData, :NeedSignReview, :ApproverVerifyType, :SignBeanTag, :Operator
664
+ attr_accessor :Agent, :FlowName, :FlowApprovers, :FileIds, :Components, :Deadline, :CallbackUrl, :Unordered, :FlowType, :FlowDescription, :CustomShowMap, :CustomerData, :NeedSignReview, :ApproverVerifyType, :SignBeanTag, :Operator, :CcInfos, :CcNotifyType
585
665
 
586
- def initialize(agent=nil, flowname=nil, flowapprovers=nil, fileids=nil, components=nil, deadline=nil, callbackurl=nil, unordered=nil, flowtype=nil, flowdescription=nil, customshowmap=nil, customerdata=nil, needsignreview=nil, approververifytype=nil, signbeantag=nil, operator=nil)
666
+ def initialize(agent=nil, flowname=nil, flowapprovers=nil, fileids=nil, components=nil, deadline=nil, callbackurl=nil, unordered=nil, flowtype=nil, flowdescription=nil, customshowmap=nil, customerdata=nil, needsignreview=nil, approververifytype=nil, signbeantag=nil, operator=nil, ccinfos=nil, ccnotifytype=nil)
587
667
  @Agent = agent
588
668
  @FlowName = flowname
589
669
  @FlowApprovers = flowapprovers
@@ -600,6 +680,8 @@ module TencentCloud
600
680
  @ApproverVerifyType = approververifytype
601
681
  @SignBeanTag = signbeantag
602
682
  @Operator = operator
683
+ @CcInfos = ccinfos
684
+ @CcNotifyType = ccnotifytype
603
685
  end
604
686
 
605
687
  def deserialize(params)
@@ -639,6 +721,15 @@ module TencentCloud
639
721
  @Operator = UserInfo.new
640
722
  @Operator.deserialize(params['Operator'])
641
723
  end
724
+ unless params['CcInfos'].nil?
725
+ @CcInfos = []
726
+ params['CcInfos'].each do |i|
727
+ ccinfo_tmp = CcInfo.new
728
+ ccinfo_tmp.deserialize(i)
729
+ @CcInfos << ccinfo_tmp
730
+ end
731
+ end
732
+ @CcNotifyType = params['CcNotifyType']
642
733
  end
643
734
  end
644
735
 
@@ -3458,10 +3549,12 @@ module TencentCloud
3458
3549
 
3459
3550
  # 注:企业可以通过此功能与企业内部的审批流程进行关联,支持手动、静默签署合同。
3460
3551
  # @type NeedSignReview: Boolean
3552
+ # @param CcNotifyType: 给关注人发送短信通知的类型,0-合同发起时通知 1-签署完成后通知
3553
+ # @type CcNotifyType: Integer
3461
3554
 
3462
- attr_accessor :FlowName, :Deadline, :TemplateId, :FlowApprovers, :FormFields, :CallbackUrl, :FlowType, :FlowDescription, :CustomerData, :CustomShowMap, :CcInfos, :NeedSignReview
3555
+ attr_accessor :FlowName, :Deadline, :TemplateId, :FlowApprovers, :FormFields, :CallbackUrl, :FlowType, :FlowDescription, :CustomerData, :CustomShowMap, :CcInfos, :NeedSignReview, :CcNotifyType
3463
3556
 
3464
- def initialize(flowname=nil, deadline=nil, templateid=nil, flowapprovers=nil, formfields=nil, callbackurl=nil, flowtype=nil, flowdescription=nil, customerdata=nil, customshowmap=nil, ccinfos=nil, needsignreview=nil)
3557
+ def initialize(flowname=nil, deadline=nil, templateid=nil, flowapprovers=nil, formfields=nil, callbackurl=nil, flowtype=nil, flowdescription=nil, customerdata=nil, customshowmap=nil, ccinfos=nil, needsignreview=nil, ccnotifytype=nil)
3465
3558
  @FlowName = flowname
3466
3559
  @Deadline = deadline
3467
3560
  @TemplateId = templateid
@@ -3474,6 +3567,7 @@ module TencentCloud
3474
3567
  @CustomShowMap = customshowmap
3475
3568
  @CcInfos = ccinfos
3476
3569
  @NeedSignReview = needsignreview
3570
+ @CcNotifyType = ccnotifytype
3477
3571
  end
3478
3572
 
3479
3573
  def deserialize(params)
@@ -3510,6 +3604,7 @@ module TencentCloud
3510
3604
  end
3511
3605
  end
3512
3606
  @NeedSignReview = params['NeedSignReview']
3607
+ @CcNotifyType = params['CcNotifyType']
3513
3608
  end
3514
3609
  end
3515
3610
 
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.526
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-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common