tencentcloud-sdk-essbasic 3.0.645 → 3.0.647

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: 9d273306c2baac04eda6facb081679588688abf9
4
- data.tar.gz: 40864b03f125ca8044cfee826555552ce4e2393a
3
+ metadata.gz: 20dfd1a3646b4a3340dc9aeae60bdb453f7b8c89
4
+ data.tar.gz: 2c3f166dbc8a6102a2afb6ada8edfad79fc37895
5
5
  SHA512:
6
- metadata.gz: e6fbd52d11a1f8d01c24288774bf684fe76e40b045058aefb7cbc4550adac9c7b9f2815561939d285ec217c1d6a72f1e7bbd3d79eb647459a523d7a25daa385a
7
- data.tar.gz: 8911d7f4318e1f1c161f493287fc775692fcf57d7ac96f3a94f71648d566524faf02e1c4973f4ca06e7aa9a4052adb7e76c58b3c548a10509bdd8999b882815f
6
+ metadata.gz: 5f2b85008327c19a9fc9118fadbe2651272a3bc38498fc67b730318eabca141cd178e6d23c43ef375b78792cc5114cbeb5509bd5483f7104f4ded42b4131db69
7
+ data.tar.gz: 8573e98c412e4b3952dfc6f15797187b94ad5140bc60862fd311f3b40230d1dccbab0f6f5d2095d382218de51383455203335cd7a49c8e9e6ba7c46fc8f287ea
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.645
1
+ 3.0.647
@@ -409,6 +409,11 @@ module TencentCloud
409
409
  # - B端企业的签署方式是静默签署
410
410
  # - B端企业是非首位签署
411
411
 
412
+ # 通过一码多扫二维码发起的合同,合同涉及到的回调消息可参考文档[合同发起及签署相关回调
413
+ # ]( https://qian.tencent.com/developers/partner/callback_types_contracts_sign)
414
+
415
+ # 用户通过签署二维码发起合同时,因企业额度不足导致失败 会触发签署二维码相关回调,具体参考文档[签署二维码相关回调](https://qian.tencent.com/developers/partner/callback_types_commons#%E7%AD%BE%E7%BD%B2%E4%BA%8C%E7%BB%B4%E7%A0%81%E7%9B%B8%E5%85%B3%E5%9B%9E%E8%B0%83)
416
+
412
417
  # @param request: Request instance for ChannelCreateMultiFlowSignQRCode.
413
418
  # @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateMultiFlowSignQRCodeRequest`
414
419
  # @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateMultiFlowSignQRCodeResponse`
@@ -210,10 +210,12 @@ module TencentCloud
210
210
  # <br/>false:不开启发起方发起前审核
211
211
  # <br/>当指定NeedCreateReview=true,则提交审核后,需要使用接口:ChannelCreateFlowSignReview,来完成发起前审核,审核通过后,可以继续查看,签署合同
212
212
  # @type NeedCreateReview: Boolean
213
+ # @param Components: 填写控件:文件发起使用
214
+ # @type Components: Array
213
215
 
214
- attr_accessor :FlowName, :FlowType, :FlowDescription, :Deadline, :Unordered, :IntelligentStatus, :FormFields, :NeedSignReview, :UserData, :CcInfos, :NeedCreateReview
216
+ attr_accessor :FlowName, :FlowType, :FlowDescription, :Deadline, :Unordered, :IntelligentStatus, :FormFields, :NeedSignReview, :UserData, :CcInfos, :NeedCreateReview, :Components
215
217
 
216
- def initialize(flowname=nil, flowtype=nil, flowdescription=nil, deadline=nil, unordered=nil, intelligentstatus=nil, formfields=nil, needsignreview=nil, userdata=nil, ccinfos=nil, needcreatereview=nil)
218
+ def initialize(flowname=nil, flowtype=nil, flowdescription=nil, deadline=nil, unordered=nil, intelligentstatus=nil, formfields=nil, needsignreview=nil, userdata=nil, ccinfos=nil, needcreatereview=nil, components=nil)
217
219
  @FlowName = flowname
218
220
  @FlowType = flowtype
219
221
  @FlowDescription = flowdescription
@@ -225,6 +227,7 @@ module TencentCloud
225
227
  @UserData = userdata
226
228
  @CcInfos = ccinfos
227
229
  @NeedCreateReview = needcreatereview
230
+ @Components = components
228
231
  end
229
232
 
230
233
  def deserialize(params)
@@ -253,6 +256,14 @@ module TencentCloud
253
256
  end
254
257
  end
255
258
  @NeedCreateReview = params['NeedCreateReview']
259
+ unless params['Components'].nil?
260
+ @Components = []
261
+ params['Components'].each do |i|
262
+ component_tmp = Component.new
263
+ component_tmp.deserialize(i)
264
+ @Components << component_tmp
265
+ end
266
+ end
256
267
  end
257
268
  end
258
269
 
@@ -1297,9 +1308,9 @@ module TencentCloud
1297
1308
  # @param Restrictions: 指定的签署二维码签署人
1298
1309
  # <br/>指定后,只允许知道的人操作和签署
1299
1310
  # @type Restrictions: Array
1300
- # @param CallbackUrl: 回调地址,最大长度1000个字符
1301
- # 不传默认使用第三方应用号配置的回调地址
1302
- # 回调时机:用户通过签署二维码发起合同时,企业额度不足导致失败
1311
+ # @param CallbackUrl: 已废弃,回调配置统一使用企业应用管理-应用集成-第三方应用中的配置
1312
+ # <br/> 通过一码多扫二维码发起的合同,回调消息可参考文档 https://qian.tencent.com/developers/partner/callback_types_contracts_sign
1313
+ # <br/> 用户通过签署二维码发起合同时,因企业额度不足导致失败 会触发签署二维码相关回调,具体参考文档 https://qian.tencent.com/developers/partner/callback_types_commons#%E7%AD%BE%E7%BD%B2%E4%BA%8C%E7%BB%B4%E7%A0%81%E7%9B%B8%E5%85%B3%E5%9B%9E%E8%B0%83
1303
1314
  # @type CallbackUrl: String
1304
1315
  # @param ApproverRestrictions: 限制二维码用户条件(已弃用)
1305
1316
  # @type ApproverRestrictions: :class:`Tencentcloud::Essbasic.v20210526.models.ApproverRestriction`
@@ -1308,6 +1319,8 @@ module TencentCloud
1308
1319
 
1309
1320
  attr_accessor :Agent, :TemplateId, :FlowName, :MaxFlowNum, :FlowEffectiveDay, :QrEffectiveDay, :Restrictions, :CallbackUrl, :ApproverRestrictions, :Operator
1310
1321
  extend Gem::Deprecate
1322
+ deprecate :CallbackUrl, :none, 2023, 8
1323
+ deprecate :CallbackUrl=, :none, 2023, 8
1311
1324
  deprecate :ApproverRestrictions, :none, 2023, 8
1312
1325
  deprecate :ApproverRestrictions=, :none, 2023, 8
1313
1326
  deprecate :Operator, :none, 2023, 8
@@ -1433,7 +1446,7 @@ module TencentCloud
1433
1446
  class ChannelCreatePrepareFlowRequest < TencentCloud::Common::AbstractModel
1434
1447
  # @param ResourceId: 资源id,与ResourceType对应
1435
1448
  # @type ResourceId: String
1436
- # @param ResourceType: 资源类型,1:模板,目前仅支持模板,与ResourceId对应
1449
+ # @param ResourceType: 资源类型,与ResourceId对应1:模板 2: 文件
1437
1450
  # @type ResourceType: Integer
1438
1451
  # @param FlowInfo: 合同流程基础信息
1439
1452
  # @type FlowInfo: :class:`Tencentcloud::Essbasic.v20210526.models.BaseFlowInfo`
@@ -2827,13 +2840,15 @@ module TencentCloud
2827
2840
  # @type NotifyType: String
2828
2841
  # @param ApproverOption: 签署人配置
2829
2842
  # @type ApproverOption: :class:`Tencentcloud::Essbasic.v20210526.models.CommonApproverOption`
2843
+ # @param SignComponents: 签署控件:文件发起使用
2844
+ # @type SignComponents: Array
2830
2845
 
2831
- attr_accessor :NotChannelOrganization, :ApproverType, :OrganizationId, :OrganizationOpenId, :OrganizationName, :UserId, :OpenId, :ApproverName, :ApproverMobile, :RecipientId, :PreReadTime, :IsFullText, :NotifyType, :ApproverOption
2846
+ attr_accessor :NotChannelOrganization, :ApproverType, :OrganizationId, :OrganizationOpenId, :OrganizationName, :UserId, :OpenId, :ApproverName, :ApproverMobile, :RecipientId, :PreReadTime, :IsFullText, :NotifyType, :ApproverOption, :SignComponents
2832
2847
  extend Gem::Deprecate
2833
2848
  deprecate :NotifyType, :none, 2023, 8
2834
2849
  deprecate :NotifyType=, :none, 2023, 8
2835
2850
 
2836
- def initialize(notchannelorganization=nil, approvertype=nil, organizationid=nil, organizationopenid=nil, organizationname=nil, userid=nil, openid=nil, approvername=nil, approvermobile=nil, recipientid=nil, prereadtime=nil, isfulltext=nil, notifytype=nil, approveroption=nil)
2851
+ def initialize(notchannelorganization=nil, approvertype=nil, organizationid=nil, organizationopenid=nil, organizationname=nil, userid=nil, openid=nil, approvername=nil, approvermobile=nil, recipientid=nil, prereadtime=nil, isfulltext=nil, notifytype=nil, approveroption=nil, signcomponents=nil)
2837
2852
  @NotChannelOrganization = notchannelorganization
2838
2853
  @ApproverType = approvertype
2839
2854
  @OrganizationId = organizationid
@@ -2848,6 +2863,7 @@ module TencentCloud
2848
2863
  @IsFullText = isfulltext
2849
2864
  @NotifyType = notifytype
2850
2865
  @ApproverOption = approveroption
2866
+ @SignComponents = signcomponents
2851
2867
  end
2852
2868
 
2853
2869
  def deserialize(params)
@@ -2868,6 +2884,14 @@ module TencentCloud
2868
2884
  @ApproverOption = CommonApproverOption.new
2869
2885
  @ApproverOption.deserialize(params['ApproverOption'])
2870
2886
  end
2887
+ unless params['SignComponents'].nil?
2888
+ @SignComponents = []
2889
+ params['SignComponents'].each do |i|
2890
+ component_tmp = Component.new
2891
+ component_tmp.deserialize(i)
2892
+ @SignComponents << component_tmp
2893
+ end
2894
+ end
2871
2895
  end
2872
2896
  end
2873
2897
 
@@ -4376,7 +4400,7 @@ module TencentCloud
4376
4400
  # 4-非第三方平台子客企业:Name、Mobile必传,OrgName必传,且NotChannelOrganization=True。
4377
4401
 
4378
4402
  # RecipientId参数:
4379
- # 从DescribeTemplates接口中,可以得到模板下的签署方Recipient列表,根据模板自定义的Rolename在此结构体中确定其RecipientId
4403
+ # 从DescribeTemplates接口中,可以得到模板下的签署方Recipient列表,根据模板自定义的Rolename在此结构体中确定其RecipientId
4380
4404
  class FlowApproverInfo < TencentCloud::Common::AbstractModel
4381
4405
  # @param Name: 签署人姓名,最大长度50个字符
4382
4406
  # @type Name: String
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.645
4
+ version: 3.0.647
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-08-28 00:00:00.000000000 Z
11
+ date: 2023-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common