tencentcloud-sdk-faceid 1.0.220 → 1.0.221
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/v20180301/models.rb +53 -4
- 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: 959332a03d765375bd9f3ab1b2d32bbb4ec21ad2
|
4
|
+
data.tar.gz: d8ee7e6bd0359cd72847296365404543fc15d296
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a23a098152f9c4141cfd57911d403fde0bb1bb2e4f271ef20713c28676899d2ad6947aea1a3a6c1626a1813d7fbc713729ca28f249dda6fe8c2d098bace726a2
|
7
|
+
data.tar.gz: 7738d59d38e77845f16754023a708d989c057e3e6b2e9c55b242fb6b7164c903623cfdf71081b06c71524fb17d02a6fa65980335853e9ebd54450c05e3462c5a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.221
|
data/lib/v20180301/models.rb
CHANGED
@@ -629,10 +629,12 @@ module TencentCloud
|
|
629
629
|
# @type ImageBase64: String
|
630
630
|
# @param Encryption: 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
631
631
|
# @type Encryption: :class:`Tencentcloud::Faceid.v20180301.models.Encryption`
|
632
|
+
# @param IntentionVerifyText: 意愿核身使用的文案,若未使用意愿核身功能,该字段无需传入。默认为空,最长可接受100的字符串长度。
|
633
|
+
# @type IntentionVerifyText: String
|
632
634
|
|
633
|
-
attr_accessor :RuleId, :TerminalType, :IdCard, :Name, :RedirectUrl, :Extra, :ImageBase64, :Encryption
|
635
|
+
attr_accessor :RuleId, :TerminalType, :IdCard, :Name, :RedirectUrl, :Extra, :ImageBase64, :Encryption, :IntentionVerifyText
|
634
636
|
|
635
|
-
def initialize(ruleid=nil, terminaltype=nil, idcard=nil, name=nil, redirecturl=nil, extra=nil, imagebase64=nil, encryption=nil)
|
637
|
+
def initialize(ruleid=nil, terminaltype=nil, idcard=nil, name=nil, redirecturl=nil, extra=nil, imagebase64=nil, encryption=nil, intentionverifytext=nil)
|
636
638
|
@RuleId = ruleid
|
637
639
|
@TerminalType = terminaltype
|
638
640
|
@IdCard = idcard
|
@@ -641,6 +643,7 @@ module TencentCloud
|
|
641
643
|
@Extra = extra
|
642
644
|
@ImageBase64 = imagebase64
|
643
645
|
@Encryption = encryption
|
646
|
+
@IntentionVerifyText = intentionverifytext
|
644
647
|
end
|
645
648
|
|
646
649
|
def deserialize(params)
|
@@ -655,6 +658,7 @@ module TencentCloud
|
|
655
658
|
@Encryption = Encryption.new
|
656
659
|
@Encryption.deserialize(params['Encryption'])
|
657
660
|
end
|
661
|
+
@IntentionVerifyText = params['IntentionVerifyText']
|
658
662
|
end
|
659
663
|
end
|
660
664
|
|
@@ -1184,17 +1188,21 @@ module TencentCloud
|
|
1184
1188
|
# @param Encryption: 敏感数据加密信息。
|
1185
1189
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1186
1190
|
# @type Encryption: :class:`Tencentcloud::Faceid.v20180301.models.Encryption`
|
1191
|
+
# @param IntentionVerifyData: 意愿核身相关信息。若未使用意愿核身功能,该字段返回值可以不处理。
|
1192
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1193
|
+
# @type IntentionVerifyData: :class:`Tencentcloud::Faceid.v20180301.models.IntentionVerifyData`
|
1187
1194
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1188
1195
|
# @type RequestId: String
|
1189
1196
|
|
1190
|
-
attr_accessor :Text, :IdCardData, :BestFrame, :VideoData, :Encryption, :RequestId
|
1197
|
+
attr_accessor :Text, :IdCardData, :BestFrame, :VideoData, :Encryption, :IntentionVerifyData, :RequestId
|
1191
1198
|
|
1192
|
-
def initialize(text=nil, idcarddata=nil, bestframe=nil, videodata=nil, encryption=nil, requestid=nil)
|
1199
|
+
def initialize(text=nil, idcarddata=nil, bestframe=nil, videodata=nil, encryption=nil, intentionverifydata=nil, requestid=nil)
|
1193
1200
|
@Text = text
|
1194
1201
|
@IdCardData = idcarddata
|
1195
1202
|
@BestFrame = bestframe
|
1196
1203
|
@VideoData = videodata
|
1197
1204
|
@Encryption = encryption
|
1205
|
+
@IntentionVerifyData = intentionverifydata
|
1198
1206
|
@RequestId = requestid
|
1199
1207
|
end
|
1200
1208
|
|
@@ -1219,6 +1227,10 @@ module TencentCloud
|
|
1219
1227
|
@Encryption = Encryption.new
|
1220
1228
|
@Encryption.deserialize(params['Encryption'])
|
1221
1229
|
end
|
1230
|
+
unless params['IntentionVerifyData'].nil?
|
1231
|
+
@IntentionVerifyData = IntentionVerifyData.new
|
1232
|
+
@IntentionVerifyData.deserialize(params['IntentionVerifyData'])
|
1233
|
+
end
|
1222
1234
|
@RequestId = params['RequestId']
|
1223
1235
|
end
|
1224
1236
|
end
|
@@ -1988,6 +2000,43 @@ module TencentCloud
|
|
1988
2000
|
end
|
1989
2001
|
end
|
1990
2002
|
|
2003
|
+
# 意愿核身相关结果
|
2004
|
+
class IntentionVerifyData < TencentCloud::Common::AbstractModel
|
2005
|
+
# @param IntentionVerifyVideo: 意愿确认环节中录制的视频(base64)。若不存在则为空字符串。
|
2006
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2007
|
+
# @type IntentionVerifyVideo: String
|
2008
|
+
# @param AsrResult: 意愿确认环节中用户语音转文字的识别结果。若不存在则为空字符串。
|
2009
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2010
|
+
# @type AsrResult: String
|
2011
|
+
# @param ErrorCode: 意愿确认环节的结果码。当该结果码为0时,语音朗读的视频与语音识别结果才会返回。
|
2012
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2013
|
+
# @type ErrorCode: Integer
|
2014
|
+
# @param ErrorMessage: 意愿确认环节的结果信息。
|
2015
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2016
|
+
# @type ErrorMessage: String
|
2017
|
+
# @param IntentionVerifyBestFrame: 意愿确认环节中录制视频的最佳帧(base64)。若不存在则为空字符串。
|
2018
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2019
|
+
# @type IntentionVerifyBestFrame: String
|
2020
|
+
|
2021
|
+
attr_accessor :IntentionVerifyVideo, :AsrResult, :ErrorCode, :ErrorMessage, :IntentionVerifyBestFrame
|
2022
|
+
|
2023
|
+
def initialize(intentionverifyvideo=nil, asrresult=nil, errorcode=nil, errormessage=nil, intentionverifybestframe=nil)
|
2024
|
+
@IntentionVerifyVideo = intentionverifyvideo
|
2025
|
+
@AsrResult = asrresult
|
2026
|
+
@ErrorCode = errorcode
|
2027
|
+
@ErrorMessage = errormessage
|
2028
|
+
@IntentionVerifyBestFrame = intentionverifybestframe
|
2029
|
+
end
|
2030
|
+
|
2031
|
+
def deserialize(params)
|
2032
|
+
@IntentionVerifyVideo = params['IntentionVerifyVideo']
|
2033
|
+
@AsrResult = params['AsrResult']
|
2034
|
+
@ErrorCode = params['ErrorCode']
|
2035
|
+
@ErrorMessage = params['ErrorMessage']
|
2036
|
+
@IntentionVerifyBestFrame = params['IntentionVerifyBestFrame']
|
2037
|
+
end
|
2038
|
+
end
|
2039
|
+
|
1991
2040
|
# LivenessCompare请求参数结构体
|
1992
2041
|
class LivenessCompareRequest < TencentCloud::Common::AbstractModel
|
1993
2042
|
# @param LivenessType: 活体检测类型,取值:LIP/ACTION/SILENT。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-faceid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.221
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|