tencentcloud-sdk-essbasic 3.0.782 → 3.0.783
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/v20210526/client.rb +31 -1
- data/lib/v20210526/models.rb +62 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68bf33ecb876312d6f7f0dee69d76fa6a57fc3df
|
4
|
+
data.tar.gz: 5f515d4c315554f2382c7d027067f5292995033e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c84ec31a5e0439963f12596954060964a8f64f423272b7a8df9a51250af3a48261eeed7ae448640f906a9a9d23222f46d63788b5d4df10565b130068df213fe
|
7
|
+
data.tar.gz: 7ef098ed5386b288314b940e401c587c7767e4276bed166b0c3b661b21ed2495269a0e508823c36b86ca9799fecc6e643f30488b46b8f14d29f42406334cd9ef
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.783
|
data/lib/v20210526/client.rb
CHANGED
@@ -1188,7 +1188,11 @@ module TencentCloud
|
|
1188
1188
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1189
1189
|
end
|
1190
1190
|
|
1191
|
-
# 通过此接口(ChannelDescribeBillUsageDetail
|
1191
|
+
# 通过此接口(ChannelDescribeBillUsageDetail)查询该第三方平台子客企业的套餐消耗详情。可以支持单个子客和整个应用下所有子客的查询。
|
1192
|
+
# <ul>
|
1193
|
+
# <li>对于单个子客企业的查询,通过指定子客的唯一标识(Agent.ProxyOrganizationOpenId)来查询该子客消耗详情</li>
|
1194
|
+
# <li>对于整个应用下所有企业的查询,不需要指定子客的唯一标识,只需要传入渠道应用标识(Agent.AppId)直接查询整个应用下所有子客企业消耗详情</li>
|
1195
|
+
# </ul>
|
1192
1196
|
|
1193
1197
|
# @param request: Request instance for ChannelDescribeBillUsageDetail.
|
1194
1198
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelDescribeBillUsageDetailRequest`
|
@@ -1483,6 +1487,32 @@ module TencentCloud
|
|
1483
1487
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1484
1488
|
end
|
1485
1489
|
|
1490
|
+
# 给医疗个人自动签许可续期。续期成功后,可对医疗自动签许可追加一年有效期,只可续期一次。
|
1491
|
+
|
1492
|
+
# 注意: `处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。`
|
1493
|
+
|
1494
|
+
# @param request: Request instance for ChannelRenewAutoSignLicense.
|
1495
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelRenewAutoSignLicenseRequest`
|
1496
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelRenewAutoSignLicenseResponse`
|
1497
|
+
def ChannelRenewAutoSignLicense(request)
|
1498
|
+
body = send_request('ChannelRenewAutoSignLicense', request.serialize)
|
1499
|
+
response = JSON.parse(body)
|
1500
|
+
if response['Response'].key?('Error') == false
|
1501
|
+
model = ChannelRenewAutoSignLicenseResponse.new
|
1502
|
+
model.deserialize(response['Response'])
|
1503
|
+
model
|
1504
|
+
else
|
1505
|
+
code = response['Response']['Error']['Code']
|
1506
|
+
message = response['Response']['Error']['Message']
|
1507
|
+
reqid = response['Response']['RequestId']
|
1508
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1509
|
+
end
|
1510
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1511
|
+
raise e
|
1512
|
+
rescue StandardError => e
|
1513
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1514
|
+
end
|
1515
|
+
|
1486
1516
|
# 此接口(ChannelUpdateSealStatus)用于第三方应用平台为子客企业更新印章状态。
|
1487
1517
|
|
1488
1518
|
# @param request: Request instance for ChannelUpdateSealStatus.
|
data/lib/v20210526/models.rb
CHANGED
@@ -3314,10 +3314,8 @@ module TencentCloud
|
|
3314
3314
|
# 此接口下面信息必填。
|
3315
3315
|
# <ul>
|
3316
3316
|
# <li>渠道应用标识: Agent.AppId</li>
|
3317
|
-
# <li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li>
|
3318
|
-
# <li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li>
|
3319
3317
|
# </ul>
|
3320
|
-
#
|
3318
|
+
# 第三方平台子客企业必须已经经过实名认证
|
3321
3319
|
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
3322
3320
|
# @param StartTime: 查询开始时间字符串,格式为yyyymmdd,时间跨度不能大于31天
|
3323
3321
|
# @type StartTime: String
|
@@ -4212,6 +4210,67 @@ module TencentCloud
|
|
4212
4210
|
end
|
4213
4211
|
end
|
4214
4212
|
|
4213
|
+
# ChannelRenewAutoSignLicense请求参数结构体
|
4214
|
+
class ChannelRenewAutoSignLicenseRequest < TencentCloud::Common::AbstractModel
|
4215
|
+
# @param Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
4216
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
4217
|
+
# @param SceneKey: 自动签使用的场景值, 可以选择的场景值如下:
|
4218
|
+
# <ul><li> **E_PRESCRIPTION_AUTO_SIGN** : 电子处方场景</li><li> **OTHER** : 通用场景</li></ul>
|
4219
|
+
# @type SceneKey: String
|
4220
|
+
# @param UserInfo: 要查询状态的用户信息, 包括名字,身份证等
|
4221
|
+
# @type UserInfo: :class:`Tencentcloud::Essbasic.v20210526.models.UserThreeFactor`
|
4222
|
+
# @param Operator: 执行本接口操作的员工信息。
|
4223
|
+
# 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
4224
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
4225
|
+
|
4226
|
+
attr_accessor :Agent, :SceneKey, :UserInfo, :Operator
|
4227
|
+
|
4228
|
+
def initialize(agent=nil, scenekey=nil, userinfo=nil, operator=nil)
|
4229
|
+
@Agent = agent
|
4230
|
+
@SceneKey = scenekey
|
4231
|
+
@UserInfo = userinfo
|
4232
|
+
@Operator = operator
|
4233
|
+
end
|
4234
|
+
|
4235
|
+
def deserialize(params)
|
4236
|
+
unless params['Agent'].nil?
|
4237
|
+
@Agent = Agent.new
|
4238
|
+
@Agent.deserialize(params['Agent'])
|
4239
|
+
end
|
4240
|
+
@SceneKey = params['SceneKey']
|
4241
|
+
unless params['UserInfo'].nil?
|
4242
|
+
@UserInfo = UserThreeFactor.new
|
4243
|
+
@UserInfo.deserialize(params['UserInfo'])
|
4244
|
+
end
|
4245
|
+
unless params['Operator'].nil?
|
4246
|
+
@Operator = UserInfo.new
|
4247
|
+
@Operator.deserialize(params['Operator'])
|
4248
|
+
end
|
4249
|
+
end
|
4250
|
+
end
|
4251
|
+
|
4252
|
+
# ChannelRenewAutoSignLicense返回参数结构体
|
4253
|
+
class ChannelRenewAutoSignLicenseResponse < TencentCloud::Common::AbstractModel
|
4254
|
+
# @param LicenseTo: 续期成功后自动签许可到期时间。当且仅当已通过许可开通自动签时有值。
|
4255
|
+
|
4256
|
+
# 值为unix时间戳,单位为秒。
|
4257
|
+
# @type LicenseTo: Integer
|
4258
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4259
|
+
# @type RequestId: String
|
4260
|
+
|
4261
|
+
attr_accessor :LicenseTo, :RequestId
|
4262
|
+
|
4263
|
+
def initialize(licenseto=nil, requestid=nil)
|
4264
|
+
@LicenseTo = licenseto
|
4265
|
+
@RequestId = requestid
|
4266
|
+
end
|
4267
|
+
|
4268
|
+
def deserialize(params)
|
4269
|
+
@LicenseTo = params['LicenseTo']
|
4270
|
+
@RequestId = params['RequestId']
|
4271
|
+
end
|
4272
|
+
end
|
4273
|
+
|
4215
4274
|
# 角色信息
|
4216
4275
|
class ChannelRole < TencentCloud::Common::AbstractModel
|
4217
4276
|
# @param RoleId: 角色ID,为32位字符串
|