@alicloud/aimiaobi20230801 1.26.5 → 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 (73) 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/SubmitCustomSourceTopicAnalysisRequest.d.ts +38 -0
  32. package/dist/models/SubmitCustomSourceTopicAnalysisRequest.js +70 -0
  33. package/dist/models/SubmitCustomSourceTopicAnalysisRequest.js.map +1 -0
  34. package/dist/models/SubmitCustomSourceTopicAnalysisRequestNews.d.ts +27 -0
  35. package/dist/models/SubmitCustomSourceTopicAnalysisRequestNews.js +70 -0
  36. package/dist/models/SubmitCustomSourceTopicAnalysisRequestNews.js.map +1 -0
  37. package/dist/models/SubmitCustomSourceTopicAnalysisRequestNewsComments.d.ts +14 -0
  38. package/dist/models/SubmitCustomSourceTopicAnalysisRequestNewsComments.js +58 -0
  39. package/dist/models/SubmitCustomSourceTopicAnalysisRequestNewsComments.js.map +1 -0
  40. package/dist/models/SubmitCustomSourceTopicAnalysisResponse.d.ts +19 -0
  41. package/dist/models/SubmitCustomSourceTopicAnalysisResponse.js +69 -0
  42. package/dist/models/SubmitCustomSourceTopicAnalysisResponse.js.map +1 -0
  43. package/dist/models/SubmitCustomSourceTopicAnalysisResponseBody.d.ts +40 -0
  44. package/dist/models/SubmitCustomSourceTopicAnalysisResponseBody.js +72 -0
  45. package/dist/models/SubmitCustomSourceTopicAnalysisResponseBody.js.map +1 -0
  46. package/dist/models/SubmitCustomSourceTopicAnalysisResponseBodyData.d.ts +23 -0
  47. package/dist/models/SubmitCustomSourceTopicAnalysisResponseBodyData.js +60 -0
  48. package/dist/models/SubmitCustomSourceTopicAnalysisResponseBodyData.js.map +1 -0
  49. package/dist/models/SubmitCustomSourceTopicAnalysisShrinkRequest.d.ts +37 -0
  50. package/dist/models/SubmitCustomSourceTopicAnalysisShrinkRequest.js +66 -0
  51. package/dist/models/SubmitCustomSourceTopicAnalysisShrinkRequest.js.map +1 -0
  52. package/dist/models/model.d.ts +16 -0
  53. package/dist/models/model.js +52 -20
  54. package/dist/models/model.js.map +1 -1
  55. package/package.json +1 -1
  56. package/src/client.ts +156 -0
  57. package/src/models/ExportCustomSourceAnalysisTaskRequest.ts +44 -0
  58. package/src/models/ExportCustomSourceAnalysisTaskResponse.ts +40 -0
  59. package/src/models/ExportCustomSourceAnalysisTaskResponseBody.ts +66 -0
  60. package/src/models/GetCustomSourceTopicAnalysisTaskRequest.ts +44 -0
  61. package/src/models/GetCustomSourceTopicAnalysisTaskResponse.ts +40 -0
  62. package/src/models/GetCustomSourceTopicAnalysisTaskResponseBody.ts +66 -0
  63. package/src/models/GetCustomSourceTopicAnalysisTaskResponseBodyData.ts +66 -0
  64. package/src/models/GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResults.ts +34 -0
  65. package/src/models/GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResultsClusterNews.ts +34 -0
  66. package/src/models/SubmitCustomSourceTopicAnalysisRequest.ts +62 -0
  67. package/src/models/SubmitCustomSourceTopicAnalysisRequestNews.ts +51 -0
  68. package/src/models/SubmitCustomSourceTopicAnalysisRequestNewsComments.ts +27 -0
  69. package/src/models/SubmitCustomSourceTopicAnalysisResponse.ts +40 -0
  70. package/src/models/SubmitCustomSourceTopicAnalysisResponseBody.ts +66 -0
  71. package/src/models/SubmitCustomSourceTopicAnalysisResponseBodyData.ts +38 -0
  72. package/src/models/SubmitCustomSourceTopicAnalysisShrinkRequest.ts +58 -0
  73. package/src/models/model.ts +16 -0
@@ -0,0 +1,51 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { SubmitCustomSourceTopicAnalysisRequestNewsComments } from "./SubmitCustomSourceTopicAnalysisRequestNewsComments";
4
+
5
+
6
+ export class SubmitCustomSourceTopicAnalysisRequestNews extends $dara.Model {
7
+ comments?: SubmitCustomSourceTopicAnalysisRequestNewsComments[];
8
+ content?: string;
9
+ /**
10
+ * @example
11
+ * 2024-01-22 10:29:00
12
+ */
13
+ pubTime?: string;
14
+ title?: string;
15
+ /**
16
+ * @example
17
+ * http://www.example.com/xxx.html
18
+ */
19
+ url?: string;
20
+ static names(): { [key: string]: string } {
21
+ return {
22
+ comments: 'Comments',
23
+ content: 'Content',
24
+ pubTime: 'PubTime',
25
+ title: 'Title',
26
+ url: 'Url',
27
+ };
28
+ }
29
+
30
+ static types(): { [key: string]: any } {
31
+ return {
32
+ comments: { 'type': 'array', 'itemType': SubmitCustomSourceTopicAnalysisRequestNewsComments },
33
+ content: 'string',
34
+ pubTime: 'string',
35
+ title: 'string',
36
+ url: 'string',
37
+ };
38
+ }
39
+
40
+ validate() {
41
+ if(Array.isArray(this.comments)) {
42
+ $dara.Model.validateArray(this.comments);
43
+ }
44
+ super.validate();
45
+ }
46
+
47
+ constructor(map?: { [key: string]: any }) {
48
+ super(map);
49
+ }
50
+ }
51
+
@@ -0,0 +1,27 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SubmitCustomSourceTopicAnalysisRequestNewsComments extends $dara.Model {
6
+ text?: string;
7
+ static names(): { [key: string]: string } {
8
+ return {
9
+ text: 'Text',
10
+ };
11
+ }
12
+
13
+ static types(): { [key: string]: any } {
14
+ return {
15
+ text: 'string',
16
+ };
17
+ }
18
+
19
+ validate() {
20
+ super.validate();
21
+ }
22
+
23
+ constructor(map?: { [key: string]: any }) {
24
+ super(map);
25
+ }
26
+ }
27
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { SubmitCustomSourceTopicAnalysisResponseBody } from "./SubmitCustomSourceTopicAnalysisResponseBody";
4
+
5
+
6
+ export class SubmitCustomSourceTopicAnalysisResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: SubmitCustomSourceTopicAnalysisResponseBody;
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: SubmitCustomSourceTopicAnalysisResponseBody,
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 { SubmitCustomSourceTopicAnalysisResponseBodyData } from "./SubmitCustomSourceTopicAnalysisResponseBodyData";
4
+
5
+
6
+ export class SubmitCustomSourceTopicAnalysisResponseBody extends $dara.Model {
7
+ /**
8
+ * @example
9
+ * NoData
10
+ */
11
+ code?: string;
12
+ data?: SubmitCustomSourceTopicAnalysisResponseBodyData;
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: SubmitCustomSourceTopicAnalysisResponseBodyData,
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,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SubmitCustomSourceTopicAnalysisResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 3f7045e099474ba28ceca1b4eb6d6e21
9
+ */
10
+ taskId?: string;
11
+ /**
12
+ * @example
13
+ * 任务名称
14
+ */
15
+ taskName?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ taskId: 'TaskId',
19
+ taskName: 'TaskName',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ taskId: 'string',
26
+ taskName: '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,58 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SubmitCustomSourceTopicAnalysisShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * json
9
+ */
10
+ fileType?: string;
11
+ /**
12
+ * @example
13
+ * http://www.example.com/xxx.json
14
+ */
15
+ fileUrl?: string;
16
+ /**
17
+ * @example
18
+ * 50
19
+ */
20
+ maxTopicSize?: number;
21
+ newsShrink?: string;
22
+ /**
23
+ * @remarks
24
+ * This parameter is required.
25
+ *
26
+ * @example
27
+ * llm-xx
28
+ */
29
+ workspaceId?: string;
30
+ static names(): { [key: string]: string } {
31
+ return {
32
+ fileType: 'FileType',
33
+ fileUrl: 'FileUrl',
34
+ maxTopicSize: 'MaxTopicSize',
35
+ newsShrink: 'News',
36
+ workspaceId: 'WorkspaceId',
37
+ };
38
+ }
39
+
40
+ static types(): { [key: string]: any } {
41
+ return {
42
+ fileType: 'string',
43
+ fileUrl: 'string',
44
+ maxTopicSize: 'number',
45
+ newsShrink: 'string',
46
+ workspaceId: 'string',
47
+ };
48
+ }
49
+
50
+ validate() {
51
+ super.validate();
52
+ }
53
+
54
+ constructor(map?: { [key: string]: any }) {
55
+ super(map);
56
+ }
57
+ }
58
+
@@ -32,6 +32,9 @@ export { GenerateViewPointResponseBodyData } from './GenerateViewPointResponseBo
32
32
  export { GetCategoriesByTaskIdResponseBodyDataChildren } from './GetCategoriesByTaskIdResponseBodyDataChildren';
33
33
  export { GetCategoriesByTaskIdResponseBodyData } from './GetCategoriesByTaskIdResponseBodyData';
34
34
  export { GetCustomHotTopicBroadcastJobResponseBodyData } from './GetCustomHotTopicBroadcastJobResponseBodyData';
35
+ export { GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResultsClusterNews } from './GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResultsClusterNews';
36
+ export { GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResults } from './GetCustomSourceTopicAnalysisTaskResponseBodyDataClusterResults';
37
+ export { GetCustomSourceTopicAnalysisTaskResponseBodyData } from './GetCustomSourceTopicAnalysisTaskResponseBodyData';
35
38
  export { GetCustomTextResponseBodyData } from './GetCustomTextResponseBodyData';
36
39
  export { GetCustomTopicSelectionPerspectiveAnalysisTaskResponseBodyDataCustomViewPointsResultAttitudesViewPointsOutlines } from './GetCustomTopicSelectionPerspectiveAnalysisTaskResponseBodyDataCustomViewPointsResultAttitudesViewPointsOutlines';
37
40
  export { GetCustomTopicSelectionPerspectiveAnalysisTaskResponseBodyDataCustomViewPointsResultAttitudesViewPoints } from './GetCustomTopicSelectionPerspectiveAnalysisTaskResponseBodyDataCustomViewPointsResultAttitudesViewPoints';
@@ -452,6 +455,9 @@ export { SubmitCustomHotTopicBroadcastJobRequestHotTopicBroadcastConfigStepForNe
452
455
  export { SubmitCustomHotTopicBroadcastJobRequestHotTopicBroadcastConfigStepForNewsBroadcastContentConfig } from './SubmitCustomHotTopicBroadcastJobRequestHotTopicBroadcastConfigStepForNewsBroadcastContentConfig';
453
456
  export { SubmitCustomHotTopicBroadcastJobRequestHotTopicBroadcastConfig } from './SubmitCustomHotTopicBroadcastJobRequestHotTopicBroadcastConfig';
454
457
  export { SubmitCustomHotTopicBroadcastJobResponseBodyData } from './SubmitCustomHotTopicBroadcastJobResponseBodyData';
458
+ export { SubmitCustomSourceTopicAnalysisRequestNewsComments } from './SubmitCustomSourceTopicAnalysisRequestNewsComments';
459
+ export { SubmitCustomSourceTopicAnalysisRequestNews } from './SubmitCustomSourceTopicAnalysisRequestNews';
460
+ export { SubmitCustomSourceTopicAnalysisResponseBodyData } from './SubmitCustomSourceTopicAnalysisResponseBodyData';
455
461
  export { SubmitCustomTopicSelectionPerspectiveAnalysisTaskRequestDocuments } from './SubmitCustomTopicSelectionPerspectiveAnalysisTaskRequestDocuments';
456
462
  export { SubmitCustomTopicSelectionPerspectiveAnalysisTaskResponseBodyData } from './SubmitCustomTopicSelectionPerspectiveAnalysisTaskResponseBodyData';
457
463
  export { SubmitDocClusterTaskRequestDocuments } from './SubmitDocClusterTaskRequestDocuments';
@@ -560,6 +566,9 @@ export { ExportAnalysisTagDetailByTaskIdRequest } from './ExportAnalysisTagDetai
560
566
  export { ExportAnalysisTagDetailByTaskIdShrinkRequest } from './ExportAnalysisTagDetailByTaskIdShrinkRequest';
561
567
  export { ExportAnalysisTagDetailByTaskIdResponseBody } from './ExportAnalysisTagDetailByTaskIdResponseBody';
562
568
  export { ExportAnalysisTagDetailByTaskIdResponse } from './ExportAnalysisTagDetailByTaskIdResponse';
569
+ export { ExportCustomSourceAnalysisTaskRequest } from './ExportCustomSourceAnalysisTaskRequest';
570
+ export { ExportCustomSourceAnalysisTaskResponseBody } from './ExportCustomSourceAnalysisTaskResponseBody';
571
+ export { ExportCustomSourceAnalysisTaskResponse } from './ExportCustomSourceAnalysisTaskResponse';
563
572
  export { ExportGeneratedContentRequest } from './ExportGeneratedContentRequest';
564
573
  export { ExportGeneratedContentResponseBody } from './ExportGeneratedContentResponseBody';
565
574
  export { ExportGeneratedContentResponse } from './ExportGeneratedContentResponse';
@@ -598,6 +607,9 @@ export { GetCategoriesByTaskIdResponse } from './GetCategoriesByTaskIdResponse';
598
607
  export { GetCustomHotTopicBroadcastJobRequest } from './GetCustomHotTopicBroadcastJobRequest';
599
608
  export { GetCustomHotTopicBroadcastJobResponseBody } from './GetCustomHotTopicBroadcastJobResponseBody';
600
609
  export { GetCustomHotTopicBroadcastJobResponse } from './GetCustomHotTopicBroadcastJobResponse';
610
+ export { GetCustomSourceTopicAnalysisTaskRequest } from './GetCustomSourceTopicAnalysisTaskRequest';
611
+ export { GetCustomSourceTopicAnalysisTaskResponseBody } from './GetCustomSourceTopicAnalysisTaskResponseBody';
612
+ export { GetCustomSourceTopicAnalysisTaskResponse } from './GetCustomSourceTopicAnalysisTaskResponse';
601
613
  export { GetCustomTextRequest } from './GetCustomTextRequest';
602
614
  export { GetCustomTextResponseBody } from './GetCustomTextResponseBody';
603
615
  export { GetCustomTextResponse } from './GetCustomTextResponse';
@@ -923,6 +935,10 @@ export { SubmitCustomHotTopicBroadcastJobRequest } from './SubmitCustomHotTopicB
923
935
  export { SubmitCustomHotTopicBroadcastJobShrinkRequest } from './SubmitCustomHotTopicBroadcastJobShrinkRequest';
924
936
  export { SubmitCustomHotTopicBroadcastJobResponseBody } from './SubmitCustomHotTopicBroadcastJobResponseBody';
925
937
  export { SubmitCustomHotTopicBroadcastJobResponse } from './SubmitCustomHotTopicBroadcastJobResponse';
938
+ export { SubmitCustomSourceTopicAnalysisRequest } from './SubmitCustomSourceTopicAnalysisRequest';
939
+ export { SubmitCustomSourceTopicAnalysisShrinkRequest } from './SubmitCustomSourceTopicAnalysisShrinkRequest';
940
+ export { SubmitCustomSourceTopicAnalysisResponseBody } from './SubmitCustomSourceTopicAnalysisResponseBody';
941
+ export { SubmitCustomSourceTopicAnalysisResponse } from './SubmitCustomSourceTopicAnalysisResponse';
926
942
  export { SubmitCustomTopicSelectionPerspectiveAnalysisTaskRequest } from './SubmitCustomTopicSelectionPerspectiveAnalysisTaskRequest';
927
943
  export { SubmitCustomTopicSelectionPerspectiveAnalysisTaskShrinkRequest } from './SubmitCustomTopicSelectionPerspectiveAnalysisTaskShrinkRequest';
928
944
  export { SubmitCustomTopicSelectionPerspectiveAnalysisTaskResponseBody } from './SubmitCustomTopicSelectionPerspectiveAnalysisTaskResponseBody';