tencentcloud-sdk-ess 3.0.775 → 3.0.777
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201111/client.rb +30 -0
- data/lib/v20201111/models.rb +260 -2
- 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: eed493dc886ca750e73b56bb62a37a9eb997b451
|
|
4
|
+
data.tar.gz: 695b8353448d7c00a6b12847b7b858041e7dcd6a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c74b1247fa10615de75e1fd1f7aef2492bdd2ad04c046e96a1f388eefdc75ed359cd54bdb2e5e63e7d9c7d2dc51f43e2c399304c173bc8185f21a1aa74988d5d
|
|
7
|
+
data.tar.gz: b317b9c51680230c35d1341c3aeb35250ae368bf508dedcce43433a5b29734151ce65621b3d4a43dca07a807276b60674acba2d5f6a4e75e74b2492860b0b2d3
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.777
|
data/lib/v20201111/client.rb
CHANGED
|
@@ -1888,6 +1888,36 @@ module TencentCloud
|
|
|
1888
1888
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1889
1889
|
end
|
|
1890
1890
|
|
|
1891
|
+
# 该接口用于在使用视频认证方式签署合同后,获取用户的签署人脸认证视频。
|
|
1892
|
+
|
|
1893
|
+
# 1. 该接口**仅适用于在H5端签署**的合同,**在通过视频认证后**获取人脸图片。
|
|
1894
|
+
# 2. 该接口**不支持小程序端**的签署人脸图片获取。
|
|
1895
|
+
# 3. 请在**签署完成后的三天内**获取人脸图片,**过期后将无法获取**。
|
|
1896
|
+
|
|
1897
|
+
# **注意:该接口需要开通白名单,请联系客户经理开通后使用。**
|
|
1898
|
+
|
|
1899
|
+
# @param request: Request instance for DescribeSignFaceVideo.
|
|
1900
|
+
# @type request: :class:`Tencentcloud::ess::V20201111::DescribeSignFaceVideoRequest`
|
|
1901
|
+
# @rtype: :class:`Tencentcloud::ess::V20201111::DescribeSignFaceVideoResponse`
|
|
1902
|
+
def DescribeSignFaceVideo(request)
|
|
1903
|
+
body = send_request('DescribeSignFaceVideo', request.serialize)
|
|
1904
|
+
response = JSON.parse(body)
|
|
1905
|
+
if response['Response'].key?('Error') == false
|
|
1906
|
+
model = DescribeSignFaceVideoResponse.new
|
|
1907
|
+
model.deserialize(response['Response'])
|
|
1908
|
+
model
|
|
1909
|
+
else
|
|
1910
|
+
code = response['Response']['Error']['Code']
|
|
1911
|
+
message = response['Response']['Error']['Message']
|
|
1912
|
+
reqid = response['Response']['RequestId']
|
|
1913
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1914
|
+
end
|
|
1915
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1916
|
+
raise e
|
|
1917
|
+
rescue StandardError => e
|
|
1918
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1919
|
+
end
|
|
1920
|
+
|
|
1891
1921
|
# 通过AuthCode查询个人用户是否实名
|
|
1892
1922
|
|
|
1893
1923
|
|
data/lib/v20201111/models.rb
CHANGED
|
@@ -2038,6 +2038,8 @@ module TencentCloud
|
|
|
2038
2038
|
# @param FlowDescription: 合同流程描述信息(可自定义此描述),最大长度1000个字符。
|
|
2039
2039
|
# @type FlowDescription: String
|
|
2040
2040
|
# @param FlowType: 合同流程的类别分类(可自定义名称,如销售合同/入职合同等),最大长度为200个字符,仅限中文、字母、数字和下划线组成。
|
|
2041
|
+
# 如果用户已经在控制台创建了自定义合同类型,可以将这里的类型名称传入。 如果没有创建,我们会自动给发起方公司创建此自定义合同类型。
|
|
2042
|
+
# 
|
|
2041
2043
|
# @type FlowType: String
|
|
2042
2044
|
# @param Components: 模板或者合同中的填写控件列表,列表中可支持下列多种填写控件,控件的详细定义参考开发者中心的Component结构体
|
|
2043
2045
|
# <ul><li> 单行文本控件 </li>
|
|
@@ -2706,6 +2708,7 @@ module TencentCloud
|
|
|
2706
2708
|
# @param FlowDescription: 合同流程描述信息(可自定义此描述),最大长度1000个字符。
|
|
2707
2709
|
# @type FlowDescription: String
|
|
2708
2710
|
# @param FlowType: 合同流程的类别分类(可自定义名称,如销售合同/入职合同等),最大长度为200个字符,仅限中文、字母、数字和下划线组成。
|
|
2711
|
+
# 此合同类型需要跟模板配置的合同类型保持一致。
|
|
2709
2712
|
# @type FlowType: String
|
|
2710
2713
|
# @param ClientToken: 已经废弃字段,客户端Token,保持接口幂等性,最大长度64个字符
|
|
2711
2714
|
# @type ClientToken: String
|
|
@@ -6354,6 +6357,81 @@ module TencentCloud
|
|
|
6354
6357
|
end
|
|
6355
6358
|
end
|
|
6356
6359
|
|
|
6360
|
+
# DescribeSignFaceVideo请求参数结构体
|
|
6361
|
+
class DescribeSignFaceVideoRequest < TencentCloud::Common::AbstractModel
|
|
6362
|
+
# @param Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。<br/>注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
|
6363
|
+
# @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
|
|
6364
|
+
# @param FlowId: 合同流程ID,为32位字符串。
|
|
6365
|
+
# @type FlowId: String
|
|
6366
|
+
# @param SignId: 签署参与人在本流程中的编号ID(每个流程不同),可用此ID来定位签署参与人在本流程的签署节点,也可用于后续创建签署链接等操作。
|
|
6367
|
+
# @type SignId: String
|
|
6368
|
+
# @param Agent: 代理企业和员工的信息。
|
|
6369
|
+
# 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
|
6370
|
+
# @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
|
|
6371
|
+
|
|
6372
|
+
attr_accessor :Operator, :FlowId, :SignId, :Agent
|
|
6373
|
+
|
|
6374
|
+
def initialize(operator=nil, flowid=nil, signid=nil, agent=nil)
|
|
6375
|
+
@Operator = operator
|
|
6376
|
+
@FlowId = flowid
|
|
6377
|
+
@SignId = signid
|
|
6378
|
+
@Agent = agent
|
|
6379
|
+
end
|
|
6380
|
+
|
|
6381
|
+
def deserialize(params)
|
|
6382
|
+
unless params['Operator'].nil?
|
|
6383
|
+
@Operator = UserInfo.new
|
|
6384
|
+
@Operator.deserialize(params['Operator'])
|
|
6385
|
+
end
|
|
6386
|
+
@FlowId = params['FlowId']
|
|
6387
|
+
@SignId = params['SignId']
|
|
6388
|
+
unless params['Agent'].nil?
|
|
6389
|
+
@Agent = Agent.new
|
|
6390
|
+
@Agent.deserialize(params['Agent'])
|
|
6391
|
+
end
|
|
6392
|
+
end
|
|
6393
|
+
end
|
|
6394
|
+
|
|
6395
|
+
# DescribeSignFaceVideo返回参数结构体
|
|
6396
|
+
class DescribeSignFaceVideoResponse < TencentCloud::Common::AbstractModel
|
|
6397
|
+
# @param VideoData: 核身视频结果。
|
|
6398
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6399
|
+
# @type VideoData: :class:`Tencentcloud::Ess.v20201111.models.DetectInfoVideoData`
|
|
6400
|
+
# @param IntentionQuestionResult: 意愿核身问答模式结果。若未使用该意愿核身功能,该字段返回值可以不处理。
|
|
6401
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6402
|
+
# @type IntentionQuestionResult: :class:`Tencentcloud::Ess.v20201111.models.IntentionQuestionResult`
|
|
6403
|
+
# @param IntentionActionResult: 意愿核身点头确认模式的结果信息,若未使用该意愿核身功能,该字段返回值可以不处理。
|
|
6404
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6405
|
+
# @type IntentionActionResult: :class:`Tencentcloud::Ess.v20201111.models.IntentionActionResult`
|
|
6406
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6407
|
+
# @type RequestId: String
|
|
6408
|
+
|
|
6409
|
+
attr_accessor :VideoData, :IntentionQuestionResult, :IntentionActionResult, :RequestId
|
|
6410
|
+
|
|
6411
|
+
def initialize(videodata=nil, intentionquestionresult=nil, intentionactionresult=nil, requestid=nil)
|
|
6412
|
+
@VideoData = videodata
|
|
6413
|
+
@IntentionQuestionResult = intentionquestionresult
|
|
6414
|
+
@IntentionActionResult = intentionactionresult
|
|
6415
|
+
@RequestId = requestid
|
|
6416
|
+
end
|
|
6417
|
+
|
|
6418
|
+
def deserialize(params)
|
|
6419
|
+
unless params['VideoData'].nil?
|
|
6420
|
+
@VideoData = DetectInfoVideoData.new
|
|
6421
|
+
@VideoData.deserialize(params['VideoData'])
|
|
6422
|
+
end
|
|
6423
|
+
unless params['IntentionQuestionResult'].nil?
|
|
6424
|
+
@IntentionQuestionResult = IntentionQuestionResult.new
|
|
6425
|
+
@IntentionQuestionResult.deserialize(params['IntentionQuestionResult'])
|
|
6426
|
+
end
|
|
6427
|
+
unless params['IntentionActionResult'].nil?
|
|
6428
|
+
@IntentionActionResult = IntentionActionResult.new
|
|
6429
|
+
@IntentionActionResult.deserialize(params['IntentionActionResult'])
|
|
6430
|
+
end
|
|
6431
|
+
@RequestId = params['RequestId']
|
|
6432
|
+
end
|
|
6433
|
+
end
|
|
6434
|
+
|
|
6357
6435
|
# DescribeThirdPartyAuthCode请求参数结构体
|
|
6358
6436
|
class DescribeThirdPartyAuthCodeRequest < TencentCloud::Common::AbstractModel
|
|
6359
6437
|
# @param AuthCode: 腾讯电子签小程序跳转客户企业小程序时携带的授权查看码,AuthCode由腾讯电子签小程序生成。
|
|
@@ -6487,6 +6565,25 @@ module TencentCloud
|
|
|
6487
6565
|
end
|
|
6488
6566
|
end
|
|
6489
6567
|
|
|
6568
|
+
# 视频认证结果
|
|
6569
|
+
class DetectInfoVideoData < TencentCloud::Common::AbstractModel
|
|
6570
|
+
# @param LiveNessVideo: 活体视频的base64编码,mp4格式
|
|
6571
|
+
|
|
6572
|
+
# 注:`需进行base64解码获取活体视频文件`
|
|
6573
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6574
|
+
# @type LiveNessVideo: String
|
|
6575
|
+
|
|
6576
|
+
attr_accessor :LiveNessVideo
|
|
6577
|
+
|
|
6578
|
+
def initialize(livenessvideo=nil)
|
|
6579
|
+
@LiveNessVideo = livenessvideo
|
|
6580
|
+
end
|
|
6581
|
+
|
|
6582
|
+
def deserialize(params)
|
|
6583
|
+
@LiveNessVideo = params['LiveNessVideo']
|
|
6584
|
+
end
|
|
6585
|
+
end
|
|
6586
|
+
|
|
6490
6587
|
# DisableUserAutoSign请求参数结构体
|
|
6491
6588
|
class DisableUserAutoSignRequest < TencentCloud::Common::AbstractModel
|
|
6492
6589
|
# @param Operator: 执行本接口操作的员工信息。
|
|
@@ -7267,13 +7364,19 @@ module TencentCloud
|
|
|
7267
7364
|
|
|
7268
7365
|
# 注: `若不设置此参数,则默认使用合同的截止时间,此参数暂不支持合同组子合同`
|
|
7269
7366
|
# @type Deadline: Integer
|
|
7367
|
+
# @param Intention: 视频核身意图配置,可指定问答模式或者点头模式的语音文本。
|
|
7368
|
+
|
|
7369
|
+
# 注:
|
|
7370
|
+
# `1.视频认证为白名单功能,使用前请联系对接的客户经理沟通。`
|
|
7371
|
+
# `2.使用视频认证必须指定签署认证方式为人脸(即ApproverSignTypes)。`
|
|
7372
|
+
# @type Intention: :class:`Tencentcloud::Ess.v20201111.models.Intention`
|
|
7270
7373
|
|
|
7271
|
-
attr_accessor :ApproverType, :OrganizationName, :ApproverName, :ApproverMobile, :ApproverIdCardType, :ApproverIdCardNumber, :RecipientId, :VerifyChannel, :NotifyType, :IsFullText, :PreReadTime, :UserId, :Required, :ApproverSource, :CustomApproverTag, :RegisterInfo, :ApproverOption, :JumpUrl, :SignId, :ApproverNeedSignReview, :SignComponents, :Components, :ComponentLimitType, :ApproverVerifyTypes, :ApproverSignTypes, :SignTypeSelector, :Deadline
|
|
7374
|
+
attr_accessor :ApproverType, :OrganizationName, :ApproverName, :ApproverMobile, :ApproverIdCardType, :ApproverIdCardNumber, :RecipientId, :VerifyChannel, :NotifyType, :IsFullText, :PreReadTime, :UserId, :Required, :ApproverSource, :CustomApproverTag, :RegisterInfo, :ApproverOption, :JumpUrl, :SignId, :ApproverNeedSignReview, :SignComponents, :Components, :ComponentLimitType, :ApproverVerifyTypes, :ApproverSignTypes, :SignTypeSelector, :Deadline, :Intention
|
|
7272
7375
|
extend Gem::Deprecate
|
|
7273
7376
|
deprecate :JumpUrl, :none, 2024, 3
|
|
7274
7377
|
deprecate :JumpUrl=, :none, 2024, 3
|
|
7275
7378
|
|
|
7276
|
-
def initialize(approvertype=nil, organizationname=nil, approvername=nil, approvermobile=nil, approveridcardtype=nil, approveridcardnumber=nil, recipientid=nil, verifychannel=nil, notifytype=nil, isfulltext=nil, prereadtime=nil, userid=nil, required=nil, approversource=nil, customapprovertag=nil, registerinfo=nil, approveroption=nil, jumpurl=nil, signid=nil, approverneedsignreview=nil, signcomponents=nil, components=nil, componentlimittype=nil, approververifytypes=nil, approversigntypes=nil, signtypeselector=nil, deadline=nil)
|
|
7379
|
+
def initialize(approvertype=nil, organizationname=nil, approvername=nil, approvermobile=nil, approveridcardtype=nil, approveridcardnumber=nil, recipientid=nil, verifychannel=nil, notifytype=nil, isfulltext=nil, prereadtime=nil, userid=nil, required=nil, approversource=nil, customapprovertag=nil, registerinfo=nil, approveroption=nil, jumpurl=nil, signid=nil, approverneedsignreview=nil, signcomponents=nil, components=nil, componentlimittype=nil, approververifytypes=nil, approversigntypes=nil, signtypeselector=nil, deadline=nil, intention=nil)
|
|
7277
7380
|
@ApproverType = approvertype
|
|
7278
7381
|
@OrganizationName = organizationname
|
|
7279
7382
|
@ApproverName = approvername
|
|
@@ -7301,6 +7404,7 @@ module TencentCloud
|
|
|
7301
7404
|
@ApproverSignTypes = approversigntypes
|
|
7302
7405
|
@SignTypeSelector = signtypeselector
|
|
7303
7406
|
@Deadline = deadline
|
|
7407
|
+
@Intention = intention
|
|
7304
7408
|
end
|
|
7305
7409
|
|
|
7306
7410
|
def deserialize(params)
|
|
@@ -7351,6 +7455,10 @@ module TencentCloud
|
|
|
7351
7455
|
@ApproverSignTypes = params['ApproverSignTypes']
|
|
7352
7456
|
@SignTypeSelector = params['SignTypeSelector']
|
|
7353
7457
|
@Deadline = params['Deadline']
|
|
7458
|
+
unless params['Intention'].nil?
|
|
7459
|
+
@Intention = Intention.new
|
|
7460
|
+
@Intention.deserialize(params['Intention'])
|
|
7461
|
+
end
|
|
7354
7462
|
end
|
|
7355
7463
|
end
|
|
7356
7464
|
|
|
@@ -8185,6 +8293,156 @@ module TencentCloud
|
|
|
8185
8293
|
end
|
|
8186
8294
|
end
|
|
8187
8295
|
|
|
8296
|
+
# 视频核身意图配置,可指定问答模式或者点头模式的语音文本。
|
|
8297
|
+
|
|
8298
|
+
# 注: `视频认证为白名单功能,使用前请联系对接的客户经理沟通。`
|
|
8299
|
+
class Intention < TencentCloud::Common::AbstractModel
|
|
8300
|
+
# @param IntentionType: 视频认证类型,支持以下类型
|
|
8301
|
+
# <ul><li>1 : 问答模式</li>
|
|
8302
|
+
# <li>2 : 点头模式</li></ul>
|
|
8303
|
+
|
|
8304
|
+
# 注: `视频认证为白名单功能,使用前请联系对接的客户经理沟通。`
|
|
8305
|
+
# @type IntentionType: Integer
|
|
8306
|
+
# @param IntentionQuestions: 意愿核身语音问答模式(即语音播报+语音回答)使用的文案,包括:系统语音播报的文本、需要核验的标准文本。当前仅支持1轮问答。
|
|
8307
|
+
# @type IntentionQuestions: Array
|
|
8308
|
+
# @param IntentionActions: 意愿核身(点头确认模式)使用的文案,若未使用意愿核身(点头确认模式),则该字段无需传入。当前仅支持一个提示文本。
|
|
8309
|
+
# @type IntentionActions: Array
|
|
8310
|
+
|
|
8311
|
+
attr_accessor :IntentionType, :IntentionQuestions, :IntentionActions
|
|
8312
|
+
|
|
8313
|
+
def initialize(intentiontype=nil, intentionquestions=nil, intentionactions=nil)
|
|
8314
|
+
@IntentionType = intentiontype
|
|
8315
|
+
@IntentionQuestions = intentionquestions
|
|
8316
|
+
@IntentionActions = intentionactions
|
|
8317
|
+
end
|
|
8318
|
+
|
|
8319
|
+
def deserialize(params)
|
|
8320
|
+
@IntentionType = params['IntentionType']
|
|
8321
|
+
unless params['IntentionQuestions'].nil?
|
|
8322
|
+
@IntentionQuestions = []
|
|
8323
|
+
params['IntentionQuestions'].each do |i|
|
|
8324
|
+
intentionquestion_tmp = IntentionQuestion.new
|
|
8325
|
+
intentionquestion_tmp.deserialize(i)
|
|
8326
|
+
@IntentionQuestions << intentionquestion_tmp
|
|
8327
|
+
end
|
|
8328
|
+
end
|
|
8329
|
+
unless params['IntentionActions'].nil?
|
|
8330
|
+
@IntentionActions = []
|
|
8331
|
+
params['IntentionActions'].each do |i|
|
|
8332
|
+
intentionaction_tmp = IntentionAction.new
|
|
8333
|
+
intentionaction_tmp.deserialize(i)
|
|
8334
|
+
@IntentionActions << intentionaction_tmp
|
|
8335
|
+
end
|
|
8336
|
+
end
|
|
8337
|
+
end
|
|
8338
|
+
end
|
|
8339
|
+
|
|
8340
|
+
# 意愿核身(点头确认模式)使用的文案,若未使用意愿核身(点头确认模式),则该字段无需传入。当前仅支持一个提示文本。
|
|
8341
|
+
class IntentionAction < TencentCloud::Common::AbstractModel
|
|
8342
|
+
# @param Text: 点头确认模式下,系统语音播报使用的问题文本,问题最大长度为150个字符。
|
|
8343
|
+
# @type Text: String
|
|
8344
|
+
|
|
8345
|
+
attr_accessor :Text
|
|
8346
|
+
|
|
8347
|
+
def initialize(text=nil)
|
|
8348
|
+
@Text = text
|
|
8349
|
+
end
|
|
8350
|
+
|
|
8351
|
+
def deserialize(params)
|
|
8352
|
+
@Text = params['Text']
|
|
8353
|
+
end
|
|
8354
|
+
end
|
|
8355
|
+
|
|
8356
|
+
# 意愿核身点头确认模式结果
|
|
8357
|
+
class IntentionActionResult < TencentCloud::Common::AbstractModel
|
|
8358
|
+
# @param Details: 意愿核身结果详细数据,与每段点头确认过程一一对应
|
|
8359
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8360
|
+
# @type Details: Array
|
|
8361
|
+
|
|
8362
|
+
attr_accessor :Details
|
|
8363
|
+
|
|
8364
|
+
def initialize(details=nil)
|
|
8365
|
+
@Details = details
|
|
8366
|
+
end
|
|
8367
|
+
|
|
8368
|
+
def deserialize(params)
|
|
8369
|
+
unless params['Details'].nil?
|
|
8370
|
+
@Details = []
|
|
8371
|
+
params['Details'].each do |i|
|
|
8372
|
+
intentionactionresultdetail_tmp = IntentionActionResultDetail.new
|
|
8373
|
+
intentionactionresultdetail_tmp.deserialize(i)
|
|
8374
|
+
@Details << intentionactionresultdetail_tmp
|
|
8375
|
+
end
|
|
8376
|
+
end
|
|
8377
|
+
end
|
|
8378
|
+
end
|
|
8379
|
+
|
|
8380
|
+
# 意愿核身点头确认模式结果详细数据
|
|
8381
|
+
class IntentionActionResultDetail < TencentCloud::Common::AbstractModel
|
|
8382
|
+
# @param Video: 视频base64编码(其中包含全程提示文本和点头音频,mp4格式)
|
|
8383
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8384
|
+
# @type Video: String
|
|
8385
|
+
|
|
8386
|
+
attr_accessor :Video
|
|
8387
|
+
|
|
8388
|
+
def initialize(video=nil)
|
|
8389
|
+
@Video = video
|
|
8390
|
+
end
|
|
8391
|
+
|
|
8392
|
+
def deserialize(params)
|
|
8393
|
+
@Video = params['Video']
|
|
8394
|
+
end
|
|
8395
|
+
end
|
|
8396
|
+
|
|
8397
|
+
# 意愿核身语音问答模式(即语音播报+语音回答)使用的文案,包括:系统语音播报的文本、需要核验的标准文本。当前仅支持1轮问答。
|
|
8398
|
+
class IntentionQuestion < TencentCloud::Common::AbstractModel
|
|
8399
|
+
# @param Question: 当选择语音问答模式时,系统自动播报的问题文本,最大长度为150个字符。
|
|
8400
|
+
# @type Question: String
|
|
8401
|
+
# @param Answers: 当选择语音问答模式时,用于判断用户回答是否通过的标准答案列表,传入后可自动判断用户回答文本是否在标准文本列表中。
|
|
8402
|
+
# @type Answers: Array
|
|
8403
|
+
|
|
8404
|
+
attr_accessor :Question, :Answers
|
|
8405
|
+
|
|
8406
|
+
def initialize(question=nil, answers=nil)
|
|
8407
|
+
@Question = question
|
|
8408
|
+
@Answers = answers
|
|
8409
|
+
end
|
|
8410
|
+
|
|
8411
|
+
def deserialize(params)
|
|
8412
|
+
@Question = params['Question']
|
|
8413
|
+
@Answers = params['Answers']
|
|
8414
|
+
end
|
|
8415
|
+
end
|
|
8416
|
+
|
|
8417
|
+
# 意愿核身问答模式结果。若未使用该意愿核身功能,该字段返回值可以不处理。
|
|
8418
|
+
class IntentionQuestionResult < TencentCloud::Common::AbstractModel
|
|
8419
|
+
# @param Video: 视频base64(其中包含全程问题和回答音频,mp4格式)
|
|
8420
|
+
|
|
8421
|
+
# 注:`需进行base64解码获取视频文件`
|
|
8422
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8423
|
+
# @type Video: String
|
|
8424
|
+
# @param ResultCode: 和答案匹配结果列表
|
|
8425
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8426
|
+
# @type ResultCode: Array
|
|
8427
|
+
# @param AsrResult: 回答问题语音识别结果列表
|
|
8428
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8429
|
+
# @type AsrResult: Array
|
|
8430
|
+
|
|
8431
|
+
attr_accessor :Video, :ResultCode, :AsrResult
|
|
8432
|
+
|
|
8433
|
+
def initialize(video=nil, resultcode=nil, asrresult=nil)
|
|
8434
|
+
@Video = video
|
|
8435
|
+
@ResultCode = resultcode
|
|
8436
|
+
@AsrResult = asrresult
|
|
8437
|
+
end
|
|
8438
|
+
|
|
8439
|
+
def deserialize(params)
|
|
8440
|
+
@Video = params['Video']
|
|
8441
|
+
@ResultCode = params['ResultCode']
|
|
8442
|
+
@AsrResult = params['AsrResult']
|
|
8443
|
+
end
|
|
8444
|
+
end
|
|
8445
|
+
|
|
8188
8446
|
# ModifyApplicationCallbackInfo请求参数结构体
|
|
8189
8447
|
class ModifyApplicationCallbackInfoRequest < TencentCloud::Common::AbstractModel
|
|
8190
8448
|
# @param Operator: 执行本接口操作的员工信息。
|
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.777
|
|
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-03-
|
|
11
|
+
date: 2024-03-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|