tencentcloud-sdk-nodejs 3.0.267 → 3.0.270

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 (506) hide show
  1. package/package.json +1 -1
  2. package/tencentcloud/aa/v20200224/models.js +5 -12
  3. package/tencentcloud/advisor/index.js +3 -0
  4. package/tencentcloud/advisor/v20200721/advisor_client.js +63 -0
  5. package/tencentcloud/advisor/v20200721/index.js +4 -0
  6. package/tencentcloud/advisor/v20200721/models.js +455 -0
  7. package/tencentcloud/af/v20200226/af_client.js +40 -2
  8. package/tencentcloud/af/v20200226/models.js +1111 -48
  9. package/tencentcloud/afc/v20200226/afc_client.js +20 -2
  10. package/tencentcloud/afc/v20200226/models.js +607 -25
  11. package/tencentcloud/ame/v20190916/ame_client.js +367 -32
  12. package/tencentcloud/ame/v20190916/models.js +4498 -473
  13. package/tencentcloud/ams/index.js +1 -1
  14. package/tencentcloud/ams/v20200608/ams_client.js +74 -42
  15. package/tencentcloud/ams/v20200608/models.js +685 -74
  16. package/tencentcloud/ams/v20201229/ams_client.js +150 -0
  17. package/tencentcloud/ams/v20201229/index.js +4 -0
  18. package/tencentcloud/ams/v20201229/models.js +1784 -0
  19. package/tencentcloud/antiddos/index.js +3 -0
  20. package/tencentcloud/antiddos/v20200309/antiddos_client.js +1256 -0
  21. package/tencentcloud/antiddos/v20200309/index.js +4 -0
  22. package/tencentcloud/antiddos/v20200309/models.js +12542 -0
  23. package/tencentcloud/apcas/index.js +3 -0
  24. package/tencentcloud/apcas/v20201127/apcas_client.js +135 -0
  25. package/tencentcloud/apcas/v20201127/index.js +4 -0
  26. package/tencentcloud/apcas/v20201127/models.js +1103 -0
  27. package/tencentcloud/ape/index.js +3 -0
  28. package/tencentcloud/ape/v20200513/ape_client.js +142 -0
  29. package/tencentcloud/ape/v20200513/index.js +4 -0
  30. package/tencentcloud/ape/v20200513/models.js +1222 -0
  31. package/tencentcloud/api/index.js +3 -0
  32. package/tencentcloud/api/v20201106/api_client.js +75 -0
  33. package/tencentcloud/api/v20201106/index.js +4 -0
  34. package/tencentcloud/api/v20201106/models.js +434 -0
  35. package/tencentcloud/apigateway/v20180808/apigateway_client.js +853 -354
  36. package/tencentcloud/apigateway/v20180808/models.js +9848 -3994
  37. package/tencentcloud/apm/index.js +3 -0
  38. package/tencentcloud/apm/v20210622/apm_client.js +123 -0
  39. package/tencentcloud/apm/v20210622/index.js +4 -0
  40. package/tencentcloud/apm/v20210622/models.js +1459 -0
  41. package/tencentcloud/as/v20180419/as_client.js +173 -53
  42. package/tencentcloud/as/v20180419/models.js +1862 -841
  43. package/tencentcloud/asr/v20190614/asr_client.js +65 -23
  44. package/tencentcloud/asr/v20190614/models.js +489 -120
  45. package/tencentcloud/asw/index.js +3 -0
  46. package/tencentcloud/asw/v20200722/asw_client.js +153 -0
  47. package/tencentcloud/asw/v20200722/index.js +4 -0
  48. package/tencentcloud/asw/v20200722/models.js +1170 -0
  49. package/tencentcloud/ba/index.js +3 -0
  50. package/tencentcloud/ba/v20200720/ba_client.js +73 -0
  51. package/tencentcloud/ba/v20200720/index.js +4 -0
  52. package/tencentcloud/ba/v20200720/models.js +244 -0
  53. package/tencentcloud/batch/v20170312/batch_client.js +1 -0
  54. package/tencentcloud/batch/v20170312/models.js +192 -13
  55. package/tencentcloud/bda/v20200324/bda_client.js +75 -21
  56. package/tencentcloud/bda/v20200324/models.js +542 -89
  57. package/tencentcloud/bi/index.js +3 -0
  58. package/tencentcloud/bi/v20220105/bi_client.js +61 -0
  59. package/tencentcloud/bi/v20220105/index.js +4 -0
  60. package/tencentcloud/bi/v20220105/models.js +391 -0
  61. package/tencentcloud/billing/v20180709/billing_client.js +49 -3
  62. package/tencentcloud/billing/v20180709/models.js +1345 -198
  63. package/tencentcloud/bm/v20180423/bm_client.js +5 -3
  64. package/tencentcloud/bm/v20180423/models.js +39 -2
  65. package/tencentcloud/bsca/index.js +3 -0
  66. package/tencentcloud/bsca/v20210811/bsca_client.js +99 -0
  67. package/tencentcloud/bsca/v20210811/index.js +4 -0
  68. package/tencentcloud/bsca/v20210811/models.js +1310 -0
  69. package/tencentcloud/btoe/index.js +3 -0
  70. package/tencentcloud/btoe/v20210303/btoe_client.js +214 -0
  71. package/tencentcloud/btoe/v20210303/index.js +4 -0
  72. package/tencentcloud/btoe/v20210303/models.js +1279 -0
  73. package/tencentcloud/btoe/v20210514/btoe_client.js +203 -0
  74. package/tencentcloud/btoe/v20210514/index.js +4 -0
  75. package/tencentcloud/btoe/v20210514/models.js +1219 -0
  76. package/tencentcloud/cam/v20190116/cam_client.js +372 -62
  77. package/tencentcloud/cam/v20190116/models.js +4355 -1620
  78. package/tencentcloud/captcha/v20190722/captcha_client.js +25 -11
  79. package/tencentcloud/captcha/v20190722/models.js +324 -32
  80. package/tencentcloud/car/index.js +3 -0
  81. package/tencentcloud/car/v20220110/car_client.js +72 -0
  82. package/tencentcloud/car/v20220110/index.js +4 -0
  83. package/tencentcloud/car/v20220110/models.js +237 -0
  84. package/tencentcloud/casb/index.js +3 -0
  85. package/tencentcloud/casb/v20200507/casb_client.js +54 -0
  86. package/tencentcloud/casb/v20200507/index.js +4 -0
  87. package/tencentcloud/casb/v20200507/models.js +158 -0
  88. package/tencentcloud/cat/v20180409/cat_client.js +181 -55
  89. package/tencentcloud/cat/v20180409/models.js +3392 -1784
  90. package/tencentcloud/cbs/v20170312/cbs_client.js +153 -74
  91. package/tencentcloud/cbs/v20170312/models.js +2476 -1572
  92. package/tencentcloud/ccc/v20200210/ccc_client.js +318 -8
  93. package/tencentcloud/ccc/v20200210/models.js +4122 -126
  94. package/tencentcloud/cdb/v20170320/cdb_client.js +664 -277
  95. package/tencentcloud/cdb/v20170320/models.js +11032 -6619
  96. package/tencentcloud/cdc/index.js +3 -0
  97. package/tencentcloud/cdc/v20201214/cdc_client.js +308 -0
  98. package/tencentcloud/cdc/v20201214/index.js +4 -0
  99. package/tencentcloud/cdc/v20201214/models.js +3232 -0
  100. package/tencentcloud/cdn/v20180606/cdn_client.js +521 -70
  101. package/tencentcloud/cdn/v20180606/models.js +15001 -6087
  102. package/tencentcloud/cfg/index.js +3 -0
  103. package/tencentcloud/cfg/v20210820/cfg_client.js +181 -0
  104. package/tencentcloud/cfg/v20210820/index.js +4 -0
  105. package/tencentcloud/cfg/v20210820/models.js +2423 -0
  106. package/tencentcloud/cfs/v20190719/models.js +72 -8
  107. package/tencentcloud/cfw/v20190904/cfw_client.js +835 -81
  108. package/tencentcloud/cfw/v20190904/models.js +7930 -740
  109. package/tencentcloud/chdfs/index.js +1 -1
  110. package/tencentcloud/chdfs/v20190718/chdfs_client.js +257 -97
  111. package/tencentcloud/chdfs/v20190718/models.js +909 -131
  112. package/tencentcloud/chdfs/v20201112/chdfs_client.js +418 -0
  113. package/tencentcloud/chdfs/v20201112/index.js +4 -0
  114. package/tencentcloud/chdfs/v20201112/models.js +2710 -0
  115. package/tencentcloud/cii/index.js +3 -0
  116. package/tencentcloud/cii/v20201210/cii_client.js +74 -0
  117. package/tencentcloud/cii/v20201210/index.js +4 -0
  118. package/tencentcloud/cii/v20201210/models.js +455 -0
  119. package/tencentcloud/cii/v20210408/cii_client.js +225 -0
  120. package/tencentcloud/cii/v20210408/index.js +4 -0
  121. package/tencentcloud/cii/v20210408/models.js +2301 -0
  122. package/tencentcloud/ckafka/v20190819/ckafka_client.js +308 -27
  123. package/tencentcloud/ckafka/v20190819/models.js +4283 -734
  124. package/tencentcloud/clb/v20180317/clb_client.js +292 -81
  125. package/tencentcloud/clb/v20180317/models.js +4315 -1477
  126. package/tencentcloud/cloudaudit/v20190319/cloudaudit_client.js +72 -7
  127. package/tencentcloud/cloudaudit/v20190319/models.js +628 -269
  128. package/tencentcloud/cloudhsm/v20191112/cloudhsm_client.js +20 -2
  129. package/tencentcloud/cloudhsm/v20191112/models.js +392 -36
  130. package/tencentcloud/cls/index.js +3 -0
  131. package/tencentcloud/cls/v20201016/cls_client.js +1073 -0
  132. package/tencentcloud/cls/v20201016/index.js +4 -0
  133. package/tencentcloud/cls/v20201016/models.js +10053 -0
  134. package/tencentcloud/cme/v20191029/cme_client.js +327 -70
  135. package/tencentcloud/cme/v20191029/models.js +7001 -2109
  136. package/tencentcloud/cmq/v20190304/models.js +159 -143
  137. package/tencentcloud/cms/v20190321/models.js +6 -2
  138. package/tencentcloud/common/sdk_version.js +1 -1
  139. package/tencentcloud/cpdp/v20190820/cpdp_client.js +2045 -600
  140. package/tencentcloud/cpdp/v20190820/models.js +30614 -7751
  141. package/tencentcloud/cr/v20180321/cr_client.js +270 -50
  142. package/tencentcloud/cr/v20180321/models.js +2829 -432
  143. package/tencentcloud/cvm/v20170312/cvm_client.js +287 -98
  144. package/tencentcloud/cvm/v20170312/models.js +3701 -779
  145. package/tencentcloud/cwp/v20180228/cwp_client.js +2195 -728
  146. package/tencentcloud/cwp/v20180228/models.js +23373 -5226
  147. package/tencentcloud/cynosdb/v20190107/cynosdb_client.js +280 -59
  148. package/tencentcloud/cynosdb/v20190107/models.js +4049 -1893
  149. package/tencentcloud/dasb/index.js +3 -0
  150. package/tencentcloud/dasb/v20191018/dasb_client.js +351 -0
  151. package/tencentcloud/dasb/v20191018/index.js +4 -0
  152. package/tencentcloud/dasb/v20191018/models.js +3161 -0
  153. package/tencentcloud/dayu/v20180709/dayu_client.js +31 -17
  154. package/tencentcloud/dayu/v20180709/models.js +317 -88
  155. package/tencentcloud/dbbrain/index.js +1 -1
  156. package/tencentcloud/dbbrain/v20191016/dbbrain_client.js +313 -33
  157. package/tencentcloud/dbbrain/v20191016/models.js +3871 -488
  158. package/tencentcloud/dbbrain/v20210527/dbbrain_client.js +613 -0
  159. package/tencentcloud/dbbrain/v20210527/index.js +4 -0
  160. package/tencentcloud/dbbrain/v20210527/models.js +6717 -0
  161. package/tencentcloud/dbdc/index.js +3 -0
  162. package/tencentcloud/dbdc/v20201029/dbdc_client.js +104 -0
  163. package/tencentcloud/dbdc/v20201029/index.js +4 -0
  164. package/tencentcloud/dbdc/v20201029/models.js +1441 -0
  165. package/tencentcloud/dc/v20180410/dc_client.js +110 -16
  166. package/tencentcloud/dc/v20180410/models.js +1125 -184
  167. package/tencentcloud/dcdb/v20180411/dcdb_client.js +395 -85
  168. package/tencentcloud/dcdb/v20180411/models.js +3348 -442
  169. package/tencentcloud/dlc/index.js +3 -0
  170. package/tencentcloud/dlc/v20210125/dlc_client.js +612 -0
  171. package/tencentcloud/dlc/v20210125/index.js +4 -0
  172. package/tencentcloud/dlc/v20210125/models.js +6506 -0
  173. package/tencentcloud/dnspod/index.js +3 -0
  174. package/tencentcloud/dnspod/v20210323/dnspod_client.js +488 -0
  175. package/tencentcloud/dnspod/v20210323/index.js +4 -0
  176. package/tencentcloud/dnspod/v20210323/models.js +4873 -0
  177. package/tencentcloud/domain/v20180808/domain_client.js +185 -109
  178. package/tencentcloud/domain/v20180808/models.js +1267 -132
  179. package/tencentcloud/drm/v20181115/drm_client.js +2 -1
  180. package/tencentcloud/dtf/index.js +3 -0
  181. package/tencentcloud/dtf/v20200506/dtf_client.js +48 -0
  182. package/tencentcloud/dtf/v20200506/index.js +4 -0
  183. package/tencentcloud/dtf/v20200506/models.js +327 -0
  184. package/tencentcloud/dts/v20180330/dts_client.js +11 -127
  185. package/tencentcloud/dts/v20180330/models.js +1022 -1941
  186. package/tencentcloud/eb/index.js +3 -0
  187. package/tencentcloud/eb/v20210416/eb_client.js +393 -0
  188. package/tencentcloud/eb/v20210416/index.js +4 -0
  189. package/tencentcloud/eb/v20210416/models.js +3400 -0
  190. package/tencentcloud/ecdn/v20191012/ecdn_client.js +62 -18
  191. package/tencentcloud/ecdn/v20191012/models.js +542 -189
  192. package/tencentcloud/ecm/v20190719/ecm_client.js +793 -294
  193. package/tencentcloud/ecm/v20190719/models.js +11045 -6108
  194. package/tencentcloud/eiam/index.js +3 -0
  195. package/tencentcloud/eiam/v20210420/eiam_client.js +604 -0
  196. package/tencentcloud/eiam/v20210420/index.js +4 -0
  197. package/tencentcloud/eiam/v20210420/models.js +5565 -0
  198. package/tencentcloud/eis/index.js +3 -0
  199. package/tencentcloud/eis/v20200715/eis_client.js +74 -0
  200. package/tencentcloud/eis/v20200715/index.js +4 -0
  201. package/tencentcloud/eis/v20200715/models.js +548 -0
  202. package/tencentcloud/eis/v20210601/eis_client.js +102 -0
  203. package/tencentcloud/eis/v20210601/index.js +4 -0
  204. package/tencentcloud/eis/v20210601/models.js +788 -0
  205. package/tencentcloud/emr/v20190103/emr_client.js +267 -70
  206. package/tencentcloud/emr/v20190103/models.js +5618 -2073
  207. package/tencentcloud/es/v20180416/es_client.js +237 -57
  208. package/tencentcloud/es/v20180416/models.js +3460 -1058
  209. package/tencentcloud/ess/index.js +3 -0
  210. package/tencentcloud/ess/v20201111/ess_client.js +197 -0
  211. package/tencentcloud/ess/v20201111/index.js +4 -0
  212. package/tencentcloud/ess/v20201111/models.js +2537 -0
  213. package/tencentcloud/essbasic/index.js +3 -0
  214. package/tencentcloud/essbasic/v20201222/essbasic_client.js +791 -0
  215. package/tencentcloud/essbasic/v20201222/index.js +4 -0
  216. package/tencentcloud/essbasic/v20201222/models.js +7555 -0
  217. package/tencentcloud/essbasic/v20210526/essbasic_client.js +260 -0
  218. package/tencentcloud/essbasic/v20210526/index.js +4 -0
  219. package/tencentcloud/essbasic/v20210526/models.js +3332 -0
  220. package/tencentcloud/facefusion/v20181201/facefusion_client.js +1 -1
  221. package/tencentcloud/facefusion/v20181201/models.js +23 -16
  222. package/tencentcloud/faceid/v20180301/faceid_client.js +228 -37
  223. package/tencentcloud/faceid/v20180301/models.js +2839 -598
  224. package/tencentcloud/fmu/v20191213/fmu_client.js +38 -12
  225. package/tencentcloud/fmu/v20191213/models.js +217 -1
  226. package/tencentcloud/ft/v20200304/models.js +15 -7
  227. package/tencentcloud/gaap/v20180529/gaap_client.js +630 -547
  228. package/tencentcloud/gaap/v20180529/models.js +1718 -308
  229. package/tencentcloud/gme/v20180711/gme_client.js +181 -21
  230. package/tencentcloud/gme/v20180711/models.js +1743 -264
  231. package/tencentcloud/gpm/index.js +3 -0
  232. package/tencentcloud/gpm/v20200820/gpm_client.js +281 -0
  233. package/tencentcloud/gpm/v20200820/index.js +4 -0
  234. package/tencentcloud/gpm/v20200820/models.js +2852 -0
  235. package/tencentcloud/gs/v20191118/gs_client.js +79 -14
  236. package/tencentcloud/gs/v20191118/models.js +426 -57
  237. package/tencentcloud/gse/v20191112/gse_client.js +232 -71
  238. package/tencentcloud/gse/v20191112/models.js +2250 -277
  239. package/tencentcloud/hcm/v20181106/models.js +19 -4
  240. package/tencentcloud/iai/v20180301/iai_client.js +17 -83
  241. package/tencentcloud/iai/v20180301/models.js +169 -484
  242. package/tencentcloud/iai/v20200303/iai_client.js +38 -85
  243. package/tencentcloud/iai/v20200303/models.js +304 -487
  244. package/tencentcloud/ic/v20190307/ic_client.js +13 -0
  245. package/tencentcloud/ic/v20190307/models.js +80 -0
  246. package/tencentcloud/icr/index.js +3 -0
  247. package/tencentcloud/icr/v20211014/icr_client.js +57 -0
  248. package/tencentcloud/icr/v20211014/index.js +4 -0
  249. package/tencentcloud/icr/v20211014/models.js +753 -0
  250. package/tencentcloud/ie/v20200304/ie_client.js +119 -46
  251. package/tencentcloud/ie/v20200304/models.js +3853 -1773
  252. package/tencentcloud/iecp/index.js +3 -0
  253. package/tencentcloud/iecp/v20210914/iecp_client.js +1425 -0
  254. package/tencentcloud/iecp/v20210914/index.js +4 -0
  255. package/tencentcloud/iecp/v20210914/models.js +14297 -0
  256. package/tencentcloud/ims/index.js +3 -0
  257. package/tencentcloud/ims/v20200713/ims_client.js +105 -0
  258. package/tencentcloud/ims/v20200713/index.js +4 -0
  259. package/tencentcloud/ims/v20200713/models.js +1649 -0
  260. package/tencentcloud/ims/v20201229/ims_client.js +93 -0
  261. package/tencentcloud/ims/v20201229/index.js +4 -0
  262. package/tencentcloud/ims/v20201229/models.js +1073 -0
  263. package/tencentcloud/index.js +64 -1
  264. package/tencentcloud/iotcloud/index.js +1 -1
  265. package/tencentcloud/iotcloud/v20180614/iotcloud_client.js +293 -54
  266. package/tencentcloud/iotcloud/v20180614/models.js +2597 -490
  267. package/tencentcloud/iotcloud/v20210408/index.js +4 -0
  268. package/tencentcloud/iotcloud/v20210408/iotcloud_client.js +981 -0
  269. package/tencentcloud/iotcloud/v20210408/models.js +8165 -0
  270. package/tencentcloud/iotexplorer/v20190423/iotexplorer_client.js +1027 -209
  271. package/tencentcloud/iotexplorer/v20190423/models.js +8332 -1344
  272. package/tencentcloud/iotvideo/index.js +1 -1
  273. package/tencentcloud/iotvideo/v20191126/iotvideo_client.js +110 -23
  274. package/tencentcloud/iotvideo/v20191126/models.js +1098 -132
  275. package/tencentcloud/iotvideo/v20201215/index.js +4 -0
  276. package/tencentcloud/iotvideo/v20201215/iotvideo_client.js +1085 -0
  277. package/tencentcloud/iotvideo/v20201215/models.js +8982 -0
  278. package/tencentcloud/iotvideoindustry/index.js +3 -0
  279. package/tencentcloud/iotvideoindustry/v20201201/index.js +4 -0
  280. package/tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.js +1443 -0
  281. package/tencentcloud/iotvideoindustry/v20201201/models.js +11256 -0
  282. package/tencentcloud/ivld/index.js +3 -0
  283. package/tencentcloud/ivld/v20210903/index.js +4 -0
  284. package/tencentcloud/ivld/v20210903/ivld_client.js +471 -0
  285. package/tencentcloud/ivld/v20210903/models.js +3686 -0
  286. package/tencentcloud/kms/v20190118/kms_client.js +29 -2
  287. package/tencentcloud/kms/v20190118/models.js +314 -6
  288. package/tencentcloud/lighthouse/v20200324/lighthouse_client.js +923 -60
  289. package/tencentcloud/lighthouse/v20200324/models.js +7326 -755
  290. package/tencentcloud/live/v20180801/live_client.js +299 -47
  291. package/tencentcloud/live/v20180801/models.js +3439 -780
  292. package/tencentcloud/lowcode/index.js +3 -0
  293. package/tencentcloud/lowcode/v20210108/index.js +4 -0
  294. package/tencentcloud/lowcode/v20210108/lowcode_client.js +51 -0
  295. package/tencentcloud/lowcode/v20210108/models.js +626 -0
  296. package/tencentcloud/mariadb/v20170312/mariadb_client.js +364 -52
  297. package/tencentcloud/mariadb/v20170312/models.js +4783 -1756
  298. package/tencentcloud/market/index.js +3 -0
  299. package/tencentcloud/market/v20191010/index.js +4 -0
  300. package/tencentcloud/market/v20191010/market_client.js +60 -0
  301. package/tencentcloud/market/v20191010/models.js +215 -0
  302. package/tencentcloud/memcached/v20190318/models.js +104 -103
  303. package/tencentcloud/mgobe/index.js +1 -1
  304. package/tencentcloud/mgobe/v20201014/index.js +4 -0
  305. package/tencentcloud/mgobe/v20201014/mgobe_client.js +127 -0
  306. package/tencentcloud/mgobe/v20201014/models.js +917 -0
  307. package/tencentcloud/mna/index.js +3 -0
  308. package/tencentcloud/mna/v20210119/index.js +4 -0
  309. package/tencentcloud/mna/v20210119/mna_client.js +79 -0
  310. package/tencentcloud/mna/v20210119/models.js +693 -0
  311. package/tencentcloud/mongodb/v20190725/models.js +3034 -1496
  312. package/tencentcloud/mongodb/v20190725/mongodb_client.js +146 -42
  313. package/tencentcloud/monitor/v20180724/models.js +9006 -2701
  314. package/tencentcloud/monitor/v20180724/monitor_client.js +592 -124
  315. package/tencentcloud/mps/v20190612/models.js +1176 -306
  316. package/tencentcloud/mps/v20190612/mps_client.js +30 -11
  317. package/tencentcloud/mrs/index.js +3 -0
  318. package/tencentcloud/mrs/v20200910/index.js +4 -0
  319. package/tencentcloud/mrs/v20200910/models.js +5464 -0
  320. package/tencentcloud/mrs/v20200910/mrs_client.js +143 -0
  321. package/tencentcloud/nlp/v20190408/models.js +447 -631
  322. package/tencentcloud/nlp/v20190408/nlp_client.js +42 -55
  323. package/tencentcloud/oceanus/index.js +3 -0
  324. package/tencentcloud/oceanus/v20190422/index.js +4 -0
  325. package/tencentcloud/oceanus/v20190422/models.js +3144 -0
  326. package/tencentcloud/oceanus/v20190422/oceanus_client.js +269 -0
  327. package/tencentcloud/ocr/v20181119/models.js +3758 -720
  328. package/tencentcloud/ocr/v20181119/ocr_client.js +221 -66
  329. package/tencentcloud/organization/index.js +1 -1
  330. package/tencentcloud/organization/v20210331/index.js +4 -0
  331. package/tencentcloud/organization/v20210331/models.js +821 -0
  332. package/tencentcloud/organization/v20210331/organization_client.js +101 -0
  333. package/tencentcloud/partners/v20180321/models.js +1097 -48
  334. package/tencentcloud/partners/v20180321/partners_client.js +79 -10
  335. package/tencentcloud/pds/index.js +3 -0
  336. package/tencentcloud/pds/v20210701/index.js +4 -0
  337. package/tencentcloud/pds/v20210701/models.js +271 -0
  338. package/tencentcloud/pds/v20210701/pds_client.js +61 -0
  339. package/tencentcloud/postgres/v20170312/models.js +6120 -1774
  340. package/tencentcloud/postgres/v20170312/postgres_client.js +517 -114
  341. package/tencentcloud/privatedns/index.js +3 -0
  342. package/tencentcloud/privatedns/v20201028/index.js +4 -0
  343. package/tencentcloud/privatedns/v20201028/models.js +2637 -0
  344. package/tencentcloud/privatedns/v20201028/privatedns_client.js +308 -0
  345. package/tencentcloud/rce/index.js +3 -0
  346. package/tencentcloud/rce/v20201103/index.js +4 -0
  347. package/tencentcloud/rce/v20201103/models.js +1450 -0
  348. package/tencentcloud/rce/v20201103/rce_client.js +103 -0
  349. package/tencentcloud/redis/v20180412/models.js +4537 -1516
  350. package/tencentcloud/redis/v20180412/redis_client.js +344 -47
  351. package/tencentcloud/rum/index.js +3 -0
  352. package/tencentcloud/rum/v20210622/index.js +4 -0
  353. package/tencentcloud/rum/v20210622/models.js +7436 -0
  354. package/tencentcloud/rum/v20210622/rum_client.js +760 -0
  355. package/tencentcloud/scf/v20180416/models.js +4547 -2012
  356. package/tencentcloud/scf/v20180416/scf_client.js +253 -41
  357. package/tencentcloud/ses/index.js +3 -0
  358. package/tencentcloud/ses/v20201002/index.js +4 -0
  359. package/tencentcloud/ses/v20201002/models.js +3053 -0
  360. package/tencentcloud/ses/v20201002/ses_client.js +376 -0
  361. package/tencentcloud/smh/index.js +3 -0
  362. package/tencentcloud/smh/v20210712/index.js +4 -0
  363. package/tencentcloud/smh/v20210712/models.js +1370 -0
  364. package/tencentcloud/smh/v20210712/smh_client.js +167 -0
  365. package/tencentcloud/sms/index.js +1 -1
  366. package/tencentcloud/sms/v20190711/models.js +21 -15
  367. package/tencentcloud/sms/v20190711/sms_client.js +10 -8
  368. package/tencentcloud/sms/v20210111/index.js +4 -0
  369. package/tencentcloud/sms/v20210111/models.js +2544 -0
  370. package/tencentcloud/sms/v20210111/sms_client.js +324 -0
  371. package/tencentcloud/soe/v20180724/models.js +129 -38
  372. package/tencentcloud/soe/v20180724/soe_client.js +2 -2
  373. package/tencentcloud/sqlserver/v20180328/models.js +6545 -3062
  374. package/tencentcloud/sqlserver/v20180328/sqlserver_client.js +780 -428
  375. package/tencentcloud/ssa/index.js +3 -0
  376. package/tencentcloud/ssa/v20180608/index.js +4 -0
  377. package/tencentcloud/ssa/v20180608/models.js +6058 -0
  378. package/tencentcloud/ssa/v20180608/ssa_client.js +343 -0
  379. package/tencentcloud/ssl/v20191205/models.js +2455 -739
  380. package/tencentcloud/ssl/v20191205/ssl_client.js +239 -62
  381. package/tencentcloud/sslpod/index.js +3 -0
  382. package/tencentcloud/sslpod/v20190605/index.js +4 -0
  383. package/tencentcloud/sslpod/v20190605/models.js +1375 -0
  384. package/tencentcloud/sslpod/v20190605/sslpod_client.js +171 -0
  385. package/tencentcloud/ssm/v20190923/models.js +1311 -158
  386. package/tencentcloud/ssm/v20190923/ssm_client.js +199 -71
  387. package/tencentcloud/sts/v20180813/models.js +278 -11
  388. package/tencentcloud/sts/v20180813/sts_client.js +40 -12
  389. package/tencentcloud/taf/v20200210/models.js +397 -46
  390. package/tencentcloud/taf/v20200210/taf_client.js +24 -4
  391. package/tencentcloud/tag/v20180813/models.js +972 -174
  392. package/tencentcloud/tag/v20180813/tag_client.js +213 -107
  393. package/tencentcloud/tat/index.js +3 -0
  394. package/tencentcloud/tat/v20201028/index.js +4 -0
  395. package/tencentcloud/tat/v20201028/models.js +3020 -0
  396. package/tencentcloud/tat/v20201028/tat_client.js +310 -0
  397. package/tencentcloud/tbaas/v20180416/models.js +2932 -617
  398. package/tencentcloud/tbaas/v20180416/tbaas_client.js +333 -78
  399. package/tencentcloud/tcaplusdb/v20190823/models.js +3133 -418
  400. package/tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.js +231 -19
  401. package/tencentcloud/tcb/v20180608/models.js +10382 -1715
  402. package/tencentcloud/tcb/v20180608/tcb_client.js +809 -107
  403. package/tencentcloud/tcm/index.js +3 -0
  404. package/tencentcloud/tcm/v20210413/index.js +4 -0
  405. package/tencentcloud/tcm/v20210413/models.js +2237 -0
  406. package/tencentcloud/tcm/v20210413/tcm_client.js +95 -0
  407. package/tencentcloud/tcr/v20190924/models.js +5356 -1649
  408. package/tencentcloud/tcr/v20190924/tcr_client.js +820 -364
  409. package/tencentcloud/tcss/index.js +3 -0
  410. package/tencentcloud/tcss/v20201101/index.js +4 -0
  411. package/tencentcloud/tcss/v20201101/models.js +24927 -0
  412. package/tencentcloud/tcss/v20201101/tcss_client.js +2276 -0
  413. package/tencentcloud/tdcpg/index.js +3 -0
  414. package/tencentcloud/tdcpg/v20211118/index.js +4 -0
  415. package/tencentcloud/tdcpg/v20211118/models.js +2777 -0
  416. package/tencentcloud/tdcpg/v20211118/tdcpg_client.js +372 -0
  417. package/tencentcloud/tdid/index.js +3 -0
  418. package/tencentcloud/tdid/v20210519/index.js +4 -0
  419. package/tencentcloud/tdid/v20210519/models.js +978 -0
  420. package/tencentcloud/tdid/v20210519/tdid_client.js +143 -0
  421. package/tencentcloud/tdmq/v20200217/models.js +11577 -1039
  422. package/tencentcloud/tdmq/v20200217/tdmq_client.js +1206 -95
  423. package/tencentcloud/tem/index.js +3 -0
  424. package/tencentcloud/tem/v20201221/index.js +4 -0
  425. package/tencentcloud/tem/v20201221/models.js +3274 -0
  426. package/tencentcloud/tem/v20201221/tem_client.js +275 -0
  427. package/tencentcloud/tem/v20210701/index.js +4 -0
  428. package/tencentcloud/tem/v20210701/models.js +4613 -0
  429. package/tencentcloud/tem/v20210701/tem_client.js +377 -0
  430. package/tencentcloud/teo/index.js +3 -0
  431. package/tencentcloud/teo/v20220106/index.js +4 -0
  432. package/tencentcloud/teo/v20220106/models.js +8307 -0
  433. package/tencentcloud/teo/v20220106/teo_client.js +728 -0
  434. package/tencentcloud/thpc/index.js +3 -0
  435. package/tencentcloud/thpc/v20211109/index.js +4 -0
  436. package/tencentcloud/thpc/v20211109/models.js +1491 -0
  437. package/tencentcloud/thpc/v20211109/thpc_client.js +103 -0
  438. package/tencentcloud/thpc/v20220401/index.js +4 -0
  439. package/tencentcloud/thpc/v20220401/models.js +1775 -0
  440. package/tencentcloud/thpc/v20220401/thpc_client.js +129 -0
  441. package/tencentcloud/tic/index.js +3 -0
  442. package/tencentcloud/tic/v20201117/index.js +4 -0
  443. package/tencentcloud/tic/v20201117/models.js +1368 -0
  444. package/tencentcloud/tic/v20201117/tic_client.js +223 -0
  445. package/tencentcloud/tiia/v20190529/models.js +2135 -538
  446. package/tencentcloud/tiia/v20190529/tiia_client.js +135 -12
  447. package/tencentcloud/tiw/v20190919/models.js +1720 -136
  448. package/tencentcloud/tiw/v20190919/tiw_client.js +213 -72
  449. package/tencentcloud/tke/v20180525/models.js +18759 -1873
  450. package/tencentcloud/tke/v20180525/tke_client.js +1859 -248
  451. package/tencentcloud/tms/index.js +1 -1
  452. package/tencentcloud/tms/v20200713/models.js +546 -66
  453. package/tencentcloud/tms/v20200713/tms_client.js +33 -2
  454. package/tencentcloud/tms/v20201229/index.js +4 -0
  455. package/tencentcloud/tms/v20201229/models.js +495 -0
  456. package/tencentcloud/tms/v20201229/tms_client.js +67 -0
  457. package/tencentcloud/tmt/v20180321/models.js +474 -172
  458. package/tencentcloud/tmt/v20180321/tmt_client.js +63 -33
  459. package/tencentcloud/trtc/v20190722/models.js +3170 -700
  460. package/tencentcloud/trtc/v20190722/trtc_client.js +307 -81
  461. package/tencentcloud/tse/index.js +3 -0
  462. package/tencentcloud/tse/v20201207/index.js +4 -0
  463. package/tencentcloud/tse/v20201207/models.js +946 -0
  464. package/tencentcloud/tse/v20201207/tse_client.js +67 -0
  465. package/tencentcloud/tsf/v20180326/models.js +20614 -6859
  466. package/tencentcloud/tsf/v20180326/tsf_client.js +1438 -417
  467. package/tencentcloud/tsw/index.js +3 -0
  468. package/tencentcloud/tsw/v20200924/index.js +4 -0
  469. package/tencentcloud/tsw/v20200924/models.js +171 -0
  470. package/tencentcloud/tsw/v20200924/tsw_client.js +47 -0
  471. package/tencentcloud/tsw/v20210412/index.js +4 -0
  472. package/tencentcloud/tsw/v20210412/models.js +188 -0
  473. package/tencentcloud/tsw/v20210412/tsw_client.js +72 -0
  474. package/tencentcloud/tts/v20190823/models.js +306 -11
  475. package/tencentcloud/tts/v20190823/tts_client.js +38 -0
  476. package/tencentcloud/ump/index.js +3 -0
  477. package/tencentcloud/ump/v20200918/index.js +4 -0
  478. package/tencentcloud/ump/v20200918/models.js +2811 -0
  479. package/tencentcloud/ump/v20200918/ump_client.js +279 -0
  480. package/tencentcloud/vm/index.js +3 -0
  481. package/tencentcloud/vm/v20200709/index.js +4 -0
  482. package/tencentcloud/vm/v20200709/models.js +2163 -0
  483. package/tencentcloud/vm/v20200709/vm_client.js +126 -0
  484. package/tencentcloud/vm/v20201229/index.js +4 -0
  485. package/tencentcloud/vm/v20201229/models.js +1855 -0
  486. package/tencentcloud/vm/v20201229/vm_client.js +147 -0
  487. package/tencentcloud/vms/index.js +3 -0
  488. package/tencentcloud/vms/v20200902/index.js +4 -0
  489. package/tencentcloud/vms/v20200902/models.js +264 -0
  490. package/tencentcloud/vms/v20200902/vms_client.js +60 -0
  491. package/tencentcloud/vod/v20180717/models.js +12247 -6350
  492. package/tencentcloud/vod/v20180717/vod_client.js +602 -95
  493. package/tencentcloud/vpc/v20170312/models.js +8163 -1403
  494. package/tencentcloud/vpc/v20170312/vpc_client.js +1048 -220
  495. package/tencentcloud/waf/index.js +3 -0
  496. package/tencentcloud/waf/v20180125/index.js +4 -0
  497. package/tencentcloud/waf/v20180125/models.js +4627 -0
  498. package/tencentcloud/waf/v20180125/waf_client.js +491 -0
  499. package/tencentcloud/wav/index.js +3 -0
  500. package/tencentcloud/wav/v20210129/index.js +4 -0
  501. package/tencentcloud/wav/v20210129/models.js +4170 -0
  502. package/tencentcloud/wav/v20210129/wav_client.js +345 -0
  503. package/tencentcloud/zj/index.js +3 -0
  504. package/tencentcloud/zj/v20190121/index.js +4 -0
  505. package/tencentcloud/zj/v20190121/models.js +3419 -0
  506. package/tencentcloud/zj/v20190121/zj_client.js +334 -0
@@ -66,15 +66,15 @@ class GetDetectInfoEnhancedRequest extends AbstractModel {
66
66
  this.RuleId = null;
67
67
 
68
68
  /**
69
- * 指定拉取的结果信息,取值(0:全部;1:文本类;2:身份证信息;3:视频最佳截图信息;4:视频信息)。
70
- 134表示拉取文本类、视频最佳截图信息、视频信息。
69
+ * 指定拉取的结果信息,取值(0:全部;1:文本类;2:身份证信息;3:视频最佳截图信息)。
70
+ 13表示拉取文本类、视频最佳截图信息。
71
71
  默认值:0
72
72
  * @type {string || null}
73
73
  */
74
74
  this.InfoType = null;
75
75
 
76
76
  /**
77
- * 从活体视频中截取一定张数的最佳帧。默认为0,最大为10,超出10的最多只给10张。(InfoType需要包含3)
77
+ * 从活体视频中截取一定张数的最佳帧(仅部分服务支持,若需使用请与慧眼小助手沟通)。默认为0,最大为10,超出10的最多只给10张。(InfoType需要包含3)
78
78
  * @type {number || null}
79
79
  */
80
80
  this.BestFramesCount = null;
@@ -91,6 +91,12 @@ class GetDetectInfoEnhancedRequest extends AbstractModel {
91
91
  */
92
92
  this.IsNeedIdCardAvatar = null;
93
93
 
94
+ /**
95
+ * 是否需要对返回中的敏感信息进行加密。其中敏感信息包括:Response.Text.IdCard、Response.Text.Name、Response.Text.OcrIdCard、Response.Text.OcrName
96
+ * @type {boolean || null}
97
+ */
98
+ this.IsEncrypt = null;
99
+
94
100
  }
95
101
 
96
102
  /**
@@ -106,6 +112,7 @@ class GetDetectInfoEnhancedRequest extends AbstractModel {
106
112
  this.BestFramesCount = 'BestFramesCount' in params ? params.BestFramesCount : null;
107
113
  this.IsCutIdCardImage = 'IsCutIdCardImage' in params ? params.IsCutIdCardImage : null;
108
114
  this.IsNeedIdCardAvatar = 'IsNeedIdCardAvatar' in params ? params.IsNeedIdCardAvatar : null;
115
+ this.IsEncrypt = 'IsEncrypt' in params ? params.IsEncrypt : null;
109
116
 
110
117
  }
111
118
  }
@@ -155,6 +162,13 @@ class GetFaceIdTokenRequest extends AbstractModel {
155
162
  */
156
163
  this.Extra = null;
157
164
 
165
+ /**
166
+ * 默认为false,设置该参数为true后,核身过程中的视频图片将会存储在人脸核身控制台授权cos的bucket中,拉取结果时会返回对应资源完整cos地址。开通地址见https://console.cloud.tencent.com/faceid/cos
167
+ 【注意】选择该参数为true后将不返回base64数据,请根据接入情况谨慎修改。
168
+ * @type {boolean || null}
169
+ */
170
+ this.UseCos = null;
171
+
158
172
  }
159
173
 
160
174
  /**
@@ -170,6 +184,7 @@ class GetFaceIdTokenRequest extends AbstractModel {
170
184
  this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
171
185
  this.Meta = 'Meta' in params ? params.Meta : null;
172
186
  this.Extra = 'Extra' in params ? params.Extra : null;
187
+ this.UseCos = 'UseCos' in params ? params.UseCos : null;
173
188
 
174
189
  }
175
190
  }
@@ -230,6 +245,48 @@ LIP为数字模式,ACTION为动作模式,SILENT为静默模式,三种模
230
245
  }
231
246
  }
232
247
 
248
+ /**
249
+ * 敏感数据加密
250
+ * @class
251
+ */
252
+ class Encryption extends AbstractModel {
253
+ constructor(){
254
+ super();
255
+
256
+ /**
257
+ * 有加密需求的用户,接入传入kms的CiphertextBlob,关于数据加密可查阅<a href="https://cloud.tencent.com/document/product/1007/47180">数据加密</a> 文档。
258
+ * @type {string || null}
259
+ */
260
+ this.CiphertextBlob = null;
261
+
262
+ /**
263
+ * 在使用加密服务时,填入要被加密的字段。本接口中可填入加密后的一个或多个字段
264
+ * @type {Array.<string> || null}
265
+ */
266
+ this.EncryptList = null;
267
+
268
+ /**
269
+ * 有加密需求的用户,传入CBC加密的初始向量
270
+ * @type {string || null}
271
+ */
272
+ this.Iv = null;
273
+
274
+ }
275
+
276
+ /**
277
+ * @private
278
+ */
279
+ deserialize(params) {
280
+ if (!params) {
281
+ return;
282
+ }
283
+ this.CiphertextBlob = 'CiphertextBlob' in params ? params.CiphertextBlob : null;
284
+ this.EncryptList = 'EncryptList' in params ? params.EncryptList : null;
285
+ this.Iv = 'Iv' in params ? params.Iv : null;
286
+
287
+ }
288
+ }
289
+
233
290
  /**
234
291
  * CheckBankCardInformation请求参数结构体
235
292
  * @class
@@ -244,6 +301,12 @@ class CheckBankCardInformationRequest extends AbstractModel {
244
301
  */
245
302
  this.BankCard = null;
246
303
 
304
+ /**
305
+ * 敏感数据加密信息。对传入信息(银行卡号)有加密需求的用户可使用此参数,详情请点击左侧链接。
306
+ * @type {Encryption || null}
307
+ */
308
+ this.Encryption = null;
309
+
247
310
  }
248
311
 
249
312
  /**
@@ -255,6 +318,12 @@ class CheckBankCardInformationRequest extends AbstractModel {
255
318
  }
256
319
  this.BankCard = 'BankCard' in params ? params.BankCard : null;
257
320
 
321
+ if (params.Encryption) {
322
+ let obj = new Encryption();
323
+ obj.deserialize(params.Encryption)
324
+ this.Encryption = obj;
325
+ }
326
+
258
327
  }
259
328
  }
260
329
 
@@ -336,6 +405,58 @@ class GetLiveCodeRequest extends AbstractModel {
336
405
  }
337
406
  }
338
407
 
408
+ /**
409
+ * CheckIdNameDate返回参数结构体
410
+ * @class
411
+ */
412
+ class CheckIdNameDateResponse extends AbstractModel {
413
+ constructor(){
414
+ super();
415
+
416
+ /**
417
+ * 认证结果码,收费情况如下。
418
+ 收费结果码:
419
+ 0: 一致
420
+ -1: 不一致
421
+ 不收费结果码:
422
+ -2: 非法身份证号(长度、校验位等不正确)
423
+ -3: 非法姓名(长度、格式等不正确)
424
+ -4: 非法有效期(长度、格式等不正确)
425
+ -5: 身份信息无效
426
+ -6: 证件库服务异常
427
+ -7: 证件库中无此身份证记录
428
+ * @type {string || null}
429
+ */
430
+ this.Result = null;
431
+
432
+ /**
433
+ * 业务结果描述。
434
+ * @type {string || null}
435
+ */
436
+ this.Description = null;
437
+
438
+ /**
439
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
440
+ * @type {string || null}
441
+ */
442
+ this.RequestId = null;
443
+
444
+ }
445
+
446
+ /**
447
+ * @private
448
+ */
449
+ deserialize(params) {
450
+ if (!params) {
451
+ return;
452
+ }
453
+ this.Result = 'Result' in params ? params.Result : null;
454
+ this.Description = 'Description' in params ? params.Description : null;
455
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
456
+
457
+ }
458
+ }
459
+
339
460
  /**
340
461
  * IdCardVerification请求参数结构体
341
462
  * @class
@@ -356,6 +477,12 @@ class IdCardVerificationRequest extends AbstractModel {
356
477
  */
357
478
  this.Name = null;
358
479
 
480
+ /**
481
+ * 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
482
+ * @type {Encryption || null}
483
+ */
484
+ this.Encryption = null;
485
+
359
486
  }
360
487
 
361
488
  /**
@@ -368,6 +495,12 @@ class IdCardVerificationRequest extends AbstractModel {
368
495
  this.IdCard = 'IdCard' in params ? params.IdCard : null;
369
496
  this.Name = 'Name' in params ? params.Name : null;
370
497
 
498
+ if (params.Encryption) {
499
+ let obj = new Encryption();
500
+ obj.deserialize(params.Encryption)
501
+ this.Encryption = obj;
502
+ }
503
+
371
504
  }
372
505
  }
373
506
 
@@ -399,11 +532,17 @@ class BankCardVerificationRequest extends AbstractModel {
399
532
 
400
533
  /**
401
534
  * 证件类型,请确认该证件为开户时使用的证件类型,未用于开户的证件信息不支持验证。
402
- 目前默认:0 身份证,其他证件类型需求可以联系小助手faceid001确认。
535
+ 目前默认:0 身份证,其他证件类型需求可以添加[腾讯云人脸核身小助手](https://cloud.tencent.com/document/product/1007/56130)进行确认。
403
536
  * @type {number || null}
404
537
  */
405
538
  this.CertType = null;
406
539
 
540
+ /**
541
+ * 敏感数据加密信息。对传入信息(姓名、身份证号、银行卡号)有加密需求的用户可使用此参数,详情请点击左侧链接。
542
+ * @type {Encryption || null}
543
+ */
544
+ this.Encryption = null;
545
+
407
546
  }
408
547
 
409
548
  /**
@@ -418,6 +557,12 @@ class BankCardVerificationRequest extends AbstractModel {
418
557
  this.BankCard = 'BankCard' in params ? params.BankCard : null;
419
558
  this.CertType = 'CertType' in params ? params.CertType : null;
420
559
 
560
+ if (params.Encryption) {
561
+ let obj = new Encryption();
562
+ obj.deserialize(params.Encryption)
563
+ this.Encryption = obj;
564
+ }
565
+
421
566
  }
422
567
  }
423
568
 
@@ -454,7 +599,7 @@ class CheckBankCardInformationResponse extends AbstractModel {
454
599
  this.AccountBank = null;
455
600
 
456
601
  /**
457
- * 卡性质:1. 借记卡;2. 贷记卡
602
+ * 卡性质:1. 借记卡;2. 贷记卡;3. 预付费卡;4. 准贷记卡
458
603
  * @type {number || null}
459
604
  */
460
605
  this.AccountType = null;
@@ -492,14 +637,14 @@ class DetectInfoBestFrame extends AbstractModel {
492
637
  super();
493
638
 
494
639
  /**
495
- * 活体比对最佳帧。
640
+ * 活体比对最佳帧Base64编码。
496
641
  注意:此字段可能返回 null,表示取不到有效值。
497
642
  * @type {string || null}
498
643
  */
499
644
  this.BestFrame = null;
500
645
 
501
646
  /**
502
- * 自截帧。
647
+ * 自截帧Base64编码数组。
503
648
  注意:此字段可能返回 null,表示取不到有效值。
504
649
  * @type {Array.<string> || null}
505
650
  */
@@ -520,6 +665,97 @@ class DetectInfoBestFrame extends AbstractModel {
520
665
  }
521
666
  }
522
667
 
668
+ /**
669
+ * 账单详情
670
+ * @class
671
+ */
672
+ class WeChatBillDetail extends AbstractModel {
673
+ constructor(){
674
+ super();
675
+
676
+ /**
677
+ * token
678
+ * @type {string || null}
679
+ */
680
+ this.BizToken = null;
681
+
682
+ /**
683
+ * 本token收费次数
684
+ * @type {number || null}
685
+ */
686
+ this.ChargeCount = null;
687
+
688
+ /**
689
+ * 本token计费详情
690
+ * @type {Array.<ChargeDetail> || null}
691
+ */
692
+ this.ChargeDetails = null;
693
+
694
+ /**
695
+ * 业务RuleId
696
+ * @type {string || null}
697
+ */
698
+ this.RuleId = null;
699
+
700
+ }
701
+
702
+ /**
703
+ * @private
704
+ */
705
+ deserialize(params) {
706
+ if (!params) {
707
+ return;
708
+ }
709
+ this.BizToken = 'BizToken' in params ? params.BizToken : null;
710
+ this.ChargeCount = 'ChargeCount' in params ? params.ChargeCount : null;
711
+
712
+ if (params.ChargeDetails) {
713
+ this.ChargeDetails = new Array();
714
+ for (let z in params.ChargeDetails) {
715
+ let obj = new ChargeDetail();
716
+ obj.deserialize(params.ChargeDetails[z]);
717
+ this.ChargeDetails.push(obj);
718
+ }
719
+ }
720
+ this.RuleId = 'RuleId' in params ? params.RuleId : null;
721
+
722
+ }
723
+ }
724
+
725
+ /**
726
+ * 获取token时的的配置
727
+ * @class
728
+ */
729
+ class GetEidTokenConfig extends AbstractModel {
730
+ constructor(){
731
+ super();
732
+
733
+ /**
734
+ * 姓名身份证输入方式。
735
+ 1:传身份证正反面OCR
736
+ 2:传身份证正面OCR
737
+ 3:用户手动输入
738
+ 4:客户后台传入
739
+ 默认1
740
+ 注:使用OCR时仅支持用户修改结果中的姓名
741
+ * @type {string || null}
742
+ */
743
+ this.InputType = null;
744
+
745
+ }
746
+
747
+ /**
748
+ * @private
749
+ */
750
+ deserialize(params) {
751
+ if (!params) {
752
+ return;
753
+ }
754
+ this.InputType = 'InputType' in params ? params.InputType : null;
755
+
756
+ }
757
+ }
758
+
523
759
  /**
524
760
  * CheckIdCardInformation返回参数结构体
525
761
  * @class
@@ -609,6 +845,13 @@ class CheckIdCardInformationResponse extends AbstractModel {
609
845
  */
610
846
  this.Quality = null;
611
847
 
848
+ /**
849
+ * 敏感数据加密信息。
850
+ 注意:此字段可能返回 null,表示取不到有效值。
851
+ * @type {Encryption || null}
852
+ */
853
+ this.Encryption = null;
854
+
612
855
  /**
613
856
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
614
857
  * @type {string || null}
@@ -636,6 +879,12 @@ class CheckIdCardInformationResponse extends AbstractModel {
636
879
  this.Portrait = 'Portrait' in params ? params.Portrait : null;
637
880
  this.Warnings = 'Warnings' in params ? params.Warnings : null;
638
881
  this.Quality = 'Quality' in params ? params.Quality : null;
882
+
883
+ if (params.Encryption) {
884
+ let obj = new Encryption();
885
+ obj.deserialize(params.Encryption)
886
+ this.Encryption = obj;
887
+ }
639
888
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
640
889
 
641
890
  }
@@ -677,6 +926,20 @@ class GetDetectInfoEnhancedResponse extends AbstractModel {
677
926
  */
678
927
  this.VideoData = null;
679
928
 
929
+ /**
930
+ * 敏感数据加密信息。
931
+ 注意:此字段可能返回 null,表示取不到有效值。
932
+ * @type {Encryption || null}
933
+ */
934
+ this.Encryption = null;
935
+
936
+ /**
937
+ * 意愿核身相关信息。若未使用意愿核身功能,该字段返回值可以不处理。
938
+ 注意:此字段可能返回 null,表示取不到有效值。
939
+ * @type {IntentionVerifyData || null}
940
+ */
941
+ this.IntentionVerifyData = null;
942
+
680
943
  /**
681
944
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
682
945
  * @type {string || null}
@@ -716,6 +979,18 @@ class GetDetectInfoEnhancedResponse extends AbstractModel {
716
979
  obj.deserialize(params.VideoData)
717
980
  this.VideoData = obj;
718
981
  }
982
+
983
+ if (params.Encryption) {
984
+ let obj = new Encryption();
985
+ obj.deserialize(params.Encryption)
986
+ this.Encryption = obj;
987
+ }
988
+
989
+ if (params.IntentionVerifyData) {
990
+ let obj = new IntentionVerifyData();
991
+ obj.deserialize(params.IntentionVerifyData)
992
+ this.IntentionVerifyData = obj;
993
+ }
719
994
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
720
995
 
721
996
  }
@@ -748,19 +1023,19 @@ class PhoneVerificationRequest extends AbstractModel {
748
1023
  this.Phone = null;
749
1024
 
750
1025
  /**
751
- * 有加密需求的用户,接入传入kms的CiphertextBlob
1026
+ * 有加密需求的用户,传入kms的CiphertextBlob,关于数据加密可查阅 <a href="https://cloud.tencent.com/document/product/1007/47180">数据加密</a> 文档。
752
1027
  * @type {string || null}
753
1028
  */
754
1029
  this.CiphertextBlob = null;
755
1030
 
756
1031
  /**
757
- * 在使用加密服务时,填入要被加密的字段。本接口中可填入加密后的IdCard,Name,Phone中的一个或多个
1032
+ * 在使用加密服务时,填入要被加密的字段。本接口中可填入加密后的IdCard,Name,Phone中的一个或多个。
758
1033
  * @type {Array.<string> || null}
759
1034
  */
760
1035
  this.EncryptList = null;
761
1036
 
762
1037
  /**
763
- * 有加密需求的用户,传入CBC加密的初试向量
1038
+ * 有加密需求的用户,传入CBC加密的初始向量。
764
1039
  * @type {string || null}
765
1040
  */
766
1041
  this.Iv = null;
@@ -785,31 +1060,36 @@ class PhoneVerificationRequest extends AbstractModel {
785
1060
  }
786
1061
 
787
1062
  /**
788
- * DetectAuth返回参数结构体
1063
+ * PhoneVerificationCMCC请求参数结构体
789
1064
  * @class
790
1065
  */
791
- class DetectAuthResponse extends AbstractModel {
1066
+ class PhoneVerificationCMCCRequest extends AbstractModel {
792
1067
  constructor(){
793
1068
  super();
794
1069
 
795
1070
  /**
796
- * 用于发起核身流程的URL,仅微信H5场景使用。
1071
+ * 身份证号
797
1072
  * @type {string || null}
798
1073
  */
799
- this.Url = null;
1074
+ this.IdCard = null;
800
1075
 
801
1076
  /**
802
- * 一次核身流程的标识,有效时间为7,200秒;
803
- 完成核身后,可用该标识获取验证结果信息。
1077
+ * 姓名
804
1078
  * @type {string || null}
805
1079
  */
806
- this.BizToken = null;
1080
+ this.Name = null;
807
1081
 
808
1082
  /**
809
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1083
+ * 手机号
810
1084
  * @type {string || null}
811
1085
  */
812
- this.RequestId = null;
1086
+ this.Phone = null;
1087
+
1088
+ /**
1089
+ * 敏感数据加密信息。对传入信息(姓名、身份证号、手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
1090
+ * @type {Encryption || null}
1091
+ */
1092
+ this.Encryption = null;
813
1093
 
814
1094
  }
815
1095
 
@@ -820,49 +1100,46 @@ class DetectAuthResponse extends AbstractModel {
820
1100
  if (!params) {
821
1101
  return;
822
1102
  }
823
- this.Url = 'Url' in params ? params.Url : null;
824
- this.BizToken = 'BizToken' in params ? params.BizToken : null;
825
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1103
+ this.IdCard = 'IdCard' in params ? params.IdCard : null;
1104
+ this.Name = 'Name' in params ? params.Name : null;
1105
+ this.Phone = 'Phone' in params ? params.Phone : null;
1106
+
1107
+ if (params.Encryption) {
1108
+ let obj = new Encryption();
1109
+ obj.deserialize(params.Encryption)
1110
+ this.Encryption = obj;
1111
+ }
826
1112
 
827
1113
  }
828
1114
  }
829
1115
 
830
1116
  /**
831
- * PhoneVerification返回参数结构体
1117
+ * GetEidResult请求参数结构体
832
1118
  * @class
833
1119
  */
834
- class PhoneVerificationResponse extends AbstractModel {
1120
+ class GetEidResultRequest extends AbstractModel {
835
1121
  constructor(){
836
1122
  super();
837
1123
 
838
1124
  /**
839
- * 认证结果码:
840
- 收费结果码
841
- 0: 认证通过
842
- -4: 信息不一致(手机号已实名,但姓名和身份证号与实名信息不一致)
843
- -5: 手机号未实名
844
- 不收费结果码
845
- -6: 手机号码不合法
846
- -7: 身份证号码有误
847
- -8: 姓名校验不通过
848
- -9: 没有记录
849
- -10: 认证未通过
850
- -11: 验证中心服务繁忙
1125
+ * E证通流程的唯一标识,调用GetEidToken接口时生成。
851
1126
  * @type {string || null}
852
1127
  */
853
- this.Result = null;
1128
+ this.EidToken = null;
854
1129
 
855
1130
  /**
856
- * 业务结果描述。
1131
+ * 指定拉取的结果信息,取值(0:全部;1:文本类;2:身份证信息;3:最佳截图信息)。
1132
+ 如 13表示拉取文本类、最佳截图信息。
1133
+ 默认值:0
857
1134
  * @type {string || null}
858
1135
  */
859
- this.Description = null;
1136
+ this.InfoType = null;
860
1137
 
861
1138
  /**
862
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
863
- * @type {string || null}
1139
+ * 从活体视频中截取一定张数的最佳帧。默认为0,最大为3,超出3的最多只给3张。(InfoType需要包含3)
1140
+ * @type {number || null}
864
1141
  */
865
- this.RequestId = null;
1142
+ this.BestFramesCount = null;
866
1143
 
867
1144
  }
868
1145
 
@@ -873,51 +1150,39 @@ class PhoneVerificationResponse extends AbstractModel {
873
1150
  if (!params) {
874
1151
  return;
875
1152
  }
876
- this.Result = 'Result' in params ? params.Result : null;
877
- this.Description = 'Description' in params ? params.Description : null;
878
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1153
+ this.EidToken = 'EidToken' in params ? params.EidToken : null;
1154
+ this.InfoType = 'InfoType' in params ? params.InfoType : null;
1155
+ this.BestFramesCount = 'BestFramesCount' in params ? params.BestFramesCount : null;
879
1156
 
880
1157
  }
881
1158
  }
882
1159
 
883
1160
  /**
884
- * IdCardOCRVerification请求参数结构体
1161
+ * DetectAuth返回参数结构体
885
1162
  * @class
886
1163
  */
887
- class IdCardOCRVerificationRequest extends AbstractModel {
1164
+ class DetectAuthResponse extends AbstractModel {
888
1165
  constructor(){
889
1166
  super();
890
1167
 
891
1168
  /**
892
- * 身份证号
893
- 姓名和身份证号、ImageBase64、ImageUrl三者必须提供其中之一。若都提供了,则按照姓名和身份证号>ImageBase64>ImageUrl的优先级使用参数。
1169
+ * 用于发起核身流程的URL,仅微信H5场景使用。
894
1170
  * @type {string || null}
895
1171
  */
896
- this.IdCard = null;
1172
+ this.Url = null;
897
1173
 
898
1174
  /**
899
- * 姓名
1175
+ * 一次核身流程的标识,有效时间为7,200秒;
1176
+ 完成核身后,可用该标识获取验证结果信息。
900
1177
  * @type {string || null}
901
1178
  */
902
- this.Name = null;
1179
+ this.BizToken = null;
903
1180
 
904
1181
  /**
905
- * 身份证人像面的 Base64
906
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
907
- 支持的图片大小:所下载图片经Base64编码后不超过 3M。图片下载时间不超过 3 秒。请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
1182
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
908
1183
  * @type {string || null}
909
1184
  */
910
- this.ImageBase64 = null;
911
-
912
- /**
913
- * 身份证人像面的 Url 地址
914
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
915
- 支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。
916
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
917
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
918
- * @type {string || null}
919
- */
920
- this.ImageUrl = null;
1185
+ this.RequestId = null;
921
1186
 
922
1187
  }
923
1188
 
@@ -928,45 +1193,32 @@ class IdCardOCRVerificationRequest extends AbstractModel {
928
1193
  if (!params) {
929
1194
  return;
930
1195
  }
931
- this.IdCard = 'IdCard' in params ? params.IdCard : null;
932
- this.Name = 'Name' in params ? params.Name : null;
933
- this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
934
- this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
1196
+ this.Url = 'Url' in params ? params.Url : null;
1197
+ this.BizToken = 'BizToken' in params ? params.BizToken : null;
1198
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
935
1199
 
936
1200
  }
937
1201
  }
938
1202
 
939
1203
  /**
940
- * BankCard4EVerification返回参数结构体
1204
+ * PhoneVerification返回参数结构体
941
1205
  * @class
942
1206
  */
943
- class BankCard4EVerificationResponse extends AbstractModel {
1207
+ class PhoneVerificationResponse extends AbstractModel {
944
1208
  constructor(){
945
1209
  super();
946
1210
 
947
1211
  /**
948
- * 认证结果码
949
- 收费结果码:
950
- '0': '认证通过'
951
- '-1': '认证未通过'
952
- '-6': '持卡人信息有误'
953
- '-7': '未开通无卡支付'
954
- '-8': '此卡被没收'
955
- '-9': '无效卡号'
956
- '-10': '此卡无对应发卡行'
957
- '-11': '该卡未初始化或睡眠卡'
958
- '-12': '作弊卡、吞卡'
959
- '-13': '此卡已挂失'
960
- '-14': '该卡已过期'
961
- '-15': '受限制的卡'
962
- '-16': '密码错误次数超限'
963
- '-17': '发卡行不支持此交易'
964
- 不收费结果码:
965
- '-2': '姓名校验不通过'
966
- '-3': '身份证号码有误'
967
- '-4': '银行卡号码有误'
968
- '-5': '手机号码不合法'
969
- '-18': '验证中心服务繁忙'
1212
+ * 认证结果码:
1213
+ 收费结果码
1214
+ 0: 三要素信息一致
1215
+ -4: 三要素信息不一致
1216
+ 不收费结果码
1217
+ -6: 手机号码不合法
1218
+ -7: 身份证号码有误
1219
+ -8: 姓名校验不通过
1220
+ -9: 没有记录
1221
+ -11: 验证中心服务繁忙
970
1222
  * @type {string || null}
971
1223
  */
972
1224
  this.Result = null;
@@ -977,6 +1229,13 @@ class BankCard4EVerificationResponse extends AbstractModel {
977
1229
  */
978
1230
  this.Description = null;
979
1231
 
1232
+ /**
1233
+ * 运营商名称。
1234
+ 取值范围为["","移动","电信","联通"]
1235
+ * @type {string || null}
1236
+ */
1237
+ this.Isp = null;
1238
+
980
1239
  /**
981
1240
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
982
1241
  * @type {string || null}
@@ -994,84 +1253,62 @@ class BankCard4EVerificationResponse extends AbstractModel {
994
1253
  }
995
1254
  this.Result = 'Result' in params ? params.Result : null;
996
1255
  this.Description = 'Description' in params ? params.Description : null;
1256
+ this.Isp = 'Isp' in params ? params.Isp : null;
997
1257
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
998
1258
 
999
1259
  }
1000
1260
  }
1001
1261
 
1002
1262
  /**
1003
- * MobileStatus请求参数结构体
1263
+ * GetEidToken请求参数结构体
1004
1264
  * @class
1005
1265
  */
1006
- class MobileStatusRequest extends AbstractModel {
1266
+ class GetEidTokenRequest extends AbstractModel {
1007
1267
  constructor(){
1008
1268
  super();
1009
1269
 
1010
1270
  /**
1011
- * 手机号码
1271
+ * EID商户id,字段长度最长50位。
1012
1272
  * @type {string || null}
1013
1273
  */
1014
- this.Mobile = null;
1015
-
1016
- }
1017
-
1018
- /**
1019
- * @private
1020
- */
1021
- deserialize(params) {
1022
- if (!params) {
1023
- return;
1024
- }
1025
- this.Mobile = 'Mobile' in params ? params.Mobile : null;
1026
-
1027
- }
1028
- }
1029
-
1030
- /**
1031
- * LivenessRecognition返回参数结构体
1032
- * @class
1033
- */
1034
- class LivenessRecognitionResponse extends AbstractModel {
1035
- constructor(){
1036
- super();
1274
+ this.MerchantId = null;
1037
1275
 
1038
1276
  /**
1039
- * 验证通过后的视频最佳截图照片,照片为BASE64编码后的值,jpg格式。
1040
- 注意:此字段可能返回 null,表示取不到有效值。
1277
+ * 身份标识(未使用OCR服务时,必须传入)。
1278
+ 规则:a-zA-Z0-9组合。最长长度32位。
1041
1279
  * @type {string || null}
1042
1280
  */
1043
- this.BestFrameBase64 = null;
1281
+ this.IdCard = null;
1044
1282
 
1045
1283
  /**
1046
- * 相似度,取值范围 [0.00, 100.00]。推荐相似度大于等于70时可判断为同一人,可根据具体场景自行调整阈值(阈值70的误通过率为千分之一,阈值80的误通过率是万分之一)
1047
- * @type {number || null}
1284
+ * 姓名。(未使用OCR服务时,必须传入)最长长度32位。中文请使用UTF-8编码。
1285
+ * @type {string || null}
1048
1286
  */
1049
- this.Sim = null;
1287
+ this.Name = null;
1050
1288
 
1051
1289
  /**
1052
- * 业务错误码,成功情况返回Success, 错误情况请参考下方错误码 列表中FailedOperation部分
1290
+ * 透传字段,在获取验证结果时返回。最长长度1024位。
1053
1291
  * @type {string || null}
1054
1292
  */
1055
- this.Result = null;
1293
+ this.Extra = null;
1056
1294
 
1057
1295
  /**
1058
- * 业务结果描述。
1059
- * @type {string || null}
1296
+ * 小程序模式配置,包括如何传入姓名身份证的配置。
1297
+ * @type {GetEidTokenConfig || null}
1060
1298
  */
1061
- this.Description = null;
1299
+ this.Config = null;
1062
1300
 
1063
1301
  /**
1064
- * 最佳截图列表,仅在配置了返回多张最佳截图时返回。
1065
- 注意:此字段可能返回 null,表示取不到有效值。
1066
- * @type {Array.<string> || null}
1302
+ * 最长长度1024位。用户从Url中进入核身认证结束后重定向的回调链接地址。EidToken会在该链接的query参数中。
1303
+ * @type {string || null}
1067
1304
  */
1068
- this.BestFrameList = null;
1305
+ this.RedirectUrl = null;
1069
1306
 
1070
1307
  /**
1071
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1072
- * @type {string || null}
1308
+ * 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
1309
+ * @type {Encryption || null}
1073
1310
  */
1074
- this.RequestId = null;
1311
+ this.Encryption = null;
1075
1312
 
1076
1313
  }
1077
1314
 
@@ -1082,24 +1319,42 @@ class LivenessRecognitionResponse extends AbstractModel {
1082
1319
  if (!params) {
1083
1320
  return;
1084
1321
  }
1085
- this.BestFrameBase64 = 'BestFrameBase64' in params ? params.BestFrameBase64 : null;
1086
- this.Sim = 'Sim' in params ? params.Sim : null;
1087
- this.Result = 'Result' in params ? params.Result : null;
1088
- this.Description = 'Description' in params ? params.Description : null;
1089
- this.BestFrameList = 'BestFrameList' in params ? params.BestFrameList : null;
1090
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1322
+ this.MerchantId = 'MerchantId' in params ? params.MerchantId : null;
1323
+ this.IdCard = 'IdCard' in params ? params.IdCard : null;
1324
+ this.Name = 'Name' in params ? params.Name : null;
1325
+ this.Extra = 'Extra' in params ? params.Extra : null;
1326
+
1327
+ if (params.Config) {
1328
+ let obj = new GetEidTokenConfig();
1329
+ obj.deserialize(params.Config)
1330
+ this.Config = obj;
1331
+ }
1332
+ this.RedirectUrl = 'RedirectUrl' in params ? params.RedirectUrl : null;
1333
+
1334
+ if (params.Encryption) {
1335
+ let obj = new Encryption();
1336
+ obj.deserialize(params.Encryption)
1337
+ this.Encryption = obj;
1338
+ }
1091
1339
 
1092
1340
  }
1093
1341
  }
1094
1342
 
1095
1343
  /**
1096
- * BankCard2EVerification请求参数结构体
1344
+ * IdCardOCRVerification请求参数结构体
1097
1345
  * @class
1098
1346
  */
1099
- class BankCard2EVerificationRequest extends AbstractModel {
1347
+ class IdCardOCRVerificationRequest extends AbstractModel {
1100
1348
  constructor(){
1101
1349
  super();
1102
1350
 
1351
+ /**
1352
+ * 身份证号
1353
+ 姓名和身份证号、ImageBase64、ImageUrl三者必须提供其中之一。若都提供了,则按照姓名和身份证号>ImageBase64>ImageUrl的优先级使用参数。
1354
+ * @type {string || null}
1355
+ */
1356
+ this.IdCard = null;
1357
+
1103
1358
  /**
1104
1359
  * 姓名
1105
1360
  * @type {string || null}
@@ -1107,10 +1362,28 @@ class BankCard2EVerificationRequest extends AbstractModel {
1107
1362
  this.Name = null;
1108
1363
 
1109
1364
  /**
1110
- * 银行卡
1365
+ * 身份证人像面的 Base64 值
1366
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
1367
+ 支持的图片大小:所下载图片经Base64编码后不超过 3M。请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
1111
1368
  * @type {string || null}
1112
1369
  */
1113
- this.BankCard = null;
1370
+ this.ImageBase64 = null;
1371
+
1372
+ /**
1373
+ * 身份证人像面的 Url 地址
1374
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
1375
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。
1376
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
1377
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
1378
+ * @type {string || null}
1379
+ */
1380
+ this.ImageUrl = null;
1381
+
1382
+ /**
1383
+ * 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
1384
+ * @type {Encryption || null}
1385
+ */
1386
+ this.Encryption = null;
1114
1387
 
1115
1388
  }
1116
1389
 
@@ -1121,62 +1394,51 @@ class BankCard2EVerificationRequest extends AbstractModel {
1121
1394
  if (!params) {
1122
1395
  return;
1123
1396
  }
1397
+ this.IdCard = 'IdCard' in params ? params.IdCard : null;
1124
1398
  this.Name = 'Name' in params ? params.Name : null;
1125
- this.BankCard = 'BankCard' in params ? params.BankCard : null;
1399
+ this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
1400
+ this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
1401
+
1402
+ if (params.Encryption) {
1403
+ let obj = new Encryption();
1404
+ obj.deserialize(params.Encryption)
1405
+ this.Encryption = obj;
1406
+ }
1126
1407
 
1127
1408
  }
1128
1409
  }
1129
1410
 
1130
1411
  /**
1131
- * LivenessRecognition请求参数结构体
1412
+ * GetWeChatBillDetails返回参数结构体
1132
1413
  * @class
1133
1414
  */
1134
- class LivenessRecognitionRequest extends AbstractModel {
1415
+ class GetWeChatBillDetailsResponse extends AbstractModel {
1135
1416
  constructor(){
1136
1417
  super();
1137
1418
 
1138
1419
  /**
1139
- * 身份证号
1140
- * @type {string || null}
1141
- */
1142
- this.IdCard = null;
1143
-
1144
- /**
1145
- * 姓名。中文请使用UTF-8编码。
1146
- * @type {string || null}
1147
- */
1148
- this.Name = null;
1149
-
1150
- /**
1151
- * 用于活体检测的视频,视频的BASE64值;
1152
- BASE64编码后的大小不超过8M,支持mp4、avi、flv格式。
1153
- * @type {string || null}
1420
+ * 是否还有下一页。该字段为true时,需要将NextCursor的值作为入参Cursor继续调用本接口。
1421
+ * @type {boolean || null}
1154
1422
  */
1155
- this.VideoBase64 = null;
1423
+ this.HasNextPage = null;
1156
1424
 
1157
1425
  /**
1158
- * 活体检测类型,取值:LIP/ACTION/SILENT。
1159
- LIP为数字模式,ACTION为动作模式,SILENT为静默模式,三种模式选择一种传入。
1160
- * @type {string || null}
1426
+ * 下一页的游标。用于分页。
1427
+ * @type {number || null}
1161
1428
  */
1162
- this.LivenessType = null;
1429
+ this.NextCursor = null;
1163
1430
 
1164
1431
  /**
1165
- * 数字模式传参:数字验证码(1234),需先调用接口获取数字验证码;
1166
- 动作模式传参:传动作顺序(2,1 or 1,2),需先调用接口获取动作顺序;
1167
- 静默模式传参:空。
1168
- * @type {string || null}
1432
+ * 数据
1433
+ * @type {Array.<WeChatBillDetail> || null}
1169
1434
  */
1170
- this.ValidateData = null;
1435
+ this.WeChatBillDetails = null;
1171
1436
 
1172
1437
  /**
1173
- * 额外配置,传入JSON字符串。
1174
- {
1175
- "BestFrameNum": 2 //需要返回多张最佳截图,取值范围1-10
1176
- }
1438
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1177
1439
  * @type {string || null}
1178
1440
  */
1179
- this.Optional = null;
1441
+ this.RequestId = null;
1180
1442
 
1181
1443
  }
1182
1444
 
@@ -1187,29 +1449,48 @@ LIP为数字模式,ACTION为动作模式,SILENT为静默模式,三种模
1187
1449
  if (!params) {
1188
1450
  return;
1189
1451
  }
1190
- this.IdCard = 'IdCard' in params ? params.IdCard : null;
1191
- this.Name = 'Name' in params ? params.Name : null;
1192
- this.VideoBase64 = 'VideoBase64' in params ? params.VideoBase64 : null;
1193
- this.LivenessType = 'LivenessType' in params ? params.LivenessType : null;
1194
- this.ValidateData = 'ValidateData' in params ? params.ValidateData : null;
1195
- this.Optional = 'Optional' in params ? params.Optional : null;
1452
+ this.HasNextPage = 'HasNextPage' in params ? params.HasNextPage : null;
1453
+ this.NextCursor = 'NextCursor' in params ? params.NextCursor : null;
1454
+
1455
+ if (params.WeChatBillDetails) {
1456
+ this.WeChatBillDetails = new Array();
1457
+ for (let z in params.WeChatBillDetails) {
1458
+ let obj = new WeChatBillDetail();
1459
+ obj.deserialize(params.WeChatBillDetails[z]);
1460
+ this.WeChatBillDetails.push(obj);
1461
+ }
1462
+ }
1463
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1196
1464
 
1197
1465
  }
1198
1466
  }
1199
1467
 
1200
1468
  /**
1201
- * GetFaceIdToken返回参数结构体
1469
+ * CheckPhoneAndName返回参数结构体
1202
1470
  * @class
1203
1471
  */
1204
- class GetFaceIdTokenResponse extends AbstractModel {
1472
+ class CheckPhoneAndNameResponse extends AbstractModel {
1205
1473
  constructor(){
1206
1474
  super();
1207
1475
 
1208
1476
  /**
1209
- * 有效期 10分钟。只能完成1次核身。
1477
+ * 认证结果码,收费情况如下。
1478
+ 收费结果码:
1479
+ 0: 验证结果一致
1480
+ 1: 验证结果不一致
1481
+ 不收费结果码:
1482
+ -1:查无记录
1483
+ -2:引擎未知错误
1484
+ -3:引擎服务异常
1210
1485
  * @type {string || null}
1211
1486
  */
1212
- this.FaceIdToken = null;
1487
+ this.Result = null;
1488
+
1489
+ /**
1490
+ * 业务结果描述
1491
+ * @type {string || null}
1492
+ */
1493
+ this.Description = null;
1213
1494
 
1214
1495
  /**
1215
1496
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -1226,30 +1507,44 @@ class GetFaceIdTokenResponse extends AbstractModel {
1226
1507
  if (!params) {
1227
1508
  return;
1228
1509
  }
1229
- this.FaceIdToken = 'FaceIdToken' in params ? params.FaceIdToken : null;
1510
+ this.Result = 'Result' in params ? params.Result : null;
1511
+ this.Description = 'Description' in params ? params.Description : null;
1230
1512
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
1231
1513
 
1232
1514
  }
1233
1515
  }
1234
1516
 
1235
1517
  /**
1236
- * IdCardOCRVerification返回参数结构体
1518
+ * BankCard4EVerification返回参数结构体
1237
1519
  * @class
1238
1520
  */
1239
- class IdCardOCRVerificationResponse extends AbstractModel {
1521
+ class BankCard4EVerificationResponse extends AbstractModel {
1240
1522
  constructor(){
1241
1523
  super();
1242
1524
 
1243
1525
  /**
1244
- * 认证结果码,收费情况如下。
1526
+ * 认证结果码
1245
1527
  收费结果码:
1246
- 0: 姓名和身份证号一致
1247
- -1: 姓名和身份证号不一致
1528
+ '0': '认证通过'
1529
+ '-1': '认证未通过'
1530
+ '-6': '持卡人信息有误'
1531
+ '-7': '未开通无卡支付'
1532
+ '-8': '此卡被没收'
1533
+ '-9': '无效卡号'
1534
+ '-10': '此卡无对应发卡行'
1535
+ '-11': '该卡未初始化或睡眠卡'
1536
+ '-12': '作弊卡、吞卡'
1537
+ '-13': '此卡已挂失'
1538
+ '-14': '该卡已过期'
1539
+ '-15': '受限制的卡'
1540
+ '-16': '密码错误次数超限'
1541
+ '-17': '发卡行不支持此交易'
1248
1542
  不收费结果码:
1249
- -2: 非法身份证号(长度、校验位等不正确)
1250
- -3: 非法姓名(长度、格式等不正确)
1251
- -4: 证件库服务异常
1252
- -5: 证件库中无此身份证记录
1543
+ '-2': '姓名校验不通过'
1544
+ '-3': '身份证号码有误'
1545
+ '-4': '银行卡号码有误'
1546
+ '-5': '手机号码不合法'
1547
+ '-18': '验证中心服务繁忙'
1253
1548
  * @type {string || null}
1254
1549
  */
1255
1550
  this.Result = null;
@@ -1261,47 +1556,7 @@ class IdCardOCRVerificationResponse extends AbstractModel {
1261
1556
  this.Description = null;
1262
1557
 
1263
1558
  /**
1264
- * 用于验证的姓名
1265
- * @type {string || null}
1266
- */
1267
- this.Name = null;
1268
-
1269
- /**
1270
- * 用于验证的身份证号
1271
- * @type {string || null}
1272
- */
1273
- this.IdCard = null;
1274
-
1275
- /**
1276
- * OCR得到的性别
1277
- 注意:此字段可能返回 null,表示取不到有效值。
1278
- * @type {string || null}
1279
- */
1280
- this.Sex = null;
1281
-
1282
- /**
1283
- * OCR得到的民族
1284
- 注意:此字段可能返回 null,表示取不到有效值。
1285
- * @type {string || null}
1286
- */
1287
- this.Nation = null;
1288
-
1289
- /**
1290
- * OCR得到的生日
1291
- 注意:此字段可能返回 null,表示取不到有效值。
1292
- * @type {string || null}
1293
- */
1294
- this.Birth = null;
1295
-
1296
- /**
1297
- * OCR得到的地址
1298
- 注意:此字段可能返回 null,表示取不到有效值。
1299
- * @type {string || null}
1300
- */
1301
- this.Address = null;
1302
-
1303
- /**
1304
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1559
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1305
1560
  * @type {string || null}
1306
1561
  */
1307
1562
  this.RequestId = null;
@@ -1317,60 +1572,30 @@ class IdCardOCRVerificationResponse extends AbstractModel {
1317
1572
  }
1318
1573
  this.Result = 'Result' in params ? params.Result : null;
1319
1574
  this.Description = 'Description' in params ? params.Description : null;
1320
- this.Name = 'Name' in params ? params.Name : null;
1321
- this.IdCard = 'IdCard' in params ? params.IdCard : null;
1322
- this.Sex = 'Sex' in params ? params.Sex : null;
1323
- this.Nation = 'Nation' in params ? params.Nation : null;
1324
- this.Birth = 'Birth' in params ? params.Birth : null;
1325
- this.Address = 'Address' in params ? params.Address : null;
1326
1575
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
1327
1576
 
1328
1577
  }
1329
1578
  }
1330
1579
 
1331
1580
  /**
1332
- * MobileStatus返回参数结构体
1581
+ * MobileStatus请求参数结构体
1333
1582
  * @class
1334
1583
  */
1335
- class MobileStatusResponse extends AbstractModel {
1584
+ class MobileStatusRequest extends AbstractModel {
1336
1585
  constructor(){
1337
1586
  super();
1338
1587
 
1339
1588
  /**
1340
- * 认证结果码,收费情况如下。
1341
- 收费结果码:
1342
- 0:成功
1343
- 不收费结果码:
1344
- -1:未查询到结果
1345
- -2:手机号格式不正确
1346
- -3:验证中心服务繁忙
1347
- * @type {string || null}
1348
- */
1349
- this.Result = null;
1350
-
1351
- /**
1352
- * 业务结果描述。
1589
+ * 手机号码
1353
1590
  * @type {string || null}
1354
1591
  */
1355
- this.Description = null;
1356
-
1357
- /**
1358
- * 状态码:
1359
- 0:正常
1360
- 1:停机
1361
- 2:销号
1362
- 3:空号
1363
- 4:不在网
1364
- 99:未知状态
1365
- * @type {number || null}
1366
- */
1367
- this.StatusCode = null;
1592
+ this.Mobile = null;
1368
1593
 
1369
1594
  /**
1370
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1371
- * @type {string || null}
1595
+ * 敏感数据加密信息。对传入信息(手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
1596
+ * @type {Encryption || null}
1372
1597
  */
1373
- this.RequestId = null;
1598
+ this.Encryption = null;
1374
1599
 
1375
1600
  }
1376
1601
 
@@ -1381,31 +1606,39 @@ class MobileStatusResponse extends AbstractModel {
1381
1606
  if (!params) {
1382
1607
  return;
1383
1608
  }
1384
- this.Result = 'Result' in params ? params.Result : null;
1385
- this.Description = 'Description' in params ? params.Description : null;
1386
- this.StatusCode = 'StatusCode' in params ? params.StatusCode : null;
1387
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1609
+ this.Mobile = 'Mobile' in params ? params.Mobile : null;
1610
+
1611
+ if (params.Encryption) {
1612
+ let obj = new Encryption();
1613
+ obj.deserialize(params.Encryption)
1614
+ this.Encryption = obj;
1615
+ }
1388
1616
 
1389
1617
  }
1390
1618
  }
1391
1619
 
1392
1620
  /**
1393
- * Liveness返回参数结构体
1621
+ * DetectReflectLivenessAndCompare返回参数结构体
1394
1622
  * @class
1395
1623
  */
1396
- class LivenessResponse extends AbstractModel {
1624
+ class DetectReflectLivenessAndCompareResponse extends AbstractModel {
1397
1625
  constructor(){
1398
1626
  super();
1399
1627
 
1400
1628
  /**
1401
- * 验证通过后的视频最佳截图照片,照片为BASE64编码后的值,jpg格式。
1402
- 注意:此字段可能返回 null,表示取不到有效值。
1629
+ * 验证通过后的视频最佳截图资源临时地址,jpg格式,资源和链接有效期2小时,务必在有效期内下载。
1403
1630
  * @type {string || null}
1404
1631
  */
1405
- this.BestFrameBase64 = null;
1632
+ this.BestFrameUrl = null;
1406
1633
 
1407
1634
  /**
1408
- * 业务错误码,成功情况返回Success, 错误情况请参考下方错误码 列表中FailedOperation部分
1635
+ * 验证通过后的视频最佳截图资源MD5(32位,用于校验BestFrame的一致性)。
1636
+ * @type {string || null}
1637
+ */
1638
+ this.BestFrameMd5 = null;
1639
+
1640
+ /**
1641
+ * 业务错误码,成功情况返回Success,错误情况请参考下方错误码 列表中FailedOperation部分。
1409
1642
  * @type {string || null}
1410
1643
  */
1411
1644
  this.Result = null;
@@ -1417,11 +1650,10 @@ class LivenessResponse extends AbstractModel {
1417
1650
  this.Description = null;
1418
1651
 
1419
1652
  /**
1420
- * 最佳最佳截图列表,仅在配置了返回多张最佳截图时有效。
1421
- 注意:此字段可能返回 null,表示取不到有效值。
1422
- * @type {Array.<string> || null}
1653
+ * 相似度,取值范围 [0.00, 100.00]。推荐相似度大于等于70时可判断为同一人,可根据具体场景自行调整阈值(阈值70的误通过率为千分之一,阈值80的误通过率是万分之一)。
1654
+ * @type {number || null}
1423
1655
  */
1424
- this.BestFrameList = null;
1656
+ this.Sim = null;
1425
1657
 
1426
1658
  /**
1427
1659
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -1438,59 +1670,41 @@ class LivenessResponse extends AbstractModel {
1438
1670
  if (!params) {
1439
1671
  return;
1440
1672
  }
1441
- this.BestFrameBase64 = 'BestFrameBase64' in params ? params.BestFrameBase64 : null;
1673
+ this.BestFrameUrl = 'BestFrameUrl' in params ? params.BestFrameUrl : null;
1674
+ this.BestFrameMd5 = 'BestFrameMd5' in params ? params.BestFrameMd5 : null;
1442
1675
  this.Result = 'Result' in params ? params.Result : null;
1443
1676
  this.Description = 'Description' in params ? params.Description : null;
1444
- this.BestFrameList = 'BestFrameList' in params ? params.BestFrameList : null;
1677
+ this.Sim = 'Sim' in params ? params.Sim : null;
1445
1678
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
1446
1679
 
1447
1680
  }
1448
1681
  }
1449
1682
 
1450
1683
  /**
1451
- * CheckIdCardInformation请求参数结构体
1684
+ * GetRealNameAuthToken请求参数结构体
1452
1685
  * @class
1453
1686
  */
1454
- class CheckIdCardInformationRequest extends AbstractModel {
1687
+ class GetRealNameAuthTokenRequest extends AbstractModel {
1455
1688
  constructor(){
1456
1689
  super();
1457
1690
 
1458
1691
  /**
1459
- * 身份证人像面的 Base64 值
1460
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
1461
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
1462
- 请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
1463
- ImageBase64、ImageUrl二者必须提供其中之一。若都提供了,则按照ImageUrl>ImageBase64的优先级使用参数。
1692
+ * 姓名
1464
1693
  * @type {string || null}
1465
1694
  */
1466
- this.ImageBase64 = null;
1695
+ this.Name = null;
1467
1696
 
1468
1697
  /**
1469
- * 身份证人像面的 Url 地址
1470
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
1471
- 支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。
1472
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
1473
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
1698
+ * 身份证号
1474
1699
  * @type {string || null}
1475
1700
  */
1476
- this.ImageUrl = null;
1701
+ this.IDCard = null;
1477
1702
 
1478
1703
  /**
1479
- * 以下可选字段均为bool 类型,默认false:
1480
- CopyWarn,复印件告警
1481
- BorderCheckWarn,边框和框内遮挡告警
1482
- ReshootWarn,翻拍告警
1483
- DetectPsWarn,PS检测告警
1484
- TempIdWarn,临时身份证告警
1485
- Quality,图片质量告警(评价图片模糊程度)
1486
-
1487
- SDK 设置方式参考:
1488
- Config = Json.stringify({"CopyWarn":true,"ReshootWarn":true})
1489
- API 3.0 Explorer 设置方式参考:
1490
- Config = {"CopyWarn":true,"ReshootWarn":true}
1704
+ * 回调地址。实名认证完成后,将会重定向到这个地址通知认证发起方。仅支持http或https协议。
1491
1705
  * @type {string || null}
1492
1706
  */
1493
- this.Config = null;
1707
+ this.CallbackURL = null;
1494
1708
 
1495
1709
  }
1496
1710
 
@@ -1501,167 +1715,168 @@ Config = {"CopyWarn":true,"ReshootWarn":true}
1501
1715
  if (!params) {
1502
1716
  return;
1503
1717
  }
1504
- this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
1505
- this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
1506
- this.Config = 'Config' in params ? params.Config : null;
1718
+ this.Name = 'Name' in params ? params.Name : null;
1719
+ this.IDCard = 'IDCard' in params ? params.IDCard : null;
1720
+ this.CallbackURL = 'CallbackURL' in params ? params.CallbackURL : null;
1507
1721
 
1508
1722
  }
1509
1723
  }
1510
1724
 
1511
1725
  /**
1512
- * 核身文本信息
1726
+ * ParseNfcData返回参数结构体
1513
1727
  * @class
1514
1728
  */
1515
- class DetectInfoText extends AbstractModel {
1729
+ class ParseNfcDataResponse extends AbstractModel {
1516
1730
  constructor(){
1517
1731
  super();
1518
1732
 
1519
1733
  /**
1520
- * 本次流程最终验证结果。0为成功
1734
+ * 0为首次查询成功,-1为查询失败。
1521
1735
  注意:此字段可能返回 null,表示取不到有效值。
1522
- * @type {number || null}
1736
+ * @type {string || null}
1523
1737
  */
1524
- this.ErrCode = null;
1738
+ this.ResultCode = null;
1525
1739
 
1526
1740
  /**
1527
- * 本次流程最终验证结果描述。(仅描述用,文案更新时不会通知。)
1741
+ * 身份证号
1528
1742
  注意:此字段可能返回 null,表示取不到有效值。
1529
1743
  * @type {string || null}
1530
1744
  */
1531
- this.ErrMsg = null;
1745
+ this.IdNum = null;
1532
1746
 
1533
1747
  /**
1534
- * 本次验证使用的身份证号。
1748
+ * 姓名
1535
1749
  注意:此字段可能返回 null,表示取不到有效值。
1536
1750
  * @type {string || null}
1537
1751
  */
1538
- this.IdCard = null;
1752
+ this.Name = null;
1539
1753
 
1540
1754
  /**
1541
- * 本次验证使用的姓名。
1755
+ * 照片
1542
1756
  注意:此字段可能返回 null,表示取不到有效值。
1543
1757
  * @type {string || null}
1544
1758
  */
1545
- this.Name = null;
1759
+ this.Picture = null;
1546
1760
 
1547
1761
  /**
1548
- * Ocr识别结果。民族。
1762
+ * 出生日期
1549
1763
  注意:此字段可能返回 null,表示取不到有效值。
1550
1764
  * @type {string || null}
1551
1765
  */
1552
- this.OcrNation = null;
1766
+ this.BirthDate = null;
1553
1767
 
1554
1768
  /**
1555
- * Ocr识别结果。家庭住址。
1769
+ * 有效期起始时间
1556
1770
  注意:此字段可能返回 null,表示取不到有效值。
1557
1771
  * @type {string || null}
1558
1772
  */
1559
- this.OcrAddress = null;
1773
+ this.BeginTime = null;
1560
1774
 
1561
1775
  /**
1562
- * Ocr识别结果。生日。
1776
+ * 有效期结束时间
1563
1777
  注意:此字段可能返回 null,表示取不到有效值。
1564
1778
  * @type {string || null}
1565
1779
  */
1566
- this.OcrBirth = null;
1780
+ this.EndTime = null;
1567
1781
 
1568
1782
  /**
1569
- * Ocr识别结果。签发机关。
1783
+ * 住址
1570
1784
  注意:此字段可能返回 null,表示取不到有效值。
1571
1785
  * @type {string || null}
1572
1786
  */
1573
- this.OcrAuthority = null;
1787
+ this.Address = null;
1574
1788
 
1575
1789
  /**
1576
- * Ocr识别结果。有效日期。
1790
+ * 民族
1577
1791
  注意:此字段可能返回 null,表示取不到有效值。
1578
1792
  * @type {string || null}
1579
1793
  */
1580
- this.OcrValidDate = null;
1794
+ this.Nation = null;
1581
1795
 
1582
1796
  /**
1583
- * Ocr识别结果。姓名。
1797
+ * 性别
1584
1798
  注意:此字段可能返回 null,表示取不到有效值。
1585
1799
  * @type {string || null}
1586
1800
  */
1587
- this.OcrName = null;
1801
+ this.Sex = null;
1588
1802
 
1589
1803
  /**
1590
- * Ocr识别结果。身份证号。
1804
+ * 身份证 01 中国护照 03 军官证 04 武警证 05 港澳通行证 06 台胞证 07 外国护照 08 士兵证 09 临时身份证 10 户口本 11 警官证 12 外国人永久居留证 13 港澳台居民居住证 14 回乡证 15 大陆居民来往台湾通行证 16 其他证件 99
1591
1805
  注意:此字段可能返回 null,表示取不到有效值。
1592
1806
  * @type {string || null}
1593
1807
  */
1594
- this.OcrIdCard = null;
1808
+ this.IdType = null;
1595
1809
 
1596
1810
  /**
1597
- * Ocr识别结果。性别。
1811
+ * 英文姓名
1598
1812
  注意:此字段可能返回 null,表示取不到有效值。
1599
1813
  * @type {string || null}
1600
1814
  */
1601
- this.OcrGender = null;
1815
+ this.EnName = null;
1602
1816
 
1603
1817
  /**
1604
- * 本次流程最终活体结果。0为成功
1818
+ * 签发机关
1605
1819
  注意:此字段可能返回 null,表示取不到有效值。
1606
- * @type {number || null}
1820
+ * @type {string || null}
1607
1821
  */
1608
- this.LiveStatus = null;
1822
+ this.SigningOrganization = null;
1609
1823
 
1610
1824
  /**
1611
- * 本次流程最终活体结果描述。(仅描述用,文案更新时不会通知。)
1825
+ * 港澳台居民居住证,通行证号码
1612
1826
  注意:此字段可能返回 null,表示取不到有效值。
1613
1827
  * @type {string || null}
1614
1828
  */
1615
- this.LiveMsg = null;
1829
+ this.OtherIdNum = null;
1616
1830
 
1617
1831
  /**
1618
- * 本次流程最终一比一结果。0为成功
1832
+ * 旅行证件国籍
1619
1833
  注意:此字段可能返回 null,表示取不到有效值。
1620
- * @type {number || null}
1834
+ * @type {string || null}
1621
1835
  */
1622
- this.Comparestatus = null;
1836
+ this.Nationality = null;
1623
1837
 
1624
1838
  /**
1625
- * 本次流程最终一比一结果描述。(仅描述用,文案更新时不会通知。)
1839
+ * 旅行证件机读区第二行 29~42 位
1626
1840
  注意:此字段可能返回 null,表示取不到有效值。
1627
1841
  * @type {string || null}
1628
1842
  */
1629
- this.Comparemsg = null;
1843
+ this.PersonalNumber = null;
1630
1844
 
1631
1845
  /**
1632
- * 本次流程活体一比一的分数。
1846
+ * 旅行证件类的核验结果。JSON格式如下:
1847
+ {"result_issuer ":"签发者证书合法性验证结果 ","result_pape r":"证件安全对象合法性验证 结果 ","result_data" :"防数据篡改验证结果 ","result_chip" :"防证书件芯片被复制验证结果"}
1848
+ 0:验证通过,1: 验证不通过,2: 未验证,3:部分通过,当4项核验结果都为0时,表示证件为真
1633
1849
  注意:此字段可能返回 null,表示取不到有效值。
1634
1850
  * @type {string || null}
1635
1851
  */
1636
- this.Sim = null;
1852
+ this.CheckMRTD = null;
1637
1853
 
1638
1854
  /**
1639
- * 地理位置经纬度。
1855
+ * 身份证照片面合成图片
1640
1856
  注意:此字段可能返回 null,表示取不到有效值。
1641
1857
  * @type {string || null}
1642
1858
  */
1643
- this.Location = null;
1859
+ this.ImageA = null;
1644
1860
 
1645
1861
  /**
1646
- * Auth接口带入额外信息。
1862
+ * 身份证国徽面合成图片
1647
1863
  注意:此字段可能返回 null,表示取不到有效值。
1648
1864
  * @type {string || null}
1649
1865
  */
1650
- this.Extra = null;
1866
+ this.ImageB = null;
1651
1867
 
1652
1868
  /**
1653
- * 本次流程进行的活体一比一流水。
1869
+ * 对result code的结果描述
1654
1870
  注意:此字段可能返回 null,表示取不到有效值。
1655
- * @type {Array.<DetectDetail> || null}
1871
+ * @type {string || null}
1656
1872
  */
1657
- this.LivenessDetail = null;
1873
+ this.ResultDescription = null;
1658
1874
 
1659
1875
  /**
1660
- * 手机号码。
1661
- 注意:此字段可能返回 null,表示取不到有效值。
1876
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1662
1877
  * @type {string || null}
1663
1878
  */
1664
- this.Mobile = null;
1879
+ this.RequestId = null;
1665
1880
 
1666
1881
  }
1667
1882
 
@@ -1672,90 +1887,117 @@ class DetectInfoText extends AbstractModel {
1672
1887
  if (!params) {
1673
1888
  return;
1674
1889
  }
1675
- this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
1676
- this.ErrMsg = 'ErrMsg' in params ? params.ErrMsg : null;
1677
- this.IdCard = 'IdCard' in params ? params.IdCard : null;
1890
+ this.ResultCode = 'ResultCode' in params ? params.ResultCode : null;
1891
+ this.IdNum = 'IdNum' in params ? params.IdNum : null;
1678
1892
  this.Name = 'Name' in params ? params.Name : null;
1679
- this.OcrNation = 'OcrNation' in params ? params.OcrNation : null;
1680
- this.OcrAddress = 'OcrAddress' in params ? params.OcrAddress : null;
1681
- this.OcrBirth = 'OcrBirth' in params ? params.OcrBirth : null;
1682
- this.OcrAuthority = 'OcrAuthority' in params ? params.OcrAuthority : null;
1683
- this.OcrValidDate = 'OcrValidDate' in params ? params.OcrValidDate : null;
1684
- this.OcrName = 'OcrName' in params ? params.OcrName : null;
1685
- this.OcrIdCard = 'OcrIdCard' in params ? params.OcrIdCard : null;
1686
- this.OcrGender = 'OcrGender' in params ? params.OcrGender : null;
1687
- this.LiveStatus = 'LiveStatus' in params ? params.LiveStatus : null;
1688
- this.LiveMsg = 'LiveMsg' in params ? params.LiveMsg : null;
1689
- this.Comparestatus = 'Comparestatus' in params ? params.Comparestatus : null;
1690
- this.Comparemsg = 'Comparemsg' in params ? params.Comparemsg : null;
1691
- this.Sim = 'Sim' in params ? params.Sim : null;
1692
- this.Location = 'Location' in params ? params.Location : null;
1693
- this.Extra = 'Extra' in params ? params.Extra : null;
1694
-
1695
- if (params.LivenessDetail) {
1696
- this.LivenessDetail = new Array();
1697
- for (let z in params.LivenessDetail) {
1698
- let obj = new DetectDetail();
1699
- obj.deserialize(params.LivenessDetail[z]);
1700
- this.LivenessDetail.push(obj);
1701
- }
1702
- }
1703
- this.Mobile = 'Mobile' in params ? params.Mobile : null;
1893
+ this.Picture = 'Picture' in params ? params.Picture : null;
1894
+ this.BirthDate = 'BirthDate' in params ? params.BirthDate : null;
1895
+ this.BeginTime = 'BeginTime' in params ? params.BeginTime : null;
1896
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
1897
+ this.Address = 'Address' in params ? params.Address : null;
1898
+ this.Nation = 'Nation' in params ? params.Nation : null;
1899
+ this.Sex = 'Sex' in params ? params.Sex : null;
1900
+ this.IdType = 'IdType' in params ? params.IdType : null;
1901
+ this.EnName = 'EnName' in params ? params.EnName : null;
1902
+ this.SigningOrganization = 'SigningOrganization' in params ? params.SigningOrganization : null;
1903
+ this.OtherIdNum = 'OtherIdNum' in params ? params.OtherIdNum : null;
1904
+ this.Nationality = 'Nationality' in params ? params.Nationality : null;
1905
+ this.PersonalNumber = 'PersonalNumber' in params ? params.PersonalNumber : null;
1906
+ this.CheckMRTD = 'CheckMRTD' in params ? params.CheckMRTD : null;
1907
+ this.ImageA = 'ImageA' in params ? params.ImageA : null;
1908
+ this.ImageB = 'ImageB' in params ? params.ImageB : null;
1909
+ this.ResultDescription = 'ResultDescription' in params ? params.ResultDescription : null;
1910
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1704
1911
 
1705
1912
  }
1706
1913
  }
1707
1914
 
1708
1915
  /**
1709
- * DetectAuth请求参数结构体
1916
+ * CheckIdNameDate请求参数结构体
1710
1917
  * @class
1711
1918
  */
1712
- class DetectAuthRequest extends AbstractModel {
1919
+ class CheckIdNameDateRequest extends AbstractModel {
1713
1920
  constructor(){
1714
1921
  super();
1715
1922
 
1716
1923
  /**
1717
- * 用于细分客户使用场景,申请开通服务后,可以在腾讯云慧眼人脸核身控制台(https://console.cloud.tencent.com/faceid) 自助接入里面创建,审核通过后即可调用。如有疑问,请加慧眼小助手微信(faceid001)进行咨询。
1924
+ * 姓名
1718
1925
  * @type {string || null}
1719
1926
  */
1720
- this.RuleId = null;
1927
+ this.Name = null;
1721
1928
 
1722
1929
  /**
1723
- * 本接口不需要传递此参数。
1930
+ * 身份证号
1724
1931
  * @type {string || null}
1725
1932
  */
1726
- this.TerminalType = null;
1933
+ this.IdCard = null;
1727
1934
 
1728
1935
  /**
1729
- * 身份标识(未使用OCR服务时,必须传入)。
1730
- 规则:a-zA-Z0-9组合。最长长度32位。
1936
+ * 身份证有效期开始时间,格式:YYYYMMDD。如:20210701
1731
1937
  * @type {string || null}
1732
1938
  */
1733
- this.IdCard = null;
1939
+ this.ValidityBegin = null;
1734
1940
 
1735
1941
  /**
1736
- * 姓名。(未使用OCR服务时,必须传入)最长长度32位。中文请使用UTF-8编码。
1942
+ * 身份证有效期到期时间,格式:YYYYMMDD,长期用“00000000”代替;如:20210701
1737
1943
  * @type {string || null}
1738
1944
  */
1739
- this.Name = null;
1945
+ this.ValidityEnd = null;
1740
1946
 
1741
1947
  /**
1742
- * 认证结束后重定向的回调链接地址。最长长度1024位。
1743
- * @type {string || null}
1948
+ * 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
1949
+ * @type {Encryption || null}
1744
1950
  */
1745
- this.RedirectUrl = null;
1951
+ this.Encryption = null;
1746
1952
 
1747
- /**
1748
- * 透传字段,在获取验证结果时返回。
1953
+ }
1954
+
1955
+ /**
1956
+ * @private
1957
+ */
1958
+ deserialize(params) {
1959
+ if (!params) {
1960
+ return;
1961
+ }
1962
+ this.Name = 'Name' in params ? params.Name : null;
1963
+ this.IdCard = 'IdCard' in params ? params.IdCard : null;
1964
+ this.ValidityBegin = 'ValidityBegin' in params ? params.ValidityBegin : null;
1965
+ this.ValidityEnd = 'ValidityEnd' in params ? params.ValidityEnd : null;
1966
+
1967
+ if (params.Encryption) {
1968
+ let obj = new Encryption();
1969
+ obj.deserialize(params.Encryption)
1970
+ this.Encryption = obj;
1971
+ }
1972
+
1973
+ }
1974
+ }
1975
+
1976
+ /**
1977
+ * BankCard2EVerification请求参数结构体
1978
+ * @class
1979
+ */
1980
+ class BankCard2EVerificationRequest extends AbstractModel {
1981
+ constructor(){
1982
+ super();
1983
+
1984
+ /**
1985
+ * 姓名
1749
1986
  * @type {string || null}
1750
1987
  */
1751
- this.Extra = null;
1988
+ this.Name = null;
1752
1989
 
1753
1990
  /**
1754
- * 用于人脸比对的照片,图片的Base64值;
1755
- Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
1991
+ * 银行卡
1756
1992
  * @type {string || null}
1757
1993
  */
1758
- this.ImageBase64 = null;
1994
+ this.BankCard = null;
1995
+
1996
+ /**
1997
+ * 敏感数据加密信息。对传入信息(姓名、银行卡号)有加密需求的用户可使用此参数,详情请点击左侧链接。
1998
+ * @type {Encryption || null}
1999
+ */
2000
+ this.Encryption = null;
1759
2001
 
1760
2002
  }
1761
2003
 
@@ -1766,64 +2008,84 @@ Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。请
1766
2008
  if (!params) {
1767
2009
  return;
1768
2010
  }
1769
- this.RuleId = 'RuleId' in params ? params.RuleId : null;
1770
- this.TerminalType = 'TerminalType' in params ? params.TerminalType : null;
1771
- this.IdCard = 'IdCard' in params ? params.IdCard : null;
1772
2011
  this.Name = 'Name' in params ? params.Name : null;
1773
- this.RedirectUrl = 'RedirectUrl' in params ? params.RedirectUrl : null;
1774
- this.Extra = 'Extra' in params ? params.Extra : null;
1775
- this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
2012
+ this.BankCard = 'BankCard' in params ? params.BankCard : null;
2013
+
2014
+ if (params.Encryption) {
2015
+ let obj = new Encryption();
2016
+ obj.deserialize(params.Encryption)
2017
+ this.Encryption = obj;
2018
+ }
1776
2019
 
1777
2020
  }
1778
2021
  }
1779
2022
 
1780
2023
  /**
1781
- * MinorsVerification返回参数结构体
2024
+ * LivenessRecognition请求参数结构体
1782
2025
  * @class
1783
2026
  */
1784
- class MinorsVerificationResponse extends AbstractModel {
2027
+ class LivenessRecognitionRequest extends AbstractModel {
1785
2028
  constructor(){
1786
2029
  super();
1787
2030
 
1788
2031
  /**
1789
- * 结果码,收费情况如下。
1790
- 收费结果码:
1791
- 0: 成年
1792
- -1: 未成年
1793
- -3: 姓名和身份证号不一致
2032
+ * 身份证号
2033
+ * @type {string || null}
2034
+ */
2035
+ this.IdCard = null;
1794
2036
 
1795
- 不收费结果码:
1796
- -2: 未查询到手机号信息
1797
- -4: 非法身份证号(长度、校验位等不正确)
1798
- -5: 非法姓名(长度、格式等不正确)
1799
- -6: 权威数据源服务异常
1800
- -7: 未查询到身份信息
1801
- -8: 权威数据源升级中,请稍后再试
2037
+ /**
2038
+ * 姓名。中文请使用UTF-8编码。
1802
2039
  * @type {string || null}
1803
2040
  */
1804
- this.Result = null;
2041
+ this.Name = null;
1805
2042
 
1806
2043
  /**
1807
- * 业务结果描述。
2044
+ * 活体检测类型,取值:LIP/ACTION/SILENT。
2045
+ LIP为数字模式,ACTION为动作模式,SILENT为静默模式,三种模式选择一种传入。
1808
2046
  * @type {string || null}
1809
2047
  */
1810
- this.Description = null;
2048
+ this.LivenessType = null;
1811
2049
 
1812
2050
  /**
1813
- * 该字段的值为年龄区间。格式为[a,b),
1814
- [0,8)表示年龄小于8周岁区间,不包括8岁;
1815
- [8,16)表示年龄8-16周岁区间,不包括16岁;
1816
- [16,18)表示年龄16-18周岁区间,不包括18岁;
1817
- [18,+)表示年龄大于18周岁。
2051
+ * 用于活体检测的视频,视频的BASE64值;
2052
+ BASE64编码后的大小不超过8M,支持mp4、avi、flv格式。
1818
2053
  * @type {string || null}
1819
2054
  */
1820
- this.AgeRange = null;
2055
+ this.VideoBase64 = null;
1821
2056
 
1822
2057
  /**
1823
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2058
+ * 用于活体检测的视频Url 地址。视频下载后经Base64编码不超过 8M,视频下载耗时不超过4S,支持mp4、avi、flv格式。
2059
+
2060
+ 视频的 VideoUrl、VideoBase64 必须提供一个,如果都提供,只使用 VideoBase64。
2061
+
2062
+ 建议视频存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议视频存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
1824
2063
  * @type {string || null}
1825
2064
  */
1826
- this.RequestId = null;
2065
+ this.VideoUrl = null;
2066
+
2067
+ /**
2068
+ * 数字模式传参:传数字验证码,验证码需先调用<a href="https://cloud.tencent.com/document/product/1007/31821">获取数字验证码接口</a>得到;
2069
+ 动作模式传参:传动作顺序,动作顺序需先调用<a href="https://cloud.tencent.com/document/product/1007/31822">获取动作顺序接口</a>得到;
2070
+ 静默模式传参:空。
2071
+ * @type {string || null}
2072
+ */
2073
+ this.ValidateData = null;
2074
+
2075
+ /**
2076
+ * 额外配置,传入JSON字符串。
2077
+ {
2078
+ "BestFrameNum": 2 //需要返回多张最佳截图,取值范围2-10
2079
+ }
2080
+ * @type {string || null}
2081
+ */
2082
+ this.Optional = null;
2083
+
2084
+ /**
2085
+ * 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
2086
+ * @type {Encryption || null}
2087
+ */
2088
+ this.Encryption = null;
1827
2089
 
1828
2090
  }
1829
2091
 
@@ -1834,53 +2096,85 @@ class MinorsVerificationResponse extends AbstractModel {
1834
2096
  if (!params) {
1835
2097
  return;
1836
2098
  }
1837
- this.Result = 'Result' in params ? params.Result : null;
1838
- this.Description = 'Description' in params ? params.Description : null;
1839
- this.AgeRange = 'AgeRange' in params ? params.AgeRange : null;
1840
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
2099
+ this.IdCard = 'IdCard' in params ? params.IdCard : null;
2100
+ this.Name = 'Name' in params ? params.Name : null;
2101
+ this.LivenessType = 'LivenessType' in params ? params.LivenessType : null;
2102
+ this.VideoBase64 = 'VideoBase64' in params ? params.VideoBase64 : null;
2103
+ this.VideoUrl = 'VideoUrl' in params ? params.VideoUrl : null;
2104
+ this.ValidateData = 'ValidateData' in params ? params.ValidateData : null;
2105
+ this.Optional = 'Optional' in params ? params.Optional : null;
2106
+
2107
+ if (params.Encryption) {
2108
+ let obj = new Encryption();
2109
+ obj.deserialize(params.Encryption)
2110
+ this.Encryption = obj;
2111
+ }
1841
2112
 
1842
2113
  }
1843
2114
  }
1844
2115
 
1845
2116
  /**
1846
- * BankCardVerification返回参数结构体
2117
+ * Eid出参,包括商户方用户的标识和加密的用户姓名身份证信息。
1847
2118
  * @class
1848
2119
  */
1849
- class BankCardVerificationResponse extends AbstractModel {
2120
+ class EidInfo extends AbstractModel {
1850
2121
  constructor(){
1851
2122
  super();
1852
2123
 
1853
2124
  /**
1854
- * 认证结果码
1855
- 收费结果码:
1856
- '0': '认证通过'
1857
- '-1': '认证未通过'
1858
- '-5': '持卡人信息有误'
1859
- '-6': '未开通无卡支付'
1860
- '-7': '此卡被没收'
1861
- '-8': '无效卡号'
1862
- '-9': '此卡无对应发卡行'
1863
- '-10': '该卡未初始化或睡眠卡'
1864
- '-11': '作弊卡、吞卡'
1865
- '-12': '此卡已挂失'
1866
- '-13': '该卡已过期'
1867
- '-14': '受限制的卡'
1868
- '-15': '密码错误次数超限'
1869
- '-16': '发卡行不支持此交易'
1870
- 不收费结果码:
1871
- '-2': '姓名校验不通过'
1872
- '-3': '身份证号码有误'
1873
- '-4': '银行卡号码有误'
1874
- '-17': '验证中心服务繁忙'
2125
+ * 商户方 appeIDcode 的数字证书
1875
2126
  * @type {string || null}
1876
2127
  */
1877
- this.Result = null;
2128
+ this.EidCode = null;
1878
2129
 
1879
2130
  /**
1880
- * 业务结果描述。
2131
+ * Eid中心针对商户方EidCode的电子签名
1881
2132
  * @type {string || null}
1882
2133
  */
1883
- this.Description = null;
2134
+ this.EidSign = null;
2135
+
2136
+ /**
2137
+ * 商户方公钥加密的会话密钥的base64字符串,[指引详见](https://cloud.tencent.com/document/product/1007/63370)
2138
+ * @type {string || null}
2139
+ */
2140
+ this.DesKey = null;
2141
+
2142
+ /**
2143
+ * 会话密钥sm2加密后的base64字符串,[指引详见](https://cloud.tencent.com/document/product/1007/63370)
2144
+ * @type {string || null}
2145
+ */
2146
+ this.UserInfo = null;
2147
+
2148
+ }
2149
+
2150
+ /**
2151
+ * @private
2152
+ */
2153
+ deserialize(params) {
2154
+ if (!params) {
2155
+ return;
2156
+ }
2157
+ this.EidCode = 'EidCode' in params ? params.EidCode : null;
2158
+ this.EidSign = 'EidSign' in params ? params.EidSign : null;
2159
+ this.DesKey = 'DesKey' in params ? params.DesKey : null;
2160
+ this.UserInfo = 'UserInfo' in params ? params.UserInfo : null;
2161
+
2162
+ }
2163
+ }
2164
+
2165
+ /**
2166
+ * GetFaceIdToken返回参数结构体
2167
+ * @class
2168
+ */
2169
+ class GetFaceIdTokenResponse extends AbstractModel {
2170
+ constructor(){
2171
+ super();
2172
+
2173
+ /**
2174
+ * 有效期 10分钟。只能完成1次核身。
2175
+ * @type {string || null}
2176
+ */
2177
+ this.FaceIdToken = null;
1884
2178
 
1885
2179
  /**
1886
2180
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -1897,46 +2191,43 @@ class BankCardVerificationResponse extends AbstractModel {
1897
2191
  if (!params) {
1898
2192
  return;
1899
2193
  }
1900
- this.Result = 'Result' in params ? params.Result : null;
1901
- this.Description = 'Description' in params ? params.Description : null;
2194
+ this.FaceIdToken = 'FaceIdToken' in params ? params.FaceIdToken : null;
1902
2195
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
1903
2196
 
1904
2197
  }
1905
2198
  }
1906
2199
 
1907
2200
  /**
1908
- * ImageRecognition请求参数结构体
2201
+ * DetectReflectLivenessAndCompare请求参数结构体
1909
2202
  * @class
1910
2203
  */
1911
- class ImageRecognitionRequest extends AbstractModel {
2204
+ class DetectReflectLivenessAndCompareRequest extends AbstractModel {
1912
2205
  constructor(){
1913
2206
  super();
1914
2207
 
1915
2208
  /**
1916
- * 身份证号
2209
+ * SDK生成的活体检测数据包的资源地址。
1917
2210
  * @type {string || null}
1918
2211
  */
1919
- this.IdCard = null;
2212
+ this.LiveDataUrl = null;
1920
2213
 
1921
2214
  /**
1922
- * 姓名。中文请使用UTF-8编码。
2215
+ * SDK生成的活体检测数据包的资源内容MD5(32位,用于校验LiveData的一致性)。
1923
2216
  * @type {string || null}
1924
2217
  */
1925
- this.Name = null;
2218
+ this.LiveDataMd5 = null;
1926
2219
 
1927
2220
  /**
1928
- * 用于人脸比对的照片,图片的Base64值;
1929
- Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。
1930
- 请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
2221
+ * 用于比对的目标图片的资源地址。
1931
2222
  * @type {string || null}
1932
2223
  */
1933
- this.ImageBase64 = null;
2224
+ this.ImageUrl = null;
1934
2225
 
1935
2226
  /**
1936
- * 本接口不需要传递此参数。
2227
+ * 用于比对的目标图片的资源MD5(32位,用于校验Image的一致性)。
1937
2228
  * @type {string || null}
1938
2229
  */
1939
- this.Optional = null;
2230
+ this.ImageMd5 = null;
1940
2231
 
1941
2232
  }
1942
2233
 
@@ -1947,52 +2238,56 @@ Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。
1947
2238
  if (!params) {
1948
2239
  return;
1949
2240
  }
1950
- this.IdCard = 'IdCard' in params ? params.IdCard : null;
1951
- this.Name = 'Name' in params ? params.Name : null;
1952
- this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
1953
- this.Optional = 'Optional' in params ? params.Optional : null;
2241
+ this.LiveDataUrl = 'LiveDataUrl' in params ? params.LiveDataUrl : null;
2242
+ this.LiveDataMd5 = 'LiveDataMd5' in params ? params.LiveDataMd5 : null;
2243
+ this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
2244
+ this.ImageMd5 = 'ImageMd5' in params ? params.ImageMd5 : null;
1954
2245
 
1955
2246
  }
1956
2247
  }
1957
2248
 
1958
2249
  /**
1959
- * BankCard4EVerification请求参数结构体
2250
+ * PhoneVerificationCMCC返回参数结构体
1960
2251
  * @class
1961
2252
  */
1962
- class BankCard4EVerificationRequest extends AbstractModel {
2253
+ class PhoneVerificationCMCCResponse extends AbstractModel {
1963
2254
  constructor(){
1964
2255
  super();
1965
2256
 
1966
2257
  /**
1967
- * 姓名
2258
+ * 认证结果码,收费情况如下。
2259
+ 收费结果码:
2260
+ 0: 认证通过
2261
+ -4: 信息不一致(手机号已实名,但姓名和身份证号与实名信息不一致)
2262
+ 不收费结果码:
2263
+ -6: 手机号码不合法
2264
+ -7: 身份证号码有误
2265
+ -8: 姓名校验不通过
2266
+ -9: 没有记录
2267
+ -10: 认证未通过
2268
+ -11: 验证中心服务繁忙
1968
2269
  * @type {string || null}
1969
2270
  */
1970
- this.Name = null;
2271
+ this.Result = null;
1971
2272
 
1972
2273
  /**
1973
- * 银行卡
2274
+ * 运营商名称。
2275
+ 取值范围为["移动","联通","电信",""]
1974
2276
  * @type {string || null}
1975
2277
  */
1976
- this.BankCard = null;
2278
+ this.Isp = null;
1977
2279
 
1978
2280
  /**
1979
- * 手机号码
2281
+ * 业务结果描述。
1980
2282
  * @type {string || null}
1981
2283
  */
1982
- this.Phone = null;
2284
+ this.Description = null;
1983
2285
 
1984
2286
  /**
1985
- * 开户证件号,与CertType参数的证件类型一致,如:身份证,则传入身份证号。
2287
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1986
2288
  * @type {string || null}
1987
2289
  */
1988
- this.IdCard = null;
1989
-
1990
- /**
1991
- * 证件类型,请确认该证件为开户时使用的证件类型,未用于开户的证件信息不支持验证。
1992
- 目前默认为0:身份证,其他证件类型暂不支持。
1993
- * @type {number || null}
1994
- */
1995
- this.CertType = null;
2290
+ this.RequestId = null;
1996
2291
 
1997
2292
  }
1998
2293
 
@@ -2003,28 +2298,1455 @@ class BankCard4EVerificationRequest extends AbstractModel {
2003
2298
  if (!params) {
2004
2299
  return;
2005
2300
  }
2006
- this.Name = 'Name' in params ? params.Name : null;
2007
- this.BankCard = 'BankCard' in params ? params.BankCard : null;
2008
- this.Phone = 'Phone' in params ? params.Phone : null;
2009
- this.IdCard = 'IdCard' in params ? params.IdCard : null;
2010
- this.CertType = 'CertType' in params ? params.CertType : null;
2301
+ this.Result = 'Result' in params ? params.Result : null;
2302
+ this.Isp = 'Isp' in params ? params.Isp : null;
2303
+ this.Description = 'Description' in params ? params.Description : null;
2304
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2011
2305
 
2012
2306
  }
2013
2307
  }
2014
2308
 
2015
2309
  /**
2016
- * MobileNetworkTimeVerification请求参数结构体
2310
+ * CheckEidTokenStatus返回参数结构体
2017
2311
  * @class
2018
2312
  */
2019
- class MobileNetworkTimeVerificationRequest extends AbstractModel {
2313
+ class CheckEidTokenStatusResponse extends AbstractModel {
2314
+ constructor(){
2315
+ super();
2316
+
2317
+ /**
2318
+ * 枚举:
2319
+ init:token未验证
2320
+ doing: 验证中
2321
+ finished: 验证完成
2322
+ timeout: token已超时
2323
+ * @type {string || null}
2324
+ */
2325
+ this.Status = null;
2326
+
2327
+ /**
2328
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2329
+ * @type {string || null}
2330
+ */
2331
+ this.RequestId = null;
2332
+
2333
+ }
2334
+
2335
+ /**
2336
+ * @private
2337
+ */
2338
+ deserialize(params) {
2339
+ if (!params) {
2340
+ return;
2341
+ }
2342
+ this.Status = 'Status' in params ? params.Status : null;
2343
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2344
+
2345
+ }
2346
+ }
2347
+
2348
+ /**
2349
+ * PhoneVerificationCTCC返回参数结构体
2350
+ * @class
2351
+ */
2352
+ class PhoneVerificationCTCCResponse extends AbstractModel {
2353
+ constructor(){
2354
+ super();
2355
+
2356
+ /**
2357
+ * 认证结果码,收费情况如下。
2358
+ 收费结果码:
2359
+ 0: 认证通过
2360
+ -4: 信息不一致(手机号已实名,但姓名和身份证号与实名信息不一致)
2361
+ 不收费结果码:
2362
+ -6: 手机号码不合法
2363
+ -7: 身份证号码有误
2364
+ -8: 姓名校验不通过
2365
+ -9: 没有记录
2366
+ -10: 认证未通过
2367
+ -11: 验证中心服务繁忙
2368
+ * @type {string || null}
2369
+ */
2370
+ this.Result = null;
2371
+
2372
+ /**
2373
+ * 运营商名称。
2374
+ 取值范围为["移动","联通","电信",""]
2375
+ * @type {string || null}
2376
+ */
2377
+ this.Isp = null;
2378
+
2379
+ /**
2380
+ * 业务结果描述。
2381
+ * @type {string || null}
2382
+ */
2383
+ this.Description = null;
2384
+
2385
+ /**
2386
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2387
+ * @type {string || null}
2388
+ */
2389
+ this.RequestId = null;
2390
+
2391
+ }
2392
+
2393
+ /**
2394
+ * @private
2395
+ */
2396
+ deserialize(params) {
2397
+ if (!params) {
2398
+ return;
2399
+ }
2400
+ this.Result = 'Result' in params ? params.Result : null;
2401
+ this.Isp = 'Isp' in params ? params.Isp : null;
2402
+ this.Description = 'Description' in params ? params.Description : null;
2403
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2404
+
2405
+ }
2406
+ }
2407
+
2408
+ /**
2409
+ * MobileStatus返回参数结构体
2410
+ * @class
2411
+ */
2412
+ class MobileStatusResponse extends AbstractModel {
2413
+ constructor(){
2414
+ super();
2415
+
2416
+ /**
2417
+ * 认证结果码,收费情况如下。
2418
+ 收费结果码:
2419
+ 0:成功
2420
+ 不收费结果码:
2421
+ -1:未查询到结果
2422
+ -2:手机号格式不正确
2423
+ -3:验证中心服务繁忙
2424
+ * @type {string || null}
2425
+ */
2426
+ this.Result = null;
2427
+
2428
+ /**
2429
+ * 业务结果描述。
2430
+ * @type {string || null}
2431
+ */
2432
+ this.Description = null;
2433
+
2434
+ /**
2435
+ * 状态码:
2436
+ 0:正常
2437
+ 1:停机
2438
+ 2:销号
2439
+ 3:空号
2440
+ 4:不在网
2441
+ 99:未知状态
2442
+ * @type {number || null}
2443
+ */
2444
+ this.StatusCode = null;
2445
+
2446
+ /**
2447
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2448
+ * @type {string || null}
2449
+ */
2450
+ this.RequestId = null;
2451
+
2452
+ }
2453
+
2454
+ /**
2455
+ * @private
2456
+ */
2457
+ deserialize(params) {
2458
+ if (!params) {
2459
+ return;
2460
+ }
2461
+ this.Result = 'Result' in params ? params.Result : null;
2462
+ this.Description = 'Description' in params ? params.Description : null;
2463
+ this.StatusCode = 'StatusCode' in params ? params.StatusCode : null;
2464
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2465
+
2466
+ }
2467
+ }
2468
+
2469
+ /**
2470
+ * PhoneVerificationCTCC请求参数结构体
2471
+ * @class
2472
+ */
2473
+ class PhoneVerificationCTCCRequest extends AbstractModel {
2474
+ constructor(){
2475
+ super();
2476
+
2477
+ /**
2478
+ * 身份证号
2479
+ * @type {string || null}
2480
+ */
2481
+ this.IdCard = null;
2482
+
2483
+ /**
2484
+ * 姓名
2485
+ * @type {string || null}
2486
+ */
2487
+ this.Name = null;
2488
+
2489
+ /**
2490
+ * 手机号
2491
+ * @type {string || null}
2492
+ */
2493
+ this.Phone = null;
2494
+
2495
+ /**
2496
+ * 敏感数据加密信息。对传入信息(姓名、身份证号、手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
2497
+ * @type {Encryption || null}
2498
+ */
2499
+ this.Encryption = null;
2500
+
2501
+ }
2502
+
2503
+ /**
2504
+ * @private
2505
+ */
2506
+ deserialize(params) {
2507
+ if (!params) {
2508
+ return;
2509
+ }
2510
+ this.IdCard = 'IdCard' in params ? params.IdCard : null;
2511
+ this.Name = 'Name' in params ? params.Name : null;
2512
+ this.Phone = 'Phone' in params ? params.Phone : null;
2513
+
2514
+ if (params.Encryption) {
2515
+ let obj = new Encryption();
2516
+ obj.deserialize(params.Encryption)
2517
+ this.Encryption = obj;
2518
+ }
2519
+
2520
+ }
2521
+ }
2522
+
2523
+ /**
2524
+ * IdCardOCRVerification返回参数结构体
2525
+ * @class
2526
+ */
2527
+ class IdCardOCRVerificationResponse extends AbstractModel {
2528
+ constructor(){
2529
+ super();
2530
+
2531
+ /**
2532
+ * 认证结果码,收费情况如下。
2533
+ 收费结果码:
2534
+ 0: 姓名和身份证号一致
2535
+ -1: 姓名和身份证号不一致
2536
+ 不收费结果码:
2537
+ -2: 非法身份证号(长度、校验位等不正确)
2538
+ -3: 非法姓名(长度、格式等不正确)
2539
+ -4: 证件库服务异常
2540
+ -5: 证件库中无此身份证记录
2541
+ -6: 权威比对系统升级中,请稍后再试
2542
+ -7: 认证次数超过当日限制
2543
+ * @type {string || null}
2544
+ */
2545
+ this.Result = null;
2546
+
2547
+ /**
2548
+ * 业务结果描述。
2549
+ * @type {string || null}
2550
+ */
2551
+ this.Description = null;
2552
+
2553
+ /**
2554
+ * 用于验证的姓名
2555
+ * @type {string || null}
2556
+ */
2557
+ this.Name = null;
2558
+
2559
+ /**
2560
+ * 用于验证的身份证号
2561
+ * @type {string || null}
2562
+ */
2563
+ this.IdCard = null;
2564
+
2565
+ /**
2566
+ * OCR得到的性别
2567
+ 注意:此字段可能返回 null,表示取不到有效值。
2568
+ * @type {string || null}
2569
+ */
2570
+ this.Sex = null;
2571
+
2572
+ /**
2573
+ * OCR得到的民族
2574
+ 注意:此字段可能返回 null,表示取不到有效值。
2575
+ * @type {string || null}
2576
+ */
2577
+ this.Nation = null;
2578
+
2579
+ /**
2580
+ * OCR得到的生日
2581
+ 注意:此字段可能返回 null,表示取不到有效值。
2582
+ * @type {string || null}
2583
+ */
2584
+ this.Birth = null;
2585
+
2586
+ /**
2587
+ * OCR得到的地址
2588
+ 注意:此字段可能返回 null,表示取不到有效值。
2589
+ * @type {string || null}
2590
+ */
2591
+ this.Address = null;
2592
+
2593
+ /**
2594
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2595
+ * @type {string || null}
2596
+ */
2597
+ this.RequestId = null;
2598
+
2599
+ }
2600
+
2601
+ /**
2602
+ * @private
2603
+ */
2604
+ deserialize(params) {
2605
+ if (!params) {
2606
+ return;
2607
+ }
2608
+ this.Result = 'Result' in params ? params.Result : null;
2609
+ this.Description = 'Description' in params ? params.Description : null;
2610
+ this.Name = 'Name' in params ? params.Name : null;
2611
+ this.IdCard = 'IdCard' in params ? params.IdCard : null;
2612
+ this.Sex = 'Sex' in params ? params.Sex : null;
2613
+ this.Nation = 'Nation' in params ? params.Nation : null;
2614
+ this.Birth = 'Birth' in params ? params.Birth : null;
2615
+ this.Address = 'Address' in params ? params.Address : null;
2616
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2617
+
2618
+ }
2619
+ }
2620
+
2621
+ /**
2622
+ * 计费详情
2623
+ * @class
2624
+ */
2625
+ class ChargeDetail extends AbstractModel {
2626
+ constructor(){
2627
+ super();
2628
+
2629
+ /**
2630
+ * 一比一时间时间戳,13位。
2631
+ * @type {string || null}
2632
+ */
2633
+ this.ReqTime = null;
2634
+
2635
+ /**
2636
+ * 一比一请求的唯一标记。
2637
+ * @type {string || null}
2638
+ */
2639
+ this.Seq = null;
2640
+
2641
+ /**
2642
+ * 一比一时使用的、脱敏后的身份证号。
2643
+ * @type {string || null}
2644
+ */
2645
+ this.Idcard = null;
2646
+
2647
+ /**
2648
+ * 一比一时使用的、脱敏后的姓名。
2649
+ * @type {string || null}
2650
+ */
2651
+ this.Name = null;
2652
+
2653
+ /**
2654
+ * 一比一的相似度。0-100,保留2位小数。
2655
+ * @type {string || null}
2656
+ */
2657
+ this.Sim = null;
2658
+
2659
+ /**
2660
+ * 本次详情是否收费。
2661
+ * @type {boolean || null}
2662
+ */
2663
+ this.IsNeedCharge = null;
2664
+
2665
+ /**
2666
+ * 收费类型,比对、核身、混合部署。
2667
+ * @type {string || null}
2668
+ */
2669
+ this.ChargeType = null;
2670
+
2671
+ /**
2672
+ * 本次活体一比一最终结果。
2673
+ * @type {string || null}
2674
+ */
2675
+ this.ErrorCode = null;
2676
+
2677
+ /**
2678
+ * 本次活体一比一最终结果描述。
2679
+ * @type {string || null}
2680
+ */
2681
+ this.ErrorMessage = null;
2682
+
2683
+ }
2684
+
2685
+ /**
2686
+ * @private
2687
+ */
2688
+ deserialize(params) {
2689
+ if (!params) {
2690
+ return;
2691
+ }
2692
+ this.ReqTime = 'ReqTime' in params ? params.ReqTime : null;
2693
+ this.Seq = 'Seq' in params ? params.Seq : null;
2694
+ this.Idcard = 'Idcard' in params ? params.Idcard : null;
2695
+ this.Name = 'Name' in params ? params.Name : null;
2696
+ this.Sim = 'Sim' in params ? params.Sim : null;
2697
+ this.IsNeedCharge = 'IsNeedCharge' in params ? params.IsNeedCharge : null;
2698
+ this.ChargeType = 'ChargeType' in params ? params.ChargeType : null;
2699
+ this.ErrorCode = 'ErrorCode' in params ? params.ErrorCode : null;
2700
+ this.ErrorMessage = 'ErrorMessage' in params ? params.ErrorMessage : null;
2701
+
2702
+ }
2703
+ }
2704
+
2705
+ /**
2706
+ * ParseNfcData请求参数结构体
2707
+ * @class
2708
+ */
2709
+ class ParseNfcDataRequest extends AbstractModel {
2710
+ constructor(){
2711
+ super();
2712
+
2713
+ /**
2714
+ * 前端SDK返回
2715
+ * @type {string || null}
2716
+ */
2717
+ this.ReqId = null;
2718
+
2719
+ }
2720
+
2721
+ /**
2722
+ * @private
2723
+ */
2724
+ deserialize(params) {
2725
+ if (!params) {
2726
+ return;
2727
+ }
2728
+ this.ReqId = 'ReqId' in params ? params.ReqId : null;
2729
+
2730
+ }
2731
+ }
2732
+
2733
+ /**
2734
+ * Liveness返回参数结构体
2735
+ * @class
2736
+ */
2737
+ class LivenessResponse extends AbstractModel {
2738
+ constructor(){
2739
+ super();
2740
+
2741
+ /**
2742
+ * 验证通过后的视频最佳截图照片,照片为BASE64编码后的值,jpg格式。
2743
+ 注意:此字段可能返回 null,表示取不到有效值。
2744
+ * @type {string || null}
2745
+ */
2746
+ this.BestFrameBase64 = null;
2747
+
2748
+ /**
2749
+ * 业务错误码,成功情况返回Success, 错误情况请参考下方错误码 列表中FailedOperation部分
2750
+ * @type {string || null}
2751
+ */
2752
+ this.Result = null;
2753
+
2754
+ /**
2755
+ * 业务结果描述。
2756
+ * @type {string || null}
2757
+ */
2758
+ this.Description = null;
2759
+
2760
+ /**
2761
+ * 最佳最佳截图列表,仅在配置了返回多张最佳截图时有效。
2762
+ 注意:此字段可能返回 null,表示取不到有效值。
2763
+ * @type {Array.<string> || null}
2764
+ */
2765
+ this.BestFrameList = null;
2766
+
2767
+ /**
2768
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2769
+ * @type {string || null}
2770
+ */
2771
+ this.RequestId = null;
2772
+
2773
+ }
2774
+
2775
+ /**
2776
+ * @private
2777
+ */
2778
+ deserialize(params) {
2779
+ if (!params) {
2780
+ return;
2781
+ }
2782
+ this.BestFrameBase64 = 'BestFrameBase64' in params ? params.BestFrameBase64 : null;
2783
+ this.Result = 'Result' in params ? params.Result : null;
2784
+ this.Description = 'Description' in params ? params.Description : null;
2785
+ this.BestFrameList = 'BestFrameList' in params ? params.BestFrameList : null;
2786
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2787
+
2788
+ }
2789
+ }
2790
+
2791
+ /**
2792
+ * CheckIdCardInformation请求参数结构体
2793
+ * @class
2794
+ */
2795
+ class CheckIdCardInformationRequest extends AbstractModel {
2796
+ constructor(){
2797
+ super();
2798
+
2799
+ /**
2800
+ * 身份证人像面的 Base64 值
2801
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
2802
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。
2803
+ 请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
2804
+ ImageBase64、ImageUrl二者必须提供其中之一。若都提供了,则按照ImageUrl>ImageBase64的优先级使用参数。
2805
+ * @type {string || null}
2806
+ */
2807
+ this.ImageBase64 = null;
2808
+
2809
+ /**
2810
+ * 身份证人像面的 Url 地址
2811
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
2812
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。
2813
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
2814
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
2815
+ * @type {string || null}
2816
+ */
2817
+ this.ImageUrl = null;
2818
+
2819
+ /**
2820
+ * 以下可选字段均为bool 类型,默认false:
2821
+ CopyWarn,复印件告警
2822
+ BorderCheckWarn,边框和框内遮挡告警
2823
+ ReshootWarn,翻拍告警
2824
+ DetectPsWarn,PS检测告警
2825
+ TempIdWarn,临时身份证告警
2826
+ Quality,图片质量告警(评价图片模糊程度)
2827
+
2828
+ SDK 设置方式参考:
2829
+ Config = Json.stringify({"CopyWarn":true,"ReshootWarn":true})
2830
+ API 3.0 Explorer 设置方式参考:
2831
+ Config = {"CopyWarn":true,"ReshootWarn":true}
2832
+ * @type {string || null}
2833
+ */
2834
+ this.Config = null;
2835
+
2836
+ /**
2837
+ * 是否需要对返回中的敏感信息进行加密。默认false。
2838
+ 其中敏感信息包括:Response.IdNum、Response.Name
2839
+ * @type {boolean || null}
2840
+ */
2841
+ this.IsEncrypt = null;
2842
+
2843
+ }
2844
+
2845
+ /**
2846
+ * @private
2847
+ */
2848
+ deserialize(params) {
2849
+ if (!params) {
2850
+ return;
2851
+ }
2852
+ this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
2853
+ this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
2854
+ this.Config = 'Config' in params ? params.Config : null;
2855
+ this.IsEncrypt = 'IsEncrypt' in params ? params.IsEncrypt : null;
2856
+
2857
+ }
2858
+ }
2859
+
2860
+ /**
2861
+ * 核身文本信息
2862
+ * @class
2863
+ */
2864
+ class DetectInfoText extends AbstractModel {
2865
+ constructor(){
2866
+ super();
2867
+
2868
+ /**
2869
+ * 本次流程最终验证结果。0为成功
2870
+ 注意:此字段可能返回 null,表示取不到有效值。
2871
+ * @type {number || null}
2872
+ */
2873
+ this.ErrCode = null;
2874
+
2875
+ /**
2876
+ * 本次流程最终验证结果描述。(仅描述用,文案更新时不会通知。)
2877
+ 注意:此字段可能返回 null,表示取不到有效值。
2878
+ * @type {string || null}
2879
+ */
2880
+ this.ErrMsg = null;
2881
+
2882
+ /**
2883
+ * 本次验证使用的身份证号。
2884
+ 注意:此字段可能返回 null,表示取不到有效值。
2885
+ * @type {string || null}
2886
+ */
2887
+ this.IdCard = null;
2888
+
2889
+ /**
2890
+ * 本次验证使用的姓名。
2891
+ 注意:此字段可能返回 null,表示取不到有效值。
2892
+ * @type {string || null}
2893
+ */
2894
+ this.Name = null;
2895
+
2896
+ /**
2897
+ * Ocr识别结果。民族。
2898
+ 注意:此字段可能返回 null,表示取不到有效值。
2899
+ * @type {string || null}
2900
+ */
2901
+ this.OcrNation = null;
2902
+
2903
+ /**
2904
+ * Ocr识别结果。家庭住址。
2905
+ 注意:此字段可能返回 null,表示取不到有效值。
2906
+ * @type {string || null}
2907
+ */
2908
+ this.OcrAddress = null;
2909
+
2910
+ /**
2911
+ * Ocr识别结果。生日。
2912
+ 注意:此字段可能返回 null,表示取不到有效值。
2913
+ * @type {string || null}
2914
+ */
2915
+ this.OcrBirth = null;
2916
+
2917
+ /**
2918
+ * Ocr识别结果。签发机关。
2919
+ 注意:此字段可能返回 null,表示取不到有效值。
2920
+ * @type {string || null}
2921
+ */
2922
+ this.OcrAuthority = null;
2923
+
2924
+ /**
2925
+ * Ocr识别结果。有效日期。
2926
+ 注意:此字段可能返回 null,表示取不到有效值。
2927
+ * @type {string || null}
2928
+ */
2929
+ this.OcrValidDate = null;
2930
+
2931
+ /**
2932
+ * Ocr识别结果。姓名。
2933
+ 注意:此字段可能返回 null,表示取不到有效值。
2934
+ * @type {string || null}
2935
+ */
2936
+ this.OcrName = null;
2937
+
2938
+ /**
2939
+ * Ocr识别结果。身份证号。
2940
+ 注意:此字段可能返回 null,表示取不到有效值。
2941
+ * @type {string || null}
2942
+ */
2943
+ this.OcrIdCard = null;
2944
+
2945
+ /**
2946
+ * Ocr识别结果。性别。
2947
+ 注意:此字段可能返回 null,表示取不到有效值。
2948
+ * @type {string || null}
2949
+ */
2950
+ this.OcrGender = null;
2951
+
2952
+ /**
2953
+ * 本次流程最终活体结果。0为成功
2954
+ 注意:此字段可能返回 null,表示取不到有效值。
2955
+ * @type {number || null}
2956
+ */
2957
+ this.LiveStatus = null;
2958
+
2959
+ /**
2960
+ * 本次流程最终活体结果描述。(仅描述用,文案更新时不会通知。)
2961
+ 注意:此字段可能返回 null,表示取不到有效值。
2962
+ * @type {string || null}
2963
+ */
2964
+ this.LiveMsg = null;
2965
+
2966
+ /**
2967
+ * 本次流程最终一比一结果。0为成功
2968
+ 注意:此字段可能返回 null,表示取不到有效值。
2969
+ * @type {number || null}
2970
+ */
2971
+ this.Comparestatus = null;
2972
+
2973
+ /**
2974
+ * 本次流程最终一比一结果描述。(仅描述用,文案更新时不会通知。)
2975
+ 注意:此字段可能返回 null,表示取不到有效值。
2976
+ * @type {string || null}
2977
+ */
2978
+ this.Comparemsg = null;
2979
+
2980
+ /**
2981
+ * 本次流程活体一比一的分数,取值范围 [0.00, 100.00]。相似度大于等于70时才判断为同一人,也可根据具体场景自行调整阈值(阈值70的误通过率为千分之一,阈值80的误通过率是万分之一)
2982
+ 注意:此字段可能返回 null,表示取不到有效值。
2983
+ * @type {string || null}
2984
+ */
2985
+ this.Sim = null;
2986
+
2987
+ /**
2988
+ * 地理位置经纬度。
2989
+ 注意:此字段可能返回 null,表示取不到有效值。
2990
+ * @type {string || null}
2991
+ */
2992
+ this.Location = null;
2993
+
2994
+ /**
2995
+ * Auth接口带入额外信息。
2996
+ 注意:此字段可能返回 null,表示取不到有效值。
2997
+ * @type {string || null}
2998
+ */
2999
+ this.Extra = null;
3000
+
3001
+ /**
3002
+ * 本次流程进行的活体一比一流水。
3003
+ 注意:此字段可能返回 null,表示取不到有效值。
3004
+ * @type {Array.<DetectDetail> || null}
3005
+ */
3006
+ this.LivenessDetail = null;
3007
+
3008
+ /**
3009
+ * 手机号码。
3010
+ 注意:此字段可能返回 null,表示取不到有效值。
3011
+ * @type {string || null}
3012
+ */
3013
+ this.Mobile = null;
3014
+
3015
+ /**
3016
+ * 本次流程最终比对库源类型。包括:
3017
+ 权威库;
3018
+ 业务方自有库(用户上传照片、客户的混合库、混合部署库);
3019
+ 二次验证库;
3020
+ 人工审核库;
3021
+ 注意:此字段可能返回 null,表示取不到有效值。
3022
+ * @type {string || null}
3023
+ */
3024
+ this.CompareLibType = null;
3025
+
3026
+ }
3027
+
3028
+ /**
3029
+ * @private
3030
+ */
3031
+ deserialize(params) {
3032
+ if (!params) {
3033
+ return;
3034
+ }
3035
+ this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
3036
+ this.ErrMsg = 'ErrMsg' in params ? params.ErrMsg : null;
3037
+ this.IdCard = 'IdCard' in params ? params.IdCard : null;
3038
+ this.Name = 'Name' in params ? params.Name : null;
3039
+ this.OcrNation = 'OcrNation' in params ? params.OcrNation : null;
3040
+ this.OcrAddress = 'OcrAddress' in params ? params.OcrAddress : null;
3041
+ this.OcrBirth = 'OcrBirth' in params ? params.OcrBirth : null;
3042
+ this.OcrAuthority = 'OcrAuthority' in params ? params.OcrAuthority : null;
3043
+ this.OcrValidDate = 'OcrValidDate' in params ? params.OcrValidDate : null;
3044
+ this.OcrName = 'OcrName' in params ? params.OcrName : null;
3045
+ this.OcrIdCard = 'OcrIdCard' in params ? params.OcrIdCard : null;
3046
+ this.OcrGender = 'OcrGender' in params ? params.OcrGender : null;
3047
+ this.LiveStatus = 'LiveStatus' in params ? params.LiveStatus : null;
3048
+ this.LiveMsg = 'LiveMsg' in params ? params.LiveMsg : null;
3049
+ this.Comparestatus = 'Comparestatus' in params ? params.Comparestatus : null;
3050
+ this.Comparemsg = 'Comparemsg' in params ? params.Comparemsg : null;
3051
+ this.Sim = 'Sim' in params ? params.Sim : null;
3052
+ this.Location = 'Location' in params ? params.Location : null;
3053
+ this.Extra = 'Extra' in params ? params.Extra : null;
3054
+
3055
+ if (params.LivenessDetail) {
3056
+ this.LivenessDetail = new Array();
3057
+ for (let z in params.LivenessDetail) {
3058
+ let obj = new DetectDetail();
3059
+ obj.deserialize(params.LivenessDetail[z]);
3060
+ this.LivenessDetail.push(obj);
3061
+ }
3062
+ }
3063
+ this.Mobile = 'Mobile' in params ? params.Mobile : null;
3064
+ this.CompareLibType = 'CompareLibType' in params ? params.CompareLibType : null;
3065
+
3066
+ }
3067
+ }
3068
+
3069
+ /**
3070
+ * DetectAuth请求参数结构体
3071
+ * @class
3072
+ */
3073
+ class DetectAuthRequest extends AbstractModel {
3074
+ constructor(){
3075
+ super();
3076
+
3077
+ /**
3078
+ * 用于细分客户使用场景,申请开通服务后,可以在腾讯云慧眼人脸核身控制台(https://console.cloud.tencent.com/faceid) 自助接入里面创建,审核通过后即可调用。如有疑问,请添加[腾讯云人脸核身小助手](https://cloud.tencent.com/document/product/1007/56130)进行咨询。
3079
+ * @type {string || null}
3080
+ */
3081
+ this.RuleId = null;
3082
+
3083
+ /**
3084
+ * 本接口不需要传递此参数。
3085
+ * @type {string || null}
3086
+ */
3087
+ this.TerminalType = null;
3088
+
3089
+ /**
3090
+ * 身份标识(未使用OCR服务时,必须传入)。
3091
+ 规则:a-zA-Z0-9组合。最长长度32位。
3092
+ * @type {string || null}
3093
+ */
3094
+ this.IdCard = null;
3095
+
3096
+ /**
3097
+ * 姓名。(未使用OCR服务时,必须传入)最长长度32位。中文请使用UTF-8编码。
3098
+ * @type {string || null}
3099
+ */
3100
+ this.Name = null;
3101
+
3102
+ /**
3103
+ * 认证结束后重定向的回调链接地址。最长长度1024位。
3104
+ * @type {string || null}
3105
+ */
3106
+ this.RedirectUrl = null;
3107
+
3108
+ /**
3109
+ * 透传字段,在获取验证结果时返回。
3110
+ * @type {string || null}
3111
+ */
3112
+ this.Extra = null;
3113
+
3114
+ /**
3115
+ * 用于人脸比对的照片,图片的Base64值;
3116
+ Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
3117
+ * @type {string || null}
3118
+ */
3119
+ this.ImageBase64 = null;
3120
+
3121
+ /**
3122
+ * 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
3123
+ * @type {Encryption || null}
3124
+ */
3125
+ this.Encryption = null;
3126
+
3127
+ /**
3128
+ * 意愿核身使用的文案,若未使用意愿核身功能,该字段无需传入。默认为空,最长可接受120的字符串长度。
3129
+ * @type {string || null}
3130
+ */
3131
+ this.IntentionVerifyText = null;
3132
+
3133
+ }
3134
+
3135
+ /**
3136
+ * @private
3137
+ */
3138
+ deserialize(params) {
3139
+ if (!params) {
3140
+ return;
3141
+ }
3142
+ this.RuleId = 'RuleId' in params ? params.RuleId : null;
3143
+ this.TerminalType = 'TerminalType' in params ? params.TerminalType : null;
3144
+ this.IdCard = 'IdCard' in params ? params.IdCard : null;
3145
+ this.Name = 'Name' in params ? params.Name : null;
3146
+ this.RedirectUrl = 'RedirectUrl' in params ? params.RedirectUrl : null;
3147
+ this.Extra = 'Extra' in params ? params.Extra : null;
3148
+ this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
3149
+
3150
+ if (params.Encryption) {
3151
+ let obj = new Encryption();
3152
+ obj.deserialize(params.Encryption)
3153
+ this.Encryption = obj;
3154
+ }
3155
+ this.IntentionVerifyText = 'IntentionVerifyText' in params ? params.IntentionVerifyText : null;
3156
+
3157
+ }
3158
+ }
3159
+
3160
+ /**
3161
+ * MinorsVerification返回参数结构体
3162
+ * @class
3163
+ */
3164
+ class MinorsVerificationResponse extends AbstractModel {
3165
+ constructor(){
3166
+ super();
3167
+
3168
+ /**
3169
+ * 结果码,收费情况如下。
3170
+ 收费结果码:
3171
+ 0: 成年
3172
+ -1: 未成年
3173
+ -3: 姓名和身份证号不一致
3174
+
3175
+ 不收费结果码:
3176
+ -2: 未查询到手机号信息
3177
+ -4: 非法身份证号(长度、校验位等不正确)
3178
+ -5: 非法姓名(长度、格式等不正确)
3179
+ -6: 权威数据源服务异常
3180
+ -7: 未查询到身份信息
3181
+ -8: 权威数据源升级中,请稍后再试
3182
+ * @type {string || null}
3183
+ */
3184
+ this.Result = null;
3185
+
3186
+ /**
3187
+ * 业务结果描述。
3188
+ * @type {string || null}
3189
+ */
3190
+ this.Description = null;
3191
+
3192
+ /**
3193
+ * 该字段的值为年龄区间。格式为[a,b),
3194
+ [0,8)表示年龄小于8周岁区间,不包括8岁;
3195
+ [8,16)表示年龄8-16周岁区间,不包括16岁;
3196
+ [16,18)表示年龄16-18周岁区间,不包括18岁;
3197
+ [18,+)表示年龄大于18周岁。
3198
+ * @type {string || null}
3199
+ */
3200
+ this.AgeRange = null;
3201
+
3202
+ /**
3203
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3204
+ * @type {string || null}
3205
+ */
3206
+ this.RequestId = null;
3207
+
3208
+ }
3209
+
3210
+ /**
3211
+ * @private
3212
+ */
3213
+ deserialize(params) {
3214
+ if (!params) {
3215
+ return;
3216
+ }
3217
+ this.Result = 'Result' in params ? params.Result : null;
3218
+ this.Description = 'Description' in params ? params.Description : null;
3219
+ this.AgeRange = 'AgeRange' in params ? params.AgeRange : null;
3220
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3221
+
3222
+ }
3223
+ }
3224
+
3225
+ /**
3226
+ * GetWeChatBillDetails请求参数结构体
3227
+ * @class
3228
+ */
3229
+ class GetWeChatBillDetailsRequest extends AbstractModel {
3230
+ constructor(){
3231
+ super();
3232
+
3233
+ /**
3234
+ * 拉取的日期(YYYY-MM-DD)。最大可追溯到365天前。当天6点后才能拉取前一天的数据。
3235
+ * @type {string || null}
3236
+ */
3237
+ this.Date = null;
3238
+
3239
+ /**
3240
+ * 游标。用于分页,取第一页时传0,取后续页面时,传入本接口响应中返回的NextCursor字段的值。
3241
+ * @type {number || null}
3242
+ */
3243
+ this.Cursor = null;
3244
+
3245
+ /**
3246
+ * 需要拉取账单详情业务对应的RuleId。不传会返回所有RuleId数据。默认为空字符串。
3247
+ * @type {string || null}
3248
+ */
3249
+ this.RuleId = null;
3250
+
3251
+ }
3252
+
3253
+ /**
3254
+ * @private
3255
+ */
3256
+ deserialize(params) {
3257
+ if (!params) {
3258
+ return;
3259
+ }
3260
+ this.Date = 'Date' in params ? params.Date : null;
3261
+ this.Cursor = 'Cursor' in params ? params.Cursor : null;
3262
+ this.RuleId = 'RuleId' in params ? params.RuleId : null;
3263
+
3264
+ }
3265
+ }
3266
+
3267
+ /**
3268
+ * CheckEidTokenStatus请求参数结构体
3269
+ * @class
3270
+ */
3271
+ class CheckEidTokenStatusRequest extends AbstractModel {
3272
+ constructor(){
3273
+ super();
3274
+
3275
+ /**
3276
+ * E证通流程的唯一标识,调用GetEidToken接口时生成。
3277
+ * @type {string || null}
3278
+ */
3279
+ this.EidToken = null;
3280
+
3281
+ }
3282
+
3283
+ /**
3284
+ * @private
3285
+ */
3286
+ deserialize(params) {
3287
+ if (!params) {
3288
+ return;
3289
+ }
3290
+ this.EidToken = 'EidToken' in params ? params.EidToken : null;
3291
+
3292
+ }
3293
+ }
3294
+
3295
+ /**
3296
+ * GetEidResult返回参数结构体
3297
+ * @class
3298
+ */
3299
+ class GetEidResultResponse extends AbstractModel {
3300
+ constructor(){
3301
+ super();
3302
+
3303
+ /**
3304
+ * 文本类信息。(基于对敏感信息的保护,验证使用的姓名和身份证号统一通过加密后从Eidinfo参数中返回,如需获取请在控制台申请返回身份信息,详见[E证通获取实名信息指引](https://cloud.tencent.com/document/product/1007/63370))
3305
+ 注意:此字段可能返回 null,表示取不到有效值。
3306
+ * @type {DetectInfoText || null}
3307
+ */
3308
+ this.Text = null;
3309
+
3310
+ /**
3311
+ * 身份证照片信息。
3312
+ 注意:此字段可能返回 null,表示取不到有效值。
3313
+ * @type {DetectInfoIdCardData || null}
3314
+ */
3315
+ this.IdCardData = null;
3316
+
3317
+ /**
3318
+ * 最佳帧信息。
3319
+ 注意:此字段可能返回 null,表示取不到有效值。
3320
+ * @type {DetectInfoBestFrame || null}
3321
+ */
3322
+ this.BestFrame = null;
3323
+
3324
+ /**
3325
+ * Eid信息。(包括商户下用户唯一标识以及加密后的姓名、身份证号信息。解密方式详见[E证通获取实名信息指引](https://cloud.tencent.com/document/product/1007/63370))
3326
+ 注意:此字段可能返回 null,表示取不到有效值。
3327
+ * @type {EidInfo || null}
3328
+ */
3329
+ this.EidInfo = null;
3330
+
3331
+ /**
3332
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3333
+ * @type {string || null}
3334
+ */
3335
+ this.RequestId = null;
3336
+
3337
+ }
3338
+
3339
+ /**
3340
+ * @private
3341
+ */
3342
+ deserialize(params) {
3343
+ if (!params) {
3344
+ return;
3345
+ }
3346
+
3347
+ if (params.Text) {
3348
+ let obj = new DetectInfoText();
3349
+ obj.deserialize(params.Text)
3350
+ this.Text = obj;
3351
+ }
3352
+
3353
+ if (params.IdCardData) {
3354
+ let obj = new DetectInfoIdCardData();
3355
+ obj.deserialize(params.IdCardData)
3356
+ this.IdCardData = obj;
3357
+ }
3358
+
3359
+ if (params.BestFrame) {
3360
+ let obj = new DetectInfoBestFrame();
3361
+ obj.deserialize(params.BestFrame)
3362
+ this.BestFrame = obj;
3363
+ }
3364
+
3365
+ if (params.EidInfo) {
3366
+ let obj = new EidInfo();
3367
+ obj.deserialize(params.EidInfo)
3368
+ this.EidInfo = obj;
3369
+ }
3370
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3371
+
3372
+ }
3373
+ }
3374
+
3375
+ /**
3376
+ * GetRealNameAuthResult请求参数结构体
3377
+ * @class
3378
+ */
3379
+ class GetRealNameAuthResultRequest extends AbstractModel {
3380
+ constructor(){
3381
+ super();
3382
+
3383
+ /**
3384
+ * 实名认证凭证
3385
+ * @type {string || null}
3386
+ */
3387
+ this.AuthToken = null;
3388
+
3389
+ }
3390
+
3391
+ /**
3392
+ * @private
3393
+ */
3394
+ deserialize(params) {
3395
+ if (!params) {
3396
+ return;
3397
+ }
3398
+ this.AuthToken = 'AuthToken' in params ? params.AuthToken : null;
3399
+
3400
+ }
3401
+ }
3402
+
3403
+ /**
3404
+ * ImageRecognition请求参数结构体
3405
+ * @class
3406
+ */
3407
+ class ImageRecognitionRequest extends AbstractModel {
3408
+ constructor(){
3409
+ super();
3410
+
3411
+ /**
3412
+ * 身份证号
3413
+ * @type {string || null}
3414
+ */
3415
+ this.IdCard = null;
3416
+
3417
+ /**
3418
+ * 姓名。中文请使用UTF-8编码。
3419
+ * @type {string || null}
3420
+ */
3421
+ this.Name = null;
3422
+
3423
+ /**
3424
+ * 用于人脸比对的照片,图片的Base64值;
3425
+ Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。
3426
+ 请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
3427
+ * @type {string || null}
3428
+ */
3429
+ this.ImageBase64 = null;
3430
+
3431
+ /**
3432
+ * 本接口不需要传递此参数。
3433
+ * @type {string || null}
3434
+ */
3435
+ this.Optional = null;
3436
+
3437
+ /**
3438
+ * 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
3439
+ * @type {Encryption || null}
3440
+ */
3441
+ this.Encryption = null;
3442
+
3443
+ }
3444
+
3445
+ /**
3446
+ * @private
3447
+ */
3448
+ deserialize(params) {
3449
+ if (!params) {
3450
+ return;
3451
+ }
3452
+ this.IdCard = 'IdCard' in params ? params.IdCard : null;
3453
+ this.Name = 'Name' in params ? params.Name : null;
3454
+ this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
3455
+ this.Optional = 'Optional' in params ? params.Optional : null;
3456
+
3457
+ if (params.Encryption) {
3458
+ let obj = new Encryption();
3459
+ obj.deserialize(params.Encryption)
3460
+ this.Encryption = obj;
3461
+ }
3462
+
3463
+ }
3464
+ }
3465
+
3466
+ /**
3467
+ * PhoneVerificationCUCC请求参数结构体
3468
+ * @class
3469
+ */
3470
+ class PhoneVerificationCUCCRequest extends AbstractModel {
3471
+ constructor(){
3472
+ super();
3473
+
3474
+ /**
3475
+ * 身份证号
3476
+ * @type {string || null}
3477
+ */
3478
+ this.IdCard = null;
3479
+
3480
+ /**
3481
+ * 姓名
3482
+ * @type {string || null}
3483
+ */
3484
+ this.Name = null;
3485
+
3486
+ /**
3487
+ * 手机号
3488
+ * @type {string || null}
3489
+ */
3490
+ this.Phone = null;
3491
+
3492
+ /**
3493
+ * 敏感数据加密信息。对传入信息(姓名、身份证号、手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
3494
+ * @type {Encryption || null}
3495
+ */
3496
+ this.Encryption = null;
3497
+
3498
+ }
3499
+
3500
+ /**
3501
+ * @private
3502
+ */
3503
+ deserialize(params) {
3504
+ if (!params) {
3505
+ return;
3506
+ }
3507
+ this.IdCard = 'IdCard' in params ? params.IdCard : null;
3508
+ this.Name = 'Name' in params ? params.Name : null;
3509
+ this.Phone = 'Phone' in params ? params.Phone : null;
3510
+
3511
+ if (params.Encryption) {
3512
+ let obj = new Encryption();
3513
+ obj.deserialize(params.Encryption)
3514
+ this.Encryption = obj;
3515
+ }
3516
+
3517
+ }
3518
+ }
3519
+
3520
+ /**
3521
+ * BankCard4EVerification请求参数结构体
3522
+ * @class
3523
+ */
3524
+ class BankCard4EVerificationRequest extends AbstractModel {
3525
+ constructor(){
3526
+ super();
3527
+
3528
+ /**
3529
+ * 姓名
3530
+ * @type {string || null}
3531
+ */
3532
+ this.Name = null;
3533
+
3534
+ /**
3535
+ * 银行卡
3536
+ * @type {string || null}
3537
+ */
3538
+ this.BankCard = null;
3539
+
3540
+ /**
3541
+ * 手机号码
3542
+ * @type {string || null}
3543
+ */
3544
+ this.Phone = null;
3545
+
3546
+ /**
3547
+ * 开户证件号,与CertType参数的证件类型一致,如:身份证,则传入身份证号。
3548
+ * @type {string || null}
3549
+ */
3550
+ this.IdCard = null;
3551
+
3552
+ /**
3553
+ * 证件类型,请确认该证件为开户时使用的证件类型,未用于开户的证件信息不支持验证。
3554
+ 目前默认为0:身份证,其他证件类型暂不支持。
3555
+ * @type {number || null}
3556
+ */
3557
+ this.CertType = null;
3558
+
3559
+ /**
3560
+ * 敏感数据加密信息。对传入信息(姓名、身份证号、手机号、银行卡号)有加密需求的用户可使用此参数,详情请点击左侧链接。
3561
+ * @type {Encryption || null}
3562
+ */
3563
+ this.Encryption = null;
3564
+
3565
+ }
3566
+
3567
+ /**
3568
+ * @private
3569
+ */
3570
+ deserialize(params) {
3571
+ if (!params) {
3572
+ return;
3573
+ }
3574
+ this.Name = 'Name' in params ? params.Name : null;
3575
+ this.BankCard = 'BankCard' in params ? params.BankCard : null;
3576
+ this.Phone = 'Phone' in params ? params.Phone : null;
3577
+ this.IdCard = 'IdCard' in params ? params.IdCard : null;
3578
+ this.CertType = 'CertType' in params ? params.CertType : null;
3579
+
3580
+ if (params.Encryption) {
3581
+ let obj = new Encryption();
3582
+ obj.deserialize(params.Encryption)
3583
+ this.Encryption = obj;
3584
+ }
3585
+
3586
+ }
3587
+ }
3588
+
3589
+ /**
3590
+ * MobileNetworkTimeVerification请求参数结构体
3591
+ * @class
3592
+ */
3593
+ class MobileNetworkTimeVerificationRequest extends AbstractModel {
3594
+ constructor(){
3595
+ super();
3596
+
3597
+ /**
3598
+ * 手机号码
3599
+ * @type {string || null}
3600
+ */
3601
+ this.Mobile = null;
3602
+
3603
+ /**
3604
+ * 敏感数据加密信息。对传入信息(手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
3605
+ * @type {Encryption || null}
3606
+ */
3607
+ this.Encryption = null;
3608
+
3609
+ }
3610
+
3611
+ /**
3612
+ * @private
3613
+ */
3614
+ deserialize(params) {
3615
+ if (!params) {
3616
+ return;
3617
+ }
3618
+ this.Mobile = 'Mobile' in params ? params.Mobile : null;
3619
+
3620
+ if (params.Encryption) {
3621
+ let obj = new Encryption();
3622
+ obj.deserialize(params.Encryption)
3623
+ this.Encryption = obj;
3624
+ }
3625
+
3626
+ }
3627
+ }
3628
+
3629
+ /**
3630
+ * GetFaceIdResult请求参数结构体
3631
+ * @class
3632
+ */
3633
+ class GetFaceIdResultRequest extends AbstractModel {
3634
+ constructor(){
3635
+ super();
3636
+
3637
+ /**
3638
+ * SDK人脸核身流程的标识,调用GetFaceIdToken接口时生成。
3639
+ * @type {string || null}
3640
+ */
3641
+ this.FaceIdToken = null;
3642
+
3643
+ /**
3644
+ * 是否需要拉取视频,默认false不需要
3645
+ * @type {boolean || null}
3646
+ */
3647
+ this.IsNeedVideo = null;
3648
+
3649
+ /**
3650
+ * 是否需要拉取截帧,默认false不需要
3651
+ * @type {boolean || null}
3652
+ */
3653
+ this.IsNeedBestFrame = null;
3654
+
3655
+ }
3656
+
3657
+ /**
3658
+ * @private
3659
+ */
3660
+ deserialize(params) {
3661
+ if (!params) {
3662
+ return;
3663
+ }
3664
+ this.FaceIdToken = 'FaceIdToken' in params ? params.FaceIdToken : null;
3665
+ this.IsNeedVideo = 'IsNeedVideo' in params ? params.IsNeedVideo : null;
3666
+ this.IsNeedBestFrame = 'IsNeedBestFrame' in params ? params.IsNeedBestFrame : null;
3667
+
3668
+ }
3669
+ }
3670
+
3671
+ /**
3672
+ * PhoneVerificationCUCC返回参数结构体
3673
+ * @class
3674
+ */
3675
+ class PhoneVerificationCUCCResponse extends AbstractModel {
3676
+ constructor(){
3677
+ super();
3678
+
3679
+ /**
3680
+ * 认证结果码,收费情况如下。
3681
+ 收费结果码:
3682
+ 0: 认证通过
3683
+ -4: 信息不一致(手机号已实名,但姓名和身份证号与实名信息不一致)
3684
+ 不收费结果码:
3685
+ -6: 手机号码不合法
3686
+ -7: 身份证号码有误
3687
+ -8: 姓名校验不通过
3688
+ -9: 没有记录
3689
+ -10: 认证未通过
3690
+ -11: 验证中心服务繁忙
3691
+ * @type {string || null}
3692
+ */
3693
+ this.Result = null;
3694
+
3695
+ /**
3696
+ * 运营商名称。
3697
+ 取值范围为["移动","联通","电信",""]
3698
+ * @type {string || null}
3699
+ */
3700
+ this.Isp = null;
3701
+
3702
+ /**
3703
+ * 业务结果描述。
3704
+ * @type {string || null}
3705
+ */
3706
+ this.Description = null;
3707
+
3708
+ /**
3709
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3710
+ * @type {string || null}
3711
+ */
3712
+ this.RequestId = null;
3713
+
3714
+ }
3715
+
3716
+ /**
3717
+ * @private
3718
+ */
3719
+ deserialize(params) {
3720
+ if (!params) {
3721
+ return;
3722
+ }
3723
+ this.Result = 'Result' in params ? params.Result : null;
3724
+ this.Isp = 'Isp' in params ? params.Isp : null;
3725
+ this.Description = 'Description' in params ? params.Description : null;
3726
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3727
+
3728
+ }
3729
+ }
3730
+
3731
+ /**
3732
+ * GetActionSequence返回参数结构体
3733
+ * @class
3734
+ */
3735
+ class GetActionSequenceResponse extends AbstractModel {
2020
3736
  constructor(){
2021
3737
  super();
2022
3738
 
2023
3739
  /**
2024
- * 手机号码
3740
+ * 动作顺序(2,1 or 1,2) 。1代表张嘴,2代表闭眼。
2025
3741
  * @type {string || null}
2026
3742
  */
2027
- this.Mobile = null;
3743
+ this.ActionSequence = null;
3744
+
3745
+ /**
3746
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3747
+ * @type {string || null}
3748
+ */
3749
+ this.RequestId = null;
2028
3750
 
2029
3751
  }
2030
3752
 
@@ -2035,36 +3757,57 @@ class MobileNetworkTimeVerificationRequest extends AbstractModel {
2035
3757
  if (!params) {
2036
3758
  return;
2037
3759
  }
2038
- this.Mobile = 'Mobile' in params ? params.Mobile : null;
3760
+ this.ActionSequence = 'ActionSequence' in params ? params.ActionSequence : null;
3761
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2039
3762
 
2040
3763
  }
2041
3764
  }
2042
3765
 
2043
3766
  /**
2044
- * GetFaceIdResult请求参数结构体
3767
+ * LivenessRecognition返回参数结构体
2045
3768
  * @class
2046
3769
  */
2047
- class GetFaceIdResultRequest extends AbstractModel {
3770
+ class LivenessRecognitionResponse extends AbstractModel {
2048
3771
  constructor(){
2049
3772
  super();
2050
3773
 
2051
3774
  /**
2052
- * SDK人脸核身流程的标识,调用GetFaceIdToken接口时生成。
3775
+ * 验证通过后的视频最佳截图照片,照片为BASE64编码后的值,jpg格式。
3776
+ 注意:此字段可能返回 null,表示取不到有效值。
2053
3777
  * @type {string || null}
2054
3778
  */
2055
- this.FaceIdToken = null;
3779
+ this.BestFrameBase64 = null;
2056
3780
 
2057
3781
  /**
2058
- * 是否需要拉取视频,默认false不需要
2059
- * @type {boolean || null}
3782
+ * 相似度,取值范围 [0.00, 100.00]。推荐相似度大于等于70时可判断为同一人,可根据具体场景自行调整阈值(阈值70的误通过率为千分之一,阈值80的误通过率是万分之一)
3783
+ * @type {number || null}
2060
3784
  */
2061
- this.IsNeedVideo = null;
3785
+ this.Sim = null;
2062
3786
 
2063
3787
  /**
2064
- * 是否需要拉取截帧,默认false不需要
2065
- * @type {boolean || null}
3788
+ * 业务错误码,成功情况返回Success, 错误情况请参考下方错误码 列表中FailedOperation部分
3789
+ * @type {string || null}
2066
3790
  */
2067
- this.IsNeedBestFrame = null;
3791
+ this.Result = null;
3792
+
3793
+ /**
3794
+ * 业务结果描述。
3795
+ * @type {string || null}
3796
+ */
3797
+ this.Description = null;
3798
+
3799
+ /**
3800
+ * 最佳截图列表,仅在配置了返回多张最佳截图时返回。
3801
+ 注意:此字段可能返回 null,表示取不到有效值。
3802
+ * @type {Array.<string> || null}
3803
+ */
3804
+ this.BestFrameList = null;
3805
+
3806
+ /**
3807
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3808
+ * @type {string || null}
3809
+ */
3810
+ this.RequestId = null;
2068
3811
 
2069
3812
  }
2070
3813
 
@@ -2075,26 +3818,55 @@ class GetFaceIdResultRequest extends AbstractModel {
2075
3818
  if (!params) {
2076
3819
  return;
2077
3820
  }
2078
- this.FaceIdToken = 'FaceIdToken' in params ? params.FaceIdToken : null;
2079
- this.IsNeedVideo = 'IsNeedVideo' in params ? params.IsNeedVideo : null;
2080
- this.IsNeedBestFrame = 'IsNeedBestFrame' in params ? params.IsNeedBestFrame : null;
3821
+ this.BestFrameBase64 = 'BestFrameBase64' in params ? params.BestFrameBase64 : null;
3822
+ this.Sim = 'Sim' in params ? params.Sim : null;
3823
+ this.Result = 'Result' in params ? params.Result : null;
3824
+ this.Description = 'Description' in params ? params.Description : null;
3825
+ this.BestFrameList = 'BestFrameList' in params ? params.BestFrameList : null;
3826
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2081
3827
 
2082
3828
  }
2083
3829
  }
2084
3830
 
2085
3831
  /**
2086
- * GetActionSequence返回参数结构体
3832
+ * BankCardVerification返回参数结构体
2087
3833
  * @class
2088
3834
  */
2089
- class GetActionSequenceResponse extends AbstractModel {
3835
+ class BankCardVerificationResponse extends AbstractModel {
2090
3836
  constructor(){
2091
3837
  super();
2092
3838
 
2093
3839
  /**
2094
- * 动作顺序(2,1 or 1,2) 。1代表张嘴,2代表闭眼。
3840
+ * 认证结果码
3841
+ 收费结果码:
3842
+ '0': '认证通过'
3843
+ '-1': '认证未通过'
3844
+ '-5': '持卡人信息有误'
3845
+ '-6': '未开通无卡支付'
3846
+ '-7': '此卡被没收'
3847
+ '-8': '无效卡号'
3848
+ '-9': '此卡无对应发卡行'
3849
+ '-10': '该卡未初始化或睡眠卡'
3850
+ '-11': '作弊卡、吞卡'
3851
+ '-12': '此卡已挂失'
3852
+ '-13': '该卡已过期'
3853
+ '-14': '受限制的卡'
3854
+ '-15': '密码错误次数超限'
3855
+ '-16': '发卡行不支持此交易'
3856
+ 不收费结果码:
3857
+ '-2': '姓名校验不通过'
3858
+ '-3': '身份证号码有误'
3859
+ '-4': '银行卡号码有误'
3860
+ '-17': '验证中心服务繁忙'
2095
3861
  * @type {string || null}
2096
3862
  */
2097
- this.ActionSequence = null;
3863
+ this.Result = null;
3864
+
3865
+ /**
3866
+ * 业务结果描述。
3867
+ * @type {string || null}
3868
+ */
3869
+ this.Description = null;
2098
3870
 
2099
3871
  /**
2100
3872
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2111,7 +3883,8 @@ class GetActionSequenceResponse extends AbstractModel {
2111
3883
  if (!params) {
2112
3884
  return;
2113
3885
  }
2114
- this.ActionSequence = 'ActionSequence' in params ? params.ActionSequence : null;
3886
+ this.Result = 'Result' in params ? params.Result : null;
3887
+ this.Description = 'Description' in params ? params.Description : null;
2115
3888
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
2116
3889
 
2117
3890
  }
@@ -2153,6 +3926,12 @@ class MinorsVerificationRequest extends AbstractModel {
2153
3926
  */
2154
3927
  this.Name = null;
2155
3928
 
3929
+ /**
3930
+ * 敏感数据加密信息。对传入信息(姓名、身份证号、手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
3931
+ * @type {Encryption || null}
3932
+ */
3933
+ this.Encryption = null;
3934
+
2156
3935
  }
2157
3936
 
2158
3937
  /**
@@ -2167,6 +3946,12 @@ class MinorsVerificationRequest extends AbstractModel {
2167
3946
  this.IdCard = 'IdCard' in params ? params.IdCard : null;
2168
3947
  this.Name = 'Name' in params ? params.Name : null;
2169
3948
 
3949
+ if (params.Encryption) {
3950
+ let obj = new Encryption();
3951
+ obj.deserialize(params.Encryption)
3952
+ this.Encryption = obj;
3953
+ }
3954
+
2170
3955
  }
2171
3956
  }
2172
3957
 
@@ -2539,29 +4324,193 @@ class BankCard2EVerificationResponse extends AbstractModel {
2539
4324
  * IdCardVerification返回参数结构体
2540
4325
  * @class
2541
4326
  */
2542
- class IdCardVerificationResponse extends AbstractModel {
4327
+ class IdCardVerificationResponse extends AbstractModel {
4328
+ constructor(){
4329
+ super();
4330
+
4331
+ /**
4332
+ * 认证结果码,收费情况如下。
4333
+ 收费结果码:
4334
+ 0: 姓名和身份证号一致
4335
+ -1: 姓名和身份证号不一致
4336
+ 不收费结果码:
4337
+ -2: 非法身份证号(长度、校验位等不正确)
4338
+ -3: 非法姓名(长度、格式等不正确)
4339
+ -4: 证件库服务异常
4340
+ -5: 证件库中无此身份证记录
4341
+ -6: 权威比对系统升级中,请稍后再试
4342
+ -7: 认证次数超过当日限制
4343
+ * @type {string || null}
4344
+ */
4345
+ this.Result = null;
4346
+
4347
+ /**
4348
+ * 业务结果描述。
4349
+ * @type {string || null}
4350
+ */
4351
+ this.Description = null;
4352
+
4353
+ /**
4354
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4355
+ * @type {string || null}
4356
+ */
4357
+ this.RequestId = null;
4358
+
4359
+ }
4360
+
4361
+ /**
4362
+ * @private
4363
+ */
4364
+ deserialize(params) {
4365
+ if (!params) {
4366
+ return;
4367
+ }
4368
+ this.Result = 'Result' in params ? params.Result : null;
4369
+ this.Description = 'Description' in params ? params.Description : null;
4370
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
4371
+
4372
+ }
4373
+ }
4374
+
4375
+ /**
4376
+ * 核身身份证图片信息
4377
+ * @class
4378
+ */
4379
+ class DetectInfoIdCardData extends AbstractModel {
4380
+ constructor(){
4381
+ super();
4382
+
4383
+ /**
4384
+ * OCR正面照片的base64编码。
4385
+ 注意:此字段可能返回 null,表示取不到有效值。
4386
+ * @type {string || null}
4387
+ */
4388
+ this.OcrFront = null;
4389
+
4390
+ /**
4391
+ * OCR反面照片的base64编码
4392
+ 注意:此字段可能返回 null,表示取不到有效值。
4393
+ * @type {string || null}
4394
+ */
4395
+ this.OcrBack = null;
4396
+
4397
+ /**
4398
+ * 旋转裁边后的正面照片base64编码。
4399
+ 注意:此字段可能返回 null,表示取不到有效值。
4400
+ * @type {string || null}
4401
+ */
4402
+ this.ProcessedFrontImage = null;
4403
+
4404
+ /**
4405
+ * 旋转裁边后的背面照片base64编码。
4406
+ 注意:此字段可能返回 null,表示取不到有效值。
4407
+ * @type {string || null}
4408
+ */
4409
+ this.ProcessedBackImage = null;
4410
+
4411
+ /**
4412
+ * 身份证正面人像图base64编码。
4413
+ 注意:此字段可能返回 null,表示取不到有效值。
4414
+ * @type {string || null}
4415
+ */
4416
+ this.Avatar = null;
4417
+
4418
+ /**
4419
+ * 开启身份证防翻拍告警功能后才会返回,返回数组中可能出现的告警码如下:
4420
+ -9102 身份证复印件告警。
4421
+ -9103 身份证翻拍告警。
4422
+ -9106 身份证 PS 告警。
4423
+ 注意:此字段可能返回 null,表示取不到有效值。
4424
+ * @type {Array.<number> || null}
4425
+ */
4426
+ this.WarnInfos = null;
4427
+
4428
+ }
4429
+
4430
+ /**
4431
+ * @private
4432
+ */
4433
+ deserialize(params) {
4434
+ if (!params) {
4435
+ return;
4436
+ }
4437
+ this.OcrFront = 'OcrFront' in params ? params.OcrFront : null;
4438
+ this.OcrBack = 'OcrBack' in params ? params.OcrBack : null;
4439
+ this.ProcessedFrontImage = 'ProcessedFrontImage' in params ? params.ProcessedFrontImage : null;
4440
+ this.ProcessedBackImage = 'ProcessedBackImage' in params ? params.ProcessedBackImage : null;
4441
+ this.Avatar = 'Avatar' in params ? params.Avatar : null;
4442
+ this.WarnInfos = 'WarnInfos' in params ? params.WarnInfos : null;
4443
+
4444
+ }
4445
+ }
4446
+
4447
+ /**
4448
+ * CheckPhoneAndName请求参数结构体
4449
+ * @class
4450
+ */
4451
+ class CheckPhoneAndNameRequest extends AbstractModel {
4452
+ constructor(){
4453
+ super();
4454
+
4455
+ /**
4456
+ * ⼿机号
4457
+ * @type {string || null}
4458
+ */
4459
+ this.Mobile = null;
4460
+
4461
+ /**
4462
+ * 姓名
4463
+ * @type {string || null}
4464
+ */
4465
+ this.Name = null;
4466
+
4467
+ /**
4468
+ * 敏感数据加密信息。对传入信息(姓名、手机号)有加密需求的用户可使用此参数,详情请点击左侧链接。
4469
+ * @type {Encryption || null}
4470
+ */
4471
+ this.Encryption = null;
4472
+
4473
+ }
4474
+
4475
+ /**
4476
+ * @private
4477
+ */
4478
+ deserialize(params) {
4479
+ if (!params) {
4480
+ return;
4481
+ }
4482
+ this.Mobile = 'Mobile' in params ? params.Mobile : null;
4483
+ this.Name = 'Name' in params ? params.Name : null;
4484
+
4485
+ if (params.Encryption) {
4486
+ let obj = new Encryption();
4487
+ obj.deserialize(params.Encryption)
4488
+ this.Encryption = obj;
4489
+ }
4490
+
4491
+ }
4492
+ }
4493
+
4494
+ /**
4495
+ * GetEidToken返回参数结构体
4496
+ * @class
4497
+ */
4498
+ class GetEidTokenResponse extends AbstractModel {
2543
4499
  constructor(){
2544
4500
  super();
2545
4501
 
2546
4502
  /**
2547
- * 认证结果码,收费情况如下。
2548
- 收费结果码:
2549
- 0: 姓名和身份证号一致
2550
- -1: 姓名和身份证号不一致
2551
- 不收费结果码:
2552
- -2: 非法身份证号(长度、校验位等不正确)
2553
- -3: 非法姓名(长度、格式等不正确)
2554
- -4: 证件库服务异常
2555
- -5: 证件库中无此身份证记录
4503
+ * 一次核身流程的标识,有效时间为600秒;
4504
+ 完成核身后,可用该标识获取验证结果信息。
2556
4505
  * @type {string || null}
2557
4506
  */
2558
- this.Result = null;
4507
+ this.EidToken = null;
2559
4508
 
2560
4509
  /**
2561
- * 业务结果描述。
4510
+ * 发起核身流程的URL,用于H5场景核身。
2562
4511
  * @type {string || null}
2563
4512
  */
2564
- this.Description = null;
4513
+ this.Url = null;
2565
4514
 
2566
4515
  /**
2567
4516
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2578,55 +4527,62 @@ class IdCardVerificationResponse extends AbstractModel {
2578
4527
  if (!params) {
2579
4528
  return;
2580
4529
  }
2581
- this.Result = 'Result' in params ? params.Result : null;
2582
- this.Description = 'Description' in params ? params.Description : null;
4530
+ this.EidToken = 'EidToken' in params ? params.EidToken : null;
4531
+ this.Url = 'Url' in params ? params.Url : null;
2583
4532
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
2584
4533
 
2585
4534
  }
2586
4535
  }
2587
4536
 
2588
4537
  /**
2589
- * 核身身份证图片信息
4538
+ * 意愿核身相关结果
2590
4539
  * @class
2591
4540
  */
2592
- class DetectInfoIdCardData extends AbstractModel {
4541
+ class IntentionVerifyData extends AbstractModel {
2593
4542
  constructor(){
2594
4543
  super();
2595
4544
 
2596
4545
  /**
2597
- * OCR正面照片的base64编码。
4546
+ * 意愿确认环节中录制的视频(base64)。若不存在则为空字符串。
2598
4547
  注意:此字段可能返回 null,表示取不到有效值。
2599
4548
  * @type {string || null}
2600
4549
  */
2601
- this.OcrFront = null;
4550
+ this.IntentionVerifyVideo = null;
2602
4551
 
2603
4552
  /**
2604
- * OCR反面照片的base64编码
4553
+ * 意愿确认环节中用户语音转文字的识别结果。若不存在则为空字符串。
2605
4554
  注意:此字段可能返回 null,表示取不到有效值。
2606
4555
  * @type {string || null}
2607
4556
  */
2608
- this.OcrBack = null;
4557
+ this.AsrResult = null;
2609
4558
 
2610
4559
  /**
2611
- * 旋转裁边后的正面照片base64编码。
4560
+ * 意愿确认环节的结果码。当该结果码为0时,语音朗读的视频与语音识别结果才会返回。
4561
+ 注意:此字段可能返回 null,表示取不到有效值。
4562
+ * @type {number || null}
4563
+ */
4564
+ this.ErrorCode = null;
4565
+
4566
+ /**
4567
+ * 意愿确认环节的结果信息。
2612
4568
  注意:此字段可能返回 null,表示取不到有效值。
2613
4569
  * @type {string || null}
2614
4570
  */
2615
- this.ProcessedFrontImage = null;
4571
+ this.ErrorMessage = null;
2616
4572
 
2617
4573
  /**
2618
- * 旋转裁边后的背面照片base64编码。
4574
+ * 意愿确认环节中录制视频的最佳帧(base64)。若不存在则为空字符串。
2619
4575
  注意:此字段可能返回 null,表示取不到有效值。
2620
4576
  * @type {string || null}
2621
4577
  */
2622
- this.ProcessedBackImage = null;
4578
+ this.IntentionVerifyBestFrame = null;
2623
4579
 
2624
4580
  /**
2625
- * 身份证正面人像图base64编码。
4581
+ * 本次流程用户语音与传入文本比对的相似度分值,取值范围 [0.00, 100.00]。只有配置了相似度阈值后才进行语音校验并返回相似度分值。
2626
4582
  注意:此字段可能返回 null,表示取不到有效值。
2627
4583
  * @type {string || null}
2628
4584
  */
2629
- this.Avatar = null;
4585
+ this.AsrResultSimilarity = null;
2630
4586
 
2631
4587
  }
2632
4588
 
@@ -2637,11 +4593,12 @@ class DetectInfoIdCardData extends AbstractModel {
2637
4593
  if (!params) {
2638
4594
  return;
2639
4595
  }
2640
- this.OcrFront = 'OcrFront' in params ? params.OcrFront : null;
2641
- this.OcrBack = 'OcrBack' in params ? params.OcrBack : null;
2642
- this.ProcessedFrontImage = 'ProcessedFrontImage' in params ? params.ProcessedFrontImage : null;
2643
- this.ProcessedBackImage = 'ProcessedBackImage' in params ? params.ProcessedBackImage : null;
2644
- this.Avatar = 'Avatar' in params ? params.Avatar : null;
4596
+ this.IntentionVerifyVideo = 'IntentionVerifyVideo' in params ? params.IntentionVerifyVideo : null;
4597
+ this.AsrResult = 'AsrResult' in params ? params.AsrResult : null;
4598
+ this.ErrorCode = 'ErrorCode' in params ? params.ErrorCode : null;
4599
+ this.ErrorMessage = 'ErrorMessage' in params ? params.ErrorMessage : null;
4600
+ this.IntentionVerifyBestFrame = 'IntentionVerifyBestFrame' in params ? params.IntentionVerifyBestFrame : null;
4601
+ this.AsrResultSimilarity = 'AsrResultSimilarity' in params ? params.AsrResultSimilarity : null;
2645
4602
 
2646
4603
  }
2647
4604
  }
@@ -2655,31 +4612,35 @@ class LivenessCompareRequest extends AbstractModel {
2655
4612
  super();
2656
4613
 
2657
4614
  /**
2658
- * 用于人脸比对的照片,图片的Base64值;
2659
- Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。
2660
- 请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
4615
+ * 活体检测类型,取值:LIP/ACTION/SILENT。
4616
+ LIP为数字模式,ACTION为动作模式,SILENT为静默模式,三种模式选择一种传入。
2661
4617
  * @type {string || null}
2662
4618
  */
2663
- this.ImageBase64 = null;
4619
+ this.LivenessType = null;
2664
4620
 
2665
4621
  /**
2666
- * 用于活体检测的视频,视频的Base64值;
2667
- Base64编码后的大小不超过8M,支持mp4avi、flv格式。
4622
+ * 用于人脸比对的照片的Base64值;
4623
+ Base64编码后的图片数据大小不超过3M,仅支持jpgpng格式。
2668
4624
  请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
4625
+
4626
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageBase64。
2669
4627
  * @type {string || null}
2670
4628
  */
2671
- this.VideoBase64 = null;
4629
+ this.ImageBase64 = null;
2672
4630
 
2673
4631
  /**
2674
- * 活体检测类型,取值:LIP/ACTION/SILENT。
2675
- LIP为数字模式,ACTION为动作模式,SILENT为静默模式,三种模式选择一种传入。
4632
+ * 用于人脸比对照片的URL地址;图片下载后经Base64编码后的数据大小不超过3M,仅支持jpg、png格式。
4633
+
4634
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageBase64。
4635
+
4636
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
2676
4637
  * @type {string || null}
2677
4638
  */
2678
- this.LivenessType = null;
4639
+ this.ImageUrl = null;
2679
4640
 
2680
4641
  /**
2681
- * 数字模式传参:数字验证码(1234),需先调用接口获取数字验证码;
2682
- 动作模式传参:传动作顺序(2,1 or 1,2),需先调用接口获取动作顺序;
4642
+ * 数字模式传参:传数字验证码,验证码需先调用<a href="https://cloud.tencent.com/document/product/1007/31821">获取数字验证码接口</a>得到;
4643
+ 动作模式传参:传动作顺序,动作顺序需先调用<a href="https://cloud.tencent.com/document/product/1007/31822">获取动作顺序接口</a>得到;
2683
4644
  静默模式传参:空。
2684
4645
  * @type {string || null}
2685
4646
  */
@@ -2688,12 +4649,32 @@ LIP为数字模式,ACTION为动作模式,SILENT为静默模式,三种模
2688
4649
  /**
2689
4650
  * 额外配置,传入JSON字符串。
2690
4651
  {
2691
- "BestFrameNum": 2 //需要返回多张最佳截图,取值范围1-10
4652
+ "BestFrameNum": 2 //需要返回多张最佳截图,取值范围2-10
2692
4653
  }
2693
4654
  * @type {string || null}
2694
4655
  */
2695
4656
  this.Optional = null;
2696
4657
 
4658
+ /**
4659
+ * 用于活体检测的视频,视频的Base64值;
4660
+ Base64编码后的大小不超过8M,支持mp4、avi、flv格式。
4661
+ 请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
4662
+
4663
+ 视频的 VideoUrl、VideoBase64 必须提供一个,如果都提供,只使用 VideoBase64。
4664
+ * @type {string || null}
4665
+ */
4666
+ this.VideoBase64 = null;
4667
+
4668
+ /**
4669
+ * 用于活体检测的视频Url 地址。视频下载后经Base64编码后不超过 8M,视频下载耗时不超过4S,支持mp4、avi、flv格式。
4670
+
4671
+ 视频的 VideoUrl、VideoBase64 必须提供一个,如果都提供,只使用 VideoBase64。
4672
+
4673
+ 建议视频存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议视频存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
4674
+ * @type {string || null}
4675
+ */
4676
+ this.VideoUrl = null;
4677
+
2697
4678
  }
2698
4679
 
2699
4680
  /**
@@ -2703,11 +4684,13 @@ LIP为数字模式,ACTION为动作模式,SILENT为静默模式,三种模
2703
4684
  if (!params) {
2704
4685
  return;
2705
4686
  }
2706
- this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
2707
- this.VideoBase64 = 'VideoBase64' in params ? params.VideoBase64 : null;
2708
4687
  this.LivenessType = 'LivenessType' in params ? params.LivenessType : null;
4688
+ this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
4689
+ this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
2709
4690
  this.ValidateData = 'ValidateData' in params ? params.ValidateData : null;
2710
4691
  this.Optional = 'Optional' in params ? params.Optional : null;
4692
+ this.VideoBase64 = 'VideoBase64' in params ? params.VideoBase64 : null;
4693
+ this.VideoUrl = 'VideoUrl' in params ? params.VideoUrl : null;
2711
4694
 
2712
4695
  }
2713
4696
  }
@@ -2804,6 +4787,17 @@ class DetectDetail extends AbstractModel {
2804
4787
  */
2805
4788
  this.Comparemsg = null;
2806
4789
 
4790
+ /**
4791
+ * 比对库源类型。包括:
4792
+ 公安商业库;
4793
+ 业务方自有库(用户上传照片、客户的混合库、混合部署库);
4794
+ 二次验证库;
4795
+ 人工审核库;
4796
+ 注意:此字段可能返回 null,表示取不到有效值。
4797
+ * @type {string || null}
4798
+ */
4799
+ this.CompareLibType = null;
4800
+
2807
4801
  }
2808
4802
 
2809
4803
  /**
@@ -2825,6 +4819,7 @@ class DetectDetail extends AbstractModel {
2825
4819
  this.Livemsg = 'Livemsg' in params ? params.Livemsg : null;
2826
4820
  this.Comparestatus = 'Comparestatus' in params ? params.Comparestatus : null;
2827
4821
  this.Comparemsg = 'Comparemsg' in params ? params.Comparemsg : null;
4822
+ this.CompareLibType = 'CompareLibType' in params ? params.CompareLibType : null;
2828
4823
 
2829
4824
  }
2830
4825
  }
@@ -2868,14 +4863,14 @@ class GetFaceIdResultResponse extends AbstractModel {
2868
4863
  this.Similarity = null;
2869
4864
 
2870
4865
  /**
2871
- * 用户核验的视频
4866
+ * 用户核验的视频base64,如果选择了使用cos,返回完整cos地址如https://bucket.cos.ap-guangzhou.myqcloud.com/objectKey
2872
4867
  注意:此字段可能返回 null,表示取不到有效值。
2873
4868
  * @type {string || null}
2874
4869
  */
2875
4870
  this.VideoBase64 = null;
2876
4871
 
2877
4872
  /**
2878
- * 用户核验视频的截帧
4873
+ * 用户核验视频的截帧base64,如果选择了使用cos,返回完整cos地址如https://bucket.cos.ap-guangzhou.myqcloud.com/objectKey
2879
4874
  注意:此字段可能返回 null,表示取不到有效值。
2880
4875
  * @type {string || null}
2881
4876
  */
@@ -2888,6 +4883,27 @@ class GetFaceIdResultResponse extends AbstractModel {
2888
4883
  */
2889
4884
  this.Extra = null;
2890
4885
 
4886
+ /**
4887
+ * 设备风险标签,仅错误码返回1007(设备疑似被劫持)时返回风险标签。标签说明:
4888
+ 202、5001:设备疑似被Root
4889
+ 203、5004:设备疑似被注入
4890
+ 205:设备疑似被Hook
4891
+ 206:设备疑似虚拟运行环境
4892
+ 5007、1005:设备疑似摄像头被劫持
4893
+ 8000:设备疑似存在异常篡改行为
4894
+ 注意:此字段可能返回 null,表示取不到有效值。
4895
+ * @type {string || null}
4896
+ */
4897
+ this.DeviceInfoTag = null;
4898
+
4899
+ /**
4900
+ * 行为风险标签,仅错误码返回1007(设备疑似被劫持)时返回风险标签。标签说明:
4901
+ 02:攻击风险
4902
+ 注意:此字段可能返回 null,表示取不到有效值。
4903
+ * @type {string || null}
4904
+ */
4905
+ this.RiskInfoTag = null;
4906
+
2891
4907
  /**
2892
4908
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2893
4909
  * @type {string || null}
@@ -2911,6 +4927,197 @@ class GetFaceIdResultResponse extends AbstractModel {
2911
4927
  this.VideoBase64 = 'VideoBase64' in params ? params.VideoBase64 : null;
2912
4928
  this.BestFrameBase64 = 'BestFrameBase64' in params ? params.BestFrameBase64 : null;
2913
4929
  this.Extra = 'Extra' in params ? params.Extra : null;
4930
+ this.DeviceInfoTag = 'DeviceInfoTag' in params ? params.DeviceInfoTag : null;
4931
+ this.RiskInfoTag = 'RiskInfoTag' in params ? params.RiskInfoTag : null;
4932
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
4933
+
4934
+ }
4935
+ }
4936
+
4937
+ /**
4938
+ * EncryptedPhoneVerification请求参数结构体
4939
+ * @class
4940
+ */
4941
+ class EncryptedPhoneVerificationRequest extends AbstractModel {
4942
+ constructor(){
4943
+ super();
4944
+
4945
+ /**
4946
+ * 身份证号,加密方式以EncryptionMode为准
4947
+ * @type {string || null}
4948
+ */
4949
+ this.IdCard = null;
4950
+
4951
+ /**
4952
+ * 姓名,加密方式以EncryptionMode为准
4953
+ * @type {string || null}
4954
+ */
4955
+ this.Name = null;
4956
+
4957
+ /**
4958
+ * 手机号,加密方式以EncryptionMode为准
4959
+ * @type {string || null}
4960
+ */
4961
+ this.Phone = null;
4962
+
4963
+ /**
4964
+ * 敏感信息的加密方式,目前支持明文、MD5和SHA256加密传输,参数取值:
4965
+
4966
+ 0:明文,不加密
4967
+ 1: 使用MD5加密
4968
+ 2: 使用SHA256
4969
+ * @type {string || null}
4970
+ */
4971
+ this.EncryptionMode = null;
4972
+
4973
+ }
4974
+
4975
+ /**
4976
+ * @private
4977
+ */
4978
+ deserialize(params) {
4979
+ if (!params) {
4980
+ return;
4981
+ }
4982
+ this.IdCard = 'IdCard' in params ? params.IdCard : null;
4983
+ this.Name = 'Name' in params ? params.Name : null;
4984
+ this.Phone = 'Phone' in params ? params.Phone : null;
4985
+ this.EncryptionMode = 'EncryptionMode' in params ? params.EncryptionMode : null;
4986
+
4987
+ }
4988
+ }
4989
+
4990
+ /**
4991
+ * GetRealNameAuthToken返回参数结构体
4992
+ * @class
4993
+ */
4994
+ class GetRealNameAuthTokenResponse extends AbstractModel {
4995
+ constructor(){
4996
+ super();
4997
+
4998
+ /**
4999
+ * 查询实名认证结果的唯一凭证
5000
+ * @type {string || null}
5001
+ */
5002
+ this.AuthToken = null;
5003
+
5004
+ /**
5005
+ * 实名认证授权地址,认证发起方需要重定向到这个地址获取认证用户的授权,仅能在微信环境下打开。
5006
+ * @type {string || null}
5007
+ */
5008
+ this.RedirectURL = null;
5009
+
5010
+ /**
5011
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5012
+ * @type {string || null}
5013
+ */
5014
+ this.RequestId = null;
5015
+
5016
+ }
5017
+
5018
+ /**
5019
+ * @private
5020
+ */
5021
+ deserialize(params) {
5022
+ if (!params) {
5023
+ return;
5024
+ }
5025
+ this.AuthToken = 'AuthToken' in params ? params.AuthToken : null;
5026
+ this.RedirectURL = 'RedirectURL' in params ? params.RedirectURL : null;
5027
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
5028
+
5029
+ }
5030
+ }
5031
+
5032
+ /**
5033
+ * GetRealNameAuthResult返回参数结构体
5034
+ * @class
5035
+ */
5036
+ class GetRealNameAuthResultResponse extends AbstractModel {
5037
+ constructor(){
5038
+ super();
5039
+
5040
+ /**
5041
+ * 认证结果码,收费情况如下:
5042
+
5043
+ 收费码:
5044
+ 0: 姓名和身份证号一致
5045
+ -1: 姓名和身份证号不一致
5046
+ -2: 姓名和微信实名姓名不一致
5047
+
5048
+ 不收费码:
5049
+ -3: 微信号未实名
5050
+ * @type {string || null}
5051
+ */
5052
+ this.ResultType = null;
5053
+
5054
+ /**
5055
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5056
+ * @type {string || null}
5057
+ */
5058
+ this.RequestId = null;
5059
+
5060
+ }
5061
+
5062
+ /**
5063
+ * @private
5064
+ */
5065
+ deserialize(params) {
5066
+ if (!params) {
5067
+ return;
5068
+ }
5069
+ this.ResultType = 'ResultType' in params ? params.ResultType : null;
5070
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
5071
+
5072
+ }
5073
+ }
5074
+
5075
+ /**
5076
+ * EncryptedPhoneVerification返回参数结构体
5077
+ * @class
5078
+ */
5079
+ class EncryptedPhoneVerificationResponse extends AbstractModel {
5080
+ constructor(){
5081
+ super();
5082
+
5083
+ /**
5084
+ * 认证结果码:
5085
+ 【收费结果码】
5086
+ 0: 三要素信息一致
5087
+ -4: 三要素信息不一致
5088
+
5089
+ 【不收费结果码】
5090
+ -7: 身份证号码有误
5091
+ -8: 参数错误
5092
+ -9: 没有记录
5093
+ -11: 验证中心服务繁忙
5094
+ * @type {string || null}
5095
+ */
5096
+ this.Result = null;
5097
+
5098
+ /**
5099
+ * 业务结果描述。
5100
+ * @type {string || null}
5101
+ */
5102
+ this.Description = null;
5103
+
5104
+ /**
5105
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5106
+ * @type {string || null}
5107
+ */
5108
+ this.RequestId = null;
5109
+
5110
+ }
5111
+
5112
+ /**
5113
+ * @private
5114
+ */
5115
+ deserialize(params) {
5116
+ if (!params) {
5117
+ return;
5118
+ }
5119
+ this.Result = 'Result' in params ? params.Result : null;
5120
+ this.Description = 'Description' in params ? params.Description : null;
2914
5121
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
2915
5122
 
2916
5123
  }
@@ -2921,38 +5128,65 @@ module.exports = {
2921
5128
  GetDetectInfoEnhancedRequest: GetDetectInfoEnhancedRequest,
2922
5129
  GetFaceIdTokenRequest: GetFaceIdTokenRequest,
2923
5130
  LivenessRequest: LivenessRequest,
5131
+ Encryption: Encryption,
2924
5132
  CheckBankCardInformationRequest: CheckBankCardInformationRequest,
2925
5133
  MobileNetworkTimeVerificationResponse: MobileNetworkTimeVerificationResponse,
2926
5134
  GetLiveCodeRequest: GetLiveCodeRequest,
5135
+ CheckIdNameDateResponse: CheckIdNameDateResponse,
2927
5136
  IdCardVerificationRequest: IdCardVerificationRequest,
2928
5137
  BankCardVerificationRequest: BankCardVerificationRequest,
2929
5138
  CheckBankCardInformationResponse: CheckBankCardInformationResponse,
2930
5139
  DetectInfoBestFrame: DetectInfoBestFrame,
5140
+ WeChatBillDetail: WeChatBillDetail,
5141
+ GetEidTokenConfig: GetEidTokenConfig,
2931
5142
  CheckIdCardInformationResponse: CheckIdCardInformationResponse,
2932
5143
  GetDetectInfoEnhancedResponse: GetDetectInfoEnhancedResponse,
2933
5144
  PhoneVerificationRequest: PhoneVerificationRequest,
5145
+ PhoneVerificationCMCCRequest: PhoneVerificationCMCCRequest,
5146
+ GetEidResultRequest: GetEidResultRequest,
2934
5147
  DetectAuthResponse: DetectAuthResponse,
2935
5148
  PhoneVerificationResponse: PhoneVerificationResponse,
5149
+ GetEidTokenRequest: GetEidTokenRequest,
2936
5150
  IdCardOCRVerificationRequest: IdCardOCRVerificationRequest,
5151
+ GetWeChatBillDetailsResponse: GetWeChatBillDetailsResponse,
5152
+ CheckPhoneAndNameResponse: CheckPhoneAndNameResponse,
2937
5153
  BankCard4EVerificationResponse: BankCard4EVerificationResponse,
2938
5154
  MobileStatusRequest: MobileStatusRequest,
2939
- LivenessRecognitionResponse: LivenessRecognitionResponse,
5155
+ DetectReflectLivenessAndCompareResponse: DetectReflectLivenessAndCompareResponse,
5156
+ GetRealNameAuthTokenRequest: GetRealNameAuthTokenRequest,
5157
+ ParseNfcDataResponse: ParseNfcDataResponse,
5158
+ CheckIdNameDateRequest: CheckIdNameDateRequest,
2940
5159
  BankCard2EVerificationRequest: BankCard2EVerificationRequest,
2941
5160
  LivenessRecognitionRequest: LivenessRecognitionRequest,
5161
+ EidInfo: EidInfo,
2942
5162
  GetFaceIdTokenResponse: GetFaceIdTokenResponse,
2943
- IdCardOCRVerificationResponse: IdCardOCRVerificationResponse,
5163
+ DetectReflectLivenessAndCompareRequest: DetectReflectLivenessAndCompareRequest,
5164
+ PhoneVerificationCMCCResponse: PhoneVerificationCMCCResponse,
5165
+ CheckEidTokenStatusResponse: CheckEidTokenStatusResponse,
5166
+ PhoneVerificationCTCCResponse: PhoneVerificationCTCCResponse,
2944
5167
  MobileStatusResponse: MobileStatusResponse,
5168
+ PhoneVerificationCTCCRequest: PhoneVerificationCTCCRequest,
5169
+ IdCardOCRVerificationResponse: IdCardOCRVerificationResponse,
5170
+ ChargeDetail: ChargeDetail,
5171
+ ParseNfcDataRequest: ParseNfcDataRequest,
2945
5172
  LivenessResponse: LivenessResponse,
2946
5173
  CheckIdCardInformationRequest: CheckIdCardInformationRequest,
2947
5174
  DetectInfoText: DetectInfoText,
2948
5175
  DetectAuthRequest: DetectAuthRequest,
2949
5176
  MinorsVerificationResponse: MinorsVerificationResponse,
2950
- BankCardVerificationResponse: BankCardVerificationResponse,
5177
+ GetWeChatBillDetailsRequest: GetWeChatBillDetailsRequest,
5178
+ CheckEidTokenStatusRequest: CheckEidTokenStatusRequest,
5179
+ GetEidResultResponse: GetEidResultResponse,
5180
+ GetRealNameAuthResultRequest: GetRealNameAuthResultRequest,
2951
5181
  ImageRecognitionRequest: ImageRecognitionRequest,
5182
+ PhoneVerificationCUCCRequest: PhoneVerificationCUCCRequest,
2952
5183
  BankCard4EVerificationRequest: BankCard4EVerificationRequest,
2953
5184
  MobileNetworkTimeVerificationRequest: MobileNetworkTimeVerificationRequest,
2954
5185
  GetFaceIdResultRequest: GetFaceIdResultRequest,
5186
+ PhoneVerificationCUCCResponse: PhoneVerificationCUCCResponse,
2955
5187
  GetActionSequenceResponse: GetActionSequenceResponse,
5188
+ LivenessRecognitionResponse: LivenessRecognitionResponse,
5189
+ BankCardVerificationResponse: BankCardVerificationResponse,
2956
5190
  MinorsVerificationRequest: MinorsVerificationRequest,
2957
5191
  ImageRecognitionResponse: ImageRecognitionResponse,
2958
5192
  GetActionSequenceRequest: GetActionSequenceRequest,
@@ -2963,8 +5197,15 @@ module.exports = {
2963
5197
  BankCard2EVerificationResponse: BankCard2EVerificationResponse,
2964
5198
  IdCardVerificationResponse: IdCardVerificationResponse,
2965
5199
  DetectInfoIdCardData: DetectInfoIdCardData,
5200
+ CheckPhoneAndNameRequest: CheckPhoneAndNameRequest,
5201
+ GetEidTokenResponse: GetEidTokenResponse,
5202
+ IntentionVerifyData: IntentionVerifyData,
2966
5203
  LivenessCompareRequest: LivenessCompareRequest,
2967
5204
  DetectDetail: DetectDetail,
2968
5205
  GetFaceIdResultResponse: GetFaceIdResultResponse,
5206
+ EncryptedPhoneVerificationRequest: EncryptedPhoneVerificationRequest,
5207
+ GetRealNameAuthTokenResponse: GetRealNameAuthTokenResponse,
5208
+ GetRealNameAuthResultResponse: GetRealNameAuthResultResponse,
5209
+ EncryptedPhoneVerificationResponse: EncryptedPhoneVerificationResponse,
2969
5210
 
2970
5211
  }