tencentcloud-sdk-essbasic 3.0.454 → 3.0.455

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: 0e9b1e496c34ffcc7911e3173fbb3c39627edbb7
4
- data.tar.gz: 9f29a6b5b3a5b7e94745b79c4d39f3050180e547
3
+ metadata.gz: fac926a7f922eeabf7b79b357853df310ca2b2c1
4
+ data.tar.gz: 72472cd89ee1cb7698b3e20f116185f43e58df7a
5
5
  SHA512:
6
- metadata.gz: 2591d4b0b1036205c5c4f07ad18c6be2967106d9445da476603be3fb23ed84c6885bb0fc09fdc7181f14977a8311be59fe9a136a04a22c01b4bcb212d5c74920
7
- data.tar.gz: d032ad80f565330cceacec216fa107731465a2b93054bc07ea49d2f035c7cc4cb501985c5259e1aaeff01d44ac508d18b4a66feebb51fa7a5083aacadc7cec3b
6
+ metadata.gz: a6926389f809a3d41423e9ce882cc9400da22cd3c94bc1fbb9693d803f126065f10f755cca0966ce261263c6564b2e151f1c9232461e6173081fe6b7cc5eaadc
7
+ data.tar.gz: 40b089b434c9433c8f39db5ea8671618b8ae718cad68eb8d919459236f69a2654aa5c4e104ed882ef76b27ae8da98e9a952750f8b9329bf3496aff0b0153f853
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.454
1
+ 3.0.455
@@ -135,6 +135,30 @@ module TencentCloud
135
135
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
136
136
  end
137
137
 
138
+ # 此接口(CreateConsoleLoginUrl)用于渠道子客领取合同,经办人需要有相应的角色,领取后的合同不能重复领取
139
+
140
+ # @param request: Request instance for ChannelCreateBoundFlows.
141
+ # @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateBoundFlowsRequest`
142
+ # @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateBoundFlowsResponse`
143
+ def ChannelCreateBoundFlows(request)
144
+ body = send_request('ChannelCreateBoundFlows', request.serialize)
145
+ response = JSON.parse(body)
146
+ if response['Response'].key?('Error') == false
147
+ model = ChannelCreateBoundFlowsResponse.new
148
+ model.deserialize(response['Response'])
149
+ model
150
+ else
151
+ code = response['Response']['Error']['Code']
152
+ message = response['Response']['Error']['Message']
153
+ reqid = response['Response']['RequestId']
154
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
155
+ end
156
+ rescue TencentCloud::Common::TencentCloudSDKException => e
157
+ raise e
158
+ rescue StandardError => e
159
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
160
+ end
161
+
138
162
  # 渠道创建文件转换任务
139
163
 
140
164
  # @param request: Request instance for ChannelCreateConvertTaskApi.
@@ -372,6 +372,53 @@ module TencentCloud
372
372
  end
373
373
  end
374
374
 
375
+ # ChannelCreateBoundFlows请求参数结构体
376
+ class ChannelCreateBoundFlowsRequest < TencentCloud::Common::AbstractModel
377
+ # @param Agent: 应用信息
378
+ # 此接口Agent.AppId、Agent.ProxyOrganizationOpenId 和 Agent. ProxyOperator.OpenId 必填
379
+ # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
380
+ # @param FlowIds: 领取的合同id列表
381
+ # @type FlowIds: Array
382
+ # @param Operator: 操作者的信息
383
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
384
+
385
+ attr_accessor :Agent, :FlowIds, :Operator
386
+
387
+ def initialize(agent=nil, flowids=nil, operator=nil)
388
+ @Agent = agent
389
+ @FlowIds = flowids
390
+ @Operator = operator
391
+ end
392
+
393
+ def deserialize(params)
394
+ unless params['Agent'].nil?
395
+ @Agent = Agent.new
396
+ @Agent.deserialize(params['Agent'])
397
+ end
398
+ @FlowIds = params['FlowIds']
399
+ unless params['Operator'].nil?
400
+ @Operator = UserInfo.new
401
+ @Operator.deserialize(params['Operator'])
402
+ end
403
+ end
404
+ end
405
+
406
+ # ChannelCreateBoundFlows返回参数结构体
407
+ class ChannelCreateBoundFlowsResponse < TencentCloud::Common::AbstractModel
408
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
409
+ # @type RequestId: String
410
+
411
+ attr_accessor :RequestId
412
+
413
+ def initialize(requestid=nil)
414
+ @RequestId = requestid
415
+ end
416
+
417
+ def deserialize(params)
418
+ @RequestId = params['RequestId']
419
+ end
420
+ end
421
+
375
422
  # ChannelCreateConvertTaskApi请求参数结构体
376
423
  class ChannelCreateConvertTaskApiRequest < TencentCloud::Common::AbstractModel
377
424
  # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
@@ -2270,8 +2317,8 @@ module TencentCloud
2270
2317
  # 此结构体 (FlowInfo) 用于描述签署流程信息。
2271
2318
 
2272
2319
  # 【动态表格传参说明】
2273
- # 当模板的 ComponentType='DYNAMIC_TABLE'时(渠道版),FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充动态表格(支持内容的单元格合并)
2274
- # 输入示例
2320
+ # 当模板的 ComponentType='DYNAMIC_TABLE'时(渠道版或集成版),FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充动态表格(支持内容的单元格合并)
2321
+ # 输入示例1:
2275
2322
 
2276
2323
  # ```
2277
2324
  # {
@@ -2316,6 +2363,53 @@ module TencentCloud
2316
2363
 
2317
2364
  # ```
2318
2365
 
2366
+ # 输入示例2(表格表头宽度比例配置):
2367
+
2368
+ # ```
2369
+ # {
2370
+ # "headers":[
2371
+ # {
2372
+ # "content":"head1",
2373
+ # "widthPercent": 30
2374
+ # },
2375
+ # {
2376
+ # "content":"head2",
2377
+ # "widthPercent": 30
2378
+ # },
2379
+ # {
2380
+ # "content":"head3",
2381
+ # "widthPercent": 40
2382
+ # }
2383
+ # ],
2384
+ # "rowCount":3,
2385
+ # "body":{
2386
+ # "cells":[
2387
+ # {
2388
+ # "rowStart":1,
2389
+ # "rowEnd":1,
2390
+ # "columnStart":1,
2391
+ # "columnEnd":1,
2392
+ # "content":"123"
2393
+ # },
2394
+ # {
2395
+ # "rowStart":2,
2396
+ # "rowEnd":3,
2397
+ # "columnStart":1,
2398
+ # "columnEnd":2,
2399
+ # "content":"456"
2400
+ # },
2401
+ # {
2402
+ # "rowStart":3,
2403
+ # "rowEnd":3,
2404
+ # "columnStart":3,
2405
+ # "columnEnd":3,
2406
+ # "content":"789"
2407
+ # }
2408
+ # ]
2409
+ # }
2410
+ # }
2411
+
2412
+ # ```
2319
2413
  # 表格参数说明
2320
2414
 
2321
2415
  # | 名称 | 类型 | 描述 |
@@ -2327,6 +2421,12 @@ module TencentCloud
2327
2421
  # | cells.N.columnStart | Integer | 单元格坐标:列起始index |
2328
2422
  # | cells.N.columnEnd | Integer | 单元格坐标:列结束index |
2329
2423
  # | cells.N.content | String | 单元格内容,字数不超过100 |
2424
+
2425
+ # 表格参数headers说明
2426
+ # | 名称 | 类型 | 描述 |
2427
+ # | ------------------- | ------- | ------------------------------------------------- |
2428
+ # | widthPercent | Integer | 表头单元格列占总表头的比例,例如1:30表示 此列占表头的30%,不填写时列宽度平均拆分;例如2:总2列,某一列填写40,剩余列可以为空,按照60计算。;例如3:总3列,某一列填写30,剩余2列可以为空,分别为(100-30)/2=35 |
2429
+ # | content | String | 表头单元格内容,字数不超过100 |
2330
2430
  class FlowInfo < TencentCloud::Common::AbstractModel
2331
2431
  # @param FlowName: 合同名字,最大长度200个字符
2332
2432
  # @type FlowName: 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.454
4
+ version: 3.0.455
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-18 00:00:00.000000000 Z
11
+ date: 2022-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common