tencentcloud-sdk-ess 3.0.828 → 3.0.829
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201111/client.rb +55 -0
- data/lib/v20201111/models.rb +109 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b815a16cc1a4a511cacb834c7ec183cc24aa02a3
|
4
|
+
data.tar.gz: 400a92bbd2f3c43b45a26bf11a20ce736e22dd33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4be56af2afb9ce036f7c8eff53dc9ab991abeb66747d5fb44c9a8927134e282d49a9f18b3e735105630b860a731b375bd9252554491f58499610937c874ae18
|
7
|
+
data.tar.gz: 53d4a065289fbb3272a845fa344b543b4cb0964709b73f10d45cbf38892a0506ef2b2b1e12cbd77fc510629a4f4051214ea6061eb2c9e237fbc80a8e355cba1a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.829
|
data/lib/v20201111/client.rb
CHANGED
@@ -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
|
|
data/lib/v20201111/models.rb
CHANGED
@@ -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: 执行本接口操作的员工信息。
|
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.
|
4
|
+
version: 3.0.829
|
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-
|
11
|
+
date: 2024-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|