tencentcloud-sdk-faceid 3.0.1074 → 3.0.1079

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180301/models.rb +54 -11
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fde3cef97a09f7f9bc8040e8ede4a258d6a19c09
4
- data.tar.gz: 8a481578eff0e68f19d37d41260e6793157950ba
3
+ metadata.gz: d26b003994d850b1711991965f65411ee7238260
4
+ data.tar.gz: 4a7d8a13e0a42ed8f0029bdca2e1ee727e3f4c7f
5
5
  SHA512:
6
- metadata.gz: 480c1e7e88efce00bb6bc4bc0e55d7eb5ec18eb213e02557c3f2a12237d1608d5081747e04482396b7633c5d352d74373ec4b43a5619351d2c4b55c2d9b5f53a
7
- data.tar.gz: abfa2531bba4a9ee6a39b8674d0022bac64de0ad3909a89574828e50bd869548f3a8008ddee313b30512509ea4492e6b6ec309aa027aa9d14a34d2f2226b75e2
6
+ metadata.gz: 2c35252c68ca5ef3a89ba9fa3c6230eda5f830fd8cd8b63ea90588a81c6b4d4adf0b9c8565cbf42fe4314f48f0c0eb54bf16ad9269d5e75f3e4096dc5a3e2252
7
+ data.tar.gz: 085e3ee9b2195a308fbd9ccea45376ef2879fcd1234026c90916fe3ac715837acfd9115cae2dfed92e3116067fb52722d988c8e6489e6b22032b84c6abb81d85
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1074
1
+ 3.0.1079
@@ -87,10 +87,11 @@ module TencentCloud
87
87
  # '-13': '受限制的卡'。
88
88
  # '-14': '密码错误次数超限'。
89
89
  # '-15': '发卡行不支持此交易'。
90
+ # '-18': '卡状态异常或卡号错误'。
90
91
 
91
92
  # - 不计费结果码:
92
93
  # '-2': '姓名校验不通过'。
93
- # '-3': '银行卡号码有误'。
94
+ # '-3': '银行卡号格式有误'。
94
95
  # '-16': '验证中心服务繁忙'。
95
96
  # '-17': '验证次数超限,请次日重试'。
96
97
  # @type Result: String
@@ -175,11 +176,12 @@ module TencentCloud
175
176
  # '-15': '受限制的卡'。
176
177
  # '-16': '密码错误次数超限'。
177
178
  # '-17': '发卡行不支持此交易'。
179
+ # '-21': '卡状态异常或卡号错误'。
178
180
 
179
181
  # - 不收费结果码:
180
182
  # '-2': '姓名校验不通过'。
181
183
  # '-3': '身份证号码有误'。
182
- # '-4': '银行卡号码有误'。
184
+ # '-4': '银行卡号格式有误'。
183
185
  # '-5': '手机号码不合法'。
184
186
  # '-18': '验证中心服务繁忙'。
185
187
  # '-19': '验证次数超限,请次日重试'。
@@ -262,11 +264,12 @@ module TencentCloud
262
264
  # '-14': '受限制的卡'。
263
265
  # '-15': '密码错误次数超限'。
264
266
  # '-16': '发卡行不支持此交易'。
267
+ # '-20': '卡状态异常或卡号错误'。
265
268
 
266
269
  # - 不收费结果码:
267
270
  # '-2': '姓名校验不通过'。
268
271
  # '-3': '身份证号码有误'。
269
- # '-4': '银行卡号码有误'。
272
+ # '-4': '银行卡号格式有误'。
270
273
  # '-17': '验证中心服务繁忙'。
271
274
  # '-18': '验证次数超限,请次日重试'。
272
275
  # '-19': '该证件号暂不支持核验,当前仅支持二代身份证'。
@@ -316,8 +319,8 @@ module TencentCloud
316
319
 
317
320
  attr_accessor :ReqTime, :Seq, :IdCard, :Idcard, :Name, :Sim, :IsNeedCharge, :ChargeType, :ErrorCode, :ErrorMessage
318
321
  extend Gem::Deprecate
319
- deprecate :Idcard, :none, 2025, 5
320
- deprecate :Idcard=, :none, 2025, 5
322
+ deprecate :Idcard, :none, 2025, 6
323
+ deprecate :Idcard=, :none, 2025, 6
321
324
 
322
325
  def initialize(reqtime=nil, seq=nil, idcard=nil, name=nil, sim=nil, isneedcharge=nil, chargetype=nil, errorcode=nil, errormessage=nil)
323
326
  @ReqTime = reqtime
@@ -374,11 +377,13 @@ module TencentCloud
374
377
  # - 收费结果码:
375
378
  # 0: 查询成功
376
379
  # -1: 未查到信息
380
+ # -5: 卡号无效
377
381
 
378
382
  # - 不收费结果码:
379
383
  # -2:验证中心服务繁忙
380
384
  # -3:银行卡不存在
381
385
  # -4:认证次数超过当日限制,请次日重试
386
+ # -6: 暂不支持该银行卡种
382
387
  # @type Result: String
383
388
  # @param Description: 业务结果描述。
384
389
  # @type Description: String
@@ -1358,15 +1363,27 @@ module TencentCloud
1358
1363
  # @param LivenessVideo: 活体视频的base64编码。
1359
1364
  # 注意:此字段可能返回 null,表示取不到有效值。
1360
1365
  # @type LivenessVideo: String
1366
+ # @param LivenessVideos: 当次token中所有用户活体视频的COS存储路径,仅当您开启数据存储服务且“IsReturnAllVideo”入参取值为true 时返回。
1367
+ # 注意:此字段可能返回 null,表示取不到有效值。
1368
+ # @type LivenessVideos: Array
1361
1369
 
1362
- attr_accessor :LivenessVideo
1370
+ attr_accessor :LivenessVideo, :LivenessVideos
1363
1371
 
1364
- def initialize(livenessvideo=nil)
1372
+ def initialize(livenessvideo=nil, livenessvideos=nil)
1365
1373
  @LivenessVideo = livenessvideo
1374
+ @LivenessVideos = livenessvideos
1366
1375
  end
1367
1376
 
1368
1377
  def deserialize(params)
1369
1378
  @LivenessVideo = params['LivenessVideo']
1379
+ unless params['LivenessVideos'].nil?
1380
+ @LivenessVideos = []
1381
+ params['LivenessVideos'].each do |i|
1382
+ videodetaildata_tmp = VideoDetailData.new
1383
+ videodetaildata_tmp.deserialize(i)
1384
+ @LivenessVideos << videodetaildata_tmp
1385
+ end
1386
+ end
1370
1387
  end
1371
1388
  end
1372
1389
 
@@ -1599,10 +1616,12 @@ module TencentCloud
1599
1616
  # @type Encryption: :class:`Tencentcloud::Faceid.v20180301.models.Encryption`
1600
1617
  # @param IsEncryptResponse: 是否对回包整体进行加密。
1601
1618
  # @type IsEncryptResponse: Boolean
1619
+ # @param IsReturnAllVideo: 是否需要返回认证中间过程的刷脸重试视频,默认不开启,多段视频需要存储到COS空间中,因此开启后还需要额外开启数据存储服务才可生效。详见[数据存储指引](https://cloud.tencent.com/document/product/1007/104229)。
1620
+ # @type IsReturnAllVideo: Boolean
1602
1621
 
1603
- attr_accessor :BizToken, :RuleId, :InfoType, :BestFramesCount, :IsCutIdCardImage, :IsNeedIdCardAvatar, :IsEncrypt, :Encryption, :IsEncryptResponse
1622
+ attr_accessor :BizToken, :RuleId, :InfoType, :BestFramesCount, :IsCutIdCardImage, :IsNeedIdCardAvatar, :IsEncrypt, :Encryption, :IsEncryptResponse, :IsReturnAllVideo
1604
1623
 
1605
- def initialize(biztoken=nil, ruleid=nil, infotype=nil, bestframescount=nil, iscutidcardimage=nil, isneedidcardavatar=nil, isencrypt=nil, encryption=nil, isencryptresponse=nil)
1624
+ def initialize(biztoken=nil, ruleid=nil, infotype=nil, bestframescount=nil, iscutidcardimage=nil, isneedidcardavatar=nil, isencrypt=nil, encryption=nil, isencryptresponse=nil, isreturnallvideo=nil)
1606
1625
  @BizToken = biztoken
1607
1626
  @RuleId = ruleid
1608
1627
  @InfoType = infotype
@@ -1612,6 +1631,7 @@ module TencentCloud
1612
1631
  @IsEncrypt = isencrypt
1613
1632
  @Encryption = encryption
1614
1633
  @IsEncryptResponse = isencryptresponse
1634
+ @IsReturnAllVideo = isreturnallvideo
1615
1635
  end
1616
1636
 
1617
1637
  def deserialize(params)
@@ -1627,6 +1647,7 @@ module TencentCloud
1627
1647
  @Encryption.deserialize(params['Encryption'])
1628
1648
  end
1629
1649
  @IsEncryptResponse = params['IsEncryptResponse']
1650
+ @IsReturnAllVideo = params['IsReturnAllVideo']
1630
1651
  end
1631
1652
  end
1632
1653
 
@@ -3135,8 +3156,8 @@ module TencentCloud
3135
3156
 
3136
3157
  attr_accessor :IntentionVerifyVideo, :AsrResult, :ErrorCode, :ErrorMessage, :IntentionVerifyBestFrame, :AsrResultSimilarity
3137
3158
  extend Gem::Deprecate
3138
- deprecate :AsrResultSimilarity, :none, 2025, 5
3139
- deprecate :AsrResultSimilarity=, :none, 2025, 5
3159
+ deprecate :AsrResultSimilarity, :none, 2025, 6
3160
+ deprecate :AsrResultSimilarity=, :none, 2025, 6
3140
3161
 
3141
3162
  def initialize(intentionverifyvideo=nil, asrresult=nil, errorcode=nil, errormessage=nil, intentionverifybestframe=nil, asrresultsimilarity=nil)
3142
3163
  @IntentionVerifyVideo = intentionverifyvideo
@@ -4174,6 +4195,28 @@ module TencentCloud
4174
4195
  end
4175
4196
  end
4176
4197
 
4198
+ # 核身过程视频信息。
4199
+ class VideoDetailData < TencentCloud::Common::AbstractModel
4200
+ # @param Seq: 本次活体一比一请求的唯一标记。
4201
+ # 注意:此字段可能返回 null,表示取不到有效值。
4202
+ # @type Seq: String
4203
+ # @param Video: 活体视频的base64编码。
4204
+ # 注意:此字段可能返回 null,表示取不到有效值。
4205
+ # @type Video: String
4206
+
4207
+ attr_accessor :Seq, :Video
4208
+
4209
+ def initialize(seq=nil, video=nil)
4210
+ @Seq = seq
4211
+ @Video = video
4212
+ end
4213
+
4214
+ def deserialize(params)
4215
+ @Seq = params['Seq']
4216
+ @Video = params['Video']
4217
+ end
4218
+ end
4219
+
4177
4220
  # 账单详情
4178
4221
  class WeChatBillDetail < TencentCloud::Common::AbstractModel
4179
4222
  # @param BizToken: token
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.1074
4
+ version: 3.0.1079
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-04 00:00:00.000000000 Z
11
+ date: 2025-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common