alibabacloud-aimiaobi20230801 1.28.0__tar.gz → 1.29.0__tar.gz
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.
- {alibabacloud_aimiaobi20230801-1.28.0 → alibabacloud_aimiaobi20230801-1.29.0}/ChangeLog.md +5 -0
- {alibabacloud_aimiaobi20230801-1.28.0 → alibabacloud_aimiaobi20230801-1.29.0}/PKG-INFO +1 -1
- alibabacloud_aimiaobi20230801-1.29.0/alibabacloud_aimiaobi20230801/__init__.py +1 -0
- {alibabacloud_aimiaobi20230801-1.28.0 → alibabacloud_aimiaobi20230801-1.29.0}/alibabacloud_aimiaobi20230801/client.py +416 -0
- {alibabacloud_aimiaobi20230801-1.28.0 → alibabacloud_aimiaobi20230801-1.29.0}/alibabacloud_aimiaobi20230801/models.py +1120 -270
- {alibabacloud_aimiaobi20230801-1.28.0 → alibabacloud_aimiaobi20230801-1.29.0}/alibabacloud_aimiaobi20230801.egg-info/PKG-INFO +1 -1
- {alibabacloud_aimiaobi20230801-1.28.0 → alibabacloud_aimiaobi20230801-1.29.0}/setup.py +1 -1
- alibabacloud_aimiaobi20230801-1.28.0/alibabacloud_aimiaobi20230801/__init__.py +0 -1
- {alibabacloud_aimiaobi20230801-1.28.0 → alibabacloud_aimiaobi20230801-1.29.0}/LICENSE +0 -0
- {alibabacloud_aimiaobi20230801-1.28.0 → alibabacloud_aimiaobi20230801-1.29.0}/MANIFEST.in +0 -0
- {alibabacloud_aimiaobi20230801-1.28.0 → alibabacloud_aimiaobi20230801-1.29.0}/README-CN.md +0 -0
- {alibabacloud_aimiaobi20230801-1.28.0 → alibabacloud_aimiaobi20230801-1.29.0}/README.md +0 -0
- {alibabacloud_aimiaobi20230801-1.28.0 → alibabacloud_aimiaobi20230801-1.29.0}/alibabacloud_aimiaobi20230801.egg-info/SOURCES.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.28.0 → alibabacloud_aimiaobi20230801-1.29.0}/alibabacloud_aimiaobi20230801.egg-info/dependency_links.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.28.0 → alibabacloud_aimiaobi20230801-1.29.0}/alibabacloud_aimiaobi20230801.egg-info/requires.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.28.0 → alibabacloud_aimiaobi20230801-1.29.0}/alibabacloud_aimiaobi20230801.egg-info/top_level.txt +0 -0
- {alibabacloud_aimiaobi20230801-1.28.0 → alibabacloud_aimiaobi20230801-1.29.0}/setup.cfg +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '1.29.0'
|
|
@@ -2113,6 +2113,106 @@ class Client(OpenApiClient):
|
|
|
2113
2113
|
runtime = util_models.RuntimeOptions()
|
|
2114
2114
|
return await self.export_analysis_tag_detail_by_task_id_with_options_async(request, runtime)
|
|
2115
2115
|
|
|
2116
|
+
def export_audit_content_result_with_options(
|
|
2117
|
+
self,
|
|
2118
|
+
request: ai_miao_bi_20230801_models.ExportAuditContentResultRequest,
|
|
2119
|
+
runtime: util_models.RuntimeOptions,
|
|
2120
|
+
) -> ai_miao_bi_20230801_models.ExportAuditContentResultResponse:
|
|
2121
|
+
"""
|
|
2122
|
+
@summary 导出智能审核报告
|
|
2123
|
+
|
|
2124
|
+
@param request: ExportAuditContentResultRequest
|
|
2125
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
2126
|
+
@return: ExportAuditContentResultResponse
|
|
2127
|
+
"""
|
|
2128
|
+
UtilClient.validate_model(request)
|
|
2129
|
+
body = {}
|
|
2130
|
+
if not UtilClient.is_unset(request.task_id):
|
|
2131
|
+
body['TaskId'] = request.task_id
|
|
2132
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
2133
|
+
body['WorkspaceId'] = request.workspace_id
|
|
2134
|
+
req = open_api_models.OpenApiRequest(
|
|
2135
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
2136
|
+
)
|
|
2137
|
+
params = open_api_models.Params(
|
|
2138
|
+
action='ExportAuditContentResult',
|
|
2139
|
+
version='2023-08-01',
|
|
2140
|
+
protocol='HTTPS',
|
|
2141
|
+
pathname='/',
|
|
2142
|
+
method='POST',
|
|
2143
|
+
auth_type='AK',
|
|
2144
|
+
style='RPC',
|
|
2145
|
+
req_body_type='formData',
|
|
2146
|
+
body_type='json'
|
|
2147
|
+
)
|
|
2148
|
+
return TeaCore.from_map(
|
|
2149
|
+
ai_miao_bi_20230801_models.ExportAuditContentResultResponse(),
|
|
2150
|
+
self.call_api(params, req, runtime)
|
|
2151
|
+
)
|
|
2152
|
+
|
|
2153
|
+
async def export_audit_content_result_with_options_async(
|
|
2154
|
+
self,
|
|
2155
|
+
request: ai_miao_bi_20230801_models.ExportAuditContentResultRequest,
|
|
2156
|
+
runtime: util_models.RuntimeOptions,
|
|
2157
|
+
) -> ai_miao_bi_20230801_models.ExportAuditContentResultResponse:
|
|
2158
|
+
"""
|
|
2159
|
+
@summary 导出智能审核报告
|
|
2160
|
+
|
|
2161
|
+
@param request: ExportAuditContentResultRequest
|
|
2162
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
2163
|
+
@return: ExportAuditContentResultResponse
|
|
2164
|
+
"""
|
|
2165
|
+
UtilClient.validate_model(request)
|
|
2166
|
+
body = {}
|
|
2167
|
+
if not UtilClient.is_unset(request.task_id):
|
|
2168
|
+
body['TaskId'] = request.task_id
|
|
2169
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
2170
|
+
body['WorkspaceId'] = request.workspace_id
|
|
2171
|
+
req = open_api_models.OpenApiRequest(
|
|
2172
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
2173
|
+
)
|
|
2174
|
+
params = open_api_models.Params(
|
|
2175
|
+
action='ExportAuditContentResult',
|
|
2176
|
+
version='2023-08-01',
|
|
2177
|
+
protocol='HTTPS',
|
|
2178
|
+
pathname='/',
|
|
2179
|
+
method='POST',
|
|
2180
|
+
auth_type='AK',
|
|
2181
|
+
style='RPC',
|
|
2182
|
+
req_body_type='formData',
|
|
2183
|
+
body_type='json'
|
|
2184
|
+
)
|
|
2185
|
+
return TeaCore.from_map(
|
|
2186
|
+
ai_miao_bi_20230801_models.ExportAuditContentResultResponse(),
|
|
2187
|
+
await self.call_api_async(params, req, runtime)
|
|
2188
|
+
)
|
|
2189
|
+
|
|
2190
|
+
def export_audit_content_result(
|
|
2191
|
+
self,
|
|
2192
|
+
request: ai_miao_bi_20230801_models.ExportAuditContentResultRequest,
|
|
2193
|
+
) -> ai_miao_bi_20230801_models.ExportAuditContentResultResponse:
|
|
2194
|
+
"""
|
|
2195
|
+
@summary 导出智能审核报告
|
|
2196
|
+
|
|
2197
|
+
@param request: ExportAuditContentResultRequest
|
|
2198
|
+
@return: ExportAuditContentResultResponse
|
|
2199
|
+
"""
|
|
2200
|
+
runtime = util_models.RuntimeOptions()
|
|
2201
|
+
return self.export_audit_content_result_with_options(request, runtime)
|
|
2202
|
+
|
|
2203
|
+
async def export_audit_content_result_async(
|
|
2204
|
+
self,
|
|
2205
|
+
request: ai_miao_bi_20230801_models.ExportAuditContentResultRequest,
|
|
2206
|
+
) -> ai_miao_bi_20230801_models.ExportAuditContentResultResponse:
|
|
2207
|
+
"""
|
|
2208
|
+
@summary 导出智能审核报告
|
|
2209
|
+
|
|
2210
|
+
@param request: ExportAuditContentResultRequest
|
|
2211
|
+
@return: ExportAuditContentResultResponse
|
|
2212
|
+
"""
|
|
2213
|
+
runtime = util_models.RuntimeOptions()
|
|
2214
|
+
return await self.export_audit_content_result_with_options_async(request, runtime)
|
|
2215
|
+
|
|
2116
2216
|
def export_custom_source_analysis_task_with_options(
|
|
2117
2217
|
self,
|
|
2118
2218
|
request: ai_miao_bi_20230801_models.ExportCustomSourceAnalysisTaskRequest,
|
|
@@ -5573,6 +5673,106 @@ class Client(OpenApiClient):
|
|
|
5573
5673
|
runtime = util_models.RuntimeOptions()
|
|
5574
5674
|
return await self.get_properties_with_options_async(request, runtime)
|
|
5575
5675
|
|
|
5676
|
+
def get_smart_audit_result_with_options(
|
|
5677
|
+
self,
|
|
5678
|
+
request: ai_miao_bi_20230801_models.GetSmartAuditResultRequest,
|
|
5679
|
+
runtime: util_models.RuntimeOptions,
|
|
5680
|
+
) -> ai_miao_bi_20230801_models.GetSmartAuditResultResponse:
|
|
5681
|
+
"""
|
|
5682
|
+
@summary 查询智能审核结果
|
|
5683
|
+
|
|
5684
|
+
@param request: GetSmartAuditResultRequest
|
|
5685
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
5686
|
+
@return: GetSmartAuditResultResponse
|
|
5687
|
+
"""
|
|
5688
|
+
UtilClient.validate_model(request)
|
|
5689
|
+
body = {}
|
|
5690
|
+
if not UtilClient.is_unset(request.task_id):
|
|
5691
|
+
body['TaskId'] = request.task_id
|
|
5692
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
5693
|
+
body['WorkspaceId'] = request.workspace_id
|
|
5694
|
+
req = open_api_models.OpenApiRequest(
|
|
5695
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
5696
|
+
)
|
|
5697
|
+
params = open_api_models.Params(
|
|
5698
|
+
action='GetSmartAuditResult',
|
|
5699
|
+
version='2023-08-01',
|
|
5700
|
+
protocol='HTTPS',
|
|
5701
|
+
pathname='/',
|
|
5702
|
+
method='POST',
|
|
5703
|
+
auth_type='AK',
|
|
5704
|
+
style='RPC',
|
|
5705
|
+
req_body_type='formData',
|
|
5706
|
+
body_type='json'
|
|
5707
|
+
)
|
|
5708
|
+
return TeaCore.from_map(
|
|
5709
|
+
ai_miao_bi_20230801_models.GetSmartAuditResultResponse(),
|
|
5710
|
+
self.call_api(params, req, runtime)
|
|
5711
|
+
)
|
|
5712
|
+
|
|
5713
|
+
async def get_smart_audit_result_with_options_async(
|
|
5714
|
+
self,
|
|
5715
|
+
request: ai_miao_bi_20230801_models.GetSmartAuditResultRequest,
|
|
5716
|
+
runtime: util_models.RuntimeOptions,
|
|
5717
|
+
) -> ai_miao_bi_20230801_models.GetSmartAuditResultResponse:
|
|
5718
|
+
"""
|
|
5719
|
+
@summary 查询智能审核结果
|
|
5720
|
+
|
|
5721
|
+
@param request: GetSmartAuditResultRequest
|
|
5722
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
5723
|
+
@return: GetSmartAuditResultResponse
|
|
5724
|
+
"""
|
|
5725
|
+
UtilClient.validate_model(request)
|
|
5726
|
+
body = {}
|
|
5727
|
+
if not UtilClient.is_unset(request.task_id):
|
|
5728
|
+
body['TaskId'] = request.task_id
|
|
5729
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
5730
|
+
body['WorkspaceId'] = request.workspace_id
|
|
5731
|
+
req = open_api_models.OpenApiRequest(
|
|
5732
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
5733
|
+
)
|
|
5734
|
+
params = open_api_models.Params(
|
|
5735
|
+
action='GetSmartAuditResult',
|
|
5736
|
+
version='2023-08-01',
|
|
5737
|
+
protocol='HTTPS',
|
|
5738
|
+
pathname='/',
|
|
5739
|
+
method='POST',
|
|
5740
|
+
auth_type='AK',
|
|
5741
|
+
style='RPC',
|
|
5742
|
+
req_body_type='formData',
|
|
5743
|
+
body_type='json'
|
|
5744
|
+
)
|
|
5745
|
+
return TeaCore.from_map(
|
|
5746
|
+
ai_miao_bi_20230801_models.GetSmartAuditResultResponse(),
|
|
5747
|
+
await self.call_api_async(params, req, runtime)
|
|
5748
|
+
)
|
|
5749
|
+
|
|
5750
|
+
def get_smart_audit_result(
|
|
5751
|
+
self,
|
|
5752
|
+
request: ai_miao_bi_20230801_models.GetSmartAuditResultRequest,
|
|
5753
|
+
) -> ai_miao_bi_20230801_models.GetSmartAuditResultResponse:
|
|
5754
|
+
"""
|
|
5755
|
+
@summary 查询智能审核结果
|
|
5756
|
+
|
|
5757
|
+
@param request: GetSmartAuditResultRequest
|
|
5758
|
+
@return: GetSmartAuditResultResponse
|
|
5759
|
+
"""
|
|
5760
|
+
runtime = util_models.RuntimeOptions()
|
|
5761
|
+
return self.get_smart_audit_result_with_options(request, runtime)
|
|
5762
|
+
|
|
5763
|
+
async def get_smart_audit_result_async(
|
|
5764
|
+
self,
|
|
5765
|
+
request: ai_miao_bi_20230801_models.GetSmartAuditResultRequest,
|
|
5766
|
+
) -> ai_miao_bi_20230801_models.GetSmartAuditResultResponse:
|
|
5767
|
+
"""
|
|
5768
|
+
@summary 查询智能审核结果
|
|
5769
|
+
|
|
5770
|
+
@param request: GetSmartAuditResultRequest
|
|
5771
|
+
@return: GetSmartAuditResultResponse
|
|
5772
|
+
"""
|
|
5773
|
+
runtime = util_models.RuntimeOptions()
|
|
5774
|
+
return await self.get_smart_audit_result_with_options_async(request, runtime)
|
|
5775
|
+
|
|
5576
5776
|
def get_smart_clip_task_with_options(
|
|
5577
5777
|
self,
|
|
5578
5778
|
request: ai_miao_bi_20230801_models.GetSmartClipTaskRequest,
|
|
@@ -6713,6 +6913,110 @@ class Client(OpenApiClient):
|
|
|
6713
6913
|
runtime = util_models.RuntimeOptions()
|
|
6714
6914
|
return await self.list_async_tasks_with_options_async(request, runtime)
|
|
6715
6915
|
|
|
6916
|
+
def list_audit_content_error_types_with_options(
|
|
6917
|
+
self,
|
|
6918
|
+
request: ai_miao_bi_20230801_models.ListAuditContentErrorTypesRequest,
|
|
6919
|
+
runtime: util_models.RuntimeOptions,
|
|
6920
|
+
) -> ai_miao_bi_20230801_models.ListAuditContentErrorTypesResponse:
|
|
6921
|
+
"""
|
|
6922
|
+
@summary 获取审核维度列表
|
|
6923
|
+
|
|
6924
|
+
@param request: ListAuditContentErrorTypesRequest
|
|
6925
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
6926
|
+
@return: ListAuditContentErrorTypesResponse
|
|
6927
|
+
"""
|
|
6928
|
+
UtilClient.validate_model(request)
|
|
6929
|
+
body = {}
|
|
6930
|
+
if not UtilClient.is_unset(request.max_results):
|
|
6931
|
+
body['MaxResults'] = request.max_results
|
|
6932
|
+
if not UtilClient.is_unset(request.next_token):
|
|
6933
|
+
body['NextToken'] = request.next_token
|
|
6934
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
6935
|
+
body['WorkspaceId'] = request.workspace_id
|
|
6936
|
+
req = open_api_models.OpenApiRequest(
|
|
6937
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
6938
|
+
)
|
|
6939
|
+
params = open_api_models.Params(
|
|
6940
|
+
action='ListAuditContentErrorTypes',
|
|
6941
|
+
version='2023-08-01',
|
|
6942
|
+
protocol='HTTPS',
|
|
6943
|
+
pathname='/',
|
|
6944
|
+
method='POST',
|
|
6945
|
+
auth_type='AK',
|
|
6946
|
+
style='RPC',
|
|
6947
|
+
req_body_type='formData',
|
|
6948
|
+
body_type='json'
|
|
6949
|
+
)
|
|
6950
|
+
return TeaCore.from_map(
|
|
6951
|
+
ai_miao_bi_20230801_models.ListAuditContentErrorTypesResponse(),
|
|
6952
|
+
self.call_api(params, req, runtime)
|
|
6953
|
+
)
|
|
6954
|
+
|
|
6955
|
+
async def list_audit_content_error_types_with_options_async(
|
|
6956
|
+
self,
|
|
6957
|
+
request: ai_miao_bi_20230801_models.ListAuditContentErrorTypesRequest,
|
|
6958
|
+
runtime: util_models.RuntimeOptions,
|
|
6959
|
+
) -> ai_miao_bi_20230801_models.ListAuditContentErrorTypesResponse:
|
|
6960
|
+
"""
|
|
6961
|
+
@summary 获取审核维度列表
|
|
6962
|
+
|
|
6963
|
+
@param request: ListAuditContentErrorTypesRequest
|
|
6964
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
6965
|
+
@return: ListAuditContentErrorTypesResponse
|
|
6966
|
+
"""
|
|
6967
|
+
UtilClient.validate_model(request)
|
|
6968
|
+
body = {}
|
|
6969
|
+
if not UtilClient.is_unset(request.max_results):
|
|
6970
|
+
body['MaxResults'] = request.max_results
|
|
6971
|
+
if not UtilClient.is_unset(request.next_token):
|
|
6972
|
+
body['NextToken'] = request.next_token
|
|
6973
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
6974
|
+
body['WorkspaceId'] = request.workspace_id
|
|
6975
|
+
req = open_api_models.OpenApiRequest(
|
|
6976
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
6977
|
+
)
|
|
6978
|
+
params = open_api_models.Params(
|
|
6979
|
+
action='ListAuditContentErrorTypes',
|
|
6980
|
+
version='2023-08-01',
|
|
6981
|
+
protocol='HTTPS',
|
|
6982
|
+
pathname='/',
|
|
6983
|
+
method='POST',
|
|
6984
|
+
auth_type='AK',
|
|
6985
|
+
style='RPC',
|
|
6986
|
+
req_body_type='formData',
|
|
6987
|
+
body_type='json'
|
|
6988
|
+
)
|
|
6989
|
+
return TeaCore.from_map(
|
|
6990
|
+
ai_miao_bi_20230801_models.ListAuditContentErrorTypesResponse(),
|
|
6991
|
+
await self.call_api_async(params, req, runtime)
|
|
6992
|
+
)
|
|
6993
|
+
|
|
6994
|
+
def list_audit_content_error_types(
|
|
6995
|
+
self,
|
|
6996
|
+
request: ai_miao_bi_20230801_models.ListAuditContentErrorTypesRequest,
|
|
6997
|
+
) -> ai_miao_bi_20230801_models.ListAuditContentErrorTypesResponse:
|
|
6998
|
+
"""
|
|
6999
|
+
@summary 获取审核维度列表
|
|
7000
|
+
|
|
7001
|
+
@param request: ListAuditContentErrorTypesRequest
|
|
7002
|
+
@return: ListAuditContentErrorTypesResponse
|
|
7003
|
+
"""
|
|
7004
|
+
runtime = util_models.RuntimeOptions()
|
|
7005
|
+
return self.list_audit_content_error_types_with_options(request, runtime)
|
|
7006
|
+
|
|
7007
|
+
async def list_audit_content_error_types_async(
|
|
7008
|
+
self,
|
|
7009
|
+
request: ai_miao_bi_20230801_models.ListAuditContentErrorTypesRequest,
|
|
7010
|
+
) -> ai_miao_bi_20230801_models.ListAuditContentErrorTypesResponse:
|
|
7011
|
+
"""
|
|
7012
|
+
@summary 获取审核维度列表
|
|
7013
|
+
|
|
7014
|
+
@param request: ListAuditContentErrorTypesRequest
|
|
7015
|
+
@return: ListAuditContentErrorTypesResponse
|
|
7016
|
+
"""
|
|
7017
|
+
runtime = util_models.RuntimeOptions()
|
|
7018
|
+
return await self.list_audit_content_error_types_with_options_async(request, runtime)
|
|
7019
|
+
|
|
6716
7020
|
def list_build_configs_with_options(
|
|
6717
7021
|
self,
|
|
6718
7022
|
request: ai_miao_bi_20230801_models.ListBuildConfigsRequest,
|
|
@@ -15833,6 +16137,118 @@ class Client(OpenApiClient):
|
|
|
15833
16137
|
runtime = util_models.RuntimeOptions()
|
|
15834
16138
|
return await self.submit_enterprise_voc_analysis_task_with_options_async(request, runtime)
|
|
15835
16139
|
|
|
16140
|
+
def submit_smart_audit_with_options(
|
|
16141
|
+
self,
|
|
16142
|
+
tmp_req: ai_miao_bi_20230801_models.SubmitSmartAuditRequest,
|
|
16143
|
+
runtime: util_models.RuntimeOptions,
|
|
16144
|
+
) -> ai_miao_bi_20230801_models.SubmitSmartAuditResponse:
|
|
16145
|
+
"""
|
|
16146
|
+
@summary 提交智能审核
|
|
16147
|
+
|
|
16148
|
+
@param tmp_req: SubmitSmartAuditRequest
|
|
16149
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
16150
|
+
@return: SubmitSmartAuditResponse
|
|
16151
|
+
"""
|
|
16152
|
+
UtilClient.validate_model(tmp_req)
|
|
16153
|
+
request = ai_miao_bi_20230801_models.SubmitSmartAuditShrinkRequest()
|
|
16154
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
16155
|
+
if not UtilClient.is_unset(tmp_req.sub_codes):
|
|
16156
|
+
request.sub_codes_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.sub_codes, 'SubCodes', 'json')
|
|
16157
|
+
body = {}
|
|
16158
|
+
if not UtilClient.is_unset(request.sub_codes_shrink):
|
|
16159
|
+
body['SubCodes'] = request.sub_codes_shrink
|
|
16160
|
+
if not UtilClient.is_unset(request.text):
|
|
16161
|
+
body['Text'] = request.text
|
|
16162
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
16163
|
+
body['WorkspaceId'] = request.workspace_id
|
|
16164
|
+
req = open_api_models.OpenApiRequest(
|
|
16165
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
16166
|
+
)
|
|
16167
|
+
params = open_api_models.Params(
|
|
16168
|
+
action='SubmitSmartAudit',
|
|
16169
|
+
version='2023-08-01',
|
|
16170
|
+
protocol='HTTPS',
|
|
16171
|
+
pathname='/',
|
|
16172
|
+
method='POST',
|
|
16173
|
+
auth_type='AK',
|
|
16174
|
+
style='RPC',
|
|
16175
|
+
req_body_type='formData',
|
|
16176
|
+
body_type='json'
|
|
16177
|
+
)
|
|
16178
|
+
return TeaCore.from_map(
|
|
16179
|
+
ai_miao_bi_20230801_models.SubmitSmartAuditResponse(),
|
|
16180
|
+
self.call_api(params, req, runtime)
|
|
16181
|
+
)
|
|
16182
|
+
|
|
16183
|
+
async def submit_smart_audit_with_options_async(
|
|
16184
|
+
self,
|
|
16185
|
+
tmp_req: ai_miao_bi_20230801_models.SubmitSmartAuditRequest,
|
|
16186
|
+
runtime: util_models.RuntimeOptions,
|
|
16187
|
+
) -> ai_miao_bi_20230801_models.SubmitSmartAuditResponse:
|
|
16188
|
+
"""
|
|
16189
|
+
@summary 提交智能审核
|
|
16190
|
+
|
|
16191
|
+
@param tmp_req: SubmitSmartAuditRequest
|
|
16192
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
16193
|
+
@return: SubmitSmartAuditResponse
|
|
16194
|
+
"""
|
|
16195
|
+
UtilClient.validate_model(tmp_req)
|
|
16196
|
+
request = ai_miao_bi_20230801_models.SubmitSmartAuditShrinkRequest()
|
|
16197
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
16198
|
+
if not UtilClient.is_unset(tmp_req.sub_codes):
|
|
16199
|
+
request.sub_codes_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.sub_codes, 'SubCodes', 'json')
|
|
16200
|
+
body = {}
|
|
16201
|
+
if not UtilClient.is_unset(request.sub_codes_shrink):
|
|
16202
|
+
body['SubCodes'] = request.sub_codes_shrink
|
|
16203
|
+
if not UtilClient.is_unset(request.text):
|
|
16204
|
+
body['Text'] = request.text
|
|
16205
|
+
if not UtilClient.is_unset(request.workspace_id):
|
|
16206
|
+
body['WorkspaceId'] = request.workspace_id
|
|
16207
|
+
req = open_api_models.OpenApiRequest(
|
|
16208
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
16209
|
+
)
|
|
16210
|
+
params = open_api_models.Params(
|
|
16211
|
+
action='SubmitSmartAudit',
|
|
16212
|
+
version='2023-08-01',
|
|
16213
|
+
protocol='HTTPS',
|
|
16214
|
+
pathname='/',
|
|
16215
|
+
method='POST',
|
|
16216
|
+
auth_type='AK',
|
|
16217
|
+
style='RPC',
|
|
16218
|
+
req_body_type='formData',
|
|
16219
|
+
body_type='json'
|
|
16220
|
+
)
|
|
16221
|
+
return TeaCore.from_map(
|
|
16222
|
+
ai_miao_bi_20230801_models.SubmitSmartAuditResponse(),
|
|
16223
|
+
await self.call_api_async(params, req, runtime)
|
|
16224
|
+
)
|
|
16225
|
+
|
|
16226
|
+
def submit_smart_audit(
|
|
16227
|
+
self,
|
|
16228
|
+
request: ai_miao_bi_20230801_models.SubmitSmartAuditRequest,
|
|
16229
|
+
) -> ai_miao_bi_20230801_models.SubmitSmartAuditResponse:
|
|
16230
|
+
"""
|
|
16231
|
+
@summary 提交智能审核
|
|
16232
|
+
|
|
16233
|
+
@param request: SubmitSmartAuditRequest
|
|
16234
|
+
@return: SubmitSmartAuditResponse
|
|
16235
|
+
"""
|
|
16236
|
+
runtime = util_models.RuntimeOptions()
|
|
16237
|
+
return self.submit_smart_audit_with_options(request, runtime)
|
|
16238
|
+
|
|
16239
|
+
async def submit_smart_audit_async(
|
|
16240
|
+
self,
|
|
16241
|
+
request: ai_miao_bi_20230801_models.SubmitSmartAuditRequest,
|
|
16242
|
+
) -> ai_miao_bi_20230801_models.SubmitSmartAuditResponse:
|
|
16243
|
+
"""
|
|
16244
|
+
@summary 提交智能审核
|
|
16245
|
+
|
|
16246
|
+
@param request: SubmitSmartAuditRequest
|
|
16247
|
+
@return: SubmitSmartAuditResponse
|
|
16248
|
+
"""
|
|
16249
|
+
runtime = util_models.RuntimeOptions()
|
|
16250
|
+
return await self.submit_smart_audit_with_options_async(request, runtime)
|
|
16251
|
+
|
|
15836
16252
|
def submit_smart_clip_task_with_options(
|
|
15837
16253
|
self,
|
|
15838
16254
|
tmp_req: ai_miao_bi_20230801_models.SubmitSmartClipTaskRequest,
|