tencentcloud-sdk-ess 3.0.963 → 3.0.964

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: ea6f95531502641770ceea2f7fe43fa8082f12ab
4
- data.tar.gz: 180aed141d36b69cc816e7f5e8233c9a4219973b
3
+ metadata.gz: 92666781005b95762711971f4ba081d2d5bcbf13
4
+ data.tar.gz: d102fec9a2d0c0ebb70f7ae307392f79ed331514
5
5
  SHA512:
6
- metadata.gz: ea50b3d015a7503377b3c08f70a908f42dd52e13a52965de0bd7de6bcce5a42685b3cc0b82d737201fc88085ca6b57aca96528318de4175dafef045af8fe4817
7
- data.tar.gz: cbaca04c8f960f19a6728de8773bf8616fec7e7b178552051722cd5cd840d1d64b8df54f9169403cec63955924d358534e26b754d6a013f6bcb9c5a4561e30a4
6
+ metadata.gz: fc5047a913881ea805db5b2c316b05af62ed771bc98362a50afdee7192233362e888d17fc23eae20b44a63cfb69789b3e41099bcbdf0c1436fecead03a414a05
7
+ data.tar.gz: f3acdd89371f84c9adda19f56c50d94374117056d06a0668e31ad8b13fe0dcb8c864f0cf64d6814a92172d4a10818b9a491a6a645227b16ece5ce9fd8527947d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.963
1
+ 3.0.964
@@ -2585,6 +2585,30 @@ module TencentCloud
2585
2585
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2586
2586
  end
2587
2587
 
2588
+ # 仅且仅能查询企业本身在电子签的认证状态
2589
+
2590
+ # @param request: Request instance for DescribeOrganizationVerifyStatus.
2591
+ # @type request: :class:`Tencentcloud::ess::V20201111::DescribeOrganizationVerifyStatusRequest`
2592
+ # @rtype: :class:`Tencentcloud::ess::V20201111::DescribeOrganizationVerifyStatusResponse`
2593
+ def DescribeOrganizationVerifyStatus(request)
2594
+ body = send_request('DescribeOrganizationVerifyStatus', request.serialize)
2595
+ response = JSON.parse(body)
2596
+ if response['Response'].key?('Error') == false
2597
+ model = DescribeOrganizationVerifyStatusResponse.new
2598
+ model.deserialize(response['Response'])
2599
+ model
2600
+ else
2601
+ code = response['Response']['Error']['Code']
2602
+ message = response['Response']['Error']['Message']
2603
+ reqid = response['Response']['RequestId']
2604
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2605
+ end
2606
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2607
+ raise e
2608
+ rescue StandardError => e
2609
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2610
+ end
2611
+
2588
2612
  # 此接口(DescribePersonCertificate)用于查询个人数字证书信息。<br />注:`1.目前仅用于查询开通了医疗自动签署功能的个人数字证书。`<br />`2.调用此接口需要开通白名单,使用前请联系相关人员开通白名单。`
2589
2613
 
2590
2614
  # @param request: Request instance for DescribePersonCertificate.
@@ -8316,6 +8316,57 @@ module TencentCloud
8316
8316
  end
8317
8317
  end
8318
8318
 
8319
+ # DescribeOrganizationVerifyStatus请求参数结构体
8320
+ class DescribeOrganizationVerifyStatusRequest < TencentCloud::Common::AbstractModel
8321
+ # @param Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。 支持填入集团子公司经办人 userId 代发合同。 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
8322
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
8323
+ # @param Agent: 代理企业和员工的信息。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
8324
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
8325
+
8326
+ attr_accessor :Operator, :Agent
8327
+
8328
+ def initialize(operator=nil, agent=nil)
8329
+ @Operator = operator
8330
+ @Agent = agent
8331
+ end
8332
+
8333
+ def deserialize(params)
8334
+ unless params['Operator'].nil?
8335
+ @Operator = UserInfo.new
8336
+ @Operator.deserialize(params['Operator'])
8337
+ end
8338
+ unless params['Agent'].nil?
8339
+ @Agent = Agent.new
8340
+ @Agent.deserialize(params['Agent'])
8341
+ end
8342
+ end
8343
+ end
8344
+
8345
+ # DescribeOrganizationVerifyStatus返回参数结构体
8346
+ class DescribeOrganizationVerifyStatusResponse < TencentCloud::Common::AbstractModel
8347
+ # @param VerifyStatus: 当前企业认证状态
8348
+ # <ul>
8349
+ # <li> <b>0 </b>:未认证</li>
8350
+ # <li> <b>1 </b> : 认证中</li>
8351
+ # <li> <b>2 </b> : 已认证</li>
8352
+ # </ul>
8353
+ # @type VerifyStatus: Integer
8354
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8355
+ # @type RequestId: String
8356
+
8357
+ attr_accessor :VerifyStatus, :RequestId
8358
+
8359
+ def initialize(verifystatus=nil, requestid=nil)
8360
+ @VerifyStatus = verifystatus
8361
+ @RequestId = requestid
8362
+ end
8363
+
8364
+ def deserialize(params)
8365
+ @VerifyStatus = params['VerifyStatus']
8366
+ @RequestId = params['RequestId']
8367
+ end
8368
+ end
8369
+
8319
8370
  # DescribePersonCertificate请求参数结构体
8320
8371
  class DescribePersonCertificateRequest < TencentCloud::Common::AbstractModel
8321
8372
  # @param Operator: 执行本接口操作的员工信息。
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ess
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.963
4
+ version: 3.0.964
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud