tencentcloud-sdk-essbasic 3.0.883 → 3.0.885

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: 197848ff3559ce6022204d56896fcd48f0dad5b1
4
- data.tar.gz: cd59696eeb918f3cb43d46af091961a602e88e8f
3
+ metadata.gz: d647b4e42ceefa6f9e8b8ec1c3d68d79caf8bff4
4
+ data.tar.gz: f391088e89bf892962fe17b05d962b6098af43f9
5
5
  SHA512:
6
- metadata.gz: 1715b42b804095100ff22ad8b12dc8918572f45fa1258801cb60d5a309d5681b8f5b8e26a49685c2bb7aa59ffafbd3bc890da1805c1e3ace0d8bf5153d0b55f0
7
- data.tar.gz: fc0cddb64f2270959822a7942012fd6ba21c46936ac8671d03f84a9bb94ea701cbdcbe5cb6330bcb92f8e9e046e57b4b44524136a3da5c9e510a34122c8b09db
6
+ metadata.gz: a309595428cb8ba5de4c6ccf4a92be7032d0729397886c02781c61f9c3f20a94c683124dc1762d24914cc1ae9db9fa6e8424077e25b5edcbb10e94bd59aff1b4
7
+ data.tar.gz: 120e71f76a31319710f1eb05cd5f5d839b37243562ac4fbc49c26aab8a6747a47341f37c22bc766327d2633ec1f564665f8570db45eb9069f232d707c7312563
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.883
1
+ 3.0.885
@@ -2,12 +2,12 @@
2
2
 
3
3
  require 'tencentcloud-sdk-common'
4
4
 
5
- require_relative 'v20201222/client'
6
- require_relative 'v20201222/models'
7
-
8
5
  require_relative 'v20210526/client'
9
6
  require_relative 'v20210526/models'
10
7
 
8
+ require_relative 'v20201222/client'
9
+ require_relative 'v20201222/models'
10
+
11
11
  module TencentCloud
12
12
  module Essbasic
13
13
  end
@@ -1547,6 +1547,36 @@ module TencentCloud
1547
1547
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1548
1548
  end
1549
1549
 
1550
+ # 支持企业进行批量初始化操作:
1551
+
1552
+ # 此接口存在以下限制:
1553
+ # 1. 批量操作的企业需要已经完成电子签的认证流程。
1554
+ # 2. 通过此接口生成的链接在小程序端进行操作时,操作人需要是<font color="red">所有企业的超管或法人</font>。
1555
+ # 3. 批量操作的企业,需要是本方第三方应用下的企业。
1556
+ # 4. <font color="red">操作链接过期时间默认为生成链接后7天。</font>
1557
+
1558
+ # @param request: Request instance for CreateBatchInitOrganizationUrl.
1559
+ # @type request: :class:`Tencentcloud::essbasic::V20210526::CreateBatchInitOrganizationUrlRequest`
1560
+ # @rtype: :class:`Tencentcloud::essbasic::V20210526::CreateBatchInitOrganizationUrlResponse`
1561
+ def CreateBatchInitOrganizationUrl(request)
1562
+ body = send_request('CreateBatchInitOrganizationUrl', request.serialize)
1563
+ response = JSON.parse(body)
1564
+ if response['Response'].key?('Error') == false
1565
+ model = CreateBatchInitOrganizationUrlResponse.new
1566
+ model.deserialize(response['Response'])
1567
+ model
1568
+ else
1569
+ code = response['Response']['Error']['Code']
1570
+ message = response['Response']['Error']['Message']
1571
+ reqid = response['Response']['RequestId']
1572
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1573
+ end
1574
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1575
+ raise e
1576
+ rescue StandardError => e
1577
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1578
+ end
1579
+
1550
1580
  # 该接口用于批量创建企业认证链接, 可以支持PC浏览器,H5和小程序三种途径。
1551
1581
  # 此接口为异步提交任务接口,需要与[查询子企业批量认证链接](https://qcloudimg.tencent-cloud.cn/raw/1d3737991b2a3be78002bd78a47d6917.png)配合使用,整体流程如下图。
1552
1582
  # ![image](https://qcloudimg.tencent-cloud.cn/raw/654aa2a72ab7d42f06464ea33c50c3bb.png)
@@ -5040,6 +5040,67 @@ module TencentCloud
5040
5040
  end
5041
5041
  end
5042
5042
 
5043
+ # CreateBatchInitOrganizationUrl请求参数结构体
5044
+ class CreateBatchInitOrganizationUrlRequest < TencentCloud::Common::AbstractModel
5045
+ # @param Agent: 应用相关信息。 此接口Agent.AppId 必填。
5046
+ # @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
5047
+ # @param OperateTypes: 初始化操作类型
5048
+ # <ul><li>CREATE_SEAL : 创建印章</li>
5049
+ # <li>OPEN_AUTO_SIGN :开通企业自动签署</li></ul>
5050
+ # @type OperateTypes: Array
5051
+ # @param ProxyOrganizationOpenIds: 批量操作的企业列表在第三方平台的企业Id列表,即ProxyOrganizationOpenId列表,最大支持50个
5052
+ # @type ProxyOrganizationOpenIds: Array
5053
+
5054
+ attr_accessor :Agent, :OperateTypes, :ProxyOrganizationOpenIds
5055
+
5056
+ def initialize(agent=nil, operatetypes=nil, proxyorganizationopenids=nil)
5057
+ @Agent = agent
5058
+ @OperateTypes = operatetypes
5059
+ @ProxyOrganizationOpenIds = proxyorganizationopenids
5060
+ end
5061
+
5062
+ def deserialize(params)
5063
+ unless params['Agent'].nil?
5064
+ @Agent = Agent.new
5065
+ @Agent.deserialize(params['Agent'])
5066
+ end
5067
+ @OperateTypes = params['OperateTypes']
5068
+ @ProxyOrganizationOpenIds = params['ProxyOrganizationOpenIds']
5069
+ end
5070
+ end
5071
+
5072
+ # CreateBatchInitOrganizationUrl返回参数结构体
5073
+ class CreateBatchInitOrganizationUrlResponse < TencentCloud::Common::AbstractModel
5074
+ # @param MiniAppPath: 小程序路径
5075
+ # @type MiniAppPath: String
5076
+ # @param OperateLongUrl: 操作长链
5077
+ # @type OperateLongUrl: String
5078
+ # @param OperateShortUrl: 操作短链
5079
+ # @type OperateShortUrl: String
5080
+ # @param QRCodeUrl: 操作二维码
5081
+ # @type QRCodeUrl: String
5082
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5083
+ # @type RequestId: String
5084
+
5085
+ attr_accessor :MiniAppPath, :OperateLongUrl, :OperateShortUrl, :QRCodeUrl, :RequestId
5086
+
5087
+ def initialize(miniapppath=nil, operatelongurl=nil, operateshorturl=nil, qrcodeurl=nil, requestid=nil)
5088
+ @MiniAppPath = miniapppath
5089
+ @OperateLongUrl = operatelongurl
5090
+ @OperateShortUrl = operateshorturl
5091
+ @QRCodeUrl = qrcodeurl
5092
+ @RequestId = requestid
5093
+ end
5094
+
5095
+ def deserialize(params)
5096
+ @MiniAppPath = params['MiniAppPath']
5097
+ @OperateLongUrl = params['OperateLongUrl']
5098
+ @OperateShortUrl = params['OperateShortUrl']
5099
+ @QRCodeUrl = params['QRCodeUrl']
5100
+ @RequestId = params['RequestId']
5101
+ end
5102
+ end
5103
+
5043
5104
  # CreateBatchOrganizationRegistrationTasks请求参数结构体
5044
5105
  class CreateBatchOrganizationRegistrationTasksRequest < TencentCloud::Common::AbstractModel
5045
5106
  # @param Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-essbasic
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