tencentcloud-sdk-ess 3.0.525 → 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: ffb2697d954a35ee8fb6ae23e2d904363c1f11f9
4
- data.tar.gz: cd3408d6f41b1c54c3656b05f71b1631dfbab429
3
+ metadata.gz: 10d3a91f5a1fac68f2ca560201b9709688653237
4
+ data.tar.gz: c23b68bcb02cd9bc90dfcb38acabe53ea3e7bcf4
5
5
  SHA512:
6
- metadata.gz: 23f298e463888cb75cd71e9c8d29a470e04bc2e14a1ddae44fcd7c7b1505847a78ea1072639877179de2682ecc00c3b7dd19fd5a474433969736d517f89ce925
7
- data.tar.gz: e341e0193682c26b20cad6aa13dc4dd694d5965d0052b7ba7f6cd8035a26f78d0bc52ede7509595ab1e651c8e0a07d9e43d137d47a1600a3bdd7c4040b5b721d
6
+ metadata.gz: bbe9f428f9ac0099c58f22b816561001dca3e0559aff03eb41523be4dd689840036efc21ef4e00710597ce12e48cfe17036a1f7ff56922b257588d0f34f5aa19
7
+ data.tar.gz: b790a82f4eab3ae47216be9a8182d2d46378e0ca823a0fa673ffd97333d6fd6252d31ed7b2448c2ed0de213e93227863c668e74140dd7af12a834f5971dc6c13
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.525
1
+ 3.0.526
@@ -413,6 +413,30 @@ module TencentCloud
413
413
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
414
  end
415
415
 
416
+ # 发起解除协议,主要应用场景为:基于一份已经签署的合同(签署流程),进行解除操作。
417
+
418
+ # @param request: Request instance for CreateReleaseFlow.
419
+ # @type request: :class:`Tencentcloud::ess::V20201111::CreateReleaseFlowRequest`
420
+ # @rtype: :class:`Tencentcloud::ess::V20201111::CreateReleaseFlowResponse`
421
+ def CreateReleaseFlow(request)
422
+ body = send_request('CreateReleaseFlow', request.serialize)
423
+ response = JSON.parse(body)
424
+ if response['Response'].key?('Error') == false
425
+ model = CreateReleaseFlowResponse.new
426
+ model.deserialize(response['Response'])
427
+ model
428
+ else
429
+ code = response['Response']['Error']['Code']
430
+ message = response['Response']['Error']['Message']
431
+ reqid = response['Response']['RequestId']
432
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
433
+ end
434
+ rescue TencentCloud::Common::TencentCloudSDKException => e
435
+ raise e
436
+ rescue StandardError => e
437
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
+ end
439
+
416
440
  # 获取小程序跳转链接
417
441
 
418
442
  # 适用场景:如果需要签署人在自己的APP、小程序、H5应用中签署,可以通过此接口获取跳转腾讯电子签小程序的签署跳转链接。
@@ -396,15 +396,34 @@ module TencentCloud
396
396
  class CcInfo < TencentCloud::Common::AbstractModel
397
397
  # @param Mobile: 被抄送人手机号
398
398
  # @type Mobile: String
399
+ # @param Name: 被抄送人姓名
400
+ # 注意:此字段可能返回 null,表示取不到有效值。
401
+ # @type Name: String
402
+ # @param CcType: 被抄送人类型,
403
+ # 0--个人
404
+ # 1--员工
405
+ # 注意:此字段可能返回 null,表示取不到有效值。
406
+ # @type CcType: Integer
407
+ # @param CcPermission: 被抄送人权限
408
+ # 0--可查看
409
+ # 1--可查看也可下载
410
+ # 注意:此字段可能返回 null,表示取不到有效值。
411
+ # @type CcPermission: Integer
399
412
 
400
- attr_accessor :Mobile
413
+ attr_accessor :Mobile, :Name, :CcType, :CcPermission
401
414
 
402
- def initialize(mobile=nil)
415
+ def initialize(mobile=nil, name=nil, cctype=nil, ccpermission=nil)
403
416
  @Mobile = mobile
417
+ @Name = name
418
+ @CcType = cctype
419
+ @CcPermission = ccpermission
404
420
  end
405
421
 
406
422
  def deserialize(params)
407
423
  @Mobile = params['Mobile']
424
+ @Name = params['Name']
425
+ @CcType = params['CcType']
426
+ @CcPermission = params['CcPermission']
408
427
  end
409
428
  end
410
429
 
@@ -937,10 +956,12 @@ module TencentCloud
937
956
  # @type SignBeanTag: Integer
938
957
  # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
939
958
  # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
959
+ # @param CcNotifyType: 给关注人发送短信通知的类型,0-合同发起时通知 1-签署完成后通知
960
+ # @type CcNotifyType: Integer
940
961
 
941
- attr_accessor :Operator, :FlowName, :Approvers, :FileIds, :FlowType, :Components, :CcInfos, :NeedPreview, :PreviewType, :Deadline, :Unordered, :CustomShowMap, :NeedSignReview, :UserData, :ApproverVerifyType, :FlowDescription, :SignBeanTag, :Agent
962
+ attr_accessor :Operator, :FlowName, :Approvers, :FileIds, :FlowType, :Components, :CcInfos, :NeedPreview, :PreviewType, :Deadline, :Unordered, :CustomShowMap, :NeedSignReview, :UserData, :ApproverVerifyType, :FlowDescription, :SignBeanTag, :Agent, :CcNotifyType
942
963
 
943
- def initialize(operator=nil, flowname=nil, approvers=nil, fileids=nil, flowtype=nil, components=nil, ccinfos=nil, needpreview=nil, previewtype=nil, deadline=nil, unordered=nil, customshowmap=nil, needsignreview=nil, userdata=nil, approververifytype=nil, flowdescription=nil, signbeantag=nil, agent=nil)
964
+ def initialize(operator=nil, flowname=nil, approvers=nil, fileids=nil, flowtype=nil, components=nil, ccinfos=nil, needpreview=nil, previewtype=nil, deadline=nil, unordered=nil, customshowmap=nil, needsignreview=nil, userdata=nil, approververifytype=nil, flowdescription=nil, signbeantag=nil, agent=nil, ccnotifytype=nil)
944
965
  @Operator = operator
945
966
  @FlowName = flowname
946
967
  @Approvers = approvers
@@ -959,6 +980,7 @@ module TencentCloud
959
980
  @FlowDescription = flowdescription
960
981
  @SignBeanTag = signbeantag
961
982
  @Agent = agent
983
+ @CcNotifyType = ccnotifytype
962
984
  end
963
985
 
964
986
  def deserialize(params)
@@ -1007,6 +1029,7 @@ module TencentCloud
1007
1029
  @Agent = Agent.new
1008
1030
  @Agent.deserialize(params['Agent'])
1009
1031
  end
1032
+ @CcNotifyType = params['CcNotifyType']
1010
1033
  end
1011
1034
  end
1012
1035
 
@@ -1622,6 +1645,69 @@ module TencentCloud
1622
1645
  end
1623
1646
  end
1624
1647
 
1648
+ # CreateReleaseFlow请求参数结构体
1649
+ class CreateReleaseFlowRequest < TencentCloud::Common::AbstractModel
1650
+ # @param Operator: 调用方用户信息,userId 必填
1651
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
1652
+ # @param NeedRelievedFlowId: 待解除的签署流程编号(即原签署流程的编号)
1653
+ # @type NeedRelievedFlowId: String
1654
+ # @param ReliveInfo: 解除协议内容
1655
+ # @type ReliveInfo: :class:`Tencentcloud::Ess.v20201111.models.RelieveInfo`
1656
+ # @param ReleasedApprovers: 非必须,解除协议的本企业签署人列表,
1657
+ # 默认使用原流程的签署人列表,当解除协议的签署人与原流程的签署人不能相同时(例如原流程签署人离职了),需要指定本企业其他已实名员工来替换原流程中的原签署人,注意需要指明原签署人的编号(ReceiptId,通过DescribeFlowInfo接口获取)来代表需要替换哪一个签署人
1658
+ # 解除协议的签署人数量不能多于原流程的签署人数量
1659
+ # @type ReleasedApprovers: Array
1660
+
1661
+ attr_accessor :Operator, :NeedRelievedFlowId, :ReliveInfo, :ReleasedApprovers
1662
+
1663
+ def initialize(operator=nil, needrelievedflowid=nil, reliveinfo=nil, releasedapprovers=nil)
1664
+ @Operator = operator
1665
+ @NeedRelievedFlowId = needrelievedflowid
1666
+ @ReliveInfo = reliveinfo
1667
+ @ReleasedApprovers = releasedapprovers
1668
+ end
1669
+
1670
+ def deserialize(params)
1671
+ unless params['Operator'].nil?
1672
+ @Operator = UserInfo.new
1673
+ @Operator.deserialize(params['Operator'])
1674
+ end
1675
+ @NeedRelievedFlowId = params['NeedRelievedFlowId']
1676
+ unless params['ReliveInfo'].nil?
1677
+ @ReliveInfo = RelieveInfo.new
1678
+ @ReliveInfo.deserialize(params['ReliveInfo'])
1679
+ end
1680
+ unless params['ReleasedApprovers'].nil?
1681
+ @ReleasedApprovers = []
1682
+ params['ReleasedApprovers'].each do |i|
1683
+ releasedapprover_tmp = ReleasedApprover.new
1684
+ releasedapprover_tmp.deserialize(i)
1685
+ @ReleasedApprovers << releasedapprover_tmp
1686
+ end
1687
+ end
1688
+ end
1689
+ end
1690
+
1691
+ # CreateReleaseFlow返回参数结构体
1692
+ class CreateReleaseFlowResponse < TencentCloud::Common::AbstractModel
1693
+ # @param FlowId: 解除协议流程编号
1694
+ # @type FlowId: String
1695
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1696
+ # @type RequestId: String
1697
+
1698
+ attr_accessor :FlowId, :RequestId
1699
+
1700
+ def initialize(flowid=nil, requestid=nil)
1701
+ @FlowId = flowid
1702
+ @RequestId = requestid
1703
+ end
1704
+
1705
+ def deserialize(params)
1706
+ @FlowId = params['FlowId']
1707
+ @RequestId = params['RequestId']
1708
+ end
1709
+ end
1710
+
1625
1711
  # CreateSchemeUrl请求参数结构体
1626
1712
  class CreateSchemeUrlRequest < TencentCloud::Common::AbstractModel
1627
1713
  # @param Operator: 调用方用户信息,userId 必填
@@ -3902,6 +3988,76 @@ module TencentCloud
3902
3988
  end
3903
3989
  end
3904
3990
 
3991
+ # 解除协议的签署人,如不指定,默认使用待解除流程(即原流程)中的签署人。
3992
+ # 注意:不支持更换C端(个人身份类型)签署人,如果原流程中含有C端签署人,默认使用原流程中的该C端签署人。
3993
+ class ReleasedApprover < TencentCloud::Common::AbstractModel
3994
+ # @param Name: 签署人姓名,最大长度50个字符
3995
+
3996
+ # 注意:此字段可能返回 null,表示取不到有效值。
3997
+ # @type Name: String
3998
+ # @param Mobile: 签署人手机号
3999
+ # 注意:此字段可能返回 null,表示取不到有效值。
4000
+ # @type Mobile: String
4001
+ # @param RelievedApproverReceiptId: 要替换的参与人在原合同参与人列表中的签署人编号,通过DescribeFlowInfo 接口获取(即FlowDetailInfos. FlowApproverInfos 结构中的ReceiptId )
4002
+ # 注意:此字段可能返回 null,表示取不到有效值。
4003
+ # @type RelievedApproverReceiptId: String
4004
+
4005
+ attr_accessor :Name, :Mobile, :RelievedApproverReceiptId
4006
+
4007
+ def initialize(name=nil, mobile=nil, relievedapproverreceiptid=nil)
4008
+ @Name = name
4009
+ @Mobile = mobile
4010
+ @RelievedApproverReceiptId = relievedapproverreceiptid
4011
+ end
4012
+
4013
+ def deserialize(params)
4014
+ @Name = params['Name']
4015
+ @Mobile = params['Mobile']
4016
+ @RelievedApproverReceiptId = params['RelievedApproverReceiptId']
4017
+ end
4018
+ end
4019
+
4020
+ # 解除协议文档中内容信息,包括但不限于:解除理由、解除后仍然有效的条款-保留条款、原合同事项处理-费用结算、原合同事项处理-其他事项、其他约定等。
4021
+ class RelieveInfo < TencentCloud::Common::AbstractModel
4022
+ # @param Reason: 解除理由,最大支持200个字
4023
+ # 注意:此字段可能返回 null,表示取不到有效值。
4024
+ # @type Reason: String
4025
+ # @param RemainInForceItem: 解除后仍然有效的条款,保留条款,最大支持200个字
4026
+
4027
+ # 注意:此字段可能返回 null,表示取不到有效值。
4028
+ # @type RemainInForceItem: String
4029
+ # @param OriginalExpenseSettlement: 原合同事项处理-费用结算,最大支持200个字
4030
+
4031
+ # 注意:此字段可能返回 null,表示取不到有效值。
4032
+ # @type OriginalExpenseSettlement: String
4033
+ # @param OriginalOtherSettlement: 原合同事项处理-其他事项,最大支持200个字
4034
+
4035
+ # 注意:此字段可能返回 null,表示取不到有效值。
4036
+ # @type OriginalOtherSettlement: String
4037
+ # @param OtherDeals: 其他约定,最大支持200个字
4038
+
4039
+ # 注意:此字段可能返回 null,表示取不到有效值。
4040
+ # @type OtherDeals: String
4041
+
4042
+ attr_accessor :Reason, :RemainInForceItem, :OriginalExpenseSettlement, :OriginalOtherSettlement, :OtherDeals
4043
+
4044
+ def initialize(reason=nil, remaininforceitem=nil, originalexpensesettlement=nil, originalothersettlement=nil, otherdeals=nil)
4045
+ @Reason = reason
4046
+ @RemainInForceItem = remaininforceitem
4047
+ @OriginalExpenseSettlement = originalexpensesettlement
4048
+ @OriginalOtherSettlement = originalothersettlement
4049
+ @OtherDeals = otherdeals
4050
+ end
4051
+
4052
+ def deserialize(params)
4053
+ @Reason = params['Reason']
4054
+ @RemainInForceItem = params['RemainInForceItem']
4055
+ @OriginalExpenseSettlement = params['OriginalExpenseSettlement']
4056
+ @OriginalOtherSettlement = params['OriginalOtherSettlement']
4057
+ @OtherDeals = params['OtherDeals']
4058
+ end
4059
+ end
4060
+
3905
4061
  # 催办接口返回详细信息
3906
4062
  class RemindFlowRecords < TencentCloud::Common::AbstractModel
3907
4063
  # @param CanRemind: 是否能够催办
@@ -4078,14 +4234,17 @@ module TencentCloud
4078
4234
  # @type ClientToken: String
4079
4235
  # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
4080
4236
  # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
4237
+ # @param CcNotifyType: 给关注人发送短信通知的类型,0-合同发起时通知 1-签署完成后通知
4238
+ # @type CcNotifyType: Integer
4081
4239
 
4082
- attr_accessor :Operator, :FlowId, :ClientToken, :Agent
4240
+ attr_accessor :Operator, :FlowId, :ClientToken, :Agent, :CcNotifyType
4083
4241
 
4084
- def initialize(operator=nil, flowid=nil, clienttoken=nil, agent=nil)
4242
+ def initialize(operator=nil, flowid=nil, clienttoken=nil, agent=nil, ccnotifytype=nil)
4085
4243
  @Operator = operator
4086
4244
  @FlowId = flowid
4087
4245
  @ClientToken = clienttoken
4088
4246
  @Agent = agent
4247
+ @CcNotifyType = ccnotifytype
4089
4248
  end
4090
4249
 
4091
4250
  def deserialize(params)
@@ -4099,6 +4258,7 @@ module TencentCloud
4099
4258
  @Agent = Agent.new
4100
4259
  @Agent.deserialize(params['Agent'])
4101
4260
  end
4261
+ @CcNotifyType = params['CcNotifyType']
4102
4262
  end
4103
4263
  end
4104
4264
 
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: 3.0.525
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-09 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