tccli 3.0.1267.1__py2.py3-none-any.whl → 3.0.1269.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.
Files changed (101) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +5 -1
  3. tccli/services/aiart/aiart_client.py +106 -0
  4. tccli/services/aiart/v20221229/api.json +275 -0
  5. tccli/services/aiart/v20221229/examples.json +16 -0
  6. tccli/services/antiddos/v20200309/api.json +194 -136
  7. tccli/services/antiddos/v20200309/examples.json +15 -15
  8. tccli/services/bi/v20220105/api.json +1 -1
  9. tccli/services/billing/billing_client.py +4 -163
  10. tccli/services/billing/v20180709/api.json +0 -489
  11. tccli/services/billing/v20180709/examples.json +0 -24
  12. tccli/services/cat/v20180409/api.json +3 -1
  13. tccli/services/cbs/v20170312/api.json +27 -0
  14. tccli/services/ccc/v20200210/api.json +11 -11
  15. tccli/services/ccc/v20200210/examples.json +2 -2
  16. tccli/services/cdb/v20170320/api.json +48 -18
  17. tccli/services/cdn/v20180606/api.json +3 -0
  18. tccli/services/cfw/v20190904/api.json +30 -30
  19. tccli/services/ckafka/v20190819/api.json +10 -0
  20. tccli/services/cloudaudit/v20190319/api.json +3 -3
  21. tccli/services/cloudaudit/v20190319/examples.json +1 -1
  22. tccli/services/csip/v20221121/api.json +38 -38
  23. tccli/services/cwp/cwp_client.py +4 -57
  24. tccli/services/cwp/v20180228/api.json +11 -185
  25. tccli/services/cwp/v20180228/examples.json +0 -8
  26. tccli/services/cynosdb/v20190107/api.json +1 -1
  27. tccli/services/cynosdb/v20190107/examples.json +1 -1
  28. tccli/services/dcdb/dcdb_client.py +122 -16
  29. tccli/services/dcdb/v20180411/api.json +222 -0
  30. tccli/services/dcdb/v20180411/examples.json +16 -0
  31. tccli/services/dlc/v20210125/api.json +145 -26
  32. tccli/services/dlc/v20210125/examples.json +18 -18
  33. tccli/services/domain/v20180808/api.json +8 -8
  34. tccli/services/domain/v20180808/examples.json +3 -3
  35. tccli/services/es/v20180416/api.json +9 -9
  36. tccli/services/ess/v20201111/api.json +1 -1
  37. tccli/services/essbasic/v20210526/api.json +3 -3
  38. tccli/services/essbasic/v20210526/examples.json +2 -2
  39. tccli/services/facefusion/v20220927/api.json +4 -4
  40. tccli/services/faceid/v20180301/api.json +5 -5
  41. tccli/services/faceid/v20180301/examples.json +6 -0
  42. tccli/services/gme/v20180711/api.json +118 -115
  43. tccli/services/gme/v20180711/examples.json +6 -6
  44. tccli/services/hunyuan/v20230901/api.json +9 -0
  45. tccli/services/iotexplorer/v20190423/api.json +4 -4
  46. tccli/services/iotexplorer/v20190423/examples.json +5 -5
  47. tccli/services/keewidb/v20220308/api.json +2 -2
  48. tccli/services/lcic/lcic_client.py +61 -8
  49. tccli/services/lcic/v20220817/api.json +230 -177
  50. tccli/services/lcic/v20220817/examples.json +10 -2
  51. tccli/services/lighthouse/v20200324/api.json +80 -71
  52. tccli/services/live/v20180801/api.json +60 -4
  53. tccli/services/lke/v20231130/api.json +31 -0
  54. tccli/services/lkeap/v20240522/api.json +55 -9
  55. tccli/services/lkeap/v20240522/examples.json +1 -1
  56. tccli/services/mna/mna_client.py +106 -0
  57. tccli/services/mna/v20210119/api.json +246 -0
  58. tccli/services/mna/v20210119/examples.json +16 -0
  59. tccli/services/monitor/monitor_client.py +62 -57
  60. tccli/services/monitor/v20230616/api.json +266 -0
  61. tccli/services/monitor/v20230616/examples.json +19 -0
  62. tccli/services/mqtt/mqtt_client.py +489 -12
  63. tccli/services/mqtt/v20240516/api.json +864 -3
  64. tccli/services/mqtt/v20240516/examples.json +72 -0
  65. tccli/services/ocr/ocr_client.py +53 -0
  66. tccli/services/ocr/v20181119/api.json +287 -23
  67. tccli/services/ocr/v20181119/examples.json +8 -0
  68. tccli/services/postgres/postgres_client.py +334 -16
  69. tccli/services/postgres/v20170312/api.json +718 -35
  70. tccli/services/postgres/v20170312/examples.json +72 -0
  71. tccli/services/rum/v20210622/api.json +1 -1
  72. tccli/services/smh/v20210712/api.json +50 -30
  73. tccli/services/ssl/v20191205/api.json +496 -493
  74. tccli/services/ssl/v20191205/examples.json +144 -24
  75. tccli/services/taf/taf_client.py +0 -159
  76. tccli/services/taf/v20200210/api.json +0 -665
  77. tccli/services/taf/v20200210/examples.json +0 -24
  78. tccli/services/tdmq/v20200217/api.json +97 -0
  79. tccli/services/teo/v20220901/api.json +5 -5
  80. tccli/services/thpc/v20230321/api.json +19 -0
  81. tccli/services/tione/v20211111/api.json +14 -3
  82. tccli/services/trabbit/__init__.py +4 -0
  83. tccli/services/trabbit/trabbit_client.py +1691 -0
  84. tccli/services/trabbit/v20230418/api.json +4773 -0
  85. tccli/services/trabbit/v20230418/examples.json +237 -0
  86. tccli/services/trocket/v20230308/api.json +130 -11
  87. tccli/services/trtc/v20190722/api.json +8 -8
  88. tccli/services/trtc/v20190722/examples.json +2 -2
  89. tccli/services/vclm/v20240523/api.json +0 -450
  90. tccli/services/vclm/v20240523/examples.json +0 -48
  91. tccli/services/vclm/vclm_client.py +0 -159
  92. tccli/services/vpc/v20170312/api.json +46 -39
  93. tccli/services/vpc/v20170312/examples.json +3 -3
  94. tccli/services/wedata/v20210820/api.json +240 -42
  95. tccli/services/wedata/v20210820/examples.json +17 -3
  96. tccli/services/wedata/wedata_client.py +53 -0
  97. {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/METADATA +2 -2
  98. {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/RECORD +101 -95
  99. {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/WHEEL +0 -0
  100. {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/entry_points.txt +0 -0
  101. {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/license_files/LICENSE +0 -0
@@ -185,14 +185,14 @@
185
185
  "GetOCRResult": {
186
186
  "document": "获取ocr结果",
187
187
  "input": "GetOCRResultRequest",
188
- "name": "得到ocr的信息",
188
+ "name": "获取OCR识别结果",
189
189
  "output": "GetOCRResultResponse",
190
190
  "status": "online"
191
191
  },
192
192
  "GetOCRToken": {
193
193
  "document": "获取ocr的token值",
194
194
  "input": "GetOCRTokenRequest",
195
- "name": "得到ocr的token",
195
+ "name": "获取OCR Token",
196
196
  "output": "GetOCRTokenResponse",
197
197
  "status": "online"
198
198
  },
@@ -378,6 +378,13 @@
378
378
  "output": "RecognizeFormulaOCRResponse",
379
379
  "status": "online"
380
380
  },
381
+ "RecognizeGeneralCardWarn": {
382
+ "document": "支持通用证照的有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能,支持通用证照的ps伪造检测,可以应用于各种证件信息有效性校验场景。",
383
+ "input": "RecognizeGeneralCardWarnRequest",
384
+ "name": "通用卡证鉴伪",
385
+ "output": "RecognizeGeneralCardWarnResponse",
386
+ "status": "online"
387
+ },
381
388
  "RecognizeGeneralInvoice": {
382
389
  "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>",
383
390
  "input": "RecognizeGeneralInvoiceRequest",
@@ -1187,7 +1194,7 @@
1187
1194
  },
1188
1195
  {
1189
1196
  "disabled": false,
1190
- "document": "有效截至日期",
1197
+ "document": "有效截止日期",
1191
1198
  "example": "无",
1192
1199
  "member": "string",
1193
1200
  "name": "DateEnd",
@@ -5921,6 +5928,26 @@
5921
5928
  "output_required": true,
5922
5929
  "type": "string",
5923
5930
  "value_allowed_null": false
5931
+ },
5932
+ {
5933
+ "disabled": false,
5934
+ "document": "客票生效日期",
5935
+ "example": "无",
5936
+ "member": "string",
5937
+ "name": "DateStart",
5938
+ "output_required": true,
5939
+ "type": "string",
5940
+ "value_allowed_null": false
5941
+ },
5942
+ {
5943
+ "disabled": false,
5944
+ "document": "有效截止日期",
5945
+ "example": "无",
5946
+ "member": "string",
5947
+ "name": "DateEnd",
5948
+ "output_required": true,
5949
+ "type": "string",
5950
+ "value_allowed_null": false
5924
5951
  }
5925
5952
  ],
5926
5953
  "usage": "out"
@@ -6223,6 +6250,42 @@
6223
6250
  ],
6224
6251
  "type": "object"
6225
6252
  },
6253
+ "GeneralCardWarnInfo": {
6254
+ "document": "通用卡证鉴伪告警信息",
6255
+ "members": [
6256
+ {
6257
+ "disabled": false,
6258
+ "document": "是否存在该告警",
6259
+ "example": "false",
6260
+ "member": "bool",
6261
+ "name": "IsWarn",
6262
+ "output_required": true,
6263
+ "type": "bool",
6264
+ "value_allowed_null": false
6265
+ },
6266
+ {
6267
+ "disabled": false,
6268
+ "document": "风险程度",
6269
+ "example": "0.5",
6270
+ "member": "float",
6271
+ "name": "RiskConfidence",
6272
+ "output_required": true,
6273
+ "type": "float",
6274
+ "value_allowed_null": false
6275
+ },
6276
+ {
6277
+ "disabled": false,
6278
+ "document": "告警位置四点坐标",
6279
+ "example": "无",
6280
+ "member": "Polygon",
6281
+ "name": "Polygon",
6282
+ "output_required": true,
6283
+ "type": "list",
6284
+ "value_allowed_null": false
6285
+ }
6286
+ ],
6287
+ "usage": "out"
6288
+ },
6226
6289
  "GeneralEfficientOCRRequest": {
6227
6290
  "document": "GeneralEfficientOCR请求参数结构体",
6228
6291
  "members": [
@@ -7157,6 +7220,15 @@
7157
7220
  "name": "ReflectWarn",
7158
7221
  "required": false,
7159
7222
  "type": "bool"
7223
+ },
7224
+ {
7225
+ "disabled": false,
7226
+ "document": "是否开启头像剪切",
7227
+ "example": "false",
7228
+ "member": "bool",
7229
+ "name": "CropPortrait",
7230
+ "required": false,
7231
+ "type": "bool"
7160
7232
  }
7161
7233
  ],
7162
7234
  "usage": "in"
@@ -7292,8 +7364,8 @@
7292
7364
  },
7293
7365
  {
7294
7366
  "disabled": false,
7295
- "document": "地址\n注意:此字段可能返回 null,表示取不到有效值。",
7296
- "example": "",
7367
+ "document": "地址(人像面)\n注意:此字段可能返回 null,表示取不到有效值。",
7368
+ "example": "北京市石景山区高新技术园腾讯大楼",
7297
7369
  "member": "string",
7298
7370
  "name": "Address",
7299
7371
  "output_required": false,
@@ -7302,8 +7374,8 @@
7302
7374
  },
7303
7375
  {
7304
7376
  "disabled": false,
7305
- "document": "签发机关\n注意:此字段可能返回 null,表示取不到有效值。",
7306
- "example": "",
7377
+ "document": "发证机关(国徽面)\n注意:此字段可能返回 null,表示取不到有效值。",
7378
+ "example": "深圳市公安局南山分局",
7307
7379
  "member": "string",
7308
7380
  "name": "Authority",
7309
7381
  "output_required": false,
@@ -7312,8 +7384,8 @@
7312
7384
  },
7313
7385
  {
7314
7386
  "disabled": false,
7315
- "document": "出生日期\n注意:此字段可能返回 null,表示取不到有效值。",
7316
- "example": "",
7387
+ "document": "出生日期(人像面)\n注意:此字段可能返回 null,表示取不到有效值。",
7388
+ "example": "1987/1/1",
7317
7389
  "member": "string",
7318
7390
  "name": "Birth",
7319
7391
  "output_required": false,
@@ -7322,8 +7394,8 @@
7322
7394
  },
7323
7395
  {
7324
7396
  "disabled": false,
7325
- "document": "身份证号\n注意:此字段可能返回 null,表示取不到有效值。",
7326
- "example": "",
7397
+ "document": "身份证号(人像面)\n注意:此字段可能返回 null,表示取不到有效值。",
7398
+ "example": "440524198701010014",
7327
7399
  "member": "string",
7328
7400
  "name": "IdNum",
7329
7401
  "output_required": false,
@@ -7332,8 +7404,8 @@
7332
7404
  },
7333
7405
  {
7334
7406
  "disabled": false,
7335
- "document": "名字\n注意:此字段可能返回 null,表示取不到有效值。",
7336
- "example": "",
7407
+ "document": "名字(人像面)\n注意:此字段可能返回 null,表示取不到有效值。",
7408
+ "example": "李明",
7337
7409
  "member": "string",
7338
7410
  "name": "Name",
7339
7411
  "output_required": false,
@@ -7342,8 +7414,8 @@
7342
7414
  },
7343
7415
  {
7344
7416
  "disabled": false,
7345
- "document": "地区\n注意:此字段可能返回 null,表示取不到有效值。",
7346
- "example": "",
7417
+ "document": "民族(人像面)\n注意:此字段可能返回 null,表示取不到有效值。",
7418
+ "example": "",
7347
7419
  "member": "string",
7348
7420
  "name": "Nation",
7349
7421
  "output_required": false,
@@ -7352,8 +7424,8 @@
7352
7424
  },
7353
7425
  {
7354
7426
  "disabled": false,
7355
- "document": "性别\n注意:此字段可能返回 null,表示取不到有效值。",
7356
- "example": "",
7427
+ "document": "性别(人像面)\n注意:此字段可能返回 null,表示取不到有效值。",
7428
+ "example": "",
7357
7429
  "member": "string",
7358
7430
  "name": "Sex",
7359
7431
  "output_required": false,
@@ -7362,8 +7434,8 @@
7362
7434
  },
7363
7435
  {
7364
7436
  "disabled": false,
7365
- "document": "到期时间\n注意:此字段可能返回 null,表示取不到有效值。",
7366
- "example": "",
7437
+ "document": "证件有效期(国徽面)\n注意:此字段可能返回 null,表示取不到有效值。",
7438
+ "example": "2017.08.12-2037.08.12",
7367
7439
  "member": "string",
7368
7440
  "name": "ValidDate",
7369
7441
  "output_required": false,
@@ -7373,7 +7445,7 @@
7373
7445
  {
7374
7446
  "disabled": false,
7375
7447
  "document": "请求的id\n注意:此字段可能返回 null,表示取不到有效值。",
7376
- "example": "",
7448
+ "example": "03f05619-5e99-42e3-bc47-17a88e47b3ff",
7377
7449
  "member": "string",
7378
7450
  "name": "RequestId",
7379
7451
  "output_required": false,
@@ -7383,7 +7455,7 @@
7383
7455
  {
7384
7456
  "disabled": false,
7385
7457
  "document": "错误码\n注意:此字段可能返回 null,表示取不到有效值。",
7386
- "example": "",
7458
+ "example": "Success",
7387
7459
  "member": "string",
7388
7460
  "name": "ErrorCode",
7389
7461
  "output_required": false,
@@ -7393,7 +7465,7 @@
7393
7465
  {
7394
7466
  "disabled": false,
7395
7467
  "document": "错误信息\n注意:此字段可能返回 null,表示取不到有效值。",
7396
- "example": "",
7468
+ "example": "成功",
7397
7469
  "member": "string",
7398
7470
  "name": "ErrorMessage",
7399
7471
  "output_required": false,
@@ -7403,12 +7475,22 @@
7403
7475
  {
7404
7476
  "disabled": false,
7405
7477
  "document": "原图地址",
7406
- "example": "",
7478
+ "example": "https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/IDCardOCR/IDCardOCR1.jpg",
7407
7479
  "member": "string",
7408
7480
  "name": "ImageUrl",
7409
7481
  "output_required": false,
7410
7482
  "type": "string",
7411
7483
  "value_allowed_null": false
7484
+ },
7485
+ {
7486
+ "disabled": false,
7487
+ "document": "身份证头像照片的地址(人像面)",
7488
+ "example": "https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/IDCardOCR/IDCardOCR1.jpg",
7489
+ "member": "string",
7490
+ "name": "PortraitUrl",
7491
+ "output_required": false,
7492
+ "type": "string",
7493
+ "value_allowed_null": false
7412
7494
  }
7413
7495
  ],
7414
7496
  "usage": "out"
@@ -12161,6 +12243,15 @@
12161
12243
  "name": "EnableImageCrop",
12162
12244
  "required": false,
12163
12245
  "type": "bool"
12246
+ },
12247
+ {
12248
+ "disabled": false,
12249
+ "document": "是否只返回检测框,默认false",
12250
+ "example": "false",
12251
+ "member": "bool",
12252
+ "name": "EnableOnlyDetectBorder",
12253
+ "required": false,
12254
+ "type": "bool"
12164
12255
  }
12165
12256
  ],
12166
12257
  "type": "object"
@@ -13276,6 +13367,139 @@
13276
13367
  ],
13277
13368
  "type": "object"
13278
13369
  },
13370
+ "RecognizeGeneralCardWarnRequest": {
13371
+ "document": "RecognizeGeneralCardWarn请求参数结构体",
13372
+ "members": [
13373
+ {
13374
+ "disabled": false,
13375
+ "document": "图片链接",
13376
+ "example": "https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/IDCardOCR/IDCardOCR1.jpg",
13377
+ "member": "string",
13378
+ "name": "ImageUrl",
13379
+ "required": false,
13380
+ "type": "string"
13381
+ },
13382
+ {
13383
+ "disabled": false,
13384
+ "document": "图片base64",
13385
+ "example": "/9j/4AAQSkZJRg.....s97n//2Q==\t",
13386
+ "member": "string",
13387
+ "name": "ImageBase64",
13388
+ "required": false,
13389
+ "type": "string"
13390
+ },
13391
+ {
13392
+ "disabled": false,
13393
+ "document": "卡证类型参数,包含以下范围: \nGeneral:通用卡证\nIDCard:身份证 \nPassport:护照 \nBankCard:银行卡\nVehicleLicense:行驶证\nDriverLicense:驾驶证\nBizLicense:营业执照 \nHmtResidentPermit:港澳台居住证\nForeignPermanentResident:外国人永居证\nMainlandPermit:港澳台来往内地通行证",
13394
+ "example": "General",
13395
+ "member": "string",
13396
+ "name": "CardType",
13397
+ "required": false,
13398
+ "type": "string"
13399
+ },
13400
+ {
13401
+ "disabled": false,
13402
+ "document": "是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。",
13403
+ "example": "false",
13404
+ "member": "bool",
13405
+ "name": "IsPdf",
13406
+ "required": false,
13407
+ "type": "bool"
13408
+ },
13409
+ {
13410
+ "disabled": false,
13411
+ "document": "需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。",
13412
+ "example": "1",
13413
+ "member": "uint64",
13414
+ "name": "PdfPageNumber",
13415
+ "required": false,
13416
+ "type": "int"
13417
+ }
13418
+ ],
13419
+ "type": "object"
13420
+ },
13421
+ "RecognizeGeneralCardWarnResponse": {
13422
+ "document": "RecognizeGeneralCardWarn返回参数结构体",
13423
+ "members": [
13424
+ {
13425
+ "disabled": false,
13426
+ "document": "卡证类型参数,包含以下范围: \nGeneral:通用卡证\nIDCard:身份证 \nPassport:护照 \nBankCard:银行卡\nVehicleLicense:行驶证\nDriverLicense:驾驶证\nBizLicense:营业执照 \nHmtResidentPermit:港澳台居住证\nForeignPermanentResident:外国人永居证\nMainlandPermit:港澳台来往内地通行证",
13427
+ "example": "无",
13428
+ "member": "string",
13429
+ "name": "CardType",
13430
+ "output_required": false,
13431
+ "type": "string",
13432
+ "value_allowed_null": false
13433
+ },
13434
+ {
13435
+ "disabled": false,
13436
+ "document": "模糊信息",
13437
+ "example": "无",
13438
+ "member": "GeneralCardWarnInfo",
13439
+ "name": "Blur",
13440
+ "output_required": false,
13441
+ "type": "object",
13442
+ "value_allowed_null": false
13443
+ },
13444
+ {
13445
+ "disabled": false,
13446
+ "document": "边框不完整信息",
13447
+ "example": "无",
13448
+ "member": "GeneralCardWarnInfo",
13449
+ "name": "BorderIncomplete",
13450
+ "output_required": false,
13451
+ "type": "object",
13452
+ "value_allowed_null": false
13453
+ },
13454
+ {
13455
+ "disabled": false,
13456
+ "document": "复印件信息",
13457
+ "example": "无",
13458
+ "member": "GeneralCardWarnInfo",
13459
+ "name": "Copy",
13460
+ "output_required": false,
13461
+ "type": "object",
13462
+ "value_allowed_null": false
13463
+ },
13464
+ {
13465
+ "disabled": false,
13466
+ "document": "ps篡改信息",
13467
+ "example": "无",
13468
+ "member": "GeneralCardWarnInfo",
13469
+ "name": "Ps",
13470
+ "output_required": false,
13471
+ "type": "object",
13472
+ "value_allowed_null": false
13473
+ },
13474
+ {
13475
+ "disabled": false,
13476
+ "document": "反光信息",
13477
+ "example": "无",
13478
+ "member": "GeneralCardWarnInfo",
13479
+ "name": "Reflection",
13480
+ "output_required": false,
13481
+ "type": "object",
13482
+ "value_allowed_null": false
13483
+ },
13484
+ {
13485
+ "disabled": false,
13486
+ "document": "翻拍件信息",
13487
+ "example": "无",
13488
+ "member": "GeneralCardWarnInfo",
13489
+ "name": "Reprint",
13490
+ "output_required": false,
13491
+ "type": "object",
13492
+ "value_allowed_null": false
13493
+ },
13494
+ {
13495
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
13496
+ "member": "string",
13497
+ "name": "RequestId",
13498
+ "type": "string"
13499
+ }
13500
+ ],
13501
+ "type": "object"
13502
+ },
13279
13503
  "RecognizeGeneralInvoiceRequest": {
13280
13504
  "document": "RecognizeGeneralInvoice请求参数结构体",
13281
13505
  "members": [
@@ -20275,6 +20499,46 @@
20275
20499
  "output_required": true,
20276
20500
  "type": "string",
20277
20501
  "value_allowed_null": false
20502
+ },
20503
+ {
20504
+ "disabled": false,
20505
+ "document": "出行人,仅旅客运输服务发票返回",
20506
+ "example": "无",
20507
+ "member": "string",
20508
+ "name": "Traveler",
20509
+ "output_required": true,
20510
+ "type": "string",
20511
+ "value_allowed_null": false
20512
+ },
20513
+ {
20514
+ "disabled": false,
20515
+ "document": "有效身份证件号,仅旅客运输服务发票返回",
20516
+ "example": "无",
20517
+ "member": "string",
20518
+ "name": "TravelerID",
20519
+ "output_required": true,
20520
+ "type": "string",
20521
+ "value_allowed_null": false
20522
+ },
20523
+ {
20524
+ "disabled": false,
20525
+ "document": "出行日期,仅旅客运输服务发票返回",
20526
+ "example": "无",
20527
+ "member": "string",
20528
+ "name": "TravelDate",
20529
+ "output_required": true,
20530
+ "type": "string",
20531
+ "value_allowed_null": false
20532
+ },
20533
+ {
20534
+ "disabled": false,
20535
+ "document": "等级,仅旅客运输服务发票返回",
20536
+ "example": "无",
20537
+ "member": "string",
20538
+ "name": "TravelLevel",
20539
+ "output_required": true,
20540
+ "type": "string",
20541
+ "value_allowed_null": false
20278
20542
  }
20279
20543
  ],
20280
20544
  "usage": "out"
@@ -474,6 +474,14 @@
474
474
  "title": "公式识别调用示例"
475
475
  }
476
476
  ],
477
+ "RecognizeGeneralCardWarn": [
478
+ {
479
+ "document": "身份证",
480
+ "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}",
481
+ "output": "{\n \"Response\": {\n \"Blur\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"RiskConfidence\": 0.01\n },\n \"BorderIncomplete\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"RiskConfidence\": 0.01\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\": 477,\n \"Y\": 494\n },\n \"LeftTop\": {\n \"X\": 477,\n \"Y\": 257\n },\n \"RightBottom\": {\n \"X\": 662,\n \"Y\": 494\n },\n \"RightTop\": {\n \"X\": 662,\n \"Y\": 257\n }\n },\n {\n \"LeftBottom\": {\n \"X\": 309,\n \"Y\": 551\n },\n \"LeftTop\": {\n \"X\": 309,\n \"Y\": 527\n },\n \"RightBottom\": {\n \"X\": 617,\n \"Y\": 551\n },\n \"RightTop\": {\n \"X\": 617,\n \"Y\": 527\n }\n },\n {\n \"LeftBottom\": {\n \"X\": 210,\n \"Y\": 461\n },\n \"LeftTop\": {\n \"X\": 210,\n \"Y\": 403\n },\n \"RightBottom\": {\n \"X\": 417,\n \"Y\": 461\n },\n \"RightTop\": {\n \"X\": 417,\n \"Y\": 403\n }\n },\n {\n \"LeftBottom\": {\n \"X\": 218,\n \"Y\": 284\n },\n \"LeftTop\": {\n \"X\": 218,\n \"Y\": 256\n },\n \"RightBottom\": {\n \"X\": 284,\n \"Y\": 284\n },\n \"RightTop\": {\n \"X\": 284,\n \"Y\": 256\n }\n },\n {\n \"LeftBottom\": {\n \"X\": 216,\n \"Y\": 379\n },\n \"LeftTop\": {\n \"X\": 216,\n \"Y\": 358\n },\n \"RightBottom\": {\n \"X\": 268,\n \"Y\": 379\n },\n \"RightTop\": {\n \"X\": 268,\n \"Y\": 358\n }\n },\n {\n \"LeftBottom\": {\n \"X\": 309,\n \"Y\": 377\n },\n \"LeftTop\": {\n \"X\": 309,\n \"Y\": 356\n },\n \"RightBottom\": {\n \"X\": 326,\n \"Y\": 377\n },\n \"RightTop\": {\n \"X\": 326,\n \"Y\": 356\n }\n },\n {\n \"LeftBottom\": {\n \"X\": 361,\n \"Y\": 378\n },\n \"LeftTop\": {\n \"X\": 361,\n \"Y\": 356\n },\n \"RightBottom\": {\n \"X\": 386,\n \"Y\": 378\n },\n \"RightTop\": {\n \"X\": 386,\n \"Y\": 356\n }\n }\n ],\n \"RiskConfidence\": 0.9318133\n },\n \"Reflection\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"RiskConfidence\": 0.01\n },\n \"Reprint\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"RiskConfidence\": 0.01\n },\n \"RequestId\": \"b8b73be7-2d64-49c6-8cbc-3b1d2b5f3651\"\n }\n}",
482
+ "title": "通用卡证ps检测告警"
483
+ }
484
+ ],
477
485
  "RecognizeGeneralInvoice": [
478
486
  {
479
487
  "document": "通用票据识别(高级版)识别多张票据",