tencentcloud-sdk-ess 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/v20201111/client.rb +112 -0
- data/lib/v20201111/models.rb +6 -2
- 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: cdb387d92f49062d7d8379a49809ac882c7b61b9
|
4
|
+
data.tar.gz: b259a9e53c942c4a6cf5b0bf605443a1e6c4a757
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23f9b478b7af4fdd8c4f92e8bfb49fe0dc7b0bc58b52f938df3603e3c85730358ea34a82c9a7d68cd8a037e72b30d0ce19de6db899e0066dc36f7e56d17cf36b
|
7
|
+
data.tar.gz: 0bc22a27b09363aad40f8bedd37eb7d6cb50baca66cd862f3673789295def118f78d154be0cd594b3a3562ca6fec5b6807108ddb0159a57070f957104b979667
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.456
|
data/lib/v20201111/client.rb
CHANGED
@@ -133,6 +133,118 @@ 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
|
+
|
136
248
|
# @param request: Request instance for CreateDocument.
|
137
249
|
# @type request: :class:`Tencentcloud::ess::V20201111::CreateDocumentRequest`
|
138
250
|
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateDocumentResponse`
|
data/lib/v20201111/models.rb
CHANGED
@@ -768,10 +768,12 @@ module TencentCloud
|
|
768
768
|
# @type ApproverVerifyType: String
|
769
769
|
# @param FlowDescription: 签署流程描述,最大长度1000个字符
|
770
770
|
# @type FlowDescription: String
|
771
|
+
# @param SignBeanTag: 标识是否允许发起后添加控件。0为不允许1为允许。如果为1,创建的时候不能有签署控件,只能创建后添加。注意发起后添加控件功能不支持添加骑缝章和签批控件
|
772
|
+
# @type SignBeanTag: Integer
|
771
773
|
|
772
|
-
attr_accessor :Operator, :FlowName, :Approvers, :FileIds, :FlowType, :Components, :CcInfos, :NeedPreview, :PreviewType, :Deadline, :Unordered, :CustomShowMap, :NeedSignReview, :UserData, :Agent, :ApproverVerifyType, :FlowDescription
|
774
|
+
attr_accessor :Operator, :FlowName, :Approvers, :FileIds, :FlowType, :Components, :CcInfos, :NeedPreview, :PreviewType, :Deadline, :Unordered, :CustomShowMap, :NeedSignReview, :UserData, :Agent, :ApproverVerifyType, :FlowDescription, :SignBeanTag
|
773
775
|
|
774
|
-
def initialize(operator=nil, flowname=nil, approvers=nil, fileids=nil, flowtype=nil, components=nil, ccinfos=nil, needpreview=nil, previewtype=nil, deadline=nil, unordered=nil, customshowmap=nil, needsignreview=nil, userdata=nil, agent=nil, approververifytype=nil, flowdescription=nil)
|
776
|
+
def initialize(operator=nil, flowname=nil, approvers=nil, fileids=nil, flowtype=nil, components=nil, ccinfos=nil, needpreview=nil, previewtype=nil, deadline=nil, unordered=nil, customshowmap=nil, needsignreview=nil, userdata=nil, agent=nil, approververifytype=nil, flowdescription=nil, signbeantag=nil)
|
775
777
|
@Operator = operator
|
776
778
|
@FlowName = flowname
|
777
779
|
@Approvers = approvers
|
@@ -789,6 +791,7 @@ module TencentCloud
|
|
789
791
|
@Agent = agent
|
790
792
|
@ApproverVerifyType = approververifytype
|
791
793
|
@FlowDescription = flowdescription
|
794
|
+
@SignBeanTag = signbeantag
|
792
795
|
end
|
793
796
|
|
794
797
|
def deserialize(params)
|
@@ -836,6 +839,7 @@ module TencentCloud
|
|
836
839
|
end
|
837
840
|
@ApproverVerifyType = params['ApproverVerifyType']
|
838
841
|
@FlowDescription = params['FlowDescription']
|
842
|
+
@SignBeanTag = params['SignBeanTag']
|
839
843
|
end
|
840
844
|
end
|
841
845
|
|
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.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
|