tencentcloud-sdk-ess 3.0.501 → 3.0.502
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201111/client.rb +48 -0
- data/lib/v20201111/models.rb +268 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9c1efba2e0ff6274e49d70fd11865e4e471bc25
|
4
|
+
data.tar.gz: bbf4b6a29de532ea67532ecb14608e390f30ba9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fe01f1f36b6ee05e55e51786695ff09d2c24a76a35f40f89d62ee325095121574b1ffed036012850fa244ecc367c475b525ec9edf8303039fc982feb108da12
|
7
|
+
data.tar.gz: 6cd6a2dbc69af0393a59daf48cada5a7dd3079aa35071c7bc94d59ea76f96e45344346e6585abfcf0c4c045342fca9d756f9b808e1cc0b23040ab3980294e53d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.502
|
data/lib/v20201111/client.rb
CHANGED
@@ -620,6 +620,54 @@ module TencentCloud
|
|
620
620
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
621
621
|
end
|
622
622
|
|
623
|
+
# 通过子企业影子账号查询主企业员工账号
|
624
|
+
|
625
|
+
# @param request: Request instance for DescribeIntegrationMainOrganizationUser.
|
626
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::DescribeIntegrationMainOrganizationUserRequest`
|
627
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::DescribeIntegrationMainOrganizationUserResponse`
|
628
|
+
def DescribeIntegrationMainOrganizationUser(request)
|
629
|
+
body = send_request('DescribeIntegrationMainOrganizationUser', request.serialize)
|
630
|
+
response = JSON.parse(body)
|
631
|
+
if response['Response'].key?('Error') == false
|
632
|
+
model = DescribeIntegrationMainOrganizationUserResponse.new
|
633
|
+
model.deserialize(response['Response'])
|
634
|
+
model
|
635
|
+
else
|
636
|
+
code = response['Response']['Error']['Code']
|
637
|
+
message = response['Response']['Error']['Message']
|
638
|
+
reqid = response['Response']['RequestId']
|
639
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
640
|
+
end
|
641
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
642
|
+
raise e
|
643
|
+
rescue StandardError => e
|
644
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
645
|
+
end
|
646
|
+
|
647
|
+
# 此API接口用户查询加入集团的成员企业
|
648
|
+
|
649
|
+
# @param request: Request instance for DescribeOrganizationGroupOrganizations.
|
650
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::DescribeOrganizationGroupOrganizationsRequest`
|
651
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::DescribeOrganizationGroupOrganizationsResponse`
|
652
|
+
def DescribeOrganizationGroupOrganizations(request)
|
653
|
+
body = send_request('DescribeOrganizationGroupOrganizations', request.serialize)
|
654
|
+
response = JSON.parse(body)
|
655
|
+
if response['Response'].key?('Error') == false
|
656
|
+
model = DescribeOrganizationGroupOrganizationsResponse.new
|
657
|
+
model.deserialize(response['Response'])
|
658
|
+
model
|
659
|
+
else
|
660
|
+
code = response['Response']['Error']['Code']
|
661
|
+
message = response['Response']['Error']['Message']
|
662
|
+
reqid = response['Response']['RequestId']
|
663
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
664
|
+
end
|
665
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
666
|
+
raise e
|
667
|
+
rescue StandardError => e
|
668
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
669
|
+
end
|
670
|
+
|
623
671
|
# 查询企业印章的列表,需要操作者具有查询印章权限
|
624
672
|
# 客户指定需要获取的印章数量和偏移量,数量最多100,超过100按100处理;入参InfoType控制印章是否携带授权人信息,为1则携带,为0则返回的授权人信息为空数组。接口调用成功返回印章的信息列表还有企业印章的总数。
|
625
673
|
|
data/lib/v20201111/models.rb
CHANGED
@@ -17,6 +17,28 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Ess
|
19
19
|
module V20201111
|
20
|
+
# 企业超管信息
|
21
|
+
class Admin < TencentCloud::Common::AbstractModel
|
22
|
+
# @param Name: 超管名
|
23
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24
|
+
# @type Name: String
|
25
|
+
# @param Mobile: 超管手机号
|
26
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
27
|
+
# @type Mobile: String
|
28
|
+
|
29
|
+
attr_accessor :Name, :Mobile
|
30
|
+
|
31
|
+
def initialize(name=nil, mobile=nil)
|
32
|
+
@Name = name
|
33
|
+
@Mobile = mobile
|
34
|
+
end
|
35
|
+
|
36
|
+
def deserialize(params)
|
37
|
+
@Name = params['Name']
|
38
|
+
@Mobile = params['Mobile']
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
20
42
|
# 应用相关信息
|
21
43
|
class Agent < TencentCloud::Common::AbstractModel
|
22
44
|
|
@@ -1006,7 +1028,7 @@ module TencentCloud
|
|
1006
1028
|
class CreateFlowRemindsRequest < TencentCloud::Common::AbstractModel
|
1007
1029
|
# @param Operator: 调用方用户信息,userId 必填
|
1008
1030
|
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1009
|
-
# @param FlowIds:
|
1031
|
+
# @param FlowIds: 需要执行催办的签署流程id数组,最多100个
|
1010
1032
|
# @type FlowIds: Array
|
1011
1033
|
|
1012
1034
|
attr_accessor :Operator, :FlowIds
|
@@ -1959,12 +1981,15 @@ module TencentCloud
|
|
1959
1981
|
# @type FlowIds: Array
|
1960
1982
|
# @param Operator: 调用方用户信息
|
1961
1983
|
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
1984
|
+
# @param Agent: 应用信息
|
1985
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
1962
1986
|
|
1963
|
-
attr_accessor :FlowIds, :Operator
|
1987
|
+
attr_accessor :FlowIds, :Operator, :Agent
|
1964
1988
|
|
1965
|
-
def initialize(flowids=nil, operator=nil)
|
1989
|
+
def initialize(flowids=nil, operator=nil, agent=nil)
|
1966
1990
|
@FlowIds = flowids
|
1967
1991
|
@Operator = operator
|
1992
|
+
@Agent = agent
|
1968
1993
|
end
|
1969
1994
|
|
1970
1995
|
def deserialize(params)
|
@@ -1973,6 +1998,10 @@ module TencentCloud
|
|
1973
1998
|
@Operator = UserInfo.new
|
1974
1999
|
@Operator.deserialize(params['Operator'])
|
1975
2000
|
end
|
2001
|
+
unless params['Agent'].nil?
|
2002
|
+
@Agent = Agent.new
|
2003
|
+
@Agent.deserialize(params['Agent'])
|
2004
|
+
end
|
1976
2005
|
end
|
1977
2006
|
end
|
1978
2007
|
|
@@ -2186,6 +2215,140 @@ module TencentCloud
|
|
2186
2215
|
end
|
2187
2216
|
end
|
2188
2217
|
|
2218
|
+
# DescribeIntegrationMainOrganizationUser请求参数结构体
|
2219
|
+
class DescribeIntegrationMainOrganizationUserRequest < TencentCloud::Common::AbstractModel
|
2220
|
+
# @param Operator: 操作人信息,userId必填
|
2221
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
2222
|
+
|
2223
|
+
attr_accessor :Operator
|
2224
|
+
|
2225
|
+
def initialize(operator=nil)
|
2226
|
+
@Operator = operator
|
2227
|
+
end
|
2228
|
+
|
2229
|
+
def deserialize(params)
|
2230
|
+
unless params['Operator'].nil?
|
2231
|
+
@Operator = UserInfo.new
|
2232
|
+
@Operator.deserialize(params['Operator'])
|
2233
|
+
end
|
2234
|
+
end
|
2235
|
+
end
|
2236
|
+
|
2237
|
+
# DescribeIntegrationMainOrganizationUser返回参数结构体
|
2238
|
+
class DescribeIntegrationMainOrganizationUserResponse < TencentCloud::Common::AbstractModel
|
2239
|
+
# @param IntegrationMainOrganizationUser: 主企业员工账号信息
|
2240
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2241
|
+
# @type IntegrationMainOrganizationUser: :class:`Tencentcloud::Ess.v20201111.models.IntegrationMainOrganizationUser`
|
2242
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2243
|
+
# @type RequestId: String
|
2244
|
+
|
2245
|
+
attr_accessor :IntegrationMainOrganizationUser, :RequestId
|
2246
|
+
|
2247
|
+
def initialize(integrationmainorganizationuser=nil, requestid=nil)
|
2248
|
+
@IntegrationMainOrganizationUser = integrationmainorganizationuser
|
2249
|
+
@RequestId = requestid
|
2250
|
+
end
|
2251
|
+
|
2252
|
+
def deserialize(params)
|
2253
|
+
unless params['IntegrationMainOrganizationUser'].nil?
|
2254
|
+
@IntegrationMainOrganizationUser = IntegrationMainOrganizationUser.new
|
2255
|
+
@IntegrationMainOrganizationUser.deserialize(params['IntegrationMainOrganizationUser'])
|
2256
|
+
end
|
2257
|
+
@RequestId = params['RequestId']
|
2258
|
+
end
|
2259
|
+
end
|
2260
|
+
|
2261
|
+
# DescribeOrganizationGroupOrganizations请求参数结构体
|
2262
|
+
class DescribeOrganizationGroupOrganizationsRequest < TencentCloud::Common::AbstractModel
|
2263
|
+
# @param Operator: 操作人信息,userId必填
|
2264
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
2265
|
+
# @param Limit: 单次查询成员企业最大返回数量
|
2266
|
+
# @type Limit: Integer
|
2267
|
+
# @param Offset: 页面偏移量
|
2268
|
+
# @type Offset: Integer
|
2269
|
+
# @param Name: 查询成员企业的企业名,模糊匹配
|
2270
|
+
# @type Name: String
|
2271
|
+
# @param Status: 成员企业加入集团的当前状态:1-待授权;2-已授权待激活;3-拒绝授权;4-已解除;5-已加入
|
2272
|
+
# @type Status: Integer
|
2273
|
+
# @param Export: 是否到处当前成员企业数据
|
2274
|
+
# @type Export: Boolean
|
2275
|
+
# @param Id: 成员企业id
|
2276
|
+
# @type Id: String
|
2277
|
+
|
2278
|
+
attr_accessor :Operator, :Limit, :Offset, :Name, :Status, :Export, :Id
|
2279
|
+
|
2280
|
+
def initialize(operator=nil, limit=nil, offset=nil, name=nil, status=nil, export=nil, id=nil)
|
2281
|
+
@Operator = operator
|
2282
|
+
@Limit = limit
|
2283
|
+
@Offset = offset
|
2284
|
+
@Name = name
|
2285
|
+
@Status = status
|
2286
|
+
@Export = export
|
2287
|
+
@Id = id
|
2288
|
+
end
|
2289
|
+
|
2290
|
+
def deserialize(params)
|
2291
|
+
unless params['Operator'].nil?
|
2292
|
+
@Operator = UserInfo.new
|
2293
|
+
@Operator.deserialize(params['Operator'])
|
2294
|
+
end
|
2295
|
+
@Limit = params['Limit']
|
2296
|
+
@Offset = params['Offset']
|
2297
|
+
@Name = params['Name']
|
2298
|
+
@Status = params['Status']
|
2299
|
+
@Export = params['Export']
|
2300
|
+
@Id = params['Id']
|
2301
|
+
end
|
2302
|
+
end
|
2303
|
+
|
2304
|
+
# DescribeOrganizationGroupOrganizations返回参数结构体
|
2305
|
+
class DescribeOrganizationGroupOrganizationsResponse < TencentCloud::Common::AbstractModel
|
2306
|
+
# @param Total: 查询到的符合条件的成员企业总数量
|
2307
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2308
|
+
# @type Total: Integer
|
2309
|
+
# @param JoinedTotal: 已授权待激活的企业数量
|
2310
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2311
|
+
# @type JoinedTotal: Integer
|
2312
|
+
# @param ActivedTotal: 已加入的企业数量
|
2313
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2314
|
+
# @type ActivedTotal: Integer
|
2315
|
+
# @param ExportUrl: 导出文件的url
|
2316
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2317
|
+
# @type ExportUrl: String
|
2318
|
+
# @param List: 成员企业信息列表
|
2319
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2320
|
+
# @type List: Array
|
2321
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2322
|
+
# @type RequestId: String
|
2323
|
+
|
2324
|
+
attr_accessor :Total, :JoinedTotal, :ActivedTotal, :ExportUrl, :List, :RequestId
|
2325
|
+
|
2326
|
+
def initialize(total=nil, joinedtotal=nil, activedtotal=nil, exporturl=nil, list=nil, requestid=nil)
|
2327
|
+
@Total = total
|
2328
|
+
@JoinedTotal = joinedtotal
|
2329
|
+
@ActivedTotal = activedtotal
|
2330
|
+
@ExportUrl = exporturl
|
2331
|
+
@List = list
|
2332
|
+
@RequestId = requestid
|
2333
|
+
end
|
2334
|
+
|
2335
|
+
def deserialize(params)
|
2336
|
+
@Total = params['Total']
|
2337
|
+
@JoinedTotal = params['JoinedTotal']
|
2338
|
+
@ActivedTotal = params['ActivedTotal']
|
2339
|
+
@ExportUrl = params['ExportUrl']
|
2340
|
+
unless params['List'].nil?
|
2341
|
+
@List = []
|
2342
|
+
params['List'].each do |i|
|
2343
|
+
grouporganization_tmp = GroupOrganization.new
|
2344
|
+
grouporganization_tmp.deserialize(i)
|
2345
|
+
@List << grouporganization_tmp
|
2346
|
+
end
|
2347
|
+
end
|
2348
|
+
@RequestId = params['RequestId']
|
2349
|
+
end
|
2350
|
+
end
|
2351
|
+
|
2189
2352
|
# DescribeOrganizationSeals请求参数结构体
|
2190
2353
|
class DescribeOrganizationSealsRequest < TencentCloud::Common::AbstractModel
|
2191
2354
|
# @param Operator: 调用方用户信息,userId 必填
|
@@ -2974,6 +3137,108 @@ module TencentCloud
|
|
2974
3137
|
end
|
2975
3138
|
end
|
2976
3139
|
|
3140
|
+
# 成员企业信息
|
3141
|
+
class GroupOrganization < TencentCloud::Common::AbstractModel
|
3142
|
+
# @param Name: 成员企业名
|
3143
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3144
|
+
# @type Name: String
|
3145
|
+
# @param Alias: 成员企业别名
|
3146
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3147
|
+
# @type Alias: String
|
3148
|
+
# @param OrganizationId: 成员企业id
|
3149
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3150
|
+
# @type OrganizationId: String
|
3151
|
+
# @param UpdateTime: 更新时间
|
3152
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3153
|
+
# @type UpdateTime: Integer
|
3154
|
+
# @param Status: 成员企业状态
|
3155
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3156
|
+
# @type Status: Integer
|
3157
|
+
# @param IsMainOrganization: 是否为集团主企业
|
3158
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3159
|
+
# @type IsMainOrganization: Boolean
|
3160
|
+
# @param IdCardNumber: 企业社会信用代码
|
3161
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3162
|
+
# @type IdCardNumber: String
|
3163
|
+
# @param AdminInfo: 企业超管信息
|
3164
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3165
|
+
# @type AdminInfo: :class:`Tencentcloud::Ess.v20201111.models.Admin`
|
3166
|
+
# @param License: 企业许可证
|
3167
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3168
|
+
# @type License: String
|
3169
|
+
# @param LicenseExpireTime: 企业许可证过期时间
|
3170
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3171
|
+
# @type LicenseExpireTime: Integer
|
3172
|
+
# @param JoinTime: 成员企业加入集团时间
|
3173
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3174
|
+
# @type JoinTime: Integer
|
3175
|
+
# @param FlowEngineEnable: 是否可以使用审批流引擎
|
3176
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3177
|
+
# @type FlowEngineEnable: Boolean
|
3178
|
+
|
3179
|
+
attr_accessor :Name, :Alias, :OrganizationId, :UpdateTime, :Status, :IsMainOrganization, :IdCardNumber, :AdminInfo, :License, :LicenseExpireTime, :JoinTime, :FlowEngineEnable
|
3180
|
+
|
3181
|
+
def initialize(name=nil, _alias=nil, organizationid=nil, updatetime=nil, status=nil, ismainorganization=nil, idcardnumber=nil, admininfo=nil, license=nil, licenseexpiretime=nil, jointime=nil, flowengineenable=nil)
|
3182
|
+
@Name = name
|
3183
|
+
@Alias = _alias
|
3184
|
+
@OrganizationId = organizationid
|
3185
|
+
@UpdateTime = updatetime
|
3186
|
+
@Status = status
|
3187
|
+
@IsMainOrganization = ismainorganization
|
3188
|
+
@IdCardNumber = idcardnumber
|
3189
|
+
@AdminInfo = admininfo
|
3190
|
+
@License = license
|
3191
|
+
@LicenseExpireTime = licenseexpiretime
|
3192
|
+
@JoinTime = jointime
|
3193
|
+
@FlowEngineEnable = flowengineenable
|
3194
|
+
end
|
3195
|
+
|
3196
|
+
def deserialize(params)
|
3197
|
+
@Name = params['Name']
|
3198
|
+
@Alias = params['Alias']
|
3199
|
+
@OrganizationId = params['OrganizationId']
|
3200
|
+
@UpdateTime = params['UpdateTime']
|
3201
|
+
@Status = params['Status']
|
3202
|
+
@IsMainOrganization = params['IsMainOrganization']
|
3203
|
+
@IdCardNumber = params['IdCardNumber']
|
3204
|
+
unless params['AdminInfo'].nil?
|
3205
|
+
@AdminInfo = Admin.new
|
3206
|
+
@AdminInfo.deserialize(params['AdminInfo'])
|
3207
|
+
end
|
3208
|
+
@License = params['License']
|
3209
|
+
@LicenseExpireTime = params['LicenseExpireTime']
|
3210
|
+
@JoinTime = params['JoinTime']
|
3211
|
+
@FlowEngineEnable = params['FlowEngineEnable']
|
3212
|
+
end
|
3213
|
+
end
|
3214
|
+
|
3215
|
+
# 主企业员工账号信息
|
3216
|
+
class IntegrationMainOrganizationUser < TencentCloud::Common::AbstractModel
|
3217
|
+
# @param MainOrganizationId: 主企业id
|
3218
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3219
|
+
# @type MainOrganizationId: String
|
3220
|
+
# @param MainUserId: 主企业员工UserId
|
3221
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3222
|
+
# @type MainUserId: String
|
3223
|
+
# @param UserName: 主企业员工名
|
3224
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3225
|
+
# @type UserName: String
|
3226
|
+
|
3227
|
+
attr_accessor :MainOrganizationId, :MainUserId, :UserName
|
3228
|
+
|
3229
|
+
def initialize(mainorganizationid=nil, mainuserid=nil, username=nil)
|
3230
|
+
@MainOrganizationId = mainorganizationid
|
3231
|
+
@MainUserId = mainuserid
|
3232
|
+
@UserName = username
|
3233
|
+
end
|
3234
|
+
|
3235
|
+
def deserialize(params)
|
3236
|
+
@MainOrganizationId = params['MainOrganizationId']
|
3237
|
+
@MainUserId = params['MainUserId']
|
3238
|
+
@UserName = params['UserName']
|
3239
|
+
end
|
3240
|
+
end
|
3241
|
+
|
2977
3242
|
# 持有的电子印章信息
|
2978
3243
|
class OccupiedSeal < TencentCloud::Common::AbstractModel
|
2979
3244
|
# @param SealId: 电子印章编号
|
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.
|
4
|
+
version: 3.0.502
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|