tencentcloud-sdk-ess 3.0.811 → 3.0.813

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: b7305a5768c918c6abb6e31ad7e91fb79e925e11
4
- data.tar.gz: 66f2f524e2e8eb2a973d79515776a02d717788bd
3
+ metadata.gz: d2497f39328abf15ad4bef3020f9d65b4ea1d051
4
+ data.tar.gz: baa4836a3c166e777ba2a9642f2d8c18b1d078ff
5
5
  SHA512:
6
- metadata.gz: 62a56c5c8520e6844b7d1f77444dcca862265c0ff36464e12ffe28073765a857e12dd6826bc052cbf6dae3647bd68b6e45e4420b6a3cb48da2a7879d1be9f68c
7
- data.tar.gz: aa6a67422c536557b49cb018158c2dad1160db3de5904a62210f85bf20ebb96d861768d8119a6a98a64b17a9240cefb02da321c69f3b10933a764c523888992a
6
+ metadata.gz: 58789cd613a96af71ed8ae4bb29f3e99389cd842d13b0de08b7e6503caa7eaafd7972caab3b0390d59d3b0f30a8ef2f14ed726eca8784738f6eddc550868ffd5
7
+ data.tar.gz: 6918f4f226db43ecaa96c17d8f03f3f32c0bcfd59b27e3623a65e3b589b15d65738f76d84725300cafdf384e82632304a0a30f8482f7454317ff8c437771f546
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.811
1
+ 3.0.813
@@ -1574,6 +1574,34 @@ module TencentCloud
1574
1574
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1575
1575
  end
1576
1576
 
1577
+ # 此接口用于获取企业批量认证异步任务的状态及结果。
1578
+
1579
+ # 前提条件:已调用 CreateBatchOrganizationRegistrationTasks创建企业批量认证链接任务接口,并得到了任务Id。
1580
+
1581
+ # 异步任务的处理完成时间视当前已提交的任务量、任务的复杂程度等因素决定,正常情况下 3~5 秒即可完成,但也可能需要更长的时间
1582
+
1583
+ # @param request: Request instance for DescribeBatchOrganizationRegistrationUrls.
1584
+ # @type request: :class:`Tencentcloud::ess::V20201111::DescribeBatchOrganizationRegistrationUrlsRequest`
1585
+ # @rtype: :class:`Tencentcloud::ess::V20201111::DescribeBatchOrganizationRegistrationUrlsResponse`
1586
+ def DescribeBatchOrganizationRegistrationUrls(request)
1587
+ body = send_request('DescribeBatchOrganizationRegistrationUrls', request.serialize)
1588
+ response = JSON.parse(body)
1589
+ if response['Response'].key?('Error') == false
1590
+ model = DescribeBatchOrganizationRegistrationUrlsResponse.new
1591
+ model.deserialize(response['Response'])
1592
+ model
1593
+ else
1594
+ code = response['Response']['Error']['Code']
1595
+ message = response['Response']['Error']['Message']
1596
+ reqid = response['Response']['RequestId']
1597
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1598
+ end
1599
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1600
+ raise e
1601
+ rescue StandardError => e
1602
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1603
+ end
1604
+
1577
1605
  # 通过此接口(DescribeBillUsage)查询该企业的套餐套餐使用情况。
1578
1606
 
1579
1607
  # @param request: Request instance for DescribeBillUsage.
@@ -5509,6 +5509,64 @@ module TencentCloud
5509
5509
  end
5510
5510
  end
5511
5511
 
5512
+ # DescribeBatchOrganizationRegistrationUrls请求参数结构体
5513
+ class DescribeBatchOrganizationRegistrationUrlsRequest < TencentCloud::Common::AbstractModel
5514
+ # @param Operator: 执行本接口操作的员工信息。
5515
+ # 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
5516
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
5517
+ # @param TaskId: 通过接口CreateBatchOrganizationRegistrationTasks创建企业批量认证链接任得到的任务Id
5518
+ # @type TaskId: String
5519
+ # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
5520
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
5521
+
5522
+ attr_accessor :Operator, :TaskId, :Agent
5523
+
5524
+ def initialize(operator=nil, taskid=nil, agent=nil)
5525
+ @Operator = operator
5526
+ @TaskId = taskid
5527
+ @Agent = agent
5528
+ end
5529
+
5530
+ def deserialize(params)
5531
+ unless params['Operator'].nil?
5532
+ @Operator = UserInfo.new
5533
+ @Operator.deserialize(params['Operator'])
5534
+ end
5535
+ @TaskId = params['TaskId']
5536
+ unless params['Agent'].nil?
5537
+ @Agent = Agent.new
5538
+ @Agent.deserialize(params['Agent'])
5539
+ end
5540
+ end
5541
+ end
5542
+
5543
+ # DescribeBatchOrganizationRegistrationUrls返回参数结构体
5544
+ class DescribeBatchOrganizationRegistrationUrlsResponse < TencentCloud::Common::AbstractModel
5545
+ # @param OrganizationAuthUrls: 企业批量注册链接信息
5546
+ # @type OrganizationAuthUrls: Array
5547
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5548
+ # @type RequestId: String
5549
+
5550
+ attr_accessor :OrganizationAuthUrls, :RequestId
5551
+
5552
+ def initialize(organizationauthurls=nil, requestid=nil)
5553
+ @OrganizationAuthUrls = organizationauthurls
5554
+ @RequestId = requestid
5555
+ end
5556
+
5557
+ def deserialize(params)
5558
+ unless params['OrganizationAuthUrls'].nil?
5559
+ @OrganizationAuthUrls = []
5560
+ params['OrganizationAuthUrls'].each do |i|
5561
+ organizationauthurl_tmp = OrganizationAuthUrl.new
5562
+ organizationauthurl_tmp.deserialize(i)
5563
+ @OrganizationAuthUrls << organizationauthurl_tmp
5564
+ end
5565
+ end
5566
+ @RequestId = params['RequestId']
5567
+ end
5568
+ end
5569
+
5512
5570
  # DescribeBillUsageDetail请求参数结构体
5513
5571
  class DescribeBillUsageDetailRequest < TencentCloud::Common::AbstractModel
5514
5572
  # @param StartTime: 查询开始时间字符串,格式为yyyymmdd,时间跨度不能大于31天
@@ -9685,6 +9743,33 @@ module TencentCloud
9685
9743
  end
9686
9744
  end
9687
9745
 
9746
+ # 企业批量注册链接信息
9747
+ class OrganizationAuthUrl < TencentCloud::Common::AbstractModel
9748
+ # @param AuthUrl: 企业批量注册链接,根据Endpoint的不同设置,返回不同的链接地址。失效时间:7天
9749
+ # 跳转链接, 链接的有效期根据企业,员工状态和终端等有区别, 可以参考下表
9750
+ # <table> <thead> <tr> <th>Endpoint</th> <th>示例</th> <th>链接有效期限</th> </tr> </thead> <tbody>
9751
+ # <tr> <td>PC</td> <td>https://qian.tencent.com/console/batch-register?token=yDSx0UUgtjuaf4UEfd2MjCnfI1iuXFE6&orgName=批量认证线上测试企业9</td> <td>7天</td> </tr>
9752
+ # <tr> <td>PC_SHORT_URL</td> <td>https://test.essurl.cn/8gDKUBAWK8</td> <td>7天</td> </tr>
9753
+ # <tr> <td>APP</td> <td>/pages/guide/index?to=REGISTER_ENTERPRISE_FOR_BATCH&urlAuthToken=yDSx0UUgtjuaf4UEfd2MjCnfI1iuXFE6&orgName=批量认证线上测试企业9</td> <td>7天</td> </tr> </tbody> </table>
9754
+ # 注:
9755
+ # `1.创建的链接应避免被转义,如:&被转义为\u0026;如使用Postman请求后,请选择响应类型为 JSON,否则链接将被转义`
9756
+ # @type AuthUrl: String
9757
+ # @param ErrorMessage: 企业批量注册的错误信息,例如:企业三要素不通过
9758
+ # @type ErrorMessage: String
9759
+
9760
+ attr_accessor :AuthUrl, :ErrorMessage
9761
+
9762
+ def initialize(authurl=nil, errormessage=nil)
9763
+ @AuthUrl = authurl
9764
+ @ErrorMessage = errormessage
9765
+ end
9766
+
9767
+ def deserialize(params)
9768
+ @AuthUrl = params['AuthUrl']
9769
+ @ErrorMessage = params['ErrorMessage']
9770
+ end
9771
+ end
9772
+
9688
9773
  # 机构信息
9689
9774
  class OrganizationInfo < TencentCloud::Common::AbstractModel
9690
9775
  # @param OrganizationId: 机构在平台的编号,内部字段,暂未开放
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.811
4
+ version: 3.0.813
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-04-25 00:00:00.000000000 Z
11
+ date: 2024-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common