tencentcloud-sdk-essbasic 3.0.445 → 3.0.446
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210526/client.rb +25 -0
- data/lib/v20210526/models.rb +146 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21f849b7f9fad1006dbfe2e974c50555ad4b4791
|
4
|
+
data.tar.gz: 4387654b7f820bf73bc758c20a4798ecb0b72fa6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 939904ae8a605ef73d67705f04f05fb5bd18f57e13b27e6c72127e37e69d2c53242de7e81674320240472de525828dec804c0f84c26ade7ad4f6cd8319d61387
|
7
|
+
data.tar.gz: bee7ca9d8e3e982091fc6511aec1bce213b6e0a16efdef0b717c43788212da79b2d208710809d984c421b0f1ecfc644ed9986c16ba93b4471f2a4ac5405cd41e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.446
|
data/lib/v20210526/client.rb
CHANGED
@@ -282,6 +282,31 @@ module TencentCloud
|
|
282
282
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
283
283
|
end
|
284
284
|
|
285
|
+
# 查询渠道子客企业电子印章,需要操作者具有管理印章权限
|
286
|
+
# 客户指定需要获取的印章数量和偏移量,数量最多100,超过100按100处理;入参InfoType控制印章是否携带授权人信息,为1则携带,为0则返回的授权人信息为空数组。接口调用成功返回印章的信息列表还有企业印章的总数。
|
287
|
+
|
288
|
+
# @param request: Request instance for ChannelDescribeOrganizationSeals.
|
289
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelDescribeOrganizationSealsRequest`
|
290
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelDescribeOrganizationSealsResponse`
|
291
|
+
def ChannelDescribeOrganizationSeals(request)
|
292
|
+
body = send_request('ChannelDescribeOrganizationSeals', request.serialize)
|
293
|
+
response = JSON.parse(body)
|
294
|
+
if response['Response'].key?('Error') == false
|
295
|
+
model = ChannelDescribeOrganizationSealsResponse.new
|
296
|
+
model.deserialize(response['Response'])
|
297
|
+
model
|
298
|
+
else
|
299
|
+
code = response['Response']['Error']['Code']
|
300
|
+
message = response['Response']['Error']['Message']
|
301
|
+
reqid = response['Response']['RequestId']
|
302
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
303
|
+
end
|
304
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
305
|
+
raise e
|
306
|
+
rescue StandardError => e
|
307
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
308
|
+
end
|
309
|
+
|
285
310
|
# 渠道版查询转换任务状态
|
286
311
|
|
287
312
|
# @param request: Request instance for ChannelGetTaskResultApi.
|
data/lib/v20210526/models.rb
CHANGED
@@ -116,6 +116,22 @@ module TencentCloud
|
|
116
116
|
end
|
117
117
|
end
|
118
118
|
|
119
|
+
# 授权用户
|
120
|
+
class AuthorizedUser < TencentCloud::Common::AbstractModel
|
121
|
+
# @param OpenId: 用户openid
|
122
|
+
# @type OpenId: String
|
123
|
+
|
124
|
+
attr_accessor :OpenId
|
125
|
+
|
126
|
+
def initialize(openid=nil)
|
127
|
+
@OpenId = openid
|
128
|
+
end
|
129
|
+
|
130
|
+
def deserialize(params)
|
131
|
+
@OpenId = params['OpenId']
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
119
135
|
# 抄送信息
|
120
136
|
class CcInfo < TencentCloud::Common::AbstractModel
|
121
137
|
# @param Mobile: 被抄送人手机号,大陆11位手机号
|
@@ -843,6 +859,72 @@ module TencentCloud
|
|
843
859
|
end
|
844
860
|
end
|
845
861
|
|
862
|
+
# ChannelDescribeOrganizationSeals请求参数结构体
|
863
|
+
class ChannelDescribeOrganizationSealsRequest < TencentCloud::Common::AbstractModel
|
864
|
+
# @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
|
865
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
866
|
+
# @param Limit: 返回最大数量,最大为100
|
867
|
+
# @type Limit: Integer
|
868
|
+
# @param Offset: 偏移量,默认为0,最大为20000
|
869
|
+
# @type Offset: Integer
|
870
|
+
# @param InfoType: 查询信息类型,为0时不返回授权用户,为1时返回
|
871
|
+
# @type InfoType: Integer
|
872
|
+
# @param SealId: 印章id(没有输入返回所有)
|
873
|
+
# @type SealId: String
|
874
|
+
|
875
|
+
attr_accessor :Agent, :Limit, :Offset, :InfoType, :SealId
|
876
|
+
|
877
|
+
def initialize(agent=nil, limit=nil, offset=nil, infotype=nil, sealid=nil)
|
878
|
+
@Agent = agent
|
879
|
+
@Limit = limit
|
880
|
+
@Offset = offset
|
881
|
+
@InfoType = infotype
|
882
|
+
@SealId = sealid
|
883
|
+
end
|
884
|
+
|
885
|
+
def deserialize(params)
|
886
|
+
unless params['Agent'].nil?
|
887
|
+
@Agent = Agent.new
|
888
|
+
@Agent.deserialize(params['Agent'])
|
889
|
+
end
|
890
|
+
@Limit = params['Limit']
|
891
|
+
@Offset = params['Offset']
|
892
|
+
@InfoType = params['InfoType']
|
893
|
+
@SealId = params['SealId']
|
894
|
+
end
|
895
|
+
end
|
896
|
+
|
897
|
+
# ChannelDescribeOrganizationSeals返回参数结构体
|
898
|
+
class ChannelDescribeOrganizationSealsResponse < TencentCloud::Common::AbstractModel
|
899
|
+
# @param TotalCount: 在设置了SealId时返回0或1,没有设置时返回公司的总印章数量,可能比返回的印章数组数量多
|
900
|
+
# @type TotalCount: Integer
|
901
|
+
# @param Seals: 查询到的印章结果数组
|
902
|
+
# @type Seals: Array
|
903
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
904
|
+
# @type RequestId: String
|
905
|
+
|
906
|
+
attr_accessor :TotalCount, :Seals, :RequestId
|
907
|
+
|
908
|
+
def initialize(totalcount=nil, seals=nil, requestid=nil)
|
909
|
+
@TotalCount = totalcount
|
910
|
+
@Seals = seals
|
911
|
+
@RequestId = requestid
|
912
|
+
end
|
913
|
+
|
914
|
+
def deserialize(params)
|
915
|
+
@TotalCount = params['TotalCount']
|
916
|
+
unless params['Seals'].nil?
|
917
|
+
@Seals = []
|
918
|
+
params['Seals'].each do |i|
|
919
|
+
occupiedseal_tmp = OccupiedSeal.new
|
920
|
+
occupiedseal_tmp.deserialize(i)
|
921
|
+
@Seals << occupiedseal_tmp
|
922
|
+
end
|
923
|
+
end
|
924
|
+
@RequestId = params['RequestId']
|
925
|
+
end
|
926
|
+
end
|
927
|
+
|
846
928
|
# ChannelGetTaskResultApi请求参数结构体
|
847
929
|
class ChannelGetTaskResultApiRequest < TencentCloud::Common::AbstractModel
|
848
930
|
# @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
|
@@ -2391,6 +2473,70 @@ module TencentCloud
|
|
2391
2473
|
end
|
2392
2474
|
end
|
2393
2475
|
|
2476
|
+
# 持有的电子印章信息
|
2477
|
+
class OccupiedSeal < TencentCloud::Common::AbstractModel
|
2478
|
+
# @param SealId: 电子印章编号
|
2479
|
+
# @type SealId: String
|
2480
|
+
# @param SealName: 电子印章名称
|
2481
|
+
# @type SealName: String
|
2482
|
+
# @param CreateOn: 电子印章授权时间戳
|
2483
|
+
# @type CreateOn: Integer
|
2484
|
+
# @param Creator: 电子印章授权人
|
2485
|
+
# @type Creator: String
|
2486
|
+
# @param SealPolicyId: 电子印章策略Id
|
2487
|
+
# @type SealPolicyId: String
|
2488
|
+
# @param SealStatus: 印章状态,有以下六种:CHECKING(审核中)SUCCESS(已启用)FAIL(审核拒绝)CHECKING-SADM(待超管审核)DISABLE(已停用)STOPPED(已终止)
|
2489
|
+
# @type SealStatus: String
|
2490
|
+
# @param FailReason: 审核失败原因
|
2491
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2492
|
+
# @type FailReason: String
|
2493
|
+
# @param Url: 印章图片url,5分钟内有效
|
2494
|
+
# @type Url: String
|
2495
|
+
# @param SealType: 印章类型
|
2496
|
+
# @type SealType: String
|
2497
|
+
# @param IsAllTime: 用印申请是否为永久授权
|
2498
|
+
# @type IsAllTime: Boolean
|
2499
|
+
# @param AuthorizedUsers: 授权人列表
|
2500
|
+
# @type AuthorizedUsers: Array
|
2501
|
+
|
2502
|
+
attr_accessor :SealId, :SealName, :CreateOn, :Creator, :SealPolicyId, :SealStatus, :FailReason, :Url, :SealType, :IsAllTime, :AuthorizedUsers
|
2503
|
+
|
2504
|
+
def initialize(sealid=nil, sealname=nil, createon=nil, creator=nil, sealpolicyid=nil, sealstatus=nil, failreason=nil, url=nil, sealtype=nil, isalltime=nil, authorizedusers=nil)
|
2505
|
+
@SealId = sealid
|
2506
|
+
@SealName = sealname
|
2507
|
+
@CreateOn = createon
|
2508
|
+
@Creator = creator
|
2509
|
+
@SealPolicyId = sealpolicyid
|
2510
|
+
@SealStatus = sealstatus
|
2511
|
+
@FailReason = failreason
|
2512
|
+
@Url = url
|
2513
|
+
@SealType = sealtype
|
2514
|
+
@IsAllTime = isalltime
|
2515
|
+
@AuthorizedUsers = authorizedusers
|
2516
|
+
end
|
2517
|
+
|
2518
|
+
def deserialize(params)
|
2519
|
+
@SealId = params['SealId']
|
2520
|
+
@SealName = params['SealName']
|
2521
|
+
@CreateOn = params['CreateOn']
|
2522
|
+
@Creator = params['Creator']
|
2523
|
+
@SealPolicyId = params['SealPolicyId']
|
2524
|
+
@SealStatus = params['SealStatus']
|
2525
|
+
@FailReason = params['FailReason']
|
2526
|
+
@Url = params['Url']
|
2527
|
+
@SealType = params['SealType']
|
2528
|
+
@IsAllTime = params['IsAllTime']
|
2529
|
+
unless params['AuthorizedUsers'].nil?
|
2530
|
+
@AuthorizedUsers = []
|
2531
|
+
params['AuthorizedUsers'].each do |i|
|
2532
|
+
authorizeduser_tmp = AuthorizedUser.new
|
2533
|
+
authorizeduser_tmp.deserialize(i)
|
2534
|
+
@AuthorizedUsers << authorizeduser_tmp
|
2535
|
+
end
|
2536
|
+
end
|
2537
|
+
end
|
2538
|
+
end
|
2539
|
+
|
2394
2540
|
# OperateChannelTemplate请求参数结构体
|
2395
2541
|
class OperateChannelTemplateRequest < TencentCloud::Common::AbstractModel
|
2396
2542
|
# @param Agent: 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
|
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.
|
4
|
+
version: 3.0.446
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '3.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '3.0'
|
27
27
|
description: Tencent Cloud Ruby SDK is the official software development kit, which
|
28
28
|
allows Ruby developers to write software that makes use of Tencent Cloud service
|
29
29
|
ESSBASIC.
|