tccli 3.0.1240.1__py2.py3-none-any.whl → 3.0.1242.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/apm/v20210622/api.json +276 -279
- tccli/services/apm/v20210622/examples.json +30 -30
- tccli/services/autoscaling/v20180419/api.json +12 -1
- tccli/services/batch/v20170312/api.json +11 -11
- tccli/services/bh/v20230418/api.json +9 -0
- tccli/services/bh/v20230418/examples.json +2 -2
- tccli/services/billing/v20180709/api.json +20 -0
- tccli/services/cam/v20190116/api.json +1 -1
- tccli/services/car/v20220110/api.json +1 -1
- tccli/services/car/v20220110/examples.json +3 -3
- tccli/services/cdb/v20170320/api.json +582 -579
- tccli/services/cdb/v20170320/examples.json +9 -9
- tccli/services/cdwdoris/v20211228/api.json +40 -0
- tccli/services/cfg/v20210820/api.json +11 -0
- tccli/services/cfs/v20190719/api.json +20 -20
- tccli/services/cfs/v20190719/examples.json +5 -5
- tccli/services/chdfs/v20201112/api.json +10 -10
- tccli/services/chdfs/v20201112/examples.json +1 -1
- tccli/services/ckafka/v20190819/api.json +27 -0
- tccli/services/clb/v20180317/api.json +84 -64
- tccli/services/cls/cls_client.py +220 -8
- tccli/services/cls/v20201016/api.json +418 -40
- tccli/services/cls/v20201016/examples.json +89 -45
- tccli/services/cmq/v20190304/api.json +77 -77
- tccli/services/cvm/cvm_client.py +60 -325
- tccli/services/cvm/v20170312/api.json +618 -1401
- tccli/services/cvm/v20170312/examples.json +8 -48
- tccli/services/cwp/cwp_client.py +0 -53
- tccli/services/cwp/v20180228/api.json +3 -37
- tccli/services/cwp/v20180228/examples.json +2 -10
- tccli/services/cynosdb/v20190107/api.json +470 -476
- tccli/services/cynosdb/v20190107/examples.json +23 -23
- tccli/services/dbbrain/v20191016/api.json +16 -4
- tccli/services/dbbrain/v20191016/examples.json +5 -5
- tccli/services/dbbrain/v20210527/api.json +45 -45
- tccli/services/dbbrain/v20210527/examples.json +8 -8
- tccli/services/dnspod/v20210323/api.json +173 -119
- tccli/services/dnspod/v20210323/examples.json +18 -18
- tccli/services/dts/v20180330/api.json +30 -30
- tccli/services/dts/v20180330/examples.json +4 -4
- tccli/services/dts/v20211206/api.json +19 -9
- tccli/services/dts/v20211206/examples.json +5 -5
- tccli/services/ecm/v20190719/api.json +55 -48
- tccli/services/ecm/v20190719/examples.json +7 -7
- tccli/services/emr/emr_client.py +493 -16
- tccli/services/emr/v20190103/api.json +1323 -246
- tccli/services/emr/v20190103/examples.json +72 -0
- tccli/services/ess/v20201111/api.json +29 -11
- tccli/services/ess/v20201111/examples.json +6 -0
- tccli/services/essbasic/v20210526/api.json +89 -2
- tccli/services/essbasic/v20210526/examples.json +12 -0
- tccli/services/faceid/v20180301/api.json +3 -3
- tccli/services/gaap/v20180529/api.json +194 -196
- tccli/services/gaap/v20180529/examples.json +31 -37
- tccli/services/goosefs/v20220519/api.json +17 -17
- tccli/services/goosefs/v20220519/examples.json +4 -4
- tccli/services/gs/v20191118/api.json +3 -3
- tccli/services/gs/v20191118/examples.json +3 -3
- tccli/services/iai/iai_client.py +53 -0
- tccli/services/iai/v20200303/api.json +80 -0
- tccli/services/iai/v20200303/examples.json +14 -0
- tccli/services/iotexplorer/v20190423/api.json +10 -0
- tccli/services/iotvideoindustry/v20201201/api.json +84 -84
- tccli/services/iotvideoindustry/v20201201/examples.json +29 -29
- tccli/services/keewidb/v20220308/api.json +188 -190
- tccli/services/live/v20180801/api.json +324 -223
- tccli/services/live/v20180801/examples.json +79 -79
- tccli/services/mna/v20210119/api.json +52 -49
- tccli/services/mna/v20210119/examples.json +49 -49
- tccli/services/mps/v20190612/api.json +49 -0
- tccli/services/oceanus/v20190422/api.json +407 -39
- tccli/services/oceanus/v20190422/examples.json +1 -1
- tccli/services/ocr/ocr_client.py +110 -4
- tccli/services/ocr/v20181119/api.json +410 -6
- tccli/services/ocr/v20181119/examples.json +18 -2
- tccli/services/pts/v20210728/api.json +1 -1
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/sqlserver/v20180328/api.json +273 -144
- tccli/services/sqlserver/v20180328/examples.json +2 -2
- tccli/services/ssl/v20191205/api.json +829 -829
- tccli/services/ssl/v20191205/examples.json +14 -14
- tccli/services/tbaas/v20180416/api.json +127 -88
- tccli/services/tbaas/v20180416/examples.json +9 -9
- tccli/services/tcb/v20180608/api.json +229 -189
- tccli/services/tcb/v20180608/examples.json +23 -23
- tccli/services/tcm/v20210413/api.json +6 -6
- tccli/services/tcm/v20210413/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +25 -20
- tccli/services/tcr/v20190924/examples.json +4 -4
- tccli/services/tdmq/tdmq_client.py +167 -8
- tccli/services/tdmq/v20200217/api.json +325 -0
- tccli/services/tdmq/v20200217/examples.json +24 -0
- tccli/services/tem/v20210701/api.json +439 -280
- tccli/services/tem/v20210701/examples.json +39 -39
- tccli/services/teo/v20220901/api.json +2 -2
- tccli/services/teo/v20220901/examples.json +3 -3
- tccli/services/thpc/v20211109/api.json +46 -58
- tccli/services/thpc/v20211109/examples.json +2 -2
- tccli/services/thpc/v20220401/api.json +168 -181
- tccli/services/thpc/v20220401/examples.json +1 -1
- tccli/services/thpc/v20230321/api.json +99 -102
- tccli/services/thpc/v20230321/examples.json +3 -3
- tccli/services/tke/v20180525/api.json +50 -39
- tccli/services/tke/v20180525/examples.json +51 -21
- tccli/services/tke/v20220501/api.json +146 -97
- tccli/services/tke/v20220501/examples.json +15 -21
- tccli/services/trocket/trocket_client.py +53 -0
- tccli/services/trocket/v20230308/api.json +219 -0
- tccli/services/trocket/v20230308/examples.json +8 -0
- tccli/services/trro/v20220325/api.json +27 -27
- tccli/services/trro/v20220325/examples.json +1 -1
- tccli/services/trtc/v20190722/api.json +31 -20
- tccli/services/trtc/v20190722/examples.json +11 -11
- tccli/services/tse/v20201207/api.json +187 -122
- tccli/services/tse/v20201207/examples.json +36 -36
- tccli/services/tsf/v20180326/api.json +448 -434
- tccli/services/tsf/v20180326/examples.json +122 -122
- tccli/services/tts/v20190823/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +582 -291
- tccli/services/vpc/v20170312/examples.json +75 -27
- tccli/services/vpc/vpc_client.py +159 -0
- tccli/services/waf/v20180125/api.json +305 -6
- tccli/services/waf/v20180125/examples.json +25 -1
- tccli/services/waf/waf_client.py +163 -4
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1242.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1242.1.dist-info}/RECORD +130 -130
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1242.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1242.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1242.1.dist-info}/license_files/LICENSE +0 -0
@@ -182,6 +182,20 @@
|
|
182
182
|
"output": "GeneralHandwritingOCRResponse",
|
183
183
|
"status": "online"
|
184
184
|
},
|
185
|
+
"GetOCRResult": {
|
186
|
+
"document": "获取ocr结果",
|
187
|
+
"input": "GetOCRResultRequest",
|
188
|
+
"name": "得到ocr的信息",
|
189
|
+
"output": "GetOCRResultResponse",
|
190
|
+
"status": "online"
|
191
|
+
},
|
192
|
+
"GetOCRToken": {
|
193
|
+
"document": "获取ocr的token值",
|
194
|
+
"input": "GetOCRTokenRequest",
|
195
|
+
"name": "得到ocr的token",
|
196
|
+
"output": "GetOCRTokenResponse",
|
197
|
+
"status": "online"
|
198
|
+
},
|
185
199
|
"GetTaskState": {
|
186
200
|
"document": "智慧表单产品已下线,需要下线相关API\n\n支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。",
|
187
201
|
"input": "GetTaskStateRequest",
|
@@ -204,7 +218,7 @@
|
|
204
218
|
"status": "online"
|
205
219
|
},
|
206
220
|
"IDCardOCR": {
|
207
|
-
"document": "本接口支持中国大陆居民二代身份证正反面所有字段的识别,包括姓名、性别、民族、出生日期、住址、公民身份证号、签发机关、有效期限,识别准确度达到99%以上。\n\n
|
221
|
+
"document": "本接口支持中国大陆居民二代身份证正反面所有字段的识别,包括姓名、性别、民族、出生日期、住址、公民身份证号、签发机关、有效期限,识别准确度达到99%以上。\n\n另外,本接口还支持多种扩展能力,满足不同场景的需求。如身份证照片、人像照片的裁剪功能,同时具备8种告警功能,如下表所示。\n\n<table style=\"width:650px\">\n <thead>\n <tr>\n <th width=\"150\">增值能力</th>\n <th width=\"500\">能力项</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td rowspan=\"2\">裁剪功能</td>\n <td>身份证照片裁剪(去掉证件外多余的边缘、自动矫正拍摄角度)</td>\n </tr>\n <tr>\n <td>人像照片裁剪(自动抠取身份证头像区域)</td>\n </tr>\n <tr>\n <td rowspan=\"9\">告警功能</td>\n <td>身份证有效日期不合法,即有效日期不符合5年、10年、20年、长期期限\n\n</td>\n </tr>\n <tr>\n <td>身份证边框不完整告警</td>\n </tr>\n <tr>\n <td>身份证复印件告警</td>\n </tr>\n <tr>\n <td>身份证翻拍告警</td>\n </tr>\n <tr>\n <td>身份证框内遮挡告警</td>\n </tr>\n <tr>\n <td>临时身份证告警</td>\n </tr>\n <tr>\n <td>身份证疑似存在PS痕迹告警</td>\n </tr>\n <tr>\n <td>图片模糊告警(可根据图片质量分数判断)</td>\n </tr>\n </tbody>\n </table>\n\n默认接口请求频率限制:20次/秒。",
|
208
222
|
"input": "IDCardOCRRequest",
|
209
223
|
"name": "身份证识别",
|
210
224
|
"output": "IDCardOCRResponse",
|
@@ -330,7 +344,7 @@
|
|
330
344
|
"status": "online"
|
331
345
|
},
|
332
346
|
"RecognizeEncryptedIDCardOCR": {
|
333
|
-
"document": "身份证识别(安全加密版)接口实现了数据加密传输,能够有效防止个人身份证隐私信息不被窃取泄露。\n\n本接口支持中国大陆居民二代身份证正反面所有字段的识别,包括姓名、性别、民族、出生日期、住址、公民身份证号、签发机关、有效期限,识别准确度达到99%以上。\n\n
|
347
|
+
"document": "身份证识别(安全加密版)接口实现了数据加密传输,能够有效防止个人身份证隐私信息不被窃取泄露。\n\n本接口支持中国大陆居民二代身份证正反面所有字段的识别,包括姓名、性别、民族、出生日期、住址、公民身份证号、签发机关、有效期限,识别准确度达到99%以上。\n\n另外,本接口还支持多种扩展能力,满足不同场景的需求。如身份证照片、人像照片的裁剪功能,同时具备9种告警功能,如下表所示。\n\n<table style=\"width:650px\">\n <thead>\n <tr>\n <th width=\"150\">增值能力</th>\n <th width=\"500\">能力项</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td rowspan=\"2\">裁剪功能</td>\n <td>身份证照片裁剪(去掉证件外多余的边缘、自动矫正拍摄角度)</td>\n </tr>\n <tr>\n <td>人像照片裁剪(自动抠取身份证头像区域)</td>\n </tr>\n <tr>\n <td rowspan=\"9\">告警功能</td>\n <td>身份证有效日期不合法,即有效日期不符合5年、10年、20年、长期期限\n\n</td>\n </tr>\n <tr>\n <td>身份证边框不完整告警</td>\n </tr>\n <tr>\n <td>身份证复印件告警</td>\n </tr>\n <tr>\n <td>身份证翻拍告警</td>\n </tr>\n <tr>\n <td>身份证框内遮挡告警</td>\n </tr>\n <tr>\n <td>临时身份证告警</td>\n </tr>\n <tr>\n <td>身份证疑似存在PS痕迹告警</td>\n </tr>\n <tr>\n <td>图片模糊告警(可根据图片质量分数判断)</td>\n </tr>\n </tbody>\n </table>\n\n默认接口请求频率限制:20次/秒。",
|
334
348
|
"input": "RecognizeEncryptedIDCardOCRRequest",
|
335
349
|
"name": "身份证识别(安全加密版)",
|
336
350
|
"output": "RecognizeEncryptedIDCardOCRResponse",
|
@@ -386,7 +400,7 @@
|
|
386
400
|
"status": "online"
|
387
401
|
},
|
388
402
|
"RecognizeTableAccurateOCR": {
|
389
|
-
"document": "本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2
|
403
|
+
"document": "本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。\n\n默认接口请求频率限制:2次/秒。",
|
390
404
|
"input": "RecognizeTableAccurateOCRRequest",
|
391
405
|
"name": "表格识别(V3)",
|
392
406
|
"output": "RecognizeTableAccurateOCRResponse",
|
@@ -6477,6 +6491,99 @@
|
|
6477
6491
|
],
|
6478
6492
|
"usage": "out"
|
6479
6493
|
},
|
6494
|
+
"GetOCRResultRequest": {
|
6495
|
+
"document": "GetOCRResult请求参数结构体",
|
6496
|
+
"members": [
|
6497
|
+
{
|
6498
|
+
"disabled": false,
|
6499
|
+
"document": "token值",
|
6500
|
+
"example": "87756DB5-A1FB-468F-B5CC-81AEF51CAA2D",
|
6501
|
+
"member": "string",
|
6502
|
+
"name": "OCRToken",
|
6503
|
+
"required": true,
|
6504
|
+
"type": "string"
|
6505
|
+
}
|
6506
|
+
],
|
6507
|
+
"type": "object"
|
6508
|
+
},
|
6509
|
+
"GetOCRResultResponse": {
|
6510
|
+
"document": "GetOCRResult返回参数结构体",
|
6511
|
+
"members": [
|
6512
|
+
{
|
6513
|
+
"disabled": false,
|
6514
|
+
"document": "ocr业务类型",
|
6515
|
+
"example": "IDCardOCR",
|
6516
|
+
"member": "string",
|
6517
|
+
"name": "Type",
|
6518
|
+
"output_required": false,
|
6519
|
+
"type": "string",
|
6520
|
+
"value_allowed_null": false
|
6521
|
+
},
|
6522
|
+
{
|
6523
|
+
"disabled": false,
|
6524
|
+
"document": "ocr结果",
|
6525
|
+
"example": "无",
|
6526
|
+
"member": "OCRResult",
|
6527
|
+
"name": "OCRResult",
|
6528
|
+
"output_required": false,
|
6529
|
+
"type": "object",
|
6530
|
+
"value_allowed_null": false
|
6531
|
+
},
|
6532
|
+
{
|
6533
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
6534
|
+
"member": "string",
|
6535
|
+
"name": "RequestId",
|
6536
|
+
"type": "string"
|
6537
|
+
}
|
6538
|
+
],
|
6539
|
+
"type": "object"
|
6540
|
+
},
|
6541
|
+
"GetOCRTokenRequest": {
|
6542
|
+
"document": "GetOCRToken请求参数结构体",
|
6543
|
+
"members": [
|
6544
|
+
{
|
6545
|
+
"disabled": false,
|
6546
|
+
"document": "业务类型,如身份证识别为IDCardOCR",
|
6547
|
+
"example": "IDCardOCR",
|
6548
|
+
"member": "string",
|
6549
|
+
"name": "Type",
|
6550
|
+
"required": true,
|
6551
|
+
"type": "string"
|
6552
|
+
},
|
6553
|
+
{
|
6554
|
+
"disabled": false,
|
6555
|
+
"document": "身份证配置信息",
|
6556
|
+
"example": "无",
|
6557
|
+
"member": "IDCardConfig",
|
6558
|
+
"name": "IDCardConfig",
|
6559
|
+
"required": false,
|
6560
|
+
"type": "object"
|
6561
|
+
}
|
6562
|
+
],
|
6563
|
+
"type": "object"
|
6564
|
+
},
|
6565
|
+
"GetOCRTokenResponse": {
|
6566
|
+
"document": "GetOCRToken返回参数结构体",
|
6567
|
+
"members": [
|
6568
|
+
{
|
6569
|
+
"disabled": false,
|
6570
|
+
"document": "token值",
|
6571
|
+
"example": "3AD2F3FB-A33A-4295-BE9D-E68FB33EE728",
|
6572
|
+
"member": "string",
|
6573
|
+
"name": "OCRToken",
|
6574
|
+
"output_required": true,
|
6575
|
+
"type": "string",
|
6576
|
+
"value_allowed_null": false
|
6577
|
+
},
|
6578
|
+
{
|
6579
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
6580
|
+
"member": "string",
|
6581
|
+
"name": "RequestId",
|
6582
|
+
"type": "string"
|
6583
|
+
}
|
6584
|
+
],
|
6585
|
+
"type": "object"
|
6586
|
+
},
|
6480
6587
|
"GetTaskStateRequest": {
|
6481
6588
|
"document": "GetTaskState请求参数结构体",
|
6482
6589
|
"members": [
|
@@ -6888,6 +6995,75 @@
|
|
6888
6995
|
],
|
6889
6996
|
"type": "object"
|
6890
6997
|
},
|
6998
|
+
"IDCardConfig": {
|
6999
|
+
"document": "身份证配置信息",
|
7000
|
+
"members": [
|
7001
|
+
{
|
7002
|
+
"disabled": false,
|
7003
|
+
"document": "默认为false",
|
7004
|
+
"example": "false",
|
7005
|
+
"member": "bool",
|
7006
|
+
"name": "CopyWarn",
|
7007
|
+
"required": false,
|
7008
|
+
"type": "bool"
|
7009
|
+
},
|
7010
|
+
{
|
7011
|
+
"disabled": false,
|
7012
|
+
"document": "默认为false",
|
7013
|
+
"example": "false",
|
7014
|
+
"member": "bool",
|
7015
|
+
"name": "BorderCheckWarn",
|
7016
|
+
"required": false,
|
7017
|
+
"type": "bool"
|
7018
|
+
},
|
7019
|
+
{
|
7020
|
+
"disabled": false,
|
7021
|
+
"document": "默认为false",
|
7022
|
+
"example": "false",
|
7023
|
+
"member": "bool",
|
7024
|
+
"name": "ReshootWarn",
|
7025
|
+
"required": false,
|
7026
|
+
"type": "bool"
|
7027
|
+
},
|
7028
|
+
{
|
7029
|
+
"disabled": false,
|
7030
|
+
"document": "默认为false",
|
7031
|
+
"example": "false",
|
7032
|
+
"member": "bool",
|
7033
|
+
"name": "DetectPsWarn",
|
7034
|
+
"required": false,
|
7035
|
+
"type": "bool"
|
7036
|
+
},
|
7037
|
+
{
|
7038
|
+
"disabled": false,
|
7039
|
+
"document": "默认为false",
|
7040
|
+
"example": "false",
|
7041
|
+
"member": "bool",
|
7042
|
+
"name": "TempIdWarn",
|
7043
|
+
"required": false,
|
7044
|
+
"type": "bool"
|
7045
|
+
},
|
7046
|
+
{
|
7047
|
+
"disabled": false,
|
7048
|
+
"document": "默认为false",
|
7049
|
+
"example": "false",
|
7050
|
+
"member": "bool",
|
7051
|
+
"name": "InvalidDateWarn",
|
7052
|
+
"required": false,
|
7053
|
+
"type": "bool"
|
7054
|
+
},
|
7055
|
+
{
|
7056
|
+
"disabled": false,
|
7057
|
+
"document": "默认为false",
|
7058
|
+
"example": "false",
|
7059
|
+
"member": "bool",
|
7060
|
+
"name": "ReflectWarn",
|
7061
|
+
"required": false,
|
7062
|
+
"type": "bool"
|
7063
|
+
}
|
7064
|
+
],
|
7065
|
+
"usage": "in"
|
7066
|
+
},
|
6891
7067
|
"IDCardInfo": {
|
6892
7068
|
"document": "身份证信息返回",
|
6893
7069
|
"members": [
|
@@ -7004,6 +7180,142 @@
|
|
7004
7180
|
],
|
7005
7181
|
"usage": "out"
|
7006
7182
|
},
|
7183
|
+
"IDCardInfoResult": {
|
7184
|
+
"document": "身份证ocr信息结果",
|
7185
|
+
"members": [
|
7186
|
+
{
|
7187
|
+
"disabled": false,
|
7188
|
+
"document": "警告代码\n注意:此字段可能返回 null,表示取不到有效值。",
|
7189
|
+
"example": "无",
|
7190
|
+
"member": "int64",
|
7191
|
+
"name": "WarnCodes",
|
7192
|
+
"output_required": false,
|
7193
|
+
"type": "list",
|
7194
|
+
"value_allowed_null": true
|
7195
|
+
},
|
7196
|
+
{
|
7197
|
+
"disabled": false,
|
7198
|
+
"document": "地址\n注意:此字段可能返回 null,表示取不到有效值。",
|
7199
|
+
"example": "无",
|
7200
|
+
"member": "string",
|
7201
|
+
"name": "Address",
|
7202
|
+
"output_required": false,
|
7203
|
+
"type": "string",
|
7204
|
+
"value_allowed_null": true
|
7205
|
+
},
|
7206
|
+
{
|
7207
|
+
"disabled": false,
|
7208
|
+
"document": "签发机关\n注意:此字段可能返回 null,表示取不到有效值。",
|
7209
|
+
"example": "无",
|
7210
|
+
"member": "string",
|
7211
|
+
"name": "Authority",
|
7212
|
+
"output_required": false,
|
7213
|
+
"type": "string",
|
7214
|
+
"value_allowed_null": true
|
7215
|
+
},
|
7216
|
+
{
|
7217
|
+
"disabled": false,
|
7218
|
+
"document": "出生日期\n注意:此字段可能返回 null,表示取不到有效值。",
|
7219
|
+
"example": "无",
|
7220
|
+
"member": "string",
|
7221
|
+
"name": "Birth",
|
7222
|
+
"output_required": false,
|
7223
|
+
"type": "string",
|
7224
|
+
"value_allowed_null": true
|
7225
|
+
},
|
7226
|
+
{
|
7227
|
+
"disabled": false,
|
7228
|
+
"document": "身份证号\n注意:此字段可能返回 null,表示取不到有效值。",
|
7229
|
+
"example": "无",
|
7230
|
+
"member": "string",
|
7231
|
+
"name": "IdNum",
|
7232
|
+
"output_required": false,
|
7233
|
+
"type": "string",
|
7234
|
+
"value_allowed_null": true
|
7235
|
+
},
|
7236
|
+
{
|
7237
|
+
"disabled": false,
|
7238
|
+
"document": "名字\n注意:此字段可能返回 null,表示取不到有效值。",
|
7239
|
+
"example": "无",
|
7240
|
+
"member": "string",
|
7241
|
+
"name": "Name",
|
7242
|
+
"output_required": false,
|
7243
|
+
"type": "string",
|
7244
|
+
"value_allowed_null": true
|
7245
|
+
},
|
7246
|
+
{
|
7247
|
+
"disabled": false,
|
7248
|
+
"document": "地区\n注意:此字段可能返回 null,表示取不到有效值。",
|
7249
|
+
"example": "无",
|
7250
|
+
"member": "string",
|
7251
|
+
"name": "Nation",
|
7252
|
+
"output_required": false,
|
7253
|
+
"type": "string",
|
7254
|
+
"value_allowed_null": true
|
7255
|
+
},
|
7256
|
+
{
|
7257
|
+
"disabled": false,
|
7258
|
+
"document": "性别\n注意:此字段可能返回 null,表示取不到有效值。",
|
7259
|
+
"example": "无",
|
7260
|
+
"member": "string",
|
7261
|
+
"name": "Sex",
|
7262
|
+
"output_required": false,
|
7263
|
+
"type": "string",
|
7264
|
+
"value_allowed_null": true
|
7265
|
+
},
|
7266
|
+
{
|
7267
|
+
"disabled": false,
|
7268
|
+
"document": "到期时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
7269
|
+
"example": "无",
|
7270
|
+
"member": "string",
|
7271
|
+
"name": "ValidDate",
|
7272
|
+
"output_required": false,
|
7273
|
+
"type": "string",
|
7274
|
+
"value_allowed_null": true
|
7275
|
+
},
|
7276
|
+
{
|
7277
|
+
"disabled": false,
|
7278
|
+
"document": "请求的id\n注意:此字段可能返回 null,表示取不到有效值。",
|
7279
|
+
"example": "无",
|
7280
|
+
"member": "string",
|
7281
|
+
"name": "RequestId",
|
7282
|
+
"output_required": false,
|
7283
|
+
"type": "string",
|
7284
|
+
"value_allowed_null": true
|
7285
|
+
},
|
7286
|
+
{
|
7287
|
+
"disabled": false,
|
7288
|
+
"document": "错误码\n注意:此字段可能返回 null,表示取不到有效值。",
|
7289
|
+
"example": "无",
|
7290
|
+
"member": "string",
|
7291
|
+
"name": "ErrorCode",
|
7292
|
+
"output_required": false,
|
7293
|
+
"type": "string",
|
7294
|
+
"value_allowed_null": true
|
7295
|
+
},
|
7296
|
+
{
|
7297
|
+
"disabled": false,
|
7298
|
+
"document": "错误信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
7299
|
+
"example": "无",
|
7300
|
+
"member": "string",
|
7301
|
+
"name": "ErrorMessage",
|
7302
|
+
"output_required": false,
|
7303
|
+
"type": "string",
|
7304
|
+
"value_allowed_null": true
|
7305
|
+
},
|
7306
|
+
{
|
7307
|
+
"disabled": false,
|
7308
|
+
"document": "原图地址",
|
7309
|
+
"example": "无",
|
7310
|
+
"member": "string",
|
7311
|
+
"name": "ImageUrl",
|
7312
|
+
"output_required": false,
|
7313
|
+
"type": "string",
|
7314
|
+
"value_allowed_null": false
|
7315
|
+
}
|
7316
|
+
],
|
7317
|
+
"usage": "out"
|
7318
|
+
},
|
7007
7319
|
"IDCardOCRRequest": {
|
7008
7320
|
"document": "IDCardOCR请求参数结构体",
|
7009
7321
|
"members": [
|
@@ -7185,6 +7497,32 @@
|
|
7185
7497
|
],
|
7186
7498
|
"type": "object"
|
7187
7499
|
},
|
7500
|
+
"IDCardResult": {
|
7501
|
+
"document": "IDCardResult",
|
7502
|
+
"members": [
|
7503
|
+
{
|
7504
|
+
"disabled": false,
|
7505
|
+
"document": "正面结果\n注意:此字段可能返回 null,表示取不到有效值。",
|
7506
|
+
"example": "无",
|
7507
|
+
"member": "IDCardInfoResult",
|
7508
|
+
"name": "Front",
|
7509
|
+
"output_required": false,
|
7510
|
+
"type": "object",
|
7511
|
+
"value_allowed_null": true
|
7512
|
+
},
|
7513
|
+
{
|
7514
|
+
"disabled": false,
|
7515
|
+
"document": "反面结果\n注意:此字段可能返回 null,表示取不到有效值。",
|
7516
|
+
"example": "无",
|
7517
|
+
"member": "IDCardInfoResult",
|
7518
|
+
"name": "Back",
|
7519
|
+
"output_required": false,
|
7520
|
+
"type": "object",
|
7521
|
+
"value_allowed_null": true
|
7522
|
+
}
|
7523
|
+
],
|
7524
|
+
"usage": "out"
|
7525
|
+
},
|
7188
7526
|
"ImageCoordinates": {
|
7189
7527
|
"document": "头像位置坐标",
|
7190
7528
|
"members": [
|
@@ -10183,6 +10521,22 @@
|
|
10183
10521
|
],
|
10184
10522
|
"usage": "out"
|
10185
10523
|
},
|
10524
|
+
"OCRResult": {
|
10525
|
+
"document": "ocr结果信息",
|
10526
|
+
"members": [
|
10527
|
+
{
|
10528
|
+
"disabled": false,
|
10529
|
+
"document": "身份证结果\n注意:此字段可能返回 null,表示取不到有效值。",
|
10530
|
+
"example": "无",
|
10531
|
+
"member": "IDCardResult",
|
10532
|
+
"name": "IDCardResult",
|
10533
|
+
"output_required": false,
|
10534
|
+
"type": "object",
|
10535
|
+
"value_allowed_null": true
|
10536
|
+
}
|
10537
|
+
],
|
10538
|
+
"usage": "out"
|
10539
|
+
},
|
10186
10540
|
"OnlineTaxiItineraryInfo": {
|
10187
10541
|
"document": "网约车行程单识别结果",
|
10188
10542
|
"members": [
|
@@ -12972,7 +13326,7 @@
|
|
12972
13326
|
{
|
12973
13327
|
"disabled": false,
|
12974
13328
|
"document": "识别出的字段信息",
|
12975
|
-
"example": "
|
13329
|
+
"example": "无",
|
12976
13330
|
"member": "MedicalInvoiceInfo",
|
12977
13331
|
"name": "MedicalInvoiceInfos",
|
12978
13332
|
"output_required": true,
|
@@ -19143,6 +19497,56 @@
|
|
19143
19497
|
"output_required": true,
|
19144
19498
|
"type": "string",
|
19145
19499
|
"value_allowed_null": false
|
19500
|
+
},
|
19501
|
+
{
|
19502
|
+
"disabled": false,
|
19503
|
+
"document": "价税合计(大写)前符号",
|
19504
|
+
"example": "无",
|
19505
|
+
"member": "string",
|
19506
|
+
"name": "TotalCnMark",
|
19507
|
+
"output_required": true,
|
19508
|
+
"type": "string",
|
19509
|
+
"value_allowed_null": false
|
19510
|
+
},
|
19511
|
+
{
|
19512
|
+
"disabled": false,
|
19513
|
+
"document": "价税合计(小写)前字样",
|
19514
|
+
"example": "无",
|
19515
|
+
"member": "string",
|
19516
|
+
"name": "TotalMark",
|
19517
|
+
"output_required": true,
|
19518
|
+
"type": "string",
|
19519
|
+
"value_allowed_null": false
|
19520
|
+
},
|
19521
|
+
{
|
19522
|
+
"disabled": false,
|
19523
|
+
"document": "合计金额前字样",
|
19524
|
+
"example": "无",
|
19525
|
+
"member": "string",
|
19526
|
+
"name": "PretaxAmountMark",
|
19527
|
+
"output_required": true,
|
19528
|
+
"type": "string",
|
19529
|
+
"value_allowed_null": false
|
19530
|
+
},
|
19531
|
+
{
|
19532
|
+
"disabled": false,
|
19533
|
+
"document": "合计税额前字样",
|
19534
|
+
"example": "无",
|
19535
|
+
"member": "string",
|
19536
|
+
"name": "TaxMark",
|
19537
|
+
"output_required": true,
|
19538
|
+
"type": "string",
|
19539
|
+
"value_allowed_null": false
|
19540
|
+
},
|
19541
|
+
{
|
19542
|
+
"disabled": false,
|
19543
|
+
"document": "是否有公司印章(0:没有,1:有)",
|
19544
|
+
"example": "1",
|
19545
|
+
"member": "int64",
|
19546
|
+
"name": "CompanySealMark",
|
19547
|
+
"output_required": true,
|
19548
|
+
"type": "int",
|
19549
|
+
"value_allowed_null": false
|
19146
19550
|
}
|
19147
19551
|
],
|
19148
19552
|
"usage": "out"
|
@@ -20882,7 +21286,7 @@
|
|
20882
21286
|
},
|
20883
21287
|
{
|
20884
21288
|
"disabled": false,
|
20885
|
-
"document": "发票代码(10或12
|
21289
|
+
"document": "发票代码(10或12 位),全电发票为空。查验超过5次后当日无法再查。",
|
20886
21290
|
"example": "1300000000",
|
20887
21291
|
"member": "string",
|
20888
21292
|
"name": "InvoiceCode",
|
@@ -20945,7 +21349,7 @@
|
|
20945
21349
|
},
|
20946
21350
|
{
|
20947
21351
|
"disabled": false,
|
20948
|
-
"document": "是否允许查验当日发票,默认值为false
|
21352
|
+
"document": "是否允许查验当日发票,默认值为false。请注意,发票从开具到录入税局需要一定的时间来更新和验证发票信息,打开后仅支持查验已成功录入到税局中的当日发票。",
|
20949
21353
|
"example": "true",
|
20950
21354
|
"member": "bool",
|
20951
21355
|
"name": "EnableTodayInvoice",
|
@@ -226,6 +226,22 @@
|
|
226
226
|
"title": "通用手写体识别示例代码"
|
227
227
|
}
|
228
228
|
],
|
229
|
+
"GetOCRResult": [
|
230
|
+
{
|
231
|
+
"document": "获取ocr结果",
|
232
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetOCRResult\n<公共请求参数>\n\n{\n \"OCRToken\": \"754119FD-511F-4EF5-ADBC-F271AE62F908\"\n}",
|
233
|
+
"output": "{\n \"Response\": {\n \"OCRResult\": {\n \"IDCardResult\": {\n \"Back\": {\n \"Authority\": \"上海市公安局静安分局\",\n \"ErrorCode\": \"Success\",\n \"ErrorMessage\": \"成功\",\n \"RequestId\": \"51b411c9-7dd9-430f-8307-9435d28748b6\",\n \"ValidDate\": \"2008.09.08-2028.09.08\",\n \"WarnCodes\": [\n -9102,\n -9101\n ]\n },\n \"Front\": {\n \"Address\": \"北京市海淀区知春路1号2栋3号\",\n \"Birth\": \"1999/5/7\",\n \"ErrorCode\": \"Success\",\n \"ErrorMessage\": \"成功\",\n \"IdNum\": \"110129199905070025\",\n \"Name\": \"侯小珂\",\n \"Nation\": \"汉\",\n \"RequestId\": \"64248e56-e24b-424b-8c07-3672bd58d24b\",\n \"Sex\": \"女\",\n \"WarnCodes\": [\n -9102,\n -9101,\n -9106\n ]\n }\n }\n },\n \"RequestId\": \"ff4412d0-abf0-4560-8f65-cc46b190c0eb\",\n \"Type\": \"IDCardOCR\"\n }\n}",
|
234
|
+
"title": "获取ocr结果"
|
235
|
+
}
|
236
|
+
],
|
237
|
+
"GetOCRToken": [
|
238
|
+
{
|
239
|
+
"document": "获取身份证ocr的token值,开启所有告警",
|
240
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetOCRToken\n<公共请求参数>\n\n{\n \"Type\": \"IDCardOCR\",\n \"IDCardConfig\": {\n \"CopyWarn\": true,\n \"BorderCheckWarn\": true,\n \"ReshootWarn\": true,\n \"DetectPsWarn\": true,\n \"TempIdWarn\": true,\n \"InvalidDateWarn\": true,\n \"ReflectWarn\": true\n }\n}",
|
241
|
+
"output": "{\n \"Response\": {\n \"OCRToken\": \"09FEF899-3B43-46C6-87F6-FFD3D7EC9B59\",\n \"RequestId\": \"d1d679c5-85fc-414a-a32b-8e5225023a6e\"\n }\n}",
|
242
|
+
"title": "获取ocr的token值"
|
243
|
+
}
|
244
|
+
],
|
229
245
|
"GetTaskState": [
|
230
246
|
{
|
231
247
|
"document": "查询智慧表单任务状态",
|
@@ -461,8 +477,8 @@
|
|
461
477
|
"RecognizeMedicalInvoiceOCR": [
|
462
478
|
{
|
463
479
|
"document": "医疗发票识别示例",
|
464
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeMedicalInvoiceOCR\nVersion:2018-11-19\nRegion:ap-beijing\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/invoice/RecognizeMedicalInvoiceOCR/RecognizeMedicalInvoiceOCR1.jpg\",\n \"ReturnVertex\":
|
465
|
-
"output": "{\n \"Response\": {\n \"MedicalInvoiceInfos\": [\n {\n \"MedicalInvoiceItems\": [\n {\n \"Name\": \"单位\",\n \"Content\": \"***机构\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightBottom\": {\n \"X\": 0,\n \"Y\": 0\n }\n },\n \"Coord\": {\n \"X\": 0,\n \"Y\": 0,\n \"Width\": 0,\n \"Height\": 0\n }\n }\n ]\n }\n ],\n \"Angle\": 0,\n \"RequestId\": \"cb2ba647-06bd-447d-95c6-7d6264eaa8b0\"\n }\n}",
|
480
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeMedicalInvoiceOCR\nVersion:2018-11-19\nRegion:ap-beijing\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/invoice/RecognizeMedicalInvoiceOCR/RecognizeMedicalInvoiceOCR1.jpg\",\n \"ReturnVertex\": true,\n \"ReturnCoord\": true\n}",
|
481
|
+
"output": "{\n \"Response\": {\n \"MedicalInvoiceInfos\": [\n {\n \"MedicalInvoiceItems\": [\n {\n \"Name\": \"单位\",\n \"Content\": \"***机构\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"LeftBottom\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightBottom\": {\n \"X\": 0,\n \"Y\": 0\n }\n },\n \"Coord\": {\n \"X\": 0,\n \"Y\": 0,\n \"Width\": 0,\n \"Height\": 0\n }\n }\n ]\n }\n ],\n \"Angle\": 0,\n \"RequestId\": \"cb2ba647-06bd-447d-95c6-7d6264eaa8b0\"\n }\n}",
|
466
482
|
"title": "医疗发票识别示例"
|
467
483
|
}
|
468
484
|
],
|
@@ -276,7 +276,7 @@
|
|
276
276
|
{
|
277
277
|
"document": "",
|
278
278
|
"input": "POST / HTTP/1.1\nHost: pts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSampleMatrixBatchQuery\n<公共请求参数>\n\n{\n \"JobId\": \"job-6pmj0oae\",\n \"ScenarioId\": \"scenario-oienak6y\",\n \"Queries\": [\n {\n \"Metric\": \"pts_engine_req_duration_seconds\",\n \"Aggregation\": \"P50\"\n }\n ],\n \"ProjectId\": \"project-m51m6h0a\"\n}",
|
279
|
-
"output": "{\n \"Response\": {\n \"MetricSampleMatrixSet\": [\n {\n \"Metric\": \"pts_engine_req_duration_seconds\",\n \"Aggregation\": \"P50\",\n \"Unit\": \"s\",\n \"Streams\": [\n {\n \"Name\": \"响应时间P50\",\n \"Labels\": null,\n \"Values\": [\n {\n \"Timestamp\": 1650517296000,\n \"Value\": 0.032142349260523326\n },\n {\n \"Timestamp\": 1650517344000,\n \"Value\": 0.025\n },\n {\n \"Timestamp\": 1650518490000,\n \"Value\": 0.05\n }\n ]\n }\n ]\n }\n ],\n \"RequestId\": \"
|
279
|
+
"output": "{\n \"Response\": {\n \"MetricSampleMatrixSet\": [\n {\n \"Metric\": \"pts_engine_req_duration_seconds\",\n \"Aggregation\": \"P50\",\n \"Unit\": \"s\",\n \"Streams\": [\n {\n \"Name\": \"响应时间P50\",\n \"Labels\": null,\n \"Values\": [\n {\n \"Timestamp\": 1650517296000,\n \"Value\": 0.032142349260523326\n },\n {\n \"Timestamp\": 1650517344000,\n \"Value\": 0.025\n },\n {\n \"Timestamp\": 1650518490000,\n \"Value\": 0.05\n }\n ]\n }\n ]\n }\n ],\n \"RequestId\": \"abc-123-xyz\"\n }\n}",
|
280
280
|
"title": "DescribeSampleMatrixBatchQuery"
|
281
281
|
}
|
282
282
|
],
|