tencentcloud-sdk-faceid 3.0.647 → 3.0.649

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180301/models.rb +24 -5
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 876596393662b5b178e8844f482bf7019aee420b
4
- data.tar.gz: f89a20307b32a1c707abb7849a19f187fa2b4d6b
3
+ metadata.gz: 8a802009d55fd3adb1c07a46f6b639613fe6c57e
4
+ data.tar.gz: 8338356c2589c88ac34e6ea99a6efcf2cac538bc
5
5
  SHA512:
6
- metadata.gz: cedbed1914ac7846b4bfabeb1fc55654d64201946b1946e1fccde4521a0df6b041493a7ca2c60cf944613ab314f4ddb871c658396d86547ef8a04dc0fd3a5ae8
7
- data.tar.gz: d634a14563ccc1d249aeca6aa268cb1a1c2717f62c31bb927a948bacd3f73b6b60ef988e6f00bdcbdbff0afb3b5fe45c14feadf880fd59f05e0a244518b08242
6
+ metadata.gz: c75bd47e36412ae6c8ad4119e283f04a56e11bdf32e585640856842ce1e2fc816d461e0022e761d5f4a5c282baa0be6907c7fb41ea3614c195ad92c298d3f4a7
7
+ data.tar.gz: cc5ccda5ca7a409108487eddcfc3e7cf2210b113489421c28b55f1227b485ef6da78a9fed3f6fbdb4ca61c9d6b0a54d7e7513fcd5824d3f04cd160aee12a116d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.647
1
+ 3.0.649
@@ -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( 朗读模式),2(问答模式) 。默认值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.647
4
+ version: 3.0.649
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-30 00:00:00.000000000 Z
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