tencentcloud-sdk-essbasic 3.0.634 → 3.0.635

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c95b4d05a0019383a52b56894260a4871e2797d
4
- data.tar.gz: 6c18c7017bf318231c06665490e32806db0f8604
3
+ metadata.gz: e9d4d15b173f4362957858d748a45b0c48a2d7c9
4
+ data.tar.gz: d96a331461971c83d016673961fc0946bac29a52
5
5
  SHA512:
6
- metadata.gz: 4abb7482f46813e1f7164faf33f051b6a0bba6ce92ca5ee1479a8fa0a4bc4ef764e33540f223a3797b37285dfe4fc48714c7184e5d47c260ecb10f9e19abf5a4
7
- data.tar.gz: 19edb61ce921b0b5a51b9e949bc20876832bdd2888e7f357028c33656a1d530d1639c9fc5cd794e1fd68d224c2e6253db3c97ffb21aa0fba82a569ca4cf88764
6
+ metadata.gz: 19ac556bb31fcd8d059792647987ec8b1f3cb1397837a91f86192bd92dd8047d1eb7a4d85a76d6b530af2e9f23f9ae3a6f6e4bff51fae8774cae0f1c0c3fb4d8
7
+ data.tar.gz: 12be9a7d001b34fe0e35bf62f1d356c704c10982e3c28274a7845f4273740634cb38fe373505236bda554506935b2a58a7fcc72d05714dbb4d71a301b73579c3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.634
1
+ 3.0.635
@@ -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
 
@@ -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.634
4
+ version: 3.0.635
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 00:00:00.000000000 Z
11
+ date: 2023-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common