@alicloud/aimiaobi20230801 1.32.2 → 1.34.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 (145) hide show
  1. package/dist/client.d.ts +403 -4
  2. package/dist/client.js +2807 -20
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddAuditTermsRequest.d.ts +1 -0
  5. package/dist/models/AddAuditTermsRequest.js +5 -0
  6. package/dist/models/AddAuditTermsRequest.js.map +1 -1
  7. package/dist/models/AddAuditTermsResponseBody.d.ts +22 -0
  8. package/dist/models/AddAuditTermsResponseBody.js +25 -1
  9. package/dist/models/AddAuditTermsResponseBody.js.map +1 -1
  10. package/dist/models/AddAuditTermsShrinkRequest.d.ts +37 -0
  11. package/dist/models/AddAuditTermsShrinkRequest.js +66 -0
  12. package/dist/models/AddAuditTermsShrinkRequest.js.map +1 -0
  13. package/dist/models/CancelDeepWriteTaskRequest.d.ts +23 -0
  14. package/dist/models/CancelDeepWriteTaskRequest.js +60 -0
  15. package/dist/models/CancelDeepWriteTaskRequest.js.map +1 -0
  16. package/dist/models/CancelDeepWriteTaskResponse.d.ts +19 -0
  17. package/dist/models/CancelDeepWriteTaskResponse.js +69 -0
  18. package/dist/models/CancelDeepWriteTaskResponse.js.map +1 -0
  19. package/dist/models/CancelDeepWriteTaskResponseBody.d.ts +65 -0
  20. package/dist/models/CancelDeepWriteTaskResponseBody.js +94 -0
  21. package/dist/models/CancelDeepWriteTaskResponseBody.js.map +1 -0
  22. package/dist/models/DeleteFactAuditUrlRequest.d.ts +29 -0
  23. package/dist/models/DeleteFactAuditUrlRequest.js +60 -0
  24. package/dist/models/DeleteFactAuditUrlRequest.js.map +1 -0
  25. package/dist/models/DeleteFactAuditUrlResponse.d.ts +19 -0
  26. package/dist/models/DeleteFactAuditUrlResponse.js +69 -0
  27. package/dist/models/DeleteFactAuditUrlResponse.js.map +1 -0
  28. package/dist/models/DeleteFactAuditUrlResponseBody.d.ts +46 -0
  29. package/dist/models/DeleteFactAuditUrlResponseBody.js +68 -0
  30. package/dist/models/DeleteFactAuditUrlResponseBody.js.map +1 -0
  31. package/dist/models/EditAuditTermsRequest.d.ts +1 -0
  32. package/dist/models/EditAuditTermsRequest.js +5 -0
  33. package/dist/models/EditAuditTermsRequest.js.map +1 -1
  34. package/dist/models/EditAuditTermsShrinkRequest.d.ts +42 -0
  35. package/dist/models/EditAuditTermsShrinkRequest.js +68 -0
  36. package/dist/models/EditAuditTermsShrinkRequest.js.map +1 -0
  37. package/dist/models/GetDeepWriteTaskRequest.d.ts +23 -0
  38. package/dist/models/GetDeepWriteTaskRequest.js +60 -0
  39. package/dist/models/GetDeepWriteTaskRequest.js.map +1 -0
  40. package/dist/models/GetDeepWriteTaskResponse.d.ts +19 -0
  41. package/dist/models/GetDeepWriteTaskResponse.js +69 -0
  42. package/dist/models/GetDeepWriteTaskResponse.js.map +1 -0
  43. package/dist/models/GetDeepWriteTaskResponseBody.d.ts +65 -0
  44. package/dist/models/GetDeepWriteTaskResponseBody.js +94 -0
  45. package/dist/models/GetDeepWriteTaskResponseBody.js.map +1 -0
  46. package/dist/models/GetDeepWriteTaskResultRequest.d.ts +23 -0
  47. package/dist/models/GetDeepWriteTaskResultRequest.js +60 -0
  48. package/dist/models/GetDeepWriteTaskResultRequest.js.map +1 -0
  49. package/dist/models/GetDeepWriteTaskResultResponse.d.ts +19 -0
  50. package/dist/models/GetDeepWriteTaskResultResponse.js +69 -0
  51. package/dist/models/GetDeepWriteTaskResultResponse.js.map +1 -0
  52. package/dist/models/GetDeepWriteTaskResultResponseBody.d.ts +60 -0
  53. package/dist/models/GetDeepWriteTaskResultResponseBody.js +92 -0
  54. package/dist/models/GetDeepWriteTaskResultResponseBody.js.map +1 -0
  55. package/dist/models/GetFactAuditUrlRequest.d.ts +21 -0
  56. package/dist/models/GetFactAuditUrlRequest.js +58 -0
  57. package/dist/models/GetFactAuditUrlRequest.js.map +1 -0
  58. package/dist/models/GetFactAuditUrlResponse.d.ts +19 -0
  59. package/dist/models/GetFactAuditUrlResponse.js +69 -0
  60. package/dist/models/GetFactAuditUrlResponse.js.map +1 -0
  61. package/dist/models/GetFactAuditUrlResponseBody.d.ts +46 -0
  62. package/dist/models/GetFactAuditUrlResponseBody.js +71 -0
  63. package/dist/models/GetFactAuditUrlResponseBody.js.map +1 -0
  64. package/dist/models/ListAuditTermsResponseBody.d.ts +1 -0
  65. package/dist/models/ListAuditTermsResponseBody.js +5 -0
  66. package/dist/models/ListAuditTermsResponseBody.js.map +1 -1
  67. package/dist/models/RunDeepWritingRequest.d.ts +31 -0
  68. package/dist/models/RunDeepWritingRequest.js +62 -0
  69. package/dist/models/RunDeepWritingRequest.js.map +1 -0
  70. package/dist/models/RunDeepWritingResponse.d.ts +19 -0
  71. package/dist/models/RunDeepWritingResponse.js +69 -0
  72. package/dist/models/RunDeepWritingResponse.js.map +1 -0
  73. package/dist/models/RunDeepWritingResponseBody.d.ts +201 -0
  74. package/dist/models/RunDeepWritingResponseBody.js +240 -0
  75. package/dist/models/RunDeepWritingResponseBody.js.map +1 -0
  76. package/dist/models/RunVideoScriptGenerateRequest.d.ts +46 -0
  77. package/dist/models/RunVideoScriptGenerateRequest.js +68 -0
  78. package/dist/models/RunVideoScriptGenerateRequest.js.map +1 -0
  79. package/dist/models/RunVideoScriptGenerateResponse.d.ts +19 -0
  80. package/dist/models/RunVideoScriptGenerateResponse.js +69 -0
  81. package/dist/models/RunVideoScriptGenerateResponse.js.map +1 -0
  82. package/dist/models/RunVideoScriptGenerateResponseBody.d.ts +137 -0
  83. package/dist/models/RunVideoScriptGenerateResponseBody.js +176 -0
  84. package/dist/models/RunVideoScriptGenerateResponseBody.js.map +1 -0
  85. package/dist/models/SubmitDeepWriteTaskRequest.d.ts +112 -0
  86. package/dist/models/SubmitDeepWriteTaskRequest.js +188 -0
  87. package/dist/models/SubmitDeepWriteTaskRequest.js.map +1 -0
  88. package/dist/models/SubmitDeepWriteTaskResponse.d.ts +19 -0
  89. package/dist/models/SubmitDeepWriteTaskResponse.js +69 -0
  90. package/dist/models/SubmitDeepWriteTaskResponse.js.map +1 -0
  91. package/dist/models/SubmitDeepWriteTaskResponseBody.d.ts +64 -0
  92. package/dist/models/SubmitDeepWriteTaskResponseBody.js +92 -0
  93. package/dist/models/SubmitDeepWriteTaskResponseBody.js.map +1 -0
  94. package/dist/models/SubmitDeepWriteTaskShrinkRequest.d.ts +29 -0
  95. package/dist/models/SubmitDeepWriteTaskShrinkRequest.js +66 -0
  96. package/dist/models/SubmitDeepWriteTaskShrinkRequest.js.map +1 -0
  97. package/dist/models/SubmitFactAuditUrlRequest.d.ts +29 -0
  98. package/dist/models/SubmitFactAuditUrlRequest.js +60 -0
  99. package/dist/models/SubmitFactAuditUrlRequest.js.map +1 -0
  100. package/dist/models/SubmitFactAuditUrlResponse.d.ts +19 -0
  101. package/dist/models/SubmitFactAuditUrlResponse.js +69 -0
  102. package/dist/models/SubmitFactAuditUrlResponse.js.map +1 -0
  103. package/dist/models/SubmitFactAuditUrlResponseBody.d.ts +46 -0
  104. package/dist/models/SubmitFactAuditUrlResponseBody.js +68 -0
  105. package/dist/models/SubmitFactAuditUrlResponseBody.js.map +1 -0
  106. package/dist/models/model.d.ts +50 -0
  107. package/dist/models/model.js +125 -24
  108. package/dist/models/model.js.map +1 -1
  109. package/package.json +1 -1
  110. package/src/client.ts +3326 -574
  111. package/src/models/AddAuditTermsRequest.ts +6 -0
  112. package/src/models/AddAuditTermsResponseBody.ts +37 -0
  113. package/src/models/AddAuditTermsShrinkRequest.ts +58 -0
  114. package/src/models/CancelDeepWriteTaskRequest.ts +38 -0
  115. package/src/models/CancelDeepWriteTaskResponse.ts +40 -0
  116. package/src/models/CancelDeepWriteTaskResponseBody.ts +105 -0
  117. package/src/models/DeleteFactAuditUrlRequest.ts +44 -0
  118. package/src/models/DeleteFactAuditUrlResponse.ts +40 -0
  119. package/src/models/DeleteFactAuditUrlResponseBody.ts +69 -0
  120. package/src/models/EditAuditTermsRequest.ts +6 -0
  121. package/src/models/EditAuditTermsShrinkRequest.ts +65 -0
  122. package/src/models/GetDeepWriteTaskRequest.ts +38 -0
  123. package/src/models/GetDeepWriteTaskResponse.ts +40 -0
  124. package/src/models/GetDeepWriteTaskResponseBody.ts +105 -0
  125. package/src/models/GetDeepWriteTaskResultRequest.ts +38 -0
  126. package/src/models/GetDeepWriteTaskResultResponse.ts +40 -0
  127. package/src/models/GetDeepWriteTaskResultResponseBody.ts +98 -0
  128. package/src/models/GetFactAuditUrlRequest.ts +34 -0
  129. package/src/models/GetFactAuditUrlResponse.ts +40 -0
  130. package/src/models/GetFactAuditUrlResponseBody.ts +72 -0
  131. package/src/models/ListAuditTermsResponseBody.ts +6 -0
  132. package/src/models/RunDeepWritingRequest.ts +48 -0
  133. package/src/models/RunDeepWritingResponse.ts +40 -0
  134. package/src/models/RunDeepWritingResponseBody.ts +342 -0
  135. package/src/models/RunVideoScriptGenerateRequest.ts +69 -0
  136. package/src/models/RunVideoScriptGenerateResponse.ts +40 -0
  137. package/src/models/RunVideoScriptGenerateResponseBody.ts +232 -0
  138. package/src/models/SubmitDeepWriteTaskRequest.ts +210 -0
  139. package/src/models/SubmitDeepWriteTaskResponse.ts +40 -0
  140. package/src/models/SubmitDeepWriteTaskResponseBody.ts +102 -0
  141. package/src/models/SubmitDeepWriteTaskShrinkRequest.ts +50 -0
  142. package/src/models/SubmitFactAuditUrlRequest.ts +44 -0
  143. package/src/models/SubmitFactAuditUrlResponse.ts +40 -0
  144. package/src/models/SubmitFactAuditUrlResponseBody.ts +69 -0
  145. package/src/models/model.ts +50 -0
@@ -0,0 +1,210 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SubmitDeepWriteTaskRequestAgentOrchestrationDataAnalystAgent extends $dara.Model {
6
+ enableSearch?: boolean;
7
+ name?: string;
8
+ static names(): { [key: string]: string } {
9
+ return {
10
+ enableSearch: 'EnableSearch',
11
+ name: 'Name',
12
+ };
13
+ }
14
+
15
+ static types(): { [key: string]: any } {
16
+ return {
17
+ enableSearch: 'boolean',
18
+ name: 'string',
19
+ };
20
+ }
21
+
22
+ validate() {
23
+ super.validate();
24
+ }
25
+
26
+ constructor(map?: { [key: string]: any }) {
27
+ super(map);
28
+ }
29
+ }
30
+
31
+ export class SubmitDeepWriteTaskRequestAgentOrchestrationDataCollectorAgent extends $dara.Model {
32
+ name?: string;
33
+ static names(): { [key: string]: string } {
34
+ return {
35
+ name: 'Name',
36
+ };
37
+ }
38
+
39
+ static types(): { [key: string]: any } {
40
+ return {
41
+ name: 'string',
42
+ };
43
+ }
44
+
45
+ validate() {
46
+ super.validate();
47
+ }
48
+
49
+ constructor(map?: { [key: string]: any }) {
50
+ super(map);
51
+ }
52
+ }
53
+
54
+ export class SubmitDeepWriteTaskRequestAgentOrchestrationReporterAgent extends $dara.Model {
55
+ enableCitation?: boolean;
56
+ name?: string;
57
+ static names(): { [key: string]: string } {
58
+ return {
59
+ enableCitation: 'EnableCitation',
60
+ name: 'Name',
61
+ };
62
+ }
63
+
64
+ static types(): { [key: string]: any } {
65
+ return {
66
+ enableCitation: 'boolean',
67
+ name: 'string',
68
+ };
69
+ }
70
+
71
+ validate() {
72
+ super.validate();
73
+ }
74
+
75
+ constructor(map?: { [key: string]: any }) {
76
+ super(map);
77
+ }
78
+ }
79
+
80
+ export class SubmitDeepWriteTaskRequestAgentOrchestration extends $dara.Model {
81
+ dataAnalystAgent?: SubmitDeepWriteTaskRequestAgentOrchestrationDataAnalystAgent;
82
+ dataCollectorAgent?: SubmitDeepWriteTaskRequestAgentOrchestrationDataCollectorAgent;
83
+ reporterAgent?: SubmitDeepWriteTaskRequestAgentOrchestrationReporterAgent;
84
+ static names(): { [key: string]: string } {
85
+ return {
86
+ dataAnalystAgent: 'DataAnalystAgent',
87
+ dataCollectorAgent: 'DataCollectorAgent',
88
+ reporterAgent: 'ReporterAgent',
89
+ };
90
+ }
91
+
92
+ static types(): { [key: string]: any } {
93
+ return {
94
+ dataAnalystAgent: SubmitDeepWriteTaskRequestAgentOrchestrationDataAnalystAgent,
95
+ dataCollectorAgent: SubmitDeepWriteTaskRequestAgentOrchestrationDataCollectorAgent,
96
+ reporterAgent: SubmitDeepWriteTaskRequestAgentOrchestrationReporterAgent,
97
+ };
98
+ }
99
+
100
+ validate() {
101
+ if(this.dataAnalystAgent && typeof (this.dataAnalystAgent as any).validate === 'function') {
102
+ (this.dataAnalystAgent as any).validate();
103
+ }
104
+ if(this.dataCollectorAgent && typeof (this.dataCollectorAgent as any).validate === 'function') {
105
+ (this.dataCollectorAgent as any).validate();
106
+ }
107
+ if(this.reporterAgent && typeof (this.reporterAgent as any).validate === 'function') {
108
+ (this.reporterAgent as any).validate();
109
+ }
110
+ super.validate();
111
+ }
112
+
113
+ constructor(map?: { [key: string]: any }) {
114
+ super(map);
115
+ }
116
+ }
117
+
118
+ export class SubmitDeepWriteTaskRequestFiles extends $dara.Model {
119
+ /**
120
+ * @example
121
+ * 附件的备注
122
+ */
123
+ fileDescription?: string;
124
+ /**
125
+ * @example
126
+ * oss://default/aimiaobi-poc/aimiaobi/deep-write-upload/1_1/xxx.txt
127
+ */
128
+ fileKey?: string;
129
+ /**
130
+ * @example
131
+ * 附件的名称
132
+ */
133
+ fileName?: string;
134
+ static names(): { [key: string]: string } {
135
+ return {
136
+ fileDescription: 'FileDescription',
137
+ fileKey: 'FileKey',
138
+ fileName: 'FileName',
139
+ };
140
+ }
141
+
142
+ static types(): { [key: string]: any } {
143
+ return {
144
+ fileDescription: 'string',
145
+ fileKey: 'string',
146
+ fileName: 'string',
147
+ };
148
+ }
149
+
150
+ validate() {
151
+ super.validate();
152
+ }
153
+
154
+ constructor(map?: { [key: string]: any }) {
155
+ super(map);
156
+ }
157
+ }
158
+
159
+ export class SubmitDeepWriteTaskRequest extends $dara.Model {
160
+ agentOrchestration?: SubmitDeepWriteTaskRequestAgentOrchestration;
161
+ files?: SubmitDeepWriteTaskRequestFiles[];
162
+ /**
163
+ * @remarks
164
+ * This parameter is required.
165
+ *
166
+ * **if can be null:**
167
+ * false
168
+ */
169
+ input?: string;
170
+ instructions?: string;
171
+ /**
172
+ * @example
173
+ * llm-1setzb9xb8m11vrc
174
+ */
175
+ workspaceId?: string;
176
+ static names(): { [key: string]: string } {
177
+ return {
178
+ agentOrchestration: 'AgentOrchestration',
179
+ files: 'Files',
180
+ input: 'Input',
181
+ instructions: 'Instructions',
182
+ workspaceId: 'WorkspaceId',
183
+ };
184
+ }
185
+
186
+ static types(): { [key: string]: any } {
187
+ return {
188
+ agentOrchestration: SubmitDeepWriteTaskRequestAgentOrchestration,
189
+ files: { 'type': 'array', 'itemType': SubmitDeepWriteTaskRequestFiles },
190
+ input: 'string',
191
+ instructions: 'string',
192
+ workspaceId: 'string',
193
+ };
194
+ }
195
+
196
+ validate() {
197
+ if(this.agentOrchestration && typeof (this.agentOrchestration as any).validate === 'function') {
198
+ (this.agentOrchestration as any).validate();
199
+ }
200
+ if(Array.isArray(this.files)) {
201
+ $dara.Model.validateArray(this.files);
202
+ }
203
+ super.validate();
204
+ }
205
+
206
+ constructor(map?: { [key: string]: any }) {
207
+ super(map);
208
+ }
209
+ }
210
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { SubmitDeepWriteTaskResponseBody } from "./SubmitDeepWriteTaskResponseBody";
4
+
5
+
6
+ export class SubmitDeepWriteTaskResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: SubmitDeepWriteTaskResponseBody;
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: SubmitDeepWriteTaskResponseBody,
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,102 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SubmitDeepWriteTaskResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * queued
9
+ */
10
+ status?: string;
11
+ /**
12
+ * @example
13
+ * xbabac91-fdad-44d6-95ce-******
14
+ */
15
+ taskId?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ status: 'Status',
19
+ taskId: 'TaskId',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ status: 'string',
26
+ taskId: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class SubmitDeepWriteTaskResponseBody extends $dara.Model {
40
+ /**
41
+ * @example
42
+ * DataNotExists
43
+ */
44
+ code?: string;
45
+ data?: SubmitDeepWriteTaskResponseBodyData;
46
+ /**
47
+ * @example
48
+ * 400
49
+ */
50
+ httpStatusCode?: number;
51
+ /**
52
+ * @example
53
+ * 错误消息
54
+ */
55
+ message?: string;
56
+ /**
57
+ * @remarks
58
+ * Id of the request
59
+ *
60
+ * @example
61
+ * xxxxx
62
+ */
63
+ requestId?: string;
64
+ /**
65
+ * @example
66
+ * true
67
+ */
68
+ success?: boolean;
69
+ static names(): { [key: string]: string } {
70
+ return {
71
+ code: 'Code',
72
+ data: 'Data',
73
+ httpStatusCode: 'HttpStatusCode',
74
+ message: 'Message',
75
+ requestId: 'RequestId',
76
+ success: 'Success',
77
+ };
78
+ }
79
+
80
+ static types(): { [key: string]: any } {
81
+ return {
82
+ code: 'string',
83
+ data: SubmitDeepWriteTaskResponseBodyData,
84
+ httpStatusCode: 'number',
85
+ message: 'string',
86
+ requestId: 'string',
87
+ success: 'boolean',
88
+ };
89
+ }
90
+
91
+ validate() {
92
+ if(this.data && typeof (this.data as any).validate === 'function') {
93
+ (this.data as any).validate();
94
+ }
95
+ super.validate();
96
+ }
97
+
98
+ constructor(map?: { [key: string]: any }) {
99
+ super(map);
100
+ }
101
+ }
102
+
@@ -0,0 +1,50 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SubmitDeepWriteTaskShrinkRequest extends $dara.Model {
6
+ agentOrchestrationShrink?: string;
7
+ filesShrink?: string;
8
+ /**
9
+ * @remarks
10
+ * This parameter is required.
11
+ *
12
+ * **if can be null:**
13
+ * false
14
+ */
15
+ input?: string;
16
+ instructions?: string;
17
+ /**
18
+ * @example
19
+ * llm-1setzb9xb8m11vrc
20
+ */
21
+ workspaceId?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ agentOrchestrationShrink: 'AgentOrchestration',
25
+ filesShrink: 'Files',
26
+ input: 'Input',
27
+ instructions: 'Instructions',
28
+ workspaceId: 'WorkspaceId',
29
+ };
30
+ }
31
+
32
+ static types(): { [key: string]: any } {
33
+ return {
34
+ agentOrchestrationShrink: 'string',
35
+ filesShrink: 'string',
36
+ input: 'string',
37
+ instructions: 'string',
38
+ workspaceId: 'string',
39
+ };
40
+ }
41
+
42
+ validate() {
43
+ super.validate();
44
+ }
45
+
46
+ constructor(map?: { [key: string]: any }) {
47
+ super(map);
48
+ }
49
+ }
50
+
@@ -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 SubmitFactAuditUrlRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * https://aliyun.com
12
+ */
13
+ url?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * llm-xx
20
+ */
21
+ workspaceId?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ url: 'Url',
25
+ workspaceId: 'WorkspaceId',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ url: '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 { SubmitFactAuditUrlResponseBody } from "./SubmitFactAuditUrlResponseBody";
4
+
5
+
6
+ export class SubmitFactAuditUrlResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: SubmitFactAuditUrlResponseBody;
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: SubmitFactAuditUrlResponseBody,
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 SubmitFactAuditUrlResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * DataNotExists
9
+ */
10
+ code?: string;
11
+ /**
12
+ * @example
13
+ * SUCCESSED
14
+ */
15
+ data?: string;
16
+ /**
17
+ * @example
18
+ * 200
19
+ */
20
+ httpStatusCode?: number;
21
+ /**
22
+ * @example
23
+ * success
24
+ */
25
+ message?: string;
26
+ /**
27
+ * @remarks
28
+ * Id of the request
29
+ *
30
+ * @example
31
+ * F2F366D6-E9FE-1006-BB70-2C650896AAB5
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
+