tencentcloud-sdk-essbasic 3.0.450 → 3.0.451
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 +4 -3
- data/lib/v20210526/models.rb +51 -18
- 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: e263492162cf990412dd6614c7c91773c290f774
|
4
|
+
data.tar.gz: fd83a98716dad0e21483778286946b8e9164d2ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89c218be03f93102e09052866dd64f0fb69d8ed0bfc8a1990bb3d5af406fbd76048d0bad9c0106a2c3f239538fa8b1c51044344f3ac4094ff45345f1916c0f42
|
7
|
+
data.tar.gz: a84e8d37cd7eb5d0752c7885b2fa718cc77241d3311f16e417018a07ba35cebf928e836172d8c7b0af7bbfb3932d74444a156f256b82d861bfffc9d71020b935
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.451
|
data/lib/v20210526/client.rb
CHANGED
@@ -57,6 +57,7 @@ module TencentCloud
|
|
57
57
|
end
|
58
58
|
|
59
59
|
# 渠道版撤销签署流程接口
|
60
|
+
# 仅支持未签署完成的合同
|
60
61
|
# 注意:
|
61
62
|
# 能撤回合同的只能是合同的发起人或者发起企业的超管、法人
|
62
63
|
|
@@ -355,11 +356,10 @@ module TencentCloud
|
|
355
356
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
356
357
|
end
|
357
358
|
|
358
|
-
# 此接口(CreateConsoleLoginUrl)用于创建渠道子客企业控制台Web
|
359
|
-
#
|
359
|
+
# 此接口(CreateConsoleLoginUrl)用于创建渠道子客企业控制台Web/移动登录链接。登录链接是子客控制台的唯一入口。
|
360
|
+
# 若子客企业未激活,会进入企业激活流程,首次参与激活流程的经办人会成为超管。(若企业激活过程中填写信息有误,需要重置激活流程,可以换一个经办人OpenId获取新的链接进入。)
|
360
361
|
# 若子客企业已激活,使用了新的经办人OpenId进入,则会进入经办人的实名流程。
|
361
362
|
# 若子客企业、经办人均已完成认证,则会直接进入子客Web控制台。
|
362
|
-
# 返回的Url仅支持PC端操作。
|
363
363
|
|
364
364
|
# @param request: Request instance for CreateConsoleLoginUrl.
|
365
365
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::CreateConsoleLoginUrlRequest`
|
@@ -384,6 +384,7 @@ module TencentCloud
|
|
384
384
|
end
|
385
385
|
|
386
386
|
# 接口(CreateFlowsByTemplates)用于使用多个模板批量创建签署流程。当前可批量发起合同(签署流程)数量最大为20个。
|
387
|
+
# 如若在模板中配置了动态表格, 上传的附件必须为A4大小
|
387
388
|
# 合同发起人必须在电子签已经进行实名。
|
388
389
|
|
389
390
|
# @param request: Request instance for CreateFlowsByTemplates.
|
data/lib/v20210526/models.rb
CHANGED
@@ -780,6 +780,7 @@ module TencentCloud
|
|
780
780
|
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
781
781
|
# @param Filters: 查询过滤实名用户,Key为Status,Values为["IsVerified"]
|
782
782
|
# 根据第三方系统openId过滤查询员工时,Key为StaffOpenId,Values为["OpenId","OpenId",...]
|
783
|
+
# 查询离职员工时,Key为Status,Values为["QuiteJob"]
|
783
784
|
# @type Filters: Array
|
784
785
|
# @param Offset: 偏移量,默认为0,最大为20000
|
785
786
|
# @type Offset: Integer
|
@@ -1235,12 +1236,16 @@ module TencentCloud
|
|
1235
1236
|
# @type UniformSocialCreditCode: String
|
1236
1237
|
# @param MenuStatus: 是否展示左侧菜单栏 是:ENABLE(默认) 否:DISABLE
|
1237
1238
|
# @type MenuStatus: String
|
1239
|
+
# @param Endpoint: 链接跳转类型:"PC"-PC控制台,“CHANNEL”-H5跳转到电子签小程序;“APP”-第三方APP或小程序跳转电子签小程序,默认为PC控制台
|
1240
|
+
# @type Endpoint: String
|
1241
|
+
# @param AutoJumpBackEvent: 触发自动跳转事件,仅对App类型有效,"VERIFIED":企业认证完成/员工认证完成后跳回原App/小程序
|
1242
|
+
# @type AutoJumpBackEvent: String
|
1238
1243
|
# @param Operator: 操作者的信息
|
1239
1244
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
1240
1245
|
|
1241
|
-
attr_accessor :Agent, :ProxyOrganizationName, :ProxyOperatorName, :Module, :ModuleId, :UniformSocialCreditCode, :MenuStatus, :Operator
|
1246
|
+
attr_accessor :Agent, :ProxyOrganizationName, :ProxyOperatorName, :Module, :ModuleId, :UniformSocialCreditCode, :MenuStatus, :Endpoint, :AutoJumpBackEvent, :Operator
|
1242
1247
|
|
1243
|
-
def initialize(agent=nil, proxyorganizationname=nil, proxyoperatorname=nil, _module=nil, moduleid=nil, uniformsocialcreditcode=nil, menustatus=nil, operator=nil)
|
1248
|
+
def initialize(agent=nil, proxyorganizationname=nil, proxyoperatorname=nil, _module=nil, moduleid=nil, uniformsocialcreditcode=nil, menustatus=nil, endpoint=nil, autojumpbackevent=nil, operator=nil)
|
1244
1249
|
@Agent = agent
|
1245
1250
|
@ProxyOrganizationName = proxyorganizationname
|
1246
1251
|
@ProxyOperatorName = proxyoperatorname
|
@@ -1248,6 +1253,8 @@ module TencentCloud
|
|
1248
1253
|
@ModuleId = moduleid
|
1249
1254
|
@UniformSocialCreditCode = uniformsocialcreditcode
|
1250
1255
|
@MenuStatus = menustatus
|
1256
|
+
@Endpoint = endpoint
|
1257
|
+
@AutoJumpBackEvent = autojumpbackevent
|
1251
1258
|
@Operator = operator
|
1252
1259
|
end
|
1253
1260
|
|
@@ -1262,6 +1269,8 @@ module TencentCloud
|
|
1262
1269
|
@ModuleId = params['ModuleId']
|
1263
1270
|
@UniformSocialCreditCode = params['UniformSocialCreditCode']
|
1264
1271
|
@MenuStatus = params['MenuStatus']
|
1272
|
+
@Endpoint = params['Endpoint']
|
1273
|
+
@AutoJumpBackEvent = params['AutoJumpBackEvent']
|
1265
1274
|
unless params['Operator'].nil?
|
1266
1275
|
@Operator = UserInfo.new
|
1267
1276
|
@Operator.deserialize(params['Operator'])
|
@@ -1271,26 +1280,33 @@ module TencentCloud
|
|
1271
1280
|
|
1272
1281
|
# CreateConsoleLoginUrl返回参数结构体
|
1273
1282
|
class CreateConsoleLoginUrlResponse < TencentCloud::Common::AbstractModel
|
1274
|
-
# @param ConsoleUrl: 子客Web控制台url
|
1275
|
-
# 1.
|
1276
|
-
# 2.
|
1283
|
+
# @param ConsoleUrl: 子客Web控制台url注意事项:
|
1284
|
+
# 1. 所有类型的链接在企业未认证/员工未认证完成时,只要在有效期内(一年)都可以访问
|
1285
|
+
# 2. 若企业认证完成且员工认证完成后,重新获取pc端的链接5分钟之内有效,且只能访问一次
|
1286
|
+
# 3. 若企业认证完成且员工认证完成后,重新获取H5/APP的链接只要在有效期内(一年)都可以访问
|
1287
|
+
# 4. 此链接仅单次有效,使用后需要再次创建新的链接(部分聊天软件,如企业微信默认会对链接进行解析,此时需要使用类似“代码片段”的方式或者放到txt文件里发送链接)
|
1288
|
+
# 5. 创建的链接应避免被转义,如:&被转义为\u0026;如使用Postman请求后,请选择响应类型为 JSON,否则链接将被转义
|
1277
1289
|
# @type ConsoleUrl: String
|
1278
1290
|
# @param IsActivated: 渠道子客企业是否已开通腾讯电子签
|
1279
1291
|
# @type IsActivated: Boolean
|
1292
|
+
# @param ProxyOperatorIsVerified: 当前经办人是否已认证(false:未认证 true:已认证)
|
1293
|
+
# @type ProxyOperatorIsVerified: Boolean
|
1280
1294
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1281
1295
|
# @type RequestId: String
|
1282
1296
|
|
1283
|
-
attr_accessor :ConsoleUrl, :IsActivated, :RequestId
|
1297
|
+
attr_accessor :ConsoleUrl, :IsActivated, :ProxyOperatorIsVerified, :RequestId
|
1284
1298
|
|
1285
|
-
def initialize(consoleurl=nil, isactivated=nil, requestid=nil)
|
1299
|
+
def initialize(consoleurl=nil, isactivated=nil, proxyoperatorisverified=nil, requestid=nil)
|
1286
1300
|
@ConsoleUrl = consoleurl
|
1287
1301
|
@IsActivated = isactivated
|
1302
|
+
@ProxyOperatorIsVerified = proxyoperatorisverified
|
1288
1303
|
@RequestId = requestid
|
1289
1304
|
end
|
1290
1305
|
|
1291
1306
|
def deserialize(params)
|
1292
1307
|
@ConsoleUrl = params['ConsoleUrl']
|
1293
1308
|
@IsActivated = params['IsActivated']
|
1309
|
+
@ProxyOperatorIsVerified = params['ProxyOperatorIsVerified']
|
1294
1310
|
@RequestId = params['RequestId']
|
1295
1311
|
end
|
1296
1312
|
end
|
@@ -1301,19 +1317,22 @@ module TencentCloud
|
|
1301
1317
|
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
1302
1318
|
# @param FlowInfos: 多个合同(签署流程)信息,最多支持20个
|
1303
1319
|
# @type FlowInfos: Array
|
1304
|
-
# @param NeedPreview: 是否为预览模式;默认为false,即非预览模式,此时发起合同并返回FlowIds;若为预览模式,不会发起合同,会返回PreviewUrls
|
1320
|
+
# @param NeedPreview: 是否为预览模式;默认为false,即非预览模式,此时发起合同并返回FlowIds;若为预览模式,不会发起合同,会返回PreviewUrls;
|
1305
1321
|
# 预览链接有效期300秒;
|
1306
1322
|
# 同时,如果预览的文件中指定了动态表格控件,需要进行异步合成;此时此接口返回的是合成前的文档预览链接,而合成完成后的文档预览链接会通过:回调通知的方式、或使用返回的TaskInfo中的TaskId通过ChannelGetTaskResultApi接口查询;
|
1307
1323
|
# @type NeedPreview: Boolean
|
1324
|
+
# @param PreviewType: 预览链接类型 默认:0-文件流, 1- H5链接 注意:此参数在NeedPreview 为true 时有效,
|
1325
|
+
# @type PreviewType: Integer
|
1308
1326
|
# @param Operator: 操作者的信息
|
1309
1327
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
1310
1328
|
|
1311
|
-
attr_accessor :Agent, :FlowInfos, :NeedPreview, :Operator
|
1329
|
+
attr_accessor :Agent, :FlowInfos, :NeedPreview, :PreviewType, :Operator
|
1312
1330
|
|
1313
|
-
def initialize(agent=nil, flowinfos=nil, needpreview=nil, operator=nil)
|
1331
|
+
def initialize(agent=nil, flowinfos=nil, needpreview=nil, previewtype=nil, operator=nil)
|
1314
1332
|
@Agent = agent
|
1315
1333
|
@FlowInfos = flowinfos
|
1316
1334
|
@NeedPreview = needpreview
|
1335
|
+
@PreviewType = previewtype
|
1317
1336
|
@Operator = operator
|
1318
1337
|
end
|
1319
1338
|
|
@@ -1331,6 +1350,7 @@ module TencentCloud
|
|
1331
1350
|
end
|
1332
1351
|
end
|
1333
1352
|
@NeedPreview = params['NeedPreview']
|
1353
|
+
@PreviewType = params['PreviewType']
|
1334
1354
|
unless params['Operator'].nil?
|
1335
1355
|
@Operator = UserInfo.new
|
1336
1356
|
@Operator.deserialize(params['Operator'])
|
@@ -1728,10 +1748,12 @@ module TencentCloud
|
|
1728
1748
|
# @type TemplateName: String
|
1729
1749
|
# @param Operator: 操作者的信息
|
1730
1750
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
1751
|
+
# @param WithPreviewUrl: 是否获取模板预览链接
|
1752
|
+
# @type WithPreviewUrl: Boolean
|
1731
1753
|
|
1732
|
-
attr_accessor :Agent, :TemplateId, :ContentType, :Limit, :Offset, :QueryAllComponents, :TemplateName, :Operator
|
1754
|
+
attr_accessor :Agent, :TemplateId, :ContentType, :Limit, :Offset, :QueryAllComponents, :TemplateName, :Operator, :WithPreviewUrl
|
1733
1755
|
|
1734
|
-
def initialize(agent=nil, templateid=nil, contenttype=nil, limit=nil, offset=nil, queryallcomponents=nil, templatename=nil, operator=nil)
|
1756
|
+
def initialize(agent=nil, templateid=nil, contenttype=nil, limit=nil, offset=nil, queryallcomponents=nil, templatename=nil, operator=nil, withpreviewurl=nil)
|
1735
1757
|
@Agent = agent
|
1736
1758
|
@TemplateId = templateid
|
1737
1759
|
@ContentType = contenttype
|
@@ -1740,6 +1762,7 @@ module TencentCloud
|
|
1740
1762
|
@QueryAllComponents = queryallcomponents
|
1741
1763
|
@TemplateName = templatename
|
1742
1764
|
@Operator = operator
|
1765
|
+
@WithPreviewUrl = withpreviewurl
|
1743
1766
|
end
|
1744
1767
|
|
1745
1768
|
def deserialize(params)
|
@@ -1757,6 +1780,7 @@ module TencentCloud
|
|
1757
1780
|
@Operator = UserInfo.new
|
1758
1781
|
@Operator.deserialize(params['Operator'])
|
1759
1782
|
end
|
1783
|
+
@WithPreviewUrl = params['WithPreviewUrl']
|
1760
1784
|
end
|
1761
1785
|
end
|
1762
1786
|
|
@@ -1995,12 +2019,12 @@ module TencentCloud
|
|
1995
2019
|
class FlowApproverInfo < TencentCloud::Common::AbstractModel
|
1996
2020
|
# @param Name: 签署人姓名,最大长度50个字符
|
1997
2021
|
# @type Name: String
|
1998
|
-
# @param IdCardType:
|
2022
|
+
# @param IdCardType: 签署人身份证件类型
|
1999
2023
|
# 1.ID_CARD 居民身份证
|
2000
2024
|
# 2.HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证
|
2001
2025
|
# 3.HONGKONG_AND_MACAO 港澳居民来往内地通行证
|
2002
2026
|
# @type IdCardType: String
|
2003
|
-
# @param IdCardNumber:
|
2027
|
+
# @param IdCardNumber: 签署人证件号
|
2004
2028
|
# @type IdCardNumber: String
|
2005
2029
|
# @param Mobile: 签署人手机号,脱敏显示。大陆手机号为11位,暂不支持海外手机号。
|
2006
2030
|
# @type Mobile: String
|
@@ -3227,16 +3251,19 @@ module TencentCloud
|
|
3227
3251
|
# @type BusinessLicense: String
|
3228
3252
|
# @param UniformSocialCreditCode: 渠道侧合作企业统一社会信用代码,最大长度200个字符
|
3229
3253
|
# @type UniformSocialCreditCode: String
|
3254
|
+
# @param ProxyLegalName: 渠道侧合作企业法人/负责人姓名
|
3255
|
+
# @type ProxyLegalName: String
|
3230
3256
|
# @param Operator: 操作者的信息
|
3231
3257
|
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
3232
3258
|
|
3233
|
-
attr_accessor :Agent, :ProxyOrganizationName, :BusinessLicense, :UniformSocialCreditCode, :Operator
|
3259
|
+
attr_accessor :Agent, :ProxyOrganizationName, :BusinessLicense, :UniformSocialCreditCode, :ProxyLegalName, :Operator
|
3234
3260
|
|
3235
|
-
def initialize(agent=nil, proxyorganizationname=nil, businesslicense=nil, uniformsocialcreditcode=nil, operator=nil)
|
3261
|
+
def initialize(agent=nil, proxyorganizationname=nil, businesslicense=nil, uniformsocialcreditcode=nil, proxylegalname=nil, operator=nil)
|
3236
3262
|
@Agent = agent
|
3237
3263
|
@ProxyOrganizationName = proxyorganizationname
|
3238
3264
|
@BusinessLicense = businesslicense
|
3239
3265
|
@UniformSocialCreditCode = uniformsocialcreditcode
|
3266
|
+
@ProxyLegalName = proxylegalname
|
3240
3267
|
@Operator = operator
|
3241
3268
|
end
|
3242
3269
|
|
@@ -3248,6 +3275,7 @@ module TencentCloud
|
|
3248
3275
|
@ProxyOrganizationName = params['ProxyOrganizationName']
|
3249
3276
|
@BusinessLicense = params['BusinessLicense']
|
3250
3277
|
@UniformSocialCreditCode = params['UniformSocialCreditCode']
|
3278
|
+
@ProxyLegalName = params['ProxyLegalName']
|
3251
3279
|
unless params['Operator'].nil?
|
3252
3280
|
@Operator = UserInfo.new
|
3253
3281
|
@Operator.deserialize(params['Operator'])
|
@@ -3315,10 +3343,13 @@ module TencentCloud
|
|
3315
3343
|
# @type Creator: String
|
3316
3344
|
# @param CreatedOn: 模板创建的时间戳(精确到秒)
|
3317
3345
|
# @type CreatedOn: Integer
|
3346
|
+
# @param PreviewUrl: 模板的预览链接
|
3347
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3348
|
+
# @type PreviewUrl: String
|
3318
3349
|
|
3319
|
-
attr_accessor :TemplateId, :TemplateName, :Description, :Components, :SignComponents, :Recipients, :TemplateType, :IsPromoter, :Creator, :CreatedOn
|
3350
|
+
attr_accessor :TemplateId, :TemplateName, :Description, :Components, :SignComponents, :Recipients, :TemplateType, :IsPromoter, :Creator, :CreatedOn, :PreviewUrl
|
3320
3351
|
|
3321
|
-
def initialize(templateid=nil, templatename=nil, description=nil, components=nil, signcomponents=nil, recipients=nil, templatetype=nil, ispromoter=nil, creator=nil, createdon=nil)
|
3352
|
+
def initialize(templateid=nil, templatename=nil, description=nil, components=nil, signcomponents=nil, recipients=nil, templatetype=nil, ispromoter=nil, creator=nil, createdon=nil, previewurl=nil)
|
3322
3353
|
@TemplateId = templateid
|
3323
3354
|
@TemplateName = templatename
|
3324
3355
|
@Description = description
|
@@ -3329,6 +3360,7 @@ module TencentCloud
|
|
3329
3360
|
@IsPromoter = ispromoter
|
3330
3361
|
@Creator = creator
|
3331
3362
|
@CreatedOn = createdon
|
3363
|
+
@PreviewUrl = previewurl
|
3332
3364
|
end
|
3333
3365
|
|
3334
3366
|
def deserialize(params)
|
@@ -3363,6 +3395,7 @@ module TencentCloud
|
|
3363
3395
|
@IsPromoter = params['IsPromoter']
|
3364
3396
|
@Creator = params['Creator']
|
3365
3397
|
@CreatedOn = params['CreatedOn']
|
3398
|
+
@PreviewUrl = params['PreviewUrl']
|
3366
3399
|
end
|
3367
3400
|
end
|
3368
3401
|
|