tccli 3.0.1256.1__py2.py3-none-any.whl → 3.0.1257.1__py2.py3-none-any.whl
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.
- tccli/__init__.py +1 -1
- tccli/services/bi/v20220105/api.json +172 -86
- tccli/services/bi/v20220105/examples.json +6 -6
- tccli/services/cdwdoris/v20211228/api.json +215 -165
- tccli/services/cdwdoris/v20211228/examples.json +34 -34
- tccli/services/cfg/v20210820/api.json +29 -0
- tccli/services/cwp/cwp_client.py +0 -106
- tccli/services/cwp/v20180228/api.json +0 -405
- tccli/services/cwp/v20180228/examples.json +0 -16
- tccli/services/dlc/v20210125/api.json +265 -216
- tccli/services/dlc/v20210125/examples.json +46 -52
- tccli/services/hunyuan/v20230901/api.json +11 -1
- tccli/services/lke/v20231130/api.json +821 -10
- tccli/services/lke/v20231130/examples.json +10 -16
- tccli/services/ocr/ocr_client.py +361 -308
- tccli/services/ocr/v20181119/api.json +176 -0
- tccli/services/ocr/v20181119/examples.json +8 -0
- tccli/services/rum/v20210622/api.json +241 -135
- tccli/services/rum/v20210622/examples.json +31 -31
- tccli/services/scf/v20180416/api.json +2 -2
- tccli/services/tdmq/v20200217/api.json +3 -3
- tccli/services/tdmq/v20200217/examples.json +3 -3
- tccli/services/teo/teo_client.py +326 -8
- tccli/services/teo/v20220901/api.json +3104 -294
- tccli/services/teo/v20220901/examples.json +69 -3
- {tccli-3.0.1256.1.dist-info → tccli-3.0.1257.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1256.1.dist-info → tccli-3.0.1257.1.dist-info}/RECORD +30 -30
- {tccli-3.0.1256.1.dist-info → tccli-3.0.1257.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1256.1.dist-info → tccli-3.0.1257.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1256.1.dist-info → tccli-3.0.1257.1.dist-info}/license_files/LICENSE +0 -0
@@ -357,6 +357,13 @@
|
|
357
357
|
"output": "RecognizeForeignPermanentResidentIdCardResponse",
|
358
358
|
"status": "online"
|
359
359
|
},
|
360
|
+
"RecognizeGeneralCardWarn": {
|
361
|
+
"document": "支持通用证照的有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能,支持通用证照的ps伪造检测,可以应用于各种证件信息有效性校验场景。",
|
362
|
+
"input": "RecognizeGeneralCardWarnRequest",
|
363
|
+
"name": "通用卡证鉴伪",
|
364
|
+
"output": "RecognizeGeneralCardWarnResponse",
|
365
|
+
"status": "online"
|
366
|
+
},
|
360
367
|
"RecognizeGeneralInvoice": {
|
361
368
|
"document": "本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。\n\n默认接口请求频率限制:5次/秒。\n\n\n支持返回的细项目子票种SubType、子票种中文TypeDescription、以及对应所属大类票种Type 的说明如下列表:\n<table style=\"width:715px\">\n <thead>\n <tr>\n <th style=\"width:200px\">SubType 子票种英文</th>\n <th style=\"width:200px\">TypeDescription子票种中文</th>\n <th >Type 所属大类票种</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td> VatSpecialInvoice</td>\n <td> 增值税专用发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatCommonInvoice</td>\n <td> 增值税普通发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicCommonInvoice </td>\n <td> 增值税电子普通发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicSpecialInvoice </td>\n <td> 增值税电子专用发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicInvoiceBlockchain</td>\n <td> 区块链电子发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicInvoiceToll</td>\n <td> 增值税电子普通发票(通行费)</td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatSalesList</td>\n <td> 增值税销货清单</td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicSpecialInvoiceFull</td>\n <td> 电子发票(专用发票)</td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> VatElectronicInvoiceFull</td>\n <td> 电子发票(普通发票) </td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> ElectronicFlightTicketFull</td>\n <td> 电子发票(机票行程单)</td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> ElectronicTrainTicketFull</td>\n <td> 电子发票(铁路电子客票)</td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> MotorVehicleSaleInvoice </td>\n <td> 机动车销售统一发票 </td>\n <td> 12 </td>\n </tr>\n <tr>\n <td> UsedCarPurchaseInvoice </td>\n <td> 二手车销售统一发票 </td>\n <td> 12 </td>\n </tr>\n <tr>\n <td> VatInvoiceRoll </td>\n <td> 增值税普通发票(卷票) </td>\n <td> 11 </td>\n </tr>\n <tr>\n <td> TaxiTicket </td>\n <td> 出租车发票 </td>\n <td> 0 </td>\n </tr>\n <tr>\n <td> QuotaInvoice </td>\n <td> 定额发票 </td>\n <td> 1 </td>\n </tr>\n <tr>\n <td> TrainTicket </td>\n <td> 火车票 </td>\n <td> 2 </td>\n </tr>\n <tr>\n <td> AirTransport </td>\n <td> 机票行程单 </td>\n <td> 5 </td>\n </tr>\n <tr>\n <td> MachinePrintedInvoice </td>\n <td> 通用机打发票 </td>\n <td> 8 </td>\n </tr>\n <tr>\n <td> BusInvoice </td>\n <td> 汽车票 </td>\n <td> 9 </td>\n </tr>\n <tr>\n <td> ShippingInvoice </td>\n <td> 轮船票 </td>\n <td> 10 </td>\n </tr>\n <tr>\n <td> NonTaxIncomeGeneralBill </td>\n <td> 非税收入通用票据 </td>\n <td> 15 </td>\n </tr>\n <tr>\n <td> NonTaxIncomeElectronicBill </td>\n <td> 非税收入一般缴款书(电子) </td>\n <td> 15 </td>\n </tr>\n <tr>\n <td> TollInvoice </td>\n <td> 过路过桥费发票 </td>\n <td> 13 </td>\n </tr>\n <tr>\n <td> MedicalOutpatientInvoice </td>\n <td> 医疗门诊收费票据(电子) </td>\n <td> 17 </td>\n </tr>\n <tr>\n <td> MedicalHospitalizedInvoice </td>\n <td> 医疗住院收费票据(电子) </td>\n <td> 17 </td>\n </tr>\n <tr>\n <td> OtherInvoice </td>\n <td> 其他发票 </td>\n <td> -1 </td>\n </tr>\n </tbody>\n </table>",
|
362
369
|
"input": "RecognizeGeneralInvoiceRequest",
|
@@ -6126,6 +6133,42 @@
|
|
6126
6133
|
],
|
6127
6134
|
"type": "object"
|
6128
6135
|
},
|
6136
|
+
"GeneralCardWarnInfo": {
|
6137
|
+
"document": "通用卡证鉴伪告警信息",
|
6138
|
+
"members": [
|
6139
|
+
{
|
6140
|
+
"disabled": false,
|
6141
|
+
"document": "是否存在该告警",
|
6142
|
+
"example": "false",
|
6143
|
+
"member": "bool",
|
6144
|
+
"name": "IsWarn",
|
6145
|
+
"output_required": true,
|
6146
|
+
"type": "bool",
|
6147
|
+
"value_allowed_null": false
|
6148
|
+
},
|
6149
|
+
{
|
6150
|
+
"disabled": false,
|
6151
|
+
"document": "风险程度",
|
6152
|
+
"example": "0.5",
|
6153
|
+
"member": "float",
|
6154
|
+
"name": "RiskConfidence",
|
6155
|
+
"output_required": true,
|
6156
|
+
"type": "float",
|
6157
|
+
"value_allowed_null": false
|
6158
|
+
},
|
6159
|
+
{
|
6160
|
+
"disabled": false,
|
6161
|
+
"document": "告警位置四点坐标",
|
6162
|
+
"example": "无",
|
6163
|
+
"member": "Polygon",
|
6164
|
+
"name": "Polygon",
|
6165
|
+
"output_required": true,
|
6166
|
+
"type": "list",
|
6167
|
+
"value_allowed_null": false
|
6168
|
+
}
|
6169
|
+
],
|
6170
|
+
"usage": "out"
|
6171
|
+
},
|
6129
6172
|
"GeneralEfficientOCRRequest": {
|
6130
6173
|
"document": "GeneralEfficientOCR请求参数结构体",
|
6131
6174
|
"members": [
|
@@ -12883,6 +12926,139 @@
|
|
12883
12926
|
],
|
12884
12927
|
"type": "object"
|
12885
12928
|
},
|
12929
|
+
"RecognizeGeneralCardWarnRequest": {
|
12930
|
+
"document": "RecognizeGeneralCardWarn请求参数结构体",
|
12931
|
+
"members": [
|
12932
|
+
{
|
12933
|
+
"disabled": false,
|
12934
|
+
"document": "图片链接",
|
12935
|
+
"example": "https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/document/SmartStructuralOCR/SmartStructuralPro1.png\t",
|
12936
|
+
"member": "string",
|
12937
|
+
"name": "ImageUrl",
|
12938
|
+
"required": false,
|
12939
|
+
"type": "string"
|
12940
|
+
},
|
12941
|
+
{
|
12942
|
+
"disabled": false,
|
12943
|
+
"document": "图片base64",
|
12944
|
+
"example": "/9j/4AAQSkZJRg.....s97n//2Q==\t",
|
12945
|
+
"member": "string",
|
12946
|
+
"name": "ImageBase64",
|
12947
|
+
"required": false,
|
12948
|
+
"type": "string"
|
12949
|
+
},
|
12950
|
+
{
|
12951
|
+
"disabled": false,
|
12952
|
+
"document": "卡证类型参数,包含以下范围: \ndefault:通用卡证 \nidcard:身份证 \npassport:护照 \nbizlicense:营业执照 \nregcertificate:登记证书 \nresidpermit:居住证 \ntranspermit:通行证 \nsignboard:门头照 \nbankcard:银行卡 \ndrivinglicense:驾驶证、行驶证",
|
12953
|
+
"example": "default",
|
12954
|
+
"member": "string",
|
12955
|
+
"name": "CardType",
|
12956
|
+
"required": false,
|
12957
|
+
"type": "string"
|
12958
|
+
},
|
12959
|
+
{
|
12960
|
+
"disabled": false,
|
12961
|
+
"document": "是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。",
|
12962
|
+
"example": "false",
|
12963
|
+
"member": "bool",
|
12964
|
+
"name": "IsPdf",
|
12965
|
+
"required": false,
|
12966
|
+
"type": "bool"
|
12967
|
+
},
|
12968
|
+
{
|
12969
|
+
"disabled": false,
|
12970
|
+
"document": "需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。",
|
12971
|
+
"example": "1",
|
12972
|
+
"member": "uint64",
|
12973
|
+
"name": "PdfPageNumber",
|
12974
|
+
"required": false,
|
12975
|
+
"type": "int"
|
12976
|
+
}
|
12977
|
+
],
|
12978
|
+
"type": "object"
|
12979
|
+
},
|
12980
|
+
"RecognizeGeneralCardWarnResponse": {
|
12981
|
+
"document": "RecognizeGeneralCardWarn返回参数结构体",
|
12982
|
+
"members": [
|
12983
|
+
{
|
12984
|
+
"disabled": false,
|
12985
|
+
"document": "卡证类型参数,包含以下范围: \ndefault:通用卡证\nidcard:身份证 \npassport:护照 \nbizlicense:营业执照 \nregcertificate:登记证书 \nresidpermit:居住证 \ntranspermit:通行证 \nsignboard:门头照 \nbankcard:银行卡 \ndrivinglicense:驾驶证、行驶证",
|
12986
|
+
"example": "无",
|
12987
|
+
"member": "string",
|
12988
|
+
"name": "CardType",
|
12989
|
+
"output_required": false,
|
12990
|
+
"type": "string",
|
12991
|
+
"value_allowed_null": false
|
12992
|
+
},
|
12993
|
+
{
|
12994
|
+
"disabled": false,
|
12995
|
+
"document": "模糊信息",
|
12996
|
+
"example": "无",
|
12997
|
+
"member": "GeneralCardWarnInfo",
|
12998
|
+
"name": "Blur",
|
12999
|
+
"output_required": false,
|
13000
|
+
"type": "object",
|
13001
|
+
"value_allowed_null": false
|
13002
|
+
},
|
13003
|
+
{
|
13004
|
+
"disabled": false,
|
13005
|
+
"document": "边框不完整信息",
|
13006
|
+
"example": "无",
|
13007
|
+
"member": "GeneralCardWarnInfo",
|
13008
|
+
"name": "BorderIncomplete",
|
13009
|
+
"output_required": false,
|
13010
|
+
"type": "object",
|
13011
|
+
"value_allowed_null": false
|
13012
|
+
},
|
13013
|
+
{
|
13014
|
+
"disabled": false,
|
13015
|
+
"document": "复印件信息",
|
13016
|
+
"example": "无",
|
13017
|
+
"member": "GeneralCardWarnInfo",
|
13018
|
+
"name": "Copy",
|
13019
|
+
"output_required": false,
|
13020
|
+
"type": "object",
|
13021
|
+
"value_allowed_null": false
|
13022
|
+
},
|
13023
|
+
{
|
13024
|
+
"disabled": false,
|
13025
|
+
"document": "ps篡改信息",
|
13026
|
+
"example": "无",
|
13027
|
+
"member": "GeneralCardWarnInfo",
|
13028
|
+
"name": "Ps",
|
13029
|
+
"output_required": false,
|
13030
|
+
"type": "object",
|
13031
|
+
"value_allowed_null": false
|
13032
|
+
},
|
13033
|
+
{
|
13034
|
+
"disabled": false,
|
13035
|
+
"document": "反光信息",
|
13036
|
+
"example": "无",
|
13037
|
+
"member": "GeneralCardWarnInfo",
|
13038
|
+
"name": "Reflection",
|
13039
|
+
"output_required": false,
|
13040
|
+
"type": "object",
|
13041
|
+
"value_allowed_null": false
|
13042
|
+
},
|
13043
|
+
{
|
13044
|
+
"disabled": false,
|
13045
|
+
"document": "翻拍件信息",
|
13046
|
+
"example": "无",
|
13047
|
+
"member": "GeneralCardWarnInfo",
|
13048
|
+
"name": "Reprint",
|
13049
|
+
"output_required": false,
|
13050
|
+
"type": "object",
|
13051
|
+
"value_allowed_null": false
|
13052
|
+
},
|
13053
|
+
{
|
13054
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
13055
|
+
"member": "string",
|
13056
|
+
"name": "RequestId",
|
13057
|
+
"type": "string"
|
13058
|
+
}
|
13059
|
+
],
|
13060
|
+
"type": "object"
|
13061
|
+
},
|
12886
13062
|
"RecognizeGeneralInvoiceRequest": {
|
12887
13063
|
"document": "RecognizeGeneralInvoice请求参数结构体",
|
12888
13064
|
"members": [
|
@@ -450,6 +450,14 @@
|
|
450
450
|
"title": "外国人永久居留身份证识别"
|
451
451
|
}
|
452
452
|
],
|
453
|
+
"RecognizeGeneralCardWarn": [
|
454
|
+
{
|
455
|
+
"document": "身份证",
|
456
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeGeneralCardWarn\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/IDCardOCR/IDCardOCR1.jpg\"\n}",
|
457
|
+
"output": "{\n \"Response\": {\n \"Blur\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"RiskConfidence\": 0.01\n },\n \"BorderIncomplete\": {\n \"IsWarn\": true,\n \"Polygon\": [],\n \"RiskConfidence\": 0.99\n },\n \"CardType\": \"idcard\",\n \"Copy\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"RiskConfidence\": 0.01\n },\n \"Ps\": {\n \"IsWarn\": true,\n \"Polygon\": [\n {\n \"LeftBottom\": {\n \"X\": 679,\n \"Y\": 524\n },\n \"LeftTop\": {\n \"X\": 679,\n \"Y\": 86\n },\n \"RightBottom\": {\n \"X\": 985,\n \"Y\": 524\n },\n \"RightTop\": {\n \"X\": 985,\n \"Y\": 86\n }\n },\n {\n \"LeftBottom\": {\n \"X\": 377,\n \"Y\": 627\n },\n \"LeftTop\": {\n \"X\": 377,\n \"Y\": 582\n },\n \"RightBottom\": {\n \"X\": 947,\n \"Y\": 627\n },\n \"RightTop\": {\n \"X\": 947,\n \"Y\": 582\n }\n },\n {\n \"LeftBottom\": {\n \"X\": 205,\n \"Y\": 135\n },\n \"LeftTop\": {\n \"X\": 205,\n \"Y\": 93\n },\n \"RightBottom\": {\n \"X\": 288,\n \"Y\": 135\n },\n \"RightTop\": {\n \"X\": 288,\n \"Y\": 93\n }\n },\n {\n \"LeftBottom\": {\n \"X\": 206,\n \"Y\": 307\n },\n \"LeftTop\": {\n \"X\": 206,\n \"Y\": 269\n },\n \"RightBottom\": {\n \"X\": 297,\n \"Y\": 307\n },\n \"RightTop\": {\n \"X\": 297,\n \"Y\": 269\n }\n },\n {\n \"LeftBottom\": {\n \"X\": 206,\n \"Y\": 221\n },\n \"LeftTop\": {\n \"X\": 206,\n \"Y\": 183\n },\n \"RightBottom\": {\n \"X\": 244,\n \"Y\": 221\n },\n \"RightTop\": {\n \"X\": 244,\n \"Y\": 183\n }\n },\n {\n \"LeftBottom\": {\n \"X\": 198,\n \"Y\": 402\n },\n \"LeftTop\": {\n \"X\": 198,\n \"Y\": 359\n },\n \"RightBottom\": {\n \"X\": 649,\n \"Y\": 402\n },\n \"RightTop\": {\n \"X\": 649,\n \"Y\": 359\n }\n },\n {\n \"LeftBottom\": {\n \"X\": 630,\n \"Y\": 623\n },\n \"LeftTop\": {\n \"X\": 630,\n \"Y\": 582\n },\n \"RightBottom\": {\n \"X\": 661,\n \"Y\": 623\n },\n \"RightTop\": {\n \"X\": 661,\n \"Y\": 582\n }\n }\n ],\n \"RiskConfidence\": 0.7648103\n },\n \"Reflection\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"RiskConfidence\": 0.04\n },\n \"Reprint\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"RiskConfidence\": 0.01\n },\n \"RequestId\": \"b4bdbf23-9788-413f-90b4-ffe2cedf773b\"\n }\n}",
|
458
|
+
"title": "通用卡证ps检测告警"
|
459
|
+
}
|
460
|
+
],
|
453
461
|
"RecognizeGeneralInvoice": [
|
454
462
|
{
|
455
463
|
"document": "通用票据识别(高级版)识别多张票据",
|