tencentcloud-sdk-essbasic 3.0.922 → 3.0.924
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 +36 -15
- data/lib/v20210526/models.rb +72 -6
- 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: 71c6997befd610a3a5ea97b7f5788e4ef3c6849a
|
4
|
+
data.tar.gz: 87a5c2d98bf6b71f541bd9beff6cbf1abaa8261b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e840af941e7ca5f5a6c11fc96d98c0b58b36ee085145e86eedd37c027cd61e87d8f87fcdf3fbfdbc5d13aedee0c785f953ba3e6e39d8001a90435b7447960e43
|
7
|
+
data.tar.gz: c7550c1c6dbfb858b361f768e816785d31bd114d3157b2b16b428704d88e8685355b00fa04daa2e1c30f3f8c188a0f4cfff5bfe721f1b9e9498d06edbe76520a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.924
|
data/lib/v20210526/client.rb
CHANGED
@@ -1174,6 +1174,33 @@ module TencentCloud
|
|
1174
1174
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1175
1175
|
end
|
1176
1176
|
|
1177
|
+
# 通过此接口(ChannelDescribeAccountBillDetail)查询该第三方平台子客账号计费详情。
|
1178
|
+
# <ul>
|
1179
|
+
# <li>对于渠道客户企业的查询,通过指定渠道企业的唯一标识(Agent.ProxyOrganizationId)来查询子客账号消耗详情</li>
|
1180
|
+
# </ul>
|
1181
|
+
|
1182
|
+
# @param request: Request instance for ChannelDescribeAccountBillDetail.
|
1183
|
+
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelDescribeAccountBillDetailRequest`
|
1184
|
+
# @rtype: :class:`Tencentcloud::essbasic::V20210526::ChannelDescribeAccountBillDetailResponse`
|
1185
|
+
def ChannelDescribeAccountBillDetail(request)
|
1186
|
+
body = send_request('ChannelDescribeAccountBillDetail', request.serialize)
|
1187
|
+
response = JSON.parse(body)
|
1188
|
+
if response['Response'].key?('Error') == false
|
1189
|
+
model = ChannelDescribeAccountBillDetailResponse.new
|
1190
|
+
model.deserialize(response['Response'])
|
1191
|
+
model
|
1192
|
+
else
|
1193
|
+
code = response['Response']['Error']['Code']
|
1194
|
+
message = response['Response']['Error']['Message']
|
1195
|
+
reqid = response['Response']['RequestId']
|
1196
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1197
|
+
end
|
1198
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1199
|
+
raise e
|
1200
|
+
rescue StandardError => e
|
1201
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1202
|
+
end
|
1203
|
+
|
1177
1204
|
# 通过此接口(ChannelDescribeBillUsageDetail)查询该第三方平台子客企业的套餐消耗详情。可以支持单个子客和整个应用下所有子客的查询。
|
1178
1205
|
# <ul>
|
1179
1206
|
# <li>对于单个子客企业的查询,通过指定子客的唯一标识(Agent.ProxyOrganizationOpenId)来查询该子客消耗详情</li>
|
@@ -2562,26 +2589,20 @@ module TencentCloud
|
|
2562
2589
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2563
2590
|
end
|
2564
2591
|
|
2565
|
-
# 管理企业扩展服务
|
2592
|
+
# 管理企业扩展服务
|
2566
2593
|
|
2567
|
-
#
|
2568
|
-
# 1. 通过链接Url直接跳转到小程序,不需要返回
|
2569
|
-
# 设置EndPoint为WEIXINAPP,得到链接打开即可。
|
2594
|
+
# - **直接开通的情形:** 若在操作过程中接口没有返回跳转链接,这表明无需进行任何跳转操作。此时,相应的企业拓展服务将会直接被开通或关闭。
|
2570
2595
|
|
2571
|
-
#
|
2572
|
-
#
|
2573
|
-
#
|
2596
|
+
# - **需要法人或者超管签署开通协议的情形:** 当需要开通以下企业拓展服务时, 系统将返回一个操作链接。贵方需要主动联系并通知企业的超级管理员(超管)或法人。由他们点击该链接,完成服务的开通操作。
|
2597
|
+
# - **AUTO_SIGN(企业自动签)**
|
2598
|
+
# - **DOWNLOAD_FLOW(授权渠道下载合同)**
|
2599
|
+
# - **OVERSEA_SIGN(企业与港澳台居民签署合同)**
|
2574
2600
|
|
2575
|
-
#
|
2576
|
-
# 跳转到小程序的实现,参考官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>
|
2577
|
-
# 设置EndPoint为APP,得到path。
|
2601
|
+
# 注意: `在调用此接口以管理企业扩展服务时,操作者( Agent.ProxyOperator.OpenId)必须是企业的超级管理员(超管)或法人`
|
2578
2602
|
|
2579
|
-
# 4.其中小程序的原始Id如下,或者查看小程序信息自助获取。
|
2580
2603
|
|
2581
|
-
#
|
2582
|
-
#
|
2583
|
-
# | 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
|
2584
|
-
# | 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
|
2604
|
+
# 对应的扩展服务能力可以在控制台的【扩展服务】中找到
|
2605
|
+
# ![image](https://qcloudimg.tencent-cloud.cn/raw/99eebd37883ec55ed1f1df3a57aee60a.png)
|
2585
2606
|
|
2586
2607
|
# @param request: Request instance for ModifyExtendedService.
|
2587
2608
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::ModifyExtendedServiceRequest`
|
data/lib/v20210526/models.rb
CHANGED
@@ -2247,8 +2247,10 @@ module TencentCloud
|
|
2247
2247
|
# @type ApproverRestrictions: :class:`Tencentcloud::Essbasic.v20210526.models.ApproverRestriction`
|
2248
2248
|
# @param Operator: 暂未开放
|
2249
2249
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
2250
|
+
# @param ForbidPersonalMultipleSign: 禁止个人用户重复签署,默认不禁止,即同一用户可多次扫码签署多份合同。若要求同一用户仅能扫码签署一份合同,请传入true。
|
2251
|
+
# @type ForbidPersonalMultipleSign: Boolean
|
2250
2252
|
|
2251
|
-
attr_accessor :Agent, :TemplateId, :FlowName, :MaxFlowNum, :FlowEffectiveDay, :QrEffectiveDay, :Restrictions, :ApproverComponentLimitTypes, :CallbackUrl, :ApproverRestrictions, :Operator
|
2253
|
+
attr_accessor :Agent, :TemplateId, :FlowName, :MaxFlowNum, :FlowEffectiveDay, :QrEffectiveDay, :Restrictions, :ApproverComponentLimitTypes, :CallbackUrl, :ApproverRestrictions, :Operator, :ForbidPersonalMultipleSign
|
2252
2254
|
extend Gem::Deprecate
|
2253
2255
|
deprecate :CallbackUrl, :none, 2024, 10
|
2254
2256
|
deprecate :CallbackUrl=, :none, 2024, 10
|
@@ -2257,7 +2259,7 @@ module TencentCloud
|
|
2257
2259
|
deprecate :Operator, :none, 2024, 10
|
2258
2260
|
deprecate :Operator=, :none, 2024, 10
|
2259
2261
|
|
2260
|
-
def initialize(agent=nil, templateid=nil, flowname=nil, maxflownum=nil, floweffectiveday=nil, qreffectiveday=nil, restrictions=nil, approvercomponentlimittypes=nil, callbackurl=nil, approverrestrictions=nil, operator=nil)
|
2262
|
+
def initialize(agent=nil, templateid=nil, flowname=nil, maxflownum=nil, floweffectiveday=nil, qreffectiveday=nil, restrictions=nil, approvercomponentlimittypes=nil, callbackurl=nil, approverrestrictions=nil, operator=nil, forbidpersonalmultiplesign=nil)
|
2261
2263
|
@Agent = agent
|
2262
2264
|
@TemplateId = templateid
|
2263
2265
|
@FlowName = flowname
|
@@ -2269,6 +2271,7 @@ module TencentCloud
|
|
2269
2271
|
@CallbackUrl = callbackurl
|
2270
2272
|
@ApproverRestrictions = approverrestrictions
|
2271
2273
|
@Operator = operator
|
2274
|
+
@ForbidPersonalMultipleSign = forbidpersonalmultiplesign
|
2272
2275
|
end
|
2273
2276
|
|
2274
2277
|
def deserialize(params)
|
@@ -2306,6 +2309,7 @@ module TencentCloud
|
|
2306
2309
|
@Operator = UserInfo.new
|
2307
2310
|
@Operator.deserialize(params['Operator'])
|
2308
2311
|
end
|
2312
|
+
@ForbidPersonalMultipleSign = params['ForbidPersonalMultipleSign']
|
2309
2313
|
end
|
2310
2314
|
end
|
2311
2315
|
|
@@ -3436,6 +3440,67 @@ module TencentCloud
|
|
3436
3440
|
end
|
3437
3441
|
end
|
3438
3442
|
|
3443
|
+
# ChannelDescribeAccountBillDetail请求参数结构体
|
3444
|
+
class ChannelDescribeAccountBillDetailRequest < TencentCloud::Common::AbstractModel
|
3445
|
+
# @param Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
3446
|
+
|
3447
|
+
# 此接口下面信息必填。
|
3448
|
+
# <ul>
|
3449
|
+
# <li>渠道应用标识: Agent.AppId</li>
|
3450
|
+
# </ul>
|
3451
|
+
# 第三方平台子客企业必须已经经过实名认证
|
3452
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
3453
|
+
|
3454
|
+
attr_accessor :Agent
|
3455
|
+
|
3456
|
+
def initialize(agent=nil)
|
3457
|
+
@Agent = agent
|
3458
|
+
end
|
3459
|
+
|
3460
|
+
def deserialize(params)
|
3461
|
+
unless params['Agent'].nil?
|
3462
|
+
@Agent = Agent.new
|
3463
|
+
@Agent.deserialize(params['Agent'])
|
3464
|
+
end
|
3465
|
+
end
|
3466
|
+
end
|
3467
|
+
|
3468
|
+
# ChannelDescribeAccountBillDetail返回参数结构体
|
3469
|
+
class ChannelDescribeAccountBillDetailResponse < TencentCloud::Common::AbstractModel
|
3470
|
+
# @param BoundAccountsNumber: 当前绑定中账号数量
|
3471
|
+
# @type BoundAccountsNumber: Integer
|
3472
|
+
# @param RemainAvailableAccountsNumber: 剩余可绑定账号数量
|
3473
|
+
# @type RemainAvailableAccountsNumber: Integer
|
3474
|
+
# @param InvalidAccountsNumber: 已失效账号数量
|
3475
|
+
# @type InvalidAccountsNumber: Integer
|
3476
|
+
# @param TotalBuyAccountsNumber: 购买数量
|
3477
|
+
# @type TotalBuyAccountsNumber: Integer
|
3478
|
+
# @param TotalGiftAccountsNumber: 赠送数量
|
3479
|
+
# @type TotalGiftAccountsNumber: Integer
|
3480
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3481
|
+
# @type RequestId: String
|
3482
|
+
|
3483
|
+
attr_accessor :BoundAccountsNumber, :RemainAvailableAccountsNumber, :InvalidAccountsNumber, :TotalBuyAccountsNumber, :TotalGiftAccountsNumber, :RequestId
|
3484
|
+
|
3485
|
+
def initialize(boundaccountsnumber=nil, remainavailableaccountsnumber=nil, invalidaccountsnumber=nil, totalbuyaccountsnumber=nil, totalgiftaccountsnumber=nil, requestid=nil)
|
3486
|
+
@BoundAccountsNumber = boundaccountsnumber
|
3487
|
+
@RemainAvailableAccountsNumber = remainavailableaccountsnumber
|
3488
|
+
@InvalidAccountsNumber = invalidaccountsnumber
|
3489
|
+
@TotalBuyAccountsNumber = totalbuyaccountsnumber
|
3490
|
+
@TotalGiftAccountsNumber = totalgiftaccountsnumber
|
3491
|
+
@RequestId = requestid
|
3492
|
+
end
|
3493
|
+
|
3494
|
+
def deserialize(params)
|
3495
|
+
@BoundAccountsNumber = params['BoundAccountsNumber']
|
3496
|
+
@RemainAvailableAccountsNumber = params['RemainAvailableAccountsNumber']
|
3497
|
+
@InvalidAccountsNumber = params['InvalidAccountsNumber']
|
3498
|
+
@TotalBuyAccountsNumber = params['TotalBuyAccountsNumber']
|
3499
|
+
@TotalGiftAccountsNumber = params['TotalGiftAccountsNumber']
|
3500
|
+
@RequestId = params['RequestId']
|
3501
|
+
end
|
3502
|
+
end
|
3503
|
+
|
3439
3504
|
# ChannelDescribeBillUsageDetail请求参数结构体
|
3440
3505
|
class ChannelDescribeBillUsageDetailRequest < TencentCloud::Common::AbstractModel
|
3441
3506
|
# @param Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
@@ -9181,11 +9246,12 @@ module TencentCloud
|
|
9181
9246
|
|
9182
9247
|
# ModifyExtendedService返回参数结构体
|
9183
9248
|
class ModifyExtendedServiceResponse < TencentCloud::Common::AbstractModel
|
9184
|
-
# @param OperateUrl:
|
9185
|
-
#
|
9249
|
+
# @param OperateUrl: 操作跳转链接
|
9250
|
+
# <ul><li><strong>链接有效期:</strong> 跳转链接的有效期为24小时。</li>
|
9251
|
+
# <li><strong>没有返回链接的情形:</strong> 如果在操作时没有返回跳转链接,说明此次操作无需进行跳转,服务将会直接被开通或关闭。</li>
|
9252
|
+
# <li><strong>返回链接的情形:</strong> 当操作类型为“OPEN”(开通服务),并且扩展服务类型为“AUTO_SIGN”(自动签名)、“DOWNLOAD_FLOW”(下载流程)或“OVERSEA_SIGN”(海外签名)时,系统将返回一个操作链接。收到操作链接后,贵方需主动联系超级管理员(超管)或法人。由超管或法人点击链接,以完成服务的开通操作。</li>
|
9253
|
+
# </ul>
|
9186
9254
|
|
9187
|
-
# 当操作类型是 OPEN 且 扩展服务类型是 AUTO_SIGN 或 DOWNLOAD_FLOW 或者 OVERSEA_SIGN 时返回操作链接,
|
9188
|
-
# 返回的链接需要平台方自行触达超管或法人,超管或法人点击链接完成服务开通操作
|
9189
9255
|
# @type OperateUrl: String
|
9190
9256
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9191
9257
|
# @type RequestId: String
|
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.924
|
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-10-
|
11
|
+
date: 2024-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|