tencentcloud-sdk-ess 3.0.828 → 3.0.830

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: 0ef1ccf044521a668cd30427ceb13ab346ce415e
4
- data.tar.gz: e90a29641a0ef86f071465f54f4ba4ac35c71e01
3
+ metadata.gz: f8c691a7fe1c764b78e4b829ccae4ec443b429b0
4
+ data.tar.gz: 97207fe668cfeb143837f94a4f1b59ef783e387e
5
5
  SHA512:
6
- metadata.gz: 58293f484cc5bcf89bc31570093184394131fa15e415885d8aec26d68615e6e5cad8eccb2d4497fe5734dfa6c2cf55c660fc842d3fce9925a5c512994110890d
7
- data.tar.gz: 826fb87f225fb57b7791ba46e52a3fbfcdbb4fdec461b0f84816bb481e739ae345a909b69d91d6168f2cd1098ef32dbab3719ea89e13fb7efd5935c912820877
6
+ metadata.gz: 3a99e22d2d316b4aa91161b6684165ebcced8de29b8649f81ac2987e945f222ca6a023dc316a4154af517b7116486f16c371b84833a1782e9c379d76679e3bf1
7
+ data.tar.gz: 96e9e55969fd927ee51866c7e4bbce4399bcb20d468323f5b9bf72277ff5cb8d06aeabcaac0ccb7f66fe46b4d6ff31913a28323d0effea27c53d756bb175c552
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.828
1
+ 3.0.830
@@ -963,6 +963,36 @@ module TencentCloud
963
963
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
964
964
  end
965
965
 
966
+ # 通过此接口,创建子企业激活记录,集团企业管理员可针对未激活的成员企业进行激活。
967
+ # 激活子企业时请保证子企业 lisence 充足。
968
+ # 这个操作与页面端激活成员企业操作类似
969
+ # ![image](https://qcloudimg.tencent-cloud.cn/raw/c4e76fbac92e4ce451a03601c964793b.png)
970
+
971
+ # p.s.
972
+ # 此接口只能用于激活,不能用于续期。
973
+
974
+ # @param request: Request instance for CreateIntegrationSubOrganizationActiveRecord.
975
+ # @type request: :class:`Tencentcloud::ess::V20201111::CreateIntegrationSubOrganizationActiveRecordRequest`
976
+ # @rtype: :class:`Tencentcloud::ess::V20201111::CreateIntegrationSubOrganizationActiveRecordResponse`
977
+ def CreateIntegrationSubOrganizationActiveRecord(request)
978
+ body = send_request('CreateIntegrationSubOrganizationActiveRecord', request.serialize)
979
+ response = JSON.parse(body)
980
+ if response['Response'].key?('Error') == false
981
+ model = CreateIntegrationSubOrganizationActiveRecordResponse.new
982
+ model.deserialize(response['Response'])
983
+ model
984
+ else
985
+ code = response['Response']['Error']['Code']
986
+ message = response['Response']['Error']['Message']
987
+ reqid = response['Response']['RequestId']
988
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
989
+ end
990
+ rescue TencentCloud::Common::TencentCloudSDKException => e
991
+ raise e
992
+ rescue StandardError => e
993
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
994
+ end
995
+
966
996
  # 此接口用于赋予员工指定的角色权限,如需解绑请使用 DeleteIntegrationRoleUsers 接口。
967
997
 
968
998
  # @param request: Request instance for CreateIntegrationUserRoles.
@@ -1082,6 +1112,31 @@ module TencentCloud
1082
1112
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1083
1113
  end
1084
1114
 
1115
+ # 生成集团加入链接,分享至子企业超管或者法人,子企业管理员可通过链接加入集团。
1116
+ # 注意:调用当前接口的企业 必须为集团企业。如何成为集团企业可以参考下面的文档[集团操作文档](https://qian.tencent.com/document/86707)
1117
+
1118
+ # @param request: Request instance for CreateOrganizationGroupInvitationLink.
1119
+ # @type request: :class:`Tencentcloud::ess::V20201111::CreateOrganizationGroupInvitationLinkRequest`
1120
+ # @rtype: :class:`Tencentcloud::ess::V20201111::CreateOrganizationGroupInvitationLinkResponse`
1121
+ def CreateOrganizationGroupInvitationLink(request)
1122
+ body = send_request('CreateOrganizationGroupInvitationLink', request.serialize)
1123
+ response = JSON.parse(body)
1124
+ if response['Response'].key?('Error') == false
1125
+ model = CreateOrganizationGroupInvitationLinkResponse.new
1126
+ model.deserialize(response['Response'])
1127
+ model
1128
+ else
1129
+ code = response['Response']['Error']['Code']
1130
+ message = response['Response']['Error']['Message']
1131
+ reqid = response['Response']['RequestId']
1132
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1133
+ end
1134
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1135
+ raise e
1136
+ rescue StandardError => e
1137
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1138
+ end
1139
+
1085
1140
  # 此接口(CreateOrganizationInfoChangeUrl)用于创建企业信息变更链接,支持创建企业超管变更链接或企业基础信息变更链接,通过入参ChangeType指定。
1086
1141
 
1087
1142
 
@@ -3508,6 +3508,49 @@ module TencentCloud
3508
3508
  end
3509
3509
  end
3510
3510
 
3511
+ # CreateIntegrationSubOrganizationActiveRecord请求参数结构体
3512
+ class CreateIntegrationSubOrganizationActiveRecordRequest < TencentCloud::Common::AbstractModel
3513
+ # @param Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。 支持填入集团子公司经办人 userId 代发合同。 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
3514
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
3515
+ # @param SubOrganizationIds: 待激活成员企业ID集合
3516
+ # @type SubOrganizationIds: Array
3517
+
3518
+ attr_accessor :Operator, :SubOrganizationIds
3519
+
3520
+ def initialize(operator=nil, suborganizationids=nil)
3521
+ @Operator = operator
3522
+ @SubOrganizationIds = suborganizationids
3523
+ end
3524
+
3525
+ def deserialize(params)
3526
+ unless params['Operator'].nil?
3527
+ @Operator = UserInfo.new
3528
+ @Operator.deserialize(params['Operator'])
3529
+ end
3530
+ @SubOrganizationIds = params['SubOrganizationIds']
3531
+ end
3532
+ end
3533
+
3534
+ # CreateIntegrationSubOrganizationActiveRecord返回参数结构体
3535
+ class CreateIntegrationSubOrganizationActiveRecordResponse < TencentCloud::Common::AbstractModel
3536
+ # @param FailedSubOrganizationIds: 激活失败的成员企业ID集合
3537
+ # @type FailedSubOrganizationIds: Array
3538
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3539
+ # @type RequestId: String
3540
+
3541
+ attr_accessor :FailedSubOrganizationIds, :RequestId
3542
+
3543
+ def initialize(failedsuborganizationids=nil, requestid=nil)
3544
+ @FailedSubOrganizationIds = failedsuborganizationids
3545
+ @RequestId = requestid
3546
+ end
3547
+
3548
+ def deserialize(params)
3549
+ @FailedSubOrganizationIds = params['FailedSubOrganizationIds']
3550
+ @RequestId = params['RequestId']
3551
+ end
3552
+ end
3553
+
3511
3554
  # CreateIntegrationUserRoles请求参数结构体
3512
3555
  class CreateIntegrationUserRolesRequest < TencentCloud::Common::AbstractModel
3513
3556
  # @param Operator: 执行本接口操作的员工信息。 注: 在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。
@@ -3934,6 +3977,72 @@ module TencentCloud
3934
3977
  end
3935
3978
  end
3936
3979
 
3980
+ # CreateOrganizationGroupInvitationLink请求参数结构体
3981
+ class CreateOrganizationGroupInvitationLinkRequest < TencentCloud::Common::AbstractModel
3982
+ # @param Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。 支持填入集团子公司经办人 userId 代发合同。 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
3983
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
3984
+ # @param ExpireTime: 到期时间(以秒为单位的时间戳),其上限为30天的有效期限。
3985
+ # @type ExpireTime: Integer
3986
+
3987
+ attr_accessor :Operator, :ExpireTime
3988
+
3989
+ def initialize(operator=nil, expiretime=nil)
3990
+ @Operator = operator
3991
+ @ExpireTime = expiretime
3992
+ end
3993
+
3994
+ def deserialize(params)
3995
+ unless params['Operator'].nil?
3996
+ @Operator = UserInfo.new
3997
+ @Operator.deserialize(params['Operator'])
3998
+ end
3999
+ @ExpireTime = params['ExpireTime']
4000
+ end
4001
+ end
4002
+
4003
+ # CreateOrganizationGroupInvitationLink返回参数结构体
4004
+ class CreateOrganizationGroupInvitationLinkResponse < TencentCloud::Common::AbstractModel
4005
+ # @param Link: 加入集团二维码链接,子企业的管理员可以直接扫码进入。
4006
+ # 注意:1. 该链接有效期时间为ExpireTime,同时需要注意保密,不要外泄给无关用户。2. 该链接不支持小程序嵌入,仅支持<b>移动端浏览器</b>打开。3. <font color="red">生成的链路后面不能再增加参数</font>(会出现覆盖链接中已有参数导致错误)
4007
+ # @type Link: String
4008
+ # @param ExpireTime: 到期时间(以秒为单位的时间戳)
4009
+ # @type ExpireTime: Integer
4010
+ # @param JumpUrl: 加入集团短链接。
4011
+ # 注意:
4012
+ # 1. 该链接有效期时间为ExpireTime,同时需要注意保密,不要外泄给无关用户。
4013
+ # 2. 该链接不支持小程序嵌入,仅支持<b>移动端浏览器</b>打开。
4014
+ # 3. <font color="red">生成的链路后面不能再增加参数</font>(会出现覆盖链接中已有参数导致错误)
4015
+ # @type JumpUrl: String
4016
+ # @param MiniAppPath: 腾讯电子签小程序加入集团链接。
4017
+
4018
+ # <li>小程序和APP集成使用</li>
4019
+ # <li>得到的链接类似于`pages/guide?shortKey=yDw***k1xFc5`, 用法可以参考:<a href="https://qian.tencent.com/developers/company/openwxminiprogram" target="_blank">跳转电子签小程序</a></li>
4020
+
4021
+
4022
+ # 注: <font color="red">生成的链路后面不能再增加参数</font>
4023
+ # @type MiniAppPath: String
4024
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4025
+ # @type RequestId: String
4026
+
4027
+ attr_accessor :Link, :ExpireTime, :JumpUrl, :MiniAppPath, :RequestId
4028
+
4029
+ def initialize(link=nil, expiretime=nil, jumpurl=nil, miniapppath=nil, requestid=nil)
4030
+ @Link = link
4031
+ @ExpireTime = expiretime
4032
+ @JumpUrl = jumpurl
4033
+ @MiniAppPath = miniapppath
4034
+ @RequestId = requestid
4035
+ end
4036
+
4037
+ def deserialize(params)
4038
+ @Link = params['Link']
4039
+ @ExpireTime = params['ExpireTime']
4040
+ @JumpUrl = params['JumpUrl']
4041
+ @MiniAppPath = params['MiniAppPath']
4042
+ @RequestId = params['RequestId']
4043
+ end
4044
+ end
4045
+
3937
4046
  # CreateOrganizationInfoChangeUrl请求参数结构体
3938
4047
  class CreateOrganizationInfoChangeUrlRequest < TencentCloud::Common::AbstractModel
3939
4048
  # @param Operator: 执行本接口操作的员工信息。
@@ -7321,15 +7430,24 @@ module TencentCloud
7321
7430
  # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
7322
7431
  # @param Name: 姓名
7323
7432
  # @type Name: String
7324
- # @param IdCardNumber: 证件号,身份证如果有x的话,统一按照大写X传递
7433
+ # @param IdCardNumber: 证件号码,应符合以下规则
7434
+ # <ul><li>居民身份证号码应为18位字符串,由数字和大写字母X组成(如存在X,请大写)。</li>
7435
+ # <li>港澳居民来往内地通行证号码共11位。第1位为字母,“H”字头签发给香港居民,“M”字头签发给澳门居民;第2位至第11位为数字。</li>
7436
+ # <li>港澳台居民居住证号码编码规则与中国大陆身份证相同,应为18位字符串。</li></ul>
7325
7437
  # @type IdCardNumber: String
7438
+ # @param IdCardType: 证件类型,支持以下类型
7439
+ # <ul><li>ID_CARD : 居民身份证 (默认值)</li>
7440
+ # <li>HONGKONG_AND_MACAO : 港澳居民来往内地通行证</li>
7441
+ # <li>HONGKONG_MACAO_AND_TAIWAN : 港澳台居民居住证(格式同居民身份证)</li></ul>
7442
+ # @type IdCardType: String
7326
7443
 
7327
- attr_accessor :Operator, :Name, :IdCardNumber
7444
+ attr_accessor :Operator, :Name, :IdCardNumber, :IdCardType
7328
7445
 
7329
- def initialize(operator=nil, name=nil, idcardnumber=nil)
7446
+ def initialize(operator=nil, name=nil, idcardnumber=nil, idcardtype=nil)
7330
7447
  @Operator = operator
7331
7448
  @Name = name
7332
7449
  @IdCardNumber = idcardnumber
7450
+ @IdCardType = idcardtype
7333
7451
  end
7334
7452
 
7335
7453
  def deserialize(params)
@@ -7339,6 +7457,7 @@ module TencentCloud
7339
7457
  end
7340
7458
  @Name = params['Name']
7341
7459
  @IdCardNumber = params['IdCardNumber']
7460
+ @IdCardType = params['IdCardType']
7342
7461
  end
7343
7462
  end
7344
7463
 
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.828
4
+ version: 3.0.830
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-05-22 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common