tencentcloud-sdk-ess 3.0.625 → 3.0.626
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 +24 -0
- data/lib/v20201111/models.rb +136 -9
- 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: fee00b70ce00e03c779e5a2a8a7bd055863582fd
|
4
|
+
data.tar.gz: 6fb1c49fad11b28a0e4a12e51d2bc0c409c41159
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f77fbb764021056bfe837456e7c4558ba29815b5602ad07c6729f89f36e6fd910cd855ed562dac6ff58231ceae822a7cb5dfe7b7f1ec52f71b6f919c52e7ee1
|
7
|
+
data.tar.gz: ef37f96f01d7eff544b266cd9aac28bd0e610f88e30e6f7b7a3c0eeb0f61f060599ae5627ab201285cf18b2dfcd2bc36fb9cbd8653f295188caed1da49e244e6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.626
|
data/lib/v20201111/client.rb
CHANGED
@@ -630,6 +630,30 @@ module TencentCloud
|
|
630
630
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
631
631
|
end
|
632
632
|
|
633
|
+
# 本接口(CreatePersonAuthCertificateImage)用于创建个人用户证书证明图片
|
634
|
+
|
635
|
+
# @param request: Request instance for CreatePersonAuthCertificateImage.
|
636
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::CreatePersonAuthCertificateImageRequest`
|
637
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::CreatePersonAuthCertificateImageResponse`
|
638
|
+
def CreatePersonAuthCertificateImage(request)
|
639
|
+
body = send_request('CreatePersonAuthCertificateImage', request.serialize)
|
640
|
+
response = JSON.parse(body)
|
641
|
+
if response['Response'].key?('Error') == false
|
642
|
+
model = CreatePersonAuthCertificateImageResponse.new
|
643
|
+
model.deserialize(response['Response'])
|
644
|
+
model
|
645
|
+
else
|
646
|
+
code = response['Response']['Error']['Code']
|
647
|
+
message = response['Response']['Error']['Message']
|
648
|
+
reqid = response['Response']['RequestId']
|
649
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
650
|
+
end
|
651
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
652
|
+
raise e
|
653
|
+
rescue StandardError => e
|
654
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
655
|
+
end
|
656
|
+
|
633
657
|
# 创建快速发起流程
|
634
658
|
# <br/>适用场景:用户通过API 合同文件及签署信息,并可通过我们返回的URL在页面完成签署控件等信息的编辑与确认,快速发起合同.
|
635
659
|
# <br/>注:该接口文件的resourceId 是通过上传文件之后获取的。
|
data/lib/v20201111/models.rb
CHANGED
@@ -1777,6 +1777,7 @@ module TencentCloud
|
|
1777
1777
|
# @param FlowName: 签署流程名称,最大长度200个字符
|
1778
1778
|
# @type FlowName: String
|
1779
1779
|
# @param Approvers: 签署流程参与者信息,最大限制50方
|
1780
|
+
# 注意 approver中的顺序需要和模板中的顺序保持一致, 否则会导致模板中配置的信息无效。
|
1780
1781
|
# @type Approvers: Array
|
1781
1782
|
# @param FlowType: 签署流程的类型(如销售合同/入职合同等),最大长度200个字符
|
1782
1783
|
# @type FlowType: String
|
@@ -2251,19 +2252,22 @@ module TencentCloud
|
|
2251
2252
|
# @param FlowName: 签署流程名称,最大长度不超过200字符
|
2252
2253
|
# @type FlowName: String
|
2253
2254
|
# @param MaxFlowNum: 最大可发起签署流程份数,默认5份
|
2254
|
-
#
|
2255
|
+
# <br/>发起流程数量超过此上限后二维码自动失效
|
2255
2256
|
# @type MaxFlowNum: Integer
|
2256
|
-
# @param FlowEffectiveDay: 签署流程有效天数
|
2257
|
+
# @param FlowEffectiveDay: 签署流程有效天数
|
2258
|
+
# <br/>默认7天
|
2259
|
+
# <br/>最高设置不超过30天
|
2257
2260
|
# @type FlowEffectiveDay: Integer
|
2258
2261
|
# @param QrEffectiveDay: 二维码有效天数 默认7天 最高设置不超过90天
|
2259
2262
|
# @type QrEffectiveDay: Integer
|
2260
|
-
# @param Restrictions:
|
2263
|
+
# @param Restrictions: 指定的签署人信息
|
2264
|
+
# <br/>指定后,则只允许指定的签署人扫码签署
|
2261
2265
|
# @type Restrictions: Array
|
2262
|
-
# @param UserData:
|
2266
|
+
# @param UserData: 用户自定义字段
|
2267
|
+
# <br/>回调的时候会进行透传,长度需要小于20480
|
2263
2268
|
# @type UserData: String
|
2264
2269
|
# @param CallbackUrl: 回调地址,最大长度1000字符串
|
2265
|
-
#
|
2266
|
-
# 用户通过签署二维码发起签署流程时,企业额度不足导致失败
|
2270
|
+
# <br/>回调时机:用户通过签署二维码发起签署流程时,企业额度不足导致失败
|
2267
2271
|
# @type CallbackUrl: String
|
2268
2272
|
# @param Agent: 应用信息
|
2269
2273
|
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
@@ -2418,6 +2422,62 @@ module TencentCloud
|
|
2418
2422
|
end
|
2419
2423
|
end
|
2420
2424
|
|
2425
|
+
# CreatePersonAuthCertificateImage请求参数结构体
|
2426
|
+
class CreatePersonAuthCertificateImageRequest < TencentCloud::Common::AbstractModel
|
2427
|
+
# @param Operator: 操作人信息
|
2428
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
2429
|
+
# @param UserName: 个人用户名称
|
2430
|
+
# @type UserName: String
|
2431
|
+
# @param IdCardType: 身份证件类型取值:
|
2432
|
+
# ID_CARD 身居民身份证
|
2433
|
+
# PASSPORT 护照
|
2434
|
+
# HONGKONG_AND_MACAO 港澳居民来往内地通行证
|
2435
|
+
# FOREIGN_ID_CARD 外国人永久居留身份证
|
2436
|
+
# HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证(格式同居民身份证)
|
2437
|
+
# @type IdCardType: String
|
2438
|
+
# @param IdCardNumber: 身份证件号码
|
2439
|
+
# @type IdCardNumber: String
|
2440
|
+
|
2441
|
+
attr_accessor :Operator, :UserName, :IdCardType, :IdCardNumber
|
2442
|
+
|
2443
|
+
def initialize(operator=nil, username=nil, idcardtype=nil, idcardnumber=nil)
|
2444
|
+
@Operator = operator
|
2445
|
+
@UserName = username
|
2446
|
+
@IdCardType = idcardtype
|
2447
|
+
@IdCardNumber = idcardnumber
|
2448
|
+
end
|
2449
|
+
|
2450
|
+
def deserialize(params)
|
2451
|
+
unless params['Operator'].nil?
|
2452
|
+
@Operator = UserInfo.new
|
2453
|
+
@Operator.deserialize(params['Operator'])
|
2454
|
+
end
|
2455
|
+
@UserName = params['UserName']
|
2456
|
+
@IdCardType = params['IdCardType']
|
2457
|
+
@IdCardNumber = params['IdCardNumber']
|
2458
|
+
end
|
2459
|
+
end
|
2460
|
+
|
2461
|
+
# CreatePersonAuthCertificateImage返回参数结构体
|
2462
|
+
class CreatePersonAuthCertificateImageResponse < TencentCloud::Common::AbstractModel
|
2463
|
+
# @param AuthCertUrl: 个人用户证明证书的下载链接
|
2464
|
+
# @type AuthCertUrl: String
|
2465
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2466
|
+
# @type RequestId: String
|
2467
|
+
|
2468
|
+
attr_accessor :AuthCertUrl, :RequestId
|
2469
|
+
|
2470
|
+
def initialize(authcerturl=nil, requestid=nil)
|
2471
|
+
@AuthCertUrl = authcerturl
|
2472
|
+
@RequestId = requestid
|
2473
|
+
end
|
2474
|
+
|
2475
|
+
def deserialize(params)
|
2476
|
+
@AuthCertUrl = params['AuthCertUrl']
|
2477
|
+
@RequestId = params['RequestId']
|
2478
|
+
end
|
2479
|
+
end
|
2480
|
+
|
2421
2481
|
# CreatePrepareFlow请求参数结构体
|
2422
2482
|
class CreatePrepareFlowRequest < TencentCloud::Common::AbstractModel
|
2423
2483
|
# @param Operator: 调用方用户信息,userId 必填
|
@@ -5139,8 +5199,11 @@ module TencentCloud
|
|
5139
5199
|
# @param ApproverType: 参与者类型:
|
5140
5200
|
# 0:企业
|
5141
5201
|
# 1:个人
|
5142
|
-
# 3
|
5143
|
-
# 注:类型为3
|
5202
|
+
# 3:企业自动签署
|
5203
|
+
# 注:类型为3(企业自动签署)时,会自动完成该签署方的签署。
|
5204
|
+
# 自动签署仅进行盖章操作,不能是手写签名。
|
5205
|
+
# 本方企业自动签署的签署人会默认是当前的发起人
|
5206
|
+
# 他方企业自动签署的签署人是自动签模板的他方企业授权人
|
5144
5207
|
# @type ApproverType: Integer
|
5145
5208
|
# @param OrganizationName: 签署人企业名称
|
5146
5209
|
# <br/>当approverType=1 或 approverType=3时,必须指定
|
@@ -5492,8 +5555,72 @@ module TencentCloud
|
|
5492
5555
|
|
5493
5556
|
# 电子文档的控件填充信息。按照控件类型进行相应的填充。
|
5494
5557
|
|
5558
|
+
# 当控件的 ComponentType='TEXT'时,FormField.ComponentValue填入文本内容
|
5559
|
+
# ```
|
5560
|
+
# FormFiled输入示例:
|
5561
|
+
# {
|
5562
|
+
# "ComponentId": "componentId1",
|
5563
|
+
# "ComponentValue": "文本内容"
|
5564
|
+
# }
|
5565
|
+
# ```
|
5566
|
+
# 当控件的 ComponentType='MULTI_LINE_TEXT'时,FormField.ComponentValue填入文本内容,支持自动换行。
|
5567
|
+
# ```
|
5568
|
+
# FormFiled输入示例:
|
5569
|
+
# {
|
5570
|
+
# "ComponentId": "componentId1",
|
5571
|
+
# "ComponentValue": "多行文本内容"
|
5572
|
+
# }
|
5573
|
+
# ```
|
5574
|
+
# 当控件的 ComponentType='CHECK_BOX'时,FormField.ComponentValue填入true或false文本
|
5575
|
+
# ```
|
5576
|
+
# FormFiled输入示例:
|
5577
|
+
# {
|
5578
|
+
# "ComponentId": "componentId1",
|
5579
|
+
# "ComponentValue": "true"
|
5580
|
+
# }
|
5581
|
+
# ```
|
5582
|
+
# 当控件的 ComponentType='FILL_IMAGE'时,FormField.ComponentValue填入图片的资源ID
|
5583
|
+
# ```
|
5584
|
+
# FormFiled输入示例:
|
5585
|
+
# {
|
5586
|
+
# "ComponentId": "componentId1",
|
5587
|
+
# "ComponentValue": "yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
5588
|
+
# }
|
5589
|
+
# ```
|
5590
|
+
# 当控件的 ComponentType='ATTACHMENT'时,FormField.ComponentValue填入附件图片的资源ID列表,以逗号分隔,单个附件控件最多支持6个资源ID;
|
5591
|
+
# ```
|
5592
|
+
# FormFiled输入示例:
|
5593
|
+
# {
|
5594
|
+
# "ComponentId": "componentId1",
|
5595
|
+
# "ComponentValue": "yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx1,yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx2,yDwhsxxxxxxxxxxxxxxxxxxxxxxxxxx3"
|
5596
|
+
# }
|
5597
|
+
# ```
|
5598
|
+
# 当控件的 ComponentType='SELECTOR'时,FormField.ComponentValue填入选择的选项内容;
|
5599
|
+
# ```
|
5600
|
+
# FormFiled输入示例:
|
5601
|
+
# {
|
5602
|
+
# "ComponentId": "componentId1",
|
5603
|
+
# "ComponentValue": "选择的内容"
|
5604
|
+
# }
|
5605
|
+
# ```
|
5606
|
+
# 当控件的 ComponentType='DATE'时,FormField.ComponentValue填入日期内容;
|
5607
|
+
# ```
|
5608
|
+
# FormFiled输入示例:
|
5609
|
+
# {
|
5610
|
+
# "ComponentId": "componentId1",
|
5611
|
+
# "ComponentValue": "2023年01月01日"
|
5612
|
+
# }
|
5613
|
+
# ```
|
5614
|
+
# 当控件的 ComponentType='DISTRICT'时,FormField.ComponentValue填入省市区内容;
|
5615
|
+
# ```
|
5616
|
+
# FormFiled输入示例:
|
5617
|
+
# {
|
5618
|
+
# "ComponentId": "componentId1",
|
5619
|
+
# "ComponentValue": "广东省深圳市福田区"
|
5620
|
+
# }
|
5621
|
+
# ```
|
5495
5622
|
# 【数据表格传参说明】
|
5496
|
-
#
|
5623
|
+
# 当控件的 ComponentType='DYNAMIC_TABLE'时,FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充数据表格(支持内容的单元格合并)
|
5497
5624
|
# 输入示例1:
|
5498
5625
|
|
5499
5626
|
# ```
|
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.626
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|