tencentcloud-sdk-ess 3.0.445 → 3.0.446

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: 6693cb091d5d3e5be57825263f7bb84a020ace2b
4
- data.tar.gz: 537f108daae5c75a322f22c9fe90a6ddc5618b85
3
+ metadata.gz: 48fb5dcd06df68b8c9a70445d505e5c274127452
4
+ data.tar.gz: 70d8322c5bb6d8af1295c3e584beb319acbffe4a
5
5
  SHA512:
6
- metadata.gz: e6eae78f61f8491a1788bcc6e485417f6c893e41ea13563c9bb8407348ca8cd3dbcc1a142707ee7bb48a152038f2f2934e3b5c2ac9b4e28d69857c240ae18582
7
- data.tar.gz: 69fae80126ba0905a59482f133d4acc97b571969e69768edff0a59dbaa8860231c45efd56737d682e9c2787c81b0fedd1e0b2306fc6afe776f52d74ff8cce91f
6
+ metadata.gz: dbb8f86646ea64953d22c7a8a24c9d5ed938a06a8e347f0f43d3ed44b8968ea98207347c6cd1563a15a1cbc77dacb8b19516cfd5d360f032e6352434966aa36c
7
+ data.tar.gz: 6778ebe5ce30241c7ce198b84d590184ab5c2c5598dfeee51b615b578adb549b2ef8ff904ba7a27eacbd96af5d5e35b1dcc5d0698386fd285de403285f049465
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.445
1
+ 3.0.446
@@ -520,6 +520,31 @@ module TencentCloud
520
520
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
521
521
  end
522
522
 
523
+ # 查询企业印章的列表,需要操作者具有查询印章权限
524
+ # 客户指定需要获取的印章数量和偏移量,数量最多100,超过100按100处理;入参InfoType控制印章是否携带授权人信息,为1则携带,为0则返回的授权人信息为空数组。接口调用成功返回印章的信息列表还有企业印章的总数。
525
+
526
+ # @param request: Request instance for DescribeOrganizationSeals.
527
+ # @type request: :class:`Tencentcloud::ess::V20201111::DescribeOrganizationSealsRequest`
528
+ # @rtype: :class:`Tencentcloud::ess::V20201111::DescribeOrganizationSealsResponse`
529
+ def DescribeOrganizationSeals(request)
530
+ body = send_request('DescribeOrganizationSeals', request.serialize)
531
+ response = JSON.parse(body)
532
+ if response['Response'].key?('Error') == false
533
+ model = DescribeOrganizationSealsResponse.new
534
+ model.deserialize(response['Response'])
535
+ model
536
+ else
537
+ code = response['Response']['Error']['Code']
538
+ message = response['Response']['Error']['Message']
539
+ reqid = response['Response']['RequestId']
540
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
541
+ end
542
+ rescue TencentCloud::Common::TencentCloudSDKException => e
543
+ raise e
544
+ rescue StandardError => e
545
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
546
+ end
547
+
523
548
  # 通过AuthCode查询用户是否实名
524
549
 
525
550
  # @param request: Request instance for DescribeThirdPartyAuthCode.
@@ -165,6 +165,22 @@ module TencentCloud
165
165
  end
166
166
  end
167
167
 
168
+ # 授权用户
169
+ class AuthorizedUser < TencentCloud::Common::AbstractModel
170
+ # @param UserId: 用户id
171
+ # @type UserId: String
172
+
173
+ attr_accessor :UserId
174
+
175
+ def initialize(userid=nil)
176
+ @UserId = userid
177
+ end
178
+
179
+ def deserialize(params)
180
+ @UserId = params['UserId']
181
+ end
182
+ end
183
+
168
184
  # 此结构体 (Caller) 用于描述调用方属性。
169
185
  class Caller < TencentCloud::Common::AbstractModel
170
186
  # @param ApplicationId: 应用号
@@ -1774,6 +1790,72 @@ module TencentCloud
1774
1790
  end
1775
1791
  end
1776
1792
 
1793
+ # DescribeOrganizationSeals请求参数结构体
1794
+ class DescribeOrganizationSealsRequest < TencentCloud::Common::AbstractModel
1795
+ # @param Operator: 调用方用户信息,userId 必填
1796
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
1797
+ # @param Limit: 返回最大数量,最大为100
1798
+ # @type Limit: Integer
1799
+ # @param Offset: 偏移量,默认为0,最大为20000
1800
+ # @type Offset: Integer
1801
+ # @param InfoType: 查询信息类型,为0时不返回授权用户,为1时返回
1802
+ # @type InfoType: Integer
1803
+ # @param SealId: 印章id(没有输入返回所有)
1804
+ # @type SealId: String
1805
+
1806
+ attr_accessor :Operator, :Limit, :Offset, :InfoType, :SealId
1807
+
1808
+ def initialize(operator=nil, limit=nil, offset=nil, infotype=nil, sealid=nil)
1809
+ @Operator = operator
1810
+ @Limit = limit
1811
+ @Offset = offset
1812
+ @InfoType = infotype
1813
+ @SealId = sealid
1814
+ end
1815
+
1816
+ def deserialize(params)
1817
+ unless params['Operator'].nil?
1818
+ @Operator = UserInfo.new
1819
+ @Operator.deserialize(params['Operator'])
1820
+ end
1821
+ @Limit = params['Limit']
1822
+ @Offset = params['Offset']
1823
+ @InfoType = params['InfoType']
1824
+ @SealId = params['SealId']
1825
+ end
1826
+ end
1827
+
1828
+ # DescribeOrganizationSeals返回参数结构体
1829
+ class DescribeOrganizationSealsResponse < TencentCloud::Common::AbstractModel
1830
+ # @param TotalCount: 在设置了SealId时返回0或1,没有设置时返回公司的总印章数量,可能比返回的印章数组数量多
1831
+ # @type TotalCount: Integer
1832
+ # @param Seals: 查询到的印章结果数组
1833
+ # @type Seals: Array
1834
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1835
+ # @type RequestId: String
1836
+
1837
+ attr_accessor :TotalCount, :Seals, :RequestId
1838
+
1839
+ def initialize(totalcount=nil, seals=nil, requestid=nil)
1840
+ @TotalCount = totalcount
1841
+ @Seals = seals
1842
+ @RequestId = requestid
1843
+ end
1844
+
1845
+ def deserialize(params)
1846
+ @TotalCount = params['TotalCount']
1847
+ unless params['Seals'].nil?
1848
+ @Seals = []
1849
+ params['Seals'].each do |i|
1850
+ occupiedseal_tmp = OccupiedSeal.new
1851
+ occupiedseal_tmp.deserialize(i)
1852
+ @Seals << occupiedseal_tmp
1853
+ end
1854
+ end
1855
+ @RequestId = params['RequestId']
1856
+ end
1857
+ end
1858
+
1777
1859
  # DescribeThirdPartyAuthCode请求参数结构体
1778
1860
  class DescribeThirdPartyAuthCodeRequest < TencentCloud::Common::AbstractModel
1779
1861
  # @param AuthCode: 电子签小程序跳转客户小程序时携带的授权查看码
@@ -2354,6 +2436,71 @@ module TencentCloud
2354
2436
  end
2355
2437
  end
2356
2438
 
2439
+ # 持有的电子印章信息
2440
+ class OccupiedSeal < TencentCloud::Common::AbstractModel
2441
+ # @param SealId: 电子印章编号
2442
+ # @type SealId: String
2443
+ # @param SealName: 电子印章名称
2444
+ # @type SealName: String
2445
+ # @param CreateOn: 电子印章授权时间戳
2446
+ # @type CreateOn: Integer
2447
+ # @param Creator: 电子印章授权人
2448
+ # @type Creator: String
2449
+ # @param SealPolicyId: 电子印章策略Id
2450
+ # @type SealPolicyId: String
2451
+ # @param SealStatus: 印章状态,有以下六种:CHECKING(审核中)SUCCESS(已启用)FAIL(审核拒绝)CHECKING-SADM(待超管审核)DISABLE(已停用)STOPPED(已终止)
2452
+ # @type SealStatus: String
2453
+ # @param FailReason: 审核失败原因
2454
+ # 注意:此字段可能返回 null,表示取不到有效值。
2455
+ # @type FailReason: String
2456
+ # @param Url: 印章图片url,5分钟内有效
2457
+ # @type Url: String
2458
+ # @param SealType: 印章类型
2459
+ # @type SealType: String
2460
+ # @param IsAllTime: 用印申请是否为永久授权
2461
+ # @type IsAllTime: Boolean
2462
+ # @param AuthorizedUsers: 授权人列表
2463
+ # 注意:此字段可能返回 null,表示取不到有效值。
2464
+ # @type AuthorizedUsers: Array
2465
+
2466
+ attr_accessor :SealId, :SealName, :CreateOn, :Creator, :SealPolicyId, :SealStatus, :FailReason, :Url, :SealType, :IsAllTime, :AuthorizedUsers
2467
+
2468
+ def initialize(sealid=nil, sealname=nil, createon=nil, creator=nil, sealpolicyid=nil, sealstatus=nil, failreason=nil, url=nil, sealtype=nil, isalltime=nil, authorizedusers=nil)
2469
+ @SealId = sealid
2470
+ @SealName = sealname
2471
+ @CreateOn = createon
2472
+ @Creator = creator
2473
+ @SealPolicyId = sealpolicyid
2474
+ @SealStatus = sealstatus
2475
+ @FailReason = failreason
2476
+ @Url = url
2477
+ @SealType = sealtype
2478
+ @IsAllTime = isalltime
2479
+ @AuthorizedUsers = authorizedusers
2480
+ end
2481
+
2482
+ def deserialize(params)
2483
+ @SealId = params['SealId']
2484
+ @SealName = params['SealName']
2485
+ @CreateOn = params['CreateOn']
2486
+ @Creator = params['Creator']
2487
+ @SealPolicyId = params['SealPolicyId']
2488
+ @SealStatus = params['SealStatus']
2489
+ @FailReason = params['FailReason']
2490
+ @Url = params['Url']
2491
+ @SealType = params['SealType']
2492
+ @IsAllTime = params['IsAllTime']
2493
+ unless params['AuthorizedUsers'].nil?
2494
+ @AuthorizedUsers = []
2495
+ params['AuthorizedUsers'].each do |i|
2496
+ authorizeduser_tmp = AuthorizedUser.new
2497
+ authorizeduser_tmp.deserialize(i)
2498
+ @AuthorizedUsers << authorizeduser_tmp
2499
+ end
2500
+ end
2501
+ end
2502
+ end
2503
+
2357
2504
  # 机构信息
2358
2505
  class OrganizationInfo < TencentCloud::Common::AbstractModel
2359
2506
  # @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.445
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-06 00:00:00.000000000 Z
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: '1.0'
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: '1.0'
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
  ESS.