tencentcloud-sdk-ess 3.0.1056 → 3.0.1057

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4707a1dc1bba26db56833b5b653f6af952ea94c2
4
- data.tar.gz: cebc7b0a239c83ccbec0c56412eb01afbeb1744f
3
+ metadata.gz: 228e484e4b1f401999f7d7d2bd4b63dd9a792d2b
4
+ data.tar.gz: e3b444874629d97a8ac9d3842522ec6313ce7a3c
5
5
  SHA512:
6
- metadata.gz: b9c5f14fb296205132e3d53a1680c4cb1db1ddecb746ca7e4df79f8107e9a02c76fb12d49ed67ec8b9b9357dbe1441cf8c9259eb4d88b45745ca716cf5ad272d
7
- data.tar.gz: 04119009e2263aaf9d418f326f7ac1e9284d8fa42aeef528ec4fa03a8d12bbca9eedf689fc7009ba69dee8d4eb63e4b5952ac67422031975282fb414b1da08ca
6
+ metadata.gz: 741389277904ce723bd01b34afb891c7d2567e26308e0c583988265b1c5368117a3a98548d26c7363e71fcb22523211cfeba8a0a5bd0dde829d5591fc2245095
7
+ data.tar.gz: 0ab0b7af753fc4a88719d39e1460ae4973e9ffc047b5bd6d7eefa81571f95855272b4ec5ef56b0c328b330e10e877970c001e9a14106bd5fe93660c1c1e05b46
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1056
1
+ 3.0.1057
@@ -1735,6 +1735,34 @@ module TencentCloud
1735
1735
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1736
1736
  end
1737
1737
 
1738
+ # 接口(CreatePrepareFlowGroup)用于创建嵌入式合同组签署流程。
1739
+
1740
+ # - 该接口当前仅支持文件发起
1741
+ # - 该接口能力和CreateFlowGroupByFiles,~~CreateFlowGroupByTemplates~~保持一致。
1742
+ # - 返回的FlowGroupId 为临时id,只有在页面内成功发起后FlowGroupId才会有效。
1743
+
1744
+ # @param request: Request instance for CreatePrepareFlowGroup.
1745
+ # @type request: :class:`Tencentcloud::ess::V20201111::CreatePrepareFlowGroupRequest`
1746
+ # @rtype: :class:`Tencentcloud::ess::V20201111::CreatePrepareFlowGroupResponse`
1747
+ def CreatePrepareFlowGroup(request)
1748
+ body = send_request('CreatePrepareFlowGroup', request.serialize)
1749
+ response = JSON.parse(body)
1750
+ if response['Response'].key?('Error') == false
1751
+ model = CreatePrepareFlowGroupResponse.new
1752
+ model.deserialize(response['Response'])
1753
+ model
1754
+ else
1755
+ code = response['Response']['Error']['Code']
1756
+ message = response['Response']['Error']['Message']
1757
+ reqid = response['Response']['RequestId']
1758
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1759
+ end
1760
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1761
+ raise e
1762
+ rescue StandardError => e
1763
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1764
+ end
1765
+
1738
1766
  # 本接口(CreatePreparedPersonalEsign)用于创建导入个人印章(处方单场景专用,使用此接口请与客户经理确认)。
1739
1767
 
1740
1768
  # @param request: Request instance for CreatePreparedPersonalEsign.
@@ -1203,9 +1203,9 @@ module TencentCloud
1203
1203
  # 1. 页码编号是从<font color="red">1</font>开始编号的。
1204
1204
  # 2. <font color="red">页面编号不能超过PDF文件的页码总数</font>。如果指定的页码超过了PDF文件的页码总数,在填写和签署时会出现错误,导致无法正常进行操作。
1205
1205
  # @type ComponentPage: Integer
1206
- # @param ComponentPosX: **在绝对定位方式和关键字定位方式下**,可以指定控件横向位置的位置,单位为pt(点)。
1206
+ # @param ComponentPosX: **在绝对定位方式下**,可以指定控件横向位置的位置,单位为pt(点)。
1207
1207
  # @type ComponentPosX: Float
1208
- # @param ComponentPosY: **在绝对定位方式和关键字定位方式下**,可以指定控件纵向位置的位置,单位为pt(点)。
1208
+ # @param ComponentPosY: **在绝对定位方式下**,可以指定控件纵向位置的位置,单位为pt(点)。
1209
1209
  # @type ComponentPosY: Float
1210
1210
  # @param FileIndex: <font color="red">【暂未使用】</font>控件所属文件的序号(取值为:0-N)。 目前单文件的情况下,值一直为0
1211
1211
  # @type FileIndex: Integer
@@ -5022,10 +5022,12 @@ module TencentCloud
5022
5022
  # 您可以通过查询合同接口(DescribeFlowInfo)查询此参数。
5023
5023
  # 若传了此参数,则可以不传 UserId, Name, Mobile等参数
5024
5024
  # @type RecipientIds: Array
5025
+ # @param FlowGroupId: 合同组Id,传入此参数则可以不传FlowIds
5026
+ # @type FlowGroupId: String
5025
5027
 
5026
- attr_accessor :Operator, :FlowIds, :Agent, :UserId, :Name, :Mobile, :RecipientIds
5028
+ attr_accessor :Operator, :FlowIds, :Agent, :UserId, :Name, :Mobile, :RecipientIds, :FlowGroupId
5027
5029
 
5028
- def initialize(operator=nil, flowids=nil, agent=nil, userid=nil, name=nil, mobile=nil, recipientids=nil)
5030
+ def initialize(operator=nil, flowids=nil, agent=nil, userid=nil, name=nil, mobile=nil, recipientids=nil, flowgroupid=nil)
5029
5031
  @Operator = operator
5030
5032
  @FlowIds = flowids
5031
5033
  @Agent = agent
@@ -5033,6 +5035,7 @@ module TencentCloud
5033
5035
  @Name = name
5034
5036
  @Mobile = mobile
5035
5037
  @RecipientIds = recipientids
5038
+ @FlowGroupId = flowgroupid
5036
5039
  end
5037
5040
 
5038
5041
  def deserialize(params)
@@ -5049,6 +5052,7 @@ module TencentCloud
5049
5052
  @Name = params['Name']
5050
5053
  @Mobile = params['Mobile']
5051
5054
  @RecipientIds = params['RecipientIds']
5055
+ @FlowGroupId = params['FlowGroupId']
5052
5056
  end
5053
5057
  end
5054
5058
 
@@ -5375,6 +5379,77 @@ module TencentCloud
5375
5379
  end
5376
5380
  end
5377
5381
 
5382
+ # CreatePrepareFlowGroup请求参数结构体
5383
+ class CreatePrepareFlowGroupRequest < TencentCloud::Common::AbstractModel
5384
+ # @param Operator: 执行本接口操作的员工信息。
5385
+ # 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
5386
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
5387
+ # @param FlowGroupName: 合同(流程)组名称(可自定义此名称),长度不能超过200,只能由中文、字母、数字和下划线组成。
5388
+ # @type FlowGroupName: String
5389
+ # @param FlowGroupInfos: 合同(流程)组的子合同信息,支持2-50个子合同
5390
+ # @type FlowGroupInfos: Array
5391
+ # @param ResourceType: 资源类型,取值有: <ul><li> **1**:模板</li> <li> **2**:文件</li></ul>
5392
+ # @type ResourceType: Integer
5393
+ # @param Agent: 代理企业和员工的信息。
5394
+ # 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
5395
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
5396
+
5397
+ attr_accessor :Operator, :FlowGroupName, :FlowGroupInfos, :ResourceType, :Agent
5398
+
5399
+ def initialize(operator=nil, flowgroupname=nil, flowgroupinfos=nil, resourcetype=nil, agent=nil)
5400
+ @Operator = operator
5401
+ @FlowGroupName = flowgroupname
5402
+ @FlowGroupInfos = flowgroupinfos
5403
+ @ResourceType = resourcetype
5404
+ @Agent = agent
5405
+ end
5406
+
5407
+ def deserialize(params)
5408
+ unless params['Operator'].nil?
5409
+ @Operator = UserInfo.new
5410
+ @Operator.deserialize(params['Operator'])
5411
+ end
5412
+ @FlowGroupName = params['FlowGroupName']
5413
+ unless params['FlowGroupInfos'].nil?
5414
+ @FlowGroupInfos = []
5415
+ params['FlowGroupInfos'].each do |i|
5416
+ flowgroupinfo_tmp = FlowGroupInfo.new
5417
+ flowgroupinfo_tmp.deserialize(i)
5418
+ @FlowGroupInfos << flowgroupinfo_tmp
5419
+ end
5420
+ end
5421
+ @ResourceType = params['ResourceType']
5422
+ unless params['Agent'].nil?
5423
+ @Agent = Agent.new
5424
+ @Agent.deserialize(params['Agent'])
5425
+ end
5426
+ end
5427
+ end
5428
+
5429
+ # CreatePrepareFlowGroup返回参数结构体
5430
+ class CreatePrepareFlowGroupResponse < TencentCloud::Common::AbstractModel
5431
+ # @param FlowGroupId: 合同(流程)组的合同组Id
5432
+ # @type FlowGroupId: String
5433
+ # @param PrepareUrl: 嵌入式合同组发起链接
5434
+ # @type PrepareUrl: String
5435
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5436
+ # @type RequestId: String
5437
+
5438
+ attr_accessor :FlowGroupId, :PrepareUrl, :RequestId
5439
+
5440
+ def initialize(flowgroupid=nil, prepareurl=nil, requestid=nil)
5441
+ @FlowGroupId = flowgroupid
5442
+ @PrepareUrl = prepareurl
5443
+ @RequestId = requestid
5444
+ end
5445
+
5446
+ def deserialize(params)
5447
+ @FlowGroupId = params['FlowGroupId']
5448
+ @PrepareUrl = params['PrepareUrl']
5449
+ @RequestId = params['RequestId']
5450
+ end
5451
+ end
5452
+
5378
5453
  # CreatePrepareFlow请求参数结构体
5379
5454
  class CreatePrepareFlowRequest < TencentCloud::Common::AbstractModel
5380
5455
  # @param Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。
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.1056
4
+ version: 3.0.1057
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-11 00:00:00.000000000 Z
11
+ date: 2025-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common