@alicloud/aimiaobi20230801 1.26.4 → 1.27.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.
Files changed (77) hide show
  1. package/dist/client.d.ts +45 -0
  2. package/dist/client.js +140 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ExportCustomSourceAnalysisTaskRequest.d.ts +29 -0
  5. package/dist/models/ExportCustomSourceAnalysisTaskRequest.js +60 -0
  6. package/dist/models/ExportCustomSourceAnalysisTaskRequest.js.map +1 -0
  7. package/dist/models/ExportCustomSourceAnalysisTaskResponse.d.ts +19 -0
  8. package/dist/models/ExportCustomSourceAnalysisTaskResponse.js +69 -0
  9. package/dist/models/ExportCustomSourceAnalysisTaskResponse.js.map +1 -0
  10. package/dist/models/ExportCustomSourceAnalysisTaskResponseBody.d.ts +43 -0
  11. package/dist/models/ExportCustomSourceAnalysisTaskResponseBody.js +68 -0
  12. package/dist/models/ExportCustomSourceAnalysisTaskResponseBody.js.map +1 -0
  13. package/dist/models/GetCustomSourceTopicAnalysisTaskRequest.d.ts +29 -0
  14. package/dist/models/GetCustomSourceTopicAnalysisTaskRequest.js +60 -0
  15. package/dist/models/GetCustomSourceTopicAnalysisTaskRequest.js.map +1 -0
  16. package/dist/models/GetCustomSourceTopicAnalysisTaskResponse.d.ts +19 -0
  17. package/dist/models/GetCustomSourceTopicAnalysisTaskResponse.js +69 -0
  18. package/dist/models/GetCustomSourceTopicAnalysisTaskResponse.js.map +1 -0
  19. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBody.d.ts +40 -0
  20. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBody.js +72 -0
  21. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBody.js.map +1 -0
  22. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBodyData.d.ts +40 -0
  23. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBodyData.js +72 -0
  24. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBodyData.js.map +1 -0
  25. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResults.d.ts +16 -0
  26. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResults.js +64 -0
  27. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResults.js.map +1 -0
  28. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResultsClusterNews.d.ts +19 -0
  29. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResultsClusterNews.js +60 -0
  30. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResultsClusterNews.js.map +1 -0
  31. package/dist/models/GetHotTopicBroadcastResponseBodyDataData.d.ts +2 -0
  32. package/dist/models/GetHotTopicBroadcastResponseBodyDataData.js +4 -0
  33. package/dist/models/GetHotTopicBroadcastResponseBodyDataData.js.map +1 -1
  34. package/dist/models/SubmitCustomSourceTopicAnalysisRequest.d.ts +38 -0
  35. package/dist/models/SubmitCustomSourceTopicAnalysisRequest.js +70 -0
  36. package/dist/models/SubmitCustomSourceTopicAnalysisRequest.js.map +1 -0
  37. package/dist/models/SubmitCustomSourceTopicAnalysisRequestNews.d.ts +27 -0
  38. package/dist/models/SubmitCustomSourceTopicAnalysisRequestNews.js +70 -0
  39. package/dist/models/SubmitCustomSourceTopicAnalysisRequestNews.js.map +1 -0
  40. package/dist/models/SubmitCustomSourceTopicAnalysisRequestNewsComments.d.ts +14 -0
  41. package/dist/models/SubmitCustomSourceTopicAnalysisRequestNewsComments.js +58 -0
  42. package/dist/models/SubmitCustomSourceTopicAnalysisRequestNewsComments.js.map +1 -0
  43. package/dist/models/SubmitCustomSourceTopicAnalysisResponse.d.ts +19 -0
  44. package/dist/models/SubmitCustomSourceTopicAnalysisResponse.js +69 -0
  45. package/dist/models/SubmitCustomSourceTopicAnalysisResponse.js.map +1 -0
  46. package/dist/models/SubmitCustomSourceTopicAnalysisResponseBody.d.ts +40 -0
  47. package/dist/models/SubmitCustomSourceTopicAnalysisResponseBody.js +72 -0
  48. package/dist/models/SubmitCustomSourceTopicAnalysisResponseBody.js.map +1 -0
  49. package/dist/models/SubmitCustomSourceTopicAnalysisResponseBodyData.d.ts +23 -0
  50. package/dist/models/SubmitCustomSourceTopicAnalysisResponseBodyData.js +60 -0
  51. package/dist/models/SubmitCustomSourceTopicAnalysisResponseBodyData.js.map +1 -0
  52. package/dist/models/SubmitCustomSourceTopicAnalysisShrinkRequest.d.ts +37 -0
  53. package/dist/models/SubmitCustomSourceTopicAnalysisShrinkRequest.js +66 -0
  54. package/dist/models/SubmitCustomSourceTopicAnalysisShrinkRequest.js.map +1 -0
  55. package/dist/models/model.d.ts +16 -0
  56. package/dist/models/model.js +52 -20
  57. package/dist/models/model.js.map +1 -1
  58. package/package.json +1 -1
  59. package/src/client.ts +156 -0
  60. package/src/models/ExportCustomSourceAnalysisTaskRequest.ts +44 -0
  61. package/src/models/ExportCustomSourceAnalysisTaskResponse.ts +40 -0
  62. package/src/models/ExportCustomSourceAnalysisTaskResponseBody.ts +66 -0
  63. package/src/models/GetCustomSourceTopicAnalysisTaskRequest.ts +44 -0
  64. package/src/models/GetCustomSourceTopicAnalysisTaskResponse.ts +40 -0
  65. package/src/models/GetCustomSourceTopicAnalysisTaskResponseBody.ts +66 -0
  66. package/src/models/GetCustomSourceTopicAnalysisTaskResponseBodyData.ts +66 -0
  67. package/src/models/GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResults.ts +34 -0
  68. package/src/models/GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResultsClusterNews.ts +34 -0
  69. package/src/models/GetHotTopicBroadcastResponseBodyDataData.ts +6 -0
  70. package/src/models/SubmitCustomSourceTopicAnalysisRequest.ts +62 -0
  71. package/src/models/SubmitCustomSourceTopicAnalysisRequestNews.ts +51 -0
  72. package/src/models/SubmitCustomSourceTopicAnalysisRequestNewsComments.ts +27 -0
  73. package/src/models/SubmitCustomSourceTopicAnalysisResponse.ts +40 -0
  74. package/src/models/SubmitCustomSourceTopicAnalysisResponseBody.ts +66 -0
  75. package/src/models/SubmitCustomSourceTopicAnalysisResponseBodyData.ts +38 -0
  76. package/src/models/SubmitCustomSourceTopicAnalysisShrinkRequest.ts +58 -0
  77. package/src/models/model.ts +16 -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 - ExportCustomSourceAnalysisTaskRequest
1050
+ * @param runtime - runtime options for this request RuntimeOptions
1051
+ * @returns ExportCustomSourceAnalysisTaskResponse
1052
+ */
1053
+ async exportCustomSourceAnalysisTaskWithOptions(request: $_model.ExportCustomSourceAnalysisTaskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ExportCustomSourceAnalysisTaskResponse> {
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: "ExportCustomSourceAnalysisTask",
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.ExportCustomSourceAnalysisTaskResponse>(await this.callApi(params, req, runtime), new $_model.ExportCustomSourceAnalysisTaskResponse({}));
1079
+ }
1080
+
1081
+ /**
1082
+ * 导出-自定义数据源-选题视角分析任务结果
1083
+ *
1084
+ * @param request - ExportCustomSourceAnalysisTaskRequest
1085
+ * @returns ExportCustomSourceAnalysisTaskResponse
1086
+ */
1087
+ async exportCustomSourceAnalysisTask(request: $_model.ExportCustomSourceAnalysisTaskRequest): Promise<$_model.ExportCustomSourceAnalysisTaskResponse> {
1088
+ let runtime = new $dara.RuntimeOptions({ });
1089
+ return await this.exportCustomSourceAnalysisTaskWithOptions(request, runtime);
1090
+ }
1091
+
1046
1092
  /**
1047
1093
  * 文档管理-导出。
1048
1094
  *
@@ -1663,6 +1709,52 @@ export default class Client extends OpenApi {
1663
1709
  return await this.getCustomHotTopicBroadcastJobWithOptions(request, runtime);
1664
1710
  }
1665
1711
 
1712
+ /**
1713
+ * 获取自定义数据源-选题视角分析任务结果
1714
+ *
1715
+ * @param request - GetCustomSourceTopicAnalysisTaskRequest
1716
+ * @param runtime - runtime options for this request RuntimeOptions
1717
+ * @returns GetCustomSourceTopicAnalysisTaskResponse
1718
+ */
1719
+ async getCustomSourceTopicAnalysisTaskWithOptions(request: $_model.GetCustomSourceTopicAnalysisTaskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetCustomSourceTopicAnalysisTaskResponse> {
1720
+ request.validate();
1721
+ let body : {[key: string ]: any} = { };
1722
+ if (!$dara.isNull(request.taskId)) {
1723
+ body["TaskId"] = request.taskId;
1724
+ }
1725
+
1726
+ if (!$dara.isNull(request.workspaceId)) {
1727
+ body["WorkspaceId"] = request.workspaceId;
1728
+ }
1729
+
1730
+ let req = new $OpenApiUtil.OpenApiRequest({
1731
+ body: OpenApiUtil.parseToMap(body),
1732
+ });
1733
+ let params = new $OpenApiUtil.Params({
1734
+ action: "GetCustomSourceTopicAnalysisTask",
1735
+ version: "2023-08-01",
1736
+ protocol: "HTTPS",
1737
+ pathname: "/",
1738
+ method: "POST",
1739
+ authType: "AK",
1740
+ style: "RPC",
1741
+ reqBodyType: "formData",
1742
+ bodyType: "json",
1743
+ });
1744
+ return $dara.cast<$_model.GetCustomSourceTopicAnalysisTaskResponse>(await this.callApi(params, req, runtime), new $_model.GetCustomSourceTopicAnalysisTaskResponse({}));
1745
+ }
1746
+
1747
+ /**
1748
+ * 获取自定义数据源-选题视角分析任务结果
1749
+ *
1750
+ * @param request - GetCustomSourceTopicAnalysisTaskRequest
1751
+ * @returns GetCustomSourceTopicAnalysisTaskResponse
1752
+ */
1753
+ async getCustomSourceTopicAnalysisTask(request: $_model.GetCustomSourceTopicAnalysisTaskRequest): Promise<$_model.GetCustomSourceTopicAnalysisTaskResponse> {
1754
+ let runtime = new $dara.RuntimeOptions({ });
1755
+ return await this.getCustomSourceTopicAnalysisTaskWithOptions(request, runtime);
1756
+ }
1757
+
1666
1758
  /**
1667
1759
  * 获取自定义文本
1668
1760
  *
@@ -7777,6 +7869,70 @@ export default class Client extends OpenApi {
7777
7869
  return await this.submitCustomHotTopicBroadcastJobWithOptions(request, runtime);
7778
7870
  }
7779
7871
 
7872
+ /**
7873
+ * 从自定义数据源提交选题热点分析
7874
+ *
7875
+ * @param tmpReq - SubmitCustomSourceTopicAnalysisRequest
7876
+ * @param runtime - runtime options for this request RuntimeOptions
7877
+ * @returns SubmitCustomSourceTopicAnalysisResponse
7878
+ */
7879
+ async submitCustomSourceTopicAnalysisWithOptions(tmpReq: $_model.SubmitCustomSourceTopicAnalysisRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitCustomSourceTopicAnalysisResponse> {
7880
+ tmpReq.validate();
7881
+ let request = new $_model.SubmitCustomSourceTopicAnalysisShrinkRequest({ });
7882
+ OpenApiUtil.convert(tmpReq, request);
7883
+ if (!$dara.isNull(tmpReq.news)) {
7884
+ request.newsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.news, "News", "json");
7885
+ }
7886
+
7887
+ let body : {[key: string ]: any} = { };
7888
+ if (!$dara.isNull(request.fileType)) {
7889
+ body["FileType"] = request.fileType;
7890
+ }
7891
+
7892
+ if (!$dara.isNull(request.fileUrl)) {
7893
+ body["FileUrl"] = request.fileUrl;
7894
+ }
7895
+
7896
+ if (!$dara.isNull(request.maxTopicSize)) {
7897
+ body["MaxTopicSize"] = request.maxTopicSize;
7898
+ }
7899
+
7900
+ if (!$dara.isNull(request.newsShrink)) {
7901
+ body["News"] = request.newsShrink;
7902
+ }
7903
+
7904
+ if (!$dara.isNull(request.workspaceId)) {
7905
+ body["WorkspaceId"] = request.workspaceId;
7906
+ }
7907
+
7908
+ let req = new $OpenApiUtil.OpenApiRequest({
7909
+ body: OpenApiUtil.parseToMap(body),
7910
+ });
7911
+ let params = new $OpenApiUtil.Params({
7912
+ action: "SubmitCustomSourceTopicAnalysis",
7913
+ version: "2023-08-01",
7914
+ protocol: "HTTPS",
7915
+ pathname: "/",
7916
+ method: "POST",
7917
+ authType: "AK",
7918
+ style: "RPC",
7919
+ reqBodyType: "formData",
7920
+ bodyType: "json",
7921
+ });
7922
+ return $dara.cast<$_model.SubmitCustomSourceTopicAnalysisResponse>(await this.callApi(params, req, runtime), new $_model.SubmitCustomSourceTopicAnalysisResponse({}));
7923
+ }
7924
+
7925
+ /**
7926
+ * 从自定义数据源提交选题热点分析
7927
+ *
7928
+ * @param request - SubmitCustomSourceTopicAnalysisRequest
7929
+ * @returns SubmitCustomSourceTopicAnalysisResponse
7930
+ */
7931
+ async submitCustomSourceTopicAnalysis(request: $_model.SubmitCustomSourceTopicAnalysisRequest): Promise<$_model.SubmitCustomSourceTopicAnalysisResponse> {
7932
+ let runtime = new $dara.RuntimeOptions({ });
7933
+ return await this.submitCustomSourceTopicAnalysisWithOptions(request, runtime);
7934
+ }
7935
+
7780
7936
  /**
7781
7937
  * 提交自定义热点选题视角分析任务
7782
7938
  *
@@ -0,0 +1,44 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ExportCustomSourceAnalysisTaskRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * c9f226b02cca4f42a84c5e955c39dfd2
12
+ */
13
+ taskId?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * xxxxx_p_efm
20
+ */
21
+ workspaceId?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ taskId: 'TaskId',
25
+ workspaceId: 'WorkspaceId',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ taskId: 'string',
32
+ workspaceId: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ExportCustomSourceAnalysisTaskResponseBody } from "./ExportCustomSourceAnalysisTaskResponseBody";
4
+
5
+
6
+ export class ExportCustomSourceAnalysisTaskResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ExportCustomSourceAnalysisTaskResponseBody;
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: ExportCustomSourceAnalysisTaskResponseBody,
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,66 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ExportCustomSourceAnalysisTaskResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * NoData
9
+ */
10
+ code?: string;
11
+ /**
12
+ * @example
13
+ * http://www.example.com/xxx.jsonLine
14
+ */
15
+ data?: string;
16
+ /**
17
+ * @example
18
+ * 200
19
+ */
20
+ httpStatusCode?: number;
21
+ /**
22
+ * @example
23
+ * success
24
+ */
25
+ message?: string;
26
+ /**
27
+ * @example
28
+ * 1813ceee-7fe5-41b4-87e5-982a4d18cca5
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: 'string',
51
+ httpStatusCode: 'number',
52
+ message: 'string',
53
+ requestId: 'string',
54
+ success: 'boolean',
55
+ };
56
+ }
57
+
58
+ validate() {
59
+ super.validate();
60
+ }
61
+
62
+ constructor(map?: { [key: string]: any }) {
63
+ super(map);
64
+ }
65
+ }
66
+
@@ -0,0 +1,44 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetCustomSourceTopicAnalysisTaskRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * c9f226b02cca4f42a84c5e955c39dfd2
12
+ */
13
+ taskId?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * xxxxx_p_efm
20
+ */
21
+ workspaceId?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ taskId: 'TaskId',
25
+ workspaceId: 'WorkspaceId',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ taskId: 'string',
32
+ workspaceId: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetCustomSourceTopicAnalysisTaskResponseBody } from "./GetCustomSourceTopicAnalysisTaskResponseBody";
4
+
5
+
6
+ export class GetCustomSourceTopicAnalysisTaskResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetCustomSourceTopicAnalysisTaskResponseBody;
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: GetCustomSourceTopicAnalysisTaskResponseBody,
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,66 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetCustomSourceTopicAnalysisTaskResponseBodyData } from "./GetCustomSourceTopicAnalysisTaskResponseBodyData";
4
+
5
+
6
+ export class GetCustomSourceTopicAnalysisTaskResponseBody extends $dara.Model {
7
+ /**
8
+ * @example
9
+ * NoData
10
+ */
11
+ code?: string;
12
+ data?: GetCustomSourceTopicAnalysisTaskResponseBodyData;
13
+ /**
14
+ * @example
15
+ * 200
16
+ */
17
+ httpStatusCode?: number;
18
+ /**
19
+ * @example
20
+ * success
21
+ */
22
+ message?: string;
23
+ /**
24
+ * @example
25
+ * 1813ceee-7fe5-41b4-87e5-982a4d18cca5
26
+ */
27
+ requestId?: string;
28
+ /**
29
+ * @example
30
+ * true
31
+ */
32
+ success?: boolean;
33
+ static names(): { [key: string]: string } {
34
+ return {
35
+ code: 'Code',
36
+ data: 'Data',
37
+ httpStatusCode: 'HttpStatusCode',
38
+ message: 'Message',
39
+ requestId: 'RequestId',
40
+ success: 'Success',
41
+ };
42
+ }
43
+
44
+ static types(): { [key: string]: any } {
45
+ return {
46
+ code: 'string',
47
+ data: GetCustomSourceTopicAnalysisTaskResponseBodyData,
48
+ httpStatusCode: 'number',
49
+ message: 'string',
50
+ requestId: 'string',
51
+ success: 'boolean',
52
+ };
53
+ }
54
+
55
+ validate() {
56
+ if(this.data && typeof (this.data as any).validate === 'function') {
57
+ (this.data as any).validate();
58
+ }
59
+ super.validate();
60
+ }
61
+
62
+ constructor(map?: { [key: string]: any }) {
63
+ super(map);
64
+ }
65
+ }
66
+
@@ -0,0 +1,66 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResults } from "./GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResults";
4
+
5
+
6
+ export class GetCustomSourceTopicAnalysisTaskResponseBodyData extends $dara.Model {
7
+ /**
8
+ * @example
9
+ * 5
10
+ */
11
+ clusterCount?: number;
12
+ clusterResults?: GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResults[];
13
+ /**
14
+ * @example
15
+ * 错误信息
16
+ */
17
+ errorMessage?: string;
18
+ /**
19
+ * @example
20
+ * 8
21
+ */
22
+ maxClusteredTopicNewsSize?: number;
23
+ /**
24
+ * @example
25
+ * 10
26
+ */
27
+ parsedNewsSize?: number;
28
+ /**
29
+ * @example
30
+ * SUCCESSED
31
+ */
32
+ status?: string;
33
+ static names(): { [key: string]: string } {
34
+ return {
35
+ clusterCount: 'ClusterCount',
36
+ clusterResults: 'ClusterResults',
37
+ errorMessage: 'ErrorMessage',
38
+ maxClusteredTopicNewsSize: 'MaxClusteredTopicNewsSize',
39
+ parsedNewsSize: 'ParsedNewsSize',
40
+ status: 'Status',
41
+ };
42
+ }
43
+
44
+ static types(): { [key: string]: any } {
45
+ return {
46
+ clusterCount: 'number',
47
+ clusterResults: { 'type': 'array', 'itemType': GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResults },
48
+ errorMessage: 'string',
49
+ maxClusteredTopicNewsSize: 'number',
50
+ parsedNewsSize: 'number',
51
+ status: 'string',
52
+ };
53
+ }
54
+
55
+ validate() {
56
+ if(Array.isArray(this.clusterResults)) {
57
+ $dara.Model.validateArray(this.clusterResults);
58
+ }
59
+ super.validate();
60
+ }
61
+
62
+ constructor(map?: { [key: string]: any }) {
63
+ super(map);
64
+ }
65
+ }
66
+
@@ -0,0 +1,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResultsClusterNews } from "./GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResultsClusterNews";
4
+
5
+
6
+ export class GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResults extends $dara.Model {
7
+ clusterNews?: GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResultsClusterNews[];
8
+ topic?: string;
9
+ static names(): { [key: string]: string } {
10
+ return {
11
+ clusterNews: 'ClusterNews',
12
+ topic: 'Topic',
13
+ };
14
+ }
15
+
16
+ static types(): { [key: string]: any } {
17
+ return {
18
+ clusterNews: { 'type': 'array', 'itemType': GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResultsClusterNews },
19
+ topic: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ if(Array.isArray(this.clusterNews)) {
25
+ $dara.Model.validateArray(this.clusterNews);
26
+ }
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -0,0 +1,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResultsClusterNews extends $dara.Model {
6
+ title?: string;
7
+ /**
8
+ * @example
9
+ * http://www.example.com/xxx.html
10
+ */
11
+ url?: string;
12
+ static names(): { [key: string]: string } {
13
+ return {
14
+ title: 'Title',
15
+ url: 'Url',
16
+ };
17
+ }
18
+
19
+ static types(): { [key: string]: any } {
20
+ return {
21
+ title: 'string',
22
+ url: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -59,12 +59,14 @@ export class GetHotTopicBroadcastResponseBodyDataData extends $dara.Model {
59
59
  * 22
60
60
  */
61
61
  outputToken?: number;
62
+ pubTime?: string;
62
63
  summary?: GetHotTopicBroadcastResponseBodyDataDataSummary;
63
64
  /**
64
65
  * @example
65
66
  * 热点话题文本摘要
66
67
  */
67
68
  textSummary?: string;
69
+ url?: string;
68
70
  static names(): { [key: string]: string } {
69
71
  return {
70
72
  category: 'Category',
@@ -80,8 +82,10 @@ export class GetHotTopicBroadcastResponseBodyDataData extends $dara.Model {
80
82
  locations: 'Locations',
81
83
  news: 'News',
82
84
  outputToken: 'OutputToken',
85
+ pubTime: 'PubTime',
83
86
  summary: 'Summary',
84
87
  textSummary: 'TextSummary',
88
+ url: 'Url',
85
89
  };
86
90
  }
87
91
 
@@ -100,8 +104,10 @@ export class GetHotTopicBroadcastResponseBodyDataData extends $dara.Model {
100
104
  locations: { 'type': 'array', 'itemType': 'string' },
101
105
  news: { 'type': 'array', 'itemType': GetHotTopicBroadcastResponseBodyDataDataNews },
102
106
  outputToken: 'number',
107
+ pubTime: 'string',
103
108
  summary: GetHotTopicBroadcastResponseBodyDataDataSummary,
104
109
  textSummary: 'string',
110
+ url: 'string',
105
111
  };
106
112
  }
107
113