tencentcloud-sdk-essbasic 3.0.509 → 3.0.510

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9f6ac0e483edffe861aff64a1ebf994d926f5995
4
- data.tar.gz: 5e5cb003cef8883c893ef1ff51c61a55f4dda698
3
+ metadata.gz: b941766f9ae252891b8674a7c63ee94b3bb54519
4
+ data.tar.gz: a8d90cb84e4e633d6f78094f0c057c7c4fa14fbf
5
5
  SHA512:
6
- metadata.gz: 934d29d205b75a53c382b2f6913803c612cc0a8945fabebfc905da697386badaac81e135b5c01e6f292a05a0a1e2afdeb072b4a8b6793ac34458b72386242b24
7
- data.tar.gz: c2fccec2309aeef24f1091a4ebe00564e5114ca8b20bbb91b6e21ffda0b537a26bb8cb06ef61b7509f7dfd9a5647e076b255492c764cfcee8c0013b6f6a75b54
6
+ metadata.gz: a9b9a00cc3de8c76f7e2cfbe3ca08eebd16f52f3dbc9b7bb9068c5fa73c9ddff0a2a5a58c404e0f9926a669d7767677f6bffba18fb3707093037f6b86f0c486f
7
+ data.tar.gz: 9b660d6955c3214287809855aaf312184f8466983cfbcfe326b9b0e799dd9345b9efe165617576805f9630ec285233f128c7ce38a64d51662fa20c80182de127
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.509
1
+ 3.0.510
@@ -479,6 +479,30 @@ module TencentCloud
479
479
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
480
480
  end
481
481
 
482
+ # 本接口(ChannelUpdateSealStatus)由于渠道版更新印章状态
483
+
484
+ # @param request: Request instance for ChannelUpdateSealStatus.
485
+ # @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelUpdateSealStatusRequest`
486
+ # @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelUpdateSealStatusResponse`
487
+ def ChannelUpdateSealStatus(request)
488
+ body = send_request('ChannelUpdateSealStatus', request.serialize)
489
+ response = JSON.parse(body)
490
+ if response['Response'].key?('Error') == false
491
+ model = ChannelUpdateSealStatusResponse.new
492
+ model.deserialize(response['Response'])
493
+ model
494
+ else
495
+ code = response['Response']['Error']['Code']
496
+ message = response['Response']['Error']['Message']
497
+ reqid = response['Response']['RequestId']
498
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
499
+ end
500
+ rescue TencentCloud::Common::TencentCloudSDKException => e
501
+ raise e
502
+ rescue StandardError => e
503
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
504
+ end
505
+
482
506
  # 合同文件验签
483
507
 
484
508
  # @param request: Request instance for ChannelVerifyPdf.
@@ -1406,6 +1406,60 @@ module TencentCloud
1406
1406
  end
1407
1407
  end
1408
1408
 
1409
+ # ChannelUpdateSealStatus请求参数结构体
1410
+ class ChannelUpdateSealStatusRequest < TencentCloud::Common::AbstractModel
1411
+ # @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
1412
+ # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
1413
+ # @param Status: 操作的印章状态,DISABLE-停用印章
1414
+ # @type Status: String
1415
+ # @param SealId: 印章ID
1416
+ # @type SealId: String
1417
+ # @param Operator: 操作者的信息
1418
+ # @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
1419
+ # @param Reason: 更新印章状态原因说明
1420
+ # @type Reason: String
1421
+
1422
+ attr_accessor :Agent, :Status, :SealId, :Operator, :Reason
1423
+
1424
+ def initialize(agent=nil, status=nil, sealid=nil, operator=nil, reason=nil)
1425
+ @Agent = agent
1426
+ @Status = status
1427
+ @SealId = sealid
1428
+ @Operator = operator
1429
+ @Reason = reason
1430
+ end
1431
+
1432
+ def deserialize(params)
1433
+ unless params['Agent'].nil?
1434
+ @Agent = Agent.new
1435
+ @Agent.deserialize(params['Agent'])
1436
+ end
1437
+ @Status = params['Status']
1438
+ @SealId = params['SealId']
1439
+ unless params['Operator'].nil?
1440
+ @Operator = UserInfo.new
1441
+ @Operator.deserialize(params['Operator'])
1442
+ end
1443
+ @Reason = params['Reason']
1444
+ end
1445
+ end
1446
+
1447
+ # ChannelUpdateSealStatus返回参数结构体
1448
+ class ChannelUpdateSealStatusResponse < TencentCloud::Common::AbstractModel
1449
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1450
+ # @type RequestId: String
1451
+
1452
+ attr_accessor :RequestId
1453
+
1454
+ def initialize(requestid=nil)
1455
+ @RequestId = requestid
1456
+ end
1457
+
1458
+ def deserialize(params)
1459
+ @RequestId = params['RequestId']
1460
+ end
1461
+ end
1462
+
1409
1463
  # ChannelVerifyPdf请求参数结构体
1410
1464
  class ChannelVerifyPdfRequest < TencentCloud::Common::AbstractModel
1411
1465
  # @param FlowId: 合同Id,流程Id
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.509
4
+ version: 3.0.510
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-02-15 00:00:00.000000000 Z
11
+ date: 2023-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common