tencentcloud-sdk-essbasic 3.0.454 → 3.0.456
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210526/client.rb +24 -0
- data/lib/v20210526/models.rb +124 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fb03bd5717f2dc55da55c3839cc000261c4a317
|
4
|
+
data.tar.gz: 8eeef1c191cf1ad5c00236181fa67f38bcd0aeb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc2137da230612a4efcc5782d205e04367cc84744558d20d706084c60a91b0fc8d4c62b10b834f3a0be6811b98c4118e2a58d80c9219207160cc1d3c6fb18f77
|
7
|
+
data.tar.gz: aca3ed8ec4739fd60f311750c03fa6995a239fbce214c7b23314b2902ad339a9350673721fc87d85db5d28668d508f7be9c8755224c0d7a02f581d92e6d03871
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.456
|
data/lib/v20210526/client.rb
CHANGED
@@ -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.
|
data/lib/v20210526/models.rb
CHANGED
@@ -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 均必填。
|
@@ -472,10 +519,12 @@ module TencentCloud
|
|
472
519
|
# MobileCheck:手机号验证
|
473
520
|
# 参数说明:可选人脸识别或手机号验证两种方式,若选择后者,未实名个人签署方在签署合同时,无需经过实名认证和意愿确认两次人脸识别,该能力仅适用于个人签署方。
|
474
521
|
# @type ApproverVerifyType: String
|
522
|
+
# @param SignBeanTag: 标识是否允许发起后添加控件。0为不允许1为允许。如果为1,创建的时候不能有签署控件,只能创建后添加。注意发起后添加控件功能不支持添加骑缝章和签批控件
|
523
|
+
# @type SignBeanTag: Integer
|
475
524
|
|
476
|
-
attr_accessor :Agent, :FlowName, :FlowApprovers, :FileIds, :Components, :Deadline, :CallbackUrl, :Unordered, :FlowType, :FlowDescription, :CustomShowMap, :CustomerData, :NeedSignReview, :Operator, :ApproverVerifyType
|
525
|
+
attr_accessor :Agent, :FlowName, :FlowApprovers, :FileIds, :Components, :Deadline, :CallbackUrl, :Unordered, :FlowType, :FlowDescription, :CustomShowMap, :CustomerData, :NeedSignReview, :Operator, :ApproverVerifyType, :SignBeanTag
|
477
526
|
|
478
|
-
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, operator=nil, approververifytype=nil)
|
527
|
+
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, operator=nil, approververifytype=nil, signbeantag=nil)
|
479
528
|
@Agent = agent
|
480
529
|
@FlowName = flowname
|
481
530
|
@FlowApprovers = flowapprovers
|
@@ -491,6 +540,7 @@ module TencentCloud
|
|
491
540
|
@NeedSignReview = needsignreview
|
492
541
|
@Operator = operator
|
493
542
|
@ApproverVerifyType = approververifytype
|
543
|
+
@SignBeanTag = signbeantag
|
494
544
|
end
|
495
545
|
|
496
546
|
def deserialize(params)
|
@@ -529,6 +579,7 @@ module TencentCloud
|
|
529
579
|
@Operator.deserialize(params['Operator'])
|
530
580
|
end
|
531
581
|
@ApproverVerifyType = params['ApproverVerifyType']
|
582
|
+
@SignBeanTag = params['SignBeanTag']
|
532
583
|
end
|
533
584
|
end
|
534
585
|
|
@@ -1191,6 +1242,9 @@ module TencentCloud
|
|
1191
1242
|
# @type OffsetX: Float
|
1192
1243
|
# @param OffsetY: 指定关键字时纵坐标偏移量,单位pt
|
1193
1244
|
# @type OffsetY: Float
|
1245
|
+
# @param ChannelComponentId: 渠道控件ID。
|
1246
|
+
# 如果不为空,属于渠道预设控件;
|
1247
|
+
# @type ChannelComponentId: String
|
1194
1248
|
# @param KeywordPage: 指定关键字页码
|
1195
1249
|
# @type KeywordPage: Integer
|
1196
1250
|
# @param RelativeLocation: 关键字位置模式
|
@@ -1198,9 +1252,9 @@ module TencentCloud
|
|
1198
1252
|
# @param KeywordIndexes: 关键字索引
|
1199
1253
|
# @type KeywordIndexes: Array
|
1200
1254
|
|
1201
|
-
attr_accessor :ComponentId, :ComponentType, :ComponentName, :ComponentRequired, :ComponentRecipientId, :FileIndex, :GenerateMode, :ComponentWidth, :ComponentHeight, :ComponentPage, :ComponentPosX, :ComponentPosY, :ComponentExtra, :ComponentValue, :ComponentDateFontSize, :DocumentId, :ComponentDescription, :OffsetX, :OffsetY, :KeywordPage, :RelativeLocation, :KeywordIndexes
|
1255
|
+
attr_accessor :ComponentId, :ComponentType, :ComponentName, :ComponentRequired, :ComponentRecipientId, :FileIndex, :GenerateMode, :ComponentWidth, :ComponentHeight, :ComponentPage, :ComponentPosX, :ComponentPosY, :ComponentExtra, :ComponentValue, :ComponentDateFontSize, :DocumentId, :ComponentDescription, :OffsetX, :OffsetY, :ChannelComponentId, :KeywordPage, :RelativeLocation, :KeywordIndexes
|
1202
1256
|
|
1203
|
-
def initialize(componentid=nil, componenttype=nil, componentname=nil, componentrequired=nil, componentrecipientid=nil, fileindex=nil, generatemode=nil, componentwidth=nil, componentheight=nil, componentpage=nil, componentposx=nil, componentposy=nil, componentextra=nil, componentvalue=nil, componentdatefontsize=nil, documentid=nil, componentdescription=nil, offsetx=nil, offsety=nil, keywordpage=nil, relativelocation=nil, keywordindexes=nil)
|
1257
|
+
def initialize(componentid=nil, componenttype=nil, componentname=nil, componentrequired=nil, componentrecipientid=nil, fileindex=nil, generatemode=nil, componentwidth=nil, componentheight=nil, componentpage=nil, componentposx=nil, componentposy=nil, componentextra=nil, componentvalue=nil, componentdatefontsize=nil, documentid=nil, componentdescription=nil, offsetx=nil, offsety=nil, channelcomponentid=nil, keywordpage=nil, relativelocation=nil, keywordindexes=nil)
|
1204
1258
|
@ComponentId = componentid
|
1205
1259
|
@ComponentType = componenttype
|
1206
1260
|
@ComponentName = componentname
|
@@ -1220,6 +1274,7 @@ module TencentCloud
|
|
1220
1274
|
@ComponentDescription = componentdescription
|
1221
1275
|
@OffsetX = offsetx
|
1222
1276
|
@OffsetY = offsety
|
1277
|
+
@ChannelComponentId = channelcomponentid
|
1223
1278
|
@KeywordPage = keywordpage
|
1224
1279
|
@RelativeLocation = relativelocation
|
1225
1280
|
@KeywordIndexes = keywordindexes
|
@@ -1245,6 +1300,7 @@ module TencentCloud
|
|
1245
1300
|
@ComponentDescription = params['ComponentDescription']
|
1246
1301
|
@OffsetX = params['OffsetX']
|
1247
1302
|
@OffsetY = params['OffsetY']
|
1303
|
+
@ChannelComponentId = params['ChannelComponentId']
|
1248
1304
|
@KeywordPage = params['KeywordPage']
|
1249
1305
|
@RelativeLocation = params['RelativeLocation']
|
1250
1306
|
@KeywordIndexes = params['KeywordIndexes']
|
@@ -2066,6 +2122,7 @@ module TencentCloud
|
|
2066
2122
|
# 默认为false,即签署人位于同一个渠道应用号下;
|
2067
2123
|
# @type NotChannelOrganization: Boolean
|
2068
2124
|
# @param OpenId: 用户侧第三方id,最大长度64个字符
|
2125
|
+
# 当签署方为同一渠道下的员工时,该字段若不指定,则发起【待领取】的流程
|
2069
2126
|
# @type OpenId: String
|
2070
2127
|
# @param OrganizationOpenId: 企业签署方在同一渠道下的其他合作企业OpenId,签署方为非发起方企业场景下必传,最大长度64个字符;
|
2071
2128
|
# @type OrganizationOpenId: String
|
@@ -2270,8 +2327,8 @@ module TencentCloud
|
|
2270
2327
|
# 此结构体 (FlowInfo) 用于描述签署流程信息。
|
2271
2328
|
|
2272
2329
|
# 【动态表格传参说明】
|
2273
|
-
# 当模板的 ComponentType='DYNAMIC_TABLE'
|
2274
|
-
# 输入示例
|
2330
|
+
# 当模板的 ComponentType='DYNAMIC_TABLE'时(渠道版或集成版),FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充动态表格(支持内容的单元格合并)
|
2331
|
+
# 输入示例1:
|
2275
2332
|
|
2276
2333
|
# ```
|
2277
2334
|
# {
|
@@ -2316,6 +2373,53 @@ module TencentCloud
|
|
2316
2373
|
|
2317
2374
|
# ```
|
2318
2375
|
|
2376
|
+
# 输入示例2(表格表头宽度比例配置):
|
2377
|
+
|
2378
|
+
# ```
|
2379
|
+
# {
|
2380
|
+
# "headers":[
|
2381
|
+
# {
|
2382
|
+
# "content":"head1",
|
2383
|
+
# "widthPercent": 30
|
2384
|
+
# },
|
2385
|
+
# {
|
2386
|
+
# "content":"head2",
|
2387
|
+
# "widthPercent": 30
|
2388
|
+
# },
|
2389
|
+
# {
|
2390
|
+
# "content":"head3",
|
2391
|
+
# "widthPercent": 40
|
2392
|
+
# }
|
2393
|
+
# ],
|
2394
|
+
# "rowCount":3,
|
2395
|
+
# "body":{
|
2396
|
+
# "cells":[
|
2397
|
+
# {
|
2398
|
+
# "rowStart":1,
|
2399
|
+
# "rowEnd":1,
|
2400
|
+
# "columnStart":1,
|
2401
|
+
# "columnEnd":1,
|
2402
|
+
# "content":"123"
|
2403
|
+
# },
|
2404
|
+
# {
|
2405
|
+
# "rowStart":2,
|
2406
|
+
# "rowEnd":3,
|
2407
|
+
# "columnStart":1,
|
2408
|
+
# "columnEnd":2,
|
2409
|
+
# "content":"456"
|
2410
|
+
# },
|
2411
|
+
# {
|
2412
|
+
# "rowStart":3,
|
2413
|
+
# "rowEnd":3,
|
2414
|
+
# "columnStart":3,
|
2415
|
+
# "columnEnd":3,
|
2416
|
+
# "content":"789"
|
2417
|
+
# }
|
2418
|
+
# ]
|
2419
|
+
# }
|
2420
|
+
# }
|
2421
|
+
|
2422
|
+
# ```
|
2319
2423
|
# 表格参数说明
|
2320
2424
|
|
2321
2425
|
# | 名称 | 类型 | 描述 |
|
@@ -2327,6 +2431,13 @@ module TencentCloud
|
|
2327
2431
|
# | cells.N.columnStart | Integer | 单元格坐标:列起始index |
|
2328
2432
|
# | cells.N.columnEnd | Integer | 单元格坐标:列结束index |
|
2329
2433
|
# | cells.N.content | String | 单元格内容,字数不超过100 |
|
2434
|
+
|
2435
|
+
# 表格参数headers说明
|
2436
|
+
|
2437
|
+
# | 名称 | 类型 | 描述 |
|
2438
|
+
# | ------------------- | ------- | ------------------------------------------------- |
|
2439
|
+
# | widthPercent | Integer | 表头单元格列占总表头的比例,例如1:30表示 此列占表头的30%,不填写时列宽度平均拆分;例如2:总2列,某一列填写40,剩余列可以为空,按照60计算。;例如3:总3列,某一列填写30,剩余2列可以为空,分别为(100-30)/2=35 |
|
2440
|
+
# | content | String | 表头单元格内容,字数不超过100 |
|
2330
2441
|
class FlowInfo < TencentCloud::Common::AbstractModel
|
2331
2442
|
# @param FlowName: 合同名字,最大长度200个字符
|
2332
2443
|
# @type FlowName: String
|
@@ -3378,10 +3489,13 @@ module TencentCloud
|
|
3378
3489
|
# @param PreviewUrl: 模板的H5预览链接,可以通过浏览器打开此链接预览模板,或者嵌入到iframe中预览模板。
|
3379
3490
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3380
3491
|
# @type PreviewUrl: String
|
3492
|
+
# @param ChannelTemplateId: 渠道模板ID
|
3493
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3494
|
+
# @type ChannelTemplateId: String
|
3381
3495
|
|
3382
|
-
attr_accessor :TemplateId, :TemplateName, :Description, :Components, :SignComponents, :Recipients, :TemplateType, :IsPromoter, :Creator, :CreatedOn, :PreviewUrl
|
3496
|
+
attr_accessor :TemplateId, :TemplateName, :Description, :Components, :SignComponents, :Recipients, :TemplateType, :IsPromoter, :Creator, :CreatedOn, :PreviewUrl, :ChannelTemplateId
|
3383
3497
|
|
3384
|
-
def initialize(templateid=nil, templatename=nil, description=nil, components=nil, signcomponents=nil, recipients=nil, templatetype=nil, ispromoter=nil, creator=nil, createdon=nil, previewurl=nil)
|
3498
|
+
def initialize(templateid=nil, templatename=nil, description=nil, components=nil, signcomponents=nil, recipients=nil, templatetype=nil, ispromoter=nil, creator=nil, createdon=nil, previewurl=nil, channeltemplateid=nil)
|
3385
3499
|
@TemplateId = templateid
|
3386
3500
|
@TemplateName = templatename
|
3387
3501
|
@Description = description
|
@@ -3393,6 +3507,7 @@ module TencentCloud
|
|
3393
3507
|
@Creator = creator
|
3394
3508
|
@CreatedOn = createdon
|
3395
3509
|
@PreviewUrl = previewurl
|
3510
|
+
@ChannelTemplateId = channeltemplateid
|
3396
3511
|
end
|
3397
3512
|
|
3398
3513
|
def deserialize(params)
|
@@ -3428,6 +3543,7 @@ module TencentCloud
|
|
3428
3543
|
@Creator = params['Creator']
|
3429
3544
|
@CreatedOn = params['CreatedOn']
|
3430
3545
|
@PreviewUrl = params['PreviewUrl']
|
3546
|
+
@ChannelTemplateId = params['ChannelTemplateId']
|
3431
3547
|
end
|
3432
3548
|
end
|
3433
3549
|
|
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.
|
4
|
+
version: 3.0.456
|
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-
|
11
|
+
date: 2022-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|