tencentcloud-sdk-ess 1.0.364 → 3.0.380
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 +73 -0
- data/lib/v20201111/models.rb +310 -20
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efc693204644d357872554f41a3035d507e3b88d
|
4
|
+
data.tar.gz: c171539cb8fcede4e843cf1f888081c5e0268f63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d0ab386a028687d7ec93174038b94dc538d6e57dc1d7f99baf2202c8d66e4e492a308447ecfba3859258baddf336a7fc00442585aec63e053f1da3a40469570
|
7
|
+
data.tar.gz: 73b3d412f8b890bba20089700760cf956db322e30747a7d6222c63663c0a89c20b994f977b02a04a161539e0fc8f93a5c0c9650e2f137edac7e40e5cb153c880
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.380
|
data/lib/v20201111/client.rb
CHANGED
@@ -79,6 +79,55 @@ module TencentCloud
|
|
79
79
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
80
80
|
end
|
81
81
|
|
82
|
+
# 电子签企业版:指定需要批量撤回的签署流程Id,获取批量撤销链接
|
83
|
+
# 客户指定需要撤回的签署流程Id,最多100个,超过100不处理;接口调用成功返回批量撤回合同的链接,通过链接跳转到电子签小程序完成批量撤回
|
84
|
+
|
85
|
+
# @param request: Request instance for CreateBatchCancelFlowUrl.
|
86
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateBatchCancelFlowUrlRequest`
|
87
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateBatchCancelFlowUrlResponse`
|
88
|
+
def CreateBatchCancelFlowUrl(request)
|
89
|
+
body = send_request('CreateBatchCancelFlowUrl', request.serialize)
|
90
|
+
response = JSON.parse(body)
|
91
|
+
if response['Response'].key?('Error') == false
|
92
|
+
model = CreateBatchCancelFlowUrlResponse.new
|
93
|
+
model.deserialize(response['Response'])
|
94
|
+
model
|
95
|
+
else
|
96
|
+
code = response['Response']['Error']['Code']
|
97
|
+
message = response['Response']['Error']['Message']
|
98
|
+
reqid = response['Response']['RequestId']
|
99
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
100
|
+
end
|
101
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
102
|
+
raise e
|
103
|
+
rescue StandardError => e
|
104
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
105
|
+
end
|
106
|
+
|
107
|
+
# 创建文件转换任务
|
108
|
+
|
109
|
+
# @param request: Request instance for CreateConvertTaskApi.
|
110
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreateConvertTaskApiRequest`
|
111
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreateConvertTaskApiResponse`
|
112
|
+
def CreateConvertTaskApi(request)
|
113
|
+
body = send_request('CreateConvertTaskApi', request.serialize)
|
114
|
+
response = JSON.parse(body)
|
115
|
+
if response['Response'].key?('Error') == false
|
116
|
+
model = CreateConvertTaskApiResponse.new
|
117
|
+
model.deserialize(response['Response'])
|
118
|
+
model
|
119
|
+
else
|
120
|
+
code = response['Response']['Error']['Code']
|
121
|
+
message = response['Response']['Error']['Message']
|
122
|
+
reqid = response['Response']['RequestId']
|
123
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
124
|
+
end
|
125
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
126
|
+
raise e
|
127
|
+
rescue StandardError => e
|
128
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
129
|
+
end
|
130
|
+
|
82
131
|
# 创建签署流程电子文档
|
83
132
|
# 适用场景:见创建签署流程接口。
|
84
133
|
|
@@ -318,6 +367,30 @@ module TencentCloud
|
|
318
367
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
319
368
|
end
|
320
369
|
|
370
|
+
# 查询转换任务状态
|
371
|
+
|
372
|
+
# @param request: Request instance for GetTaskResultApi.
|
373
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::GetTaskResultApiRequest`
|
374
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::GetTaskResultApiResponse`
|
375
|
+
def GetTaskResultApi(request)
|
376
|
+
body = send_request('GetTaskResultApi', request.serialize)
|
377
|
+
response = JSON.parse(body)
|
378
|
+
if response['Response'].key?('Error') == false
|
379
|
+
model = GetTaskResultApiResponse.new
|
380
|
+
model.deserialize(response['Response'])
|
381
|
+
model
|
382
|
+
else
|
383
|
+
code = response['Response']['Error']['Code']
|
384
|
+
message = response['Response']['Error']['Message']
|
385
|
+
reqid = response['Response']['RequestId']
|
386
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
387
|
+
end
|
388
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
389
|
+
raise e
|
390
|
+
rescue StandardError => e
|
391
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
392
|
+
end
|
393
|
+
|
321
394
|
# 此接口用于发起流程
|
322
395
|
# 适用场景:见创建签署流程接口。
|
323
396
|
# 注:该接口是“创建电子文档”接口的后置接口,用于激活包含完整合同信息(模板及内容信息)的流程。激活后的流程就是一份待签署的电子合同。
|
data/lib/v20201111/models.rb
CHANGED
@@ -40,7 +40,7 @@ module TencentCloud
|
|
40
40
|
# @type ApproverName: String
|
41
41
|
# @param ApproverMobile: 本环节需要操作人的手机号
|
42
42
|
# @type ApproverMobile: String
|
43
|
-
# @param SignComponents:
|
43
|
+
# @param SignComponents: 本环节操作人签署控件配置
|
44
44
|
# @type SignComponents: Array
|
45
45
|
# @param OrganizationName: 如果是企业,则为企业的名字
|
46
46
|
# @type OrganizationName: String
|
@@ -98,6 +98,34 @@ module TencentCloud
|
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
+
# 指定签署人限制项
|
102
|
+
class ApproverRestriction < TencentCloud::Common::AbstractModel
|
103
|
+
# @param Name: 指定签署人名字
|
104
|
+
# @type Name: String
|
105
|
+
# @param Mobile: 指定签署人手机号
|
106
|
+
# @type Mobile: String
|
107
|
+
# @param IdCardType: 指定签署人证件类型
|
108
|
+
# @type IdCardType: String
|
109
|
+
# @param IdCardNumber: 指定签署人证件号码
|
110
|
+
# @type IdCardNumber: String
|
111
|
+
|
112
|
+
attr_accessor :Name, :Mobile, :IdCardType, :IdCardNumber
|
113
|
+
|
114
|
+
def initialize(name=nil, mobile=nil, idcardtype=nil, idcardnumber=nil)
|
115
|
+
@Name = name
|
116
|
+
@Mobile = mobile
|
117
|
+
@IdCardType = idcardtype
|
118
|
+
@IdCardNumber = idcardnumber
|
119
|
+
end
|
120
|
+
|
121
|
+
def deserialize(params)
|
122
|
+
@Name = params['Name']
|
123
|
+
@Mobile = params['Mobile']
|
124
|
+
@IdCardType = params['IdCardType']
|
125
|
+
@IdCardNumber = params['IdCardNumber']
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
101
129
|
# 此结构体 (Caller) 用于描述调用方属性。
|
102
130
|
class Caller < TencentCloud::Common::AbstractModel
|
103
131
|
# @param ApplicationId: 应用号
|
@@ -241,13 +269,15 @@ module TencentCloud
|
|
241
269
|
# 模板控件信息
|
242
270
|
class Component < TencentCloud::Common::AbstractModel
|
243
271
|
# @param ComponentType: 如果是 Component 控件类型,则可选类型为:
|
244
|
-
# TEXT -
|
245
|
-
#
|
246
|
-
# CHECK_BOX -
|
272
|
+
# TEXT - 单行文本
|
273
|
+
# MULTI_LINE_TEXT - 多行文本
|
274
|
+
# CHECK_BOX - 勾选框
|
275
|
+
# ATTACHMENT - 附件
|
276
|
+
# SELECTOR - 选择器
|
247
277
|
# 如果是 SignComponent 控件类型,则可选类型为:
|
248
|
-
# SIGN_SEAL -
|
278
|
+
# SIGN_SEAL - 签署印章控件,静默签署时需要传入印章id作为ComponentValue
|
249
279
|
# SIGN_DATE - 签署日期控件
|
250
|
-
# SIGN_SIGNATURE -
|
280
|
+
# SIGN_SIGNATURE - 手写签名控件,静默签署时不能使用
|
251
281
|
# @type ComponentType: String
|
252
282
|
# @param ComponentWidth: 参数控件宽度,单位pt
|
253
283
|
# @type ComponentWidth: Float
|
@@ -279,7 +309,12 @@ module TencentCloud
|
|
279
309
|
# @type ComponentExtra: String
|
280
310
|
# @param ComponentRecipientId: 控件关联的签署人ID
|
281
311
|
# @type ComponentRecipientId: String
|
282
|
-
# @param ComponentValue:
|
312
|
+
# @param ComponentValue: 控件填充vaule,ComponentType和传入值类型对应关系:
|
313
|
+
# TEXT - 文本内容
|
314
|
+
# MULTI_LINE_TEXT - 文本内容
|
315
|
+
# CHECK_BOX - true/false
|
316
|
+
# ATTACHMENT - 附件的FileId,需要通过UploadFiles接口上传获取
|
317
|
+
# SELECTOR - 选项值
|
283
318
|
# @type ComponentValue: String
|
284
319
|
# @param IsFormType: 是否是表单域类型,默认不存在
|
285
320
|
# @type IsFormType: Boolean
|
@@ -339,6 +374,122 @@ module TencentCloud
|
|
339
374
|
end
|
340
375
|
end
|
341
376
|
|
377
|
+
# CreateBatchCancelFlowUrl请求参数结构体
|
378
|
+
class CreateBatchCancelFlowUrlRequest < TencentCloud::Common::AbstractModel
|
379
|
+
# @param Operator: 调用方用户信息,userId 必填
|
380
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
381
|
+
# @param FlowIds: 需要执行撤回的签署流程id数组,最多100个
|
382
|
+
# @type FlowIds: Array
|
383
|
+
|
384
|
+
attr_accessor :Operator, :FlowIds
|
385
|
+
|
386
|
+
def initialize(operator=nil, flowids=nil)
|
387
|
+
@Operator = operator
|
388
|
+
@FlowIds = flowids
|
389
|
+
end
|
390
|
+
|
391
|
+
def deserialize(params)
|
392
|
+
unless params['Operator'].nil?
|
393
|
+
@Operator = UserInfo.new
|
394
|
+
@Operator.deserialize(params['Operator'])
|
395
|
+
end
|
396
|
+
@FlowIds = params['FlowIds']
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
# CreateBatchCancelFlowUrl返回参数结构体
|
401
|
+
class CreateBatchCancelFlowUrlResponse < TencentCloud::Common::AbstractModel
|
402
|
+
# @param BatchCancelFlowUrl: 批量撤回签署流程链接
|
403
|
+
# @type BatchCancelFlowUrl: String
|
404
|
+
# @param FailMessages: 签署流程撤回失败信息
|
405
|
+
# @type FailMessages: Array
|
406
|
+
# @param UrlExpireOn: 签署连接过期时间字符串:年月日-时分秒
|
407
|
+
# @type UrlExpireOn: String
|
408
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
409
|
+
# @type RequestId: String
|
410
|
+
|
411
|
+
attr_accessor :BatchCancelFlowUrl, :FailMessages, :UrlExpireOn, :RequestId
|
412
|
+
|
413
|
+
def initialize(batchcancelflowurl=nil, failmessages=nil, urlexpireon=nil, requestid=nil)
|
414
|
+
@BatchCancelFlowUrl = batchcancelflowurl
|
415
|
+
@FailMessages = failmessages
|
416
|
+
@UrlExpireOn = urlexpireon
|
417
|
+
@RequestId = requestid
|
418
|
+
end
|
419
|
+
|
420
|
+
def deserialize(params)
|
421
|
+
@BatchCancelFlowUrl = params['BatchCancelFlowUrl']
|
422
|
+
@FailMessages = params['FailMessages']
|
423
|
+
@UrlExpireOn = params['UrlExpireOn']
|
424
|
+
@RequestId = params['RequestId']
|
425
|
+
end
|
426
|
+
end
|
427
|
+
|
428
|
+
# CreateConvertTaskApi请求参数结构体
|
429
|
+
class CreateConvertTaskApiRequest < TencentCloud::Common::AbstractModel
|
430
|
+
# @param ResourceId: 资源Id
|
431
|
+
# @type ResourceId: String
|
432
|
+
# @param ResourceType: 资源类型 取值范围doc,docx,html之一
|
433
|
+
# @type ResourceType: String
|
434
|
+
# @param ResourceName: 资源名称
|
435
|
+
# @type ResourceName: String
|
436
|
+
# @param Organization: 无
|
437
|
+
# @type Organization: :class:`Tencentcloud::Ess.v20201111.models.OrganizationInfo`
|
438
|
+
# @param Operator: 无
|
439
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
440
|
+
# @param Agent: 无
|
441
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
442
|
+
|
443
|
+
attr_accessor :ResourceId, :ResourceType, :ResourceName, :Organization, :Operator, :Agent
|
444
|
+
|
445
|
+
def initialize(resourceid=nil, resourcetype=nil, resourcename=nil, organization=nil, operator=nil, agent=nil)
|
446
|
+
@ResourceId = resourceid
|
447
|
+
@ResourceType = resourcetype
|
448
|
+
@ResourceName = resourcename
|
449
|
+
@Organization = organization
|
450
|
+
@Operator = operator
|
451
|
+
@Agent = agent
|
452
|
+
end
|
453
|
+
|
454
|
+
def deserialize(params)
|
455
|
+
@ResourceId = params['ResourceId']
|
456
|
+
@ResourceType = params['ResourceType']
|
457
|
+
@ResourceName = params['ResourceName']
|
458
|
+
unless params['Organization'].nil?
|
459
|
+
@Organization = OrganizationInfo.new
|
460
|
+
@Organization.deserialize(params['Organization'])
|
461
|
+
end
|
462
|
+
unless params['Operator'].nil?
|
463
|
+
@Operator = UserInfo.new
|
464
|
+
@Operator.deserialize(params['Operator'])
|
465
|
+
end
|
466
|
+
unless params['Agent'].nil?
|
467
|
+
@Agent = Agent.new
|
468
|
+
@Agent.deserialize(params['Agent'])
|
469
|
+
end
|
470
|
+
end
|
471
|
+
end
|
472
|
+
|
473
|
+
# CreateConvertTaskApi返回参数结构体
|
474
|
+
class CreateConvertTaskApiResponse < TencentCloud::Common::AbstractModel
|
475
|
+
# @param TaskId: 转换任务Id
|
476
|
+
# @type TaskId: String
|
477
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
478
|
+
# @type RequestId: String
|
479
|
+
|
480
|
+
attr_accessor :TaskId, :RequestId
|
481
|
+
|
482
|
+
def initialize(taskid=nil, requestid=nil)
|
483
|
+
@TaskId = taskid
|
484
|
+
@RequestId = requestid
|
485
|
+
end
|
486
|
+
|
487
|
+
def deserialize(params)
|
488
|
+
@TaskId = params['TaskId']
|
489
|
+
@RequestId = params['RequestId']
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
342
493
|
# CreateDocument请求参数结构体
|
343
494
|
class CreateDocumentRequest < TencentCloud::Common::AbstractModel
|
344
495
|
# @param Operator: 调用方用户信息,userId 必填
|
@@ -434,12 +585,7 @@ module TencentCloud
|
|
434
585
|
# @type FileIds: Array
|
435
586
|
# @param FlowType: 签署流程的类型(如销售合同/入职合同等),最大长度200个字符
|
436
587
|
# @type FlowType: String
|
437
|
-
# @param Components:
|
438
|
-
# TEXT - 内容文本控件
|
439
|
-
# MULTI_LINE_TEXT - 多行文本控件
|
440
|
-
# CHECK_BOX - 勾选框控件
|
441
|
-
# ATTACHMENT - 附件
|
442
|
-
# 注:默认字体大小为 字号12
|
588
|
+
# @param Components: 经办人内容控件配置
|
443
589
|
# @type Components: Array
|
444
590
|
# @param CcInfos: 被抄送人的信息列表。
|
445
591
|
# 注:此功能为白名单功能,若有需要,请联系电子签客服开白使用
|
@@ -671,10 +817,12 @@ module TencentCloud
|
|
671
817
|
# @type FlowEffectiveDay: Integer
|
672
818
|
# @param QrEffectiveDay: 二维码有效天数 默认7天 最高设置不超过90天
|
673
819
|
# @type QrEffectiveDay: Integer
|
820
|
+
# @param ApproverRestrictions: 限制二维码用户条件
|
821
|
+
# @type ApproverRestrictions: :class:`Tencentcloud::Ess.v20201111.models.ApproverRestriction`
|
674
822
|
|
675
|
-
attr_accessor :TemplateId, :FlowName, :Operator, :Agent, :CallbackUrl, :MaxFlowNum, :FlowEffectiveDay, :QrEffectiveDay
|
823
|
+
attr_accessor :TemplateId, :FlowName, :Operator, :Agent, :CallbackUrl, :MaxFlowNum, :FlowEffectiveDay, :QrEffectiveDay, :ApproverRestrictions
|
676
824
|
|
677
|
-
def initialize(templateid=nil, flowname=nil, operator=nil, agent=nil, callbackurl=nil, maxflownum=nil, floweffectiveday=nil, qreffectiveday=nil)
|
825
|
+
def initialize(templateid=nil, flowname=nil, operator=nil, agent=nil, callbackurl=nil, maxflownum=nil, floweffectiveday=nil, qreffectiveday=nil, approverrestrictions=nil)
|
678
826
|
@TemplateId = templateid
|
679
827
|
@FlowName = flowname
|
680
828
|
@Operator = operator
|
@@ -683,6 +831,7 @@ module TencentCloud
|
|
683
831
|
@MaxFlowNum = maxflownum
|
684
832
|
@FlowEffectiveDay = floweffectiveday
|
685
833
|
@QrEffectiveDay = qreffectiveday
|
834
|
+
@ApproverRestrictions = approverrestrictions
|
686
835
|
end
|
687
836
|
|
688
837
|
def deserialize(params)
|
@@ -700,6 +849,10 @@ module TencentCloud
|
|
700
849
|
@MaxFlowNum = params['MaxFlowNum']
|
701
850
|
@FlowEffectiveDay = params['FlowEffectiveDay']
|
702
851
|
@QrEffectiveDay = params['QrEffectiveDay']
|
852
|
+
unless params['ApproverRestrictions'].nil?
|
853
|
+
@ApproverRestrictions = ApproverRestriction.new
|
854
|
+
@ApproverRestrictions.deserialize(params['ApproverRestrictions'])
|
855
|
+
end
|
703
856
|
end
|
704
857
|
end
|
705
858
|
|
@@ -707,13 +860,16 @@ module TencentCloud
|
|
707
860
|
class CreateMultiFlowSignQRCodeResponse < TencentCloud::Common::AbstractModel
|
708
861
|
# @param QrCode: 签署二维码对象
|
709
862
|
# @type QrCode: :class:`Tencentcloud::Ess.v20201111.models.SignQrCode`
|
863
|
+
# @param SignUrls: 签署链接对象
|
864
|
+
# @type SignUrls: :class:`Tencentcloud::Ess.v20201111.models.SignUrl`
|
710
865
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
711
866
|
# @type RequestId: String
|
712
867
|
|
713
|
-
attr_accessor :QrCode, :RequestId
|
868
|
+
attr_accessor :QrCode, :SignUrls, :RequestId
|
714
869
|
|
715
|
-
def initialize(qrcode=nil, requestid=nil)
|
870
|
+
def initialize(qrcode=nil, signurls=nil, requestid=nil)
|
716
871
|
@QrCode = qrcode
|
872
|
+
@SignUrls = signurls
|
717
873
|
@RequestId = requestid
|
718
874
|
end
|
719
875
|
|
@@ -722,6 +878,10 @@ module TencentCloud
|
|
722
878
|
@QrCode = SignQrCode.new
|
723
879
|
@QrCode.deserialize(params['QrCode'])
|
724
880
|
end
|
881
|
+
unless params['SignUrls'].nil?
|
882
|
+
@SignUrls = SignUrl.new
|
883
|
+
@SignUrls.deserialize(params['SignUrls'])
|
884
|
+
end
|
725
885
|
@RequestId = params['RequestId']
|
726
886
|
end
|
727
887
|
end
|
@@ -1269,11 +1429,16 @@ module TencentCloud
|
|
1269
1429
|
|
1270
1430
|
# 电子文档的控件填充信息
|
1271
1431
|
class FormField < TencentCloud::Common::AbstractModel
|
1272
|
-
# @param ComponentValue: 控件填充value
|
1432
|
+
# @param ComponentValue: 控件填充value,ComponentType和传入值类型对应关系:
|
1433
|
+
# TEXT - 文本内容
|
1434
|
+
# MULTI_LINE_TEXT - 文本内容
|
1435
|
+
# CHECK_BOX - true/false
|
1436
|
+
# ATTACHMENT - 附件的FileId,需要通过UploadFiles接口上传获取
|
1437
|
+
# SELECTOR - 模板中配置的选项值
|
1273
1438
|
# @type ComponentValue: String
|
1274
|
-
# @param ComponentId: 控件id
|
1439
|
+
# @param ComponentId: 控件id,和ComponentName选择一项传入即可
|
1275
1440
|
# @type ComponentId: String
|
1276
|
-
# @param ComponentName: 控件名字,最大长度不超过30
|
1441
|
+
# @param ComponentName: 控件名字,最大长度不超过30字符,和ComponentId选择一项传入即可
|
1277
1442
|
# @type ComponentName: String
|
1278
1443
|
|
1279
1444
|
attr_accessor :ComponentValue, :ComponentId, :ComponentName
|
@@ -1291,6 +1456,107 @@ module TencentCloud
|
|
1291
1456
|
end
|
1292
1457
|
end
|
1293
1458
|
|
1459
|
+
# GetTaskResultApi请求参数结构体
|
1460
|
+
class GetTaskResultApiRequest < TencentCloud::Common::AbstractModel
|
1461
|
+
# @param TaskId: 任务Id
|
1462
|
+
# @type TaskId: String
|
1463
|
+
# @param Organization: 企业信息
|
1464
|
+
# @type Organization: :class:`Tencentcloud::Ess.v20201111.models.OrganizationInfo`
|
1465
|
+
# @param Operator: 操作人信息
|
1466
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1467
|
+
# @param Agent: 渠道信息
|
1468
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
1469
|
+
|
1470
|
+
attr_accessor :TaskId, :Organization, :Operator, :Agent
|
1471
|
+
|
1472
|
+
def initialize(taskid=nil, organization=nil, operator=nil, agent=nil)
|
1473
|
+
@TaskId = taskid
|
1474
|
+
@Organization = organization
|
1475
|
+
@Operator = operator
|
1476
|
+
@Agent = agent
|
1477
|
+
end
|
1478
|
+
|
1479
|
+
def deserialize(params)
|
1480
|
+
@TaskId = params['TaskId']
|
1481
|
+
unless params['Organization'].nil?
|
1482
|
+
@Organization = OrganizationInfo.new
|
1483
|
+
@Organization.deserialize(params['Organization'])
|
1484
|
+
end
|
1485
|
+
unless params['Operator'].nil?
|
1486
|
+
@Operator = UserInfo.new
|
1487
|
+
@Operator.deserialize(params['Operator'])
|
1488
|
+
end
|
1489
|
+
unless params['Agent'].nil?
|
1490
|
+
@Agent = Agent.new
|
1491
|
+
@Agent.deserialize(params['Agent'])
|
1492
|
+
end
|
1493
|
+
end
|
1494
|
+
end
|
1495
|
+
|
1496
|
+
# GetTaskResultApi返回参数结构体
|
1497
|
+
class GetTaskResultApiResponse < TencentCloud::Common::AbstractModel
|
1498
|
+
# @param TaskId: 任务Id
|
1499
|
+
# @type TaskId: String
|
1500
|
+
# @param TaskStatus: 任务状态
|
1501
|
+
# @type TaskStatus: Integer
|
1502
|
+
# @param TaskMessage: 状态描述
|
1503
|
+
# @type TaskMessage: String
|
1504
|
+
# @param ResourceId: 资源Id
|
1505
|
+
# @type ResourceId: String
|
1506
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1507
|
+
# @type RequestId: String
|
1508
|
+
|
1509
|
+
attr_accessor :TaskId, :TaskStatus, :TaskMessage, :ResourceId, :RequestId
|
1510
|
+
|
1511
|
+
def initialize(taskid=nil, taskstatus=nil, taskmessage=nil, resourceid=nil, requestid=nil)
|
1512
|
+
@TaskId = taskid
|
1513
|
+
@TaskStatus = taskstatus
|
1514
|
+
@TaskMessage = taskmessage
|
1515
|
+
@ResourceId = resourceid
|
1516
|
+
@RequestId = requestid
|
1517
|
+
end
|
1518
|
+
|
1519
|
+
def deserialize(params)
|
1520
|
+
@TaskId = params['TaskId']
|
1521
|
+
@TaskStatus = params['TaskStatus']
|
1522
|
+
@TaskMessage = params['TaskMessage']
|
1523
|
+
@ResourceId = params['ResourceId']
|
1524
|
+
@RequestId = params['RequestId']
|
1525
|
+
end
|
1526
|
+
end
|
1527
|
+
|
1528
|
+
# 机构信息
|
1529
|
+
class OrganizationInfo < TencentCloud::Common::AbstractModel
|
1530
|
+
# @param OrganizationId: 机构在平台的编号
|
1531
|
+
# @type OrganizationId: String
|
1532
|
+
# @param Channel: 用户渠道
|
1533
|
+
# @type Channel: String
|
1534
|
+
# @param OrganizationOpenId: 用户在渠道的机构编号
|
1535
|
+
# @type OrganizationOpenId: String
|
1536
|
+
# @param ClientIp: 用户真实的IP
|
1537
|
+
# @type ClientIp: String
|
1538
|
+
# @param ProxyIp: 机构的代理IP
|
1539
|
+
# @type ProxyIp: String
|
1540
|
+
|
1541
|
+
attr_accessor :OrganizationId, :Channel, :OrganizationOpenId, :ClientIp, :ProxyIp
|
1542
|
+
|
1543
|
+
def initialize(organizationid=nil, channel=nil, organizationopenid=nil, clientip=nil, proxyip=nil)
|
1544
|
+
@OrganizationId = organizationid
|
1545
|
+
@Channel = channel
|
1546
|
+
@OrganizationOpenId = organizationopenid
|
1547
|
+
@ClientIp = clientip
|
1548
|
+
@ProxyIp = proxyip
|
1549
|
+
end
|
1550
|
+
|
1551
|
+
def deserialize(params)
|
1552
|
+
@OrganizationId = params['OrganizationId']
|
1553
|
+
@Channel = params['Channel']
|
1554
|
+
@OrganizationOpenId = params['OrganizationOpenId']
|
1555
|
+
@ClientIp = params['ClientIp']
|
1556
|
+
@ProxyIp = params['ProxyIp']
|
1557
|
+
end
|
1558
|
+
end
|
1559
|
+
|
1294
1560
|
# 签署参与者信息
|
1295
1561
|
class Recipient < TencentCloud::Common::AbstractModel
|
1296
1562
|
# @param RecipientId: 签署参与者ID
|
@@ -1379,6 +1645,30 @@ module TencentCloud
|
|
1379
1645
|
end
|
1380
1646
|
end
|
1381
1647
|
|
1648
|
+
# 一码多扫签署二维码签署信息
|
1649
|
+
class SignUrl < TencentCloud::Common::AbstractModel
|
1650
|
+
# @param AppSignUrl: 小程序签署链接
|
1651
|
+
# @type AppSignUrl: String
|
1652
|
+
# @param EffectiveTime: 签署链接有效时间
|
1653
|
+
# @type EffectiveTime: String
|
1654
|
+
# @param HttpSignUrl: 移动端签署链接
|
1655
|
+
# @type HttpSignUrl: String
|
1656
|
+
|
1657
|
+
attr_accessor :AppSignUrl, :EffectiveTime, :HttpSignUrl
|
1658
|
+
|
1659
|
+
def initialize(appsignurl=nil, effectivetime=nil, httpsignurl=nil)
|
1660
|
+
@AppSignUrl = appsignurl
|
1661
|
+
@EffectiveTime = effectivetime
|
1662
|
+
@HttpSignUrl = httpsignurl
|
1663
|
+
end
|
1664
|
+
|
1665
|
+
def deserialize(params)
|
1666
|
+
@AppSignUrl = params['AppSignUrl']
|
1667
|
+
@EffectiveTime = params['EffectiveTime']
|
1668
|
+
@HttpSignUrl = params['HttpSignUrl']
|
1669
|
+
end
|
1670
|
+
end
|
1671
|
+
|
1382
1672
|
# StartFlow请求参数结构体
|
1383
1673
|
class StartFlowRequest < TencentCloud::Common::AbstractModel
|
1384
1674
|
# @param Operator: 调用方用户信息,userId 必填
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ess
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.380
|
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
|
+
date: 2022-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.0'
|
27
27
|
description: Tencent Cloud Ruby SDK is the official software development kit, which
|
@@ -33,10 +33,10 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/VERSION
|
37
|
-
- lib/tencentcloud-sdk-ess.rb
|
38
|
-
- lib/v20201111/client.rb
|
39
36
|
- lib/v20201111/models.rb
|
37
|
+
- lib/v20201111/client.rb
|
38
|
+
- lib/tencentcloud-sdk-ess.rb
|
39
|
+
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|
42
42
|
- Apache-2.0
|
@@ -49,17 +49,17 @@ require_paths:
|
|
49
49
|
- lib
|
50
50
|
required_ruby_version: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- -
|
57
|
+
- - '>='
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '0'
|
60
60
|
requirements: []
|
61
61
|
rubyforge_project:
|
62
|
-
rubygems_version: 2.
|
62
|
+
rubygems_version: 2.0.14
|
63
63
|
signing_key:
|
64
64
|
specification_version: 4
|
65
65
|
summary: Tencent Cloud SDK for Ruby - ESS
|