tencentcloud-sdk-ess 1.0.344 → 1.0.345
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 +3 -3
- data/lib/v20201111/models.rb +231 -212
- 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: c41af6a4a121e4247bc5fb367d360134488033a5
|
4
|
+
data.tar.gz: 7ffcc368598e09a8058b6b777ef948c4bc12ae5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b37ee28aca0389ab5879e4054f9db970d8d855735a6ea3052515624ffaf1b1cc0091b2e30f85e7a855a2b1102295c07e4cd3258e4e492811c50c8a9830b953e7
|
7
|
+
data.tar.gz: 93a4828a2866b43a8153e82980a91225552a161504f773e58ce47706268783475c96d6e38469537c8b764aac1cb58605bb618a1ad6d18f9b7b924a9bafb449ab
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.345
|
data/lib/v20201111/client.rb
CHANGED
@@ -29,7 +29,7 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
-
#
|
32
|
+
# 用于撤销签署流程
|
33
33
|
|
34
34
|
# @param request: Request instance for CancelFlow.
|
35
35
|
# @type request: :class:`Tencentcloud::ess::V20201111::CancelFlowRequest`
|
@@ -125,7 +125,7 @@ module TencentCloud
|
|
125
125
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
126
|
end
|
127
127
|
|
128
|
-
# 此接口(CreateFlowByFiles)用来通过上传后的pdf
|
128
|
+
# 此接口(CreateFlowByFiles)用来通过上传后的pdf资源编号来创建签署流程。
|
129
129
|
|
130
130
|
# @param request: Request instance for CreateFlowByFiles.
|
131
131
|
# @type request: :class:`Tencentcloud::ess::V20201111::CreateFlowByFilesRequest`
|
@@ -179,7 +179,7 @@ module TencentCloud
|
|
179
179
|
# 跳转到小程序的实现,参考官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式)
|
180
180
|
|
181
181
|
|
182
|
-
# 如您需要自主配置小程序跳转链接,请参考: <a href="https://
|
182
|
+
# 如您需要自主配置小程序跳转链接,请参考: <a href="https://cloud.tencent.com/document/product/1323/74774">跳转小程序链接配置说明</a>
|
183
183
|
|
184
184
|
# @param request: Request instance for CreateSchemeUrl.
|
185
185
|
# @type request: :class:`Tencentcloud::ess::V20201111::CreateSchemeUrlRequest`
|
data/lib/v20201111/models.rb
CHANGED
@@ -104,55 +104,55 @@ module TencentCloud
|
|
104
104
|
# @type ApplicationId: String
|
105
105
|
# @param OrganizationId: 主机构ID
|
106
106
|
# @type OrganizationId: String
|
107
|
-
# @param SubOrganizationId: 下属机构ID
|
108
|
-
# @type SubOrganizationId: String
|
109
107
|
# @param OperatorId: 经办人的用户ID
|
110
108
|
# @type OperatorId: String
|
109
|
+
# @param SubOrganizationId: 下属机构ID
|
110
|
+
# @type SubOrganizationId: String
|
111
111
|
|
112
|
-
attr_accessor :ApplicationId, :OrganizationId, :
|
112
|
+
attr_accessor :ApplicationId, :OrganizationId, :OperatorId, :SubOrganizationId
|
113
113
|
|
114
|
-
def initialize(applicationid=nil, organizationid=nil,
|
114
|
+
def initialize(applicationid=nil, organizationid=nil, operatorid=nil, suborganizationid=nil)
|
115
115
|
@ApplicationId = applicationid
|
116
116
|
@OrganizationId = organizationid
|
117
|
-
@SubOrganizationId = suborganizationid
|
118
117
|
@OperatorId = operatorid
|
118
|
+
@SubOrganizationId = suborganizationid
|
119
119
|
end
|
120
120
|
|
121
121
|
def deserialize(params)
|
122
122
|
@ApplicationId = params['ApplicationId']
|
123
123
|
@OrganizationId = params['OrganizationId']
|
124
|
-
@SubOrganizationId = params['SubOrganizationId']
|
125
124
|
@OperatorId = params['OperatorId']
|
125
|
+
@SubOrganizationId = params['SubOrganizationId']
|
126
126
|
end
|
127
127
|
end
|
128
128
|
|
129
129
|
# CancelFlow请求参数结构体
|
130
130
|
class CancelFlowRequest < TencentCloud::Common::AbstractModel
|
131
|
-
# @param
|
132
|
-
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
133
|
-
# @param FlowId: 流程id
|
131
|
+
# @param FlowId: 签署流程id
|
134
132
|
# @type FlowId: String
|
135
|
-
# @param CancelMessage:
|
133
|
+
# @param CancelMessage: 撤销原因,最长200个字符;
|
136
134
|
# @type CancelMessage: String
|
135
|
+
# @param Operator: 操作用户id
|
136
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
137
137
|
# @param Agent: 应用相关信息
|
138
138
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
139
139
|
|
140
|
-
attr_accessor :
|
140
|
+
attr_accessor :FlowId, :CancelMessage, :Operator, :Agent
|
141
141
|
|
142
|
-
def initialize(
|
143
|
-
@Operator = operator
|
142
|
+
def initialize(flowid=nil, cancelmessage=nil, operator=nil, agent=nil)
|
144
143
|
@FlowId = flowid
|
145
144
|
@CancelMessage = cancelmessage
|
145
|
+
@Operator = operator
|
146
146
|
@Agent = agent
|
147
147
|
end
|
148
148
|
|
149
149
|
def deserialize(params)
|
150
|
+
@FlowId = params['FlowId']
|
151
|
+
@CancelMessage = params['CancelMessage']
|
150
152
|
unless params['Operator'].nil?
|
151
153
|
@Operator = UserInfo.new
|
152
154
|
@Operator.deserialize(params['Operator'])
|
153
155
|
end
|
154
|
-
@FlowId = params['FlowId']
|
155
|
-
@CancelMessage = params['CancelMessage']
|
156
156
|
unless params['Agent'].nil?
|
157
157
|
@Agent = Agent.new
|
158
158
|
@Agent.deserialize(params['Agent'])
|
@@ -243,7 +243,7 @@ module TencentCloud
|
|
243
243
|
# @param ComponentType: 如果是 Component 控件类型,则可选类型为:
|
244
244
|
# TEXT - 内容文本控件
|
245
245
|
# DATE - 内容日期控件
|
246
|
-
#
|
246
|
+
# CHECK_BOX - 勾选框控件
|
247
247
|
# 如果是 SignComponent 控件类型,则可选类型为:
|
248
248
|
# SIGN_SEAL - 签署印章控件
|
249
249
|
# SIGN_DATE - 签署日期控件
|
@@ -289,9 +289,9 @@ module TencentCloud
|
|
289
289
|
# @type GenerateMode: String
|
290
290
|
# @param ComponentDateFontSize: 日期控件类型字号
|
291
291
|
# @type ComponentDateFontSize: Integer
|
292
|
-
# @param OffsetX:
|
292
|
+
# @param OffsetX: 指定关键字时横坐标偏移量,单位pt
|
293
293
|
# @type OffsetX: Float
|
294
|
-
# @param OffsetY:
|
294
|
+
# @param OffsetY: 指定关键字时纵坐标偏移量,单位pt
|
295
295
|
# @type OffsetY: Float
|
296
296
|
|
297
297
|
attr_accessor :ComponentType, :ComponentWidth, :ComponentHeight, :ComponentPage, :ComponentPosX, :ComponentPosY, :FileIndex, :ComponentId, :ComponentName, :ComponentRequired, :ComponentExtra, :ComponentRecipientId, :ComponentValue, :IsFormType, :GenerateMode, :ComponentDateFontSize, :OffsetX, :OffsetY
|
@@ -341,45 +341,49 @@ module TencentCloud
|
|
341
341
|
|
342
342
|
# CreateDocument请求参数结构体
|
343
343
|
class CreateDocumentRequest < TencentCloud::Common::AbstractModel
|
344
|
-
# @param
|
345
|
-
# @type
|
344
|
+
# @param FlowId: 签署流程编号,由CreateFlow接口返回
|
345
|
+
# @type FlowId: String
|
346
346
|
# @param TemplateId: 用户上传的模板ID
|
347
347
|
# @type TemplateId: String
|
348
|
-
# @param
|
349
|
-
# @type FlowId: String
|
350
|
-
# @param FileNames: 文件名列表
|
348
|
+
# @param FileNames: 文件名列表,单个文件名最大长度200个字符
|
351
349
|
# @type FileNames: Array
|
352
|
-
# @param
|
353
|
-
# @type
|
350
|
+
# @param Operator: 无
|
351
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
354
352
|
# @param Agent: 应用相关信息
|
355
353
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
356
|
-
# @param
|
357
|
-
# @type
|
354
|
+
# @param FormFields: 内容控件信息数组
|
355
|
+
# @type FormFields: Array
|
358
356
|
# @param NeedPreview: 是否需要生成预览文件 默认不生成;
|
359
357
|
# 预览链接有效期300秒;
|
360
358
|
# @type NeedPreview: Boolean
|
359
|
+
# @param ClientToken: 客户端Token,保持接口幂等性,最大长度64个字符
|
360
|
+
# @type ClientToken: String
|
361
361
|
|
362
|
-
attr_accessor :
|
362
|
+
attr_accessor :FlowId, :TemplateId, :FileNames, :Operator, :Agent, :FormFields, :NeedPreview, :ClientToken
|
363
363
|
|
364
|
-
def initialize(
|
365
|
-
@Operator = operator
|
366
|
-
@TemplateId = templateid
|
364
|
+
def initialize(flowid=nil, templateid=nil, filenames=nil, operator=nil, agent=nil, formfields=nil, needpreview=nil, clienttoken=nil)
|
367
365
|
@FlowId = flowid
|
366
|
+
@TemplateId = templateid
|
368
367
|
@FileNames = filenames
|
369
|
-
@
|
368
|
+
@Operator = operator
|
370
369
|
@Agent = agent
|
371
|
-
@
|
370
|
+
@FormFields = formfields
|
372
371
|
@NeedPreview = needpreview
|
372
|
+
@ClientToken = clienttoken
|
373
373
|
end
|
374
374
|
|
375
375
|
def deserialize(params)
|
376
|
+
@FlowId = params['FlowId']
|
377
|
+
@TemplateId = params['TemplateId']
|
378
|
+
@FileNames = params['FileNames']
|
376
379
|
unless params['Operator'].nil?
|
377
380
|
@Operator = UserInfo.new
|
378
381
|
@Operator.deserialize(params['Operator'])
|
379
382
|
end
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
+
unless params['Agent'].nil?
|
384
|
+
@Agent = Agent.new
|
385
|
+
@Agent.deserialize(params['Agent'])
|
386
|
+
end
|
383
387
|
unless params['FormFields'].nil?
|
384
388
|
@FormFields = []
|
385
389
|
params['FormFields'].each do |i|
|
@@ -388,20 +392,16 @@ module TencentCloud
|
|
388
392
|
@FormFields << formfield_tmp
|
389
393
|
end
|
390
394
|
end
|
391
|
-
unless params['Agent'].nil?
|
392
|
-
@Agent = Agent.new
|
393
|
-
@Agent.deserialize(params['Agent'])
|
394
|
-
end
|
395
|
-
@ClientToken = params['ClientToken']
|
396
395
|
@NeedPreview = params['NeedPreview']
|
396
|
+
@ClientToken = params['ClientToken']
|
397
397
|
end
|
398
398
|
end
|
399
399
|
|
400
400
|
# CreateDocument返回参数结构体
|
401
401
|
class CreateDocumentResponse < TencentCloud::Common::AbstractModel
|
402
|
-
# @param DocumentId:
|
402
|
+
# @param DocumentId: 签署流程电子文档ID
|
403
403
|
# @type DocumentId: String
|
404
|
-
# @param PreviewFileUrl:
|
404
|
+
# @param PreviewFileUrl: 签署流程文件的预览地址, 5分钟内有效。仅当NeedPreview为true 时返回
|
405
405
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
406
406
|
# @type PreviewFileUrl: String
|
407
407
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
@@ -424,61 +424,63 @@ module TencentCloud
|
|
424
424
|
|
425
425
|
# CreateFlowByFiles请求参数结构体
|
426
426
|
class CreateFlowByFilesRequest < TencentCloud::Common::AbstractModel
|
427
|
-
# @param
|
428
|
-
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
429
|
-
# @param FlowName: 流程名称
|
427
|
+
# @param FlowName: 签署流程名称,最大长度200个字符
|
430
428
|
# @type FlowName: String
|
431
|
-
# @param FileIds: 签署pdf文件的资源编号列表
|
432
|
-
# @type FileIds: Array
|
433
429
|
# @param Approvers: 签署参与者信息
|
434
430
|
# @type Approvers: Array
|
435
|
-
# @param
|
436
|
-
# @type
|
437
|
-
# @param
|
438
|
-
#
|
439
|
-
# false:有序签
|
440
|
-
# 注:默认为false(有序签)
|
441
|
-
# @type Unordered: Boolean
|
442
|
-
# @param FlowType: 流程的类型
|
443
|
-
# @type FlowType: String
|
444
|
-
# @param Deadline: 流程的签署截止时间
|
445
|
-
# @type Deadline: Integer
|
431
|
+
# @param FileIds: 签署pdf文件的资源编号列表,通过UploadFiles接口获取
|
432
|
+
# @type FileIds: Array
|
433
|
+
# @param Operator: 调用方用户信息
|
434
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
446
435
|
# @param Agent: 应用号信息
|
447
436
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
448
437
|
# @param Components: 经办人内容控件配置。可选类型为:
|
449
438
|
# TEXT - 内容文本控件
|
450
439
|
# MULTI_LINE_TEXT - 多行文本控件
|
440
|
+
# CHECK_BOX - 勾选框控件
|
451
441
|
# 注:默认字体大小为 字号12
|
452
442
|
# @type Components: Array
|
453
|
-
# @param
|
454
|
-
#
|
455
|
-
# @
|
443
|
+
# @param Deadline: 签署流程的签署截止时间。
|
444
|
+
# 值为unix时间戳,精确到秒,不传默认为当前时间一年后
|
445
|
+
# @type Deadline: Integer
|
446
|
+
# @param Unordered: 发送类型:
|
447
|
+
# true:无序签
|
448
|
+
# false:有序签
|
449
|
+
# 注:默认为false(有序签)
|
450
|
+
# @type Unordered: Boolean
|
451
|
+
# @param NeedPreview: 是否需要预览,true:预览模式,false:非预览(默认);
|
452
|
+
# 预览链接有效期300秒;
|
456
453
|
# @type NeedPreview: Boolean
|
454
|
+
# @param FlowDescription: 签署流程描述,最大长度1000个字符
|
455
|
+
# @type FlowDescription: String
|
456
|
+
# @param FlowType: 签署流程的类型(如销售合同/入职合同等),最大长度200个字符
|
457
|
+
# @type FlowType: String
|
458
|
+
# @param CcInfos: 被抄送人的信息列表。
|
459
|
+
# 注:此功能为白名单功能,若有需要,请联系电子签客服开白使用
|
460
|
+
# @type CcInfos: Array
|
461
|
+
# @param CustomShowMap: 合同显示的页卡模板,说明:只支持{合同名称}, {发起方企业}, {发起方姓名}, {签署方N企业}, {签署方N姓名},且N不能超过签署人的数量,N从1开始
|
462
|
+
# @type CustomShowMap: String
|
457
463
|
|
458
|
-
attr_accessor :
|
464
|
+
attr_accessor :FlowName, :Approvers, :FileIds, :Operator, :Agent, :Components, :Deadline, :Unordered, :NeedPreview, :FlowDescription, :FlowType, :CcInfos, :CustomShowMap
|
459
465
|
|
460
|
-
def initialize(
|
461
|
-
@Operator = operator
|
466
|
+
def initialize(flowname=nil, approvers=nil, fileids=nil, operator=nil, agent=nil, components=nil, deadline=nil, unordered=nil, needpreview=nil, flowdescription=nil, flowtype=nil, ccinfos=nil, customshowmap=nil)
|
462
467
|
@FlowName = flowname
|
463
|
-
@FileIds = fileids
|
464
468
|
@Approvers = approvers
|
465
|
-
@
|
466
|
-
@
|
467
|
-
@FlowType = flowtype
|
468
|
-
@Deadline = deadline
|
469
|
+
@FileIds = fileids
|
470
|
+
@Operator = operator
|
469
471
|
@Agent = agent
|
470
472
|
@Components = components
|
471
|
-
@
|
473
|
+
@Deadline = deadline
|
474
|
+
@Unordered = unordered
|
472
475
|
@NeedPreview = needpreview
|
476
|
+
@FlowDescription = flowdescription
|
477
|
+
@FlowType = flowtype
|
478
|
+
@CcInfos = ccinfos
|
479
|
+
@CustomShowMap = customshowmap
|
473
480
|
end
|
474
481
|
|
475
482
|
def deserialize(params)
|
476
|
-
unless params['Operator'].nil?
|
477
|
-
@Operator = UserInfo.new
|
478
|
-
@Operator.deserialize(params['Operator'])
|
479
|
-
end
|
480
483
|
@FlowName = params['FlowName']
|
481
|
-
@FileIds = params['FileIds']
|
482
484
|
unless params['Approvers'].nil?
|
483
485
|
@Approvers = []
|
484
486
|
params['Approvers'].each do |i|
|
@@ -487,10 +489,11 @@ module TencentCloud
|
|
487
489
|
@Approvers << approverinfo_tmp
|
488
490
|
end
|
489
491
|
end
|
490
|
-
@
|
491
|
-
|
492
|
-
|
493
|
-
|
492
|
+
@FileIds = params['FileIds']
|
493
|
+
unless params['Operator'].nil?
|
494
|
+
@Operator = UserInfo.new
|
495
|
+
@Operator.deserialize(params['Operator'])
|
496
|
+
end
|
494
497
|
unless params['Agent'].nil?
|
495
498
|
@Agent = Agent.new
|
496
499
|
@Agent.deserialize(params['Agent'])
|
@@ -503,6 +506,11 @@ module TencentCloud
|
|
503
506
|
@Components << component_tmp
|
504
507
|
end
|
505
508
|
end
|
509
|
+
@Deadline = params['Deadline']
|
510
|
+
@Unordered = params['Unordered']
|
511
|
+
@NeedPreview = params['NeedPreview']
|
512
|
+
@FlowDescription = params['FlowDescription']
|
513
|
+
@FlowType = params['FlowType']
|
506
514
|
unless params['CcInfos'].nil?
|
507
515
|
@CcInfos = []
|
508
516
|
params['CcInfos'].each do |i|
|
@@ -511,13 +519,13 @@ module TencentCloud
|
|
511
519
|
@CcInfos << ccinfo_tmp
|
512
520
|
end
|
513
521
|
end
|
514
|
-
@
|
522
|
+
@CustomShowMap = params['CustomShowMap']
|
515
523
|
end
|
516
524
|
end
|
517
525
|
|
518
526
|
# CreateFlowByFiles返回参数结构体
|
519
527
|
class CreateFlowByFilesResponse < TencentCloud::Common::AbstractModel
|
520
|
-
# @param FlowId:
|
528
|
+
# @param FlowId: 签署流程编号
|
521
529
|
# @type FlowId: String
|
522
530
|
# @param PreviewUrl: 合同预览链接
|
523
531
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -542,50 +550,53 @@ module TencentCloud
|
|
542
550
|
|
543
551
|
# CreateFlow请求参数结构体
|
544
552
|
class CreateFlowRequest < TencentCloud::Common::AbstractModel
|
545
|
-
# @param
|
546
|
-
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
547
|
-
# @param FlowName: 流程的名字, 长度不能超过200,中文字母数字下划线
|
553
|
+
# @param FlowName: 签署流程名称,最大长度200个字符
|
548
554
|
# @type FlowName: String
|
549
|
-
# @param Approvers:
|
555
|
+
# @param Approvers: 签署流程参与者信息
|
550
556
|
# @type Approvers: Array
|
551
|
-
# @param
|
552
|
-
# @type
|
557
|
+
# @param Operator: 操作人信息
|
558
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
559
|
+
# @param Agent: 应用相关信息
|
560
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
553
561
|
# @param Unordered: 发送类型(true为无序签,false为顺序签)
|
554
562
|
# @type Unordered: Boolean
|
555
|
-
# @param
|
556
|
-
#
|
557
|
-
# @param DeadLine: 过期时间戳,如果是0则为不过期
|
563
|
+
# @param DeadLine: 签署流程的签署截止时间。
|
564
|
+
# 值为unix时间戳,精确到秒,不传默认为当前时间一年后
|
558
565
|
# @type DeadLine: Integer
|
559
|
-
# @param
|
560
|
-
# @type
|
566
|
+
# @param FlowType: 签署流程的类型(如销售合同/入职合同等),最大长度200个字符
|
567
|
+
# @type FlowType: String
|
561
568
|
# @param UserData: 用户自定义字段(需进行base64 encode),回调的时候会进行透传, 长度需要小于20480
|
562
569
|
# @type UserData: String
|
563
|
-
# @param
|
564
|
-
# @type
|
565
|
-
# @param ClientToken: 客户端Token
|
570
|
+
# @param FlowDescription: 签署流程描述,最大长度1000个字符
|
571
|
+
# @type FlowDescription: String
|
572
|
+
# @param ClientToken: 客户端Token,保持接口幂等性,最大长度64个字符
|
566
573
|
# @type ClientToken: String
|
574
|
+
# @param CustomShowMap: 合同显示的页卡模板,说明:只支持{合同名称}, {发起方企业}, {发起方姓名}, {签署方N企业}, {签署方N姓名},且N不能超过签署人的数量,N从1开始
|
575
|
+
# @type CustomShowMap: String
|
576
|
+
# @param RelatedFlowId: 暂未开放
|
577
|
+
# @type RelatedFlowId: String
|
578
|
+
# @param CallbackUrl: 暂未开放
|
579
|
+
# @type CallbackUrl: String
|
567
580
|
|
568
|
-
attr_accessor :
|
581
|
+
attr_accessor :FlowName, :Approvers, :Operator, :Agent, :Unordered, :DeadLine, :FlowType, :UserData, :FlowDescription, :ClientToken, :CustomShowMap, :RelatedFlowId, :CallbackUrl
|
569
582
|
|
570
|
-
def initialize(
|
571
|
-
@Operator = operator
|
583
|
+
def initialize(flowname=nil, approvers=nil, operator=nil, agent=nil, unordered=nil, deadline=nil, flowtype=nil, userdata=nil, flowdescription=nil, clienttoken=nil, customshowmap=nil, relatedflowid=nil, callbackurl=nil)
|
572
584
|
@FlowName = flowname
|
573
585
|
@Approvers = approvers
|
574
|
-
@
|
586
|
+
@Operator = operator
|
587
|
+
@Agent = agent
|
575
588
|
@Unordered = unordered
|
576
|
-
@FlowType = flowtype
|
577
589
|
@DeadLine = deadline
|
578
|
-
@
|
590
|
+
@FlowType = flowtype
|
579
591
|
@UserData = userdata
|
580
|
-
@
|
592
|
+
@FlowDescription = flowdescription
|
581
593
|
@ClientToken = clienttoken
|
594
|
+
@CustomShowMap = customshowmap
|
595
|
+
@RelatedFlowId = relatedflowid
|
596
|
+
@CallbackUrl = callbackurl
|
582
597
|
end
|
583
598
|
|
584
599
|
def deserialize(params)
|
585
|
-
unless params['Operator'].nil?
|
586
|
-
@Operator = UserInfo.new
|
587
|
-
@Operator.deserialize(params['Operator'])
|
588
|
-
end
|
589
600
|
@FlowName = params['FlowName']
|
590
601
|
unless params['Approvers'].nil?
|
591
602
|
@Approvers = []
|
@@ -595,23 +606,29 @@ module TencentCloud
|
|
595
606
|
@Approvers << flowcreateapprover_tmp
|
596
607
|
end
|
597
608
|
end
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
@CallbackUrl = params['CallbackUrl']
|
603
|
-
@UserData = params['UserData']
|
609
|
+
unless params['Operator'].nil?
|
610
|
+
@Operator = UserInfo.new
|
611
|
+
@Operator.deserialize(params['Operator'])
|
612
|
+
end
|
604
613
|
unless params['Agent'].nil?
|
605
614
|
@Agent = Agent.new
|
606
615
|
@Agent.deserialize(params['Agent'])
|
607
616
|
end
|
617
|
+
@Unordered = params['Unordered']
|
618
|
+
@DeadLine = params['DeadLine']
|
619
|
+
@FlowType = params['FlowType']
|
620
|
+
@UserData = params['UserData']
|
621
|
+
@FlowDescription = params['FlowDescription']
|
608
622
|
@ClientToken = params['ClientToken']
|
623
|
+
@CustomShowMap = params['CustomShowMap']
|
624
|
+
@RelatedFlowId = params['RelatedFlowId']
|
625
|
+
@CallbackUrl = params['CallbackUrl']
|
609
626
|
end
|
610
627
|
end
|
611
628
|
|
612
629
|
# CreateFlow返回参数结构体
|
613
630
|
class CreateFlowResponse < TencentCloud::Common::AbstractModel
|
614
|
-
# @param FlowId:
|
631
|
+
# @param FlowId: 签署流程编号
|
615
632
|
# @type FlowId: String
|
616
633
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
617
634
|
# @type RequestId: String
|
@@ -633,49 +650,52 @@ module TencentCloud
|
|
633
650
|
class CreateMultiFlowSignQRCodeRequest < TencentCloud::Common::AbstractModel
|
634
651
|
# @param TemplateId: 模板ID
|
635
652
|
# @type TemplateId: String
|
653
|
+
# @param FlowName: 签署流程名称,最大长度不超过200字符
|
654
|
+
# @type FlowName: String
|
636
655
|
# @param Operator: 用户信息
|
637
656
|
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
638
|
-
# @param FlowName: 合同名称
|
639
|
-
# @type FlowName: String
|
640
657
|
# @param Agent: 应用信息
|
641
658
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
642
|
-
# @param
|
659
|
+
# @param CallbackUrl: 回调地址,最大长度1000字符串
|
660
|
+
# 回调时机:
|
661
|
+
# 用户通过签署二维码发起签署流程时,企业额度不足导致失败
|
662
|
+
# @type CallbackUrl: String
|
663
|
+
# @param MaxFlowNum: 最大可发起签署流程份数,默认5份
|
664
|
+
# 发起流程数量超过此上限后二维码自动失效
|
665
|
+
# @type MaxFlowNum: Integer
|
666
|
+
# @param FlowEffectiveDay: 签署流程有效天数 默认7天 最高设置不超过30天
|
643
667
|
# @type FlowEffectiveDay: Integer
|
644
668
|
# @param QrEffectiveDay: 二维码有效天数 默认7天 最高设置不超过90天
|
645
669
|
# @type QrEffectiveDay: Integer
|
646
|
-
# @param MaxFlowNum: 最大合同份数,默认5份 超过此上限 二维码自动失效
|
647
|
-
# @type MaxFlowNum: Integer
|
648
|
-
# @param CallbackUrl: 回调地址
|
649
|
-
# @type CallbackUrl: String
|
650
670
|
|
651
|
-
attr_accessor :TemplateId, :
|
671
|
+
attr_accessor :TemplateId, :FlowName, :Operator, :Agent, :CallbackUrl, :MaxFlowNum, :FlowEffectiveDay, :QrEffectiveDay
|
652
672
|
|
653
|
-
def initialize(templateid=nil,
|
673
|
+
def initialize(templateid=nil, flowname=nil, operator=nil, agent=nil, callbackurl=nil, maxflownum=nil, floweffectiveday=nil, qreffectiveday=nil)
|
654
674
|
@TemplateId = templateid
|
655
|
-
@Operator = operator
|
656
675
|
@FlowName = flowname
|
676
|
+
@Operator = operator
|
657
677
|
@Agent = agent
|
678
|
+
@CallbackUrl = callbackurl
|
679
|
+
@MaxFlowNum = maxflownum
|
658
680
|
@FlowEffectiveDay = floweffectiveday
|
659
681
|
@QrEffectiveDay = qreffectiveday
|
660
|
-
@MaxFlowNum = maxflownum
|
661
|
-
@CallbackUrl = callbackurl
|
662
682
|
end
|
663
683
|
|
664
684
|
def deserialize(params)
|
665
685
|
@TemplateId = params['TemplateId']
|
686
|
+
@FlowName = params['FlowName']
|
666
687
|
unless params['Operator'].nil?
|
667
688
|
@Operator = UserInfo.new
|
668
689
|
@Operator.deserialize(params['Operator'])
|
669
690
|
end
|
670
|
-
@FlowName = params['FlowName']
|
671
691
|
unless params['Agent'].nil?
|
672
692
|
@Agent = Agent.new
|
673
693
|
@Agent.deserialize(params['Agent'])
|
674
694
|
end
|
695
|
+
@CallbackUrl = params['CallbackUrl']
|
696
|
+
@MaxFlowNum = params['MaxFlowNum']
|
675
697
|
@FlowEffectiveDay = params['FlowEffectiveDay']
|
676
698
|
@QrEffectiveDay = params['QrEffectiveDay']
|
677
|
-
@MaxFlowNum = params['MaxFlowNum']
|
678
|
-
@CallbackUrl = params['CallbackUrl']
|
679
699
|
end
|
680
700
|
end
|
681
701
|
|
@@ -706,37 +726,37 @@ module TencentCloud
|
|
706
726
|
class CreateSchemeUrlRequest < TencentCloud::Common::AbstractModel
|
707
727
|
# @param Operator: 调用方用户信息,参考通用结构
|
708
728
|
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
709
|
-
# @param Agent:
|
729
|
+
# @param Agent: 应用相关信息
|
710
730
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
711
|
-
# @param Name: 姓名
|
712
|
-
# @type Name: String
|
713
|
-
# @param Mobile: 手机号
|
714
|
-
# @type Mobile: String
|
715
|
-
# @param PathType: 跳转页面 1: 小程序合同详情 2: 小程序合同列表页 0: 不传, 默认主页
|
716
|
-
# @type PathType: Integer
|
717
|
-
# @param FlowId: 合同详情 id (PathType=1时必传)
|
718
|
-
# @type FlowId: String
|
719
|
-
# @param OrganizationName: 企业名称
|
720
|
-
# @type OrganizationName: String
|
721
731
|
# @param EndPoint: 链接类型
|
722
732
|
# HTTP:跳转电子签小程序的http_url,
|
723
733
|
# APP:第三方APP或小程序跳转电子签小程序的path。
|
724
734
|
# 默认为HTTP类型
|
725
735
|
# @type EndPoint: String
|
736
|
+
# @param Name: 姓名,最大长度50个字符
|
737
|
+
# @type Name: String
|
738
|
+
# @param Mobile: 手机号,大陆手机号11位
|
739
|
+
# @type Mobile: String
|
740
|
+
# @param OrganizationName: 企业名称
|
741
|
+
# @type OrganizationName: String
|
742
|
+
# @param FlowId: 签署流程编号 (PathType=1时必传)
|
743
|
+
# @type FlowId: String
|
744
|
+
# @param PathType: 跳转页面 1: 小程序合同详情 2: 小程序合同列表页 0: 不传, 默认主页
|
745
|
+
# @type PathType: Integer
|
726
746
|
# @param AutoJumpBack: 是否自动回跳 true:是, false:否。该参数只针对"APP" 类型的签署链接有效
|
727
747
|
# @type AutoJumpBack: Boolean
|
728
748
|
|
729
|
-
attr_accessor :Operator, :Agent, :Name, :Mobile, :
|
749
|
+
attr_accessor :Operator, :Agent, :EndPoint, :Name, :Mobile, :OrganizationName, :FlowId, :PathType, :AutoJumpBack
|
730
750
|
|
731
|
-
def initialize(operator=nil, agent=nil,
|
751
|
+
def initialize(operator=nil, agent=nil, endpoint=nil, name=nil, mobile=nil, organizationname=nil, flowid=nil, pathtype=nil, autojumpback=nil)
|
732
752
|
@Operator = operator
|
733
753
|
@Agent = agent
|
754
|
+
@EndPoint = endpoint
|
734
755
|
@Name = name
|
735
756
|
@Mobile = mobile
|
736
|
-
@PathType = pathtype
|
737
|
-
@FlowId = flowid
|
738
757
|
@OrganizationName = organizationname
|
739
|
-
@
|
758
|
+
@FlowId = flowid
|
759
|
+
@PathType = pathtype
|
740
760
|
@AutoJumpBack = autojumpback
|
741
761
|
end
|
742
762
|
|
@@ -749,12 +769,12 @@ module TencentCloud
|
|
749
769
|
@Agent = Agent.new
|
750
770
|
@Agent.deserialize(params['Agent'])
|
751
771
|
end
|
772
|
+
@EndPoint = params['EndPoint']
|
752
773
|
@Name = params['Name']
|
753
774
|
@Mobile = params['Mobile']
|
754
|
-
@PathType = params['PathType']
|
755
|
-
@FlowId = params['FlowId']
|
756
775
|
@OrganizationName = params['OrganizationName']
|
757
|
-
@
|
776
|
+
@FlowId = params['FlowId']
|
777
|
+
@PathType = params['PathType']
|
758
778
|
@AutoJumpBack = params['AutoJumpBack']
|
759
779
|
end
|
760
780
|
end
|
@@ -787,61 +807,62 @@ module TencentCloud
|
|
787
807
|
# - 印章 “SEAL”
|
788
808
|
# - 流程 "FLOW"
|
789
809
|
# @type BusinessType: String
|
790
|
-
# @param Operator: 操作者信息
|
791
|
-
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
792
810
|
# @param BusinessIds: 业务编号的数组,如模板编号、文档编号、印章编号
|
811
|
+
# 最大支持20个资源
|
793
812
|
# @type BusinessIds: Array
|
794
|
-
# @param
|
795
|
-
# @type
|
813
|
+
# @param Operator: 操作者信息
|
814
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
815
|
+
# @param Agent: 应用相关信息
|
816
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
796
817
|
# @param FileName: 下载后的文件命名,只有fileType为zip的时候生效
|
797
818
|
# @type FileName: String
|
798
|
-
# @param
|
819
|
+
# @param FileType: 文件类型,"JPG", "PDF","ZIP"等
|
820
|
+
# @type FileType: String
|
821
|
+
# @param Offset: 指定资源起始偏移量,默认0
|
799
822
|
# @type Offset: Integer
|
800
823
|
# @param Limit: 指定资源数量,查询全部资源则传入-1
|
801
824
|
# @type Limit: Integer
|
802
|
-
# @param
|
803
|
-
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
804
|
-
# @param UrlTtl: 下载url过期时间,0: 按默认值5分钟,允许范围:1s~24*60*60s(1天)
|
825
|
+
# @param UrlTtl: 下载url过期时间,单位秒。0: 按默认值5分钟,允许范围:1s~24*60*60s(1天)
|
805
826
|
# @type UrlTtl: Integer
|
806
|
-
# @param
|
807
|
-
# @type CcToken: String
|
808
|
-
# @param Scene: 场景
|
827
|
+
# @param Scene: 暂不开放
|
809
828
|
# @type Scene: String
|
829
|
+
# @param CcToken: 暂不开放
|
830
|
+
# @type CcToken: String
|
810
831
|
|
811
|
-
attr_accessor :BusinessType, :
|
832
|
+
attr_accessor :BusinessType, :BusinessIds, :Operator, :Agent, :FileName, :FileType, :Offset, :Limit, :UrlTtl, :Scene, :CcToken
|
812
833
|
|
813
|
-
def initialize(businesstype=nil,
|
834
|
+
def initialize(businesstype=nil, businessids=nil, operator=nil, agent=nil, filename=nil, filetype=nil, offset=nil, limit=nil, urlttl=nil, scene=nil, cctoken=nil)
|
814
835
|
@BusinessType = businesstype
|
815
|
-
@Operator = operator
|
816
836
|
@BusinessIds = businessids
|
817
|
-
@
|
837
|
+
@Operator = operator
|
838
|
+
@Agent = agent
|
818
839
|
@FileName = filename
|
840
|
+
@FileType = filetype
|
819
841
|
@Offset = offset
|
820
842
|
@Limit = limit
|
821
|
-
@Agent = agent
|
822
843
|
@UrlTtl = urlttl
|
823
|
-
@CcToken = cctoken
|
824
844
|
@Scene = scene
|
845
|
+
@CcToken = cctoken
|
825
846
|
end
|
826
847
|
|
827
848
|
def deserialize(params)
|
828
849
|
@BusinessType = params['BusinessType']
|
850
|
+
@BusinessIds = params['BusinessIds']
|
829
851
|
unless params['Operator'].nil?
|
830
852
|
@Operator = UserInfo.new
|
831
853
|
@Operator.deserialize(params['Operator'])
|
832
854
|
end
|
833
|
-
@BusinessIds = params['BusinessIds']
|
834
|
-
@FileType = params['FileType']
|
835
|
-
@FileName = params['FileName']
|
836
|
-
@Offset = params['Offset']
|
837
|
-
@Limit = params['Limit']
|
838
855
|
unless params['Agent'].nil?
|
839
856
|
@Agent = Agent.new
|
840
857
|
@Agent.deserialize(params['Agent'])
|
841
858
|
end
|
859
|
+
@FileName = params['FileName']
|
860
|
+
@FileType = params['FileType']
|
861
|
+
@Offset = params['Offset']
|
862
|
+
@Limit = params['Limit']
|
842
863
|
@UrlTtl = params['UrlTtl']
|
843
|
-
@CcToken = params['CcToken']
|
844
864
|
@Scene = params['Scene']
|
865
|
+
@CcToken = params['CcToken']
|
845
866
|
end
|
846
867
|
end
|
847
868
|
|
@@ -878,27 +899,27 @@ module TencentCloud
|
|
878
899
|
|
879
900
|
# DescribeFlowBriefs请求参数结构体
|
880
901
|
class DescribeFlowBriefsRequest < TencentCloud::Common::AbstractModel
|
881
|
-
# @param Operator: 操作人信息
|
882
|
-
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
883
902
|
# @param FlowIds: 需要查询的流程ID列表
|
884
903
|
# @type FlowIds: Array
|
885
|
-
# @param
|
904
|
+
# @param Operator: 操作人信息
|
905
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
906
|
+
# @param Agent: 应用相关信息
|
886
907
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
887
908
|
|
888
|
-
attr_accessor :
|
909
|
+
attr_accessor :FlowIds, :Operator, :Agent
|
889
910
|
|
890
|
-
def initialize(
|
891
|
-
@Operator = operator
|
911
|
+
def initialize(flowids=nil, operator=nil, agent=nil)
|
892
912
|
@FlowIds = flowids
|
913
|
+
@Operator = operator
|
893
914
|
@Agent = agent
|
894
915
|
end
|
895
916
|
|
896
917
|
def deserialize(params)
|
918
|
+
@FlowIds = params['FlowIds']
|
897
919
|
unless params['Operator'].nil?
|
898
920
|
@Operator = UserInfo.new
|
899
921
|
@Operator.deserialize(params['Operator'])
|
900
922
|
end
|
901
|
-
@FlowIds = params['FlowIds']
|
902
923
|
unless params['Agent'].nil?
|
903
924
|
@Agent = Agent.new
|
904
925
|
@Agent.deserialize(params['Agent'])
|
@@ -1019,7 +1040,7 @@ module TencentCloud
|
|
1019
1040
|
|
1020
1041
|
# DescribeThirdPartyAuthCode请求参数结构体
|
1021
1042
|
class DescribeThirdPartyAuthCodeRequest < TencentCloud::Common::AbstractModel
|
1022
|
-
# @param AuthCode:
|
1043
|
+
# @param AuthCode: 电子签小程序跳转客户小程序时携带的授权查看码
|
1023
1044
|
# @type AuthCode: String
|
1024
1045
|
|
1025
1046
|
attr_accessor :AuthCode
|
@@ -1182,65 +1203,63 @@ module TencentCloud
|
|
1182
1203
|
# @type ApproverType: Integer
|
1183
1204
|
# @param OrganizationName: 如果签署方为企业,需要填入企业全称
|
1184
1205
|
# @type OrganizationName: String
|
1185
|
-
# @param Required: 是否需要签署
|
1186
|
-
# - `false`: 不需要签署
|
1187
|
-
# - `true`: 需要签署
|
1188
|
-
# @type Required: Boolean
|
1189
1206
|
# @param ApproverName: 签署方经办人姓名
|
1190
1207
|
# @type ApproverName: String
|
1191
1208
|
# @param ApproverMobile: 签署方经办人手机号码
|
1192
1209
|
# @type ApproverMobile: String
|
1193
|
-
# @param ApproverIdCardNumber: 签署方经办人证件号码
|
1194
|
-
# @type ApproverIdCardNumber: String
|
1195
1210
|
# @param ApproverIdCardType: 签署方经办人证件类型ID_CARD 身份证
|
1196
1211
|
# HONGKONG_AND_MACAO 港澳居民来往内地通行证
|
1197
1212
|
# HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证(格式同居民身份证)
|
1198
1213
|
# @type ApproverIdCardType: String
|
1214
|
+
# @param ApproverIdCardNumber: 签署方经办人证件号码
|
1215
|
+
# @type ApproverIdCardNumber: String
|
1199
1216
|
# @param RecipientId: 签署方经办人在模板中的角色ID
|
1200
1217
|
# @type RecipientId: String
|
1201
|
-
# @param
|
1202
|
-
# @type
|
1218
|
+
# @param VerifyChannel: 签署意愿确认渠道,WEIXINAPP:人脸识别
|
1219
|
+
# @type VerifyChannel: Array
|
1220
|
+
# @param NotifyType: 是否发送短信,sms--短信通知,none--不通知,默认为sms
|
1221
|
+
# @type NotifyType: String
|
1203
1222
|
# @param IsFullText: 签署前置条件:是否需要阅读全文,默认为不需要
|
1204
1223
|
# @type IsFullText: Boolean
|
1205
1224
|
# @param PreReadTime: 签署前置条件:阅读时长限制,默认为不需要
|
1206
1225
|
# @type PreReadTime: Integer
|
1207
|
-
# @param
|
1208
|
-
# @type
|
1209
|
-
# @param
|
1210
|
-
# @type
|
1226
|
+
# @param UserId: 签署方经办人的用户ID,和签署方经办人姓名+手机号+证件必须有一个
|
1227
|
+
# @type UserId: String
|
1228
|
+
# @param Required: 当前只支持true,默认为true
|
1229
|
+
# @type Required: Boolean
|
1211
1230
|
|
1212
|
-
attr_accessor :ApproverType, :OrganizationName, :
|
1231
|
+
attr_accessor :ApproverType, :OrganizationName, :ApproverName, :ApproverMobile, :ApproverIdCardType, :ApproverIdCardNumber, :RecipientId, :VerifyChannel, :NotifyType, :IsFullText, :PreReadTime, :UserId, :Required
|
1213
1232
|
|
1214
|
-
def initialize(approvertype=nil, organizationname=nil,
|
1233
|
+
def initialize(approvertype=nil, organizationname=nil, approvername=nil, approvermobile=nil, approveridcardtype=nil, approveridcardnumber=nil, recipientid=nil, verifychannel=nil, notifytype=nil, isfulltext=nil, prereadtime=nil, userid=nil, required=nil)
|
1215
1234
|
@ApproverType = approvertype
|
1216
1235
|
@OrganizationName = organizationname
|
1217
|
-
@Required = required
|
1218
1236
|
@ApproverName = approvername
|
1219
1237
|
@ApproverMobile = approvermobile
|
1220
|
-
@ApproverIdCardNumber = approveridcardnumber
|
1221
1238
|
@ApproverIdCardType = approveridcardtype
|
1239
|
+
@ApproverIdCardNumber = approveridcardnumber
|
1222
1240
|
@RecipientId = recipientid
|
1223
|
-
@
|
1241
|
+
@VerifyChannel = verifychannel
|
1242
|
+
@NotifyType = notifytype
|
1224
1243
|
@IsFullText = isfulltext
|
1225
1244
|
@PreReadTime = prereadtime
|
1226
|
-
@
|
1227
|
-
@
|
1245
|
+
@UserId = userid
|
1246
|
+
@Required = required
|
1228
1247
|
end
|
1229
1248
|
|
1230
1249
|
def deserialize(params)
|
1231
1250
|
@ApproverType = params['ApproverType']
|
1232
1251
|
@OrganizationName = params['OrganizationName']
|
1233
|
-
@Required = params['Required']
|
1234
1252
|
@ApproverName = params['ApproverName']
|
1235
1253
|
@ApproverMobile = params['ApproverMobile']
|
1236
|
-
@ApproverIdCardNumber = params['ApproverIdCardNumber']
|
1237
1254
|
@ApproverIdCardType = params['ApproverIdCardType']
|
1255
|
+
@ApproverIdCardNumber = params['ApproverIdCardNumber']
|
1238
1256
|
@RecipientId = params['RecipientId']
|
1239
|
-
@
|
1257
|
+
@VerifyChannel = params['VerifyChannel']
|
1258
|
+
@NotifyType = params['NotifyType']
|
1240
1259
|
@IsFullText = params['IsFullText']
|
1241
1260
|
@PreReadTime = params['PreReadTime']
|
1242
|
-
@
|
1243
|
-
@
|
1261
|
+
@UserId = params['UserId']
|
1262
|
+
@Required = params['Required']
|
1244
1263
|
end
|
1245
1264
|
end
|
1246
1265
|
|
@@ -1250,7 +1269,7 @@ module TencentCloud
|
|
1250
1269
|
# @type ComponentValue: String
|
1251
1270
|
# @param ComponentId: 控件id
|
1252
1271
|
# @type ComponentId: String
|
1253
|
-
# @param ComponentName:
|
1272
|
+
# @param ComponentName: 控件名字,最大长度不超过30字符
|
1254
1273
|
# @type ComponentName: String
|
1255
1274
|
|
1256
1275
|
attr_accessor :ComponentValue, :ComponentId, :ComponentName
|
@@ -1358,30 +1377,30 @@ module TencentCloud
|
|
1358
1377
|
|
1359
1378
|
# StartFlow请求参数结构体
|
1360
1379
|
class StartFlowRequest < TencentCloud::Common::AbstractModel
|
1380
|
+
# @param FlowId: 签署流程编号,由CreateFlow接口返回
|
1381
|
+
# @type FlowId: String
|
1361
1382
|
# @param Operator: 用户信息
|
1362
1383
|
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1363
|
-
# @param FlowId: 流程编号
|
1364
|
-
# @type FlowId: String
|
1365
1384
|
# @param Agent: 应用相关信息
|
1366
1385
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
1367
|
-
# @param ClientToken: 客户端Token
|
1386
|
+
# @param ClientToken: 客户端Token,保持接口幂等性,最大长度64个字符
|
1368
1387
|
# @type ClientToken: String
|
1369
1388
|
|
1370
|
-
attr_accessor :
|
1389
|
+
attr_accessor :FlowId, :Operator, :Agent, :ClientToken
|
1371
1390
|
|
1372
|
-
def initialize(
|
1373
|
-
@Operator = operator
|
1391
|
+
def initialize(flowid=nil, operator=nil, agent=nil, clienttoken=nil)
|
1374
1392
|
@FlowId = flowid
|
1393
|
+
@Operator = operator
|
1375
1394
|
@Agent = agent
|
1376
1395
|
@ClientToken = clienttoken
|
1377
1396
|
end
|
1378
1397
|
|
1379
1398
|
def deserialize(params)
|
1399
|
+
@FlowId = params['FlowId']
|
1380
1400
|
unless params['Operator'].nil?
|
1381
1401
|
@Operator = UserInfo.new
|
1382
1402
|
@Operator.deserialize(params['Operator'])
|
1383
1403
|
end
|
1384
|
-
@FlowId = params['FlowId']
|
1385
1404
|
unless params['Agent'].nil?
|
1386
1405
|
@Agent = Agent.new
|
1387
1406
|
@Agent.deserialize(params['Agent'])
|
@@ -1513,7 +1532,7 @@ module TencentCloud
|
|
1513
1532
|
class UploadFile < TencentCloud::Common::AbstractModel
|
1514
1533
|
# @param FileBody: Base64编码后的文件内容
|
1515
1534
|
# @type FileBody: String
|
1516
|
-
# @param FileName:
|
1535
|
+
# @param FileName: 文件名,最大长度不超过200字符
|
1517
1536
|
# @type FileName: String
|
1518
1537
|
|
1519
1538
|
attr_accessor :FileBody, :FileName
|
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: 1.0.
|
4
|
+
version: 1.0.345
|
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-06-
|
11
|
+
date: 2022-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|