tencentcloud-sdk-ess 3.0.469 → 3.0.470
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/v20201111/client.rb +1 -113
- data/lib/v20201111/models.rb +125 -15
- metadata +1 -1
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 - 文本内容
|
|
@@ -3260,32 +3370,32 @@ module TencentCloud
|
|
|
3260
3370
|
# 2. DOCUMENT - 签署过程及签署后的合同文档/图片控件 文件类型:.pdf/.doc/.docx/.jpg/.png/.xls.xlsx/.html
|
|
3261
3371
|
# 3. SEAL - 印章; 文件类型:.jpg/.jpeg/.png
|
|
3262
3372
|
# @type BusinessType: String
|
|
3263
|
-
# @param Caller:
|
|
3373
|
+
# @param Caller: 调用方信息,其中OperatorId为必填字段,即用户的UserId
|
|
3264
3374
|
# @type Caller: :class:`Tencentcloud::Ess.v20201111.models.Caller`
|
|
3265
3375
|
# @param FileInfos: 上传文件内容数组,最多支持20个文件
|
|
3266
3376
|
# @type FileInfos: Array
|
|
3267
|
-
# @param FileUrls: 不再使用,上传文件链接数组,最多支持20个URL
|
|
3268
|
-
# @type FileUrls: String
|
|
3269
|
-
# @param CoverRect: 此参数只对 PDF 文件有效。是否将pdf灰色矩阵置白
|
|
3270
|
-
# true--是,处理置白
|
|
3271
|
-
# false--否,不处理
|
|
3272
|
-
# @type CoverRect: Boolean
|
|
3273
3377
|
# @param FileType: 文件类型, 默认通过文件内容解析得到文件类型,客户可以显示的说明上传文件的类型。
|
|
3274
3378
|
# 如:PDF 表示上传的文件 xxx.pdf的文件类型是 PDF
|
|
3275
3379
|
# @type FileType: String
|
|
3380
|
+
# @param CoverRect: 此参数只对 PDF 文件有效。是否将pdf灰色矩阵置白
|
|
3381
|
+
# true--是,处理置白
|
|
3382
|
+
# 默认为false--否,不处理
|
|
3383
|
+
# @type CoverRect: Boolean
|
|
3276
3384
|
# @param CustomIds: 用户自定义ID数组,与上传文件一一对应
|
|
3277
3385
|
# @type CustomIds: Array
|
|
3386
|
+
# @param FileUrls: 不再使用,上传文件链接数组,最多支持20个URL
|
|
3387
|
+
# @type FileUrls: String
|
|
3278
3388
|
|
|
3279
|
-
attr_accessor :BusinessType, :Caller, :FileInfos, :
|
|
3389
|
+
attr_accessor :BusinessType, :Caller, :FileInfos, :FileType, :CoverRect, :CustomIds, :FileUrls
|
|
3280
3390
|
|
|
3281
|
-
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)
|
|
3282
3392
|
@BusinessType = businesstype
|
|
3283
3393
|
@Caller = caller
|
|
3284
3394
|
@FileInfos = fileinfos
|
|
3285
|
-
@FileUrls = fileurls
|
|
3286
|
-
@CoverRect = coverrect
|
|
3287
3395
|
@FileType = filetype
|
|
3396
|
+
@CoverRect = coverrect
|
|
3288
3397
|
@CustomIds = customids
|
|
3398
|
+
@FileUrls = fileurls
|
|
3289
3399
|
end
|
|
3290
3400
|
|
|
3291
3401
|
def deserialize(params)
|
|
@@ -3302,10 +3412,10 @@ module TencentCloud
|
|
|
3302
3412
|
@FileInfos << uploadfile_tmp
|
|
3303
3413
|
end
|
|
3304
3414
|
end
|
|
3305
|
-
@FileUrls = params['FileUrls']
|
|
3306
|
-
@CoverRect = params['CoverRect']
|
|
3307
3415
|
@FileType = params['FileType']
|
|
3416
|
+
@CoverRect = params['CoverRect']
|
|
3308
3417
|
@CustomIds = params['CustomIds']
|
|
3418
|
+
@FileUrls = params['FileUrls']
|
|
3309
3419
|
end
|
|
3310
3420
|
end
|
|
3311
3421
|
|