tencentcloud-sdk-ess 3.0.963 → 3.0.965

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: ea6f95531502641770ceea2f7fe43fa8082f12ab
4
- data.tar.gz: 180aed141d36b69cc816e7f5e8233c9a4219973b
3
+ metadata.gz: 3fcb7c181c3f42c050d2dd61cebee38d7acb86f7
4
+ data.tar.gz: fc4eaea2fe09f83a06e0f33b2554d518b6bba7ad
5
5
  SHA512:
6
- metadata.gz: ea50b3d015a7503377b3c08f70a908f42dd52e13a52965de0bd7de6bcce5a42685b3cc0b82d737201fc88085ca6b57aca96528318de4175dafef045af8fe4817
7
- data.tar.gz: cbaca04c8f960f19a6728de8773bf8616fec7e7b178552051722cd5cd840d1d64b8df54f9169403cec63955924d358534e26b754d6a013f6bcb9c5a4561e30a4
6
+ metadata.gz: dda5cccecbd0ad17e73a26ffe2de1dd0c1a80b73b4b60069549473b13925ef57a58ce6929377ac0e69e32951375caa055c136aea4abe89b25939efa8543db36d
7
+ data.tar.gz: 65e0ddc7d8cc20862ad6b11dc4524b7e46a6dc4ea7e8d8f9fe1ca10779a7edba496b327572baa42c78649dfbdb8223de0a23805aa065fa1d66ba067c9a3a0f07
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.963
1
+ 3.0.965
@@ -1372,6 +1372,35 @@ module TencentCloud
1372
1372
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1373
1373
  end
1374
1374
 
1375
+ # 生成合成后的各类企业授权书,包括:
1376
+ # - 企业认证超管授权书
1377
+ # - 超管变更授权书
1378
+ # - 企业注销授权书
1379
+
1380
+ # 注: 需自行保证传入真实的企业/法人/超管信息,否则后续的审核将会拒绝。
1381
+
1382
+ # @param request: Request instance for CreateOrganizationAuthFile.
1383
+ # @type request: :class:`Tencentcloud::ess::V20201111::CreateOrganizationAuthFileRequest`
1384
+ # @rtype: :class:`Tencentcloud::ess::V20201111::CreateOrganizationAuthFileResponse`
1385
+ def CreateOrganizationAuthFile(request)
1386
+ body = send_request('CreateOrganizationAuthFile', request.serialize)
1387
+ response = JSON.parse(body)
1388
+ if response['Response'].key?('Error') == false
1389
+ model = CreateOrganizationAuthFileResponse.new
1390
+ model.deserialize(response['Response'])
1391
+ model
1392
+ else
1393
+ code = response['Response']['Error']['Code']
1394
+ message = response['Response']['Error']['Message']
1395
+ reqid = response['Response']['RequestId']
1396
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1397
+ end
1398
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1399
+ raise e
1400
+ rescue StandardError => e
1401
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1402
+ end
1403
+
1375
1404
  # 本接口(CreateOrganizationAuthUrl)的主要功能是生成合作企业的认证链接。
1376
1405
 
1377
1406
  # 在生成链接的过程中,可以提供一部分已知信息,以便为对方进行认证流程提供便利。
@@ -2585,6 +2614,30 @@ module TencentCloud
2585
2614
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2586
2615
  end
2587
2616
 
2617
+ # 仅且仅能查询企业本身在电子签的认证状态
2618
+
2619
+ # @param request: Request instance for DescribeOrganizationVerifyStatus.
2620
+ # @type request: :class:`Tencentcloud::ess::V20201111::DescribeOrganizationVerifyStatusRequest`
2621
+ # @rtype: :class:`Tencentcloud::ess::V20201111::DescribeOrganizationVerifyStatusResponse`
2622
+ def DescribeOrganizationVerifyStatus(request)
2623
+ body = send_request('DescribeOrganizationVerifyStatus', request.serialize)
2624
+ response = JSON.parse(body)
2625
+ if response['Response'].key?('Error') == false
2626
+ model = DescribeOrganizationVerifyStatusResponse.new
2627
+ model.deserialize(response['Response'])
2628
+ model
2629
+ else
2630
+ code = response['Response']['Error']['Code']
2631
+ message = response['Response']['Error']['Message']
2632
+ reqid = response['Response']['RequestId']
2633
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2634
+ end
2635
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2636
+ raise e
2637
+ rescue StandardError => e
2638
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2639
+ end
2640
+
2588
2641
  # 此接口(DescribePersonCertificate)用于查询个人数字证书信息。<br />注:`1.目前仅用于查询开通了医疗自动签署功能的个人数字证书。`<br />`2.调用此接口需要开通白名单,使用前请联系相关人员开通白名单。`
2589
2642
 
2590
2643
  # @param request: Request instance for DescribePersonCertificate.
@@ -207,7 +207,8 @@ module TencentCloud
207
207
  # <li>**6**:设备面容识别,需要对比手机机主预留的人脸信息,校验一致才能成功进行合同签署。(Android系统暂不支持该校验方式)</li></ul>
208
208
 
209
209
 
210
- # 默认为1(人脸认证 ),2(签署密码),3(运营商三要素),5(设备指纹识别),6(设备面容识别)
210
+ # 默认为:
211
+ # 1(人脸认证 ),2(签署密码),3(运营商三要素),5(设备指纹识别),6(设备面容识别)
211
212
 
212
213
  # 注:
213
214
  # 1. 用<font color='red'>模板创建合同场景</font>, 签署人的认证方式需要在配置模板的时候指定, <font color='red'>在创建合同重新指定无效</font>
@@ -4522,6 +4523,66 @@ module TencentCloud
4522
4523
  end
4523
4524
  end
4524
4525
 
4526
+ # CreateOrganizationAuthFile请求参数结构体
4527
+ class CreateOrganizationAuthFileRequest < TencentCloud::Common::AbstractModel
4528
+ # @param OrganizationCommonInfo: 企业授权书信息参数, 需要自行保证这些参数跟营业执照中的信息一致。
4529
+ # @type OrganizationCommonInfo: :class:`Tencentcloud::Ess.v20201111.models.OrganizationCommonInfo`
4530
+ # @param Agent: 代理企业和员工的信息。<br/>在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
4531
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
4532
+ # @param Operator: 执行本接口操作的员工信息。<br/>注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
4533
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
4534
+ # @param Type: 授权书类型:
4535
+ # - 0: 企业认证超管授权书
4536
+ # - 1: 超管变更授权书
4537
+ # - 2: 企业注销授权书
4538
+ # @type Type: Integer
4539
+
4540
+ attr_accessor :OrganizationCommonInfo, :Agent, :Operator, :Type
4541
+
4542
+ def initialize(organizationcommoninfo=nil, agent=nil, operator=nil, type=nil)
4543
+ @OrganizationCommonInfo = organizationcommoninfo
4544
+ @Agent = agent
4545
+ @Operator = operator
4546
+ @Type = type
4547
+ end
4548
+
4549
+ def deserialize(params)
4550
+ unless params['OrganizationCommonInfo'].nil?
4551
+ @OrganizationCommonInfo = OrganizationCommonInfo.new
4552
+ @OrganizationCommonInfo.deserialize(params['OrganizationCommonInfo'])
4553
+ end
4554
+ unless params['Agent'].nil?
4555
+ @Agent = Agent.new
4556
+ @Agent.deserialize(params['Agent'])
4557
+ end
4558
+ unless params['Operator'].nil?
4559
+ @Operator = UserInfo.new
4560
+ @Operator.deserialize(params['Operator'])
4561
+ end
4562
+ @Type = params['Type']
4563
+ end
4564
+ end
4565
+
4566
+ # CreateOrganizationAuthFile返回参数结构体
4567
+ class CreateOrganizationAuthFileResponse < TencentCloud::Common::AbstractModel
4568
+ # @param FileUrl: 授权书链接,有效期5分钟。
4569
+ # @type FileUrl: String
4570
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4571
+ # @type RequestId: String
4572
+
4573
+ attr_accessor :FileUrl, :RequestId
4574
+
4575
+ def initialize(fileurl=nil, requestid=nil)
4576
+ @FileUrl = fileurl
4577
+ @RequestId = requestid
4578
+ end
4579
+
4580
+ def deserialize(params)
4581
+ @FileUrl = params['FileUrl']
4582
+ @RequestId = params['RequestId']
4583
+ end
4584
+ end
4585
+
4525
4586
  # CreateOrganizationAuthUrl请求参数结构体
4526
4587
  class CreateOrganizationAuthUrlRequest < TencentCloud::Common::AbstractModel
4527
4588
  # @param Operator: 操作人信息
@@ -8316,6 +8377,57 @@ module TencentCloud
8316
8377
  end
8317
8378
  end
8318
8379
 
8380
+ # DescribeOrganizationVerifyStatus请求参数结构体
8381
+ class DescribeOrganizationVerifyStatusRequest < TencentCloud::Common::AbstractModel
8382
+ # @param Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。 支持填入集团子公司经办人 userId 代发合同。 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
8383
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
8384
+ # @param Agent: 代理企业和员工的信息。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
8385
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
8386
+
8387
+ attr_accessor :Operator, :Agent
8388
+
8389
+ def initialize(operator=nil, agent=nil)
8390
+ @Operator = operator
8391
+ @Agent = agent
8392
+ end
8393
+
8394
+ def deserialize(params)
8395
+ unless params['Operator'].nil?
8396
+ @Operator = UserInfo.new
8397
+ @Operator.deserialize(params['Operator'])
8398
+ end
8399
+ unless params['Agent'].nil?
8400
+ @Agent = Agent.new
8401
+ @Agent.deserialize(params['Agent'])
8402
+ end
8403
+ end
8404
+ end
8405
+
8406
+ # DescribeOrganizationVerifyStatus返回参数结构体
8407
+ class DescribeOrganizationVerifyStatusResponse < TencentCloud::Common::AbstractModel
8408
+ # @param VerifyStatus: 当前企业认证状态
8409
+ # <ul>
8410
+ # <li> <b>0 </b>:未认证</li>
8411
+ # <li> <b>1 </b> : 认证中</li>
8412
+ # <li> <b>2 </b> : 已认证</li>
8413
+ # </ul>
8414
+ # @type VerifyStatus: Integer
8415
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8416
+ # @type RequestId: String
8417
+
8418
+ attr_accessor :VerifyStatus, :RequestId
8419
+
8420
+ def initialize(verifystatus=nil, requestid=nil)
8421
+ @VerifyStatus = verifystatus
8422
+ @RequestId = requestid
8423
+ end
8424
+
8425
+ def deserialize(params)
8426
+ @VerifyStatus = params['VerifyStatus']
8427
+ @RequestId = params['RequestId']
8428
+ end
8429
+ end
8430
+
8319
8431
  # DescribePersonCertificate请求参数结构体
8320
8432
  class DescribePersonCertificateRequest < TencentCloud::Common::AbstractModel
8321
8433
  # @param Operator: 执行本接口操作的员工信息。
@@ -11345,6 +11457,89 @@ module TencentCloud
11345
11457
  end
11346
11458
  end
11347
11459
 
11460
+ # 企业授权书信息参数, 需要保证这些参数跟营业执照中的信息一致。
11461
+ class OrganizationCommonInfo < TencentCloud::Common::AbstractModel
11462
+ # @param OrganizationName: 组织机构名称。
11463
+ # 请确认该名称与企业营业执照中注册的名称一致。
11464
+ # 如果名称中包含英文括号(),请使用中文括号()代替。
11465
+ # 注意:此字段可能返回 null,表示取不到有效值。
11466
+ # @type OrganizationName: String
11467
+ # @param UniformSocialCreditCode: 组织机构企业统一社会信用代码。
11468
+ # 请确认该企业统一社会信用代码与企业营业执照中注册的统一社会信用代码一致。
11469
+ # 注意:此字段可能返回 null,表示取不到有效值。
11470
+ # @type UniformSocialCreditCode: String
11471
+ # @param LegalName: 组织机构法人的姓名。
11472
+ # 请确认该企业统一社会信用代码与企业营业执照中注册的法人姓名一致。
11473
+ # 注意:此字段可能返回 null,表示取不到有效值。
11474
+ # @type LegalName: String
11475
+ # @param LegalIdCardType: 组织机构法人的证件类型
11476
+ # 注意:此字段可能返回 null,表示取不到有效值。
11477
+ # @type LegalIdCardType: String
11478
+ # @param LegalIdCardNumber: 组织机构法人的证件号码
11479
+ # 注意:此字段可能返回 null,表示取不到有效值。
11480
+ # @type LegalIdCardNumber: String
11481
+ # @param AdminName: 组织机构超管姓名。
11482
+
11483
+ # 注意:此字段可能返回 null,表示取不到有效值。
11484
+ # @type AdminName: String
11485
+ # @param AdminMobile: 组织机构超管手机号。
11486
+
11487
+ # 注意:此字段可能返回 null,表示取不到有效值。
11488
+ # @type AdminMobile: String
11489
+ # @param AdminIdCardType: 组织机构超管证件类型
11490
+
11491
+ # 注意:此字段可能返回 null,表示取不到有效值。
11492
+ # @type AdminIdCardType: String
11493
+ # @param AdminIdCardNumber: 组织机构超管证件号码
11494
+
11495
+ # 注意:此字段可能返回 null,表示取不到有效值。
11496
+ # @type AdminIdCardNumber: String
11497
+ # @param OldAdminName: 原超管姓名
11498
+ # 注意:此字段可能返回 null,表示取不到有效值。
11499
+ # @type OldAdminName: String
11500
+ # @param OldAdminMobile: 原超管手机号
11501
+ # 注意:此字段可能返回 null,表示取不到有效值。
11502
+ # @type OldAdminMobile: String
11503
+ # @param OldAdminIdCardType: 原超管证件类型
11504
+ # @type OldAdminIdCardType: String
11505
+ # @param OldAdminIdCardNumber: 原超管证件号码
11506
+ # @type OldAdminIdCardNumber: String
11507
+
11508
+ attr_accessor :OrganizationName, :UniformSocialCreditCode, :LegalName, :LegalIdCardType, :LegalIdCardNumber, :AdminName, :AdminMobile, :AdminIdCardType, :AdminIdCardNumber, :OldAdminName, :OldAdminMobile, :OldAdminIdCardType, :OldAdminIdCardNumber
11509
+
11510
+ def initialize(organizationname=nil, uniformsocialcreditcode=nil, legalname=nil, legalidcardtype=nil, legalidcardnumber=nil, adminname=nil, adminmobile=nil, adminidcardtype=nil, adminidcardnumber=nil, oldadminname=nil, oldadminmobile=nil, oldadminidcardtype=nil, oldadminidcardnumber=nil)
11511
+ @OrganizationName = organizationname
11512
+ @UniformSocialCreditCode = uniformsocialcreditcode
11513
+ @LegalName = legalname
11514
+ @LegalIdCardType = legalidcardtype
11515
+ @LegalIdCardNumber = legalidcardnumber
11516
+ @AdminName = adminname
11517
+ @AdminMobile = adminmobile
11518
+ @AdminIdCardType = adminidcardtype
11519
+ @AdminIdCardNumber = adminidcardnumber
11520
+ @OldAdminName = oldadminname
11521
+ @OldAdminMobile = oldadminmobile
11522
+ @OldAdminIdCardType = oldadminidcardtype
11523
+ @OldAdminIdCardNumber = oldadminidcardnumber
11524
+ end
11525
+
11526
+ def deserialize(params)
11527
+ @OrganizationName = params['OrganizationName']
11528
+ @UniformSocialCreditCode = params['UniformSocialCreditCode']
11529
+ @LegalName = params['LegalName']
11530
+ @LegalIdCardType = params['LegalIdCardType']
11531
+ @LegalIdCardNumber = params['LegalIdCardNumber']
11532
+ @AdminName = params['AdminName']
11533
+ @AdminMobile = params['AdminMobile']
11534
+ @AdminIdCardType = params['AdminIdCardType']
11535
+ @AdminIdCardNumber = params['AdminIdCardNumber']
11536
+ @OldAdminName = params['OldAdminName']
11537
+ @OldAdminMobile = params['OldAdminMobile']
11538
+ @OldAdminIdCardType = params['OldAdminIdCardType']
11539
+ @OldAdminIdCardNumber = params['OldAdminIdCardNumber']
11540
+ end
11541
+ end
11542
+
11348
11543
  # 机构信息
11349
11544
  class OrganizationInfo < TencentCloud::Common::AbstractModel
11350
11545
  # @param OrganizationId: 机构在平台的编号,内部字段,暂未开放
@@ -11880,7 +12075,9 @@ module TencentCloud
11880
12075
  end
11881
12076
  end
11882
12077
 
11883
- # 解除协议文档中内容信息,包括但不限于:解除理由、解除后仍然有效的条款-保留条款、原合同事项处理-费用结算、原合同事项处理-其他事项、其他约定等。
12078
+ # 解除协议文档中内容信息,包括但不限于:解除理由、解除后仍然有效的条款-保留条款、原合同事项处理-费用结算、原合同事项处理-其他事项、其他约定等。下面各种字段在解除协议中的位置参考:
12079
+
12080
+ # ![image](https://qcloudimg.tencent-cloud.cn/raw/5087164cfe5a15fa3ced3180842d5da9.png)
11884
12081
  class RelieveInfo < TencentCloud::Common::AbstractModel
11885
12082
  # @param Reason: 解除理由,长度不能超过200,只能由中文、字母、数字、中文标点和英文标点组成(不支持表情)。
11886
12083
  # @type Reason: String
@@ -11890,7 +12087,7 @@ module TencentCloud
11890
12087
  # @type OriginalExpenseSettlement: String
11891
12088
  # @param OriginalOtherSettlement: 原合同事项处理-其他事项,长度不能超过200,只能由中文、字母、数字、中文标点和英文标点组成(不支持表情)。
11892
12089
  # @type OriginalOtherSettlement: String
11893
- # @param OtherDeals: 其他约定,长度不能超过200,只能由中文、字母、数字、中文标点和英文标点组成(不支持表情)。
12090
+ # @param OtherDeals: 其他约定(如约定的与解除协议存在冲突的,以【其他约定】为准),最大支持200个字,只能由中文、字母、数字、中文标点和英文标点组成(不支持表情)。
11894
12091
  # @type OtherDeals: String
11895
12092
 
11896
12093
  attr_accessor :Reason, :RemainInForceItem, :OriginalExpenseSettlement, :OriginalOtherSettlement, :OtherDeals
@@ -12059,19 +12256,23 @@ module TencentCloud
12059
12256
  # @param ExpiredTime: 二维码的有截止时间,格式为Unix标准时间戳(秒)。
12060
12257
  # 一旦超过二维码的有效期限,该二维码将自动失效。
12061
12258
  # @type ExpiredTime: Integer
12259
+ # @param WeixinQrCodeUrl: 微信小程序二维码
12260
+ # @type WeixinQrCodeUrl: String
12062
12261
 
12063
- attr_accessor :QrCodeId, :QrCodeUrl, :ExpiredTime
12262
+ attr_accessor :QrCodeId, :QrCodeUrl, :ExpiredTime, :WeixinQrCodeUrl
12064
12263
 
12065
- def initialize(qrcodeid=nil, qrcodeurl=nil, expiredtime=nil)
12264
+ def initialize(qrcodeid=nil, qrcodeurl=nil, expiredtime=nil, weixinqrcodeurl=nil)
12066
12265
  @QrCodeId = qrcodeid
12067
12266
  @QrCodeUrl = qrcodeurl
12068
12267
  @ExpiredTime = expiredtime
12268
+ @WeixinQrCodeUrl = weixinqrcodeurl
12069
12269
  end
12070
12270
 
12071
12271
  def deserialize(params)
12072
12272
  @QrCodeId = params['QrCodeId']
12073
12273
  @QrCodeUrl = params['QrCodeUrl']
12074
12274
  @ExpiredTime = params['ExpiredTime']
12275
+ @WeixinQrCodeUrl = params['WeixinQrCodeUrl']
12075
12276
  end
12076
12277
  end
12077
12278
 
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.963
4
+ version: 3.0.965
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-12-18 00:00:00.000000000 Z
11
+ date: 2024-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common