@alicloud/aimiaobi20230801 1.36.2 → 1.37.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 +91 -0
  2. package/dist/client.js +567 -204
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BindPptArtifactRequest.d.ts +37 -0
  5. package/dist/models/BindPptArtifactRequest.js +62 -0
  6. package/dist/models/BindPptArtifactRequest.js.map +1 -0
  7. package/dist/models/BindPptArtifactResponse.d.ts +19 -0
  8. package/dist/models/BindPptArtifactResponse.js +69 -0
  9. package/dist/models/BindPptArtifactResponse.js.map +1 -0
  10. package/dist/models/BindPptArtifactResponseBody.d.ts +59 -0
  11. package/dist/models/BindPptArtifactResponseBody.js +90 -0
  12. package/dist/models/BindPptArtifactResponseBody.js.map +1 -0
  13. package/dist/models/GetPptConfigRequest.d.ts +18 -0
  14. package/dist/models/GetPptConfigRequest.js +58 -0
  15. package/dist/models/GetPptConfigRequest.js.map +1 -0
  16. package/dist/models/GetPptConfigResponse.d.ts +19 -0
  17. package/dist/models/GetPptConfigResponse.js +69 -0
  18. package/dist/models/GetPptConfigResponse.js.map +1 -0
  19. package/dist/models/GetPptConfigResponseBody.d.ts +70 -0
  20. package/dist/models/GetPptConfigResponseBody.js +92 -0
  21. package/dist/models/GetPptConfigResponseBody.js.map +1 -0
  22. package/dist/models/InitiatePptCreationRequest.d.ts +27 -0
  23. package/dist/models/InitiatePptCreationRequest.js +62 -0
  24. package/dist/models/InitiatePptCreationRequest.js.map +1 -0
  25. package/dist/models/InitiatePptCreationResponse.d.ts +19 -0
  26. package/dist/models/InitiatePptCreationResponse.js +69 -0
  27. package/dist/models/InitiatePptCreationResponse.js.map +1 -0
  28. package/dist/models/InitiatePptCreationResponseBody.d.ts +70 -0
  29. package/dist/models/InitiatePptCreationResponseBody.js +92 -0
  30. package/dist/models/InitiatePptCreationResponseBody.js.map +1 -0
  31. package/dist/models/RunAiHelperWritingRequest.d.ts +66 -0
  32. package/dist/models/RunAiHelperWritingRequest.js +73 -0
  33. package/dist/models/RunAiHelperWritingRequest.js.map +1 -0
  34. package/dist/models/RunAiHelperWritingResponse.d.ts +19 -0
  35. package/dist/models/RunAiHelperWritingResponse.js +69 -0
  36. package/dist/models/RunAiHelperWritingResponse.js.map +1 -0
  37. package/dist/models/RunAiHelperWritingResponseBody.d.ts +219 -0
  38. package/dist/models/RunAiHelperWritingResponseBody.js +181 -0
  39. package/dist/models/RunAiHelperWritingResponseBody.js.map +1 -0
  40. package/dist/models/RunAiHelperWritingShrinkRequest.d.ts +64 -0
  41. package/dist/models/RunAiHelperWritingShrinkRequest.js +70 -0
  42. package/dist/models/RunAiHelperWritingShrinkRequest.js.map +1 -0
  43. package/dist/models/RunPptOutlineGenerationRequest.d.ts +26 -0
  44. package/dist/models/RunPptOutlineGenerationRequest.js +60 -0
  45. package/dist/models/RunPptOutlineGenerationRequest.js.map +1 -0
  46. package/dist/models/RunPptOutlineGenerationResponse.d.ts +19 -0
  47. package/dist/models/RunPptOutlineGenerationResponse.js +69 -0
  48. package/dist/models/RunPptOutlineGenerationResponse.js.map +1 -0
  49. package/dist/models/RunPptOutlineGenerationResponseBody.d.ts +113 -0
  50. package/dist/models/RunPptOutlineGenerationResponseBody.js +148 -0
  51. package/dist/models/RunPptOutlineGenerationResponseBody.js.map +1 -0
  52. package/dist/models/model.d.ts +26 -0
  53. package/dist/models/model.js +78 -26
  54. package/dist/models/model.js.map +1 -1
  55. package/package.json +1 -1
  56. package/src/client.ts +382 -0
  57. package/src/models/BindPptArtifactRequest.ts +54 -0
  58. package/src/models/BindPptArtifactResponse.ts +40 -0
  59. package/src/models/BindPptArtifactResponseBody.ts +95 -0
  60. package/src/models/GetPptConfigRequest.ts +31 -0
  61. package/src/models/GetPptConfigResponse.ts +40 -0
  62. package/src/models/GetPptConfigResponseBody.ts +108 -0
  63. package/src/models/InitiatePptCreationRequest.ts +44 -0
  64. package/src/models/InitiatePptCreationResponse.ts +40 -0
  65. package/src/models/InitiatePptCreationResponseBody.ts +108 -0
  66. package/src/models/RunAiHelperWritingRequest.ts +92 -0
  67. package/src/models/RunAiHelperWritingResponse.ts +40 -0
  68. package/src/models/RunAiHelperWritingResponseBody.ts +317 -0
  69. package/src/models/RunAiHelperWritingShrinkRequest.ts +89 -0
  70. package/src/models/RunPptOutlineGenerationRequest.ts +41 -0
  71. package/src/models/RunPptOutlineGenerationResponse.ts +40 -0
  72. package/src/models/RunPptOutlineGenerationResponseBody.ts +189 -0
  73. package/src/models/model.ts +26 -0
@@ -0,0 +1,54 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class BindPptArtifactRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 12342
12
+ */
13
+ artifactId?: number;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * 85da2bfe-6f05-41af-9841-d73c5bbf43a2
20
+ *
21
+ * **if can be null:**
22
+ * false
23
+ */
24
+ taskId?: string;
25
+ /**
26
+ * @example
27
+ * llm-xgpt3m25qdosdjr3
28
+ */
29
+ workspaceId?: string;
30
+ static names(): { [key: string]: string } {
31
+ return {
32
+ artifactId: 'ArtifactId',
33
+ taskId: 'TaskId',
34
+ workspaceId: 'WorkspaceId',
35
+ };
36
+ }
37
+
38
+ static types(): { [key: string]: any } {
39
+ return {
40
+ artifactId: 'number',
41
+ taskId: 'string',
42
+ workspaceId: 'string',
43
+ };
44
+ }
45
+
46
+ validate() {
47
+ super.validate();
48
+ }
49
+
50
+ constructor(map?: { [key: string]: any }) {
51
+ super(map);
52
+ }
53
+ }
54
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { BindPptArtifactResponseBody } from "./BindPptArtifactResponseBody";
4
+
5
+
6
+ export class BindPptArtifactResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: BindPptArtifactResponseBody;
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: BindPptArtifactResponseBody,
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,95 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class BindPptArtifactResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 110f8401-e5ba-42db-addb-4f70196000c1
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
+
32
+ export class BindPptArtifactResponseBody extends $dara.Model {
33
+ /**
34
+ * @example
35
+ * DataNotExists
36
+ */
37
+ code?: string;
38
+ data?: BindPptArtifactResponseBodyData;
39
+ /**
40
+ * @example
41
+ * 400
42
+ */
43
+ httpStatusCode?: number;
44
+ /**
45
+ * @example
46
+ * 错误消息
47
+ */
48
+ message?: string;
49
+ /**
50
+ * @remarks
51
+ * Id of the request
52
+ *
53
+ * @example
54
+ * xxxxx
55
+ */
56
+ requestId?: string;
57
+ /**
58
+ * @example
59
+ * true
60
+ */
61
+ success?: boolean;
62
+ static names(): { [key: string]: string } {
63
+ return {
64
+ code: 'Code',
65
+ data: 'Data',
66
+ httpStatusCode: 'HttpStatusCode',
67
+ message: 'Message',
68
+ requestId: 'RequestId',
69
+ success: 'Success',
70
+ };
71
+ }
72
+
73
+ static types(): { [key: string]: any } {
74
+ return {
75
+ code: 'string',
76
+ data: BindPptArtifactResponseBodyData,
77
+ httpStatusCode: 'number',
78
+ message: 'string',
79
+ requestId: 'string',
80
+ success: 'boolean',
81
+ };
82
+ }
83
+
84
+ validate() {
85
+ if(this.data && typeof (this.data as any).validate === 'function') {
86
+ (this.data as any).validate();
87
+ }
88
+ super.validate();
89
+ }
90
+
91
+ constructor(map?: { [key: string]: any }) {
92
+ super(map);
93
+ }
94
+ }
95
+
@@ -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 GetPptConfigRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * llm-az2gglkjauwnnhpq
9
+ */
10
+ workspaceId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ workspaceId: 'WorkspaceId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ workspaceId: '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,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetPptConfigResponseBody } from "./GetPptConfigResponseBody";
4
+
5
+
6
+ export class GetPptConfigResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetPptConfigResponseBody;
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: GetPptConfigResponseBody,
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,108 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetPptConfigResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * AppKey
9
+ *
10
+ * @example
11
+ * 333444766
12
+ */
13
+ appKey?: string;
14
+ /**
15
+ * @remarks
16
+ * Code
17
+ *
18
+ * @example
19
+ * r4wr5y6g
20
+ */
21
+ code?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ appKey: 'AppKey',
25
+ code: 'Code',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ appKey: 'string',
32
+ code: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class GetPptConfigResponseBody extends $dara.Model {
46
+ /**
47
+ * @example
48
+ * DataNotExists
49
+ */
50
+ code?: string;
51
+ data?: GetPptConfigResponseBodyData;
52
+ /**
53
+ * @example
54
+ * 400
55
+ */
56
+ httpStatusCode?: number;
57
+ /**
58
+ * @example
59
+ * 错误消息
60
+ */
61
+ message?: string;
62
+ /**
63
+ * @remarks
64
+ * Id of the request
65
+ *
66
+ * @example
67
+ * xxxxx
68
+ */
69
+ requestId?: string;
70
+ /**
71
+ * @example
72
+ * true
73
+ */
74
+ success?: boolean;
75
+ static names(): { [key: string]: string } {
76
+ return {
77
+ code: 'Code',
78
+ data: 'Data',
79
+ httpStatusCode: 'HttpStatusCode',
80
+ message: 'Message',
81
+ requestId: 'RequestId',
82
+ success: 'Success',
83
+ };
84
+ }
85
+
86
+ static types(): { [key: string]: any } {
87
+ return {
88
+ code: 'string',
89
+ data: GetPptConfigResponseBodyData,
90
+ httpStatusCode: 'number',
91
+ message: 'string',
92
+ requestId: 'string',
93
+ success: 'boolean',
94
+ };
95
+ }
96
+
97
+ validate() {
98
+ if(this.data && typeof (this.data as any).validate === 'function') {
99
+ (this.data as any).validate();
100
+ }
101
+ super.validate();
102
+ }
103
+
104
+ constructor(map?: { [key: string]: any }) {
105
+ super(map);
106
+ }
107
+ }
108
+
@@ -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 InitiatePptCreationRequest extends $dara.Model {
6
+ outline?: string;
7
+ /**
8
+ * @remarks
9
+ * This parameter is required.
10
+ *
11
+ * @example
12
+ * 95c2fbe6-5a20-4fc2-8a93-376ed05fbe13
13
+ */
14
+ taskId?: string;
15
+ /**
16
+ * @example
17
+ * llm-3fy94b2rtadt01qa
18
+ */
19
+ workspaceId?: string;
20
+ static names(): { [key: string]: string } {
21
+ return {
22
+ outline: 'Outline',
23
+ taskId: 'TaskId',
24
+ workspaceId: 'WorkspaceId',
25
+ };
26
+ }
27
+
28
+ static types(): { [key: string]: any } {
29
+ return {
30
+ outline: 'string',
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 { InitiatePptCreationResponseBody } from "./InitiatePptCreationResponseBody";
4
+
5
+
6
+ export class InitiatePptCreationResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: InitiatePptCreationResponseBody;
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: InitiatePptCreationResponseBody,
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,108 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class InitiatePptCreationResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * AppKey
9
+ *
10
+ * @example
11
+ * S1X5ecouBztZelaQ
12
+ */
13
+ appKey?: string;
14
+ /**
15
+ * @remarks
16
+ * Code
17
+ *
18
+ * @example
19
+ * 7dhqd2
20
+ */
21
+ code?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ appKey: 'AppKey',
25
+ code: 'Code',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ appKey: 'string',
32
+ code: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class InitiatePptCreationResponseBody extends $dara.Model {
46
+ /**
47
+ * @example
48
+ * DataNotExists
49
+ */
50
+ code?: string;
51
+ data?: InitiatePptCreationResponseBodyData;
52
+ /**
53
+ * @example
54
+ * 400
55
+ */
56
+ httpStatusCode?: number;
57
+ /**
58
+ * @example
59
+ * 错误消息
60
+ */
61
+ message?: string;
62
+ /**
63
+ * @remarks
64
+ * Id of the request
65
+ *
66
+ * @example
67
+ * 11AC01F1-88FB-5C4D-B6F5-E8BB136CD5A3
68
+ */
69
+ requestId?: string;
70
+ /**
71
+ * @example
72
+ * true
73
+ */
74
+ success?: boolean;
75
+ static names(): { [key: string]: string } {
76
+ return {
77
+ code: 'Code',
78
+ data: 'Data',
79
+ httpStatusCode: 'HttpStatusCode',
80
+ message: 'Message',
81
+ requestId: 'RequestId',
82
+ success: 'Success',
83
+ };
84
+ }
85
+
86
+ static types(): { [key: string]: any } {
87
+ return {
88
+ code: 'string',
89
+ data: InitiatePptCreationResponseBodyData,
90
+ httpStatusCode: 'number',
91
+ message: 'string',
92
+ requestId: 'string',
93
+ success: 'boolean',
94
+ };
95
+ }
96
+
97
+ validate() {
98
+ if(this.data && typeof (this.data as any).validate === 'function') {
99
+ (this.data as any).validate();
100
+ }
101
+ super.validate();
102
+ }
103
+
104
+ constructor(map?: { [key: string]: any }) {
105
+ super(map);
106
+ }
107
+ }
108
+
@@ -0,0 +1,92 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class RunAiHelperWritingRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * false
9
+ */
10
+ distributeWriting?: boolean;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * 请帮我写一篇关于人工智能发展趋势的文章
17
+ */
18
+ prompt?: string;
19
+ /**
20
+ * @example
21
+ * Template
22
+ */
23
+ promptMode?: string;
24
+ /**
25
+ * @remarks
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * llm-xxxxx
30
+ */
31
+ workspaceId?: string;
32
+ /**
33
+ * @example
34
+ * {"wordCount": "1000", "tone": "formal"}
35
+ */
36
+ writingParams?: { [key: string]: string };
37
+ /**
38
+ * @remarks
39
+ * 写作场景:government(政务)、media(传媒)、market(营销)、office(办公)、custom(自定义)
40
+ *
41
+ * This parameter is required.
42
+ *
43
+ * @example
44
+ * media
45
+ */
46
+ writingScene?: string;
47
+ /**
48
+ * @remarks
49
+ * 写作文体唯一标识KEY,可通过ListWritingStyles接口获取对应写作场景下的文体列表
50
+ *
51
+ * This parameter is required.
52
+ *
53
+ * @example
54
+ * news_article
55
+ */
56
+ writingStyle?: string;
57
+ static names(): { [key: string]: string } {
58
+ return {
59
+ distributeWriting: 'DistributeWriting',
60
+ prompt: 'Prompt',
61
+ promptMode: 'PromptMode',
62
+ workspaceId: 'WorkspaceId',
63
+ writingParams: 'WritingParams',
64
+ writingScene: 'WritingScene',
65
+ writingStyle: 'WritingStyle',
66
+ };
67
+ }
68
+
69
+ static types(): { [key: string]: any } {
70
+ return {
71
+ distributeWriting: 'boolean',
72
+ prompt: 'string',
73
+ promptMode: 'string',
74
+ workspaceId: 'string',
75
+ writingParams: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
76
+ writingScene: 'string',
77
+ writingStyle: 'string',
78
+ };
79
+ }
80
+
81
+ validate() {
82
+ if(this.writingParams) {
83
+ $dara.Model.validateMap(this.writingParams);
84
+ }
85
+ super.validate();
86
+ }
87
+
88
+ constructor(map?: { [key: string]: any }) {
89
+ super(map);
90
+ }
91
+ }
92
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { RunAiHelperWritingResponseBody } from "./RunAiHelperWritingResponseBody";
4
+
5
+
6
+ export class RunAiHelperWritingResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: RunAiHelperWritingResponseBody;
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: RunAiHelperWritingResponseBody,
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
+