tencentcloud-sdk-ess 3.0.901 → 3.0.902

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: 9c22c39137046626333f93aa432373b3033795a7
4
- data.tar.gz: 9de196ccd5557a82781d470ff9775b92964400c2
3
+ metadata.gz: e01203e493cbbf6c647a4f40b87c6cb186051e3d
4
+ data.tar.gz: 536d56b93f137f364dac38f495619d9cfd7232d0
5
5
  SHA512:
6
- metadata.gz: c18340e509c1617e3e2dcc653e7f44a20d7927852e91952d0319e33788c3481ab0b261a2a55b76e6590fdc51e92237064d827184d64da31daccc3dee1918810c
7
- data.tar.gz: 361aa95196ff1a0b9d4195d925deeb9ef73ad699530349e7c02c02044ab7993d82fb89e0ec8cd4f64e19778896e1b1e61062fbc2b7f723158e8aa97075234911
6
+ metadata.gz: d1b07b448afd7815ab611240819447eeb20970aed0dc09e4c56fac8796c41267a366be7a2352e482b1f81f8a64485446cec9da2c56595bd1e47f6289f927d242
7
+ data.tar.gz: 308b1bda176a54847d317e0784cb42db713e878bbe4bffc15b7ee7580244c62054f908e212017792e738d208212fb426fb0b86bc991bf329864bc0287fcb19e6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.901
1
+ 3.0.902
@@ -2356,6 +2356,30 @@ module TencentCloud
2356
2356
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2357
2357
  end
2358
2358
 
2359
+ # 查询企业认证状态
2360
+
2361
+ # @param request: Request instance for DescribeOrganizationAuthStatus.
2362
+ # @type request: :class:`Tencentcloud::ess::V20201111::DescribeOrganizationAuthStatusRequest`
2363
+ # @rtype: :class:`Tencentcloud::ess::V20201111::DescribeOrganizationAuthStatusResponse`
2364
+ def DescribeOrganizationAuthStatus(request)
2365
+ body = send_request('DescribeOrganizationAuthStatus', request.serialize)
2366
+ response = JSON.parse(body)
2367
+ if response['Response'].key?('Error') == false
2368
+ model = DescribeOrganizationAuthStatusResponse.new
2369
+ model.deserialize(response['Response'])
2370
+ model
2371
+ else
2372
+ code = response['Response']['Error']['Code']
2373
+ message = response['Response']['Error']['Message']
2374
+ reqid = response['Response']['RequestId']
2375
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2376
+ end
2377
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2378
+ raise e
2379
+ rescue StandardError => e
2380
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2381
+ end
2382
+
2359
2383
  # 此API接口用来查询加入集团的成员企业信息
2360
2384
  # 适用场景:子企业在加入集团后,主企业可能通过此接口获取到所有的子企业列表,方便进行展示和统计
2361
2385
 
@@ -482,6 +482,44 @@ module TencentCloud
482
482
  end
483
483
  end
484
484
 
485
+ # 企业认证信息
486
+ class AuthRecord < TencentCloud::Common::AbstractModel
487
+ # @param OperatorName: 经办人姓名。
488
+ # @type OperatorName: String
489
+ # @param OperatorMobile: 经办人手机号。
490
+ # @type OperatorMobile: String
491
+ # @param AuthType: 认证授权方式:
492
+ # <ul><li> **0**:未选择授权方式(默认值)</li>
493
+ # <li> **1**:上传授权书</li>
494
+ # <li> **2**:法人授权</li>
495
+ # <li> **3**:法人认证</li></ul>
496
+ # @type AuthType: Integer
497
+ # @param AuditStatus: 企业认证授权书审核状态:
498
+ # <ul><li> **0**:未提交授权书(默认值)</li>
499
+ # <li> **1**:审核通过</li>
500
+ # <li> **2**:审核驳回</li>
501
+ # <li> **3**:审核中</li>
502
+ # <li> **4**:AI识别中</li>
503
+ # <li> **5**:客户确认AI信息</li></ul>
504
+ # @type AuditStatus: Integer
505
+
506
+ attr_accessor :OperatorName, :OperatorMobile, :AuthType, :AuditStatus
507
+
508
+ def initialize(operatorname=nil, operatormobile=nil, authtype=nil, auditstatus=nil)
509
+ @OperatorName = operatorname
510
+ @OperatorMobile = operatormobile
511
+ @AuthType = authtype
512
+ @AuditStatus = auditstatus
513
+ end
514
+
515
+ def deserialize(params)
516
+ @OperatorName = params['OperatorName']
517
+ @OperatorMobile = params['OperatorMobile']
518
+ @AuthType = params['AuthType']
519
+ @AuditStatus = params['AuditStatus']
520
+ end
521
+ end
522
+
485
523
  # 授权用户
486
524
  class AuthorizedUser < TencentCloud::Common::AbstractModel
487
525
  # @param UserId: 电子签系统中的用户id
@@ -7508,6 +7546,79 @@ module TencentCloud
7508
7546
  end
7509
7547
  end
7510
7548
 
7549
+ # DescribeOrganizationAuthStatus请求参数结构体
7550
+ class DescribeOrganizationAuthStatusRequest < TencentCloud::Common::AbstractModel
7551
+ # @param Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。 支持填入集团子公司经办人 userId 代发合同。 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
7552
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
7553
+ # @param OrganizationName: 组织机构名称。 请确认该名称与企业营业执照中注册的名称一致。 如果名称中包含英文括号(),请使用中文括号()代替。
7554
+ # @type OrganizationName: String
7555
+ # @param UniformSocialCreditCode: 企业统一社会信用代码
7556
+ # 注意:OrganizationName和UniformSocialCreditCode不能同时为空
7557
+ # @type UniformSocialCreditCode: String
7558
+ # @param LegalName: 法人姓名
7559
+ # @type LegalName: String
7560
+
7561
+ attr_accessor :Operator, :OrganizationName, :UniformSocialCreditCode, :LegalName
7562
+
7563
+ def initialize(operator=nil, organizationname=nil, uniformsocialcreditcode=nil, legalname=nil)
7564
+ @Operator = operator
7565
+ @OrganizationName = organizationname
7566
+ @UniformSocialCreditCode = uniformsocialcreditcode
7567
+ @LegalName = legalname
7568
+ end
7569
+
7570
+ def deserialize(params)
7571
+ unless params['Operator'].nil?
7572
+ @Operator = UserInfo.new
7573
+ @Operator.deserialize(params['Operator'])
7574
+ end
7575
+ @OrganizationName = params['OrganizationName']
7576
+ @UniformSocialCreditCode = params['UniformSocialCreditCode']
7577
+ @LegalName = params['LegalName']
7578
+ end
7579
+ end
7580
+
7581
+ # DescribeOrganizationAuthStatus返回参数结构体
7582
+ class DescribeOrganizationAuthStatusResponse < TencentCloud::Common::AbstractModel
7583
+ # @param IsVerified: 企业是否已认证
7584
+ # @type IsVerified: Boolean
7585
+ # @param AuthStatus: 企业认证状态 0-未认证 1-认证中 2-已认证
7586
+ # @type AuthStatus: Integer
7587
+ # @param AuthRecords: 企业认证信息
7588
+ # @type AuthRecords: Array
7589
+ # @param OrganizationId: 企业在腾讯电子签平台的唯一身份标识,为32位字符串。
7590
+ # 可登录腾讯电子签控制台,在 "更多"->"企业设置"->"企业中心"- 中查看企业电子签账号。
7591
+ # p.s. 只有当前企业认证成功的时候返回
7592
+ # @type OrganizationId: String
7593
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7594
+ # @type RequestId: String
7595
+
7596
+ attr_accessor :IsVerified, :AuthStatus, :AuthRecords, :OrganizationId, :RequestId
7597
+
7598
+ def initialize(isverified=nil, authstatus=nil, authrecords=nil, organizationid=nil, requestid=nil)
7599
+ @IsVerified = isverified
7600
+ @AuthStatus = authstatus
7601
+ @AuthRecords = authrecords
7602
+ @OrganizationId = organizationid
7603
+ @RequestId = requestid
7604
+ end
7605
+
7606
+ def deserialize(params)
7607
+ @IsVerified = params['IsVerified']
7608
+ @AuthStatus = params['AuthStatus']
7609
+ unless params['AuthRecords'].nil?
7610
+ @AuthRecords = []
7611
+ params['AuthRecords'].each do |i|
7612
+ authrecord_tmp = AuthRecord.new
7613
+ authrecord_tmp.deserialize(i)
7614
+ @AuthRecords << authrecord_tmp
7615
+ end
7616
+ end
7617
+ @OrganizationId = params['OrganizationId']
7618
+ @RequestId = params['RequestId']
7619
+ end
7620
+ end
7621
+
7511
7622
  # DescribeOrganizationGroupOrganizations请求参数结构体
7512
7623
  class DescribeOrganizationGroupOrganizationsRequest < TencentCloud::Common::AbstractModel
7513
7624
  # @param Operator: 执行本接口操作的员工信息,userId必填。
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.901
4
+ version: 3.0.902
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-08 00:00:00.000000000 Z
11
+ date: 2024-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common