@alicloud/aimiaobi20230801 1.28.0 → 1.29.0
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.
- package/dist/client.d.ts +60 -0
- package/dist/client.js +179 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ExportAuditContentResultRequest.d.ts +23 -0
- package/dist/models/ExportAuditContentResultRequest.js +60 -0
- package/dist/models/ExportAuditContentResultRequest.js.map +1 -0
- package/dist/models/ExportAuditContentResultResponse.d.ts +19 -0
- package/dist/models/ExportAuditContentResultResponse.js +69 -0
- package/dist/models/ExportAuditContentResultResponse.js.map +1 -0
- package/dist/models/ExportAuditContentResultResponseBody.d.ts +46 -0
- package/dist/models/ExportAuditContentResultResponseBody.js +68 -0
- package/dist/models/ExportAuditContentResultResponseBody.js.map +1 -0
- package/dist/models/GetSmartAuditResultRequest.d.ts +23 -0
- package/dist/models/GetSmartAuditResultRequest.js +60 -0
- package/dist/models/GetSmartAuditResultRequest.js.map +1 -0
- package/dist/models/GetSmartAuditResultResponse.d.ts +19 -0
- package/dist/models/GetSmartAuditResultResponse.js +69 -0
- package/dist/models/GetSmartAuditResultResponse.js.map +1 -0
- package/dist/models/GetSmartAuditResultResponseBody.d.ts +43 -0
- package/dist/models/GetSmartAuditResultResponseBody.js +72 -0
- package/dist/models/GetSmartAuditResultResponseBody.js.map +1 -0
- package/dist/models/GetSmartAuditResultResponseBodyData.d.ts +20 -0
- package/dist/models/GetSmartAuditResultResponseBodyData.js +64 -0
- package/dist/models/GetSmartAuditResultResponseBodyData.js.map +1 -0
- package/dist/models/GetSmartAuditResultResponseBodyDataErrorItemDetails.d.ts +53 -0
- package/dist/models/GetSmartAuditResultResponseBodyDataErrorItemDetails.js +80 -0
- package/dist/models/GetSmartAuditResultResponseBodyDataErrorItemDetails.js.map +1 -0
- package/dist/models/ListAuditContentErrorTypesRequest.d.ts +28 -0
- package/dist/models/ListAuditContentErrorTypesRequest.js +62 -0
- package/dist/models/ListAuditContentErrorTypesRequest.js.map +1 -0
- package/dist/models/ListAuditContentErrorTypesResponse.d.ts +19 -0
- package/dist/models/ListAuditContentErrorTypesResponse.js +69 -0
- package/dist/models/ListAuditContentErrorTypesResponse.js.map +1 -0
- package/dist/models/ListAuditContentErrorTypesResponseBody.d.ts +54 -0
- package/dist/models/ListAuditContentErrorTypesResponseBody.js +78 -0
- package/dist/models/ListAuditContentErrorTypesResponseBody.js.map +1 -0
- package/dist/models/ListAuditContentErrorTypesResponseBodyData.d.ts +21 -0
- package/dist/models/ListAuditContentErrorTypesResponseBodyData.js +66 -0
- package/dist/models/ListAuditContentErrorTypesResponseBodyData.js.map +1 -0
- package/dist/models/ListAuditContentErrorTypesResponseBodyDataSubClasses.d.ts +19 -0
- package/dist/models/ListAuditContentErrorTypesResponseBodyDataSubClasses.js +60 -0
- package/dist/models/ListAuditContentErrorTypesResponseBodyDataSubClasses.js.map +1 -0
- package/dist/models/SubmitSmartAuditRequest.d.ts +20 -0
- package/dist/models/SubmitSmartAuditRequest.js +65 -0
- package/dist/models/SubmitSmartAuditRequest.js.map +1 -0
- package/dist/models/SubmitSmartAuditResponse.d.ts +19 -0
- package/dist/models/SubmitSmartAuditResponse.js +69 -0
- package/dist/models/SubmitSmartAuditResponse.js.map +1 -0
- package/dist/models/SubmitSmartAuditResponseBody.d.ts +43 -0
- package/dist/models/SubmitSmartAuditResponseBody.js +72 -0
- package/dist/models/SubmitSmartAuditResponseBody.js.map +1 -0
- package/dist/models/SubmitSmartAuditResponseBodyData.d.ts +18 -0
- package/dist/models/SubmitSmartAuditResponseBodyData.js +58 -0
- package/dist/models/SubmitSmartAuditResponseBodyData.js.map +1 -0
- package/dist/models/SubmitSmartAuditShrinkRequest.d.ts +20 -0
- package/dist/models/SubmitSmartAuditShrinkRequest.js +62 -0
- package/dist/models/SubmitSmartAuditShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +18 -0
- package/dist/models/model.js +55 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +198 -0
- package/src/models/ExportAuditContentResultRequest.ts +38 -0
- package/src/models/ExportAuditContentResultResponse.ts +40 -0
- package/src/models/ExportAuditContentResultResponseBody.ts +69 -0
- package/src/models/GetSmartAuditResultRequest.ts +38 -0
- package/src/models/GetSmartAuditResultResponse.ts +40 -0
- package/src/models/GetSmartAuditResultResponseBody.ts +69 -0
- package/src/models/GetSmartAuditResultResponseBodyData.ts +38 -0
- package/src/models/GetSmartAuditResultResponseBodyDataErrorItemDetails.ts +88 -0
- package/src/models/ListAuditContentErrorTypesRequest.ts +45 -0
- package/src/models/ListAuditContentErrorTypesResponse.ts +40 -0
- package/src/models/ListAuditContentErrorTypesResponseBody.ts +86 -0
- package/src/models/ListAuditContentErrorTypesResponseBodyData.ts +41 -0
- package/src/models/ListAuditContentErrorTypesResponseBodyDataSubClasses.ts +34 -0
- package/src/models/SubmitSmartAuditRequest.ts +40 -0
- package/src/models/SubmitSmartAuditResponse.ts +40 -0
- package/src/models/SubmitSmartAuditResponseBody.ts +69 -0
- package/src/models/SubmitSmartAuditResponseBodyData.ts +31 -0
- package/src/models/SubmitSmartAuditShrinkRequest.ts +37 -0
- package/src/models/model.ts +18 -0
package/src/client.ts
CHANGED
|
@@ -1043,6 +1043,52 @@ export default class Client extends OpenApi {
|
|
|
1043
1043
|
return await this.exportAnalysisTagDetailByTaskIdWithOptions(request, runtime);
|
|
1044
1044
|
}
|
|
1045
1045
|
|
|
1046
|
+
/**
|
|
1047
|
+
* 导出智能审核报告
|
|
1048
|
+
*
|
|
1049
|
+
* @param request - ExportAuditContentResultRequest
|
|
1050
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1051
|
+
* @returns ExportAuditContentResultResponse
|
|
1052
|
+
*/
|
|
1053
|
+
async exportAuditContentResultWithOptions(request: $_model.ExportAuditContentResultRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ExportAuditContentResultResponse> {
|
|
1054
|
+
request.validate();
|
|
1055
|
+
let body : {[key: string ]: any} = { };
|
|
1056
|
+
if (!$dara.isNull(request.taskId)) {
|
|
1057
|
+
body["TaskId"] = request.taskId;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
1061
|
+
body["WorkspaceId"] = request.workspaceId;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1065
|
+
body: OpenApiUtil.parseToMap(body),
|
|
1066
|
+
});
|
|
1067
|
+
let params = new $OpenApiUtil.Params({
|
|
1068
|
+
action: "ExportAuditContentResult",
|
|
1069
|
+
version: "2023-08-01",
|
|
1070
|
+
protocol: "HTTPS",
|
|
1071
|
+
pathname: "/",
|
|
1072
|
+
method: "POST",
|
|
1073
|
+
authType: "AK",
|
|
1074
|
+
style: "RPC",
|
|
1075
|
+
reqBodyType: "formData",
|
|
1076
|
+
bodyType: "json",
|
|
1077
|
+
});
|
|
1078
|
+
return $dara.cast<$_model.ExportAuditContentResultResponse>(await this.callApi(params, req, runtime), new $_model.ExportAuditContentResultResponse({}));
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* 导出智能审核报告
|
|
1083
|
+
*
|
|
1084
|
+
* @param request - ExportAuditContentResultRequest
|
|
1085
|
+
* @returns ExportAuditContentResultResponse
|
|
1086
|
+
*/
|
|
1087
|
+
async exportAuditContentResult(request: $_model.ExportAuditContentResultRequest): Promise<$_model.ExportAuditContentResultResponse> {
|
|
1088
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1089
|
+
return await this.exportAuditContentResultWithOptions(request, runtime);
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1046
1092
|
/**
|
|
1047
1093
|
* 导出-自定义数据源-选题视角分析任务结果
|
|
1048
1094
|
*
|
|
@@ -2727,6 +2773,52 @@ export default class Client extends OpenApi {
|
|
|
2727
2773
|
return await this.getPropertiesWithOptions(request, runtime);
|
|
2728
2774
|
}
|
|
2729
2775
|
|
|
2776
|
+
/**
|
|
2777
|
+
* 查询智能审核结果
|
|
2778
|
+
*
|
|
2779
|
+
* @param request - GetSmartAuditResultRequest
|
|
2780
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2781
|
+
* @returns GetSmartAuditResultResponse
|
|
2782
|
+
*/
|
|
2783
|
+
async getSmartAuditResultWithOptions(request: $_model.GetSmartAuditResultRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetSmartAuditResultResponse> {
|
|
2784
|
+
request.validate();
|
|
2785
|
+
let body : {[key: string ]: any} = { };
|
|
2786
|
+
if (!$dara.isNull(request.taskId)) {
|
|
2787
|
+
body["TaskId"] = request.taskId;
|
|
2788
|
+
}
|
|
2789
|
+
|
|
2790
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
2791
|
+
body["WorkspaceId"] = request.workspaceId;
|
|
2792
|
+
}
|
|
2793
|
+
|
|
2794
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2795
|
+
body: OpenApiUtil.parseToMap(body),
|
|
2796
|
+
});
|
|
2797
|
+
let params = new $OpenApiUtil.Params({
|
|
2798
|
+
action: "GetSmartAuditResult",
|
|
2799
|
+
version: "2023-08-01",
|
|
2800
|
+
protocol: "HTTPS",
|
|
2801
|
+
pathname: "/",
|
|
2802
|
+
method: "POST",
|
|
2803
|
+
authType: "AK",
|
|
2804
|
+
style: "RPC",
|
|
2805
|
+
reqBodyType: "formData",
|
|
2806
|
+
bodyType: "json",
|
|
2807
|
+
});
|
|
2808
|
+
return $dara.cast<$_model.GetSmartAuditResultResponse>(await this.callApi(params, req, runtime), new $_model.GetSmartAuditResultResponse({}));
|
|
2809
|
+
}
|
|
2810
|
+
|
|
2811
|
+
/**
|
|
2812
|
+
* 查询智能审核结果
|
|
2813
|
+
*
|
|
2814
|
+
* @param request - GetSmartAuditResultRequest
|
|
2815
|
+
* @returns GetSmartAuditResultResponse
|
|
2816
|
+
*/
|
|
2817
|
+
async getSmartAuditResult(request: $_model.GetSmartAuditResultRequest): Promise<$_model.GetSmartAuditResultResponse> {
|
|
2818
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2819
|
+
return await this.getSmartAuditResultWithOptions(request, runtime);
|
|
2820
|
+
}
|
|
2821
|
+
|
|
2730
2822
|
/**
|
|
2731
2823
|
* 查询一键成片剪辑任务
|
|
2732
2824
|
*
|
|
@@ -3303,6 +3395,56 @@ export default class Client extends OpenApi {
|
|
|
3303
3395
|
return await this.listAsyncTasksWithOptions(request, runtime);
|
|
3304
3396
|
}
|
|
3305
3397
|
|
|
3398
|
+
/**
|
|
3399
|
+
* 获取审核维度列表
|
|
3400
|
+
*
|
|
3401
|
+
* @param request - ListAuditContentErrorTypesRequest
|
|
3402
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3403
|
+
* @returns ListAuditContentErrorTypesResponse
|
|
3404
|
+
*/
|
|
3405
|
+
async listAuditContentErrorTypesWithOptions(request: $_model.ListAuditContentErrorTypesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAuditContentErrorTypesResponse> {
|
|
3406
|
+
request.validate();
|
|
3407
|
+
let body : {[key: string ]: any} = { };
|
|
3408
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
3409
|
+
body["MaxResults"] = request.maxResults;
|
|
3410
|
+
}
|
|
3411
|
+
|
|
3412
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
3413
|
+
body["NextToken"] = request.nextToken;
|
|
3414
|
+
}
|
|
3415
|
+
|
|
3416
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
3417
|
+
body["WorkspaceId"] = request.workspaceId;
|
|
3418
|
+
}
|
|
3419
|
+
|
|
3420
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3421
|
+
body: OpenApiUtil.parseToMap(body),
|
|
3422
|
+
});
|
|
3423
|
+
let params = new $OpenApiUtil.Params({
|
|
3424
|
+
action: "ListAuditContentErrorTypes",
|
|
3425
|
+
version: "2023-08-01",
|
|
3426
|
+
protocol: "HTTPS",
|
|
3427
|
+
pathname: "/",
|
|
3428
|
+
method: "POST",
|
|
3429
|
+
authType: "AK",
|
|
3430
|
+
style: "RPC",
|
|
3431
|
+
reqBodyType: "formData",
|
|
3432
|
+
bodyType: "json",
|
|
3433
|
+
});
|
|
3434
|
+
return $dara.cast<$_model.ListAuditContentErrorTypesResponse>(await this.callApi(params, req, runtime), new $_model.ListAuditContentErrorTypesResponse({}));
|
|
3435
|
+
}
|
|
3436
|
+
|
|
3437
|
+
/**
|
|
3438
|
+
* 获取审核维度列表
|
|
3439
|
+
*
|
|
3440
|
+
* @param request - ListAuditContentErrorTypesRequest
|
|
3441
|
+
* @returns ListAuditContentErrorTypesResponse
|
|
3442
|
+
*/
|
|
3443
|
+
async listAuditContentErrorTypes(request: $_model.ListAuditContentErrorTypesRequest): Promise<$_model.ListAuditContentErrorTypesResponse> {
|
|
3444
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3445
|
+
return await this.listAuditContentErrorTypesWithOptions(request, runtime);
|
|
3446
|
+
}
|
|
3447
|
+
|
|
3306
3448
|
/**
|
|
3307
3449
|
* 获取系统自定义预设
|
|
3308
3450
|
*
|
|
@@ -8253,6 +8395,62 @@ export default class Client extends OpenApi {
|
|
|
8253
8395
|
return await this.submitEnterpriseVocAnalysisTaskWithOptions(request, runtime);
|
|
8254
8396
|
}
|
|
8255
8397
|
|
|
8398
|
+
/**
|
|
8399
|
+
* 提交智能审核
|
|
8400
|
+
*
|
|
8401
|
+
* @param tmpReq - SubmitSmartAuditRequest
|
|
8402
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8403
|
+
* @returns SubmitSmartAuditResponse
|
|
8404
|
+
*/
|
|
8405
|
+
async submitSmartAuditWithOptions(tmpReq: $_model.SubmitSmartAuditRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitSmartAuditResponse> {
|
|
8406
|
+
tmpReq.validate();
|
|
8407
|
+
let request = new $_model.SubmitSmartAuditShrinkRequest({ });
|
|
8408
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
8409
|
+
if (!$dara.isNull(tmpReq.subCodes)) {
|
|
8410
|
+
request.subCodesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.subCodes, "SubCodes", "json");
|
|
8411
|
+
}
|
|
8412
|
+
|
|
8413
|
+
let body : {[key: string ]: any} = { };
|
|
8414
|
+
if (!$dara.isNull(request.subCodesShrink)) {
|
|
8415
|
+
body["SubCodes"] = request.subCodesShrink;
|
|
8416
|
+
}
|
|
8417
|
+
|
|
8418
|
+
if (!$dara.isNull(request.text)) {
|
|
8419
|
+
body["Text"] = request.text;
|
|
8420
|
+
}
|
|
8421
|
+
|
|
8422
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
8423
|
+
body["WorkspaceId"] = request.workspaceId;
|
|
8424
|
+
}
|
|
8425
|
+
|
|
8426
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8427
|
+
body: OpenApiUtil.parseToMap(body),
|
|
8428
|
+
});
|
|
8429
|
+
let params = new $OpenApiUtil.Params({
|
|
8430
|
+
action: "SubmitSmartAudit",
|
|
8431
|
+
version: "2023-08-01",
|
|
8432
|
+
protocol: "HTTPS",
|
|
8433
|
+
pathname: "/",
|
|
8434
|
+
method: "POST",
|
|
8435
|
+
authType: "AK",
|
|
8436
|
+
style: "RPC",
|
|
8437
|
+
reqBodyType: "formData",
|
|
8438
|
+
bodyType: "json",
|
|
8439
|
+
});
|
|
8440
|
+
return $dara.cast<$_model.SubmitSmartAuditResponse>(await this.callApi(params, req, runtime), new $_model.SubmitSmartAuditResponse({}));
|
|
8441
|
+
}
|
|
8442
|
+
|
|
8443
|
+
/**
|
|
8444
|
+
* 提交智能审核
|
|
8445
|
+
*
|
|
8446
|
+
* @param request - SubmitSmartAuditRequest
|
|
8447
|
+
* @returns SubmitSmartAuditResponse
|
|
8448
|
+
*/
|
|
8449
|
+
async submitSmartAudit(request: $_model.SubmitSmartAuditRequest): Promise<$_model.SubmitSmartAuditResponse> {
|
|
8450
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
8451
|
+
return await this.submitSmartAuditWithOptions(request, runtime);
|
|
8452
|
+
}
|
|
8453
|
+
|
|
8256
8454
|
/**
|
|
8257
8455
|
* 提交一键成片剪辑任务
|
|
8258
8456
|
*
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ExportAuditContentResultRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 7AA2AE16-D873-5C5F-9708-15396C382EB1
|
|
9
|
+
*/
|
|
10
|
+
taskId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* xxxx
|
|
14
|
+
*/
|
|
15
|
+
workspaceId?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
taskId: 'TaskId',
|
|
19
|
+
workspaceId: 'WorkspaceId',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
taskId: 'string',
|
|
26
|
+
workspaceId: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ExportAuditContentResultResponseBody } from "./ExportAuditContentResultResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ExportAuditContentResultResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ExportAuditContentResultResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ExportAuditContentResultResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ExportAuditContentResultResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* successful
|
|
9
|
+
*/
|
|
10
|
+
code?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* http://www.example.com/xxx.docx
|
|
14
|
+
*/
|
|
15
|
+
data?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 200
|
|
19
|
+
*/
|
|
20
|
+
httpStatusCode?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* successful
|
|
24
|
+
*/
|
|
25
|
+
message?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* Id of the request
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* 94512A33-8EC1-5452-A793-5C91F18ED2F0
|
|
32
|
+
*/
|
|
33
|
+
requestId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @example
|
|
36
|
+
* true
|
|
37
|
+
*/
|
|
38
|
+
success?: boolean;
|
|
39
|
+
static names(): { [key: string]: string } {
|
|
40
|
+
return {
|
|
41
|
+
code: 'Code',
|
|
42
|
+
data: 'Data',
|
|
43
|
+
httpStatusCode: 'HttpStatusCode',
|
|
44
|
+
message: 'Message',
|
|
45
|
+
requestId: 'RequestId',
|
|
46
|
+
success: 'Success',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
static types(): { [key: string]: any } {
|
|
51
|
+
return {
|
|
52
|
+
code: 'string',
|
|
53
|
+
data: 'string',
|
|
54
|
+
httpStatusCode: 'number',
|
|
55
|
+
message: 'string',
|
|
56
|
+
requestId: 'string',
|
|
57
|
+
success: 'boolean',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
validate() {
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
constructor(map?: { [key: string]: any }) {
|
|
66
|
+
super(map);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetSmartAuditResultRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 3f7045e099474ba28ceca1b4eb6d6e21
|
|
9
|
+
*/
|
|
10
|
+
taskId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* llm-xx
|
|
14
|
+
*/
|
|
15
|
+
workspaceId?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
taskId: 'TaskId',
|
|
19
|
+
workspaceId: 'WorkspaceId',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
taskId: 'string',
|
|
26
|
+
workspaceId: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetSmartAuditResultResponseBody } from "./GetSmartAuditResultResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetSmartAuditResultResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetSmartAuditResultResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: GetSmartAuditResultResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetSmartAuditResultResponseBodyData } from "./GetSmartAuditResultResponseBodyData";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetSmartAuditResultResponseBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* DataNotExists
|
|
10
|
+
*/
|
|
11
|
+
code?: string;
|
|
12
|
+
data?: GetSmartAuditResultResponseBodyData;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* 400
|
|
16
|
+
*/
|
|
17
|
+
httpStatusCode?: number;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* 错误消息
|
|
21
|
+
*/
|
|
22
|
+
message?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* Id of the request
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* xxxxx
|
|
29
|
+
*/
|
|
30
|
+
requestId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* true
|
|
34
|
+
*/
|
|
35
|
+
success?: boolean;
|
|
36
|
+
static names(): { [key: string]: string } {
|
|
37
|
+
return {
|
|
38
|
+
code: 'Code',
|
|
39
|
+
data: 'Data',
|
|
40
|
+
httpStatusCode: 'HttpStatusCode',
|
|
41
|
+
message: 'Message',
|
|
42
|
+
requestId: 'RequestId',
|
|
43
|
+
success: 'Success',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
code: 'string',
|
|
50
|
+
data: GetSmartAuditResultResponseBodyData,
|
|
51
|
+
httpStatusCode: 'number',
|
|
52
|
+
message: 'string',
|
|
53
|
+
requestId: 'string',
|
|
54
|
+
success: 'boolean',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
validate() {
|
|
59
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
60
|
+
(this.data as any).validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
constructor(map?: { [key: string]: any }) {
|
|
66
|
+
super(map);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetSmartAuditResultResponseBodyDataErrorItemDetails } from "./GetSmartAuditResultResponseBodyDataErrorItemDetails";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetSmartAuditResultResponseBodyData extends $dara.Model {
|
|
7
|
+
errorItemDetails?: GetSmartAuditResultResponseBodyDataErrorItemDetails[];
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* SUCCESSED
|
|
11
|
+
*/
|
|
12
|
+
status?: string;
|
|
13
|
+
static names(): { [key: string]: string } {
|
|
14
|
+
return {
|
|
15
|
+
errorItemDetails: 'ErrorItemDetails',
|
|
16
|
+
status: 'Status',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
errorItemDetails: { 'type': 'array', 'itemType': GetSmartAuditResultResponseBodyDataErrorItemDetails },
|
|
23
|
+
status: 'string',
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
validate() {
|
|
28
|
+
if(Array.isArray(this.errorItemDetails)) {
|
|
29
|
+
$dara.Model.validateArray(this.errorItemDetails);
|
|
30
|
+
}
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetSmartAuditResultResponseBodyDataErrorItemDetails extends $dara.Model {
|
|
6
|
+
checkId?: string;
|
|
7
|
+
context?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* 0
|
|
11
|
+
*/
|
|
12
|
+
contextOffset?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* 2
|
|
16
|
+
*/
|
|
17
|
+
errorLevel?: number;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* ”xxx“
|
|
21
|
+
*/
|
|
22
|
+
errorWord?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* ContentAccuracy
|
|
26
|
+
*/
|
|
27
|
+
majorCode?: string;
|
|
28
|
+
majorCodeDesc?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @example
|
|
31
|
+
* 0
|
|
32
|
+
*/
|
|
33
|
+
offset?: number;
|
|
34
|
+
reason?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @example
|
|
37
|
+
* “xxx”
|
|
38
|
+
*/
|
|
39
|
+
rightWord?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* PunctuationError
|
|
43
|
+
*/
|
|
44
|
+
subClassCode?: string;
|
|
45
|
+
subClassDesc?: string;
|
|
46
|
+
static names(): { [key: string]: string } {
|
|
47
|
+
return {
|
|
48
|
+
checkId: 'CheckId',
|
|
49
|
+
context: 'Context',
|
|
50
|
+
contextOffset: 'ContextOffset',
|
|
51
|
+
errorLevel: 'ErrorLevel',
|
|
52
|
+
errorWord: 'ErrorWord',
|
|
53
|
+
majorCode: 'MajorCode',
|
|
54
|
+
majorCodeDesc: 'MajorCodeDesc',
|
|
55
|
+
offset: 'Offset',
|
|
56
|
+
reason: 'Reason',
|
|
57
|
+
rightWord: 'RightWord',
|
|
58
|
+
subClassCode: 'SubClassCode',
|
|
59
|
+
subClassDesc: 'SubClassDesc',
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
static types(): { [key: string]: any } {
|
|
64
|
+
return {
|
|
65
|
+
checkId: 'string',
|
|
66
|
+
context: 'string',
|
|
67
|
+
contextOffset: 'number',
|
|
68
|
+
errorLevel: 'number',
|
|
69
|
+
errorWord: 'string',
|
|
70
|
+
majorCode: 'string',
|
|
71
|
+
majorCodeDesc: 'string',
|
|
72
|
+
offset: 'number',
|
|
73
|
+
reason: 'string',
|
|
74
|
+
rightWord: 'string',
|
|
75
|
+
subClassCode: 'string',
|
|
76
|
+
subClassDesc: 'string',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
validate() {
|
|
81
|
+
super.validate();
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
constructor(map?: { [key: string]: any }) {
|
|
85
|
+
super(map);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListAuditContentErrorTypesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 100
|
|
9
|
+
*/
|
|
10
|
+
maxResults?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* cEoBWREAXdxaOyjq/cqAbg==
|
|
14
|
+
*/
|
|
15
|
+
nextToken?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* xxxx
|
|
19
|
+
*/
|
|
20
|
+
workspaceId?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
maxResults: 'MaxResults',
|
|
24
|
+
nextToken: 'NextToken',
|
|
25
|
+
workspaceId: 'WorkspaceId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
maxResults: 'number',
|
|
32
|
+
nextToken: 'string',
|
|
33
|
+
workspaceId: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|