tencentcloud-sdk-ess 3.0.468 → 3.0.470
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201111/client.rb +1 -113
- data/lib/v20201111/models.rb +132 -17
- 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: d4c8afcb1750d6bfed16b0f22dd722f917e76d67
|
4
|
+
data.tar.gz: d4bedd7de581f29c246ef1ff99284f450ad22e8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81a344e420d79f3af39b27cc0f9016625a33afa4c0b2d248b31f61111d2a8a168946af60134e23eceb20b3b62eaa0d0667a7e5eb7c3b4fd875125f3c088beff0
|
7
|
+
data.tar.gz: 2c1df8bd212292e5aa2e4933155f1178f599f50088f1cacc7413da4f3995e0c82edb06c5f2d8ba3bfc8d68164c8dc5cfb012ba3137769bff064e79c32c58cdd3
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.470
|
data/lib/v20201111/client.rb
CHANGED
@@ -133,118 +133,6 @@ module TencentCloud
|
|
133
133
|
|
134
134
|
# 注:该接口需要给对应的流程指定一个模板id,并且填充该模板中需要补充的信息。是“发起流程”接口的前置接口。
|
135
135
|
|
136
|
-
# 【动态表格传参说明】
|
137
|
-
# 当模板的 ComponentType='DYNAMIC_TABLE'时(渠道版或集成版),FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充动态表格(支持内容的单元格合并)
|
138
|
-
# 输入示例1:
|
139
|
-
|
140
|
-
# ```
|
141
|
-
# {
|
142
|
-
# "headers":[
|
143
|
-
# {
|
144
|
-
# "content":"head1"
|
145
|
-
# },
|
146
|
-
# {
|
147
|
-
# "content":"head2"
|
148
|
-
# },
|
149
|
-
# {
|
150
|
-
# "content":"head3"
|
151
|
-
# }
|
152
|
-
# ],
|
153
|
-
# "rowCount":3,
|
154
|
-
# "body":{
|
155
|
-
# "cells":[
|
156
|
-
# {
|
157
|
-
# "rowStart":1,
|
158
|
-
# "rowEnd":1,
|
159
|
-
# "columnStart":1,
|
160
|
-
# "columnEnd":1,
|
161
|
-
# "content":"123"
|
162
|
-
# },
|
163
|
-
# {
|
164
|
-
# "rowStart":2,
|
165
|
-
# "rowEnd":3,
|
166
|
-
# "columnStart":1,
|
167
|
-
# "columnEnd":2,
|
168
|
-
# "content":"456"
|
169
|
-
# },
|
170
|
-
# {
|
171
|
-
# "rowStart":3,
|
172
|
-
# "rowEnd":3,
|
173
|
-
# "columnStart":3,
|
174
|
-
# "columnEnd":3,
|
175
|
-
# "content":"789"
|
176
|
-
# }
|
177
|
-
# ]
|
178
|
-
# }
|
179
|
-
# }
|
180
|
-
|
181
|
-
# ```
|
182
|
-
|
183
|
-
# 输入示例2(表格表头宽度比例配置):
|
184
|
-
|
185
|
-
# ```
|
186
|
-
# {
|
187
|
-
# "headers":[
|
188
|
-
# {
|
189
|
-
# "content":"head1",
|
190
|
-
# "widthPercent": 30
|
191
|
-
# },
|
192
|
-
# {
|
193
|
-
# "content":"head2",
|
194
|
-
# "widthPercent": 30
|
195
|
-
# },
|
196
|
-
# {
|
197
|
-
# "content":"head3",
|
198
|
-
# "widthPercent": 40
|
199
|
-
# }
|
200
|
-
# ],
|
201
|
-
# "rowCount":3,
|
202
|
-
# "body":{
|
203
|
-
# "cells":[
|
204
|
-
# {
|
205
|
-
# "rowStart":1,
|
206
|
-
# "rowEnd":1,
|
207
|
-
# "columnStart":1,
|
208
|
-
# "columnEnd":1,
|
209
|
-
# "content":"123"
|
210
|
-
# },
|
211
|
-
# {
|
212
|
-
# "rowStart":2,
|
213
|
-
# "rowEnd":3,
|
214
|
-
# "columnStart":1,
|
215
|
-
# "columnEnd":2,
|
216
|
-
# "content":"456"
|
217
|
-
# },
|
218
|
-
# {
|
219
|
-
# "rowStart":3,
|
220
|
-
# "rowEnd":3,
|
221
|
-
# "columnStart":3,
|
222
|
-
# "columnEnd":3,
|
223
|
-
# "content":"789"
|
224
|
-
# }
|
225
|
-
# ]
|
226
|
-
# }
|
227
|
-
# }
|
228
|
-
|
229
|
-
# ```
|
230
|
-
# 表格参数说明
|
231
|
-
|
232
|
-
# | 名称 | 类型 | 描述 |
|
233
|
-
# | ------------------- | ------- | ------------------------------------------------- |
|
234
|
-
# | headers | Array | 表头:不超过10列,不支持单元格合并,字数不超过100 |
|
235
|
-
# | rowCount | Integer | 表格内容最大行数 |
|
236
|
-
# | cells.N.rowStart | Integer | 单元格坐标:行起始index |
|
237
|
-
# | cells.N.rowEnd | Integer | 单元格坐标:行结束index |
|
238
|
-
# | cells.N.columnStart | Integer | 单元格坐标:列起始index |
|
239
|
-
# | cells.N.columnEnd | Integer | 单元格坐标:列结束index |
|
240
|
-
# | cells.N.content | String | 单元格内容,字数不超过100 |
|
241
|
-
|
242
|
-
# 表格参数headers说明
|
243
|
-
# | 名称 | 类型 | 描述 |
|
244
|
-
# | ------------------- | ------- | ------------------------------------------------- |
|
245
|
-
# | widthPercent | Integer | 表头单元格列占总表头的比例,例如1:30表示 此列占表头的30%,不填写时列宽度平均拆分;例如2:总2列,某一列填写40,剩余列可以为空,按照60计算。;例如3:总3列,某一列填写30,剩余2列可以为空,分别为(100-30)/2=35 |
|
246
|
-
# | content | String | 表头单元格内容,字数不超过100 |
|
247
|
-
|
248
136
|
# @param request: Request instance for CreateDocument.
|
249
137
|
# @type request: :class:`Tencentcloud::ess::V20201111::CreateDocumentRequest`
|
250
138
|
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateDocumentResponse`
|
@@ -782,7 +670,7 @@ module TencentCloud
|
|
782
670
|
|
783
671
|
# 此接口(UploadFiles)用于文件上传。
|
784
672
|
# 适用场景:用于生成pdf资源编号(FileIds)来配合“用PDF创建流程”接口使用,使用场景可详见“用PDF创建流程”接口说明。
|
785
|
-
# 调用时需要设置Domain
|
673
|
+
# 调用时需要设置Domain/接口请求域名为 file.ess.tencent.cn,并设置参数Version/版本号为2020-12-22
|
786
674
|
|
787
675
|
# @param request: Request instance for UploadFiles.
|
788
676
|
# @type request: :class:`Tencentcloud::ess::V20201111::UploadFilesRequest`
|
data/lib/v20201111/models.rb
CHANGED
@@ -1259,7 +1259,7 @@ module TencentCloud
|
|
1259
1259
|
class CreatePrepareFlowRequest < TencentCloud::Common::AbstractModel
|
1260
1260
|
# @param Operator: 调用方用户信息,userId 必填
|
1261
1261
|
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1262
|
-
# @param ResourceId: 资源Id
|
1262
|
+
# @param ResourceId: 资源Id,通过多文件上传(UploadFiles)接口获得
|
1263
1263
|
# @type ResourceId: String
|
1264
1264
|
# @param FlowName: 合同名称
|
1265
1265
|
# @type FlowName: String
|
@@ -2525,7 +2525,117 @@ module TencentCloud
|
|
2525
2525
|
end
|
2526
2526
|
end
|
2527
2527
|
|
2528
|
-
#
|
2528
|
+
# 电子文档的控件填充信息。按照控件类型进行相应的填充。
|
2529
|
+
|
2530
|
+
# 【数据表格传参说明】
|
2531
|
+
# 当模板的 ComponentType='DYNAMIC_TABLE'时(渠道版或集成版),FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充数据表格(支持内容的单元格合并)
|
2532
|
+
# 输入示例1:
|
2533
|
+
|
2534
|
+
# ```
|
2535
|
+
# {
|
2536
|
+
# "headers":[
|
2537
|
+
# {
|
2538
|
+
# "content":"head1"
|
2539
|
+
# },
|
2540
|
+
# {
|
2541
|
+
# "content":"head2"
|
2542
|
+
# },
|
2543
|
+
# {
|
2544
|
+
# "content":"head3"
|
2545
|
+
# }
|
2546
|
+
# ],
|
2547
|
+
# "rowCount":3,
|
2548
|
+
# "body":{
|
2549
|
+
# "cells":[
|
2550
|
+
# {
|
2551
|
+
# "rowStart":1,
|
2552
|
+
# "rowEnd":1,
|
2553
|
+
# "columnStart":1,
|
2554
|
+
# "columnEnd":1,
|
2555
|
+
# "content":"123"
|
2556
|
+
# },
|
2557
|
+
# {
|
2558
|
+
# "rowStart":2,
|
2559
|
+
# "rowEnd":3,
|
2560
|
+
# "columnStart":1,
|
2561
|
+
# "columnEnd":2,
|
2562
|
+
# "content":"456"
|
2563
|
+
# },
|
2564
|
+
# {
|
2565
|
+
# "rowStart":3,
|
2566
|
+
# "rowEnd":3,
|
2567
|
+
# "columnStart":3,
|
2568
|
+
# "columnEnd":3,
|
2569
|
+
# "content":"789"
|
2570
|
+
# }
|
2571
|
+
# ]
|
2572
|
+
# }
|
2573
|
+
# }
|
2574
|
+
|
2575
|
+
# ```
|
2576
|
+
|
2577
|
+
# 输入示例2(表格表头宽度比例配置):
|
2578
|
+
|
2579
|
+
# ```
|
2580
|
+
# {
|
2581
|
+
# "headers":[
|
2582
|
+
# {
|
2583
|
+
# "content":"head1",
|
2584
|
+
# "widthPercent": 30
|
2585
|
+
# },
|
2586
|
+
# {
|
2587
|
+
# "content":"head2",
|
2588
|
+
# "widthPercent": 30
|
2589
|
+
# },
|
2590
|
+
# {
|
2591
|
+
# "content":"head3",
|
2592
|
+
# "widthPercent": 40
|
2593
|
+
# }
|
2594
|
+
# ],
|
2595
|
+
# "rowCount":3,
|
2596
|
+
# "body":{
|
2597
|
+
# "cells":[
|
2598
|
+
# {
|
2599
|
+
# "rowStart":1,
|
2600
|
+
# "rowEnd":1,
|
2601
|
+
# "columnStart":1,
|
2602
|
+
# "columnEnd":1,
|
2603
|
+
# "content":"123"
|
2604
|
+
# },
|
2605
|
+
# {
|
2606
|
+
# "rowStart":2,
|
2607
|
+
# "rowEnd":3,
|
2608
|
+
# "columnStart":1,
|
2609
|
+
# "columnEnd":2,
|
2610
|
+
# "content":"456"
|
2611
|
+
# },
|
2612
|
+
# {
|
2613
|
+
# "rowStart":3,
|
2614
|
+
# "rowEnd":3,
|
2615
|
+
# "columnStart":3,
|
2616
|
+
# "columnEnd":3,
|
2617
|
+
# "content":"789"
|
2618
|
+
# }
|
2619
|
+
# ]
|
2620
|
+
# }
|
2621
|
+
# }
|
2622
|
+
|
2623
|
+
# ```
|
2624
|
+
# 表格参数说明
|
2625
|
+
|
2626
|
+
# | 名称 | 类型 | 描述 |
|
2627
|
+
# | ------------------- | ------- | ------------------------------------------------- |
|
2628
|
+
# | headers | Array | 表头:不超过10列,不支持单元格合并,字数不超过100 |
|
2629
|
+
# | rowCount | Integer | 表格内容最大行数 |
|
2630
|
+
# | cells.N.rowStart | Integer | 单元格坐标:行起始index |
|
2631
|
+
# | cells.N.rowEnd | Integer | 单元格坐标:行结束index |
|
2632
|
+
# | cells.N.columnStart | Integer | 单元格坐标:列起始index |
|
2633
|
+
# | cells.N.columnEnd | Integer | 单元格坐标:列结束index |
|
2634
|
+
# | cells.N.content | String | 单元格内容,字数不超过100 |
|
2635
|
+
|
2636
|
+
# 表格参数headers说明
|
2637
|
+
# widthPercent Integer 表头单元格列占总表头的比例,例如1:30表示 此列占表头的30%,不填写时列宽度平均拆分;例如2:总2列,某一列填写40,剩余列可以为空,按照60计算。;例如3:总3列,某一列填写30,剩余2列可以为空,分别为(100-30)/2=35
|
2638
|
+
# content String 表头单元格内容,字数不超过100
|
2529
2639
|
class FormField < TencentCloud::Common::AbstractModel
|
2530
2640
|
# @param ComponentValue: 控件填充vaule,ComponentType和传入值类型对应关系:
|
2531
2641
|
# TEXT - 文本内容
|
@@ -2956,10 +3066,13 @@ module TencentCloud
|
|
2956
3066
|
# @param VerifiedOn: 员工实名时间戳
|
2957
3067
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2958
3068
|
# @type VerifiedOn: Integer
|
3069
|
+
# @param QuiteJob: 员工是否离职:0-未离职,1-离职
|
3070
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3071
|
+
# @type QuiteJob: Integer
|
2959
3072
|
|
2960
|
-
attr_accessor :UserId, :DisplayName, :Mobile, :Email, :OpenId, :Roles, :Department, :Verified, :CreatedOn, :VerifiedOn
|
3073
|
+
attr_accessor :UserId, :DisplayName, :Mobile, :Email, :OpenId, :Roles, :Department, :Verified, :CreatedOn, :VerifiedOn, :QuiteJob
|
2961
3074
|
|
2962
|
-
def initialize(userid=nil, displayname=nil, mobile=nil, email=nil, openid=nil, roles=nil, department=nil, verified=nil, createdon=nil, verifiedon=nil)
|
3075
|
+
def initialize(userid=nil, displayname=nil, mobile=nil, email=nil, openid=nil, roles=nil, department=nil, verified=nil, createdon=nil, verifiedon=nil, quitejob=nil)
|
2963
3076
|
@UserId = userid
|
2964
3077
|
@DisplayName = displayname
|
2965
3078
|
@Mobile = mobile
|
@@ -2970,6 +3083,7 @@ module TencentCloud
|
|
2970
3083
|
@Verified = verified
|
2971
3084
|
@CreatedOn = createdon
|
2972
3085
|
@VerifiedOn = verifiedon
|
3086
|
+
@QuiteJob = quitejob
|
2973
3087
|
end
|
2974
3088
|
|
2975
3089
|
def deserialize(params)
|
@@ -2993,6 +3107,7 @@ module TencentCloud
|
|
2993
3107
|
@Verified = params['Verified']
|
2994
3108
|
@CreatedOn = params['CreatedOn']
|
2995
3109
|
@VerifiedOn = params['VerifiedOn']
|
3110
|
+
@QuiteJob = params['QuiteJob']
|
2996
3111
|
end
|
2997
3112
|
end
|
2998
3113
|
|
@@ -3255,32 +3370,32 @@ module TencentCloud
|
|
3255
3370
|
# 2. DOCUMENT - 签署过程及签署后的合同文档/图片控件 文件类型:.pdf/.doc/.docx/.jpg/.png/.xls.xlsx/.html
|
3256
3371
|
# 3. SEAL - 印章; 文件类型:.jpg/.jpeg/.png
|
3257
3372
|
# @type BusinessType: String
|
3258
|
-
# @param Caller:
|
3373
|
+
# @param Caller: 调用方信息,其中OperatorId为必填字段,即用户的UserId
|
3259
3374
|
# @type Caller: :class:`Tencentcloud::Ess.v20201111.models.Caller`
|
3260
3375
|
# @param FileInfos: 上传文件内容数组,最多支持20个文件
|
3261
3376
|
# @type FileInfos: Array
|
3262
|
-
# @param FileUrls: 不再使用,上传文件链接数组,最多支持20个URL
|
3263
|
-
# @type FileUrls: String
|
3264
|
-
# @param CoverRect: 此参数只对 PDF 文件有效。是否将pdf灰色矩阵置白
|
3265
|
-
# true--是,处理置白
|
3266
|
-
# false--否,不处理
|
3267
|
-
# @type CoverRect: Boolean
|
3268
3377
|
# @param FileType: 文件类型, 默认通过文件内容解析得到文件类型,客户可以显示的说明上传文件的类型。
|
3269
3378
|
# 如:PDF 表示上传的文件 xxx.pdf的文件类型是 PDF
|
3270
3379
|
# @type FileType: String
|
3380
|
+
# @param CoverRect: 此参数只对 PDF 文件有效。是否将pdf灰色矩阵置白
|
3381
|
+
# true--是,处理置白
|
3382
|
+
# 默认为false--否,不处理
|
3383
|
+
# @type CoverRect: Boolean
|
3271
3384
|
# @param CustomIds: 用户自定义ID数组,与上传文件一一对应
|
3272
3385
|
# @type CustomIds: Array
|
3386
|
+
# @param FileUrls: 不再使用,上传文件链接数组,最多支持20个URL
|
3387
|
+
# @type FileUrls: String
|
3273
3388
|
|
3274
|
-
attr_accessor :BusinessType, :Caller, :FileInfos, :
|
3389
|
+
attr_accessor :BusinessType, :Caller, :FileInfos, :FileType, :CoverRect, :CustomIds, :FileUrls
|
3275
3390
|
|
3276
|
-
def initialize(businesstype=nil, caller=nil, fileinfos=nil,
|
3391
|
+
def initialize(businesstype=nil, caller=nil, fileinfos=nil, filetype=nil, coverrect=nil, customids=nil, fileurls=nil)
|
3277
3392
|
@BusinessType = businesstype
|
3278
3393
|
@Caller = caller
|
3279
3394
|
@FileInfos = fileinfos
|
3280
|
-
@FileUrls = fileurls
|
3281
|
-
@CoverRect = coverrect
|
3282
3395
|
@FileType = filetype
|
3396
|
+
@CoverRect = coverrect
|
3283
3397
|
@CustomIds = customids
|
3398
|
+
@FileUrls = fileurls
|
3284
3399
|
end
|
3285
3400
|
|
3286
3401
|
def deserialize(params)
|
@@ -3297,10 +3412,10 @@ module TencentCloud
|
|
3297
3412
|
@FileInfos << uploadfile_tmp
|
3298
3413
|
end
|
3299
3414
|
end
|
3300
|
-
@FileUrls = params['FileUrls']
|
3301
|
-
@CoverRect = params['CoverRect']
|
3302
3415
|
@FileType = params['FileType']
|
3416
|
+
@CoverRect = params['CoverRect']
|
3303
3417
|
@CustomIds = params['CustomIds']
|
3418
|
+
@FileUrls = params['FileUrls']
|
3304
3419
|
end
|
3305
3420
|
end
|
3306
3421
|
|
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.
|
4
|
+
version: 3.0.470
|
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-12-
|
11
|
+
date: 2022-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|