tencentcloud-sdk-essbasic 3.0.379 → 3.0.385

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2ef52d0c4654b37435a1fa61c51ada75ae4e9e42
4
- data.tar.gz: 4065113060fd0c52f711dd62d2fbd76f9a60b7f1
3
+ metadata.gz: 7bc37b6957faa2c196380b65d818619624ebf831
4
+ data.tar.gz: 3133b6e9162de172739bd60f009e701b7edd4c9f
5
5
  SHA512:
6
- metadata.gz: 96d74cff3ba986a8eb0ff0a12d3d03903d1105c2ba4affc945424dcbb26413de5a79adbd34a6e5f9e80de7d411c83eafdf0df4fd57578d57014f7924deb7774b
7
- data.tar.gz: 82c8b594687ef527a09696ea531e5e7fbdbc4ce73aed21652187054259b342e8d0d24e48345807f3642ebf8603e86ba0927c02d868aeced5d374c69d4c69f22c
6
+ metadata.gz: 28d51739d4d572be273ba08a0e8a4fafc4792c51f91636fce6c7eefc7f7ac080d97aead4ef8b2102d207a7c2a49da6125993a59974a7a7c668d20798931189de
7
+ data.tar.gz: 780d9b40688841815053c1c7751f6e9670a2d20e70fd5f80318304e3a6a158132883b5eae23333fab77d7d1552eed4abf2d4a064a81825bb8a17df0414aa9b72
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.379
1
+ 3.0.385
@@ -53,8 +53,8 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
- # 指定需要批量撤回的签署流程Id,获取批量撤销链接
57
- # 客户指定需要撤回的签署流程Id,最多100个,超过100不处理;接口调用成功返回批量撤回合同的链接,通过链接跳转到电子签小程序完成批量撤回
56
+ # 指定需要批量撤销的签署流程Id,获取批量撤销链接
57
+ # 客户指定需要撤销的签署流程Id,最多100个,超过100不处理;接口调用成功返回批量撤销合同的链接,通过链接跳转到电子签小程序完成批量撤销
58
58
 
59
59
  # @param request: Request instance for ChannelCreateBatchCancelFlowUrl.
60
60
  # @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateBatchCancelFlowUrlRequest`
@@ -78,6 +78,30 @@ module TencentCloud
78
78
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
79
79
  end
80
80
 
81
+ # 渠道创建文件转换任务
82
+
83
+ # @param request: Request instance for ChannelCreateConvertTaskApi.
84
+ # @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateConvertTaskApiRequest`
85
+ # @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateConvertTaskApiResponse`
86
+ def ChannelCreateConvertTaskApi(request)
87
+ body = send_request('ChannelCreateConvertTaskApi', request.serialize)
88
+ response = JSON.parse(body)
89
+ if response['Response'].key?('Error') == false
90
+ model = ChannelCreateConvertTaskApiResponse.new
91
+ model.deserialize(response['Response'])
92
+ model
93
+ else
94
+ code = response['Response']['Error']['Code']
95
+ message = response['Response']['Error']['Message']
96
+ reqid = response['Response']['RequestId']
97
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
98
+ end
99
+ rescue TencentCloud::Common::TencentCloudSDKException => e
100
+ raise e
101
+ rescue StandardError => e
102
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
103
+ end
104
+
81
105
  # 接口(ChannelCreateFlowByFiles)用于渠道版通过文件创建签署流程。此接口不可直接使用,需要运营申请
82
106
 
83
107
  # @param request: Request instance for ChannelCreateFlowByFiles.
@@ -127,6 +151,30 @@ module TencentCloud
127
151
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
128
152
  end
129
153
 
154
+ # 渠道版查询转换任务状态
155
+
156
+ # @param request: Request instance for ChannelGetTaskResultApi.
157
+ # @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelGetTaskResultApiRequest`
158
+ # @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelGetTaskResultApiResponse`
159
+ def ChannelGetTaskResultApi(request)
160
+ body = send_request('ChannelGetTaskResultApi', request.serialize)
161
+ response = JSON.parse(body)
162
+ if response['Response'].key?('Error') == false
163
+ model = ChannelGetTaskResultApiResponse.new
164
+ model.deserialize(response['Response'])
165
+ model
166
+ else
167
+ code = response['Response']['Error']['Code']
168
+ message = response['Response']['Error']['Message']
169
+ reqid = response['Response']['RequestId']
170
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
171
+ end
172
+ rescue TencentCloud::Common::TencentCloudSDKException => e
173
+ raise e
174
+ rescue StandardError => e
175
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
176
+ end
177
+
130
178
  # 此接口(CreateConsoleLoginUrl)用于创建电子签控制台登录链接。若企业未激活,调用同步企业信息、同步经办人信息
131
179
 
132
180
  # @param request: Request instance for CreateConsoleLoginUrl.
@@ -194,11 +194,11 @@ module TencentCloud
194
194
 
195
195
  # ChannelCreateBatchCancelFlowUrl返回参数结构体
196
196
  class ChannelCreateBatchCancelFlowUrlResponse < TencentCloud::Common::AbstractModel
197
- # @param BatchCancelFlowUrl: 批量撤回url
197
+ # @param BatchCancelFlowUrl: 批量撤销url
198
198
  # @type BatchCancelFlowUrl: String
199
- # @param FailMessages: 签署流程批量撤回失败原因
199
+ # @param FailMessages: 签署流程批量撤销失败原因
200
200
  # @type FailMessages: Array
201
- # @param UrlExpireOn: 签署撤回url过期时间-年月日-时分秒
201
+ # @param UrlExpireOn: 签署撤销url过期时间-年月日-时分秒
202
202
  # @type UrlExpireOn: String
203
203
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
204
204
  # @type RequestId: String
@@ -220,9 +220,74 @@ module TencentCloud
220
220
  end
221
221
  end
222
222
 
223
+ # ChannelCreateConvertTaskApi请求参数结构体
224
+ class ChannelCreateConvertTaskApiRequest < TencentCloud::Common::AbstractModel
225
+ # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
226
+ # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
227
+ # @param ResourceType: 资源类型 取值范围doc,docx,html之一
228
+ # @type ResourceType: String
229
+ # @param ResourceName: 资源名称,长度限制为256字符
230
+ # @type ResourceName: String
231
+ # @param ResourceId: 资源Id,通过UploadFiles获取
232
+ # @type ResourceId: String
233
+ # @param Operator: 操作者信息
234
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
235
+ # @param Organization: 暂未开放
236
+ # @type Organization: :class:`Tencentcloud::Essbasic.v20210526.models.OrganizationInfo`
237
+
238
+ attr_accessor :Agent, :ResourceType, :ResourceName, :ResourceId, :Operator, :Organization
239
+
240
+ def initialize(agent=nil, resourcetype=nil, resourcename=nil, resourceid=nil, operator=nil, organization=nil)
241
+ @Agent = agent
242
+ @ResourceType = resourcetype
243
+ @ResourceName = resourcename
244
+ @ResourceId = resourceid
245
+ @Operator = operator
246
+ @Organization = organization
247
+ end
248
+
249
+ def deserialize(params)
250
+ unless params['Agent'].nil?
251
+ @Agent = Agent.new
252
+ @Agent.deserialize(params['Agent'])
253
+ end
254
+ @ResourceType = params['ResourceType']
255
+ @ResourceName = params['ResourceName']
256
+ @ResourceId = params['ResourceId']
257
+ unless params['Operator'].nil?
258
+ @Operator = UserInfo.new
259
+ @Operator.deserialize(params['Operator'])
260
+ end
261
+ unless params['Organization'].nil?
262
+ @Organization = OrganizationInfo.new
263
+ @Organization.deserialize(params['Organization'])
264
+ end
265
+ end
266
+ end
267
+
268
+ # ChannelCreateConvertTaskApi返回参数结构体
269
+ class ChannelCreateConvertTaskApiResponse < TencentCloud::Common::AbstractModel
270
+ # @param TaskId: 任务id
271
+ # @type TaskId: String
272
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
273
+ # @type RequestId: String
274
+
275
+ attr_accessor :TaskId, :RequestId
276
+
277
+ def initialize(taskid=nil, requestid=nil)
278
+ @TaskId = taskid
279
+ @RequestId = requestid
280
+ end
281
+
282
+ def deserialize(params)
283
+ @TaskId = params['TaskId']
284
+ @RequestId = params['RequestId']
285
+ end
286
+ end
287
+
223
288
  # ChannelCreateFlowByFiles请求参数结构体
224
289
  class ChannelCreateFlowByFilesRequest < TencentCloud::Common::AbstractModel
225
- # @param Agent: 渠道应用相关信息
290
+ # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
226
291
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
227
292
  # @param FlowName: 签署流程名称,长度不超过200个字符
228
293
  # @type FlowName: String
@@ -246,12 +311,14 @@ module TencentCloud
246
311
  # @type CustomShowMap: String
247
312
  # @param CustomerData: 渠道的业务信息,最大长度1000个字符。发起自动签署时,需设置对应自动签署场景,目前仅支持场景:处方单-E_PRESCRIPTION_AUTO_SIGN
248
313
  # @type CustomerData: String
314
+ # @param NeedSignReview: 发起方企业的签署人进行签署操作是否需要企业内部审批。 若设置为true,审核结果需通过接口 ChannelCreateFlowSignReview 通知电子签,审核通过后,发起方企业签署人方可进行签署操作,否则会阻塞其签署操作。 注:企业可以通过此功能与企业内部的审批流程进行关联,支持手动、静默签署合同。
315
+ # @type NeedSignReview: Boolean
249
316
  # @param Operator: 操作者的信息
250
317
  # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
251
318
 
252
- attr_accessor :Agent, :FlowName, :FlowApprovers, :FileIds, :Components, :Deadline, :CallbackUrl, :Unordered, :FlowType, :FlowDescription, :CustomShowMap, :CustomerData, :Operator
319
+ attr_accessor :Agent, :FlowName, :FlowApprovers, :FileIds, :Components, :Deadline, :CallbackUrl, :Unordered, :FlowType, :FlowDescription, :CustomShowMap, :CustomerData, :NeedSignReview, :Operator
253
320
 
254
- 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, operator=nil)
321
+ 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)
255
322
  @Agent = agent
256
323
  @FlowName = flowname
257
324
  @FlowApprovers = flowapprovers
@@ -264,6 +331,7 @@ module TencentCloud
264
331
  @FlowDescription = flowdescription
265
332
  @CustomShowMap = customshowmap
266
333
  @CustomerData = customerdata
334
+ @NeedSignReview = needsignreview
267
335
  @Operator = operator
268
336
  end
269
337
 
@@ -297,6 +365,7 @@ module TencentCloud
297
365
  @FlowDescription = params['FlowDescription']
298
366
  @CustomShowMap = params['CustomShowMap']
299
367
  @CustomerData = params['CustomerData']
368
+ @NeedSignReview = params['NeedSignReview']
300
369
  unless params['Operator'].nil?
301
370
  @Operator = UserInfo.new
302
371
  @Operator.deserialize(params['Operator'])
@@ -415,6 +484,87 @@ module TencentCloud
415
484
  end
416
485
  end
417
486
 
487
+ # ChannelGetTaskResultApi请求参数结构体
488
+ class ChannelGetTaskResultApiRequest < TencentCloud::Common::AbstractModel
489
+ # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
490
+ # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
491
+ # @param TaskId: 任务Id,通过ChannelCreateConvertTaskApi接口获得
492
+ # @type TaskId: String
493
+ # @param Operator: 操作者的信息
494
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
495
+ # @param Organization: 暂未开放
496
+ # @type Organization: :class:`Tencentcloud::Essbasic.v20210526.models.OrganizationInfo`
497
+
498
+ attr_accessor :Agent, :TaskId, :Operator, :Organization
499
+
500
+ def initialize(agent=nil, taskid=nil, operator=nil, organization=nil)
501
+ @Agent = agent
502
+ @TaskId = taskid
503
+ @Operator = operator
504
+ @Organization = organization
505
+ end
506
+
507
+ def deserialize(params)
508
+ unless params['Agent'].nil?
509
+ @Agent = Agent.new
510
+ @Agent.deserialize(params['Agent'])
511
+ end
512
+ @TaskId = params['TaskId']
513
+ unless params['Operator'].nil?
514
+ @Operator = UserInfo.new
515
+ @Operator.deserialize(params['Operator'])
516
+ end
517
+ unless params['Organization'].nil?
518
+ @Organization = OrganizationInfo.new
519
+ @Organization.deserialize(params['Organization'])
520
+ end
521
+ end
522
+ end
523
+
524
+ # ChannelGetTaskResultApi返回参数结构体
525
+ class ChannelGetTaskResultApiResponse < TencentCloud::Common::AbstractModel
526
+ # @param TaskId: 任务Id
527
+ # @type TaskId: String
528
+ # @param TaskStatus: 任务状态,需要关注的状态
529
+ # 0 :NeedTranform - 任务已提交
530
+ # 4 :Processing - 文档转换中
531
+ # 8 :TaskEnd - 任务处理完成
532
+ # -2 :DownloadFailed - 下载失败
533
+ # -6 :ProcessFailed - 转换失败
534
+ # -13:ProcessTimeout - 转换文件超时
535
+ # @type TaskStatus: Integer
536
+ # @param TaskMessage: 状态描述,需要关注的状态
537
+ # NeedTranform - 任务已提交
538
+ # Processing - 文档转换中
539
+ # TaskEnd - 任务处理完成
540
+ # DownloadFailed - 下载失败
541
+ # ProcessFailed - 转换失败
542
+ # ProcessTimeout - 转换文件超时
543
+ # @type TaskMessage: String
544
+ # @param ResourceId: 资源Id,也是FileId,用于文件发起使用
545
+ # @type ResourceId: String
546
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
547
+ # @type RequestId: String
548
+
549
+ attr_accessor :TaskId, :TaskStatus, :TaskMessage, :ResourceId, :RequestId
550
+
551
+ def initialize(taskid=nil, taskstatus=nil, taskmessage=nil, resourceid=nil, requestid=nil)
552
+ @TaskId = taskid
553
+ @TaskStatus = taskstatus
554
+ @TaskMessage = taskmessage
555
+ @ResourceId = resourceid
556
+ @RequestId = requestid
557
+ end
558
+
559
+ def deserialize(params)
560
+ @TaskId = params['TaskId']
561
+ @TaskStatus = params['TaskStatus']
562
+ @TaskMessage = params['TaskMessage']
563
+ @ResourceId = params['ResourceId']
564
+ @RequestId = params['RequestId']
565
+ end
566
+ end
567
+
418
568
  # 此结构体 (Component) 用于描述控件属性。
419
569
  class Component < TencentCloud::Common::AbstractModel
420
570
  # @param ComponentId: 控件编号
@@ -430,12 +580,18 @@ module TencentCloud
430
580
  # @type ComponentId: String
431
581
  # @param ComponentType: 如果是Component控件类型,则可选的字段为:
432
582
  # TEXT - 普通文本控件;
433
- # DATE - 普通日期控件;跟TEXT相比会有校验逻辑
583
+ # MULTI_LINE_TEXT - 多行文本控件;
584
+ # CHECK_BOX - 勾选框控件;
585
+ # FILL_IMAGE - 图片控件;
586
+ # DYNAMIC_TABLE - 动态表格控件;
587
+ # ATTACHMENT - 附件控件;
588
+ # SELECTOR - 选择器控件;
589
+
434
590
  # 如果是SignComponent控件类型,则可选的字段为
435
591
  # SIGN_SEAL - 签署印章控件;
436
592
  # SIGN_DATE - 签署日期控件;
437
593
  # SIGN_SIGNATURE - 用户签名控件;
438
- # SIGN_PERSONAL_SEAL - 个人签署印章控件;
594
+ # SIGN_PERSONAL_SEAL - 个人签署印章控件(使用文件发起暂不支持此类型);
439
595
 
440
596
  # 表单域的控件不能作为印章和签名控件
441
597
  # @type ComponentType: String
@@ -467,8 +623,13 @@ module TencentCloud
467
623
  # TEXT控件可以指定字体
468
624
  # 例如:{"FontSize":12}
469
625
  # @type ComponentExtra: String
470
- # @param ComponentValue: 印章 ID,传参 DEFAULT_COMPANY_SEAL 表示使用默认印章。
471
- # 控件填入内容,印章控件里面,如果是手写签名内容为PNG图片格式的base64编码
626
+ # @param ComponentValue: 控件填充vaule,ComponentType和传入值类型对应关系:
627
+ # TEXT - 文本内容
628
+ # MULTI_LINE_TEXT - 文本内容
629
+ # CHECK_BOX - true/false
630
+ # FILL_IMAGE、ATTACHMENT - 附件的FileId,需要通过UploadFiles接口上传获取
631
+ # SELECTOR - 选项值
632
+ # DYNAMIC_TABLE - 传入json格式的表格内容,具体见数据结构FlowInfo:https://cloud.tencent.com/document/api/1420/61525#FlowInfo
472
633
  # @type ComponentValue: String
473
634
  # @param ComponentDateFontSize: 日期签署控件的字号,默认为 12
474
635
 
@@ -1355,6 +1516,65 @@ module TencentCloud
1355
1516
  end
1356
1517
 
1357
1518
  # 此结构体 (FlowInfo) 用于描述签署流程信息。
1519
+
1520
+ # 【动态表格传参说明】
1521
+ # 当模板的 ComponentType='DYNAMIC_TABLE'时(渠道版),FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充动态表格(支持内容的单元格合并)
1522
+ # 输入示例
1523
+
1524
+ # ```
1525
+ # {
1526
+ # "headers":[
1527
+ # {
1528
+ # "content":"head1"
1529
+ # },
1530
+ # {
1531
+ # "content":"head2"
1532
+ # },
1533
+ # {
1534
+ # "content":"head3"
1535
+ # }
1536
+ # ],
1537
+ # "rowCount":3,
1538
+ # "body":{
1539
+ # "cells":[
1540
+ # {
1541
+ # "rowStart":1,
1542
+ # "rowEnd":1,
1543
+ # "columnStart":1,
1544
+ # "columnEnd":1,
1545
+ # "content":"123"
1546
+ # },
1547
+ # {
1548
+ # "rowStart":2,
1549
+ # "rowEnd":3,
1550
+ # "columnStart":1,
1551
+ # "columnEnd":2,
1552
+ # "content":"456"
1553
+ # },
1554
+ # {
1555
+ # "rowStart":3,
1556
+ # "rowEnd":3,
1557
+ # "columnStart":3,
1558
+ # "columnEnd":3,
1559
+ # "content":"789"
1560
+ # }
1561
+ # ]
1562
+ # }
1563
+ # }
1564
+
1565
+ # ```
1566
+
1567
+ # 表格参数说明
1568
+
1569
+ # | 名称 | 类型 | 描述 |
1570
+ # | ------------------- | ------- | ------------------------------------------------- |
1571
+ # | headers | Array | 表头:不超过10列,不支持单元格合并,字数不超过100 |
1572
+ # | rowCount | Integer | 表格内容最大行数 |
1573
+ # | cells.N.rowStart | Integer | 单元格坐标:行起始index |
1574
+ # | cells.N.rowEnd | Integer | 单元格坐标:行结束index |
1575
+ # | cells.N.columnStart | Integer | 单元格坐标:列起始index |
1576
+ # | cells.N.columnEnd | Integer | 单元格坐标:列结束index |
1577
+ # | cells.N.content | String | 单元格内容,字数不超过100 |
1358
1578
  class FlowInfo < TencentCloud::Common::AbstractModel
1359
1579
  # @param FlowName: 合同名字,最大长度200个字符
1360
1580
  # @type FlowName: String
@@ -1378,10 +1598,15 @@ module TencentCloud
1378
1598
  # @type CustomShowMap: String
1379
1599
  # @param CcInfos: 被抄送人的信息列表,抄送功能暂不开放
1380
1600
  # @type CcInfos: Array
1601
+ # @param NeedSignReview: 发起方企业的签署人进行签署操作是否需要企业内部审批。
1602
+ # 若设置为true,审核结果需通过接口 ChannelCreateFlowSignReview 通知电子签,审核通过后,发起方企业签署人方可进行签署操作,否则会阻塞其签署操作。
1603
+
1604
+ # 注:企业可以通过此功能与企业内部的审批流程进行关联,支持手动、静默签署合同。
1605
+ # @type NeedSignReview: Boolean
1381
1606
 
1382
- attr_accessor :FlowName, :Deadline, :TemplateId, :FlowApprovers, :FormFields, :CallbackUrl, :FlowType, :FlowDescription, :CustomerData, :CustomShowMap, :CcInfos
1607
+ attr_accessor :FlowName, :Deadline, :TemplateId, :FlowApprovers, :FormFields, :CallbackUrl, :FlowType, :FlowDescription, :CustomerData, :CustomShowMap, :CcInfos, :NeedSignReview
1383
1608
 
1384
- def initialize(flowname=nil, deadline=nil, templateid=nil, flowapprovers=nil, formfields=nil, callbackurl=nil, flowtype=nil, flowdescription=nil, customerdata=nil, customshowmap=nil, ccinfos=nil)
1609
+ def initialize(flowname=nil, deadline=nil, templateid=nil, flowapprovers=nil, formfields=nil, callbackurl=nil, flowtype=nil, flowdescription=nil, customerdata=nil, customshowmap=nil, ccinfos=nil, needsignreview=nil)
1385
1610
  @FlowName = flowname
1386
1611
  @Deadline = deadline
1387
1612
  @TemplateId = templateid
@@ -1393,6 +1618,7 @@ module TencentCloud
1393
1618
  @CustomerData = customerdata
1394
1619
  @CustomShowMap = customshowmap
1395
1620
  @CcInfos = ccinfos
1621
+ @NeedSignReview = needsignreview
1396
1622
  end
1397
1623
 
1398
1624
  def deserialize(params)
@@ -1428,6 +1654,7 @@ module TencentCloud
1428
1654
  @CcInfos << ccinfo_tmp
1429
1655
  end
1430
1656
  end
1657
+ @NeedSignReview = params['NeedSignReview']
1431
1658
  end
1432
1659
  end
1433
1660
 
@@ -1462,7 +1689,13 @@ module TencentCloud
1462
1689
 
1463
1690
  # 此结构 (FormField) 用于描述内容控件填充结构。
1464
1691
  class FormField < TencentCloud::Common::AbstractModel
1465
- # @param ComponentValue: 表单域或控件的Value
1692
+ # @param ComponentValue: 控件填充vaule,ComponentType和传入值类型对应关系:
1693
+ # TEXT - 文本内容
1694
+ # MULTI_LINE_TEXT - 文本内容
1695
+ # CHECK_BOX - true/false
1696
+ # FILL_IMAGE、ATTACHMENT - 附件的FileId,需要通过UploadFiles接口上传获取
1697
+ # SELECTOR - 选项值
1698
+ # DYNAMIC_TABLE - 传入json格式的表格内容,具体见数据结构FlowInfo:https://cloud.tencent.com/document/api/1420/61525#FlowInfo
1466
1699
  # @type ComponentValue: String
1467
1700
  # @param ComponentId: 表单域或控件的ID,跟ComponentName二选一,不能全为空
1468
1701
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -1638,6 +1871,38 @@ module TencentCloud
1638
1871
  end
1639
1872
  end
1640
1873
 
1874
+ # 机构信息
1875
+ class OrganizationInfo < TencentCloud::Common::AbstractModel
1876
+ # @param OrganizationOpenId: 用户在渠道的机构编号
1877
+ # @type OrganizationOpenId: String
1878
+ # @param ClientIp: 用户真实的IP
1879
+ # @type ClientIp: String
1880
+ # @param ProxyIp: 机构的代理IP
1881
+ # @type ProxyIp: String
1882
+ # @param OrganizationId: 机构在平台的编号
1883
+ # @type OrganizationId: String
1884
+ # @param Channel: 用户渠道
1885
+ # @type Channel: String
1886
+
1887
+ attr_accessor :OrganizationOpenId, :ClientIp, :ProxyIp, :OrganizationId, :Channel
1888
+
1889
+ def initialize(organizationopenid=nil, clientip=nil, proxyip=nil, organizationid=nil, channel=nil)
1890
+ @OrganizationOpenId = organizationopenid
1891
+ @ClientIp = clientip
1892
+ @ProxyIp = proxyip
1893
+ @OrganizationId = organizationid
1894
+ @Channel = channel
1895
+ end
1896
+
1897
+ def deserialize(params)
1898
+ @OrganizationOpenId = params['OrganizationOpenId']
1899
+ @ClientIp = params['ClientIp']
1900
+ @ProxyIp = params['ProxyIp']
1901
+ @OrganizationId = params['OrganizationId']
1902
+ @Channel = params['Channel']
1903
+ end
1904
+ end
1905
+
1641
1906
  # PrepareFlows请求参数结构体
1642
1907
  class PrepareFlowsRequest < TencentCloud::Common::AbstractModel
1643
1908
  # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
@@ -2182,7 +2447,7 @@ module TencentCloud
2182
2447
  # @param Agent: 应用相关信息,若是渠道版调用 appid 和proxyappid 必填
2183
2448
  # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
2184
2449
  # @param BusinessType: 文件对应业务类型,用于区分文件存储路径:
2185
- # 1. TEMPLATE - 模板; 文件类型:.pdf
2450
+ # 1. TEMPLATE - 模板; 文件类型:.pdf .doc .docx .html
2186
2451
  # 2. DOCUMENT - 签署过程及签署后的合同文档/图片控件 文件类型:.pdf/.jpg/.png
2187
2452
  # @type BusinessType: String
2188
2453
  # @param FileInfos: 上传文件内容数组,最多支持20个文件
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.379
4
+ version: 3.0.385
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-08-03 00:00:00.000000000 Z
11
+ date: 2022-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common