tencentcloud-sdk-nodejs 3.0.269 → 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.
- package/package.json +1 -1
- package/tencentcloud/aa/v20200224/models.js +5 -12
- package/tencentcloud/advisor/index.js +3 -0
- package/tencentcloud/advisor/v20200721/advisor_client.js +63 -0
- package/tencentcloud/advisor/v20200721/index.js +4 -0
- package/tencentcloud/advisor/v20200721/models.js +455 -0
- package/tencentcloud/af/v20200226/af_client.js +39 -1
- package/tencentcloud/af/v20200226/models.js +1112 -49
- package/tencentcloud/afc/v20200226/afc_client.js +20 -2
- package/tencentcloud/afc/v20200226/models.js +607 -25
- package/tencentcloud/ame/v20190916/ame_client.js +321 -68
- package/tencentcloud/ame/v20190916/models.js +3993 -804
- package/tencentcloud/ams/v20201229/ams_client.js +41 -13
- package/tencentcloud/ams/v20201229/models.js +485 -126
- package/tencentcloud/antiddos/index.js +3 -0
- package/tencentcloud/antiddos/v20200309/antiddos_client.js +1256 -0
- package/tencentcloud/antiddos/v20200309/index.js +4 -0
- package/tencentcloud/antiddos/v20200309/models.js +12542 -0
- package/tencentcloud/api/v20201106/api_client.js +16 -2
- package/tencentcloud/api/v20201106/models.js +118 -2
- package/tencentcloud/apigateway/v20180808/apigateway_client.js +785 -397
- package/tencentcloud/apigateway/v20180808/models.js +9195 -4643
- package/tencentcloud/apm/index.js +3 -0
- package/tencentcloud/apm/v20210622/apm_client.js +123 -0
- package/tencentcloud/apm/v20210622/index.js +4 -0
- package/tencentcloud/apm/v20210622/models.js +1459 -0
- package/tencentcloud/as/v20180419/as_client.js +129 -58
- package/tencentcloud/as/v20180419/models.js +1550 -864
- package/tencentcloud/asr/v20190614/asr_client.js +12 -19
- package/tencentcloud/asr/v20190614/models.js +55 -22
- package/tencentcloud/asw/v20200722/models.js +1 -1
- package/tencentcloud/ba/v20200720/ba_client.js +27 -0
- package/tencentcloud/ba/v20200720/models.js +158 -0
- package/tencentcloud/batch/v20170312/batch_client.js +1 -0
- package/tencentcloud/batch/v20170312/models.js +85 -10
- package/tencentcloud/bda/v20200324/bda_client.js +32 -19
- package/tencentcloud/bda/v20200324/models.js +97 -25
- package/tencentcloud/bi/index.js +3 -0
- package/tencentcloud/bi/v20220105/bi_client.js +61 -0
- package/tencentcloud/bi/v20220105/index.js +4 -0
- package/tencentcloud/bi/v20220105/models.js +391 -0
- package/tencentcloud/billing/v20180709/billing_client.js +33 -1
- package/tencentcloud/billing/v20180709/models.js +930 -74
- package/tencentcloud/bm/v20180423/bm_client.js +4 -2
- package/tencentcloud/bm/v20180423/models.js +32 -2
- package/tencentcloud/bsca/index.js +3 -0
- package/tencentcloud/bsca/v20210811/bsca_client.js +99 -0
- package/tencentcloud/bsca/v20210811/index.js +4 -0
- package/tencentcloud/bsca/v20210811/models.js +1310 -0
- package/tencentcloud/btoe/index.js +1 -1
- package/tencentcloud/btoe/v20210303/btoe_client.js +36 -12
- package/tencentcloud/btoe/v20210514/btoe_client.js +203 -0
- package/tencentcloud/btoe/v20210514/index.js +4 -0
- package/tencentcloud/btoe/v20210514/models.js +1219 -0
- package/tencentcloud/cam/v20190116/cam_client.js +344 -62
- package/tencentcloud/cam/v20190116/models.js +4041 -1648
- package/tencentcloud/captcha/v20190722/captcha_client.js +2 -2
- package/tencentcloud/captcha/v20190722/models.js +33 -10
- package/tencentcloud/car/index.js +3 -0
- package/tencentcloud/car/v20220110/car_client.js +72 -0
- package/tencentcloud/car/v20220110/index.js +4 -0
- package/tencentcloud/car/v20220110/models.js +237 -0
- package/tencentcloud/casb/index.js +3 -0
- package/tencentcloud/casb/v20200507/casb_client.js +54 -0
- package/tencentcloud/casb/v20200507/index.js +4 -0
- package/tencentcloud/casb/v20200507/models.js +158 -0
- package/tencentcloud/cat/v20180409/cat_client.js +181 -55
- package/tencentcloud/cat/v20180409/models.js +3392 -1784
- package/tencentcloud/cbs/v20170312/cbs_client.js +123 -72
- package/tencentcloud/cbs/v20170312/models.js +2359 -1725
- package/tencentcloud/ccc/v20200210/ccc_client.js +237 -54
- package/tencentcloud/ccc/v20200210/models.js +2818 -685
- package/tencentcloud/cdb/v20170320/cdb_client.js +569 -316
- package/tencentcloud/cdb/v20170320/models.js +10271 -7177
- package/tencentcloud/cdc/index.js +3 -0
- package/tencentcloud/cdc/v20201214/cdc_client.js +308 -0
- package/tencentcloud/cdc/v20201214/index.js +4 -0
- package/tencentcloud/cdc/v20201214/models.js +3232 -0
- package/tencentcloud/cdn/v20180606/cdn_client.js +324 -68
- package/tencentcloud/cdn/v20180606/models.js +7343 -1979
- package/tencentcloud/cfg/index.js +3 -0
- package/tencentcloud/cfg/v20210820/cfg_client.js +181 -0
- package/tencentcloud/cfg/v20210820/index.js +4 -0
- package/tencentcloud/cfg/v20210820/models.js +2423 -0
- package/tencentcloud/cfs/v20190719/models.js +64 -7
- package/tencentcloud/cfw/v20190904/cfw_client.js +686 -86
- package/tencentcloud/cfw/v20190904/models.js +7055 -1552
- package/tencentcloud/chdfs/v20201112/models.js +81 -6
- package/tencentcloud/cii/v20210408/cii_client.js +159 -10
- package/tencentcloud/cii/v20210408/models.js +1886 -189
- package/tencentcloud/ckafka/v20190819/ckafka_client.js +265 -30
- package/tencentcloud/ckafka/v20190819/models.js +3429 -692
- package/tencentcloud/clb/v20180317/clb_client.js +214 -44
- package/tencentcloud/clb/v20180317/models.js +2262 -319
- package/tencentcloud/cloudaudit/v20190319/cloudaudit_client.js +59 -7
- package/tencentcloud/cloudaudit/v20190319/models.js +307 -88
- package/tencentcloud/cls/index.js +3 -0
- package/tencentcloud/cls/v20201016/cls_client.js +1073 -0
- package/tencentcloud/cls/v20201016/index.js +4 -0
- package/tencentcloud/cls/v20201016/models.js +10053 -0
- package/tencentcloud/cme/v20191029/cme_client.js +178 -89
- package/tencentcloud/cme/v20191029/models.js +2575 -686
- package/tencentcloud/cmq/v20190304/models.js +159 -143
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cpdp/v20190820/cpdp_client.js +2014 -678
- package/tencentcloud/cpdp/v20190820/models.js +29589 -8040
- package/tencentcloud/cvm/v20170312/cvm_client.js +268 -88
- package/tencentcloud/cvm/v20170312/models.js +3156 -775
- package/tencentcloud/cwp/v20180228/cwp_client.js +1749 -654
- package/tencentcloud/cwp/v20180228/models.js +21498 -6735
- package/tencentcloud/cynosdb/v20190107/cynosdb_client.js +268 -61
- package/tencentcloud/cynosdb/v20190107/models.js +3827 -1863
- package/tencentcloud/dasb/index.js +3 -0
- package/tencentcloud/dasb/v20191018/dasb_client.js +351 -0
- package/tencentcloud/dasb/v20191018/index.js +4 -0
- package/tencentcloud/dasb/v20191018/models.js +3161 -0
- package/tencentcloud/dbbrain/v20210527/dbbrain_client.js +288 -88
- package/tencentcloud/dbbrain/v20210527/models.js +3966 -2008
- package/tencentcloud/dbdc/index.js +3 -0
- package/tencentcloud/dbdc/v20201029/dbdc_client.js +104 -0
- package/tencentcloud/dbdc/v20201029/index.js +4 -0
- package/tencentcloud/dbdc/v20201029/models.js +1441 -0
- package/tencentcloud/dc/v20180410/models.js +47 -1
- package/tencentcloud/dcdb/v20180411/dcdb_client.js +225 -37
- package/tencentcloud/dcdb/v20180411/models.js +1968 -236
- package/tencentcloud/dlc/v20210125/dlc_client.js +483 -68
- package/tencentcloud/dlc/v20210125/models.js +5257 -976
- package/tencentcloud/dnspod/v20210323/dnspod_client.js +94 -67
- package/tencentcloud/dnspod/v20210323/models.js +2166 -1957
- package/tencentcloud/domain/v20180808/domain_client.js +160 -93
- package/tencentcloud/domain/v20180808/models.js +781 -111
- package/tencentcloud/dtf/index.js +3 -0
- package/tencentcloud/dtf/v20200506/dtf_client.js +48 -0
- package/tencentcloud/dtf/v20200506/index.js +4 -0
- package/tencentcloud/dtf/v20200506/models.js +327 -0
- package/tencentcloud/dts/v20180330/dts_client.js +11 -127
- package/tencentcloud/dts/v20180330/models.js +1010 -1944
- package/tencentcloud/eb/index.js +3 -0
- package/tencentcloud/eb/v20210416/eb_client.js +393 -0
- package/tencentcloud/eb/v20210416/index.js +4 -0
- package/tencentcloud/eb/v20210416/models.js +3400 -0
- package/tencentcloud/ecdn/v20191012/ecdn_client.js +34 -6
- package/tencentcloud/ecdn/v20191012/models.js +258 -145
- package/tencentcloud/ecm/v20190719/ecm_client.js +481 -303
- package/tencentcloud/ecm/v20190719/models.js +9666 -7460
- package/tencentcloud/eiam/index.js +3 -0
- package/tencentcloud/eiam/v20210420/eiam_client.js +604 -0
- package/tencentcloud/eiam/v20210420/index.js +4 -0
- package/tencentcloud/eiam/v20210420/models.js +5565 -0
- package/tencentcloud/eis/index.js +1 -1
- package/tencentcloud/eis/v20200715/models.js +130 -100
- package/tencentcloud/eis/v20210601/eis_client.js +102 -0
- package/tencentcloud/eis/v20210601/index.js +4 -0
- package/tencentcloud/eis/v20210601/models.js +788 -0
- package/tencentcloud/emr/v20190103/emr_client.js +240 -110
- package/tencentcloud/emr/v20190103/models.js +4674 -2594
- package/tencentcloud/es/v20180416/es_client.js +204 -89
- package/tencentcloud/es/v20180416/models.js +3311 -1263
- package/tencentcloud/ess/index.js +3 -0
- package/tencentcloud/ess/v20201111/ess_client.js +197 -0
- package/tencentcloud/ess/v20201111/index.js +4 -0
- package/tencentcloud/ess/v20201111/models.js +2537 -0
- package/tencentcloud/essbasic/index.js +3 -0
- package/tencentcloud/essbasic/v20201222/essbasic_client.js +791 -0
- package/tencentcloud/essbasic/v20201222/index.js +4 -0
- package/tencentcloud/essbasic/v20201222/models.js +7555 -0
- package/tencentcloud/essbasic/v20210526/essbasic_client.js +260 -0
- package/tencentcloud/essbasic/v20210526/index.js +4 -0
- package/tencentcloud/essbasic/v20210526/models.js +3332 -0
- package/tencentcloud/facefusion/v20181201/models.js +15 -8
- package/tencentcloud/faceid/v20180301/faceid_client.js +118 -10
- package/tencentcloud/faceid/v20180301/models.js +1625 -201
- package/tencentcloud/ft/v20200304/models.js +8 -0
- package/tencentcloud/gaap/v20180529/gaap_client.js +628 -545
- package/tencentcloud/gaap/v20180529/models.js +1553 -292
- package/tencentcloud/gme/v20180711/gme_client.js +142 -38
- package/tencentcloud/gme/v20180711/models.js +1047 -219
- package/tencentcloud/gs/v20191118/gs_client.js +26 -0
- package/tencentcloud/gs/v20191118/models.js +139 -7
- package/tencentcloud/gse/v20191112/gse_client.js +19 -6
- package/tencentcloud/gse/v20191112/models.js +72 -0
- package/tencentcloud/iai/v20180301/iai_client.js +14 -83
- package/tencentcloud/iai/v20180301/models.js +110 -457
- package/tencentcloud/iai/v20200303/iai_client.js +30 -99
- package/tencentcloud/iai/v20200303/models.js +104 -453
- package/tencentcloud/ic/v20190307/models.js +8 -0
- package/tencentcloud/icr/index.js +3 -0
- package/tencentcloud/icr/v20211014/icr_client.js +57 -0
- package/tencentcloud/icr/v20211014/index.js +4 -0
- package/tencentcloud/icr/v20211014/models.js +753 -0
- package/tencentcloud/ie/v20200304/ie_client.js +3 -0
- package/tencentcloud/ie/v20200304/models.js +186 -31
- package/tencentcloud/iecp/index.js +3 -0
- package/tencentcloud/iecp/v20210914/iecp_client.js +1425 -0
- package/tencentcloud/iecp/v20210914/index.js +4 -0
- package/tencentcloud/iecp/v20210914/models.js +14297 -0
- package/tencentcloud/ims/v20201229/ims_client.js +21 -14
- package/tencentcloud/ims/v20201229/models.js +124 -396
- package/tencentcloud/index.js +32 -0
- package/tencentcloud/iotcloud/index.js +1 -1
- package/tencentcloud/iotcloud/v20180614/iotcloud_client.js +129 -9
- package/tencentcloud/iotcloud/v20180614/models.js +1154 -64
- package/tencentcloud/iotcloud/v20210408/index.js +4 -0
- package/tencentcloud/iotcloud/v20210408/iotcloud_client.js +981 -0
- package/tencentcloud/iotcloud/v20210408/models.js +8165 -0
- package/tencentcloud/iotexplorer/v20190423/iotexplorer_client.js +850 -272
- package/tencentcloud/iotexplorer/v20190423/models.js +6818 -1814
- package/tencentcloud/iotvideo/v20191126/models.js +7 -0
- package/tencentcloud/iotvideo/v20201215/iotvideo_client.js +380 -48
- package/tencentcloud/iotvideo/v20201215/models.js +3291 -623
- package/tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.js +1151 -227
- package/tencentcloud/iotvideoindustry/v20201201/models.js +8745 -1445
- package/tencentcloud/ivld/index.js +3 -0
- package/tencentcloud/ivld/v20210903/index.js +4 -0
- package/tencentcloud/ivld/v20210903/ivld_client.js +471 -0
- package/tencentcloud/ivld/v20210903/models.js +3686 -0
- package/tencentcloud/kms/v20190118/kms_client.js +3 -3
- package/tencentcloud/kms/v20190118/models.js +88 -5
- package/tencentcloud/lighthouse/v20200324/lighthouse_client.js +376 -67
- package/tencentcloud/lighthouse/v20200324/models.js +3225 -422
- package/tencentcloud/live/v20180801/live_client.js +152 -41
- package/tencentcloud/live/v20180801/models.js +1379 -460
- package/tencentcloud/lowcode/index.js +3 -0
- package/tencentcloud/lowcode/v20210108/index.js +4 -0
- package/tencentcloud/lowcode/v20210108/lowcode_client.js +51 -0
- package/tencentcloud/lowcode/v20210108/models.js +626 -0
- package/tencentcloud/mariadb/v20170312/mariadb_client.js +226 -22
- package/tencentcloud/mariadb/v20170312/models.js +2556 -440
- package/tencentcloud/market/index.js +3 -0
- package/tencentcloud/market/v20191010/index.js +4 -0
- package/tencentcloud/market/v20191010/market_client.js +60 -0
- package/tencentcloud/market/v20191010/models.js +215 -0
- package/tencentcloud/memcached/v20190318/models.js +104 -103
- package/tencentcloud/mna/v20210119/mna_client.js +17 -1
- package/tencentcloud/mna/v20210119/models.js +305 -20
- package/tencentcloud/mongodb/v20190725/models.js +2705 -1793
- package/tencentcloud/mongodb/v20190725/mongodb_client.js +110 -52
- package/tencentcloud/monitor/v20180724/models.js +2014 -314
- package/tencentcloud/monitor/v20180724/monitor_client.js +73 -15
- package/tencentcloud/mps/v20190612/models.js +566 -236
- package/tencentcloud/mps/v20190612/mps_client.js +10 -8
- package/tencentcloud/mrs/v20200910/models.js +2026 -538
- package/tencentcloud/mrs/v20200910/mrs_client.js +23 -6
- package/tencentcloud/nlp/v20190408/models.js +234 -496
- package/tencentcloud/nlp/v20190408/nlp_client.js +41 -53
- package/tencentcloud/oceanus/v20190422/models.js +619 -12
- package/tencentcloud/oceanus/v20190422/oceanus_client.js +33 -6
- package/tencentcloud/ocr/v20181119/models.js +2148 -386
- package/tencentcloud/ocr/v20181119/ocr_client.js +122 -33
- package/tencentcloud/organization/index.js +1 -1
- package/tencentcloud/organization/v20210331/index.js +4 -0
- package/tencentcloud/organization/v20210331/models.js +821 -0
- package/tencentcloud/organization/v20210331/organization_client.js +101 -0
- package/tencentcloud/partners/v20180321/models.js +223 -213
- package/tencentcloud/partners/v20180321/partners_client.js +33 -35
- package/tencentcloud/pds/index.js +3 -0
- package/tencentcloud/pds/v20210701/index.js +4 -0
- package/tencentcloud/pds/v20210701/models.js +271 -0
- package/tencentcloud/pds/v20210701/pds_client.js +61 -0
- package/tencentcloud/postgres/v20170312/models.js +3883 -1039
- package/tencentcloud/postgres/v20170312/postgres_client.js +295 -49
- package/tencentcloud/privatedns/v20201028/models.js +816 -108
- package/tencentcloud/privatedns/v20201028/privatedns_client.js +82 -12
- package/tencentcloud/rce/v20201103/models.js +895 -371
- package/tencentcloud/rce/v20201103/rce_client.js +53 -6
- package/tencentcloud/redis/v20180412/models.js +2447 -412
- package/tencentcloud/redis/v20180412/redis_client.js +270 -44
- package/tencentcloud/rum/index.js +3 -0
- package/tencentcloud/rum/v20210622/index.js +4 -0
- package/tencentcloud/rum/v20210622/models.js +7436 -0
- package/tencentcloud/rum/v20210622/rum_client.js +760 -0
- package/tencentcloud/scf/v20180416/models.js +926 -61
- package/tencentcloud/scf/v20180416/scf_client.js +62 -16
- package/tencentcloud/ses/v20201002/models.js +1185 -192
- package/tencentcloud/ses/v20201002/ses_client.js +196 -99
- package/tencentcloud/smh/index.js +3 -0
- package/tencentcloud/smh/v20210712/index.js +4 -0
- package/tencentcloud/smh/v20210712/models.js +1370 -0
- package/tencentcloud/smh/v20210712/smh_client.js +167 -0
- package/tencentcloud/sms/v20190711/models.js +21 -15
- package/tencentcloud/sms/v20190711/sms_client.js +9 -8
- package/tencentcloud/sms/v20210111/models.js +227 -52
- package/tencentcloud/sms/v20210111/sms_client.js +23 -8
- package/tencentcloud/soe/v20180724/models.js +84 -31
- package/tencentcloud/soe/v20180724/soe_client.js +2 -2
- package/tencentcloud/sqlserver/v20180328/models.js +1613 -323
- package/tencentcloud/sqlserver/v20180328/sqlserver_client.js +157 -45
- package/tencentcloud/ssa/v20180608/models.js +2624 -621
- package/tencentcloud/ssa/v20180608/ssa_client.js +103 -6
- package/tencentcloud/ssl/v20191205/models.js +721 -343
- package/tencentcloud/ssl/v20191205/ssl_client.js +34 -4
- package/tencentcloud/sslpod/v20190605/models.js +68 -17
- package/tencentcloud/ssm/v20190923/models.js +1311 -158
- package/tencentcloud/ssm/v20190923/ssm_client.js +199 -71
- package/tencentcloud/sts/v20180813/models.js +263 -9
- package/tencentcloud/sts/v20180813/sts_client.js +40 -12
- package/tencentcloud/taf/v20200210/models.js +191 -26
- package/tencentcloud/taf/v20200210/taf_client.js +5 -3
- package/tencentcloud/tag/v20180813/models.js +965 -167
- package/tencentcloud/tag/v20180813/tag_client.js +213 -107
- package/tencentcloud/tat/v20201028/models.js +1270 -105
- package/tencentcloud/tat/v20201028/tat_client.js +122 -10
- package/tencentcloud/tbaas/v20180416/models.js +637 -83
- package/tencentcloud/tbaas/v20180416/tbaas_client.js +57 -3
- package/tencentcloud/tcaplusdb/v20190823/models.js +341 -8
- package/tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.js +27 -0
- package/tencentcloud/tcb/v20180608/models.js +7202 -2829
- package/tencentcloud/tcb/v20180608/tcb_client.js +473 -66
- package/tencentcloud/tcm/index.js +3 -0
- package/tencentcloud/tcm/v20210413/index.js +4 -0
- package/tencentcloud/tcm/v20210413/models.js +2237 -0
- package/tencentcloud/tcm/v20210413/tcm_client.js +95 -0
- package/tencentcloud/tcr/v20190924/models.js +1281 -397
- package/tencentcloud/tcr/v20190924/tcr_client.js +628 -521
- package/tencentcloud/tcss/index.js +3 -0
- package/tencentcloud/tcss/v20201101/index.js +4 -0
- package/tencentcloud/tcss/v20201101/models.js +24927 -0
- package/tencentcloud/tcss/v20201101/tcss_client.js +2276 -0
- package/tencentcloud/tdcpg/index.js +3 -0
- package/tencentcloud/tdcpg/v20211118/index.js +4 -0
- package/tencentcloud/tdcpg/v20211118/models.js +2777 -0
- package/tencentcloud/tdcpg/v20211118/tdcpg_client.js +372 -0
- package/tencentcloud/tdid/index.js +3 -0
- package/tencentcloud/tdid/v20210519/index.js +4 -0
- package/tencentcloud/tdid/v20210519/models.js +978 -0
- package/tencentcloud/tdid/v20210519/tdid_client.js +143 -0
- package/tencentcloud/tdmq/v20200217/models.js +9354 -2607
- package/tencentcloud/tdmq/v20200217/tdmq_client.js +959 -249
- package/tencentcloud/tem/index.js +1 -1
- package/tencentcloud/tem/v20201221/models.js +978 -88
- package/tencentcloud/tem/v20201221/tem_client.js +61 -4
- package/tencentcloud/tem/v20210701/index.js +4 -0
- package/tencentcloud/tem/v20210701/models.js +4613 -0
- package/tencentcloud/tem/v20210701/tem_client.js +377 -0
- package/tencentcloud/teo/index.js +3 -0
- package/tencentcloud/teo/v20220106/index.js +4 -0
- package/tencentcloud/teo/v20220106/models.js +8307 -0
- package/tencentcloud/teo/v20220106/teo_client.js +728 -0
- package/tencentcloud/thpc/index.js +3 -0
- package/tencentcloud/thpc/v20211109/index.js +4 -0
- package/tencentcloud/thpc/v20211109/models.js +1491 -0
- package/tencentcloud/thpc/v20211109/thpc_client.js +103 -0
- package/tencentcloud/thpc/v20220401/index.js +4 -0
- package/tencentcloud/thpc/v20220401/models.js +1775 -0
- package/tencentcloud/thpc/v20220401/thpc_client.js +129 -0
- package/tencentcloud/tiia/v20190529/models.js +2135 -538
- package/tencentcloud/tiia/v20190529/tiia_client.js +135 -12
- package/tencentcloud/tiw/v20190919/models.js +760 -44
- package/tencentcloud/tiw/v20190919/tiw_client.js +57 -9
- package/tencentcloud/tke/v20180525/models.js +15766 -4914
- package/tencentcloud/tke/v20180525/tke_client.js +1674 -603
- package/tencentcloud/tms/v20200713/models.js +12 -14
- package/tencentcloud/tms/v20201229/models.js +79 -46
- package/tencentcloud/tms/v20201229/tms_client.js +18 -1
- package/tencentcloud/tmt/v20180321/models.js +474 -172
- package/tencentcloud/tmt/v20180321/tmt_client.js +63 -33
- package/tencentcloud/trtc/v20190722/models.js +1521 -762
- package/tencentcloud/trtc/v20190722/trtc_client.js +99 -75
- package/tencentcloud/tse/v20201207/models.js +524 -122
- package/tencentcloud/tse/v20201207/tse_client.js +13 -33
- package/tencentcloud/tsf/v20180326/models.js +9949 -4510
- package/tencentcloud/tsf/v20180326/tsf_client.js +391 -133
- package/tencentcloud/tts/v20190823/models.js +305 -10
- package/tencentcloud/tts/v20190823/tts_client.js +38 -0
- package/tencentcloud/vm/v20201229/models.js +188 -201
- package/tencentcloud/vm/v20201229/vm_client.js +47 -4
- package/tencentcloud/vod/v20180717/models.js +3349 -953
- package/tencentcloud/vod/v20180717/vod_client.js +294 -63
- package/tencentcloud/vpc/v20170312/models.js +3761 -591
- package/tencentcloud/vpc/v20170312/vpc_client.js +552 -140
- package/tencentcloud/waf/v20180125/models.js +3991 -322
- package/tencentcloud/waf/v20180125/waf_client.js +394 -44
- package/tencentcloud/wav/index.js +3 -0
- package/tencentcloud/wav/v20210129/index.js +4 -0
- package/tencentcloud/wav/v20210129/models.js +4170 -0
- package/tencentcloud/wav/v20210129/wav_client.js +345 -0
|
@@ -17,58 +17,174 @@
|
|
|
17
17
|
const AbstractModel = require("../../common/abstract_model");
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* 运单识别结果
|
|
21
21
|
* @class
|
|
22
22
|
*/
|
|
23
|
-
class
|
|
23
|
+
class TextWaybill extends AbstractModel {
|
|
24
24
|
constructor(){
|
|
25
25
|
super();
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
29
|
-
|
|
30
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
31
|
-
* @type {string || null}
|
|
28
|
+
* 收件人姓名
|
|
29
|
+
* @type {WaybillObj || null}
|
|
32
30
|
*/
|
|
33
|
-
this.
|
|
31
|
+
this.RecName = null;
|
|
34
32
|
|
|
35
33
|
/**
|
|
36
|
-
*
|
|
37
|
-
|
|
38
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
39
|
-
* @type {string || null}
|
|
34
|
+
* 收件人手机号
|
|
35
|
+
* @type {WaybillObj || null}
|
|
40
36
|
*/
|
|
41
|
-
this.
|
|
37
|
+
this.RecNum = null;
|
|
42
38
|
|
|
43
39
|
/**
|
|
44
|
-
*
|
|
45
|
-
|
|
40
|
+
* 收件人地址
|
|
41
|
+
* @type {WaybillObj || null}
|
|
42
|
+
*/
|
|
43
|
+
this.RecAddr = null;
|
|
46
44
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
Config = {"Name":true,"Address":true}
|
|
51
|
-
* @type {string || null}
|
|
45
|
+
/**
|
|
46
|
+
* 寄件人姓名
|
|
47
|
+
* @type {WaybillObj || null}
|
|
52
48
|
*/
|
|
53
|
-
this.
|
|
49
|
+
this.SenderName = null;
|
|
54
50
|
|
|
55
51
|
/**
|
|
56
|
-
*
|
|
52
|
+
* 寄件人手机号
|
|
53
|
+
* @type {WaybillObj || null}
|
|
54
|
+
*/
|
|
55
|
+
this.SenderNum = null;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* 寄件人地址
|
|
59
|
+
* @type {WaybillObj || null}
|
|
60
|
+
*/
|
|
61
|
+
this.SenderAddr = null;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* 运单号
|
|
65
|
+
* @type {WaybillObj || null}
|
|
66
|
+
*/
|
|
67
|
+
this.WaybillNum = null;
|
|
68
|
+
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @private
|
|
73
|
+
*/
|
|
74
|
+
deserialize(params) {
|
|
75
|
+
if (!params) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
if (params.RecName) {
|
|
80
|
+
let obj = new WaybillObj();
|
|
81
|
+
obj.deserialize(params.RecName)
|
|
82
|
+
this.RecName = obj;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
if (params.RecNum) {
|
|
86
|
+
let obj = new WaybillObj();
|
|
87
|
+
obj.deserialize(params.RecNum)
|
|
88
|
+
this.RecNum = obj;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
if (params.RecAddr) {
|
|
92
|
+
let obj = new WaybillObj();
|
|
93
|
+
obj.deserialize(params.RecAddr)
|
|
94
|
+
this.RecAddr = obj;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
if (params.SenderName) {
|
|
98
|
+
let obj = new WaybillObj();
|
|
99
|
+
obj.deserialize(params.SenderName)
|
|
100
|
+
this.SenderName = obj;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
if (params.SenderNum) {
|
|
104
|
+
let obj = new WaybillObj();
|
|
105
|
+
obj.deserialize(params.SenderNum)
|
|
106
|
+
this.SenderNum = obj;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
if (params.SenderAddr) {
|
|
110
|
+
let obj = new WaybillObj();
|
|
111
|
+
obj.deserialize(params.SenderAddr)
|
|
112
|
+
this.SenderAddr = obj;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
if (params.WaybillNum) {
|
|
116
|
+
let obj = new WaybillObj();
|
|
117
|
+
obj.deserialize(params.WaybillNum)
|
|
118
|
+
this.WaybillNum = obj;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* RecognizeOnlineTaxiItineraryOCR返回参数结构体
|
|
126
|
+
* @class
|
|
127
|
+
*/
|
|
128
|
+
class RecognizeOnlineTaxiItineraryOCRResponse extends AbstractModel {
|
|
129
|
+
constructor(){
|
|
130
|
+
super();
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* 网约车行程单识别结果,具体内容请点击左侧链接。
|
|
134
|
+
* @type {Array.<OnlineTaxiItineraryInfo> || null}
|
|
135
|
+
*/
|
|
136
|
+
this.OnlineTaxiItineraryInfos = null;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
57
140
|
* @type {string || null}
|
|
58
141
|
*/
|
|
59
|
-
this.
|
|
142
|
+
this.RequestId = null;
|
|
143
|
+
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* @private
|
|
148
|
+
*/
|
|
149
|
+
deserialize(params) {
|
|
150
|
+
if (!params) {
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
if (params.OnlineTaxiItineraryInfos) {
|
|
155
|
+
this.OnlineTaxiItineraryInfos = new Array();
|
|
156
|
+
for (let z in params.OnlineTaxiItineraryInfos) {
|
|
157
|
+
let obj = new OnlineTaxiItineraryInfo();
|
|
158
|
+
obj.deserialize(params.OnlineTaxiItineraryInfos[z]);
|
|
159
|
+
this.OnlineTaxiItineraryInfos.push(obj);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
163
|
+
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* BankSlipOCR请求参数结构体
|
|
169
|
+
* @class
|
|
170
|
+
*/
|
|
171
|
+
class BankSlipOCRRequest extends AbstractModel {
|
|
172
|
+
constructor(){
|
|
173
|
+
super();
|
|
60
174
|
|
|
61
175
|
/**
|
|
62
|
-
*
|
|
176
|
+
* 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。
|
|
177
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
63
178
|
* @type {string || null}
|
|
64
179
|
*/
|
|
65
|
-
this.
|
|
180
|
+
this.ImageBase64 = null;
|
|
66
181
|
|
|
67
182
|
/**
|
|
68
|
-
*
|
|
183
|
+
* 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。
|
|
184
|
+
建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
|
|
69
185
|
* @type {string || null}
|
|
70
186
|
*/
|
|
71
|
-
this.
|
|
187
|
+
this.ImageUrl = null;
|
|
72
188
|
|
|
73
189
|
}
|
|
74
190
|
|
|
@@ -81,10 +197,6 @@ Config = {"Name":true,"Address":true}
|
|
|
81
197
|
}
|
|
82
198
|
this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
|
|
83
199
|
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
84
|
-
this.ImageConfig = 'ImageConfig' in params ? params.ImageConfig : null;
|
|
85
|
-
this.RegNum = 'RegNum' in params ? params.RegNum : null;
|
|
86
|
-
this.Name = 'Name' in params ? params.Name : null;
|
|
87
|
-
this.Address = 'Address' in params ? params.Address : null;
|
|
88
200
|
|
|
89
201
|
}
|
|
90
202
|
}
|
|
@@ -271,7 +383,7 @@ class HKIDCardOCRRequest extends AbstractModel {
|
|
|
271
383
|
/**
|
|
272
384
|
* 图片的 Base64 值。
|
|
273
385
|
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
274
|
-
支持的图片大小:所下载图片经Base64编码后不超过
|
|
386
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
275
387
|
* @type {string || null}
|
|
276
388
|
*/
|
|
277
389
|
this.ImageBase64 = null;
|
|
@@ -429,6 +541,48 @@ FailedOperation.UnKnowError:表示识别失败;
|
|
|
429
541
|
}
|
|
430
542
|
}
|
|
431
543
|
|
|
544
|
+
/**
|
|
545
|
+
* RecognizeTravelCardOCR请求参数结构体
|
|
546
|
+
* @class
|
|
547
|
+
*/
|
|
548
|
+
class RecognizeTravelCardOCRRequest extends AbstractModel {
|
|
549
|
+
constructor(){
|
|
550
|
+
super();
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* 图片的 Base64 值。
|
|
554
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
555
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
556
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
557
|
+
* @type {string || null}
|
|
558
|
+
*/
|
|
559
|
+
this.ImageBase64 = null;
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* 图片的 Url 地址。
|
|
563
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
564
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
565
|
+
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
|
566
|
+
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
567
|
+
* @type {string || null}
|
|
568
|
+
*/
|
|
569
|
+
this.ImageUrl = null;
|
|
570
|
+
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* @private
|
|
575
|
+
*/
|
|
576
|
+
deserialize(params) {
|
|
577
|
+
if (!params) {
|
|
578
|
+
return;
|
|
579
|
+
}
|
|
580
|
+
this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
|
|
581
|
+
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
582
|
+
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
|
|
432
586
|
/**
|
|
433
587
|
* TrainTicketOCR请求参数结构体
|
|
434
588
|
* @class
|
|
@@ -862,49 +1016,49 @@ class VerifyBizLicenseResponse extends AbstractModel {
|
|
|
862
1016
|
this.ApprDate = null;
|
|
863
1017
|
|
|
864
1018
|
/**
|
|
865
|
-
*
|
|
1019
|
+
* 省(返回空值)
|
|
866
1020
|
* @type {string || null}
|
|
867
1021
|
*/
|
|
868
1022
|
this.Province = null;
|
|
869
1023
|
|
|
870
1024
|
/**
|
|
871
|
-
*
|
|
1025
|
+
* 地级市(返回空值)
|
|
872
1026
|
* @type {string || null}
|
|
873
1027
|
*/
|
|
874
1028
|
this.City = null;
|
|
875
1029
|
|
|
876
1030
|
/**
|
|
877
|
-
*
|
|
1031
|
+
* 区\县(返回空值)
|
|
878
1032
|
* @type {string || null}
|
|
879
1033
|
*/
|
|
880
1034
|
this.County = null;
|
|
881
1035
|
|
|
882
1036
|
/**
|
|
883
|
-
*
|
|
1037
|
+
* 住所所在行政区划代码(返回空值)
|
|
884
1038
|
* @type {string || null}
|
|
885
1039
|
*/
|
|
886
1040
|
this.AreaCode = null;
|
|
887
1041
|
|
|
888
1042
|
/**
|
|
889
|
-
*
|
|
1043
|
+
* 行业门类代码(返回空值)
|
|
890
1044
|
* @type {string || null}
|
|
891
1045
|
*/
|
|
892
1046
|
this.IndustryPhyCode = null;
|
|
893
1047
|
|
|
894
1048
|
/**
|
|
895
|
-
*
|
|
1049
|
+
* 行业门类名称(返回空值)
|
|
896
1050
|
* @type {string || null}
|
|
897
1051
|
*/
|
|
898
1052
|
this.IndustryPhyName = null;
|
|
899
1053
|
|
|
900
1054
|
/**
|
|
901
|
-
*
|
|
1055
|
+
* 国民经济行业代码(返回空值)
|
|
902
1056
|
* @type {string || null}
|
|
903
1057
|
*/
|
|
904
1058
|
this.IndustryCode = null;
|
|
905
1059
|
|
|
906
1060
|
/**
|
|
907
|
-
*
|
|
1061
|
+
* 国民经济行业名称(返回空值)
|
|
908
1062
|
* @type {string || null}
|
|
909
1063
|
*/
|
|
910
1064
|
this.IndustryName = null;
|
|
@@ -1165,6 +1319,18 @@ WARN_DRIVER_LICENSE_PS_CARD ps告警
|
|
|
1165
1319
|
*/
|
|
1166
1320
|
this.IssuingAuthority = null;
|
|
1167
1321
|
|
|
1322
|
+
/**
|
|
1323
|
+
* 状态(仅电子驾驶证支持返回该字段)
|
|
1324
|
+
* @type {string || null}
|
|
1325
|
+
*/
|
|
1326
|
+
this.State = null;
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
* 累积记分(仅电子驾驶证支持返回该字段)
|
|
1330
|
+
* @type {string || null}
|
|
1331
|
+
*/
|
|
1332
|
+
this.CumulativeScore = null;
|
|
1333
|
+
|
|
1168
1334
|
/**
|
|
1169
1335
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1170
1336
|
* @type {string || null}
|
|
@@ -1195,6 +1361,8 @@ WARN_DRIVER_LICENSE_PS_CARD ps告警
|
|
|
1195
1361
|
this.RecognizeWarnCode = 'RecognizeWarnCode' in params ? params.RecognizeWarnCode : null;
|
|
1196
1362
|
this.RecognizeWarnMsg = 'RecognizeWarnMsg' in params ? params.RecognizeWarnMsg : null;
|
|
1197
1363
|
this.IssuingAuthority = 'IssuingAuthority' in params ? params.IssuingAuthority : null;
|
|
1364
|
+
this.State = 'State' in params ? params.State : null;
|
|
1365
|
+
this.CumulativeScore = 'CumulativeScore' in params ? params.CumulativeScore : null;
|
|
1198
1366
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1199
1367
|
|
|
1200
1368
|
}
|
|
@@ -1236,52 +1404,125 @@ class Words extends AbstractModel {
|
|
|
1236
1404
|
}
|
|
1237
1405
|
|
|
1238
1406
|
/**
|
|
1239
|
-
*
|
|
1407
|
+
* VerifyBizLicense请求参数结构体
|
|
1240
1408
|
* @class
|
|
1241
1409
|
*/
|
|
1242
|
-
class
|
|
1410
|
+
class VerifyBizLicenseRequest extends AbstractModel {
|
|
1243
1411
|
constructor(){
|
|
1244
1412
|
super();
|
|
1245
1413
|
|
|
1246
1414
|
/**
|
|
1247
|
-
*
|
|
1415
|
+
* 用于入参是营业执照图片的场景,ImageBase64和ImageUrl必须提供一个,如果都提供,只使用 ImageUrl。
|
|
1416
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
1417
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
1248
1418
|
* @type {string || null}
|
|
1249
1419
|
*/
|
|
1250
|
-
this.
|
|
1420
|
+
this.ImageBase64 = null;
|
|
1251
1421
|
|
|
1252
1422
|
/**
|
|
1253
|
-
*
|
|
1254
|
-
|
|
1423
|
+
* 用于入参是营业执照图片的场景,ImageBase64和ImageUrl必须提供一个,如果都提供,只使用 ImageUrl。
|
|
1424
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
1425
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
1426
|
+
* @type {string || null}
|
|
1255
1427
|
*/
|
|
1256
|
-
this.
|
|
1428
|
+
this.ImageUrl = null;
|
|
1257
1429
|
|
|
1258
1430
|
/**
|
|
1259
|
-
*
|
|
1260
|
-
|
|
1261
|
-
* @type {Array.<Coord> || null}
|
|
1262
|
-
*/
|
|
1263
|
-
this.Polygon = null;
|
|
1431
|
+
* 用于入参是营业执照图片的场景,表示需要校验的参数:RegNum(注册号或者统一社会信用代码),Name(企业名称),Address(经营地址)。选择后会返回相关参数校验结果。RegNum为必选,Name和Address可选。
|
|
1432
|
+
格式为{RegNum: true, Name:true/false, Address:true/false}
|
|
1264
1433
|
|
|
1265
|
-
|
|
1266
|
-
|
|
1434
|
+
设置方式参考:
|
|
1435
|
+
Config = Json.stringify({"Name":true,"Address":true})
|
|
1436
|
+
API 3.0 Explorer 设置方式参考:
|
|
1437
|
+
Config = {"Name":true,"Address":true}
|
|
1267
1438
|
* @type {string || null}
|
|
1268
1439
|
*/
|
|
1269
|
-
this.
|
|
1440
|
+
this.ImageConfig = null;
|
|
1270
1441
|
|
|
1271
1442
|
/**
|
|
1272
|
-
*
|
|
1273
|
-
* @type {
|
|
1443
|
+
* 用于入参是文本的场景,RegNum表示注册号或者统一社会信用代码。若没有传入营业执照图片,则RegNum为必选项,若图片和RegNum都传入,则只使用RegNum。
|
|
1444
|
+
* @type {string || null}
|
|
1274
1445
|
*/
|
|
1275
|
-
this.
|
|
1446
|
+
this.RegNum = null;
|
|
1276
1447
|
|
|
1277
1448
|
/**
|
|
1278
|
-
*
|
|
1279
|
-
* @type {
|
|
1449
|
+
* 用于入参是文本的场景,Name表示企业名称。Name为可选项,填写后会返回Name的校验结果。
|
|
1450
|
+
* @type {string || null}
|
|
1280
1451
|
*/
|
|
1281
|
-
this.
|
|
1452
|
+
this.Name = null;
|
|
1282
1453
|
|
|
1283
1454
|
/**
|
|
1284
|
-
*
|
|
1455
|
+
* 用于入参是文本的场景,Address表示经营地址,填写后会返回Address的校验结果。
|
|
1456
|
+
* @type {string || null}
|
|
1457
|
+
*/
|
|
1458
|
+
this.Address = null;
|
|
1459
|
+
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* @private
|
|
1464
|
+
*/
|
|
1465
|
+
deserialize(params) {
|
|
1466
|
+
if (!params) {
|
|
1467
|
+
return;
|
|
1468
|
+
}
|
|
1469
|
+
this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
|
|
1470
|
+
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
1471
|
+
this.ImageConfig = 'ImageConfig' in params ? params.ImageConfig : null;
|
|
1472
|
+
this.RegNum = 'RegNum' in params ? params.RegNum : null;
|
|
1473
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
1474
|
+
this.Address = 'Address' in params ? params.Address : null;
|
|
1475
|
+
|
|
1476
|
+
}
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1479
|
+
/**
|
|
1480
|
+
* 英文识别结果
|
|
1481
|
+
* @class
|
|
1482
|
+
*/
|
|
1483
|
+
class TextDetectionEn extends AbstractModel {
|
|
1484
|
+
constructor(){
|
|
1485
|
+
super();
|
|
1486
|
+
|
|
1487
|
+
/**
|
|
1488
|
+
* 识别出的文本行内容。
|
|
1489
|
+
* @type {string || null}
|
|
1490
|
+
*/
|
|
1491
|
+
this.DetectedText = null;
|
|
1492
|
+
|
|
1493
|
+
/**
|
|
1494
|
+
* 置信度 0 ~100。
|
|
1495
|
+
* @type {number || null}
|
|
1496
|
+
*/
|
|
1497
|
+
this.Confidence = null;
|
|
1498
|
+
|
|
1499
|
+
/**
|
|
1500
|
+
* 文本行在原图中的四点坐标。
|
|
1501
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1502
|
+
* @type {Array.<Coord> || null}
|
|
1503
|
+
*/
|
|
1504
|
+
this.Polygon = null;
|
|
1505
|
+
|
|
1506
|
+
/**
|
|
1507
|
+
* 此字段为扩展字段。目前EnglishOCR接口返回内容为空。
|
|
1508
|
+
* @type {string || null}
|
|
1509
|
+
*/
|
|
1510
|
+
this.AdvancedInfo = null;
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* 英文单词在原图中的四点坐标。
|
|
1514
|
+
* @type {Array.<WordCoordPoint> || null}
|
|
1515
|
+
*/
|
|
1516
|
+
this.WordCoordPoint = null;
|
|
1517
|
+
|
|
1518
|
+
/**
|
|
1519
|
+
* 候选字符集(包含候选字Character以及置信度Confidence)。
|
|
1520
|
+
* @type {Array.<CandWord> || null}
|
|
1521
|
+
*/
|
|
1522
|
+
this.CandWord = null;
|
|
1523
|
+
|
|
1524
|
+
/**
|
|
1525
|
+
* 识别出来的单词信息(包括单词Character和单词置信度confidence)
|
|
1285
1526
|
* @type {Array.<Words> || null}
|
|
1286
1527
|
*/
|
|
1287
1528
|
this.Words = null;
|
|
@@ -1899,8 +2140,8 @@ class InvoiceGeneralInfo extends AbstractModel {
|
|
|
1899
2140
|
super();
|
|
1900
2141
|
|
|
1901
2142
|
/**
|
|
1902
|
-
* 识别出的字段名称(关键字)
|
|
1903
|
-
发票代码、发票号码、日期、合计金额(小写)、合计金额(大写)
|
|
2143
|
+
* 识别出的字段名称(关键字),支持以下字段识别(注:下划线表示一个字段):
|
|
2144
|
+
发票代码、发票号码、日期、合计金额(小写)、合计金额(大写)、购买方识别号、销售方识别号、校验码、购买方名称、销售方名称、时间、种类、发票消费类型、省、市、是否有公司印章、发票名称、<span style="text-decoration:underline">购买方地址、电话</span>、<span style="text-decoration:underline">销售方地址、电话</span>、购买方开户行及账号、销售方开户行及账号、经办人取票用户、经办人支付信息、经办人商户号、经办人订单号、<span style="text-decoration:underline">货物或应税劳务、服务名称</span>、数量、单价、税率、税额、金额、单位、规格型号、合计税额、合计金额、备注、收款人、复核、开票人、密码区、行业分类
|
|
1904
2145
|
* @type {string || null}
|
|
1905
2146
|
*/
|
|
1906
2147
|
this.Name = null;
|
|
@@ -2037,6 +2278,139 @@ class InstitutionOCRResponse extends AbstractModel {
|
|
|
2037
2278
|
}
|
|
2038
2279
|
}
|
|
2039
2280
|
|
|
2281
|
+
/**
|
|
2282
|
+
* 机动车销售统一发票信息
|
|
2283
|
+
* @class
|
|
2284
|
+
*/
|
|
2285
|
+
class VehicleInvoiceInfo extends AbstractModel {
|
|
2286
|
+
constructor(){
|
|
2287
|
+
super();
|
|
2288
|
+
|
|
2289
|
+
/**
|
|
2290
|
+
* 车辆类型
|
|
2291
|
+
* @type {string || null}
|
|
2292
|
+
*/
|
|
2293
|
+
this.CarType = null;
|
|
2294
|
+
|
|
2295
|
+
/**
|
|
2296
|
+
* 厂牌型号
|
|
2297
|
+
* @type {string || null}
|
|
2298
|
+
*/
|
|
2299
|
+
this.PlateModel = null;
|
|
2300
|
+
|
|
2301
|
+
/**
|
|
2302
|
+
* 产地
|
|
2303
|
+
* @type {string || null}
|
|
2304
|
+
*/
|
|
2305
|
+
this.ProduceAddress = null;
|
|
2306
|
+
|
|
2307
|
+
/**
|
|
2308
|
+
* 合格证号
|
|
2309
|
+
* @type {string || null}
|
|
2310
|
+
*/
|
|
2311
|
+
this.CertificateNo = null;
|
|
2312
|
+
|
|
2313
|
+
/**
|
|
2314
|
+
* 进口证明书号
|
|
2315
|
+
* @type {string || null}
|
|
2316
|
+
*/
|
|
2317
|
+
this.ImportNo = null;
|
|
2318
|
+
|
|
2319
|
+
/**
|
|
2320
|
+
* LSVCA2NP9HN0xxxxx
|
|
2321
|
+
* @type {string || null}
|
|
2322
|
+
*/
|
|
2323
|
+
this.VinNo = null;
|
|
2324
|
+
|
|
2325
|
+
/**
|
|
2326
|
+
* 完税证书号
|
|
2327
|
+
* @type {string || null}
|
|
2328
|
+
*/
|
|
2329
|
+
this.PayTaxesNo = null;
|
|
2330
|
+
|
|
2331
|
+
/**
|
|
2332
|
+
* 吨位
|
|
2333
|
+
* @type {string || null}
|
|
2334
|
+
*/
|
|
2335
|
+
this.Tonnage = null;
|
|
2336
|
+
|
|
2337
|
+
/**
|
|
2338
|
+
* 限乘人数
|
|
2339
|
+
* @type {string || null}
|
|
2340
|
+
*/
|
|
2341
|
+
this.LimitCount = null;
|
|
2342
|
+
|
|
2343
|
+
/**
|
|
2344
|
+
* 发动机号码
|
|
2345
|
+
* @type {string || null}
|
|
2346
|
+
*/
|
|
2347
|
+
this.EngineNo = null;
|
|
2348
|
+
|
|
2349
|
+
/**
|
|
2350
|
+
* 商检单号
|
|
2351
|
+
* @type {string || null}
|
|
2352
|
+
*/
|
|
2353
|
+
this.BizCheckFormNo = null;
|
|
2354
|
+
|
|
2355
|
+
/**
|
|
2356
|
+
* 主管税务机关代码
|
|
2357
|
+
* @type {string || null}
|
|
2358
|
+
*/
|
|
2359
|
+
this.TaxtationOrgCode = null;
|
|
2360
|
+
|
|
2361
|
+
/**
|
|
2362
|
+
* 主管税务机关名称
|
|
2363
|
+
* @type {string || null}
|
|
2364
|
+
*/
|
|
2365
|
+
this.TaxtationOrgName = null;
|
|
2366
|
+
|
|
2367
|
+
/**
|
|
2368
|
+
* 税率
|
|
2369
|
+
* @type {string || null}
|
|
2370
|
+
*/
|
|
2371
|
+
this.MotorTaxRate = null;
|
|
2372
|
+
|
|
2373
|
+
/**
|
|
2374
|
+
* 开户行
|
|
2375
|
+
* @type {string || null}
|
|
2376
|
+
*/
|
|
2377
|
+
this.MotorBankName = null;
|
|
2378
|
+
|
|
2379
|
+
/**
|
|
2380
|
+
* 账号
|
|
2381
|
+
* @type {string || null}
|
|
2382
|
+
*/
|
|
2383
|
+
this.MotorBankAccount = null;
|
|
2384
|
+
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2387
|
+
/**
|
|
2388
|
+
* @private
|
|
2389
|
+
*/
|
|
2390
|
+
deserialize(params) {
|
|
2391
|
+
if (!params) {
|
|
2392
|
+
return;
|
|
2393
|
+
}
|
|
2394
|
+
this.CarType = 'CarType' in params ? params.CarType : null;
|
|
2395
|
+
this.PlateModel = 'PlateModel' in params ? params.PlateModel : null;
|
|
2396
|
+
this.ProduceAddress = 'ProduceAddress' in params ? params.ProduceAddress : null;
|
|
2397
|
+
this.CertificateNo = 'CertificateNo' in params ? params.CertificateNo : null;
|
|
2398
|
+
this.ImportNo = 'ImportNo' in params ? params.ImportNo : null;
|
|
2399
|
+
this.VinNo = 'VinNo' in params ? params.VinNo : null;
|
|
2400
|
+
this.PayTaxesNo = 'PayTaxesNo' in params ? params.PayTaxesNo : null;
|
|
2401
|
+
this.Tonnage = 'Tonnage' in params ? params.Tonnage : null;
|
|
2402
|
+
this.LimitCount = 'LimitCount' in params ? params.LimitCount : null;
|
|
2403
|
+
this.EngineNo = 'EngineNo' in params ? params.EngineNo : null;
|
|
2404
|
+
this.BizCheckFormNo = 'BizCheckFormNo' in params ? params.BizCheckFormNo : null;
|
|
2405
|
+
this.TaxtationOrgCode = 'TaxtationOrgCode' in params ? params.TaxtationOrgCode : null;
|
|
2406
|
+
this.TaxtationOrgName = 'TaxtationOrgName' in params ? params.TaxtationOrgName : null;
|
|
2407
|
+
this.MotorTaxRate = 'MotorTaxRate' in params ? params.MotorTaxRate : null;
|
|
2408
|
+
this.MotorBankName = 'MotorBankName' in params ? params.MotorBankName : null;
|
|
2409
|
+
this.MotorBankAccount = 'MotorBankAccount' in params ? params.MotorBankAccount : null;
|
|
2410
|
+
|
|
2411
|
+
}
|
|
2412
|
+
}
|
|
2413
|
+
|
|
2040
2414
|
/**
|
|
2041
2415
|
* DriverLicenseOCR请求参数结构体
|
|
2042
2416
|
* @class
|
|
@@ -2093,7 +2467,7 @@ class BizLicenseVerifyResult extends AbstractModel {
|
|
|
2093
2467
|
|
|
2094
2468
|
/**
|
|
2095
2469
|
* “0“:一致
|
|
2096
|
-
“-1
|
|
2470
|
+
“-1”:不一致
|
|
2097
2471
|
* @type {string || null}
|
|
2098
2472
|
*/
|
|
2099
2473
|
this.RegNum = null;
|
|
@@ -2170,6 +2544,18 @@ GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。
|
|
|
2170
2544
|
*/
|
|
2171
2545
|
this.ItemPolygon = null;
|
|
2172
2546
|
|
|
2547
|
+
/**
|
|
2548
|
+
* 识别出来的单字信息包括单字(包括单字Character和单字置信度confidence), 支持识别的接口:GeneralBasicOCR、GeneralAccurateOCR
|
|
2549
|
+
* @type {Array.<DetectedWords> || null}
|
|
2550
|
+
*/
|
|
2551
|
+
this.Words = null;
|
|
2552
|
+
|
|
2553
|
+
/**
|
|
2554
|
+
* 单字在原图中的四点坐标, 支持识别的接口:GeneralBasicOCR、GeneralAccurateOCR
|
|
2555
|
+
* @type {Array.<DetectedWordCoordPoint> || null}
|
|
2556
|
+
*/
|
|
2557
|
+
this.WordCoordPoint = null;
|
|
2558
|
+
|
|
2173
2559
|
}
|
|
2174
2560
|
|
|
2175
2561
|
/**
|
|
@@ -2198,6 +2584,24 @@ GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。
|
|
|
2198
2584
|
this.ItemPolygon = obj;
|
|
2199
2585
|
}
|
|
2200
2586
|
|
|
2587
|
+
if (params.Words) {
|
|
2588
|
+
this.Words = new Array();
|
|
2589
|
+
for (let z in params.Words) {
|
|
2590
|
+
let obj = new DetectedWords();
|
|
2591
|
+
obj.deserialize(params.Words[z]);
|
|
2592
|
+
this.Words.push(obj);
|
|
2593
|
+
}
|
|
2594
|
+
}
|
|
2595
|
+
|
|
2596
|
+
if (params.WordCoordPoint) {
|
|
2597
|
+
this.WordCoordPoint = new Array();
|
|
2598
|
+
for (let z in params.WordCoordPoint) {
|
|
2599
|
+
let obj = new DetectedWordCoordPoint();
|
|
2600
|
+
obj.deserialize(params.WordCoordPoint[z]);
|
|
2601
|
+
this.WordCoordPoint.push(obj);
|
|
2602
|
+
}
|
|
2603
|
+
}
|
|
2604
|
+
|
|
2201
2605
|
}
|
|
2202
2606
|
}
|
|
2203
2607
|
|
|
@@ -2609,6 +3013,12 @@ class BankCardOCRRequest extends AbstractModel {
|
|
|
2609
3013
|
*/
|
|
2610
3014
|
this.EnableBorderCheck = null;
|
|
2611
3015
|
|
|
3016
|
+
/**
|
|
3017
|
+
* 是否返回图片质量分数(图片质量分数是评价一个图片的模糊程度的标准),默认false。
|
|
3018
|
+
* @type {boolean || null}
|
|
3019
|
+
*/
|
|
3020
|
+
this.EnableQualityValue = null;
|
|
3021
|
+
|
|
2612
3022
|
}
|
|
2613
3023
|
|
|
2614
3024
|
/**
|
|
@@ -2625,59 +3035,43 @@ class BankCardOCRRequest extends AbstractModel {
|
|
|
2625
3035
|
this.EnableCopyCheck = 'EnableCopyCheck' in params ? params.EnableCopyCheck : null;
|
|
2626
3036
|
this.EnableReshootCheck = 'EnableReshootCheck' in params ? params.EnableReshootCheck : null;
|
|
2627
3037
|
this.EnableBorderCheck = 'EnableBorderCheck' in params ? params.EnableBorderCheck : null;
|
|
3038
|
+
this.EnableQualityValue = 'EnableQualityValue' in params ? params.EnableQualityValue : null;
|
|
2628
3039
|
|
|
2629
3040
|
}
|
|
2630
3041
|
}
|
|
2631
3042
|
|
|
2632
3043
|
/**
|
|
2633
|
-
*
|
|
3044
|
+
* 智能结构化识别
|
|
2634
3045
|
* @class
|
|
2635
3046
|
*/
|
|
2636
|
-
class
|
|
3047
|
+
class StructuralItem extends AbstractModel {
|
|
2637
3048
|
constructor(){
|
|
2638
3049
|
super();
|
|
2639
3050
|
|
|
2640
3051
|
/**
|
|
2641
|
-
*
|
|
2642
|
-
* @type {string || null}
|
|
2643
|
-
*/
|
|
2644
|
-
this.Owner = null;
|
|
2645
|
-
|
|
2646
|
-
/**
|
|
2647
|
-
* 共有情况
|
|
2648
|
-
* @type {string || null}
|
|
2649
|
-
*/
|
|
2650
|
-
this.Possession = null;
|
|
2651
|
-
|
|
2652
|
-
/**
|
|
2653
|
-
* 登记时间
|
|
2654
|
-
* @type {string || null}
|
|
2655
|
-
*/
|
|
2656
|
-
this.RegisterTime = null;
|
|
2657
|
-
|
|
2658
|
-
/**
|
|
2659
|
-
* 规划用途
|
|
3052
|
+
* 识别出的字段名称(关键字)。
|
|
2660
3053
|
* @type {string || null}
|
|
2661
3054
|
*/
|
|
2662
|
-
this.
|
|
3055
|
+
this.Name = null;
|
|
2663
3056
|
|
|
2664
3057
|
/**
|
|
2665
|
-
*
|
|
3058
|
+
* 识别出的字段名称对应的值。
|
|
2666
3059
|
* @type {string || null}
|
|
2667
3060
|
*/
|
|
2668
|
-
this.
|
|
3061
|
+
this.Value = null;
|
|
2669
3062
|
|
|
2670
3063
|
/**
|
|
2671
|
-
*
|
|
2672
|
-
* @type {
|
|
3064
|
+
* 置信度 0 ~100。
|
|
3065
|
+
* @type {number || null}
|
|
2673
3066
|
*/
|
|
2674
|
-
this.
|
|
3067
|
+
this.Confidence = null;
|
|
2675
3068
|
|
|
2676
3069
|
/**
|
|
2677
|
-
*
|
|
2678
|
-
|
|
3070
|
+
* 文本行在旋转纠正之后的图像中的像素
|
|
3071
|
+
坐标。
|
|
3072
|
+
* @type {ItemCoord || null}
|
|
2679
3073
|
*/
|
|
2680
|
-
this.
|
|
3074
|
+
this.ItemCoord = null;
|
|
2681
3075
|
|
|
2682
3076
|
}
|
|
2683
3077
|
|
|
@@ -2688,39 +3082,36 @@ class PropOwnerCertOCRResponse extends AbstractModel {
|
|
|
2688
3082
|
if (!params) {
|
|
2689
3083
|
return;
|
|
2690
3084
|
}
|
|
2691
|
-
this.
|
|
2692
|
-
this.
|
|
2693
|
-
this.
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
3085
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
3086
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
3087
|
+
this.Confidence = 'Confidence' in params ? params.Confidence : null;
|
|
3088
|
+
|
|
3089
|
+
if (params.ItemCoord) {
|
|
3090
|
+
let obj = new ItemCoord();
|
|
3091
|
+
obj.deserialize(params.ItemCoord)
|
|
3092
|
+
this.ItemCoord = obj;
|
|
3093
|
+
}
|
|
2698
3094
|
|
|
2699
3095
|
}
|
|
2700
3096
|
}
|
|
2701
3097
|
|
|
2702
3098
|
/**
|
|
2703
|
-
*
|
|
3099
|
+
* 网约车行程单识别结果
|
|
2704
3100
|
* @class
|
|
2705
3101
|
*/
|
|
2706
|
-
class
|
|
3102
|
+
class OnlineTaxiItineraryInfo extends AbstractModel {
|
|
2707
3103
|
constructor(){
|
|
2708
3104
|
super();
|
|
2709
3105
|
|
|
2710
3106
|
/**
|
|
2711
3107
|
* 识别出的字段名称(关键字),支持以下字段:
|
|
2712
|
-
|
|
2713
|
-
日期、出票全称、出票账号、出票开户行、收款人全称、收款人账号、收款开户行、大写金额、小写金额、票据种类、票据张数、票据号码;
|
|
2714
|
-
【支票】
|
|
2715
|
-
开户银行、支票种类、凭证号码2、日期、大写金额、小写金额、付款行编号、密码、凭证号码1;
|
|
2716
|
-
【银行承兑汇票】或【商业承兑汇票】
|
|
2717
|
-
出票日期、行号1、行号2、出票人全称、出票人账号、付款行全称、收款人全称、收款人账号、收款人开户行、出票金额大写、出票金额小写、汇票到期日、付款行行号、付款行地址。
|
|
3108
|
+
发票代码、 机打代码、 发票号码、 发动机号码、 合格证号、 机打号码、 价税合计(小写)、 销货单位名称、 身份证号码/组织机构代码、 购买方名称、 销售方纳税人识别号、 购买方纳税人识别号、主管税务机关、 主管税务机关代码、 开票日期、 不含税价(小写)、 吨位、增值税税率或征收率、 车辆识别代号/车架号码、 增值税税额、 厂牌型号、 省、 市、 发票消费类型、 销售方电话、 销售方账号、 产地、 进口证明书号、 车辆类型、 机器编号、备注、开票人、限乘人数、商检单号、销售方地址、销售方开户银行、价税合计、发票类型。
|
|
2718
3109
|
* @type {string || null}
|
|
2719
3110
|
*/
|
|
2720
3111
|
this.Name = null;
|
|
2721
3112
|
|
|
2722
3113
|
/**
|
|
2723
|
-
* 识别出的字段名称对应的值,也就是字段
|
|
3114
|
+
* 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
|
|
2724
3115
|
* @type {string || null}
|
|
2725
3116
|
*/
|
|
2726
3117
|
this.Value = null;
|
|
@@ -2741,10 +3132,121 @@ class FinanBillInfo extends AbstractModel {
|
|
|
2741
3132
|
}
|
|
2742
3133
|
|
|
2743
3134
|
/**
|
|
2744
|
-
*
|
|
3135
|
+
* PropOwnerCertOCR返回参数结构体
|
|
2745
3136
|
* @class
|
|
2746
3137
|
*/
|
|
2747
|
-
class
|
|
3138
|
+
class PropOwnerCertOCRResponse extends AbstractModel {
|
|
3139
|
+
constructor(){
|
|
3140
|
+
super();
|
|
3141
|
+
|
|
3142
|
+
/**
|
|
3143
|
+
* 房地产权利人
|
|
3144
|
+
* @type {string || null}
|
|
3145
|
+
*/
|
|
3146
|
+
this.Owner = null;
|
|
3147
|
+
|
|
3148
|
+
/**
|
|
3149
|
+
* 共有情况
|
|
3150
|
+
* @type {string || null}
|
|
3151
|
+
*/
|
|
3152
|
+
this.Possession = null;
|
|
3153
|
+
|
|
3154
|
+
/**
|
|
3155
|
+
* 登记时间
|
|
3156
|
+
* @type {string || null}
|
|
3157
|
+
*/
|
|
3158
|
+
this.RegisterTime = null;
|
|
3159
|
+
|
|
3160
|
+
/**
|
|
3161
|
+
* 规划用途
|
|
3162
|
+
* @type {string || null}
|
|
3163
|
+
*/
|
|
3164
|
+
this.Purpose = null;
|
|
3165
|
+
|
|
3166
|
+
/**
|
|
3167
|
+
* 房屋性质
|
|
3168
|
+
* @type {string || null}
|
|
3169
|
+
*/
|
|
3170
|
+
this.Nature = null;
|
|
3171
|
+
|
|
3172
|
+
/**
|
|
3173
|
+
* 房地坐落
|
|
3174
|
+
* @type {string || null}
|
|
3175
|
+
*/
|
|
3176
|
+
this.Location = null;
|
|
3177
|
+
|
|
3178
|
+
/**
|
|
3179
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3180
|
+
* @type {string || null}
|
|
3181
|
+
*/
|
|
3182
|
+
this.RequestId = null;
|
|
3183
|
+
|
|
3184
|
+
}
|
|
3185
|
+
|
|
3186
|
+
/**
|
|
3187
|
+
* @private
|
|
3188
|
+
*/
|
|
3189
|
+
deserialize(params) {
|
|
3190
|
+
if (!params) {
|
|
3191
|
+
return;
|
|
3192
|
+
}
|
|
3193
|
+
this.Owner = 'Owner' in params ? params.Owner : null;
|
|
3194
|
+
this.Possession = 'Possession' in params ? params.Possession : null;
|
|
3195
|
+
this.RegisterTime = 'RegisterTime' in params ? params.RegisterTime : null;
|
|
3196
|
+
this.Purpose = 'Purpose' in params ? params.Purpose : null;
|
|
3197
|
+
this.Nature = 'Nature' in params ? params.Nature : null;
|
|
3198
|
+
this.Location = 'Location' in params ? params.Location : null;
|
|
3199
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3200
|
+
|
|
3201
|
+
}
|
|
3202
|
+
}
|
|
3203
|
+
|
|
3204
|
+
/**
|
|
3205
|
+
* 金融票据整单识别单个字段的内容
|
|
3206
|
+
* @class
|
|
3207
|
+
*/
|
|
3208
|
+
class FinanBillInfo extends AbstractModel {
|
|
3209
|
+
constructor(){
|
|
3210
|
+
super();
|
|
3211
|
+
|
|
3212
|
+
/**
|
|
3213
|
+
* 识别出的字段名称(关键字),支持以下字段:
|
|
3214
|
+
【进账单】
|
|
3215
|
+
日期、出票全称、出票账号、出票开户行、收款人全称、收款人账号、收款开户行、大写金额、小写金额、票据种类、票据张数、票据号码;
|
|
3216
|
+
【支票】
|
|
3217
|
+
开户银行、支票种类、凭证号码2、日期、大写金额、小写金额、付款行编号、密码、凭证号码1;
|
|
3218
|
+
【银行承兑汇票】或【商业承兑汇票】
|
|
3219
|
+
出票日期、行号1、行号2、出票人全称、出票人账号、付款行全称、收款人全称、收款人账号、收款人开户行、出票金额大写、出票金额小写、汇票到期日、付款行行号、付款行地址。
|
|
3220
|
+
* @type {string || null}
|
|
3221
|
+
*/
|
|
3222
|
+
this.Name = null;
|
|
3223
|
+
|
|
3224
|
+
/**
|
|
3225
|
+
* 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
|
|
3226
|
+
* @type {string || null}
|
|
3227
|
+
*/
|
|
3228
|
+
this.Value = null;
|
|
3229
|
+
|
|
3230
|
+
}
|
|
3231
|
+
|
|
3232
|
+
/**
|
|
3233
|
+
* @private
|
|
3234
|
+
*/
|
|
3235
|
+
deserialize(params) {
|
|
3236
|
+
if (!params) {
|
|
3237
|
+
return;
|
|
3238
|
+
}
|
|
3239
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
3240
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
3241
|
+
|
|
3242
|
+
}
|
|
3243
|
+
}
|
|
3244
|
+
|
|
3245
|
+
/**
|
|
3246
|
+
* TrainTicketOCR返回参数结构体
|
|
3247
|
+
* @class
|
|
3248
|
+
*/
|
|
3249
|
+
class TrainTicketOCRResponse extends AbstractModel {
|
|
2748
3250
|
constructor(){
|
|
2749
3251
|
super();
|
|
2750
3252
|
|
|
@@ -2809,7 +3311,7 @@ class TrainTicketOCRResponse extends AbstractModel {
|
|
|
2809
3311
|
this.ID = null;
|
|
2810
3312
|
|
|
2811
3313
|
/**
|
|
2812
|
-
*
|
|
3314
|
+
* 发票消费类型:交通
|
|
2813
3315
|
* @type {string || null}
|
|
2814
3316
|
*/
|
|
2815
3317
|
this.InvoiceType = null;
|
|
@@ -2820,6 +3322,54 @@ class TrainTicketOCRResponse extends AbstractModel {
|
|
|
2820
3322
|
*/
|
|
2821
3323
|
this.SerialNumber = null;
|
|
2822
3324
|
|
|
3325
|
+
/**
|
|
3326
|
+
* 加收票价
|
|
3327
|
+
* @type {string || null}
|
|
3328
|
+
*/
|
|
3329
|
+
this.AdditionalCost = null;
|
|
3330
|
+
|
|
3331
|
+
/**
|
|
3332
|
+
* 手续费
|
|
3333
|
+
* @type {string || null}
|
|
3334
|
+
*/
|
|
3335
|
+
this.HandlingFee = null;
|
|
3336
|
+
|
|
3337
|
+
/**
|
|
3338
|
+
* 大写金额(票面有大写金额该字段才有值)
|
|
3339
|
+
* @type {string || null}
|
|
3340
|
+
*/
|
|
3341
|
+
this.LegalAmount = null;
|
|
3342
|
+
|
|
3343
|
+
/**
|
|
3344
|
+
* 售票站
|
|
3345
|
+
* @type {string || null}
|
|
3346
|
+
*/
|
|
3347
|
+
this.TicketStation = null;
|
|
3348
|
+
|
|
3349
|
+
/**
|
|
3350
|
+
* 原票价(一般有手续费的才有原始票价字段)
|
|
3351
|
+
* @type {string || null}
|
|
3352
|
+
*/
|
|
3353
|
+
this.OriginalPrice = null;
|
|
3354
|
+
|
|
3355
|
+
/**
|
|
3356
|
+
* 发票类型:火车票、火车票补票、火车票退票凭证
|
|
3357
|
+
* @type {string || null}
|
|
3358
|
+
*/
|
|
3359
|
+
this.InvoiceStyle = null;
|
|
3360
|
+
|
|
3361
|
+
/**
|
|
3362
|
+
* 收据号码
|
|
3363
|
+
* @type {string || null}
|
|
3364
|
+
*/
|
|
3365
|
+
this.ReceiptNumber = null;
|
|
3366
|
+
|
|
3367
|
+
/**
|
|
3368
|
+
* 仅供报销使用:1为是,0为否
|
|
3369
|
+
* @type {string || null}
|
|
3370
|
+
*/
|
|
3371
|
+
this.IsReceipt = null;
|
|
3372
|
+
|
|
2823
3373
|
/**
|
|
2824
3374
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2825
3375
|
* @type {string || null}
|
|
@@ -2847,6 +3397,14 @@ class TrainTicketOCRResponse extends AbstractModel {
|
|
|
2847
3397
|
this.ID = 'ID' in params ? params.ID : null;
|
|
2848
3398
|
this.InvoiceType = 'InvoiceType' in params ? params.InvoiceType : null;
|
|
2849
3399
|
this.SerialNumber = 'SerialNumber' in params ? params.SerialNumber : null;
|
|
3400
|
+
this.AdditionalCost = 'AdditionalCost' in params ? params.AdditionalCost : null;
|
|
3401
|
+
this.HandlingFee = 'HandlingFee' in params ? params.HandlingFee : null;
|
|
3402
|
+
this.LegalAmount = 'LegalAmount' in params ? params.LegalAmount : null;
|
|
3403
|
+
this.TicketStation = 'TicketStation' in params ? params.TicketStation : null;
|
|
3404
|
+
this.OriginalPrice = 'OriginalPrice' in params ? params.OriginalPrice : null;
|
|
3405
|
+
this.InvoiceStyle = 'InvoiceStyle' in params ? params.InvoiceStyle : null;
|
|
3406
|
+
this.ReceiptNumber = 'ReceiptNumber' in params ? params.ReceiptNumber : null;
|
|
3407
|
+
this.IsReceipt = 'IsReceipt' in params ? params.IsReceipt : null;
|
|
2850
3408
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2851
3409
|
|
|
2852
3410
|
}
|
|
@@ -2900,6 +3458,54 @@ class TollInvoiceInfo extends AbstractModel {
|
|
|
2900
3458
|
}
|
|
2901
3459
|
}
|
|
2902
3460
|
|
|
3461
|
+
/**
|
|
3462
|
+
* 银行回单识别出的字段
|
|
3463
|
+
* @class
|
|
3464
|
+
*/
|
|
3465
|
+
class BankSlipInfo extends AbstractModel {
|
|
3466
|
+
constructor(){
|
|
3467
|
+
super();
|
|
3468
|
+
|
|
3469
|
+
/**
|
|
3470
|
+
* 识别出的字段名称(关键字),支持以下字段:
|
|
3471
|
+
付款开户行、收款开户行、付款账号、收款账号、回单类型、回单编号、币种、流水号、凭证号码、交易机构、交易金额、手续费、日期等字段信息。
|
|
3472
|
+
* @type {string || null}
|
|
3473
|
+
*/
|
|
3474
|
+
this.Name = null;
|
|
3475
|
+
|
|
3476
|
+
/**
|
|
3477
|
+
* 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
|
|
3478
|
+
* @type {string || null}
|
|
3479
|
+
*/
|
|
3480
|
+
this.Value = null;
|
|
3481
|
+
|
|
3482
|
+
/**
|
|
3483
|
+
* 文本行在旋转纠正之后的图像中的像素坐标。
|
|
3484
|
+
* @type {Rect || null}
|
|
3485
|
+
*/
|
|
3486
|
+
this.Rect = null;
|
|
3487
|
+
|
|
3488
|
+
}
|
|
3489
|
+
|
|
3490
|
+
/**
|
|
3491
|
+
* @private
|
|
3492
|
+
*/
|
|
3493
|
+
deserialize(params) {
|
|
3494
|
+
if (!params) {
|
|
3495
|
+
return;
|
|
3496
|
+
}
|
|
3497
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
3498
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
3499
|
+
|
|
3500
|
+
if (params.Rect) {
|
|
3501
|
+
let obj = new Rect();
|
|
3502
|
+
obj.deserialize(params.Rect)
|
|
3503
|
+
this.Rect = obj;
|
|
3504
|
+
}
|
|
3505
|
+
|
|
3506
|
+
}
|
|
3507
|
+
}
|
|
3508
|
+
|
|
2903
3509
|
/**
|
|
2904
3510
|
* ArithmeticOCR返回参数结构体
|
|
2905
3511
|
* @class
|
|
@@ -3010,7 +3616,7 @@ class BusInvoiceInfo extends AbstractModel {
|
|
|
3010
3616
|
|
|
3011
3617
|
/**
|
|
3012
3618
|
* 识别出的字段名称(关键字),支持以下字段:
|
|
3013
|
-
|
|
3619
|
+
发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次。
|
|
3014
3620
|
* @type {string || null}
|
|
3015
3621
|
*/
|
|
3016
3622
|
this.Name = null;
|
|
@@ -3048,6 +3654,57 @@ class BusInvoiceInfo extends AbstractModel {
|
|
|
3048
3654
|
}
|
|
3049
3655
|
}
|
|
3050
3656
|
|
|
3657
|
+
/**
|
|
3658
|
+
* SmartStructuralOCR请求参数结构体
|
|
3659
|
+
* @class
|
|
3660
|
+
*/
|
|
3661
|
+
class SmartStructuralOCRRequest extends AbstractModel {
|
|
3662
|
+
constructor(){
|
|
3663
|
+
super();
|
|
3664
|
+
|
|
3665
|
+
/**
|
|
3666
|
+
* 图片的 Url 地址。
|
|
3667
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
3668
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
3669
|
+
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
|
3670
|
+
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
3671
|
+
* @type {string || null}
|
|
3672
|
+
*/
|
|
3673
|
+
this.ImageUrl = null;
|
|
3674
|
+
|
|
3675
|
+
/**
|
|
3676
|
+
* 图片的 Base64 值。
|
|
3677
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
3678
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
3679
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
3680
|
+
* @type {string || null}
|
|
3681
|
+
*/
|
|
3682
|
+
this.ImageBase64 = null;
|
|
3683
|
+
|
|
3684
|
+
/**
|
|
3685
|
+
* 自定义结构化功能需返回的字段名称,例:
|
|
3686
|
+
若客户只想返回姓名、性别两个字段的识别结果,则输入
|
|
3687
|
+
ItemNames=["姓名","性别"]
|
|
3688
|
+
* @type {Array.<string> || null}
|
|
3689
|
+
*/
|
|
3690
|
+
this.ItemNames = null;
|
|
3691
|
+
|
|
3692
|
+
}
|
|
3693
|
+
|
|
3694
|
+
/**
|
|
3695
|
+
* @private
|
|
3696
|
+
*/
|
|
3697
|
+
deserialize(params) {
|
|
3698
|
+
if (!params) {
|
|
3699
|
+
return;
|
|
3700
|
+
}
|
|
3701
|
+
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
3702
|
+
this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
|
|
3703
|
+
this.ItemNames = 'ItemNames' in params ? params.ItemNames : null;
|
|
3704
|
+
|
|
3705
|
+
}
|
|
3706
|
+
}
|
|
3707
|
+
|
|
3051
3708
|
/**
|
|
3052
3709
|
* 增值税发票识别结果
|
|
3053
3710
|
* @class
|
|
@@ -3058,7 +3715,7 @@ class TextVatInvoice extends AbstractModel {
|
|
|
3058
3715
|
|
|
3059
3716
|
/**
|
|
3060
3717
|
* 识别出的字段名称(关键字)。支持以下字段的识别:
|
|
3061
|
-
发票代码、 发票号码、 打印发票代码、 打印发票号码、 开票日期、 购买方识别号、 小写金额、 价税合计(大写)、 销售方识别号、 校验码、 购买方名称、 销售方名称、 税额、 复核、 联次名称、 备注、 联次、 密码区、 开票人、 收款人、 (货物或应税劳务、服务名称)、省、 市、 服务类型、 通行费标志、 是否代开、 是否收购、 合计金额、 是否有公司印章、 发票消费类型、 车船税、 机器编号、 成品油标志、 税率、 合计税额、 (购买方地址、电话)、 (销售方地址、电话)、 单价、 金额、 销售方开户行及账号、 购买方开户行及账号、 规格型号、 发票名称、 单位、 数量、 校验码备选、
|
|
3718
|
+
发票代码、 发票号码、 打印发票代码、 打印发票号码、 开票日期、 购买方识别号、 小写金额、 价税合计(大写)、 销售方识别号、 校验码、 购买方名称、 销售方名称、 税额、 复核、 联次名称、 备注、 联次、 密码区、 开票人、 收款人、 (货物或应税劳务、服务名称)、省、 市、 服务类型、 通行费标志、 是否代开、 是否收购、 合计金额、 是否有公司印章、 发票消费类型、 车船税、 机器编号、 成品油标志、 税率、 合计税额、 (购买方地址、电话)、 (销售方地址、电话)、 单价、 金额、 销售方开户行及账号、 购买方开户行及账号、 规格型号、 发票名称、 单位、 数量、 校验码备选、 校验码后六位备选、发票号码备选、车牌号、类型、通行日期起、通行日期止、发票类型。
|
|
3062
3719
|
* @type {string || null}
|
|
3063
3720
|
*/
|
|
3064
3721
|
this.Name = null;
|
|
@@ -3138,6 +3795,13 @@ class GeneralHandwritingOCRRequest extends AbstractModel {
|
|
|
3138
3795
|
*/
|
|
3139
3796
|
this.EnableWordPolygon = null;
|
|
3140
3797
|
|
|
3798
|
+
/**
|
|
3799
|
+
* 文本检测开关,默认值为true。
|
|
3800
|
+
设置为false表示直接进行单行识别,可适用于识别单行手写体签名场景。
|
|
3801
|
+
* @type {boolean || null}
|
|
3802
|
+
*/
|
|
3803
|
+
this.EnableDetectText = null;
|
|
3804
|
+
|
|
3141
3805
|
}
|
|
3142
3806
|
|
|
3143
3807
|
/**
|
|
@@ -3151,6 +3815,7 @@ class GeneralHandwritingOCRRequest extends AbstractModel {
|
|
|
3151
3815
|
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
3152
3816
|
this.Scene = 'Scene' in params ? params.Scene : null;
|
|
3153
3817
|
this.EnableWordPolygon = 'EnableWordPolygon' in params ? params.EnableWordPolygon : null;
|
|
3818
|
+
this.EnableDetectText = 'EnableDetectText' in params ? params.EnableDetectText : null;
|
|
3154
3819
|
|
|
3155
3820
|
}
|
|
3156
3821
|
}
|
|
@@ -3333,10 +3998,10 @@ class InsuranceBillOCRResponse extends AbstractModel {
|
|
|
3333
3998
|
}
|
|
3334
3999
|
|
|
3335
4000
|
/**
|
|
3336
|
-
*
|
|
4001
|
+
* GeneralAccurateOCR返回参数结构体
|
|
3337
4002
|
* @class
|
|
3338
4003
|
*/
|
|
3339
|
-
class
|
|
4004
|
+
class GeneralAccurateOCRResponse extends AbstractModel {
|
|
3340
4005
|
constructor(){
|
|
3341
4006
|
super();
|
|
3342
4007
|
|
|
@@ -3856,29 +4521,93 @@ class ClassifyDetectOCRResponse extends AbstractModel {
|
|
|
3856
4521
|
}
|
|
3857
4522
|
|
|
3858
4523
|
/**
|
|
3859
|
-
*
|
|
4524
|
+
* VatInvoiceVerifyNew请求参数结构体
|
|
3860
4525
|
* @class
|
|
3861
4526
|
*/
|
|
3862
|
-
class
|
|
4527
|
+
class VatInvoiceVerifyNewRequest extends AbstractModel {
|
|
3863
4528
|
constructor(){
|
|
3864
4529
|
super();
|
|
3865
4530
|
|
|
3866
4531
|
/**
|
|
3867
|
-
*
|
|
3868
|
-
|
|
3869
|
-
* @type {TextVehicleFront || null}
|
|
4532
|
+
* 发票号码,8位、20位(全电票)
|
|
4533
|
+
* @type {string || null}
|
|
3870
4534
|
*/
|
|
3871
|
-
this.
|
|
4535
|
+
this.InvoiceNo = null;
|
|
3872
4536
|
|
|
3873
4537
|
/**
|
|
3874
|
-
*
|
|
3875
|
-
|
|
3876
|
-
* @type {TextVehicleBack || null}
|
|
4538
|
+
* 开票日期(不支持当天发票查询,支持五年以内开具的发票),格式:“YYYY-MM-DD”,如:2019-12-20。
|
|
4539
|
+
* @type {string || null}
|
|
3877
4540
|
*/
|
|
3878
|
-
this.
|
|
4541
|
+
this.InvoiceDate = null;
|
|
3879
4542
|
|
|
3880
4543
|
/**
|
|
3881
|
-
*
|
|
4544
|
+
* 发票代码(10或12 位),全电发票为空。查验未成功超过5次后当日无法再查。
|
|
4545
|
+
* @type {string || null}
|
|
4546
|
+
*/
|
|
4547
|
+
this.InvoiceCode = null;
|
|
4548
|
+
|
|
4549
|
+
/**
|
|
4550
|
+
* 票种类型 01:增值税专用发票, 02:货运运输业增值税专用发 票, 03:机动车销售统一发票, 04:增值税普通发票, 08:增值税电子专用发票(含全电), 10:增值税电子普通发票(含全电), 11:增值税普通发票(卷式), 14:增值税电子(通行费)发 票, 15:二手车销售统一发票, 32:深圳区块链发票(云南区块链因业务调整现已下线)。
|
|
4551
|
+
* @type {string || null}
|
|
4552
|
+
*/
|
|
4553
|
+
this.InvoiceKind = null;
|
|
4554
|
+
|
|
4555
|
+
/**
|
|
4556
|
+
* 校验码后 6 位,增值税普通发票、增值税电子普通发票、增值税普通发票(卷式)、增值税电子普通发票(通行费)时必填;
|
|
4557
|
+
区块链为 5 位
|
|
4558
|
+
* @type {string || null}
|
|
4559
|
+
*/
|
|
4560
|
+
this.CheckCode = null;
|
|
4561
|
+
|
|
4562
|
+
/**
|
|
4563
|
+
* 不含税金额,增值税专用发票、增值税电子专用发票、机动车销售统一发票、二手车销售统一发票、区块链发票时必填; 全电发票为价税合计(含税金额)
|
|
4564
|
+
* @type {string || null}
|
|
4565
|
+
*/
|
|
4566
|
+
this.Amount = null;
|
|
4567
|
+
|
|
4568
|
+
}
|
|
4569
|
+
|
|
4570
|
+
/**
|
|
4571
|
+
* @private
|
|
4572
|
+
*/
|
|
4573
|
+
deserialize(params) {
|
|
4574
|
+
if (!params) {
|
|
4575
|
+
return;
|
|
4576
|
+
}
|
|
4577
|
+
this.InvoiceNo = 'InvoiceNo' in params ? params.InvoiceNo : null;
|
|
4578
|
+
this.InvoiceDate = 'InvoiceDate' in params ? params.InvoiceDate : null;
|
|
4579
|
+
this.InvoiceCode = 'InvoiceCode' in params ? params.InvoiceCode : null;
|
|
4580
|
+
this.InvoiceKind = 'InvoiceKind' in params ? params.InvoiceKind : null;
|
|
4581
|
+
this.CheckCode = 'CheckCode' in params ? params.CheckCode : null;
|
|
4582
|
+
this.Amount = 'Amount' in params ? params.Amount : null;
|
|
4583
|
+
|
|
4584
|
+
}
|
|
4585
|
+
}
|
|
4586
|
+
|
|
4587
|
+
/**
|
|
4588
|
+
* VehicleLicenseOCR返回参数结构体
|
|
4589
|
+
* @class
|
|
4590
|
+
*/
|
|
4591
|
+
class VehicleLicenseOCRResponse extends AbstractModel {
|
|
4592
|
+
constructor(){
|
|
4593
|
+
super();
|
|
4594
|
+
|
|
4595
|
+
/**
|
|
4596
|
+
* 行驶证主页正面的识别结果,CardSide 为 FRONT。
|
|
4597
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4598
|
+
* @type {TextVehicleFront || null}
|
|
4599
|
+
*/
|
|
4600
|
+
this.FrontInfo = null;
|
|
4601
|
+
|
|
4602
|
+
/**
|
|
4603
|
+
* 行驶证副页正面的识别结果,CardSide 为 BACK。
|
|
4604
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4605
|
+
* @type {TextVehicleBack || null}
|
|
4606
|
+
*/
|
|
4607
|
+
this.BackInfo = null;
|
|
4608
|
+
|
|
4609
|
+
/**
|
|
4610
|
+
* Code 告警码列表和释义:
|
|
3882
4611
|
-9102 复印件告警
|
|
3883
4612
|
-9103 翻拍件告警
|
|
3884
4613
|
-9106 ps告警
|
|
@@ -4048,8 +4777,8 @@ class IDCardOCRResponse extends AbstractModel {
|
|
|
4048
4777
|
IdCard,裁剪后身份证照片的base64编码,请求 Config.CropIdCard 时返回;
|
|
4049
4778
|
Portrait,身份证头像照片的base64编码,请求 Config.CropPortrait 时返回;
|
|
4050
4779
|
|
|
4051
|
-
Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:0~100,分数越低越模糊,建议阈值≥50);
|
|
4052
|
-
BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0~100
|
|
4780
|
+
Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:0 ~ 100,分数越低越模糊,建议阈值≥50);
|
|
4781
|
+
BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);
|
|
4053
4782
|
|
|
4054
4783
|
WarnInfos,告警信息,Code 告警码列表和释义:
|
|
4055
4784
|
-9100 身份证有效日期不合法告警,
|
|
@@ -4278,6 +5007,12 @@ class LicensePlateOCRResponse extends AbstractModel {
|
|
|
4278
5007
|
*/
|
|
4279
5008
|
this.Rect = null;
|
|
4280
5009
|
|
|
5010
|
+
/**
|
|
5011
|
+
* 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”。
|
|
5012
|
+
* @type {string || null}
|
|
5013
|
+
*/
|
|
5014
|
+
this.Color = null;
|
|
5015
|
+
|
|
4281
5016
|
/**
|
|
4282
5017
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4283
5018
|
* @type {string || null}
|
|
@@ -4301,6 +5036,7 @@ class LicensePlateOCRResponse extends AbstractModel {
|
|
|
4301
5036
|
obj.deserialize(params.Rect)
|
|
4302
5037
|
this.Rect = obj;
|
|
4303
5038
|
}
|
|
5039
|
+
this.Color = 'Color' in params ? params.Color : null;
|
|
4304
5040
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4305
5041
|
|
|
4306
5042
|
}
|
|
@@ -4606,6 +5342,85 @@ class InvoiceGeneralOCRResponse extends AbstractModel {
|
|
|
4606
5342
|
}
|
|
4607
5343
|
}
|
|
4608
5344
|
|
|
5345
|
+
/**
|
|
5346
|
+
* VatInvoiceVerifyNew返回参数结构体
|
|
5347
|
+
* @class
|
|
5348
|
+
*/
|
|
5349
|
+
class VatInvoiceVerifyNewResponse extends AbstractModel {
|
|
5350
|
+
constructor(){
|
|
5351
|
+
super();
|
|
5352
|
+
|
|
5353
|
+
/**
|
|
5354
|
+
* 增值税发票信息,详情请点击左侧链接。
|
|
5355
|
+
* @type {VatInvoice || null}
|
|
5356
|
+
*/
|
|
5357
|
+
this.Invoice = null;
|
|
5358
|
+
|
|
5359
|
+
/**
|
|
5360
|
+
* 机动车销售统一发票信息
|
|
5361
|
+
* @type {VehicleInvoiceInfo || null}
|
|
5362
|
+
*/
|
|
5363
|
+
this.VehicleInvoiceInfo = null;
|
|
5364
|
+
|
|
5365
|
+
/**
|
|
5366
|
+
* 二手车销售统一发票信息
|
|
5367
|
+
* @type {UsedVehicleInvoiceInfo || null}
|
|
5368
|
+
*/
|
|
5369
|
+
this.UsedVehicleInvoiceInfo = null;
|
|
5370
|
+
|
|
5371
|
+
/**
|
|
5372
|
+
* 通行费发票信息
|
|
5373
|
+
* @type {Array.<PassInvoiceInfo> || null}
|
|
5374
|
+
*/
|
|
5375
|
+
this.PassInvoiceInfoList = null;
|
|
5376
|
+
|
|
5377
|
+
/**
|
|
5378
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5379
|
+
* @type {string || null}
|
|
5380
|
+
*/
|
|
5381
|
+
this.RequestId = null;
|
|
5382
|
+
|
|
5383
|
+
}
|
|
5384
|
+
|
|
5385
|
+
/**
|
|
5386
|
+
* @private
|
|
5387
|
+
*/
|
|
5388
|
+
deserialize(params) {
|
|
5389
|
+
if (!params) {
|
|
5390
|
+
return;
|
|
5391
|
+
}
|
|
5392
|
+
|
|
5393
|
+
if (params.Invoice) {
|
|
5394
|
+
let obj = new VatInvoice();
|
|
5395
|
+
obj.deserialize(params.Invoice)
|
|
5396
|
+
this.Invoice = obj;
|
|
5397
|
+
}
|
|
5398
|
+
|
|
5399
|
+
if (params.VehicleInvoiceInfo) {
|
|
5400
|
+
let obj = new VehicleInvoiceInfo();
|
|
5401
|
+
obj.deserialize(params.VehicleInvoiceInfo)
|
|
5402
|
+
this.VehicleInvoiceInfo = obj;
|
|
5403
|
+
}
|
|
5404
|
+
|
|
5405
|
+
if (params.UsedVehicleInvoiceInfo) {
|
|
5406
|
+
let obj = new UsedVehicleInvoiceInfo();
|
|
5407
|
+
obj.deserialize(params.UsedVehicleInvoiceInfo)
|
|
5408
|
+
this.UsedVehicleInvoiceInfo = obj;
|
|
5409
|
+
}
|
|
5410
|
+
|
|
5411
|
+
if (params.PassInvoiceInfoList) {
|
|
5412
|
+
this.PassInvoiceInfoList = new Array();
|
|
5413
|
+
for (let z in params.PassInvoiceInfoList) {
|
|
5414
|
+
let obj = new PassInvoiceInfo();
|
|
5415
|
+
obj.deserialize(params.PassInvoiceInfoList[z]);
|
|
5416
|
+
this.PassInvoiceInfoList.push(obj);
|
|
5417
|
+
}
|
|
5418
|
+
}
|
|
5419
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5420
|
+
|
|
5421
|
+
}
|
|
5422
|
+
}
|
|
5423
|
+
|
|
4609
5424
|
/**
|
|
4610
5425
|
* TaxiInvoiceOCR请求参数结构体
|
|
4611
5426
|
* @class
|
|
@@ -4690,6 +5505,48 @@ class PropOwnerCertOCRRequest extends AbstractModel {
|
|
|
4690
5505
|
}
|
|
4691
5506
|
}
|
|
4692
5507
|
|
|
5508
|
+
/**
|
|
5509
|
+
* RecognizeContainerOCR请求参数结构体
|
|
5510
|
+
* @class
|
|
5511
|
+
*/
|
|
5512
|
+
class RecognizeContainerOCRRequest extends AbstractModel {
|
|
5513
|
+
constructor(){
|
|
5514
|
+
super();
|
|
5515
|
+
|
|
5516
|
+
/**
|
|
5517
|
+
* 图片的 Base64 值。
|
|
5518
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
5519
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
5520
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
5521
|
+
* @type {string || null}
|
|
5522
|
+
*/
|
|
5523
|
+
this.ImageBase64 = null;
|
|
5524
|
+
|
|
5525
|
+
/**
|
|
5526
|
+
* 图片的 Url 地址。
|
|
5527
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
5528
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
5529
|
+
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
|
5530
|
+
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
5531
|
+
* @type {string || null}
|
|
5532
|
+
*/
|
|
5533
|
+
this.ImageUrl = null;
|
|
5534
|
+
|
|
5535
|
+
}
|
|
5536
|
+
|
|
5537
|
+
/**
|
|
5538
|
+
* @private
|
|
5539
|
+
*/
|
|
5540
|
+
deserialize(params) {
|
|
5541
|
+
if (!params) {
|
|
5542
|
+
return;
|
|
5543
|
+
}
|
|
5544
|
+
this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
|
|
5545
|
+
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
5546
|
+
|
|
5547
|
+
}
|
|
5548
|
+
}
|
|
5549
|
+
|
|
4693
5550
|
/**
|
|
4694
5551
|
* TextDetect请求参数结构体
|
|
4695
5552
|
* @class
|
|
@@ -4803,17 +5660,24 @@ class VatInvoiceVerifyRequest extends AbstractModel {
|
|
|
4803
5660
|
this.InvoiceNo = null;
|
|
4804
5661
|
|
|
4805
5662
|
/**
|
|
4806
|
-
*
|
|
5663
|
+
* 开票日期(不支持当天发票查询,支持五年以内开具的发票),如:2019-12-20。
|
|
4807
5664
|
* @type {string || null}
|
|
4808
5665
|
*/
|
|
4809
5666
|
this.InvoiceDate = null;
|
|
4810
5667
|
|
|
4811
5668
|
/**
|
|
4812
|
-
*
|
|
5669
|
+
* 根据票种传递对应值,如果报参数错误,请仔细检查每个票种对应的值
|
|
5670
|
+
|
|
4813
5671
|
增值税专用发票:开具金额(不含税)
|
|
5672
|
+
|
|
4814
5673
|
增值税普通发票、增值税电子普通发票(含通行费发票)、增值税普通发票(卷票):校验码后6位
|
|
5674
|
+
|
|
5675
|
+
区块链发票:不含税金额/校验码,例如:“285.01/856ab”
|
|
5676
|
+
|
|
4815
5677
|
机动车销售统一发票:不含税价
|
|
5678
|
+
|
|
4816
5679
|
货物运输业增值税专用发票:合计金额
|
|
5680
|
+
|
|
4817
5681
|
二手车销售统一发票:车价合计
|
|
4818
5682
|
* @type {string || null}
|
|
4819
5683
|
*/
|
|
@@ -5103,6 +5967,195 @@ class TableOCRRequest extends AbstractModel {
|
|
|
5103
5967
|
}
|
|
5104
5968
|
}
|
|
5105
5969
|
|
|
5970
|
+
/**
|
|
5971
|
+
* 二手车销售统一发票信息
|
|
5972
|
+
* @class
|
|
5973
|
+
*/
|
|
5974
|
+
class UsedVehicleInvoiceInfo extends AbstractModel {
|
|
5975
|
+
constructor(){
|
|
5976
|
+
super();
|
|
5977
|
+
|
|
5978
|
+
/**
|
|
5979
|
+
* 所属税局
|
|
5980
|
+
* @type {string || null}
|
|
5981
|
+
*/
|
|
5982
|
+
this.TaxBureau = null;
|
|
5983
|
+
|
|
5984
|
+
/**
|
|
5985
|
+
* 买方单位/个人
|
|
5986
|
+
* @type {string || null}
|
|
5987
|
+
*/
|
|
5988
|
+
this.Buyer = null;
|
|
5989
|
+
|
|
5990
|
+
/**
|
|
5991
|
+
* 买方单位代码/身份证号码
|
|
5992
|
+
* @type {string || null}
|
|
5993
|
+
*/
|
|
5994
|
+
this.BuyerNo = null;
|
|
5995
|
+
|
|
5996
|
+
/**
|
|
5997
|
+
* 买方单位/个人地址
|
|
5998
|
+
* @type {string || null}
|
|
5999
|
+
*/
|
|
6000
|
+
this.BuyerAddress = null;
|
|
6001
|
+
|
|
6002
|
+
/**
|
|
6003
|
+
* 买方单位电话
|
|
6004
|
+
* @type {string || null}
|
|
6005
|
+
*/
|
|
6006
|
+
this.BuyerTel = null;
|
|
6007
|
+
|
|
6008
|
+
/**
|
|
6009
|
+
* 卖方单位/个人
|
|
6010
|
+
* @type {string || null}
|
|
6011
|
+
*/
|
|
6012
|
+
this.Seller = null;
|
|
6013
|
+
|
|
6014
|
+
/**
|
|
6015
|
+
* 卖方单位代码/身份证号码
|
|
6016
|
+
* @type {string || null}
|
|
6017
|
+
*/
|
|
6018
|
+
this.SellerNo = null;
|
|
6019
|
+
|
|
6020
|
+
/**
|
|
6021
|
+
* 卖方单位/个人地址
|
|
6022
|
+
* @type {string || null}
|
|
6023
|
+
*/
|
|
6024
|
+
this.SellerAddress = null;
|
|
6025
|
+
|
|
6026
|
+
/**
|
|
6027
|
+
* 卖方单位电话
|
|
6028
|
+
* @type {string || null}
|
|
6029
|
+
*/
|
|
6030
|
+
this.SellerTel = null;
|
|
6031
|
+
|
|
6032
|
+
/**
|
|
6033
|
+
* 车牌照号
|
|
6034
|
+
* @type {string || null}
|
|
6035
|
+
*/
|
|
6036
|
+
this.VehicleLicenseNo = null;
|
|
6037
|
+
|
|
6038
|
+
/**
|
|
6039
|
+
* 登记证号
|
|
6040
|
+
* @type {string || null}
|
|
6041
|
+
*/
|
|
6042
|
+
this.RegisterNo = null;
|
|
6043
|
+
|
|
6044
|
+
/**
|
|
6045
|
+
* 车架号/车辆识别代码
|
|
6046
|
+
* @type {string || null}
|
|
6047
|
+
*/
|
|
6048
|
+
this.VehicleIdentifyNo = null;
|
|
6049
|
+
|
|
6050
|
+
/**
|
|
6051
|
+
* 转入地车辆管理所名称
|
|
6052
|
+
* @type {string || null}
|
|
6053
|
+
*/
|
|
6054
|
+
this.ManagementOffice = null;
|
|
6055
|
+
|
|
6056
|
+
/**
|
|
6057
|
+
* 车价合计
|
|
6058
|
+
* @type {string || null}
|
|
6059
|
+
*/
|
|
6060
|
+
this.VehicleTotalPrice = null;
|
|
6061
|
+
|
|
6062
|
+
/**
|
|
6063
|
+
* 经营、拍卖单位
|
|
6064
|
+
* @type {string || null}
|
|
6065
|
+
*/
|
|
6066
|
+
this.Auctioneer = null;
|
|
6067
|
+
|
|
6068
|
+
/**
|
|
6069
|
+
* 经营、拍卖单位地址
|
|
6070
|
+
* @type {string || null}
|
|
6071
|
+
*/
|
|
6072
|
+
this.AuctioneerAddress = null;
|
|
6073
|
+
|
|
6074
|
+
/**
|
|
6075
|
+
* 经营、拍卖单位纳税人识别号
|
|
6076
|
+
* @type {string || null}
|
|
6077
|
+
*/
|
|
6078
|
+
this.AuctioneerTaxpayerNum = null;
|
|
6079
|
+
|
|
6080
|
+
/**
|
|
6081
|
+
* 经营、拍卖单位开户银行、账号
|
|
6082
|
+
* @type {string || null}
|
|
6083
|
+
*/
|
|
6084
|
+
this.AuctioneerBankAccount = null;
|
|
6085
|
+
|
|
6086
|
+
/**
|
|
6087
|
+
* 经营、拍卖单位电话
|
|
6088
|
+
* @type {string || null}
|
|
6089
|
+
*/
|
|
6090
|
+
this.AuctioneerTel = null;
|
|
6091
|
+
|
|
6092
|
+
/**
|
|
6093
|
+
* 二手车市场
|
|
6094
|
+
* @type {string || null}
|
|
6095
|
+
*/
|
|
6096
|
+
this.Market = null;
|
|
6097
|
+
|
|
6098
|
+
/**
|
|
6099
|
+
* 二手车市场纳税人识别号
|
|
6100
|
+
* @type {string || null}
|
|
6101
|
+
*/
|
|
6102
|
+
this.MarketTaxpayerNum = null;
|
|
6103
|
+
|
|
6104
|
+
/**
|
|
6105
|
+
* 二手车市场地址
|
|
6106
|
+
* @type {string || null}
|
|
6107
|
+
*/
|
|
6108
|
+
this.MarketAddress = null;
|
|
6109
|
+
|
|
6110
|
+
/**
|
|
6111
|
+
* 二手车市场开户银行账号
|
|
6112
|
+
* @type {string || null}
|
|
6113
|
+
*/
|
|
6114
|
+
this.MarketBankAccount = null;
|
|
6115
|
+
|
|
6116
|
+
/**
|
|
6117
|
+
* 二手车市场电话
|
|
6118
|
+
* @type {string || null}
|
|
6119
|
+
*/
|
|
6120
|
+
this.MarketTel = null;
|
|
6121
|
+
|
|
6122
|
+
}
|
|
6123
|
+
|
|
6124
|
+
/**
|
|
6125
|
+
* @private
|
|
6126
|
+
*/
|
|
6127
|
+
deserialize(params) {
|
|
6128
|
+
if (!params) {
|
|
6129
|
+
return;
|
|
6130
|
+
}
|
|
6131
|
+
this.TaxBureau = 'TaxBureau' in params ? params.TaxBureau : null;
|
|
6132
|
+
this.Buyer = 'Buyer' in params ? params.Buyer : null;
|
|
6133
|
+
this.BuyerNo = 'BuyerNo' in params ? params.BuyerNo : null;
|
|
6134
|
+
this.BuyerAddress = 'BuyerAddress' in params ? params.BuyerAddress : null;
|
|
6135
|
+
this.BuyerTel = 'BuyerTel' in params ? params.BuyerTel : null;
|
|
6136
|
+
this.Seller = 'Seller' in params ? params.Seller : null;
|
|
6137
|
+
this.SellerNo = 'SellerNo' in params ? params.SellerNo : null;
|
|
6138
|
+
this.SellerAddress = 'SellerAddress' in params ? params.SellerAddress : null;
|
|
6139
|
+
this.SellerTel = 'SellerTel' in params ? params.SellerTel : null;
|
|
6140
|
+
this.VehicleLicenseNo = 'VehicleLicenseNo' in params ? params.VehicleLicenseNo : null;
|
|
6141
|
+
this.RegisterNo = 'RegisterNo' in params ? params.RegisterNo : null;
|
|
6142
|
+
this.VehicleIdentifyNo = 'VehicleIdentifyNo' in params ? params.VehicleIdentifyNo : null;
|
|
6143
|
+
this.ManagementOffice = 'ManagementOffice' in params ? params.ManagementOffice : null;
|
|
6144
|
+
this.VehicleTotalPrice = 'VehicleTotalPrice' in params ? params.VehicleTotalPrice : null;
|
|
6145
|
+
this.Auctioneer = 'Auctioneer' in params ? params.Auctioneer : null;
|
|
6146
|
+
this.AuctioneerAddress = 'AuctioneerAddress' in params ? params.AuctioneerAddress : null;
|
|
6147
|
+
this.AuctioneerTaxpayerNum = 'AuctioneerTaxpayerNum' in params ? params.AuctioneerTaxpayerNum : null;
|
|
6148
|
+
this.AuctioneerBankAccount = 'AuctioneerBankAccount' in params ? params.AuctioneerBankAccount : null;
|
|
6149
|
+
this.AuctioneerTel = 'AuctioneerTel' in params ? params.AuctioneerTel : null;
|
|
6150
|
+
this.Market = 'Market' in params ? params.Market : null;
|
|
6151
|
+
this.MarketTaxpayerNum = 'MarketTaxpayerNum' in params ? params.MarketTaxpayerNum : null;
|
|
6152
|
+
this.MarketAddress = 'MarketAddress' in params ? params.MarketAddress : null;
|
|
6153
|
+
this.MarketBankAccount = 'MarketBankAccount' in params ? params.MarketBankAccount : null;
|
|
6154
|
+
this.MarketTel = 'MarketTel' in params ? params.MarketTel : null;
|
|
6155
|
+
|
|
6156
|
+
}
|
|
6157
|
+
}
|
|
6158
|
+
|
|
5106
6159
|
/**
|
|
5107
6160
|
* 图片大小
|
|
5108
6161
|
* @class
|
|
@@ -5138,6 +6191,139 @@ class QrcodeImgSize extends AbstractModel {
|
|
|
5138
6191
|
}
|
|
5139
6192
|
}
|
|
5140
6193
|
|
|
6194
|
+
/**
|
|
6195
|
+
* PassportOCR返回参数结构体
|
|
6196
|
+
* @class
|
|
6197
|
+
*/
|
|
6198
|
+
class PassportOCRResponse extends AbstractModel {
|
|
6199
|
+
constructor(){
|
|
6200
|
+
super();
|
|
6201
|
+
|
|
6202
|
+
/**
|
|
6203
|
+
* 国家码
|
|
6204
|
+
* @type {string || null}
|
|
6205
|
+
*/
|
|
6206
|
+
this.Country = null;
|
|
6207
|
+
|
|
6208
|
+
/**
|
|
6209
|
+
* 护照号
|
|
6210
|
+
* @type {string || null}
|
|
6211
|
+
*/
|
|
6212
|
+
this.PassportNo = null;
|
|
6213
|
+
|
|
6214
|
+
/**
|
|
6215
|
+
* 性别
|
|
6216
|
+
* @type {string || null}
|
|
6217
|
+
*/
|
|
6218
|
+
this.Sex = null;
|
|
6219
|
+
|
|
6220
|
+
/**
|
|
6221
|
+
* 国籍
|
|
6222
|
+
* @type {string || null}
|
|
6223
|
+
*/
|
|
6224
|
+
this.Nationality = null;
|
|
6225
|
+
|
|
6226
|
+
/**
|
|
6227
|
+
* 出生日期
|
|
6228
|
+
* @type {string || null}
|
|
6229
|
+
*/
|
|
6230
|
+
this.BirthDate = null;
|
|
6231
|
+
|
|
6232
|
+
/**
|
|
6233
|
+
* 出生地点
|
|
6234
|
+
* @type {string || null}
|
|
6235
|
+
*/
|
|
6236
|
+
this.BirthPlace = null;
|
|
6237
|
+
|
|
6238
|
+
/**
|
|
6239
|
+
* 签发日期
|
|
6240
|
+
* @type {string || null}
|
|
6241
|
+
*/
|
|
6242
|
+
this.IssueDate = null;
|
|
6243
|
+
|
|
6244
|
+
/**
|
|
6245
|
+
* 签发地点
|
|
6246
|
+
* @type {string || null}
|
|
6247
|
+
*/
|
|
6248
|
+
this.IssuePlace = null;
|
|
6249
|
+
|
|
6250
|
+
/**
|
|
6251
|
+
* 有效期
|
|
6252
|
+
* @type {string || null}
|
|
6253
|
+
*/
|
|
6254
|
+
this.ExpiryDate = null;
|
|
6255
|
+
|
|
6256
|
+
/**
|
|
6257
|
+
* 持证人签名
|
|
6258
|
+
* @type {string || null}
|
|
6259
|
+
*/
|
|
6260
|
+
this.Signature = null;
|
|
6261
|
+
|
|
6262
|
+
/**
|
|
6263
|
+
* 最下方第一行 MRZ Code 序列
|
|
6264
|
+
* @type {string || null}
|
|
6265
|
+
*/
|
|
6266
|
+
this.CodeSet = null;
|
|
6267
|
+
|
|
6268
|
+
/**
|
|
6269
|
+
* 最下方第二行 MRZ Code 序列
|
|
6270
|
+
* @type {string || null}
|
|
6271
|
+
*/
|
|
6272
|
+
this.CodeCrc = null;
|
|
6273
|
+
|
|
6274
|
+
/**
|
|
6275
|
+
* 姓名
|
|
6276
|
+
* @type {string || null}
|
|
6277
|
+
*/
|
|
6278
|
+
this.Name = null;
|
|
6279
|
+
|
|
6280
|
+
/**
|
|
6281
|
+
* 姓
|
|
6282
|
+
* @type {string || null}
|
|
6283
|
+
*/
|
|
6284
|
+
this.FamilyName = null;
|
|
6285
|
+
|
|
6286
|
+
/**
|
|
6287
|
+
* 名
|
|
6288
|
+
* @type {string || null}
|
|
6289
|
+
*/
|
|
6290
|
+
this.FirstName = null;
|
|
6291
|
+
|
|
6292
|
+
/**
|
|
6293
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6294
|
+
* @type {string || null}
|
|
6295
|
+
*/
|
|
6296
|
+
this.RequestId = null;
|
|
6297
|
+
|
|
6298
|
+
}
|
|
6299
|
+
|
|
6300
|
+
/**
|
|
6301
|
+
* @private
|
|
6302
|
+
*/
|
|
6303
|
+
deserialize(params) {
|
|
6304
|
+
if (!params) {
|
|
6305
|
+
return;
|
|
6306
|
+
}
|
|
6307
|
+
this.Country = 'Country' in params ? params.Country : null;
|
|
6308
|
+
this.PassportNo = 'PassportNo' in params ? params.PassportNo : null;
|
|
6309
|
+
this.Sex = 'Sex' in params ? params.Sex : null;
|
|
6310
|
+
this.Nationality = 'Nationality' in params ? params.Nationality : null;
|
|
6311
|
+
this.BirthDate = 'BirthDate' in params ? params.BirthDate : null;
|
|
6312
|
+
this.BirthPlace = 'BirthPlace' in params ? params.BirthPlace : null;
|
|
6313
|
+
this.IssueDate = 'IssueDate' in params ? params.IssueDate : null;
|
|
6314
|
+
this.IssuePlace = 'IssuePlace' in params ? params.IssuePlace : null;
|
|
6315
|
+
this.ExpiryDate = 'ExpiryDate' in params ? params.ExpiryDate : null;
|
|
6316
|
+
this.Signature = 'Signature' in params ? params.Signature : null;
|
|
6317
|
+
this.CodeSet = 'CodeSet' in params ? params.CodeSet : null;
|
|
6318
|
+
this.CodeCrc = 'CodeCrc' in params ? params.CodeCrc : null;
|
|
6319
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
6320
|
+
this.FamilyName = 'FamilyName' in params ? params.FamilyName : null;
|
|
6321
|
+
this.FirstName = 'FirstName' in params ? params.FirstName : null;
|
|
6322
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6323
|
+
|
|
6324
|
+
}
|
|
6325
|
+
}
|
|
6326
|
+
|
|
5141
6327
|
/**
|
|
5142
6328
|
* VerifyBasicBizLicense返回参数结构体
|
|
5143
6329
|
* @class
|
|
@@ -5340,37 +6526,48 @@ class VehicleRegCertOCRRequest extends AbstractModel {
|
|
|
5340
6526
|
}
|
|
5341
6527
|
|
|
5342
6528
|
/**
|
|
5343
|
-
*
|
|
6529
|
+
* RecognizeTravelCardOCR返回参数结构体
|
|
5344
6530
|
* @class
|
|
5345
6531
|
*/
|
|
5346
|
-
class
|
|
6532
|
+
class RecognizeTravelCardOCRResponse extends AbstractModel {
|
|
5347
6533
|
constructor(){
|
|
5348
6534
|
super();
|
|
5349
6535
|
|
|
5350
6536
|
/**
|
|
5351
|
-
*
|
|
5352
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
5353
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
5354
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
6537
|
+
* 行程卡更新时间,格式为:XXXX.XX.XX XX:XX:XX
|
|
5355
6538
|
* @type {string || null}
|
|
5356
6539
|
*/
|
|
5357
|
-
this.
|
|
6540
|
+
this.Time = null;
|
|
5358
6541
|
|
|
5359
6542
|
/**
|
|
5360
|
-
*
|
|
5361
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
5362
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
5363
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
|
5364
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
6543
|
+
* 行程卡颜色:绿色、黄色、红色
|
|
5365
6544
|
* @type {string || null}
|
|
5366
6545
|
*/
|
|
5367
|
-
this.
|
|
6546
|
+
this.Color = null;
|
|
5368
6547
|
|
|
5369
6548
|
/**
|
|
5370
|
-
*
|
|
5371
|
-
* @type {
|
|
6549
|
+
* 14天内到达或途经的城市
|
|
6550
|
+
* @type {Array.<string> || null}
|
|
5372
6551
|
*/
|
|
5373
|
-
this.
|
|
6552
|
+
this.ReachedCity = null;
|
|
6553
|
+
|
|
6554
|
+
/**
|
|
6555
|
+
* 14天内到达或途径存在中高风险地区的城市
|
|
6556
|
+
* @type {Array.<string> || null}
|
|
6557
|
+
*/
|
|
6558
|
+
this.RiskArea = null;
|
|
6559
|
+
|
|
6560
|
+
/**
|
|
6561
|
+
* 电话号码
|
|
6562
|
+
* @type {string || null}
|
|
6563
|
+
*/
|
|
6564
|
+
this.Telephone = null;
|
|
6565
|
+
|
|
6566
|
+
/**
|
|
6567
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6568
|
+
* @type {string || null}
|
|
6569
|
+
*/
|
|
6570
|
+
this.RequestId = null;
|
|
5374
6571
|
|
|
5375
6572
|
}
|
|
5376
6573
|
|
|
@@ -5381,9 +6578,12 @@ class WaybillOCRRequest extends AbstractModel {
|
|
|
5381
6578
|
if (!params) {
|
|
5382
6579
|
return;
|
|
5383
6580
|
}
|
|
5384
|
-
this.
|
|
5385
|
-
this.
|
|
5386
|
-
this.
|
|
6581
|
+
this.Time = 'Time' in params ? params.Time : null;
|
|
6582
|
+
this.Color = 'Color' in params ? params.Color : null;
|
|
6583
|
+
this.ReachedCity = 'ReachedCity' in params ? params.ReachedCity : null;
|
|
6584
|
+
this.RiskArea = 'RiskArea' in params ? params.RiskArea : null;
|
|
6585
|
+
this.Telephone = 'Telephone' in params ? params.Telephone : null;
|
|
6586
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5387
6587
|
|
|
5388
6588
|
}
|
|
5389
6589
|
}
|
|
@@ -5609,18 +6809,29 @@ class GeneralBasicOCRRequest extends AbstractModel {
|
|
|
5609
6809
|
* 识别语言类型。
|
|
5610
6810
|
支持自动识别语言类型,同时支持自选语言种类,默认中英文混合(zh),各种语言均支持与英文混合的文字识别。
|
|
5611
6811
|
可选值:
|
|
5612
|
-
zh
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
6812
|
+
zh:中英混合
|
|
6813
|
+
zh_rare:支持英文、数字、中文生僻字、繁体字,特殊符号等
|
|
6814
|
+
auto:自动
|
|
6815
|
+
mix:混合语种
|
|
6816
|
+
jap:日语
|
|
6817
|
+
kor:韩语
|
|
6818
|
+
spa:西班牙语
|
|
6819
|
+
fre:法语
|
|
6820
|
+
ger:德语
|
|
6821
|
+
por:葡萄牙语
|
|
6822
|
+
vie:越语
|
|
6823
|
+
may:马来语
|
|
6824
|
+
rus:俄语
|
|
6825
|
+
ita:意大利语
|
|
6826
|
+
hol:荷兰语
|
|
6827
|
+
swe:瑞典语
|
|
6828
|
+
fin:芬兰语
|
|
6829
|
+
dan:丹麦语
|
|
6830
|
+
nor:挪威语
|
|
6831
|
+
hun:匈牙利语
|
|
6832
|
+
tha:泰语
|
|
6833
|
+
hi:印地语
|
|
6834
|
+
ara:阿拉伯语
|
|
5624
6835
|
* @type {string || null}
|
|
5625
6836
|
*/
|
|
5626
6837
|
this.LanguageType = null;
|
|
@@ -5637,6 +6848,12 @@ nor\hun\tha\lat\ara
|
|
|
5637
6848
|
*/
|
|
5638
6849
|
this.PdfPageNumber = null;
|
|
5639
6850
|
|
|
6851
|
+
/**
|
|
6852
|
+
* 是否返回单字信息,默认关
|
|
6853
|
+
* @type {boolean || null}
|
|
6854
|
+
*/
|
|
6855
|
+
this.IsWords = null;
|
|
6856
|
+
|
|
5640
6857
|
}
|
|
5641
6858
|
|
|
5642
6859
|
/**
|
|
@@ -5652,6 +6869,7 @@ nor\hun\tha\lat\ara
|
|
|
5652
6869
|
this.LanguageType = 'LanguageType' in params ? params.LanguageType : null;
|
|
5653
6870
|
this.IsPdf = 'IsPdf' in params ? params.IsPdf : null;
|
|
5654
6871
|
this.PdfPageNumber = 'PdfPageNumber' in params ? params.PdfPageNumber : null;
|
|
6872
|
+
this.IsWords = 'IsWords' in params ? params.IsWords : null;
|
|
5655
6873
|
|
|
5656
6874
|
}
|
|
5657
6875
|
}
|
|
@@ -5974,6 +7192,12 @@ class EnglishOCRRequest extends AbstractModel {
|
|
|
5974
7192
|
*/
|
|
5975
7193
|
this.EnableCandWord = null;
|
|
5976
7194
|
|
|
7195
|
+
/**
|
|
7196
|
+
* 预处理开关,功能是检测图片倾斜的角度,将原本倾斜的图片矫正。该参数默认值为true。
|
|
7197
|
+
* @type {boolean || null}
|
|
7198
|
+
*/
|
|
7199
|
+
this.Preprocess = null;
|
|
7200
|
+
|
|
5977
7201
|
}
|
|
5978
7202
|
|
|
5979
7203
|
/**
|
|
@@ -5987,6 +7211,7 @@ class EnglishOCRRequest extends AbstractModel {
|
|
|
5987
7211
|
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
5988
7212
|
this.EnableCoordPoint = 'EnableCoordPoint' in params ? params.EnableCoordPoint : null;
|
|
5989
7213
|
this.EnableCandWord = 'EnableCandWord' in params ? params.EnableCandWord : null;
|
|
7214
|
+
this.Preprocess = 'Preprocess' in params ? params.Preprocess : null;
|
|
5990
7215
|
|
|
5991
7216
|
}
|
|
5992
7217
|
}
|
|
@@ -6003,7 +7228,19 @@ class VatInvoiceVerifyResponse extends AbstractModel {
|
|
|
6003
7228
|
* 增值税发票信息,详情请点击左侧链接。
|
|
6004
7229
|
* @type {VatInvoice || null}
|
|
6005
7230
|
*/
|
|
6006
|
-
this.Invoice = null;
|
|
7231
|
+
this.Invoice = null;
|
|
7232
|
+
|
|
7233
|
+
/**
|
|
7234
|
+
* 机动车销售统一发票信息
|
|
7235
|
+
* @type {VehicleInvoiceInfo || null}
|
|
7236
|
+
*/
|
|
7237
|
+
this.VehicleInvoiceInfo = null;
|
|
7238
|
+
|
|
7239
|
+
/**
|
|
7240
|
+
* 二手车销售统一发票信息
|
|
7241
|
+
* @type {UsedVehicleInvoiceInfo || null}
|
|
7242
|
+
*/
|
|
7243
|
+
this.UsedVehicleInvoiceInfo = null;
|
|
6007
7244
|
|
|
6008
7245
|
/**
|
|
6009
7246
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -6026,114 +7263,93 @@ class VatInvoiceVerifyResponse extends AbstractModel {
|
|
|
6026
7263
|
obj.deserialize(params.Invoice)
|
|
6027
7264
|
this.Invoice = obj;
|
|
6028
7265
|
}
|
|
7266
|
+
|
|
7267
|
+
if (params.VehicleInvoiceInfo) {
|
|
7268
|
+
let obj = new VehicleInvoiceInfo();
|
|
7269
|
+
obj.deserialize(params.VehicleInvoiceInfo)
|
|
7270
|
+
this.VehicleInvoiceInfo = obj;
|
|
7271
|
+
}
|
|
7272
|
+
|
|
7273
|
+
if (params.UsedVehicleInvoiceInfo) {
|
|
7274
|
+
let obj = new UsedVehicleInvoiceInfo();
|
|
7275
|
+
obj.deserialize(params.UsedVehicleInvoiceInfo)
|
|
7276
|
+
this.UsedVehicleInvoiceInfo = obj;
|
|
7277
|
+
}
|
|
6029
7278
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6030
7279
|
|
|
6031
7280
|
}
|
|
6032
7281
|
}
|
|
6033
7282
|
|
|
6034
7283
|
/**
|
|
6035
|
-
*
|
|
7284
|
+
* SmartStructuralOCR返回参数结构体
|
|
6036
7285
|
* @class
|
|
6037
7286
|
*/
|
|
6038
|
-
class
|
|
7287
|
+
class SmartStructuralOCRResponse extends AbstractModel {
|
|
6039
7288
|
constructor(){
|
|
6040
7289
|
super();
|
|
6041
7290
|
|
|
6042
7291
|
/**
|
|
6043
|
-
*
|
|
6044
|
-
|
|
6045
|
-
|
|
6046
|
-
this.Country = null;
|
|
6047
|
-
|
|
6048
|
-
/**
|
|
6049
|
-
* 护照号
|
|
6050
|
-
* @type {string || null}
|
|
6051
|
-
*/
|
|
6052
|
-
this.PassportNo = null;
|
|
6053
|
-
|
|
6054
|
-
/**
|
|
6055
|
-
* 性别
|
|
6056
|
-
* @type {string || null}
|
|
6057
|
-
*/
|
|
6058
|
-
this.Sex = null;
|
|
6059
|
-
|
|
6060
|
-
/**
|
|
6061
|
-
* 国籍
|
|
6062
|
-
* @type {string || null}
|
|
6063
|
-
*/
|
|
6064
|
-
this.Nationality = null;
|
|
6065
|
-
|
|
6066
|
-
/**
|
|
6067
|
-
* 出生日期
|
|
6068
|
-
* @type {string || null}
|
|
6069
|
-
*/
|
|
6070
|
-
this.BirthDate = null;
|
|
6071
|
-
|
|
6072
|
-
/**
|
|
6073
|
-
* 出生地点
|
|
6074
|
-
* @type {string || null}
|
|
6075
|
-
*/
|
|
6076
|
-
this.BirthPlace = null;
|
|
6077
|
-
|
|
6078
|
-
/**
|
|
6079
|
-
* 签发日期
|
|
6080
|
-
* @type {string || null}
|
|
7292
|
+
* 图片旋转角度(角度制),文本的水平方向
|
|
7293
|
+
为 0;顺时针为正,逆时针为负
|
|
7294
|
+
* @type {number || null}
|
|
6081
7295
|
*/
|
|
6082
|
-
this.
|
|
7296
|
+
this.Angle = null;
|
|
6083
7297
|
|
|
6084
7298
|
/**
|
|
6085
|
-
*
|
|
6086
|
-
* @type {
|
|
7299
|
+
* 识别信息
|
|
7300
|
+
* @type {Array.<StructuralItem> || null}
|
|
6087
7301
|
*/
|
|
6088
|
-
this.
|
|
7302
|
+
this.StructuralItems = null;
|
|
6089
7303
|
|
|
6090
7304
|
/**
|
|
6091
|
-
*
|
|
7305
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6092
7306
|
* @type {string || null}
|
|
6093
7307
|
*/
|
|
6094
|
-
this.
|
|
7308
|
+
this.RequestId = null;
|
|
6095
7309
|
|
|
6096
|
-
|
|
6097
|
-
* 持证人签名
|
|
6098
|
-
* @type {string || null}
|
|
6099
|
-
*/
|
|
6100
|
-
this.Signature = null;
|
|
7310
|
+
}
|
|
6101
7311
|
|
|
6102
|
-
|
|
6103
|
-
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
|
|
7312
|
+
/**
|
|
7313
|
+
* @private
|
|
7314
|
+
*/
|
|
7315
|
+
deserialize(params) {
|
|
7316
|
+
if (!params) {
|
|
7317
|
+
return;
|
|
7318
|
+
}
|
|
7319
|
+
this.Angle = 'Angle' in params ? params.Angle : null;
|
|
6107
7320
|
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
|
|
7321
|
+
if (params.StructuralItems) {
|
|
7322
|
+
this.StructuralItems = new Array();
|
|
7323
|
+
for (let z in params.StructuralItems) {
|
|
7324
|
+
let obj = new StructuralItem();
|
|
7325
|
+
obj.deserialize(params.StructuralItems[z]);
|
|
7326
|
+
this.StructuralItems.push(obj);
|
|
7327
|
+
}
|
|
7328
|
+
}
|
|
7329
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6113
7330
|
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
* @type {string || null}
|
|
6117
|
-
*/
|
|
6118
|
-
this.Name = null;
|
|
7331
|
+
}
|
|
7332
|
+
}
|
|
6119
7333
|
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6123
|
-
|
|
6124
|
-
|
|
7334
|
+
/**
|
|
7335
|
+
* 识别出来的单字信息包括单字(包括单字Character和单字置信度confidence)
|
|
7336
|
+
* @class
|
|
7337
|
+
*/
|
|
7338
|
+
class DetectedWords extends AbstractModel {
|
|
7339
|
+
constructor(){
|
|
7340
|
+
super();
|
|
6125
7341
|
|
|
6126
7342
|
/**
|
|
6127
|
-
*
|
|
6128
|
-
* @type {
|
|
7343
|
+
* 置信度 0 ~100
|
|
7344
|
+
* @type {number || null}
|
|
6129
7345
|
*/
|
|
6130
|
-
this.
|
|
7346
|
+
this.Confidence = null;
|
|
6131
7347
|
|
|
6132
7348
|
/**
|
|
6133
|
-
*
|
|
7349
|
+
* 候选字Character
|
|
6134
7350
|
* @type {string || null}
|
|
6135
7351
|
*/
|
|
6136
|
-
this.
|
|
7352
|
+
this.Character = null;
|
|
6137
7353
|
|
|
6138
7354
|
}
|
|
6139
7355
|
|
|
@@ -6144,22 +7360,8 @@ class PassportOCRResponse extends AbstractModel {
|
|
|
6144
7360
|
if (!params) {
|
|
6145
7361
|
return;
|
|
6146
7362
|
}
|
|
6147
|
-
this.
|
|
6148
|
-
this.
|
|
6149
|
-
this.Sex = 'Sex' in params ? params.Sex : null;
|
|
6150
|
-
this.Nationality = 'Nationality' in params ? params.Nationality : null;
|
|
6151
|
-
this.BirthDate = 'BirthDate' in params ? params.BirthDate : null;
|
|
6152
|
-
this.BirthPlace = 'BirthPlace' in params ? params.BirthPlace : null;
|
|
6153
|
-
this.IssueDate = 'IssueDate' in params ? params.IssueDate : null;
|
|
6154
|
-
this.IssuePlace = 'IssuePlace' in params ? params.IssuePlace : null;
|
|
6155
|
-
this.ExpiryDate = 'ExpiryDate' in params ? params.ExpiryDate : null;
|
|
6156
|
-
this.Signature = 'Signature' in params ? params.Signature : null;
|
|
6157
|
-
this.CodeSet = 'CodeSet' in params ? params.CodeSet : null;
|
|
6158
|
-
this.CodeCrc = 'CodeCrc' in params ? params.CodeCrc : null;
|
|
6159
|
-
this.Name = 'Name' in params ? params.Name : null;
|
|
6160
|
-
this.FamilyName = 'FamilyName' in params ? params.FamilyName : null;
|
|
6161
|
-
this.FirstName = 'FirstName' in params ? params.FirstName : null;
|
|
6162
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
7363
|
+
this.Confidence = 'Confidence' in params ? params.Confidence : null;
|
|
7364
|
+
this.Character = 'Character' in params ? params.Character : null;
|
|
6163
7365
|
|
|
6164
7366
|
}
|
|
6165
7367
|
}
|
|
@@ -6213,6 +7415,54 @@ class VerifyEnterpriseFourFactorsRequest extends AbstractModel {
|
|
|
6213
7415
|
}
|
|
6214
7416
|
}
|
|
6215
7417
|
|
|
7418
|
+
/**
|
|
7419
|
+
* 轮船票字段信息
|
|
7420
|
+
* @class
|
|
7421
|
+
*/
|
|
7422
|
+
class ShipInvoiceInfo extends AbstractModel {
|
|
7423
|
+
constructor(){
|
|
7424
|
+
super();
|
|
7425
|
+
|
|
7426
|
+
/**
|
|
7427
|
+
* 识别出的字段名称(关键字),支持以下字段:
|
|
7428
|
+
发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种。
|
|
7429
|
+
* @type {string || null}
|
|
7430
|
+
*/
|
|
7431
|
+
this.Name = null;
|
|
7432
|
+
|
|
7433
|
+
/**
|
|
7434
|
+
* 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
|
|
7435
|
+
* @type {string || null}
|
|
7436
|
+
*/
|
|
7437
|
+
this.Value = null;
|
|
7438
|
+
|
|
7439
|
+
/**
|
|
7440
|
+
* 文本行在旋转纠正之后的图像中的像素坐标。
|
|
7441
|
+
* @type {Rect || null}
|
|
7442
|
+
*/
|
|
7443
|
+
this.Rect = null;
|
|
7444
|
+
|
|
7445
|
+
}
|
|
7446
|
+
|
|
7447
|
+
/**
|
|
7448
|
+
* @private
|
|
7449
|
+
*/
|
|
7450
|
+
deserialize(params) {
|
|
7451
|
+
if (!params) {
|
|
7452
|
+
return;
|
|
7453
|
+
}
|
|
7454
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
7455
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
7456
|
+
|
|
7457
|
+
if (params.Rect) {
|
|
7458
|
+
let obj = new Rect();
|
|
7459
|
+
obj.deserialize(params.Rect)
|
|
7460
|
+
this.Rect = obj;
|
|
7461
|
+
}
|
|
7462
|
+
|
|
7463
|
+
}
|
|
7464
|
+
}
|
|
7465
|
+
|
|
6216
7466
|
/**
|
|
6217
7467
|
* GeneralAccurateOCR请求参数结构体
|
|
6218
7468
|
* @class
|
|
@@ -6237,6 +7487,30 @@ class GeneralAccurateOCRRequest extends AbstractModel {
|
|
|
6237
7487
|
*/
|
|
6238
7488
|
this.ImageUrl = null;
|
|
6239
7489
|
|
|
7490
|
+
/**
|
|
7491
|
+
* 是否返回单字信息,默认关
|
|
7492
|
+
* @type {boolean || null}
|
|
7493
|
+
*/
|
|
7494
|
+
this.IsWords = null;
|
|
7495
|
+
|
|
7496
|
+
/**
|
|
7497
|
+
* 是否开启原图切图检测功能,开启后可提升“整图面积大,但单字符占比面积小”(例如:试卷)场景下的识别效果,默认关
|
|
7498
|
+
* @type {boolean || null}
|
|
7499
|
+
*/
|
|
7500
|
+
this.EnableDetectSplit = null;
|
|
7501
|
+
|
|
7502
|
+
/**
|
|
7503
|
+
* 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
|
|
7504
|
+
* @type {boolean || null}
|
|
7505
|
+
*/
|
|
7506
|
+
this.IsPdf = null;
|
|
7507
|
+
|
|
7508
|
+
/**
|
|
7509
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
7510
|
+
* @type {number || null}
|
|
7511
|
+
*/
|
|
7512
|
+
this.PdfPageNumber = null;
|
|
7513
|
+
|
|
6240
7514
|
}
|
|
6241
7515
|
|
|
6242
7516
|
/**
|
|
@@ -6248,6 +7522,10 @@ class GeneralAccurateOCRRequest extends AbstractModel {
|
|
|
6248
7522
|
}
|
|
6249
7523
|
this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
|
|
6250
7524
|
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
7525
|
+
this.IsWords = 'IsWords' in params ? params.IsWords : null;
|
|
7526
|
+
this.EnableDetectSplit = 'EnableDetectSplit' in params ? params.EnableDetectSplit : null;
|
|
7527
|
+
this.IsPdf = 'IsPdf' in params ? params.IsPdf : null;
|
|
7528
|
+
this.PdfPageNumber = 'PdfPageNumber' in params ? params.PdfPageNumber : null;
|
|
6251
7529
|
|
|
6252
7530
|
}
|
|
6253
7531
|
}
|
|
@@ -6389,7 +7667,7 @@ class CarInvoiceInfo extends AbstractModel {
|
|
|
6389
7667
|
|
|
6390
7668
|
/**
|
|
6391
7669
|
* 识别出的字段名称(关键字),支持以下字段:
|
|
6392
|
-
发票代码、 机打代码、 发票号码、 发动机号码、 合格证号、 机打号码、 价税合计(小写)、 销货单位名称、 身份证号码/组织机构代码、 购买方名称、 销售方纳税人识别号、 购买方纳税人识别号、主管税务机关、 主管税务机关代码、 开票日期、 不含税价(小写)、 吨位、增值税税率或征收率、 车辆识别代号/车架号码、 增值税税额、 厂牌型号、 省、 市、 发票消费类型、 销售方电话、 销售方账号、 产地、 进口证明书号、 车辆类型、
|
|
7670
|
+
发票代码、 机打代码、 发票号码、 发动机号码、 合格证号、 机打号码、 价税合计(小写)、 销货单位名称、 身份证号码/组织机构代码、 购买方名称、 销售方纳税人识别号、 购买方纳税人识别号、主管税务机关、 主管税务机关代码、 开票日期、 不含税价(小写)、 吨位、增值税税率或征收率、 车辆识别代号/车架号码、 增值税税额、 厂牌型号、 省、 市、 发票消费类型、 销售方电话、 销售方账号、 产地、 进口证明书号、 车辆类型、 机器编号、备注、开票人、限乘人数、商检单号、销售方地址、销售方开户银行、价税合计、发票类型。
|
|
6393
7671
|
* @type {string || null}
|
|
6394
7672
|
*/
|
|
6395
7673
|
this.Name = null;
|
|
@@ -6978,6 +8256,18 @@ class MLIDPassportOCRResponse extends AbstractModel {
|
|
|
6978
8256
|
*/
|
|
6979
8257
|
this.AdvancedInfo = null;
|
|
6980
8258
|
|
|
8259
|
+
/**
|
|
8260
|
+
* 最下方第一行 MRZ Code 序列
|
|
8261
|
+
* @type {string || null}
|
|
8262
|
+
*/
|
|
8263
|
+
this.CodeSet = null;
|
|
8264
|
+
|
|
8265
|
+
/**
|
|
8266
|
+
* 最下方第二行 MRZ Code 序列
|
|
8267
|
+
* @type {string || null}
|
|
8268
|
+
*/
|
|
8269
|
+
this.CodeCrc = null;
|
|
8270
|
+
|
|
6981
8271
|
/**
|
|
6982
8272
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6983
8273
|
* @type {string || null}
|
|
@@ -7003,6 +8293,8 @@ class MLIDPassportOCRResponse extends AbstractModel {
|
|
|
7003
8293
|
this.Warn = 'Warn' in params ? params.Warn : null;
|
|
7004
8294
|
this.Image = 'Image' in params ? params.Image : null;
|
|
7005
8295
|
this.AdvancedInfo = 'AdvancedInfo' in params ? params.AdvancedInfo : null;
|
|
8296
|
+
this.CodeSet = 'CodeSet' in params ? params.CodeSet : null;
|
|
8297
|
+
this.CodeCrc = 'CodeCrc' in params ? params.CodeCrc : null;
|
|
7006
8298
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
7007
8299
|
|
|
7008
8300
|
}
|
|
@@ -7260,10 +8552,10 @@ class FinanBillOCRResponse extends AbstractModel {
|
|
|
7260
8552
|
}
|
|
7261
8553
|
|
|
7262
8554
|
/**
|
|
7263
|
-
*
|
|
8555
|
+
* RecognizeHealthCodeOCR请求参数结构体
|
|
7264
8556
|
* @class
|
|
7265
8557
|
*/
|
|
7266
|
-
class
|
|
8558
|
+
class RecognizeHealthCodeOCRRequest extends AbstractModel {
|
|
7267
8559
|
constructor(){
|
|
7268
8560
|
super();
|
|
7269
8561
|
|
|
@@ -7286,6 +8578,13 @@ class ShipInvoiceOCRRequest extends AbstractModel {
|
|
|
7286
8578
|
*/
|
|
7287
8579
|
this.ImageUrl = null;
|
|
7288
8580
|
|
|
8581
|
+
/**
|
|
8582
|
+
* 需要识别的健康码类型列表,为空或不填表示默认为自动识别。
|
|
8583
|
+
0:自动识别
|
|
8584
|
+
* @type {number || null}
|
|
8585
|
+
*/
|
|
8586
|
+
this.Type = null;
|
|
8587
|
+
|
|
7289
8588
|
}
|
|
7290
8589
|
|
|
7291
8590
|
/**
|
|
@@ -7297,59 +8596,98 @@ class ShipInvoiceOCRRequest extends AbstractModel {
|
|
|
7297
8596
|
}
|
|
7298
8597
|
this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
|
|
7299
8598
|
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
8599
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
8600
|
+
|
|
8601
|
+
}
|
|
8602
|
+
}
|
|
8603
|
+
|
|
8604
|
+
/**
|
|
8605
|
+
* BankSlipOCR返回参数结构体
|
|
8606
|
+
* @class
|
|
8607
|
+
*/
|
|
8608
|
+
class BankSlipOCRResponse extends AbstractModel {
|
|
8609
|
+
constructor(){
|
|
8610
|
+
super();
|
|
8611
|
+
|
|
8612
|
+
/**
|
|
8613
|
+
* 银行回单识别结果,具体内容请点击左侧链接。
|
|
8614
|
+
* @type {Array.<BankSlipInfo> || null}
|
|
8615
|
+
*/
|
|
8616
|
+
this.BankSlipInfos = null;
|
|
8617
|
+
|
|
8618
|
+
/**
|
|
8619
|
+
* 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
|
|
8620
|
+
* @type {number || null}
|
|
8621
|
+
*/
|
|
8622
|
+
this.Angle = null;
|
|
8623
|
+
|
|
8624
|
+
/**
|
|
8625
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8626
|
+
* @type {string || null}
|
|
8627
|
+
*/
|
|
8628
|
+
this.RequestId = null;
|
|
8629
|
+
|
|
8630
|
+
}
|
|
8631
|
+
|
|
8632
|
+
/**
|
|
8633
|
+
* @private
|
|
8634
|
+
*/
|
|
8635
|
+
deserialize(params) {
|
|
8636
|
+
if (!params) {
|
|
8637
|
+
return;
|
|
8638
|
+
}
|
|
8639
|
+
|
|
8640
|
+
if (params.BankSlipInfos) {
|
|
8641
|
+
this.BankSlipInfos = new Array();
|
|
8642
|
+
for (let z in params.BankSlipInfos) {
|
|
8643
|
+
let obj = new BankSlipInfo();
|
|
8644
|
+
obj.deserialize(params.BankSlipInfos[z]);
|
|
8645
|
+
this.BankSlipInfos.push(obj);
|
|
8646
|
+
}
|
|
8647
|
+
}
|
|
8648
|
+
this.Angle = 'Angle' in params ? params.Angle : null;
|
|
8649
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
7300
8650
|
|
|
7301
8651
|
}
|
|
7302
8652
|
}
|
|
7303
8653
|
|
|
7304
8654
|
/**
|
|
7305
|
-
*
|
|
8655
|
+
* 通行费发票信息
|
|
7306
8656
|
* @class
|
|
7307
8657
|
*/
|
|
7308
|
-
class
|
|
8658
|
+
class PassInvoiceInfo extends AbstractModel {
|
|
7309
8659
|
constructor(){
|
|
7310
8660
|
super();
|
|
7311
8661
|
|
|
7312
8662
|
/**
|
|
7313
|
-
*
|
|
7314
|
-
* @type {
|
|
7315
|
-
*/
|
|
7316
|
-
this.RecName = null;
|
|
7317
|
-
|
|
7318
|
-
/**
|
|
7319
|
-
* 收件人手机号
|
|
7320
|
-
* @type {WaybillObj || null}
|
|
7321
|
-
*/
|
|
7322
|
-
this.RecNum = null;
|
|
7323
|
-
|
|
7324
|
-
/**
|
|
7325
|
-
* 收件人地址
|
|
7326
|
-
* @type {WaybillObj || null}
|
|
8663
|
+
* 通行费车牌号
|
|
8664
|
+
* @type {string || null}
|
|
7327
8665
|
*/
|
|
7328
|
-
this.
|
|
8666
|
+
this.NumberPlate = null;
|
|
7329
8667
|
|
|
7330
8668
|
/**
|
|
7331
|
-
*
|
|
7332
|
-
* @type {
|
|
8669
|
+
* 通行费类型
|
|
8670
|
+
* @type {string || null}
|
|
7333
8671
|
*/
|
|
7334
|
-
this.
|
|
8672
|
+
this.Type = null;
|
|
7335
8673
|
|
|
7336
8674
|
/**
|
|
7337
|
-
*
|
|
7338
|
-
* @type {
|
|
8675
|
+
* 通行日期起
|
|
8676
|
+
* @type {string || null}
|
|
7339
8677
|
*/
|
|
7340
|
-
this.
|
|
8678
|
+
this.PassDateBegin = null;
|
|
7341
8679
|
|
|
7342
8680
|
/**
|
|
7343
|
-
*
|
|
7344
|
-
* @type {
|
|
8681
|
+
* 通行日期止
|
|
8682
|
+
* @type {string || null}
|
|
7345
8683
|
*/
|
|
7346
|
-
this.
|
|
8684
|
+
this.PassDateEnd = null;
|
|
7347
8685
|
|
|
7348
8686
|
/**
|
|
7349
|
-
*
|
|
7350
|
-
* @type {
|
|
8687
|
+
* 税收分类编码
|
|
8688
|
+
* @type {string || null}
|
|
7351
8689
|
*/
|
|
7352
|
-
this.
|
|
8690
|
+
this.TaxClassifyCode = null;
|
|
7353
8691
|
|
|
7354
8692
|
}
|
|
7355
8693
|
|
|
@@ -7360,48 +8698,11 @@ class TextWaybill extends AbstractModel {
|
|
|
7360
8698
|
if (!params) {
|
|
7361
8699
|
return;
|
|
7362
8700
|
}
|
|
7363
|
-
|
|
7364
|
-
|
|
7365
|
-
|
|
7366
|
-
|
|
7367
|
-
|
|
7368
|
-
}
|
|
7369
|
-
|
|
7370
|
-
if (params.RecNum) {
|
|
7371
|
-
let obj = new WaybillObj();
|
|
7372
|
-
obj.deserialize(params.RecNum)
|
|
7373
|
-
this.RecNum = obj;
|
|
7374
|
-
}
|
|
7375
|
-
|
|
7376
|
-
if (params.RecAddr) {
|
|
7377
|
-
let obj = new WaybillObj();
|
|
7378
|
-
obj.deserialize(params.RecAddr)
|
|
7379
|
-
this.RecAddr = obj;
|
|
7380
|
-
}
|
|
7381
|
-
|
|
7382
|
-
if (params.SenderName) {
|
|
7383
|
-
let obj = new WaybillObj();
|
|
7384
|
-
obj.deserialize(params.SenderName)
|
|
7385
|
-
this.SenderName = obj;
|
|
7386
|
-
}
|
|
7387
|
-
|
|
7388
|
-
if (params.SenderNum) {
|
|
7389
|
-
let obj = new WaybillObj();
|
|
7390
|
-
obj.deserialize(params.SenderNum)
|
|
7391
|
-
this.SenderNum = obj;
|
|
7392
|
-
}
|
|
7393
|
-
|
|
7394
|
-
if (params.SenderAddr) {
|
|
7395
|
-
let obj = new WaybillObj();
|
|
7396
|
-
obj.deserialize(params.SenderAddr)
|
|
7397
|
-
this.SenderAddr = obj;
|
|
7398
|
-
}
|
|
7399
|
-
|
|
7400
|
-
if (params.WaybillNum) {
|
|
7401
|
-
let obj = new WaybillObj();
|
|
7402
|
-
obj.deserialize(params.WaybillNum)
|
|
7403
|
-
this.WaybillNum = obj;
|
|
7404
|
-
}
|
|
8701
|
+
this.NumberPlate = 'NumberPlate' in params ? params.NumberPlate : null;
|
|
8702
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
8703
|
+
this.PassDateBegin = 'PassDateBegin' in params ? params.PassDateBegin : null;
|
|
8704
|
+
this.PassDateEnd = 'PassDateEnd' in params ? params.PassDateEnd : null;
|
|
8705
|
+
this.TaxClassifyCode = 'TaxClassifyCode' in params ? params.TaxClassifyCode : null;
|
|
7405
8706
|
|
|
7406
8707
|
}
|
|
7407
8708
|
}
|
|
@@ -7699,6 +9000,83 @@ class DutyPaidProofOCRRequest extends AbstractModel {
|
|
|
7699
9000
|
}
|
|
7700
9001
|
}
|
|
7701
9002
|
|
|
9003
|
+
/**
|
|
9004
|
+
* RecognizeHealthCodeOCR返回参数结构体
|
|
9005
|
+
* @class
|
|
9006
|
+
*/
|
|
9007
|
+
class RecognizeHealthCodeOCRResponse extends AbstractModel {
|
|
9008
|
+
constructor(){
|
|
9009
|
+
super();
|
|
9010
|
+
|
|
9011
|
+
/**
|
|
9012
|
+
* 持码人姓名,如:王*(允许返回空值)
|
|
9013
|
+
* @type {string || null}
|
|
9014
|
+
*/
|
|
9015
|
+
this.Name = null;
|
|
9016
|
+
|
|
9017
|
+
/**
|
|
9018
|
+
* 持码人身份证号,如:11**************01(允许返回空值)
|
|
9019
|
+
* @type {string || null}
|
|
9020
|
+
*/
|
|
9021
|
+
this.IDNumber = null;
|
|
9022
|
+
|
|
9023
|
+
/**
|
|
9024
|
+
* 健康码更新时间(允许返回空值)
|
|
9025
|
+
* @type {string || null}
|
|
9026
|
+
*/
|
|
9027
|
+
this.Time = null;
|
|
9028
|
+
|
|
9029
|
+
/**
|
|
9030
|
+
* 健康码颜色:绿色、黄色、红色(允许返回空值)
|
|
9031
|
+
* @type {string || null}
|
|
9032
|
+
*/
|
|
9033
|
+
this.Color = null;
|
|
9034
|
+
|
|
9035
|
+
/**
|
|
9036
|
+
* 核酸检测间隔时长(允许返回空值)
|
|
9037
|
+
* @type {string || null}
|
|
9038
|
+
*/
|
|
9039
|
+
this.TestingInterval = null;
|
|
9040
|
+
|
|
9041
|
+
/**
|
|
9042
|
+
* 核酸检测结果:阴性、阳性、暂无核酸检测记录(允许返回空值)
|
|
9043
|
+
* @type {string || null}
|
|
9044
|
+
*/
|
|
9045
|
+
this.TestingResult = null;
|
|
9046
|
+
|
|
9047
|
+
/**
|
|
9048
|
+
* 核酸检测时间(允许返回空值)
|
|
9049
|
+
* @type {string || null}
|
|
9050
|
+
*/
|
|
9051
|
+
this.TestingTime = null;
|
|
9052
|
+
|
|
9053
|
+
/**
|
|
9054
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9055
|
+
* @type {string || null}
|
|
9056
|
+
*/
|
|
9057
|
+
this.RequestId = null;
|
|
9058
|
+
|
|
9059
|
+
}
|
|
9060
|
+
|
|
9061
|
+
/**
|
|
9062
|
+
* @private
|
|
9063
|
+
*/
|
|
9064
|
+
deserialize(params) {
|
|
9065
|
+
if (!params) {
|
|
9066
|
+
return;
|
|
9067
|
+
}
|
|
9068
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
9069
|
+
this.IDNumber = 'IDNumber' in params ? params.IDNumber : null;
|
|
9070
|
+
this.Time = 'Time' in params ? params.Time : null;
|
|
9071
|
+
this.Color = 'Color' in params ? params.Color : null;
|
|
9072
|
+
this.TestingInterval = 'TestingInterval' in params ? params.TestingInterval : null;
|
|
9073
|
+
this.TestingResult = 'TestingResult' in params ? params.TestingResult : null;
|
|
9074
|
+
this.TestingTime = 'TestingTime' in params ? params.TestingTime : null;
|
|
9075
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
9076
|
+
|
|
9077
|
+
}
|
|
9078
|
+
}
|
|
9079
|
+
|
|
7702
9080
|
/**
|
|
7703
9081
|
* RideHailingDriverLicenseOCR请求参数结构体
|
|
7704
9082
|
* @class
|
|
@@ -7879,7 +9257,7 @@ class MixedInvoiceOCRRequest extends AbstractModel {
|
|
|
7879
9257
|
|
|
7880
9258
|
/**
|
|
7881
9259
|
* 图片的 Base64 值。
|
|
7882
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
9260
|
+
支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
|
|
7883
9261
|
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
7884
9262
|
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
7885
9263
|
* @type {string || null}
|
|
@@ -7888,7 +9266,7 @@ class MixedInvoiceOCRRequest extends AbstractModel {
|
|
|
7888
9266
|
|
|
7889
9267
|
/**
|
|
7890
9268
|
* 图片的 Url 地址。
|
|
7891
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
9269
|
+
支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
|
|
7892
9270
|
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
7893
9271
|
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
|
7894
9272
|
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
@@ -8089,6 +9467,102 @@ class ResidenceBookletOCRResponse extends AbstractModel {
|
|
|
8089
9467
|
*/
|
|
8090
9468
|
this.Address = null;
|
|
8091
9469
|
|
|
9470
|
+
/**
|
|
9471
|
+
* 承办人签章文字
|
|
9472
|
+
* @type {string || null}
|
|
9473
|
+
*/
|
|
9474
|
+
this.Signature = null;
|
|
9475
|
+
|
|
9476
|
+
/**
|
|
9477
|
+
* 签发日期
|
|
9478
|
+
* @type {string || null}
|
|
9479
|
+
*/
|
|
9480
|
+
this.IssueDate = null;
|
|
9481
|
+
|
|
9482
|
+
/**
|
|
9483
|
+
* 户主页编号
|
|
9484
|
+
* @type {string || null}
|
|
9485
|
+
*/
|
|
9486
|
+
this.HomePageNumber = null;
|
|
9487
|
+
|
|
9488
|
+
/**
|
|
9489
|
+
* 户主姓名
|
|
9490
|
+
* @type {string || null}
|
|
9491
|
+
*/
|
|
9492
|
+
this.HouseholderName = null;
|
|
9493
|
+
|
|
9494
|
+
/**
|
|
9495
|
+
* 户主或与户主关系
|
|
9496
|
+
* @type {string || null}
|
|
9497
|
+
*/
|
|
9498
|
+
this.Relationship = null;
|
|
9499
|
+
|
|
9500
|
+
/**
|
|
9501
|
+
* 本市(县)其他住址
|
|
9502
|
+
* @type {string || null}
|
|
9503
|
+
*/
|
|
9504
|
+
this.OtherAddresses = null;
|
|
9505
|
+
|
|
9506
|
+
/**
|
|
9507
|
+
* 宗教信仰
|
|
9508
|
+
* @type {string || null}
|
|
9509
|
+
*/
|
|
9510
|
+
this.ReligiousBelief = null;
|
|
9511
|
+
|
|
9512
|
+
/**
|
|
9513
|
+
* 身高
|
|
9514
|
+
* @type {string || null}
|
|
9515
|
+
*/
|
|
9516
|
+
this.Height = null;
|
|
9517
|
+
|
|
9518
|
+
/**
|
|
9519
|
+
* 血型
|
|
9520
|
+
* @type {string || null}
|
|
9521
|
+
*/
|
|
9522
|
+
this.BloodType = null;
|
|
9523
|
+
|
|
9524
|
+
/**
|
|
9525
|
+
* 婚姻状况
|
|
9526
|
+
* @type {string || null}
|
|
9527
|
+
*/
|
|
9528
|
+
this.MaritalStatus = null;
|
|
9529
|
+
|
|
9530
|
+
/**
|
|
9531
|
+
* 兵役状况
|
|
9532
|
+
* @type {string || null}
|
|
9533
|
+
*/
|
|
9534
|
+
this.VeteranStatus = null;
|
|
9535
|
+
|
|
9536
|
+
/**
|
|
9537
|
+
* 职业
|
|
9538
|
+
* @type {string || null}
|
|
9539
|
+
*/
|
|
9540
|
+
this.Profession = null;
|
|
9541
|
+
|
|
9542
|
+
/**
|
|
9543
|
+
* 何时由何地迁来本市(县)
|
|
9544
|
+
* @type {string || null}
|
|
9545
|
+
*/
|
|
9546
|
+
this.MoveToCityInformation = null;
|
|
9547
|
+
|
|
9548
|
+
/**
|
|
9549
|
+
* 何时由何地迁来本址
|
|
9550
|
+
* @type {string || null}
|
|
9551
|
+
*/
|
|
9552
|
+
this.MoveToSiteInformation = null;
|
|
9553
|
+
|
|
9554
|
+
/**
|
|
9555
|
+
* 登记日期
|
|
9556
|
+
* @type {string || null}
|
|
9557
|
+
*/
|
|
9558
|
+
this.RegistrationDate = null;
|
|
9559
|
+
|
|
9560
|
+
/**
|
|
9561
|
+
* 曾用名
|
|
9562
|
+
* @type {string || null}
|
|
9563
|
+
*/
|
|
9564
|
+
this.FormerName = null;
|
|
9565
|
+
|
|
8092
9566
|
/**
|
|
8093
9567
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8094
9568
|
* @type {string || null}
|
|
@@ -8116,6 +9590,22 @@ class ResidenceBookletOCRResponse extends AbstractModel {
|
|
|
8116
9590
|
this.ServicePlace = 'ServicePlace' in params ? params.ServicePlace : null;
|
|
8117
9591
|
this.Household = 'Household' in params ? params.Household : null;
|
|
8118
9592
|
this.Address = 'Address' in params ? params.Address : null;
|
|
9593
|
+
this.Signature = 'Signature' in params ? params.Signature : null;
|
|
9594
|
+
this.IssueDate = 'IssueDate' in params ? params.IssueDate : null;
|
|
9595
|
+
this.HomePageNumber = 'HomePageNumber' in params ? params.HomePageNumber : null;
|
|
9596
|
+
this.HouseholderName = 'HouseholderName' in params ? params.HouseholderName : null;
|
|
9597
|
+
this.Relationship = 'Relationship' in params ? params.Relationship : null;
|
|
9598
|
+
this.OtherAddresses = 'OtherAddresses' in params ? params.OtherAddresses : null;
|
|
9599
|
+
this.ReligiousBelief = 'ReligiousBelief' in params ? params.ReligiousBelief : null;
|
|
9600
|
+
this.Height = 'Height' in params ? params.Height : null;
|
|
9601
|
+
this.BloodType = 'BloodType' in params ? params.BloodType : null;
|
|
9602
|
+
this.MaritalStatus = 'MaritalStatus' in params ? params.MaritalStatus : null;
|
|
9603
|
+
this.VeteranStatus = 'VeteranStatus' in params ? params.VeteranStatus : null;
|
|
9604
|
+
this.Profession = 'Profession' in params ? params.Profession : null;
|
|
9605
|
+
this.MoveToCityInformation = 'MoveToCityInformation' in params ? params.MoveToCityInformation : null;
|
|
9606
|
+
this.MoveToSiteInformation = 'MoveToSiteInformation' in params ? params.MoveToSiteInformation : null;
|
|
9607
|
+
this.RegistrationDate = 'RegistrationDate' in params ? params.RegistrationDate : null;
|
|
9608
|
+
this.FormerName = 'FormerName' in params ? params.FormerName : null;
|
|
8119
9609
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
8120
9610
|
|
|
8121
9611
|
}
|
|
@@ -8475,10 +9965,10 @@ class ClassifyDetectInfo extends AbstractModel {
|
|
|
8475
9965
|
}
|
|
8476
9966
|
|
|
8477
9967
|
/**
|
|
8478
|
-
*
|
|
9968
|
+
* GeneralEfficientOCR返回参数结构体
|
|
8479
9969
|
* @class
|
|
8480
9970
|
*/
|
|
8481
|
-
class
|
|
9971
|
+
class GeneralEfficientOCRResponse extends AbstractModel {
|
|
8482
9972
|
constructor(){
|
|
8483
9973
|
super();
|
|
8484
9974
|
|
|
@@ -8489,16 +9979,67 @@ class GeneralAccurateOCRResponse extends AbstractModel {
|
|
|
8489
9979
|
this.TextDetections = null;
|
|
8490
9980
|
|
|
8491
9981
|
/**
|
|
8492
|
-
* 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
|
|
8493
|
-
* @type {number || null}
|
|
9982
|
+
* 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
|
|
9983
|
+
* @type {number || null}
|
|
9984
|
+
*/
|
|
9985
|
+
this.Angel = null;
|
|
9986
|
+
|
|
9987
|
+
/**
|
|
9988
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9989
|
+
* @type {string || null}
|
|
9990
|
+
*/
|
|
9991
|
+
this.RequestId = null;
|
|
9992
|
+
|
|
9993
|
+
}
|
|
9994
|
+
|
|
9995
|
+
/**
|
|
9996
|
+
* @private
|
|
9997
|
+
*/
|
|
9998
|
+
deserialize(params) {
|
|
9999
|
+
if (!params) {
|
|
10000
|
+
return;
|
|
10001
|
+
}
|
|
10002
|
+
|
|
10003
|
+
if (params.TextDetections) {
|
|
10004
|
+
this.TextDetections = new Array();
|
|
10005
|
+
for (let z in params.TextDetections) {
|
|
10006
|
+
let obj = new TextDetection();
|
|
10007
|
+
obj.deserialize(params.TextDetections[z]);
|
|
10008
|
+
this.TextDetections.push(obj);
|
|
10009
|
+
}
|
|
10010
|
+
}
|
|
10011
|
+
this.Angel = 'Angel' in params ? params.Angel : null;
|
|
10012
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
10013
|
+
|
|
10014
|
+
}
|
|
10015
|
+
}
|
|
10016
|
+
|
|
10017
|
+
/**
|
|
10018
|
+
* ShipInvoiceOCR请求参数结构体
|
|
10019
|
+
* @class
|
|
10020
|
+
*/
|
|
10021
|
+
class ShipInvoiceOCRRequest extends AbstractModel {
|
|
10022
|
+
constructor(){
|
|
10023
|
+
super();
|
|
10024
|
+
|
|
10025
|
+
/**
|
|
10026
|
+
* 图片的 Base64 值。
|
|
10027
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
10028
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
10029
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
10030
|
+
* @type {string || null}
|
|
8494
10031
|
*/
|
|
8495
|
-
this.
|
|
10032
|
+
this.ImageBase64 = null;
|
|
8496
10033
|
|
|
8497
10034
|
/**
|
|
8498
|
-
*
|
|
10035
|
+
* 图片的 Url 地址。
|
|
10036
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
10037
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
10038
|
+
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
|
10039
|
+
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
8499
10040
|
* @type {string || null}
|
|
8500
10041
|
*/
|
|
8501
|
-
this.
|
|
10042
|
+
this.ImageUrl = null;
|
|
8502
10043
|
|
|
8503
10044
|
}
|
|
8504
10045
|
|
|
@@ -8509,17 +10050,8 @@ class GeneralAccurateOCRResponse extends AbstractModel {
|
|
|
8509
10050
|
if (!params) {
|
|
8510
10051
|
return;
|
|
8511
10052
|
}
|
|
8512
|
-
|
|
8513
|
-
|
|
8514
|
-
this.TextDetections = new Array();
|
|
8515
|
-
for (let z in params.TextDetections) {
|
|
8516
|
-
let obj = new TextDetection();
|
|
8517
|
-
obj.deserialize(params.TextDetections[z]);
|
|
8518
|
-
this.TextDetections.push(obj);
|
|
8519
|
-
}
|
|
8520
|
-
}
|
|
8521
|
-
this.Angel = 'Angel' in params ? params.Angel : null;
|
|
8522
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
10053
|
+
this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
|
|
10054
|
+
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
8523
10055
|
|
|
8524
10056
|
}
|
|
8525
10057
|
}
|
|
@@ -9649,6 +11181,113 @@ class CandWord extends AbstractModel {
|
|
|
9649
11181
|
}
|
|
9650
11182
|
}
|
|
9651
11183
|
|
|
11184
|
+
/**
|
|
11185
|
+
* RecognizeContainerOCR返回参数结构体
|
|
11186
|
+
* @class
|
|
11187
|
+
*/
|
|
11188
|
+
class RecognizeContainerOCRResponse extends AbstractModel {
|
|
11189
|
+
constructor(){
|
|
11190
|
+
super();
|
|
11191
|
+
|
|
11192
|
+
/**
|
|
11193
|
+
* 集装箱箱号
|
|
11194
|
+
* @type {string || null}
|
|
11195
|
+
*/
|
|
11196
|
+
this.ContainerId = null;
|
|
11197
|
+
|
|
11198
|
+
/**
|
|
11199
|
+
* 集装箱类型
|
|
11200
|
+
* @type {string || null}
|
|
11201
|
+
*/
|
|
11202
|
+
this.ContainerType = null;
|
|
11203
|
+
|
|
11204
|
+
/**
|
|
11205
|
+
* 集装箱总重量,单位:千克(KG)
|
|
11206
|
+
* @type {string || null}
|
|
11207
|
+
*/
|
|
11208
|
+
this.GrossKG = null;
|
|
11209
|
+
|
|
11210
|
+
/**
|
|
11211
|
+
* 集装箱总重量,单位:磅(LB)
|
|
11212
|
+
* @type {string || null}
|
|
11213
|
+
*/
|
|
11214
|
+
this.GrossLB = null;
|
|
11215
|
+
|
|
11216
|
+
/**
|
|
11217
|
+
* 集装箱有效承重,单位:千克(KG)
|
|
11218
|
+
* @type {string || null}
|
|
11219
|
+
*/
|
|
11220
|
+
this.PayloadKG = null;
|
|
11221
|
+
|
|
11222
|
+
/**
|
|
11223
|
+
* 集装箱有效承重,单位:磅(LB)
|
|
11224
|
+
* @type {string || null}
|
|
11225
|
+
*/
|
|
11226
|
+
this.PayloadLB = null;
|
|
11227
|
+
|
|
11228
|
+
/**
|
|
11229
|
+
* 集装箱容量,单位:立方米
|
|
11230
|
+
* @type {string || null}
|
|
11231
|
+
*/
|
|
11232
|
+
this.CapacityM3 = null;
|
|
11233
|
+
|
|
11234
|
+
/**
|
|
11235
|
+
* 集装箱容量,单位:立英尺
|
|
11236
|
+
* @type {string || null}
|
|
11237
|
+
*/
|
|
11238
|
+
this.CapacityFT3 = null;
|
|
11239
|
+
|
|
11240
|
+
/**
|
|
11241
|
+
* 告警码
|
|
11242
|
+
-9926 集装箱箱号不完整或者不清晰
|
|
11243
|
+
-9927 集装箱类型不完整或者不清晰
|
|
11244
|
+
* @type {Array.<number> || null}
|
|
11245
|
+
*/
|
|
11246
|
+
this.Warn = null;
|
|
11247
|
+
|
|
11248
|
+
/**
|
|
11249
|
+
* 集装箱自身重量,单位:千克(KG)
|
|
11250
|
+
* @type {string || null}
|
|
11251
|
+
*/
|
|
11252
|
+
this.TareKG = null;
|
|
11253
|
+
|
|
11254
|
+
/**
|
|
11255
|
+
* 集装箱自身重量,单位:磅(LB)
|
|
11256
|
+
* @type {string || null}
|
|
11257
|
+
*/
|
|
11258
|
+
this.TareLB = null;
|
|
11259
|
+
|
|
11260
|
+
/**
|
|
11261
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
11262
|
+
* @type {string || null}
|
|
11263
|
+
*/
|
|
11264
|
+
this.RequestId = null;
|
|
11265
|
+
|
|
11266
|
+
}
|
|
11267
|
+
|
|
11268
|
+
/**
|
|
11269
|
+
* @private
|
|
11270
|
+
*/
|
|
11271
|
+
deserialize(params) {
|
|
11272
|
+
if (!params) {
|
|
11273
|
+
return;
|
|
11274
|
+
}
|
|
11275
|
+
this.ContainerId = 'ContainerId' in params ? params.ContainerId : null;
|
|
11276
|
+
this.ContainerType = 'ContainerType' in params ? params.ContainerType : null;
|
|
11277
|
+
this.GrossKG = 'GrossKG' in params ? params.GrossKG : null;
|
|
11278
|
+
this.GrossLB = 'GrossLB' in params ? params.GrossLB : null;
|
|
11279
|
+
this.PayloadKG = 'PayloadKG' in params ? params.PayloadKG : null;
|
|
11280
|
+
this.PayloadLB = 'PayloadLB' in params ? params.PayloadLB : null;
|
|
11281
|
+
this.CapacityM3 = 'CapacityM3' in params ? params.CapacityM3 : null;
|
|
11282
|
+
this.CapacityFT3 = 'CapacityFT3' in params ? params.CapacityFT3 : null;
|
|
11283
|
+
this.Warn = 'Warn' in params ? params.Warn : null;
|
|
11284
|
+
this.TareKG = 'TareKG' in params ? params.TareKG : null;
|
|
11285
|
+
this.TareLB = 'TareLB' in params ? params.TareLB : null;
|
|
11286
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
11287
|
+
|
|
11288
|
+
}
|
|
11289
|
+
}
|
|
11290
|
+
|
|
9652
11291
|
/**
|
|
9653
11292
|
* 企业证照单个字段的内容
|
|
9654
11293
|
* @class
|
|
@@ -9935,6 +11574,42 @@ class TableOCRResponse extends AbstractModel {
|
|
|
9935
11574
|
}
|
|
9936
11575
|
}
|
|
9937
11576
|
|
|
11577
|
+
/**
|
|
11578
|
+
* 单字在原图中的坐标,以四个顶点坐标表示,以左上角为起点,顺时针返回。
|
|
11579
|
+
* @class
|
|
11580
|
+
*/
|
|
11581
|
+
class DetectedWordCoordPoint extends AbstractModel {
|
|
11582
|
+
constructor(){
|
|
11583
|
+
super();
|
|
11584
|
+
|
|
11585
|
+
/**
|
|
11586
|
+
* 单字在原图中的坐标,以四个顶点坐标表示,以左上角为起点,顺时针返回。
|
|
11587
|
+
* @type {Array.<Coord> || null}
|
|
11588
|
+
*/
|
|
11589
|
+
this.WordCoordinate = null;
|
|
11590
|
+
|
|
11591
|
+
}
|
|
11592
|
+
|
|
11593
|
+
/**
|
|
11594
|
+
* @private
|
|
11595
|
+
*/
|
|
11596
|
+
deserialize(params) {
|
|
11597
|
+
if (!params) {
|
|
11598
|
+
return;
|
|
11599
|
+
}
|
|
11600
|
+
|
|
11601
|
+
if (params.WordCoordinate) {
|
|
11602
|
+
this.WordCoordinate = new Array();
|
|
11603
|
+
for (let z in params.WordCoordinate) {
|
|
11604
|
+
let obj = new Coord();
|
|
11605
|
+
obj.deserialize(params.WordCoordinate[z]);
|
|
11606
|
+
this.WordCoordinate.push(obj);
|
|
11607
|
+
}
|
|
11608
|
+
}
|
|
11609
|
+
|
|
11610
|
+
}
|
|
11611
|
+
}
|
|
11612
|
+
|
|
9938
11613
|
/**
|
|
9939
11614
|
* 数学试题识别结构化对象
|
|
9940
11615
|
* @class
|
|
@@ -10075,31 +11750,43 @@ class VatRollInvoiceInfo extends AbstractModel {
|
|
|
10075
11750
|
}
|
|
10076
11751
|
|
|
10077
11752
|
/**
|
|
10078
|
-
*
|
|
11753
|
+
* RecognizeOnlineTaxiItineraryOCR请求参数结构体
|
|
10079
11754
|
* @class
|
|
10080
11755
|
*/
|
|
10081
|
-
class
|
|
11756
|
+
class RecognizeOnlineTaxiItineraryOCRRequest extends AbstractModel {
|
|
10082
11757
|
constructor(){
|
|
10083
11758
|
super();
|
|
10084
11759
|
|
|
10085
11760
|
/**
|
|
10086
|
-
*
|
|
10087
|
-
|
|
11761
|
+
* 图片的 Base64 值。
|
|
11762
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
11763
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
11764
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
10088
11765
|
* @type {string || null}
|
|
10089
11766
|
*/
|
|
10090
|
-
this.
|
|
11767
|
+
this.ImageBase64 = null;
|
|
10091
11768
|
|
|
10092
11769
|
/**
|
|
10093
|
-
*
|
|
11770
|
+
* 图片的 Url 地址。
|
|
11771
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
11772
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
11773
|
+
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
|
11774
|
+
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
10094
11775
|
* @type {string || null}
|
|
10095
11776
|
*/
|
|
10096
|
-
this.
|
|
11777
|
+
this.ImageUrl = null;
|
|
10097
11778
|
|
|
10098
11779
|
/**
|
|
10099
|
-
*
|
|
10100
|
-
* @type {
|
|
11780
|
+
* 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
|
|
11781
|
+
* @type {boolean || null}
|
|
10101
11782
|
*/
|
|
10102
|
-
this.
|
|
11783
|
+
this.IsPdf = null;
|
|
11784
|
+
|
|
11785
|
+
/**
|
|
11786
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
11787
|
+
* @type {number || null}
|
|
11788
|
+
*/
|
|
11789
|
+
this.PdfPageNumber = null;
|
|
10103
11790
|
|
|
10104
11791
|
}
|
|
10105
11792
|
|
|
@@ -10110,14 +11797,10 @@ class ShipInvoiceInfo extends AbstractModel {
|
|
|
10110
11797
|
if (!params) {
|
|
10111
11798
|
return;
|
|
10112
11799
|
}
|
|
10113
|
-
this.
|
|
10114
|
-
this.
|
|
10115
|
-
|
|
10116
|
-
|
|
10117
|
-
let obj = new Rect();
|
|
10118
|
-
obj.deserialize(params.Rect)
|
|
10119
|
-
this.Rect = obj;
|
|
10120
|
-
}
|
|
11800
|
+
this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
|
|
11801
|
+
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
11802
|
+
this.IsPdf = 'IsPdf' in params ? params.IsPdf : null;
|
|
11803
|
+
this.PdfPageNumber = 'PdfPageNumber' in params ? params.PdfPageNumber : null;
|
|
10121
11804
|
|
|
10122
11805
|
}
|
|
10123
11806
|
}
|
|
@@ -10240,6 +11923,55 @@ class MixedInvoiceDetectRequest extends AbstractModel {
|
|
|
10240
11923
|
}
|
|
10241
11924
|
}
|
|
10242
11925
|
|
|
11926
|
+
/**
|
|
11927
|
+
* WaybillOCR请求参数结构体
|
|
11928
|
+
* @class
|
|
11929
|
+
*/
|
|
11930
|
+
class WaybillOCRRequest extends AbstractModel {
|
|
11931
|
+
constructor(){
|
|
11932
|
+
super();
|
|
11933
|
+
|
|
11934
|
+
/**
|
|
11935
|
+
* 图片的 Base64 值。
|
|
11936
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
11937
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
11938
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
11939
|
+
* @type {string || null}
|
|
11940
|
+
*/
|
|
11941
|
+
this.ImageBase64 = null;
|
|
11942
|
+
|
|
11943
|
+
/**
|
|
11944
|
+
* 图片的 Url 地址。
|
|
11945
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
11946
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
11947
|
+
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
|
11948
|
+
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
11949
|
+
* @type {string || null}
|
|
11950
|
+
*/
|
|
11951
|
+
this.ImageUrl = null;
|
|
11952
|
+
|
|
11953
|
+
/**
|
|
11954
|
+
* 预检测开关,当待识别运单占整个输入图像的比例较小时,建议打开预检测开关。默认值为false。
|
|
11955
|
+
* @type {boolean || null}
|
|
11956
|
+
*/
|
|
11957
|
+
this.EnablePreDetect = null;
|
|
11958
|
+
|
|
11959
|
+
}
|
|
11960
|
+
|
|
11961
|
+
/**
|
|
11962
|
+
* @private
|
|
11963
|
+
*/
|
|
11964
|
+
deserialize(params) {
|
|
11965
|
+
if (!params) {
|
|
11966
|
+
return;
|
|
11967
|
+
}
|
|
11968
|
+
this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
|
|
11969
|
+
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
11970
|
+
this.EnablePreDetect = 'EnablePreDetect' in params ? params.EnablePreDetect : null;
|
|
11971
|
+
|
|
11972
|
+
}
|
|
11973
|
+
}
|
|
11974
|
+
|
|
10243
11975
|
/**
|
|
10244
11976
|
* VinOCR请求参数结构体
|
|
10245
11977
|
* @class
|
|
@@ -10356,6 +12088,7 @@ class MLIDCardOCRResponse extends AbstractModel {
|
|
|
10356
12088
|
-9103 证照翻拍告警
|
|
10357
12089
|
-9102 证照复印件告警
|
|
10358
12090
|
-9106 证件遮挡告警
|
|
12091
|
+
-9107 模糊图片告警
|
|
10359
12092
|
* @type {Array.<number> || null}
|
|
10360
12093
|
*/
|
|
10361
12094
|
this.Warn = null;
|
|
@@ -10367,14 +12100,12 @@ class MLIDCardOCRResponse extends AbstractModel {
|
|
|
10367
12100
|
this.Image = null;
|
|
10368
12101
|
|
|
10369
12102
|
/**
|
|
10370
|
-
*
|
|
12103
|
+
* 此字段为扩展字段。
|
|
12104
|
+
返回字段识别结果的置信度,格式如下
|
|
10371
12105
|
{
|
|
10372
|
-
|
|
10373
|
-
|
|
10374
|
-
|
|
10375
|
-
Name:{
|
|
10376
|
-
Confidence:0.9996
|
|
10377
|
-
}
|
|
12106
|
+
字段名:{
|
|
12107
|
+
Confidence:0.9999
|
|
12108
|
+
}
|
|
10378
12109
|
}
|
|
10379
12110
|
* @type {string || null}
|
|
10380
12111
|
*/
|
|
@@ -10394,7 +12125,7 @@ MyKid 儿童卡
|
|
|
10394
12125
|
this.Type = null;
|
|
10395
12126
|
|
|
10396
12127
|
/**
|
|
10397
|
-
* 出生日期(目前该字段仅支持IKAD
|
|
12128
|
+
* 出生日期(目前该字段仅支持IKAD劳工证、MyKad 身份证)
|
|
10398
12129
|
* @type {string || null}
|
|
10399
12130
|
*/
|
|
10400
12131
|
this.Birthday = null;
|
|
@@ -10912,6 +12643,13 @@ class BankCardOCRResponse extends AbstractModel {
|
|
|
10912
12643
|
*/
|
|
10913
12644
|
this.WarningCode = null;
|
|
10914
12645
|
|
|
12646
|
+
/**
|
|
12647
|
+
* 图片质量分数,请求EnableQualityValue时返回(取值范围:0-100,分数越低越模糊,建议阈值≥50)。
|
|
12648
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12649
|
+
* @type {number || null}
|
|
12650
|
+
*/
|
|
12651
|
+
this.QualityValue = null;
|
|
12652
|
+
|
|
10915
12653
|
/**
|
|
10916
12654
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
10917
12655
|
* @type {string || null}
|
|
@@ -10935,6 +12673,7 @@ class BankCardOCRResponse extends AbstractModel {
|
|
|
10935
12673
|
this.BorderCutImage = 'BorderCutImage' in params ? params.BorderCutImage : null;
|
|
10936
12674
|
this.CardNoImage = 'CardNoImage' in params ? params.CardNoImage : null;
|
|
10937
12675
|
this.WarningCode = 'WarningCode' in params ? params.WarningCode : null;
|
|
12676
|
+
this.QualityValue = 'QualityValue' in params ? params.QualityValue : null;
|
|
10938
12677
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
10939
12678
|
|
|
10940
12679
|
}
|
|
@@ -11048,13 +12787,14 @@ class VerifyEnterpriseFourFactorsResponse extends AbstractModel {
|
|
|
11048
12787
|
super();
|
|
11049
12788
|
|
|
11050
12789
|
/**
|
|
11051
|
-
* 核验一致性(1:一致,2
|
|
12790
|
+
* 核验一致性(1:一致,2:不一致,3:查询无记录)
|
|
11052
12791
|
* @type {number || null}
|
|
11053
12792
|
*/
|
|
11054
12793
|
this.State = null;
|
|
11055
12794
|
|
|
11056
12795
|
/**
|
|
11057
|
-
*
|
|
12796
|
+
* 核验结果明细,7:企业法人/负责人,6:企业股东,5:企
|
|
12797
|
+
业管理人员,-21:企业名称与企业标识不符,-22:姓名不一致,-23:证件号码不一致,-24:企业名称不一致,-25:企业标识不一致
|
|
11058
12798
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
11059
12799
|
* @type {Detail || null}
|
|
11060
12800
|
*/
|
|
@@ -11222,12 +12962,15 @@ class QrcodePositionObj extends AbstractModel {
|
|
|
11222
12962
|
}
|
|
11223
12963
|
|
|
11224
12964
|
module.exports = {
|
|
11225
|
-
|
|
12965
|
+
TextWaybill: TextWaybill,
|
|
12966
|
+
RecognizeOnlineTaxiItineraryOCRResponse: RecognizeOnlineTaxiItineraryOCRResponse,
|
|
12967
|
+
BankSlipOCRRequest: BankSlipOCRRequest,
|
|
11226
12968
|
BusinessCardOCRResponse: BusinessCardOCRResponse,
|
|
11227
12969
|
TextArithmetic: TextArithmetic,
|
|
11228
12970
|
HKIDCardOCRRequest: HKIDCardOCRRequest,
|
|
11229
12971
|
CarInvoiceOCRRequest: CarInvoiceOCRRequest,
|
|
11230
12972
|
MixedInvoiceItem: MixedInvoiceItem,
|
|
12973
|
+
RecognizeTravelCardOCRRequest: RecognizeTravelCardOCRRequest,
|
|
11231
12974
|
TrainTicketOCRRequest: TrainTicketOCRRequest,
|
|
11232
12975
|
EstateCertOCRResponse: EstateCertOCRResponse,
|
|
11233
12976
|
FlightInvoiceOCRRequest: FlightInvoiceOCRRequest,
|
|
@@ -11238,6 +12981,7 @@ module.exports = {
|
|
|
11238
12981
|
FinanBillSliceOCRResponse: FinanBillSliceOCRResponse,
|
|
11239
12982
|
DriverLicenseOCRResponse: DriverLicenseOCRResponse,
|
|
11240
12983
|
Words: Words,
|
|
12984
|
+
VerifyBizLicenseRequest: VerifyBizLicenseRequest,
|
|
11241
12985
|
TextDetectionEn: TextDetectionEn,
|
|
11242
12986
|
PermitOCRResponse: PermitOCRResponse,
|
|
11243
12987
|
InvoiceGeneralOCRRequest: InvoiceGeneralOCRRequest,
|
|
@@ -11253,6 +12997,7 @@ module.exports = {
|
|
|
11253
12997
|
InvoiceGeneralInfo: InvoiceGeneralInfo,
|
|
11254
12998
|
WordCoordPoint: WordCoordPoint,
|
|
11255
12999
|
InstitutionOCRResponse: InstitutionOCRResponse,
|
|
13000
|
+
VehicleInvoiceInfo: VehicleInvoiceInfo,
|
|
11256
13001
|
DriverLicenseOCRRequest: DriverLicenseOCRRequest,
|
|
11257
13002
|
BizLicenseVerifyResult: BizLicenseVerifyResult,
|
|
11258
13003
|
TextDetection: TextDetection,
|
|
@@ -11264,20 +13009,24 @@ module.exports = {
|
|
|
11264
13009
|
MainlandPermitOCRRequest: MainlandPermitOCRRequest,
|
|
11265
13010
|
EnterpriseLicenseOCRRequest: EnterpriseLicenseOCRRequest,
|
|
11266
13011
|
BankCardOCRRequest: BankCardOCRRequest,
|
|
13012
|
+
StructuralItem: StructuralItem,
|
|
13013
|
+
OnlineTaxiItineraryInfo: OnlineTaxiItineraryInfo,
|
|
11267
13014
|
PropOwnerCertOCRResponse: PropOwnerCertOCRResponse,
|
|
11268
13015
|
FinanBillInfo: FinanBillInfo,
|
|
11269
13016
|
TrainTicketOCRResponse: TrainTicketOCRResponse,
|
|
11270
13017
|
TollInvoiceInfo: TollInvoiceInfo,
|
|
13018
|
+
BankSlipInfo: BankSlipInfo,
|
|
11271
13019
|
ArithmeticOCRResponse: ArithmeticOCRResponse,
|
|
11272
13020
|
FormulaOCRResponse: FormulaOCRResponse,
|
|
11273
13021
|
BusInvoiceInfo: BusInvoiceInfo,
|
|
13022
|
+
SmartStructuralOCRRequest: SmartStructuralOCRRequest,
|
|
11274
13023
|
TextVatInvoice: TextVatInvoice,
|
|
11275
13024
|
GeneralHandwritingOCRRequest: GeneralHandwritingOCRRequest,
|
|
11276
13025
|
BizLicenseOCRRequest: BizLicenseOCRRequest,
|
|
11277
13026
|
MixedInvoiceDetectResponse: MixedInvoiceDetectResponse,
|
|
11278
13027
|
VatInvoiceUserInfo: VatInvoiceUserInfo,
|
|
11279
13028
|
InsuranceBillOCRResponse: InsuranceBillOCRResponse,
|
|
11280
|
-
|
|
13029
|
+
GeneralAccurateOCRResponse: GeneralAccurateOCRResponse,
|
|
11281
13030
|
HmtResidentPermitOCRRequest: HmtResidentPermitOCRRequest,
|
|
11282
13031
|
QrcodeOCRRequest: QrcodeOCRRequest,
|
|
11283
13032
|
TaxiInvoiceOCRResponse: TaxiInvoiceOCRResponse,
|
|
@@ -11286,6 +13035,7 @@ module.exports = {
|
|
|
11286
13035
|
CellContent: CellContent,
|
|
11287
13036
|
MixedInvoiceOCRResponse: MixedInvoiceOCRResponse,
|
|
11288
13037
|
ClassifyDetectOCRResponse: ClassifyDetectOCRResponse,
|
|
13038
|
+
VatInvoiceVerifyNewRequest: VatInvoiceVerifyNewRequest,
|
|
11289
13039
|
VehicleLicenseOCRResponse: VehicleLicenseOCRResponse,
|
|
11290
13040
|
VatInvoiceOCRRequest: VatInvoiceOCRRequest,
|
|
11291
13041
|
IDCardOCRResponse: IDCardOCRResponse,
|
|
@@ -11297,8 +13047,10 @@ module.exports = {
|
|
|
11297
13047
|
VatInvoiceGoodsInfo: VatInvoiceGoodsInfo,
|
|
11298
13048
|
PermitOCRRequest: PermitOCRRequest,
|
|
11299
13049
|
InvoiceGeneralOCRResponse: InvoiceGeneralOCRResponse,
|
|
13050
|
+
VatInvoiceVerifyNewResponse: VatInvoiceVerifyNewResponse,
|
|
11300
13051
|
TaxiInvoiceOCRRequest: TaxiInvoiceOCRRequest,
|
|
11301
13052
|
PropOwnerCertOCRRequest: PropOwnerCertOCRRequest,
|
|
13053
|
+
RecognizeContainerOCRRequest: RecognizeContainerOCRRequest,
|
|
11302
13054
|
TextDetectRequest: TextDetectRequest,
|
|
11303
13055
|
VatRollInvoiceOCRResponse: VatRollInvoiceOCRResponse,
|
|
11304
13056
|
VatInvoiceVerifyRequest: VatInvoiceVerifyRequest,
|
|
@@ -11307,10 +13059,12 @@ module.exports = {
|
|
|
11307
13059
|
BusinessCardInfo: BusinessCardInfo,
|
|
11308
13060
|
TextGeneralHandwriting: TextGeneralHandwriting,
|
|
11309
13061
|
TableOCRRequest: TableOCRRequest,
|
|
13062
|
+
UsedVehicleInvoiceInfo: UsedVehicleInvoiceInfo,
|
|
11310
13063
|
QrcodeImgSize: QrcodeImgSize,
|
|
13064
|
+
PassportOCRResponse: PassportOCRResponse,
|
|
11311
13065
|
VerifyBasicBizLicenseResponse: VerifyBasicBizLicenseResponse,
|
|
11312
13066
|
VehicleRegCertOCRRequest: VehicleRegCertOCRRequest,
|
|
11313
|
-
|
|
13067
|
+
RecognizeTravelCardOCRResponse: RecognizeTravelCardOCRResponse,
|
|
11314
13068
|
ProductDataRecord: ProductDataRecord,
|
|
11315
13069
|
LicensePlateOCRRequest: LicensePlateOCRRequest,
|
|
11316
13070
|
GeneralBasicOCRRequest: GeneralBasicOCRRequest,
|
|
@@ -11321,8 +13075,10 @@ module.exports = {
|
|
|
11321
13075
|
Detail: Detail,
|
|
11322
13076
|
EnglishOCRRequest: EnglishOCRRequest,
|
|
11323
13077
|
VatInvoiceVerifyResponse: VatInvoiceVerifyResponse,
|
|
11324
|
-
|
|
13078
|
+
SmartStructuralOCRResponse: SmartStructuralOCRResponse,
|
|
13079
|
+
DetectedWords: DetectedWords,
|
|
11325
13080
|
VerifyEnterpriseFourFactorsRequest: VerifyEnterpriseFourFactorsRequest,
|
|
13081
|
+
ShipInvoiceInfo: ShipInvoiceInfo,
|
|
11326
13082
|
GeneralAccurateOCRRequest: GeneralAccurateOCRRequest,
|
|
11327
13083
|
OrgCodeCertOCRRequest: OrgCodeCertOCRRequest,
|
|
11328
13084
|
FlightInvoiceOCRResponse: FlightInvoiceOCRResponse,
|
|
@@ -11343,14 +13099,16 @@ module.exports = {
|
|
|
11343
13099
|
SealOCRResponse: SealOCRResponse,
|
|
11344
13100
|
DutyPaidProofInfo: DutyPaidProofInfo,
|
|
11345
13101
|
FinanBillOCRResponse: FinanBillOCRResponse,
|
|
11346
|
-
|
|
11347
|
-
|
|
13102
|
+
RecognizeHealthCodeOCRRequest: RecognizeHealthCodeOCRRequest,
|
|
13103
|
+
BankSlipOCRResponse: BankSlipOCRResponse,
|
|
13104
|
+
PassInvoiceInfo: PassInvoiceInfo,
|
|
11348
13105
|
QuestionObj: QuestionObj,
|
|
11349
13106
|
VinOCRResponse: VinOCRResponse,
|
|
11350
13107
|
EduPaperOCRRequest: EduPaperOCRRequest,
|
|
11351
13108
|
FormulaOCRRequest: FormulaOCRRequest,
|
|
11352
13109
|
PassportOCRRequest: PassportOCRRequest,
|
|
11353
13110
|
DutyPaidProofOCRRequest: DutyPaidProofOCRRequest,
|
|
13111
|
+
RecognizeHealthCodeOCRResponse: RecognizeHealthCodeOCRResponse,
|
|
11354
13112
|
RideHailingDriverLicenseOCRRequest: RideHailingDriverLicenseOCRRequest,
|
|
11355
13113
|
QueryBarCodeRequest: QueryBarCodeRequest,
|
|
11356
13114
|
ItemCoord: ItemCoord,
|
|
@@ -11365,7 +13123,8 @@ module.exports = {
|
|
|
11365
13123
|
InsuranceBillInfo: InsuranceBillInfo,
|
|
11366
13124
|
VehicleRegCertOCRResponse: VehicleRegCertOCRResponse,
|
|
11367
13125
|
ClassifyDetectInfo: ClassifyDetectInfo,
|
|
11368
|
-
|
|
13126
|
+
GeneralEfficientOCRResponse: GeneralEfficientOCRResponse,
|
|
13127
|
+
ShipInvoiceOCRRequest: ShipInvoiceOCRRequest,
|
|
11369
13128
|
SealOCRRequest: SealOCRRequest,
|
|
11370
13129
|
VerifyOfdVatInvoiceOCRResponse: VerifyOfdVatInvoiceOCRResponse,
|
|
11371
13130
|
TextTable: TextTable,
|
|
@@ -11380,17 +13139,20 @@ module.exports = {
|
|
|
11380
13139
|
QuotaInvoiceOCRResponse: QuotaInvoiceOCRResponse,
|
|
11381
13140
|
RideHailingTransportLicenseOCRResponse: RideHailingTransportLicenseOCRResponse,
|
|
11382
13141
|
CandWord: CandWord,
|
|
13142
|
+
RecognizeContainerOCRResponse: RecognizeContainerOCRResponse,
|
|
11383
13143
|
EnterpriseLicenseInfo: EnterpriseLicenseInfo,
|
|
11384
13144
|
InsuranceBillOCRRequest: InsuranceBillOCRRequest,
|
|
11385
13145
|
GeneralHandwritingOCRResponse: GeneralHandwritingOCRResponse,
|
|
11386
13146
|
TableCell: TableCell,
|
|
11387
13147
|
TableOCRResponse: TableOCRResponse,
|
|
13148
|
+
DetectedWordCoordPoint: DetectedWordCoordPoint,
|
|
11388
13149
|
QuestionBlockObj: QuestionBlockObj,
|
|
11389
13150
|
AdvertiseOCRResponse: AdvertiseOCRResponse,
|
|
11390
13151
|
VatRollInvoiceInfo: VatRollInvoiceInfo,
|
|
11391
|
-
|
|
13152
|
+
RecognizeOnlineTaxiItineraryOCRRequest: RecognizeOnlineTaxiItineraryOCRRequest,
|
|
11392
13153
|
IDCardOCRRequest: IDCardOCRRequest,
|
|
11393
13154
|
MixedInvoiceDetectRequest: MixedInvoiceDetectRequest,
|
|
13155
|
+
WaybillOCRRequest: WaybillOCRRequest,
|
|
11394
13156
|
VinOCRRequest: VinOCRRequest,
|
|
11395
13157
|
RideHailingTransportLicenseOCRRequest: RideHailingTransportLicenseOCRRequest,
|
|
11396
13158
|
MLIDCardOCRResponse: MLIDCardOCRResponse,
|