@alicloud/aimiaobi20230801 1.26.5 → 1.28.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 (105) hide show
  1. package/dist/client.d.ts +75 -0
  2. package/dist/client.js +228 -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/FetchExportWordTaskRequest.d.ts +26 -0
  14. package/dist/models/FetchExportWordTaskRequest.js +60 -0
  15. package/dist/models/FetchExportWordTaskRequest.js.map +1 -0
  16. package/dist/models/FetchExportWordTaskResponse.d.ts +19 -0
  17. package/dist/models/FetchExportWordTaskResponse.js +69 -0
  18. package/dist/models/FetchExportWordTaskResponse.js.map +1 -0
  19. package/dist/models/FetchExportWordTaskResponseBody.d.ts +40 -0
  20. package/dist/models/FetchExportWordTaskResponseBody.js +72 -0
  21. package/dist/models/FetchExportWordTaskResponseBody.js.map +1 -0
  22. package/dist/models/FetchExportWordTaskResponseBodyData.d.ts +19 -0
  23. package/dist/models/FetchExportWordTaskResponseBodyData.js +60 -0
  24. package/dist/models/FetchExportWordTaskResponseBodyData.js.map +1 -0
  25. package/dist/models/GenerateExportWordTaskRequest.d.ts +29 -0
  26. package/dist/models/GenerateExportWordTaskRequest.js +60 -0
  27. package/dist/models/GenerateExportWordTaskRequest.js.map +1 -0
  28. package/dist/models/GenerateExportWordTaskResponse.d.ts +19 -0
  29. package/dist/models/GenerateExportWordTaskResponse.js +69 -0
  30. package/dist/models/GenerateExportWordTaskResponse.js.map +1 -0
  31. package/dist/models/GenerateExportWordTaskResponseBody.d.ts +40 -0
  32. package/dist/models/GenerateExportWordTaskResponseBody.js +72 -0
  33. package/dist/models/GenerateExportWordTaskResponseBody.js.map +1 -0
  34. package/dist/models/GenerateExportWordTaskResponseBodyData.d.ts +18 -0
  35. package/dist/models/GenerateExportWordTaskResponseBodyData.js +58 -0
  36. package/dist/models/GenerateExportWordTaskResponseBodyData.js.map +1 -0
  37. package/dist/models/GetCustomSourceTopicAnalysisTaskRequest.d.ts +29 -0
  38. package/dist/models/GetCustomSourceTopicAnalysisTaskRequest.js +60 -0
  39. package/dist/models/GetCustomSourceTopicAnalysisTaskRequest.js.map +1 -0
  40. package/dist/models/GetCustomSourceTopicAnalysisTaskResponse.d.ts +19 -0
  41. package/dist/models/GetCustomSourceTopicAnalysisTaskResponse.js +69 -0
  42. package/dist/models/GetCustomSourceTopicAnalysisTaskResponse.js.map +1 -0
  43. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBody.d.ts +40 -0
  44. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBody.js +72 -0
  45. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBody.js.map +1 -0
  46. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBodyData.d.ts +40 -0
  47. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBodyData.js +72 -0
  48. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBodyData.js.map +1 -0
  49. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResults.d.ts +16 -0
  50. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResults.js +64 -0
  51. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResults.js.map +1 -0
  52. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResultsClusterNews.d.ts +19 -0
  53. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResultsClusterNews.js +60 -0
  54. package/dist/models/GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResultsClusterNews.js.map +1 -0
  55. package/dist/models/SubmitCustomSourceTopicAnalysisRequest.d.ts +38 -0
  56. package/dist/models/SubmitCustomSourceTopicAnalysisRequest.js +70 -0
  57. package/dist/models/SubmitCustomSourceTopicAnalysisRequest.js.map +1 -0
  58. package/dist/models/SubmitCustomSourceTopicAnalysisRequestNews.d.ts +27 -0
  59. package/dist/models/SubmitCustomSourceTopicAnalysisRequestNews.js +70 -0
  60. package/dist/models/SubmitCustomSourceTopicAnalysisRequestNews.js.map +1 -0
  61. package/dist/models/SubmitCustomSourceTopicAnalysisRequestNewsComments.d.ts +14 -0
  62. package/dist/models/SubmitCustomSourceTopicAnalysisRequestNewsComments.js +58 -0
  63. package/dist/models/SubmitCustomSourceTopicAnalysisRequestNewsComments.js.map +1 -0
  64. package/dist/models/SubmitCustomSourceTopicAnalysisResponse.d.ts +19 -0
  65. package/dist/models/SubmitCustomSourceTopicAnalysisResponse.js +69 -0
  66. package/dist/models/SubmitCustomSourceTopicAnalysisResponse.js.map +1 -0
  67. package/dist/models/SubmitCustomSourceTopicAnalysisResponseBody.d.ts +40 -0
  68. package/dist/models/SubmitCustomSourceTopicAnalysisResponseBody.js +72 -0
  69. package/dist/models/SubmitCustomSourceTopicAnalysisResponseBody.js.map +1 -0
  70. package/dist/models/SubmitCustomSourceTopicAnalysisResponseBodyData.d.ts +23 -0
  71. package/dist/models/SubmitCustomSourceTopicAnalysisResponseBodyData.js +60 -0
  72. package/dist/models/SubmitCustomSourceTopicAnalysisResponseBodyData.js.map +1 -0
  73. package/dist/models/SubmitCustomSourceTopicAnalysisShrinkRequest.d.ts +37 -0
  74. package/dist/models/SubmitCustomSourceTopicAnalysisShrinkRequest.js +66 -0
  75. package/dist/models/SubmitCustomSourceTopicAnalysisShrinkRequest.js.map +1 -0
  76. package/dist/models/model.d.ts +24 -0
  77. package/dist/models/model.js +68 -20
  78. package/dist/models/model.js.map +1 -1
  79. package/package.json +1 -1
  80. package/src/client.ts +252 -0
  81. package/src/models/ExportCustomSourceAnalysisTaskRequest.ts +44 -0
  82. package/src/models/ExportCustomSourceAnalysisTaskResponse.ts +40 -0
  83. package/src/models/ExportCustomSourceAnalysisTaskResponseBody.ts +66 -0
  84. package/src/models/FetchExportWordTaskRequest.ts +41 -0
  85. package/src/models/FetchExportWordTaskResponse.ts +40 -0
  86. package/src/models/FetchExportWordTaskResponseBody.ts +66 -0
  87. package/src/models/FetchExportWordTaskResponseBodyData.ts +34 -0
  88. package/src/models/GenerateExportWordTaskRequest.ts +44 -0
  89. package/src/models/GenerateExportWordTaskResponse.ts +40 -0
  90. package/src/models/GenerateExportWordTaskResponseBody.ts +66 -0
  91. package/src/models/GenerateExportWordTaskResponseBodyData.ts +31 -0
  92. package/src/models/GetCustomSourceTopicAnalysisTaskRequest.ts +44 -0
  93. package/src/models/GetCustomSourceTopicAnalysisTaskResponse.ts +40 -0
  94. package/src/models/GetCustomSourceTopicAnalysisTaskResponseBody.ts +66 -0
  95. package/src/models/GetCustomSourceTopicAnalysisTaskResponseBodyData.ts +66 -0
  96. package/src/models/GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResults.ts +34 -0
  97. package/src/models/GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResultsClusterNews.ts +34 -0
  98. package/src/models/SubmitCustomSourceTopicAnalysisRequest.ts +62 -0
  99. package/src/models/SubmitCustomSourceTopicAnalysisRequestNews.ts +51 -0
  100. package/src/models/SubmitCustomSourceTopicAnalysisRequestNewsComments.ts +27 -0
  101. package/src/models/SubmitCustomSourceTopicAnalysisResponse.ts +40 -0
  102. package/src/models/SubmitCustomSourceTopicAnalysisResponseBody.ts +66 -0
  103. package/src/models/SubmitCustomSourceTopicAnalysisResponseBodyData.ts +38 -0
  104. package/src/models/SubmitCustomSourceTopicAnalysisShrinkRequest.ts +58 -0
  105. package/src/models/model.ts +24 -0
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { FetchExportWordTaskResponseBody } from "./FetchExportWordTaskResponseBody";
4
+
5
+
6
+ export class FetchExportWordTaskResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: FetchExportWordTaskResponseBody;
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: FetchExportWordTaskResponseBody,
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 { FetchExportWordTaskResponseBodyData } from "./FetchExportWordTaskResponseBodyData";
4
+
5
+
6
+ export class FetchExportWordTaskResponseBody extends $dara.Model {
7
+ /**
8
+ * @example
9
+ * NoData
10
+ */
11
+ code?: string;
12
+ data?: FetchExportWordTaskResponseBodyData;
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: FetchExportWordTaskResponseBodyData,
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,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class FetchExportWordTaskResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * http://xxx/xxx.xls
9
+ */
10
+ fileUrl?: string;
11
+ taskStats?: string;
12
+ static names(): { [key: string]: string } {
13
+ return {
14
+ fileUrl: 'FileUrl',
15
+ taskStats: 'TaskStats',
16
+ };
17
+ }
18
+
19
+ static types(): { [key: string]: any } {
20
+ return {
21
+ fileUrl: 'string',
22
+ taskStats: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -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 GenerateExportWordTaskRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * xxxxx_p_efm
12
+ */
13
+ agentKey?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * 1
20
+ */
21
+ generatedContentId?: number;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ agentKey: 'AgentKey',
25
+ generatedContentId: 'GeneratedContentId',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ agentKey: 'string',
32
+ generatedContentId: 'number',
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 { GenerateExportWordTaskResponseBody } from "./GenerateExportWordTaskResponseBody";
4
+
5
+
6
+ export class GenerateExportWordTaskResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GenerateExportWordTaskResponseBody;
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: GenerateExportWordTaskResponseBody,
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 { GenerateExportWordTaskResponseBodyData } from "./GenerateExportWordTaskResponseBodyData";
4
+
5
+
6
+ export class GenerateExportWordTaskResponseBody extends $dara.Model {
7
+ /**
8
+ * @example
9
+ * NoData
10
+ */
11
+ code?: string;
12
+ data?: GenerateExportWordTaskResponseBodyData;
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: GenerateExportWordTaskResponseBodyData,
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,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GenerateExportWordTaskResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 3f7045e099474ba28ceca1b4eb6d6e21
9
+ */
10
+ taskId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ taskId: 'TaskId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ taskId: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -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
+
@@ -0,0 +1,62 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { SubmitCustomSourceTopicAnalysisRequestNews } from "./SubmitCustomSourceTopicAnalysisRequestNews";
4
+
5
+
6
+ export class SubmitCustomSourceTopicAnalysisRequest extends $dara.Model {
7
+ /**
8
+ * @example
9
+ * json
10
+ */
11
+ fileType?: string;
12
+ /**
13
+ * @example
14
+ * http://www.example.com/xxx.json
15
+ */
16
+ fileUrl?: string;
17
+ /**
18
+ * @example
19
+ * 50
20
+ */
21
+ maxTopicSize?: number;
22
+ news?: SubmitCustomSourceTopicAnalysisRequestNews[];
23
+ /**
24
+ * @remarks
25
+ * This parameter is required.
26
+ *
27
+ * @example
28
+ * llm-xx
29
+ */
30
+ workspaceId?: string;
31
+ static names(): { [key: string]: string } {
32
+ return {
33
+ fileType: 'FileType',
34
+ fileUrl: 'FileUrl',
35
+ maxTopicSize: 'MaxTopicSize',
36
+ news: 'News',
37
+ workspaceId: 'WorkspaceId',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ fileType: 'string',
44
+ fileUrl: 'string',
45
+ maxTopicSize: 'number',
46
+ news: { 'type': 'array', 'itemType': SubmitCustomSourceTopicAnalysisRequestNews },
47
+ workspaceId: 'string',
48
+ };
49
+ }
50
+
51
+ validate() {
52
+ if(Array.isArray(this.news)) {
53
+ $dara.Model.validateArray(this.news);
54
+ }
55
+ super.validate();
56
+ }
57
+
58
+ constructor(map?: { [key: string]: any }) {
59
+ super(map);
60
+ }
61
+ }
62
+