tencentcloud-sdk-ess 3.0.883 → 3.0.885

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: 8140cbf9437d8869db9f8a0c7470cedfdac54408
4
- data.tar.gz: cad1826263652804592d6a860369e3f7a253b45f
3
+ metadata.gz: 191b7c987e9436bb085d0ea72747f479d2dd8b25
4
+ data.tar.gz: ca26197102d307a006c0396935b117c9af872ccb
5
5
  SHA512:
6
- metadata.gz: 31fabdac5396b340eff9244b37334dfd3db2954f174c6db0c6771249058b71c21a5aff5015c2fab6fdb562353186261f8ed0456d8a21b1a64dc20f96742abc5f
7
- data.tar.gz: deb3c82dba9aaf3d80fafe8c53d2647d3f9ae18b220b0365db04b94a486dcb10bd56e10f83b2740e2916e24f28e57f0dc3c0e9e3b79e07f9a6b5a50080214ef7
6
+ metadata.gz: 097c70d359220aecc32a4035da4aa5d7f01fb708aff348407f636159b881761da3685cd0b76ed611a30d454b9023f325caac4120ba6db2583892fda1426b7337
7
+ data.tar.gz: 127ec8c3709de986f130f879a4d7f9a00fa06c82a87f1abb949c21e0aea176847cadb5fb8067deeaaff605936db189927b78f8a7027dc603c6f195746b0d44a8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.883
1
+ 3.0.885
@@ -186,6 +186,37 @@ module TencentCloud
186
186
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
187
187
  end
188
188
 
189
+ # 支持企业进行批量初始化操作:
190
+
191
+ # 此接口存在以下限制:
192
+ # 1. 若批量操作中包含<font color="red">加入集团企业</font>操作,则调用此接口的员工须有<font color="red">集团企业管理权限</font>。
193
+ # 2. 批量操作的企业需要已经完成电子签的认证流程。
194
+ # 3. 通过此接口生成的链接在小程序端进行操作时,操作人需要是<font color="red">所有企业的超管或法人</font>。
195
+ # 4. 批量操作的企业,需要是<a href="https://qian.tencent.com/developers/companyApis/organizations/CreateOrganizationAuthUrl" target="_blank">通过平台方引导认证</a>的企业。
196
+ # 5. <font color="red">操作链接过期时间默认为生成链接后7天。</font>
197
+
198
+ # @param request: Request instance for CreateBatchInitOrganizationUrl.
199
+ # @type request: :class:`Tencentcloud::ess::V20201111::CreateBatchInitOrganizationUrlRequest`
200
+ # @rtype: :class:`Tencentcloud::ess::V20201111::CreateBatchInitOrganizationUrlResponse`
201
+ def CreateBatchInitOrganizationUrl(request)
202
+ body = send_request('CreateBatchInitOrganizationUrl', request.serialize)
203
+ response = JSON.parse(body)
204
+ if response['Response'].key?('Error') == false
205
+ model = CreateBatchInitOrganizationUrlResponse.new
206
+ model.deserialize(response['Response'])
207
+ model
208
+ else
209
+ code = response['Response']['Error']['Code']
210
+ message = response['Response']['Error']['Message']
211
+ reqid = response['Response']['RequestId']
212
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
213
+ end
214
+ rescue TencentCloud::Common::TencentCloudSDKException => e
215
+ raise e
216
+ rescue StandardError => e
217
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
218
+ end
219
+
189
220
  # 本接口(CreateBatchOrganizationRegistrationTasks)用于批量创建企业认证链接
190
221
  # 该接口为异步提交任务接口,需要跟查询企业批量认证链接(DescribeBatchOrganizationRegistrationUrls) 配合使用.
191
222
 
@@ -1403,6 +1403,76 @@ module TencentCloud
1403
1403
  end
1404
1404
  end
1405
1405
 
1406
+ # CreateBatchInitOrganizationUrl请求参数结构体
1407
+ class CreateBatchInitOrganizationUrlRequest < TencentCloud::Common::AbstractModel
1408
+ # @param Operator: 执行本接口操作的员工信息。
1409
+ # 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
1410
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
1411
+ # @param OperateTypes: 初始化操作类型
1412
+ # <ul><li>CREATE_SEAL : 创建印章</li>
1413
+ # <li>AUTH_JOIN_ORGANIZATION_GROUP : 加入集团企业</li>
1414
+ # <li>OPEN_AUTO_SIGN :开通企业自动签署</li></ul>
1415
+ # @type OperateTypes: Array
1416
+ # @param OrganizationIds: 批量操作的企业Id列表,最大支持50个
1417
+ # @type OrganizationIds: Array
1418
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
1419
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
1420
+
1421
+ attr_accessor :Operator, :OperateTypes, :OrganizationIds, :Agent
1422
+
1423
+ def initialize(operator=nil, operatetypes=nil, organizationids=nil, agent=nil)
1424
+ @Operator = operator
1425
+ @OperateTypes = operatetypes
1426
+ @OrganizationIds = organizationids
1427
+ @Agent = agent
1428
+ end
1429
+
1430
+ def deserialize(params)
1431
+ unless params['Operator'].nil?
1432
+ @Operator = UserInfo.new
1433
+ @Operator.deserialize(params['Operator'])
1434
+ end
1435
+ @OperateTypes = params['OperateTypes']
1436
+ @OrganizationIds = params['OrganizationIds']
1437
+ unless params['Agent'].nil?
1438
+ @Agent = Agent.new
1439
+ @Agent.deserialize(params['Agent'])
1440
+ end
1441
+ end
1442
+ end
1443
+
1444
+ # CreateBatchInitOrganizationUrl返回参数结构体
1445
+ class CreateBatchInitOrganizationUrlResponse < TencentCloud::Common::AbstractModel
1446
+ # @param MiniAppPath: 小程序路径
1447
+ # @type MiniAppPath: String
1448
+ # @param OperateLongUrl: 操作长链
1449
+ # @type OperateLongUrl: String
1450
+ # @param OperateShortUrl: 操作短链
1451
+ # @type OperateShortUrl: String
1452
+ # @param QRCodeUrl: 操作二维码
1453
+ # @type QRCodeUrl: String
1454
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1455
+ # @type RequestId: String
1456
+
1457
+ attr_accessor :MiniAppPath, :OperateLongUrl, :OperateShortUrl, :QRCodeUrl, :RequestId
1458
+
1459
+ def initialize(miniapppath=nil, operatelongurl=nil, operateshorturl=nil, qrcodeurl=nil, requestid=nil)
1460
+ @MiniAppPath = miniapppath
1461
+ @OperateLongUrl = operatelongurl
1462
+ @OperateShortUrl = operateshorturl
1463
+ @QRCodeUrl = qrcodeurl
1464
+ @RequestId = requestid
1465
+ end
1466
+
1467
+ def deserialize(params)
1468
+ @MiniAppPath = params['MiniAppPath']
1469
+ @OperateLongUrl = params['OperateLongUrl']
1470
+ @OperateShortUrl = params['OperateShortUrl']
1471
+ @QRCodeUrl = params['QRCodeUrl']
1472
+ @RequestId = params['RequestId']
1473
+ end
1474
+ end
1475
+
1406
1476
  # CreateBatchOrganizationRegistrationTasks请求参数结构体
1407
1477
  class CreateBatchOrganizationRegistrationTasksRequest < TencentCloud::Common::AbstractModel
1408
1478
  # @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.883
4
+ version: 3.0.885
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-08-11 00:00:00.000000000 Z
11
+ date: 2024-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common