tencentcloud-sdk-essbasic 3.0.634 → 3.0.636
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/v20210526/client.rb +24 -0
- data/lib/v20210526/models.rb +74 -0
- 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: 5b09a09002962f06f1ad901e4a9375c5ee54a03b
|
4
|
+
data.tar.gz: 127531576c9c2c04a3f37e7c143e251bcd88ee63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94699f97c1f0eeeb6658dc3ef7b79c07d97f7dd03c49983690bdff8437d4b1b79ee112bd3da208f1e59a80c17acf09d54b7e80de788f5abdae75e8ee7a772ce3
|
7
|
+
data.tar.gz: d62abd6209724a0f734e88e40510d45e1c04f9eadf66063e245a290801ad0e1086481ca55a6c22cf5fd6aba4c7a3e716ed1e8e4d89afda225e2ab928a414f038
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.636
|
data/lib/v20210526/client.rb
CHANGED
@@ -483,6 +483,30 @@ module TencentCloud
|
|
483
483
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
484
484
|
end
|
485
485
|
|
486
|
+
# 本接口(ChannelCreatePreparedPersonalEsign)用于创建导入个人印章
|
487
|
+
|
488
|
+
# @param request: Request instance for ChannelCreatePreparedPersonalEsign.
|
489
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreatePreparedPersonalEsignRequest`
|
490
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelCreatePreparedPersonalEsignResponse`
|
491
|
+
def ChannelCreatePreparedPersonalEsign(request)
|
492
|
+
body = send_request('ChannelCreatePreparedPersonalEsign', request.serialize)
|
493
|
+
response = JSON.parse(body)
|
494
|
+
if response['Response'].key?('Error') == false
|
495
|
+
model = ChannelCreatePreparedPersonalEsignResponse.new
|
496
|
+
model.deserialize(response['Response'])
|
497
|
+
model
|
498
|
+
else
|
499
|
+
code = response['Response']['Error']['Code']
|
500
|
+
message = response['Response']['Error']['Message']
|
501
|
+
reqid = response['Response']['RequestId']
|
502
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
503
|
+
end
|
504
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
505
|
+
raise e
|
506
|
+
rescue StandardError => e
|
507
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
508
|
+
end
|
509
|
+
|
486
510
|
# 发起解除协议,主要应用场景为:基于一份已经签署的合同,进行解除操作。
|
487
511
|
# 合同发起人必须在电子签已经进行实名。
|
488
512
|
|
data/lib/v20210526/models.rb
CHANGED
@@ -1523,6 +1523,80 @@ module TencentCloud
|
|
1523
1523
|
end
|
1524
1524
|
end
|
1525
1525
|
|
1526
|
+
# ChannelCreatePreparedPersonalEsign请求参数结构体
|
1527
|
+
class ChannelCreatePreparedPersonalEsignRequest < TencentCloud::Common::AbstractModel
|
1528
|
+
# @param Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 必填。
|
1529
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
1530
|
+
# @param UserName: 个人用户名称
|
1531
|
+
# @type UserName: String
|
1532
|
+
# @param IdCardNumber: 身份证件号码
|
1533
|
+
# @type IdCardNumber: String
|
1534
|
+
# @param SealImage: 印章图片的base64
|
1535
|
+
# @type SealImage: String
|
1536
|
+
# @param SealName: 印章名称
|
1537
|
+
# @type SealName: String
|
1538
|
+
# @param Operator: 操作者信息
|
1539
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
1540
|
+
# @param IdCardType: 身份证件类型
|
1541
|
+
# @type IdCardType: String
|
1542
|
+
# @param Mobile: 手机号码;当需要开通自动签时,该参数必传
|
1543
|
+
# @type Mobile: String
|
1544
|
+
# @param EnableAutoSign: 是否开通自动签,该功能需联系运营工作人员开通后使用
|
1545
|
+
# @type EnableAutoSign: Boolean
|
1546
|
+
|
1547
|
+
attr_accessor :Agent, :UserName, :IdCardNumber, :SealImage, :SealName, :Operator, :IdCardType, :Mobile, :EnableAutoSign
|
1548
|
+
|
1549
|
+
def initialize(agent=nil, username=nil, idcardnumber=nil, sealimage=nil, sealname=nil, operator=nil, idcardtype=nil, mobile=nil, enableautosign=nil)
|
1550
|
+
@Agent = agent
|
1551
|
+
@UserName = username
|
1552
|
+
@IdCardNumber = idcardnumber
|
1553
|
+
@SealImage = sealimage
|
1554
|
+
@SealName = sealname
|
1555
|
+
@Operator = operator
|
1556
|
+
@IdCardType = idcardtype
|
1557
|
+
@Mobile = mobile
|
1558
|
+
@EnableAutoSign = enableautosign
|
1559
|
+
end
|
1560
|
+
|
1561
|
+
def deserialize(params)
|
1562
|
+
unless params['Agent'].nil?
|
1563
|
+
@Agent = Agent.new
|
1564
|
+
@Agent.deserialize(params['Agent'])
|
1565
|
+
end
|
1566
|
+
@UserName = params['UserName']
|
1567
|
+
@IdCardNumber = params['IdCardNumber']
|
1568
|
+
@SealImage = params['SealImage']
|
1569
|
+
@SealName = params['SealName']
|
1570
|
+
unless params['Operator'].nil?
|
1571
|
+
@Operator = UserInfo.new
|
1572
|
+
@Operator.deserialize(params['Operator'])
|
1573
|
+
end
|
1574
|
+
@IdCardType = params['IdCardType']
|
1575
|
+
@Mobile = params['Mobile']
|
1576
|
+
@EnableAutoSign = params['EnableAutoSign']
|
1577
|
+
end
|
1578
|
+
end
|
1579
|
+
|
1580
|
+
# ChannelCreatePreparedPersonalEsign返回参数结构体
|
1581
|
+
class ChannelCreatePreparedPersonalEsignResponse < TencentCloud::Common::AbstractModel
|
1582
|
+
# @param SealId: 导入的印章 ID
|
1583
|
+
# @type SealId: String
|
1584
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1585
|
+
# @type RequestId: String
|
1586
|
+
|
1587
|
+
attr_accessor :SealId, :RequestId
|
1588
|
+
|
1589
|
+
def initialize(sealid=nil, requestid=nil)
|
1590
|
+
@SealId = sealid
|
1591
|
+
@RequestId = requestid
|
1592
|
+
end
|
1593
|
+
|
1594
|
+
def deserialize(params)
|
1595
|
+
@SealId = params['SealId']
|
1596
|
+
@RequestId = params['RequestId']
|
1597
|
+
end
|
1598
|
+
end
|
1599
|
+
|
1526
1600
|
# ChannelCreateReleaseFlow请求参数结构体
|
1527
1601
|
class ChannelCreateReleaseFlowRequest < TencentCloud::Common::AbstractModel
|
1528
1602
|
# @param Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 必填。
|
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.
|
4
|
+
version: 3.0.636
|
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-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|