tencentcloud-sdk-faceid 3.0.648 → 3.0.650
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/v20180301/models.rb +24 -5
- 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: c1612c5fcf4193f837d677a4c4c4326569b41b3a
|
4
|
+
data.tar.gz: c8e823afa86e25330e96f071f6c1b520d9fa91e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 867b15300cd1bd1ec7f267827b10adf3ec70e234744ffdbbc0aef68bd5df67c2ab9773a282b06f28b0c73bff792e89525697a3451ead95c76d416a6e5969b9aa
|
7
|
+
data.tar.gz: ee60095829d3cf36e7c2b24d7212bf127e3de2e019d6a4ecaf2595c025f7f6b2480e92b6a8d158804b5ae7e061f11261ed2c9ca00d249d595ba8576d2c297a4b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.650
|
data/lib/v20180301/models.rb
CHANGED
@@ -1577,18 +1577,22 @@ module TencentCloud
|
|
1577
1577
|
# @param IntentionQuestionResult: 意愿核身问答模式相关信息。若未使用意愿核身问答模式功能,该字段返回值可以不处理。
|
1578
1578
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1579
1579
|
# @type IntentionQuestionResult: :class:`Tencentcloud::Faceid.v20180301.models.IntentionQuestionResult`
|
1580
|
+
# @param IntentionActionResult: 意愿核身点头确认模式的结果信息,若未使用该意愿核身功能,该字段返回值可以不处理。
|
1581
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1582
|
+
# @type IntentionActionResult: :class:`Tencentcloud::Faceid.v20180301.models.IntentionActionResult`
|
1580
1583
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1581
1584
|
# @type RequestId: String
|
1582
1585
|
|
1583
|
-
attr_accessor :Text, :IdCardData, :BestFrame, :EidInfo, :IntentionVerifyData, :IntentionQuestionResult, :RequestId
|
1586
|
+
attr_accessor :Text, :IdCardData, :BestFrame, :EidInfo, :IntentionVerifyData, :IntentionQuestionResult, :IntentionActionResult, :RequestId
|
1584
1587
|
|
1585
|
-
def initialize(text=nil, idcarddata=nil, bestframe=nil, eidinfo=nil, intentionverifydata=nil, intentionquestionresult=nil, requestid=nil)
|
1588
|
+
def initialize(text=nil, idcarddata=nil, bestframe=nil, eidinfo=nil, intentionverifydata=nil, intentionquestionresult=nil, intentionactionresult=nil, requestid=nil)
|
1586
1589
|
@Text = text
|
1587
1590
|
@IdCardData = idcarddata
|
1588
1591
|
@BestFrame = bestframe
|
1589
1592
|
@EidInfo = eidinfo
|
1590
1593
|
@IntentionVerifyData = intentionverifydata
|
1591
1594
|
@IntentionQuestionResult = intentionquestionresult
|
1595
|
+
@IntentionActionResult = intentionactionresult
|
1592
1596
|
@RequestId = requestid
|
1593
1597
|
end
|
1594
1598
|
|
@@ -1617,6 +1621,10 @@ module TencentCloud
|
|
1617
1621
|
@IntentionQuestionResult = IntentionQuestionResult.new
|
1618
1622
|
@IntentionQuestionResult.deserialize(params['IntentionQuestionResult'])
|
1619
1623
|
end
|
1624
|
+
unless params['IntentionActionResult'].nil?
|
1625
|
+
@IntentionActionResult = IntentionActionResult.new
|
1626
|
+
@IntentionActionResult.deserialize(params['IntentionActionResult'])
|
1627
|
+
end
|
1620
1628
|
@RequestId = params['RequestId']
|
1621
1629
|
end
|
1622
1630
|
end
|
@@ -1633,25 +1641,28 @@ module TencentCloud
|
|
1633
1641
|
# @type InputType: String
|
1634
1642
|
# @param UseIntentionVerify: 是否使用意愿核身,默认不使用。注意:如开启使用,则计费标签按【意愿核身】计费标签计价;如不开启,则计费标签按【E证通】计费标签计价,价格详见:[价格说明](https://cloud.tencent.com/document/product/1007/56804)。
|
1635
1643
|
# @type UseIntentionVerify: Boolean
|
1636
|
-
# @param IntentionMode: 意愿核身模式。枚举值:1(
|
1644
|
+
# @param IntentionMode: 意愿核身模式。枚举值:1( 语音朗读模式),2(语音问答模式) ,3(点头确认模式)。默认值为1。
|
1637
1645
|
# @type IntentionMode: String
|
1638
1646
|
# @param IntentionVerifyText: 意愿核身朗读模式使用的文案,若未使用意愿核身朗读功能,该字段无需传入。默认为空,最长可接受120的字符串长度。
|
1639
1647
|
# @type IntentionVerifyText: String
|
1640
1648
|
# @param IntentionQuestions: 意愿核身问答模式的配置列表。当前仅支持一个问答。
|
1641
1649
|
# @type IntentionQuestions: Array
|
1650
|
+
# @param IntentionActions: 意愿核身(点头确认模式)使用的文案,若未使用意愿核身(点头确认模式),则该字段无需传入。默认为空,最长可接受150的字符串长度。
|
1651
|
+
# @type IntentionActions: Array
|
1642
1652
|
# @param IntentionRecognition: 意愿核身过程中识别用户的回答意图,开启后除了IntentionQuestions的Answers列表中的标准回答会通过,近似意图的回答也会通过,默认不开启。
|
1643
1653
|
# @type IntentionRecognition: Boolean
|
1644
1654
|
# @param IsSupportHMTResidentPermitOCR: 是否支持港澳台居住证识别
|
1645
1655
|
# @type IsSupportHMTResidentPermitOCR: Boolean
|
1646
1656
|
|
1647
|
-
attr_accessor :InputType, :UseIntentionVerify, :IntentionMode, :IntentionVerifyText, :IntentionQuestions, :IntentionRecognition, :IsSupportHMTResidentPermitOCR
|
1657
|
+
attr_accessor :InputType, :UseIntentionVerify, :IntentionMode, :IntentionVerifyText, :IntentionQuestions, :IntentionActions, :IntentionRecognition, :IsSupportHMTResidentPermitOCR
|
1648
1658
|
|
1649
|
-
def initialize(inputtype=nil, useintentionverify=nil, intentionmode=nil, intentionverifytext=nil, intentionquestions=nil, intentionrecognition=nil, issupporthmtresidentpermitocr=nil)
|
1659
|
+
def initialize(inputtype=nil, useintentionverify=nil, intentionmode=nil, intentionverifytext=nil, intentionquestions=nil, intentionactions=nil, intentionrecognition=nil, issupporthmtresidentpermitocr=nil)
|
1650
1660
|
@InputType = inputtype
|
1651
1661
|
@UseIntentionVerify = useintentionverify
|
1652
1662
|
@IntentionMode = intentionmode
|
1653
1663
|
@IntentionVerifyText = intentionverifytext
|
1654
1664
|
@IntentionQuestions = intentionquestions
|
1665
|
+
@IntentionActions = intentionactions
|
1655
1666
|
@IntentionRecognition = intentionrecognition
|
1656
1667
|
@IsSupportHMTResidentPermitOCR = issupporthmtresidentpermitocr
|
1657
1668
|
end
|
@@ -1669,6 +1680,14 @@ module TencentCloud
|
|
1669
1680
|
@IntentionQuestions << intentionquestion_tmp
|
1670
1681
|
end
|
1671
1682
|
end
|
1683
|
+
unless params['IntentionActions'].nil?
|
1684
|
+
@IntentionActions = []
|
1685
|
+
params['IntentionActions'].each do |i|
|
1686
|
+
intentionactionconfig_tmp = IntentionActionConfig.new
|
1687
|
+
intentionactionconfig_tmp.deserialize(i)
|
1688
|
+
@IntentionActions << intentionactionconfig_tmp
|
1689
|
+
end
|
1690
|
+
end
|
1672
1691
|
@IntentionRecognition = params['IntentionRecognition']
|
1673
1692
|
@IsSupportHMTResidentPermitOCR = params['IsSupportHMTResidentPermitOCR']
|
1674
1693
|
end
|
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: 3.0.
|
4
|
+
version: 3.0.650
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|