tccli 3.0.1084.1__py2.py3-none-any.whl → 3.0.1085.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/examples/aiart/v20221229/QueryTextToImageProJob.md +30 -0
- tccli/examples/aiart/v20221229/SubmitTextToImageProJob.md +22 -0
- tccli/examples/billing/v20180709/DescribeCostDetail.md +36 -33
- tccli/examples/billing/v20180709/DescribeCostSummaryByProject.md +25 -80
- tccli/examples/billing/v20180709/DescribeCostSummaryByRegion.md +23 -14
- tccli/examples/billing/v20180709/DescribeCostSummaryByResource.md +53 -27
- tccli/examples/ccc/v20200210/CreateCompanyApply.md +36 -0
- tccli/examples/ccc/v20200210/DescribeCompanyList.md +33 -0
- tccli/examples/ccc/v20200210/ModifyCompanyApply.md +36 -0
- tccli/examples/ckafka/v20190819/CreateInstancePost.md +9 -6
- tccli/examples/ckafka/v20190819/CreatePrometheus.md +29 -0
- tccli/examples/ckafka/v20190819/DescribePrometheus.md +25 -0
- tccli/examples/cynosdb/v20190107/RollbackToNewCluster.md +62 -0
- tccli/examples/dlc/v20210125/QueryTaskCostDetail.md +20 -0
- tccli/examples/essbasic/v20210526/ChannelCreateReleaseFlow.md +1 -1
- tccli/examples/faceid/v20180301/GetFaceIdResult.md +4 -4
- tccli/examples/iotexplorer/v20190423/BindCloudStorageUser.md +22 -0
- tccli/examples/iotexplorer/v20190423/CreateIotVideoCloudStorage.md +22 -0
- tccli/examples/iotexplorer/v20190423/DeleteCloudStorageEvent.md +26 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorage.md +27 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageDate.md +24 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageEvents.md +87 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageMultiThumbnail.md +28 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageOrder.md +25 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStoragePackageConsumeDetails.md +21 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStoragePackageConsumeStats.md +44 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageStreamData.md +24 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageThumbnail.md +24 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageThumbnailList.md +28 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageTime.md +43 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageUsers.md +29 -0
- tccli/examples/iotexplorer/v20190423/DescribeDevicePackages.md +37 -0
- tccli/examples/iotexplorer/v20190423/DescribePackageConsumeTask.md +21 -0
- tccli/examples/iotexplorer/v20190423/DescribePackageConsumeTasks.md +39 -0
- tccli/examples/iotexplorer/v20190423/GenerateSignedVideoURL.md +22 -0
- tccli/examples/iotexplorer/v20190423/InheritCloudStorageUser.md +23 -0
- tccli/examples/iotexplorer/v20190423/ResetCloudStorage.md +21 -0
- tccli/examples/iotexplorer/v20190423/ResetCloudStorageEvent.md +22 -0
- tccli/examples/iotexplorer/v20190423/TransferCloudStorage.md +22 -0
- tccli/examples/monitor/v20180724/CreateExporterIntegration.md +626 -2
- tccli/examples/ocr/v20181119/ReconstructDocument.md +2263 -0
- tccli/examples/pts/v20210728/CreateEnvironment.md +18 -0
- tccli/examples/pts/v20210728/DeleteEnvironments.md +18 -0
- tccli/examples/pts/v20210728/DescribeEnvironments.md +18 -0
- tccli/examples/pts/v20210728/UpdateEnvironment.md +18 -0
- tccli/examples/ssl/v20191205/UploadCertificate.md +48 -3
- tccli/examples/tag/v20180813/DescribeProjects.md +1 -1
- tccli/examples/tione/v20211111/CreateModelService.md +3 -1
- tccli/examples/tione/v20211111/ModifyModelService.md +62 -228
- tccli/examples/wedata/v20210820/BatchCreateIntegrationTaskAlarms.md +11 -11
- tccli/examples/wedata/v20210820/BatchForceSuccessIntegrationTaskInstances.md +2 -2
- tccli/examples/wedata/v20210820/BatchKillIntegrationTaskInstances.md +2 -2
- tccli/examples/wedata/v20210820/BatchMakeUpIntegrationTasks.md +2 -2
- tccli/examples/wedata/v20210820/BatchRerunIntegrationTaskInstances.md +5 -2
- tccli/examples/wedata/v20210820/CheckDuplicateRuleName.md +5 -5
- tccli/examples/wedata/v20210820/CheckDuplicateTemplateName.md +4 -4
- tccli/examples/wedata/v20210820/CheckIntegrationNodeNameExists.md +4 -4
- tccli/examples/wedata/v20210820/CheckIntegrationTaskNameExists.md +4 -4
- tccli/examples/wedata/v20210820/CheckTaskNameExist.md +3 -3
- tccli/examples/wedata/v20210820/CommitExportTask.md +4 -4
- tccli/examples/wedata/v20210820/CreateInLongAgent.md +6 -6
- tccli/examples/wedata/v20210820/CreateOrUpdateResource.md +2 -1
- tccli/examples/wedata/v20210820/CreateRuleTemplate.md +1 -1
- tccli/examples/wedata/v20210820/CreateTaskAlarmRegular.md +11 -11
- tccli/examples/wedata/v20210820/DeleteInLongAgent.md +3 -3
- tccli/examples/wedata/v20210820/DeleteIntegrationNode.md +2 -2
- tccli/examples/wedata/v20210820/DeleteOfflineTask.md +4 -4
- tccli/examples/wedata/v20210820/DeleteRule.md +1 -1
- tccli/examples/wedata/v20210820/DeleteRuleTemplate.md +1 -1
- tccli/examples/wedata/v20210820/DescribeClusterNamespaceList.md +6 -6
- tccli/examples/wedata/v20210820/DescribeDataBases.md +12 -8
- tccli/examples/wedata/v20210820/DescribeDataCheckStat.md +5 -5
- tccli/examples/wedata/v20210820/DescribeDataObjects.md +6 -3
- tccli/examples/wedata/v20210820/DescribeExecStrategy.md +20 -16
- tccli/examples/wedata/v20210820/DescribeInLongAgentTaskList.md +6 -6
- tccli/examples/wedata/v20210820/DescribeInLongAgentVpcList.md +3 -3
- tccli/examples/wedata/v20210820/DescribeInstances.md +6 -6
- tccli/examples/wedata/v20210820/DescribeIntegrationNode.md +61 -43
- tccli/examples/wedata/v20210820/DescribeIntegrationStatistics.md +13 -13
- tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsAgentStatus.md +6 -6
- tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsInstanceTrend.md +8 -10
- tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsRecordsTrend.md +1 -1
- tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsTaskStatus.md +5 -5
- tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsTaskStatusTrend.md +8 -10
- tccli/examples/wedata/v20210820/DescribeMonitorsByPage.md +7 -7
- tccli/examples/wedata/v20210820/DescribeOfflineTaskToken.md +3 -3
- tccli/examples/wedata/v20210820/DescribeProdTasks.md +6 -5
- tccli/examples/wedata/v20210820/DescribeRealTimeTaskInstanceNodeInfo.md +9 -9
- tccli/examples/wedata/v20210820/DescribeRealTimeTaskSpeed.md +32 -26
- tccli/examples/wedata/v20210820/DescribeRule.md +118 -23
- tccli/examples/wedata/v20210820/DescribeRuleDataSources.md +11 -8
- tccli/examples/wedata/v20210820/DescribeRuleDimStat.md +3 -3
- tccli/examples/wedata/v20210820/DescribeRuleExecDetail.md +48 -41
- tccli/examples/wedata/v20210820/DescribeRuleExecExportResult.md +15 -10
- tccli/examples/wedata/v20210820/DescribeRuleExecLog.md +2 -2
- tccli/examples/wedata/v20210820/DescribeRuleExecResults.md +72 -4
- tccli/examples/wedata/v20210820/DescribeRuleExecResultsByPage.md +38 -33
- tccli/examples/wedata/v20210820/DescribeRuleExecStat.md +14 -14
- tccli/examples/wedata/v20210820/DescribeRuleGroup.md +50 -23
- tccli/examples/wedata/v20210820/DescribeRuleGroupExecResultsByPage.md +87 -14
- tccli/examples/wedata/v20210820/DescribeRuleGroupExecResultsByPageWithoutAuth.md +81 -12
- tccli/examples/wedata/v20210820/DescribeRuleGroupSubscription.md +12 -6
- tccli/examples/wedata/v20210820/DescribeRuleGroupTable.md +35 -27
- tccli/examples/wedata/v20210820/DescribeRuleGroupsByPage.md +51 -21
- tccli/examples/wedata/v20210820/DescribeRuleHistoryByPage.md +9 -9
- tccli/examples/wedata/v20210820/DescribeRuleTablesByPage.md +52 -35
- tccli/examples/wedata/v20210820/DescribeRuleTemplate.md +33 -16
- tccli/examples/wedata/v20210820/DescribeRuleTemplates.md +8 -8
- tccli/examples/wedata/v20210820/DescribeRuleTemplatesByPage.md +13 -13
- tccli/examples/wedata/v20210820/DescribeRulesByPage.md +123 -28
- tccli/examples/wedata/v20210820/DescribeStandardRuleDetailInfoList.md +3 -3
- tccli/examples/wedata/v20210820/DescribeTableInfoList.md +9 -2
- tccli/examples/wedata/v20210820/DescribeTaskInstance.md +35 -35
- tccli/examples/wedata/v20210820/DescribeTaskInstanceReportDetail.md +28 -26
- tccli/examples/wedata/v20210820/DescribeTaskLockStatus.md +7 -7
- tccli/examples/wedata/v20210820/DescribeTaskReport.md +6 -6
- tccli/examples/wedata/v20210820/DescribeTaskReportDetailList.md +17 -17
- tccli/examples/wedata/v20210820/DescribeTopTableStat.md +9 -9
- tccli/examples/wedata/v20210820/DescribeTrendStat.md +2 -2
- tccli/examples/wedata/v20210820/DryRunDIOfflineTask.md +10 -9
- tccli/examples/wedata/v20210820/GetIntegrationNodeColumnSchema.md +13 -11
- tccli/examples/wedata/v20210820/GetOfflineDIInstanceList.md +26 -26
- tccli/examples/wedata/v20210820/LockIntegrationTask.md +4 -4
- tccli/examples/wedata/v20210820/ModifyIntegrationNode.md +42 -41
- tccli/examples/wedata/v20210820/ModifyIntegrationTask.md +110 -58
- tccli/examples/wedata/v20210820/ModifyMonitorStatus.md +4 -4
- tccli/examples/wedata/v20210820/ModifyRule.md +24 -24
- tccli/examples/wedata/v20210820/ModifyRuleGroupSubscription.md +11 -13
- tccli/examples/wedata/v20210820/ModifyTaskAlarmRegular.md +45 -16
- tccli/examples/wedata/v20210820/ModifyTaskName.md +5 -5
- tccli/examples/wedata/v20210820/RestartInLongAgent.md +3 -3
- tccli/examples/wedata/v20210820/RobAndLockIntegrationTask.md +7 -7
- tccli/examples/wedata/v20210820/StopIntegrationTask.md +4 -4
- tccli/examples/wedata/v20210820/TaskLog.md +5 -15
- tccli/examples/wedata/v20210820/UnlockIntegrationTask.md +4 -4
- tccli/examples/wedata/v20210820/UpdateInLongAgent.md +5 -5
- tccli/services/aiart/aiart_client.py +106 -0
- tccli/services/aiart/v20221229/api.json +174 -0
- tccli/services/aiart/v20221229/examples.json +16 -0
- tccli/services/asr/v20190614/api.json +4 -4
- tccli/services/bi/v20220105/api.json +27 -0
- tccli/services/billing/v20180709/api.json +365 -130
- tccli/services/billing/v20180709/examples.json +4 -4
- tccli/services/ccc/ccc_client.py +159 -0
- tccli/services/ccc/v20200210/api.json +442 -0
- tccli/services/ccc/v20200210/examples.json +24 -0
- tccli/services/cdb/v20170320/api.json +3 -3
- tccli/services/cdwpg/v20201230/api.json +9 -0
- tccli/services/ckafka/ckafka_client.py +106 -0
- tccli/services/ckafka/v20190819/api.json +190 -12
- tccli/services/ckafka/v20190819/examples.json +17 -1
- tccli/services/clb/v20180317/api.json +2 -2
- tccli/services/cloudstudio/v20230508/api.json +40 -4
- tccli/services/cls/v20201016/api.json +30 -30
- tccli/services/csip/v20221121/api.json +76 -76
- tccli/services/cwp/v20180228/api.json +124 -8
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +255 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +103 -4
- tccli/services/dlc/v20210125/examples.json +8 -0
- tccli/services/dsgc/v20190723/api.json +20 -0
- tccli/services/dts/v20211206/api.json +56 -2
- tccli/services/es/v20180416/api.json +127 -24
- tccli/services/ess/v20201111/api.json +19 -19
- tccli/services/essbasic/v20210526/api.json +13 -4
- tccli/services/essbasic/v20210526/examples.json +1 -1
- tccli/services/faceid/v20180301/api.json +23 -13
- tccli/services/faceid/v20180301/examples.json +1 -1
- tccli/services/iotexplorer/iotexplorer_client.py +1453 -234
- tccli/services/iotexplorer/v20190423/api.json +2179 -117
- tccli/services/iotexplorer/v20190423/examples.json +184 -0
- tccli/services/lcic/v20220817/api.json +62 -4
- tccli/services/monitor/v20180724/examples.json +111 -3
- tccli/services/mps/v20190612/api.json +53 -27
- tccli/services/ms/v20180408/api.json +14 -14
- tccli/services/ocr/ocr_client.py +53 -0
- tccli/services/ocr/v20181119/api.json +276 -0
- tccli/services/ocr/v20181119/examples.json +8 -0
- tccli/services/pts/pts_client.py +212 -0
- tccli/services/pts/v20210728/api.json +96 -0
- tccli/services/pts/v20210728/examples.json +32 -0
- tccli/services/ssl/v20191205/examples.json +9 -3
- tccli/services/tag/v20180813/examples.json +1 -1
- tccli/services/tione/v20211111/api.json +77 -3
- tccli/services/tione/v20211111/examples.json +2 -2
- tccli/services/tms/v20201229/api.json +1 -1
- tccli/services/trtc/v20190722/api.json +1 -1
- tccli/services/tts/v20190823/api.json +10 -1
- tccli/services/vod/v20180717/api.json +6 -6
- tccli/services/wedata/v20210820/api.json +621 -198
- tccli/services/wedata/v20210820/examples.json +146 -146
- {tccli-3.0.1084.1.dist-info → tccli-3.0.1085.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1084.1.dist-info → tccli-3.0.1085.1.dist-info}/RECORD +199 -162
- {tccli-3.0.1084.1.dist-info → tccli-3.0.1085.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1084.1.dist-info → tccli-3.0.1085.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1084.1.dist-info → tccli-3.0.1085.1.dist-info}/license_files/LICENSE +0 -0
@@ -1303,7 +1303,7 @@
|
|
1303
1303
|
},
|
1304
1304
|
{
|
1305
1305
|
"disabled": false,
|
1306
|
-
"document": "转自适应码流后,manifest
|
1306
|
+
"document": "转自适应码流后,manifest 文件的输出路径,可以为相对路径或者绝对路径。\n若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。\n相对路径示例:\n<li>文件名_{变量名}.{format}</li>\n<li>文件名.{format}</li>\n绝对路径示例:\n<li>/自定义路径/文件名_{变量名}.{format}</li>\n如果不填,则默认为相对路径:{inputName}_adaptiveDynamicStreaming_{definition}.{format}。",
|
1307
1307
|
"example": "{inputName}_adaptiveDynamicStreaming_{definition}.{format}",
|
1308
1308
|
"member": "string",
|
1309
1309
|
"name": "OutputObjectPath",
|
@@ -5455,9 +5455,10 @@
|
|
5455
5455
|
{
|
5456
5456
|
"disabled": false,
|
5457
5457
|
"document": "视频转动图模板 ID。",
|
5458
|
-
"example": "",
|
5458
|
+
"example": "无",
|
5459
5459
|
"member": "uint64",
|
5460
5460
|
"name": "Definition",
|
5461
|
+
"output_required": true,
|
5461
5462
|
"required": true,
|
5462
5463
|
"type": "int",
|
5463
5464
|
"value_allowed_null": false
|
@@ -5465,9 +5466,10 @@
|
|
5465
5466
|
{
|
5466
5467
|
"disabled": false,
|
5467
5468
|
"document": "动图在视频中的开始时间,单位为秒。",
|
5468
|
-
"example": "",
|
5469
|
+
"example": "无",
|
5469
5470
|
"member": "float",
|
5470
5471
|
"name": "StartTimeOffset",
|
5472
|
+
"output_required": true,
|
5471
5473
|
"required": true,
|
5472
5474
|
"type": "float",
|
5473
5475
|
"value_allowed_null": false
|
@@ -5475,9 +5477,10 @@
|
|
5475
5477
|
{
|
5476
5478
|
"disabled": false,
|
5477
5479
|
"document": "动图在视频中的结束时间,单位为秒。",
|
5478
|
-
"example": "",
|
5480
|
+
"example": "无",
|
5479
5481
|
"member": "float",
|
5480
5482
|
"name": "EndTimeOffset",
|
5483
|
+
"output_required": true,
|
5481
5484
|
"required": true,
|
5482
5485
|
"type": "float",
|
5483
5486
|
"value_allowed_null": false
|
@@ -5485,19 +5488,21 @@
|
|
5485
5488
|
{
|
5486
5489
|
"disabled": false,
|
5487
5490
|
"document": "转动图后文件的目标存储,不填则继承上层的 OutputStorage 值。\n注意:此字段可能返回 null,表示取不到有效值。",
|
5488
|
-
"example": "",
|
5491
|
+
"example": "无",
|
5489
5492
|
"member": "TaskOutputStorage",
|
5490
5493
|
"name": "OutputStorage",
|
5494
|
+
"output_required": true,
|
5491
5495
|
"required": false,
|
5492
5496
|
"type": "object",
|
5493
5497
|
"value_allowed_null": true
|
5494
5498
|
},
|
5495
5499
|
{
|
5496
5500
|
"disabled": false,
|
5497
|
-
"document": "
|
5498
|
-
"example": "",
|
5501
|
+
"document": "转动图后文件的输出路径,可以为相对路径或者绝对路径。\n若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。\n相对路径示例:\n<li>文件名_{变量名}.{format}</li>\n<li>文件名.{format}</li>\n绝对路径示例:\n<li>/自定义路径/文件名_{变量名}.{format}</li>\n如果不填,则默认为相对路径:`{inputName}_animatedGraphic_{definition}.{format}`。",
|
5502
|
+
"example": "无",
|
5499
5503
|
"member": "string",
|
5500
5504
|
"name": "OutputObjectPath",
|
5505
|
+
"output_required": true,
|
5501
5506
|
"required": false,
|
5502
5507
|
"type": "string",
|
5503
5508
|
"value_allowed_null": false
|
@@ -5920,8 +5925,8 @@
|
|
5920
5925
|
"members": [
|
5921
5926
|
{
|
5922
5927
|
"disabled": false,
|
5923
|
-
"document": "音频流的编码格式。\n当不需要对音频进行转码时,可选值为:\n<li>copy。</li>\n当外层参数 Container 为 mp3 时,可选值为:\n<li>
|
5924
|
-
"example": "
|
5928
|
+
"document": "音频流的编码格式。\n当不需要对音频进行转码时,可选值为:\n<li>copy。</li>\n当外层参数 Container 为 mp3 时,可选值为:\n<li>mp3。</li>\n当外层参数 Container 为 ogg 或 flac 时,可选值为:\n<li>flac。</li>\n当外层参数 Container 为 m4a 时,可选值为:\n<li>aac;</li>\n<li>mp3;</li>\n<li>ac3。</li>\n当外层参数 Container 为 mp4 或 flv 时,可选值为:\n<li>aac:更适合 mp4;</li>\n<li>mp3:更适合 flv;</li>\n<li>mp2。</li>\n当外层参数 Container 为 hls 时,可选值为:\n<li>aac;</li>\n<li>mp3。</li>",
|
5929
|
+
"example": "aac",
|
5925
5930
|
"member": "string",
|
5926
5931
|
"name": "Codec",
|
5927
5932
|
"output_required": true,
|
@@ -5970,8 +5975,8 @@
|
|
5970
5975
|
"members": [
|
5971
5976
|
{
|
5972
5977
|
"disabled": false,
|
5973
|
-
"document": "音频流的编码格式。\n当不需要对音频进行转码时,可选值为:\n<li>copy。</li>\n当外层参数 Container 为 mp3 时,可选值为:\n<li>
|
5974
|
-
"example": "
|
5978
|
+
"document": "音频流的编码格式。\n当不需要对音频进行转码时,可选值为:\n<li>copy。</li>\n当外层参数 Container 为 mp3 时,可选值为:\n<li>mp3。</li>\n当外层参数 Container 为 ogg 或 flac 时,可选值为:\n<li>flac。</li>\n当外层参数 Container 为 m4a 时,可选值为:\n<li>aac;</li>\n<li>mp3;</li>\n<li>ac3。</li>\n当外层参数 Container 为 mp4 或 flv 时,可选值为:\n<li>aac:更适合 mp4;</li>\n<li>mp3:更适合 flv;</li>\n<li>mp2。</li>\n当外层参数 Container 为 hls 时,可选值为:\n<li>aac;</li>\n<li>mp3。</li>\n注意:此字段可能返回 null,表示取不到有效值。",
|
5979
|
+
"example": "aac",
|
5975
5980
|
"member": "string",
|
5976
5981
|
"name": "Codec",
|
5977
5982
|
"output_required": false,
|
@@ -14895,16 +14900,18 @@
|
|
14895
14900
|
"example": "“”",
|
14896
14901
|
"member": "string",
|
14897
14902
|
"name": "Switch",
|
14903
|
+
"output_required": true,
|
14898
14904
|
"required": false,
|
14899
14905
|
"type": "string",
|
14900
14906
|
"value_allowed_null": false
|
14901
14907
|
},
|
14902
14908
|
{
|
14903
14909
|
"disabled": false,
|
14904
|
-
"document": "类型,可选值:\n<li>HDR10</li>\n<li>HLG</li>\n默认值:HDR10。\n注意:video的编码方式需要为
|
14910
|
+
"document": "类型,可选值:\n<li>HDR10</li>\n<li>HLG</li>\n默认值:HDR10。\n注意:video的编码方式需要为h265;\n注意:视频编码位深为10。\n注意:此字段可能返回 null,表示取不到有效值。",
|
14905
14911
|
"example": "“”",
|
14906
14912
|
"member": "string",
|
14907
14913
|
"name": "Type",
|
14914
|
+
"output_required": true,
|
14908
14915
|
"required": false,
|
14909
14916
|
"type": "string",
|
14910
14917
|
"value_allowed_null": true
|
@@ -15029,7 +15036,7 @@
|
|
15029
15036
|
},
|
15030
15037
|
{
|
15031
15038
|
"disabled": false,
|
15032
|
-
"document": "
|
15039
|
+
"document": "截取雪碧图后,雪碧图图片文件的输出路径,可以为相对路径或者绝对路径。\n若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。\n相对路径示例:\n<li>文件名_{变量名}.{format}</li>\n<li>文件名.{format}</li>\n绝对路径示例:\n<li>/自定义路径/文件名_{变量名}.{format}</li>\n如果不填,则默认为相对路径:`{inputName}_imageSprite_{definition}_{number}.{format}`。",
|
15033
15040
|
"example": "无",
|
15034
15041
|
"member": "string",
|
15035
15042
|
"name": "OutputObjectPath",
|
@@ -22992,7 +22999,7 @@
|
|
22992
22999
|
},
|
22993
23000
|
{
|
22994
23001
|
"disabled": false,
|
22995
|
-
"document": "
|
23002
|
+
"document": "采样截图后图片文件的输出路径,可以为相对路径或者绝对路径。\n若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。\n相对路径示例:\n<li>文件名_{变量名}.{format}</li>\n<li>文件名.{format}</li>\n绝对路径示例:\n<li>/自定义路径/文件名_{变量名}.{format}</li>\n如果不填,则默认为相对路径:`{inputName}_sampleSnapshot_{definition}_{number}.{format}`。\n",
|
22996
23003
|
"example": "无",
|
22997
23004
|
"member": "string",
|
22998
23005
|
"name": "OutputObjectPath",
|
@@ -23820,9 +23827,10 @@
|
|
23820
23827
|
{
|
23821
23828
|
"disabled": false,
|
23822
23829
|
"document": "指定时间点截图模板 ID。",
|
23823
|
-
"example": "",
|
23830
|
+
"example": "无",
|
23824
23831
|
"member": "uint64",
|
23825
23832
|
"name": "Definition",
|
23833
|
+
"output_required": true,
|
23826
23834
|
"required": true,
|
23827
23835
|
"type": "int",
|
23828
23836
|
"value_allowed_null": false
|
@@ -23830,9 +23838,10 @@
|
|
23830
23838
|
{
|
23831
23839
|
"disabled": false,
|
23832
23840
|
"document": "截图时间点列表,时间点支持 s、% 两种格式:\n<li>当字符串以 s 结尾,表示时间点单位为秒,如 3.5s 表示时间点为第3.5秒;</li>\n<li>当字符串以 % 结尾,表示时间点为视频时长的百分比大小,如10%表示时间点为视频前第10%的时间。</li>",
|
23833
|
-
"example": "",
|
23841
|
+
"example": "无",
|
23834
23842
|
"member": "string",
|
23835
23843
|
"name": "ExtTimeOffsetSet",
|
23844
|
+
"output_required": true,
|
23836
23845
|
"required": false,
|
23837
23846
|
"type": "list",
|
23838
23847
|
"value_allowed_null": false
|
@@ -23840,9 +23849,10 @@
|
|
23840
23849
|
{
|
23841
23850
|
"disabled": false,
|
23842
23851
|
"document": "截图时间点列表,单位为<font color=red>秒</font>。此参数已不再建议使用,建议您使用 ExtTimeOffsetSet 参数。",
|
23843
|
-
"example": "",
|
23852
|
+
"example": "无",
|
23844
23853
|
"member": "float",
|
23845
23854
|
"name": "TimeOffsetSet",
|
23855
|
+
"output_required": true,
|
23846
23856
|
"required": false,
|
23847
23857
|
"type": "list",
|
23848
23858
|
"value_allowed_null": false
|
@@ -23850,9 +23860,10 @@
|
|
23850
23860
|
{
|
23851
23861
|
"disabled": false,
|
23852
23862
|
"document": "水印列表,支持多张图片或文字水印,最大可支持 10 张。",
|
23853
|
-
"example": "",
|
23863
|
+
"example": "无",
|
23854
23864
|
"member": "WatermarkInput",
|
23855
23865
|
"name": "WatermarkSet",
|
23866
|
+
"output_required": true,
|
23856
23867
|
"required": false,
|
23857
23868
|
"type": "list",
|
23858
23869
|
"value_allowed_null": false
|
@@ -23860,19 +23871,21 @@
|
|
23860
23871
|
{
|
23861
23872
|
"disabled": false,
|
23862
23873
|
"document": "时间点截图后文件的目标存储,不填则继承上层的 OutputStorage 值。\n注意:此字段可能返回 null,表示取不到有效值。",
|
23863
|
-
"example": "",
|
23874
|
+
"example": "无",
|
23864
23875
|
"member": "TaskOutputStorage",
|
23865
23876
|
"name": "OutputStorage",
|
23877
|
+
"output_required": true,
|
23866
23878
|
"required": false,
|
23867
23879
|
"type": "object",
|
23868
23880
|
"value_allowed_null": true
|
23869
23881
|
},
|
23870
23882
|
{
|
23871
23883
|
"disabled": false,
|
23872
|
-
"document": "
|
23873
|
-
"example": "",
|
23884
|
+
"document": "时间点截图后图片文件的输出路径,可以为相对路径或者绝对路径。\n若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。\n相对路径示例:\n<li>文件名_{变量名}.{format}</li>\n<li>文件名.{format}</li>\n绝对路径示例:\n<li>/自定义路径/文件名_{变量名}.{format}</li>\n如果不填,则默认为相对路径:`{inputName}_snapshotByTimeOffset_{definition}_{number}.{format}`。",
|
23885
|
+
"example": "无",
|
23874
23886
|
"member": "string",
|
23875
23887
|
"name": "OutputObjectPath",
|
23888
|
+
"output_required": true,
|
23876
23889
|
"required": false,
|
23877
23890
|
"type": "string",
|
23878
23891
|
"value_allowed_null": false
|
@@ -23880,9 +23893,10 @@
|
|
23880
23893
|
{
|
23881
23894
|
"disabled": false,
|
23882
23895
|
"document": "时间点截图后输出路径中的`{number}`变量的规则。\n注意:此字段可能返回 null,表示取不到有效值。",
|
23883
|
-
"example": "",
|
23896
|
+
"example": "无",
|
23884
23897
|
"member": "NumberFormat",
|
23885
23898
|
"name": "ObjectNumberFormat",
|
23899
|
+
"output_required": true,
|
23886
23900
|
"required": false,
|
23887
23901
|
"type": "object",
|
23888
23902
|
"value_allowed_null": true
|
@@ -24848,6 +24862,7 @@
|
|
24848
24862
|
"example": "20",
|
24849
24863
|
"member": "uint64",
|
24850
24864
|
"name": "Definition",
|
24865
|
+
"output_required": true,
|
24851
24866
|
"required": true,
|
24852
24867
|
"type": "int",
|
24853
24868
|
"value_allowed_null": false
|
@@ -24858,6 +24873,7 @@
|
|
24858
24873
|
"example": "null",
|
24859
24874
|
"member": "RawTranscodeParameter",
|
24860
24875
|
"name": "RawParameter",
|
24876
|
+
"output_required": true,
|
24861
24877
|
"required": false,
|
24862
24878
|
"type": "object",
|
24863
24879
|
"value_allowed_null": true
|
@@ -24868,6 +24884,7 @@
|
|
24868
24884
|
"example": "null",
|
24869
24885
|
"member": "OverrideTranscodeParameter",
|
24870
24886
|
"name": "OverrideParameter",
|
24887
|
+
"output_required": true,
|
24871
24888
|
"required": false,
|
24872
24889
|
"type": "object",
|
24873
24890
|
"value_allowed_null": true
|
@@ -24878,6 +24895,7 @@
|
|
24878
24895
|
"example": "null",
|
24879
24896
|
"member": "WatermarkInput",
|
24880
24897
|
"name": "WatermarkSet",
|
24898
|
+
"output_required": true,
|
24881
24899
|
"required": false,
|
24882
24900
|
"type": "list",
|
24883
24901
|
"value_allowed_null": true
|
@@ -24888,6 +24906,7 @@
|
|
24888
24906
|
"example": "null",
|
24889
24907
|
"member": "MosaicInput",
|
24890
24908
|
"name": "MosaicSet",
|
24909
|
+
"output_required": true,
|
24891
24910
|
"required": false,
|
24892
24911
|
"type": "list",
|
24893
24912
|
"value_allowed_null": false
|
@@ -24898,6 +24917,7 @@
|
|
24898
24917
|
"example": "null",
|
24899
24918
|
"member": "float",
|
24900
24919
|
"name": "StartTimeOffset",
|
24920
|
+
"output_required": true,
|
24901
24921
|
"required": false,
|
24902
24922
|
"type": "float",
|
24903
24923
|
"value_allowed_null": false
|
@@ -24908,6 +24928,7 @@
|
|
24908
24928
|
"example": "null",
|
24909
24929
|
"member": "float",
|
24910
24930
|
"name": "EndTimeOffset",
|
24931
|
+
"output_required": true,
|
24911
24932
|
"required": false,
|
24912
24933
|
"type": "float",
|
24913
24934
|
"value_allowed_null": false
|
@@ -24918,16 +24939,18 @@
|
|
24918
24939
|
"example": "null",
|
24919
24940
|
"member": "TaskOutputStorage",
|
24920
24941
|
"name": "OutputStorage",
|
24942
|
+
"output_required": true,
|
24921
24943
|
"required": false,
|
24922
24944
|
"type": "object",
|
24923
24945
|
"value_allowed_null": true
|
24924
24946
|
},
|
24925
24947
|
{
|
24926
24948
|
"disabled": false,
|
24927
|
-
"document": "
|
24949
|
+
"document": "转码后主文件的输出路径,可以为相对路径或者绝对路径。\n若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。\n相对路径示例:\n<li>文件名_{变量名}.{format}</li>\n<li>文件名.{format}</li>\n绝对路径示例:\n<li>/自定义路径/文件名_{变量名}.{format}</li>\n如果不填,则默认为相对路径:`{inputName}_transcode_{definition}.{format}`。\n",
|
24928
24950
|
"example": "null",
|
24929
24951
|
"member": "string",
|
24930
24952
|
"name": "OutputObjectPath",
|
24953
|
+
"output_required": true,
|
24931
24954
|
"required": false,
|
24932
24955
|
"type": "string",
|
24933
24956
|
"value_allowed_null": false
|
@@ -24938,6 +24961,7 @@
|
|
24938
24961
|
"example": "null",
|
24939
24962
|
"member": "string",
|
24940
24963
|
"name": "SegmentObjectName",
|
24964
|
+
"output_required": true,
|
24941
24965
|
"required": false,
|
24942
24966
|
"type": "string",
|
24943
24967
|
"value_allowed_null": false
|
@@ -24948,6 +24972,7 @@
|
|
24948
24972
|
"example": "null",
|
24949
24973
|
"member": "NumberFormat",
|
24950
24974
|
"name": "ObjectNumberFormat",
|
24975
|
+
"output_required": true,
|
24951
24976
|
"required": false,
|
24952
24977
|
"type": "object",
|
24953
24978
|
"value_allowed_null": true
|
@@ -24958,6 +24983,7 @@
|
|
24958
24983
|
"example": "{ \"HeadSet\": [ { \"Type\": \"URL\", \"UrlInputInfo\"",
|
24959
24984
|
"member": "HeadTailParameter",
|
24960
24985
|
"name": "HeadTailParameter",
|
24986
|
+
"output_required": true,
|
24961
24987
|
"required": false,
|
24962
24988
|
"type": "object",
|
24963
24989
|
"value_allowed_null": true
|
@@ -25694,8 +25720,8 @@
|
|
25694
25720
|
"members": [
|
25695
25721
|
{
|
25696
25722
|
"disabled": false,
|
25697
|
-
"document": "视频流的编码格式,可选值:\n<li>
|
25698
|
-
"example": "
|
25723
|
+
"document": "视频流的编码格式,可选值:\n<li>h264:H.264 编码</li>\n<li>h265:H.265 编码</li>\n<li>av1:AOMedia Video 1 编码</li>\n注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。\n注意:av1 编码容器目前只支持 mp4 。",
|
25724
|
+
"example": "h264",
|
25699
25725
|
"member": "string",
|
25700
25726
|
"name": "Codec",
|
25701
25727
|
"output_required": true,
|
@@ -25799,8 +25825,8 @@
|
|
25799
25825
|
"members": [
|
25800
25826
|
{
|
25801
25827
|
"disabled": false,
|
25802
|
-
"document": "视频流的编码格式,可选值:\n<li>
|
25803
|
-
"example": "
|
25828
|
+
"document": "视频流的编码格式,可选值:\n<li>h264:H.264 编码</li>\n<li>h265:H.265 编码</li>\n<li>av1:AOMedia Video 1 编码</li>\n注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。\n注意:av1 编码容器目前只支持 mp4 。\n注意:此字段可能返回 null,表示取不到有效值。",
|
25829
|
+
"example": "h264",
|
25804
25830
|
"member": "string",
|
25805
25831
|
"name": "Codec",
|
25806
25832
|
"output_required": false,
|
@@ -2696,7 +2696,7 @@
|
|
2696
2696
|
"example": "0",
|
2697
2697
|
"member": "int64",
|
2698
2698
|
"name": "ResultCode",
|
2699
|
-
"
|
2699
|
+
"output_required": true,
|
2700
2700
|
"type": "int",
|
2701
2701
|
"value_allowed_null": false
|
2702
2702
|
},
|
@@ -2706,7 +2706,7 @@
|
|
2706
2706
|
"example": "1",
|
2707
2707
|
"member": "int64",
|
2708
2708
|
"name": "RespVer",
|
2709
|
-
"
|
2709
|
+
"output_required": true,
|
2710
2710
|
"type": "int",
|
2711
2711
|
"value_allowed_null": false
|
2712
2712
|
},
|
@@ -2716,17 +2716,17 @@
|
|
2716
2716
|
"example": "1",
|
2717
2717
|
"member": "int64",
|
2718
2718
|
"name": "UrlType",
|
2719
|
-
"
|
2719
|
+
"output_required": true,
|
2720
2720
|
"type": "int",
|
2721
2721
|
"value_allowed_null": false
|
2722
2722
|
},
|
2723
2723
|
{
|
2724
2724
|
"disabled": false,
|
2725
|
-
"document": "[查询结果]url恶意类型大类:{\n \"1\": \"社工欺诈(仿冒、账号钓鱼、中奖诈骗)\",\n \"2\": \"信息诈骗(虚假充值、虚假兼职、虚假金融投资、虚假信用卡代办、网络赌博诈骗)\",\n \"3\": \"虚假销售(男女保健美容减肥产品、电子产品、虚假广告、违法销售)\",\n \"4\": \"恶意文件(病毒文件,木马文件,恶意apk文件的下载链接以及站点,挂马网站)\",\n \"5\": \"博彩网站(博彩网站,在线赌博网站)\",\n \"6\": \"色情网站(涉嫌传播色情内容,提供色情服务的网站)\"\n }",
|
2725
|
+
"document": "[查询结果]url恶意类型大类:{\n \"1\": \"社工欺诈(仿冒、账号钓鱼、中奖诈骗)\",\n \"2\": \"信息诈骗(虚假充值、虚假兼职、虚假金融投资、虚假信用卡代办、网络赌博诈骗)\",\n \"3\": \"虚假销售(男女保健美容减肥产品、电子产品、虚假广告、违法销售)\",\n \"4\": \"恶意文件(病毒文件,木马文件,恶意apk文件的下载链接以及站点,挂马网站)\",\n \"5\": \"博彩网站(博彩网站,在线赌博网站)\",\n \"6\": \"色情网站(涉嫌传播色情内容,提供色情服务的网站)\",\n \"7\": \"风险网站(弱类型,传播垃圾信息的网站,如果客户端有阻断,不建议使用这个网站)\",\n \"8\": \"违法网站(根据法律法规不能传播的内容,以及侵犯知识产权的类型)\"\n }",
|
2726
2726
|
"example": "1",
|
2727
2727
|
"member": "int64",
|
2728
2728
|
"name": "EvilClass",
|
2729
|
-
"
|
2729
|
+
"output_required": true,
|
2730
2730
|
"type": "int",
|
2731
2731
|
"value_allowed_null": false
|
2732
2732
|
},
|
@@ -2736,7 +2736,7 @@
|
|
2736
2736
|
"example": "1",
|
2737
2737
|
"member": "int64",
|
2738
2738
|
"name": "EvilType",
|
2739
|
-
"
|
2739
|
+
"output_required": true,
|
2740
2740
|
"type": "int",
|
2741
2741
|
"value_allowed_null": false
|
2742
2742
|
},
|
@@ -2746,7 +2746,7 @@
|
|
2746
2746
|
"example": "1",
|
2747
2747
|
"member": "int64",
|
2748
2748
|
"name": "Level",
|
2749
|
-
"
|
2749
|
+
"output_required": true,
|
2750
2750
|
"type": "int",
|
2751
2751
|
"value_allowed_null": false
|
2752
2752
|
},
|
@@ -2756,7 +2756,7 @@
|
|
2756
2756
|
"example": "111",
|
2757
2757
|
"member": "int64",
|
2758
2758
|
"name": "DetectTime",
|
2759
|
-
"
|
2759
|
+
"output_required": true,
|
2760
2760
|
"type": "int",
|
2761
2761
|
"value_allowed_null": false
|
2762
2762
|
},
|
@@ -2766,7 +2766,7 @@
|
|
2766
2766
|
"example": "\"\"",
|
2767
2767
|
"member": "string",
|
2768
2768
|
"name": "Wording",
|
2769
|
-
"
|
2769
|
+
"output_required": true,
|
2770
2770
|
"type": "string",
|
2771
2771
|
"value_allowed_null": false
|
2772
2772
|
},
|
@@ -2776,7 +2776,7 @@
|
|
2776
2776
|
"example": "\"\"",
|
2777
2777
|
"member": "string",
|
2778
2778
|
"name": "WordingTitle",
|
2779
|
-
"
|
2779
|
+
"output_required": true,
|
2780
2780
|
"type": "string",
|
2781
2781
|
"value_allowed_null": false
|
2782
2782
|
},
|
@@ -2786,7 +2786,7 @@
|
|
2786
2786
|
"example": "\"\"",
|
2787
2787
|
"member": "string",
|
2788
2788
|
"name": "UrlTypeDesc",
|
2789
|
-
"
|
2789
|
+
"output_required": true,
|
2790
2790
|
"type": "string",
|
2791
2791
|
"value_allowed_null": false
|
2792
2792
|
},
|
@@ -2796,7 +2796,7 @@
|
|
2796
2796
|
"example": "\"\"",
|
2797
2797
|
"member": "string",
|
2798
2798
|
"name": "EvilClassDesc",
|
2799
|
-
"
|
2799
|
+
"output_required": true,
|
2800
2800
|
"type": "string",
|
2801
2801
|
"value_allowed_null": false
|
2802
2802
|
},
|
@@ -2806,7 +2806,7 @@
|
|
2806
2806
|
"example": "\"\"",
|
2807
2807
|
"member": "string",
|
2808
2808
|
"name": "EvilTypeDesc",
|
2809
|
-
"
|
2809
|
+
"output_required": true,
|
2810
2810
|
"type": "string",
|
2811
2811
|
"value_allowed_null": false
|
2812
2812
|
},
|
@@ -2816,7 +2816,7 @@
|
|
2816
2816
|
"example": "\"\"",
|
2817
2817
|
"member": "string",
|
2818
2818
|
"name": "LevelDesc",
|
2819
|
-
"
|
2819
|
+
"output_required": true,
|
2820
2820
|
"type": "string",
|
2821
2821
|
"value_allowed_null": false
|
2822
2822
|
},
|
tccli/services/ocr/ocr_client.py
CHANGED
@@ -1525,6 +1525,58 @@ def doInvoiceGeneralOCR(args, parsed_globals):
|
|
1525
1525
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1526
1526
|
|
1527
1527
|
|
1528
|
+
def doReconstructDocument(args, parsed_globals):
|
1529
|
+
g_param = parse_global_arg(parsed_globals)
|
1530
|
+
|
1531
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1532
|
+
cred = credential.CVMRoleCredential()
|
1533
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1534
|
+
cred = credential.STSAssumeRoleCredential(
|
1535
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1536
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1537
|
+
)
|
1538
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
1539
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1540
|
+
else:
|
1541
|
+
cred = credential.Credential(
|
1542
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1543
|
+
)
|
1544
|
+
http_profile = HttpProfile(
|
1545
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1546
|
+
reqMethod="POST",
|
1547
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1548
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1549
|
+
)
|
1550
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1551
|
+
if g_param[OptionsDefine.Language]:
|
1552
|
+
profile.language = g_param[OptionsDefine.Language]
|
1553
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1554
|
+
client = mod.OcrClient(cred, g_param[OptionsDefine.Region], profile)
|
1555
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1556
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1557
|
+
model = models.ReconstructDocumentRequest()
|
1558
|
+
model.from_json_string(json.dumps(args))
|
1559
|
+
start_time = time.time()
|
1560
|
+
while True:
|
1561
|
+
rsp = client.ReconstructDocument(model)
|
1562
|
+
result = rsp.to_json_string()
|
1563
|
+
try:
|
1564
|
+
json_obj = json.loads(result)
|
1565
|
+
except TypeError as e:
|
1566
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1567
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1568
|
+
break
|
1569
|
+
cur_time = time.time()
|
1570
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1571
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1572
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1573
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1574
|
+
else:
|
1575
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1576
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1577
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1578
|
+
|
1579
|
+
|
1528
1580
|
def doGetTaskState(args, parsed_globals):
|
1529
1581
|
g_param = parse_global_arg(parsed_globals)
|
1530
1582
|
|
@@ -4373,6 +4425,7 @@ ACTION_MAP = {
|
|
4373
4425
|
"GeneralHandwritingOCR": doGeneralHandwritingOCR,
|
4374
4426
|
"AdvertiseOCR": doAdvertiseOCR,
|
4375
4427
|
"InvoiceGeneralOCR": doInvoiceGeneralOCR,
|
4428
|
+
"ReconstructDocument": doReconstructDocument,
|
4376
4429
|
"GetTaskState": doGetTaskState,
|
4377
4430
|
"RecognizeOnlineTaxiItineraryOCR": doRecognizeOnlineTaxiItineraryOCR,
|
4378
4431
|
"HKIDCardOCR": doHKIDCardOCR,
|