@alicloud/dianjin20240628 1.14.0 → 1.16.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 (101) hide show
  1. package/dist/client.d.ts +112 -1
  2. package/dist/client.js +468 -36
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateImageDetectionTaskHeaders.d.ts +17 -0
  5. package/dist/models/CreateImageDetectionTaskHeaders.js +63 -0
  6. package/dist/models/CreateImageDetectionTaskHeaders.js.map +1 -0
  7. package/dist/models/CreateImageDetectionTaskRequest.d.ts +64 -0
  8. package/dist/models/CreateImageDetectionTaskRequest.js +92 -0
  9. package/dist/models/CreateImageDetectionTaskRequest.js.map +1 -0
  10. package/dist/models/CreateImageDetectionTaskResponse.d.ts +19 -0
  11. package/dist/models/CreateImageDetectionTaskResponse.js +69 -0
  12. package/dist/models/CreateImageDetectionTaskResponse.js.map +1 -0
  13. package/dist/models/CreateImageDetectionTaskResponseBody.d.ts +81 -0
  14. package/dist/models/CreateImageDetectionTaskResponseBody.js +120 -0
  15. package/dist/models/CreateImageDetectionTaskResponseBody.js.map +1 -0
  16. package/dist/models/CreateQualityCheckTaskRequest.d.ts +1 -0
  17. package/dist/models/CreateQualityCheckTaskRequest.js +2 -0
  18. package/dist/models/CreateQualityCheckTaskRequest.js.map +1 -1
  19. package/dist/models/CreateVideoCreationTaskHeaders.d.ts +17 -0
  20. package/dist/models/CreateVideoCreationTaskHeaders.js +63 -0
  21. package/dist/models/CreateVideoCreationTaskHeaders.js.map +1 -0
  22. package/dist/models/CreateVideoCreationTaskRequest.d.ts +90 -0
  23. package/dist/models/CreateVideoCreationTaskRequest.js +118 -0
  24. package/dist/models/CreateVideoCreationTaskRequest.js.map +1 -0
  25. package/dist/models/CreateVideoCreationTaskResponse.d.ts +19 -0
  26. package/dist/models/CreateVideoCreationTaskResponse.js +69 -0
  27. package/dist/models/CreateVideoCreationTaskResponse.js.map +1 -0
  28. package/dist/models/CreateVideoCreationTaskResponseBody.d.ts +53 -0
  29. package/dist/models/CreateVideoCreationTaskResponseBody.js +92 -0
  30. package/dist/models/CreateVideoCreationTaskResponseBody.js.map +1 -0
  31. package/dist/models/EndToEndRealTimeDialogRequest.d.ts +58 -0
  32. package/dist/models/EndToEndRealTimeDialogRequest.js +74 -0
  33. package/dist/models/EndToEndRealTimeDialogRequest.js.map +1 -0
  34. package/dist/models/EndToEndRealTimeDialogResponse.d.ts +19 -0
  35. package/dist/models/EndToEndRealTimeDialogResponse.js +69 -0
  36. package/dist/models/EndToEndRealTimeDialogResponse.js.map +1 -0
  37. package/dist/models/EndToEndRealTimeDialogResponseBody.d.ts +18 -0
  38. package/dist/models/EndToEndRealTimeDialogResponseBody.js +58 -0
  39. package/dist/models/EndToEndRealTimeDialogResponseBody.js.map +1 -0
  40. package/dist/models/GetImageDetectionTaskResultHeaders.d.ts +17 -0
  41. package/dist/models/GetImageDetectionTaskResultHeaders.js +63 -0
  42. package/dist/models/GetImageDetectionTaskResultHeaders.js.map +1 -0
  43. package/dist/models/GetImageDetectionTaskResultRequest.d.ts +26 -0
  44. package/dist/models/GetImageDetectionTaskResultRequest.js +60 -0
  45. package/dist/models/GetImageDetectionTaskResultRequest.js.map +1 -0
  46. package/dist/models/GetImageDetectionTaskResultResponse.d.ts +19 -0
  47. package/dist/models/GetImageDetectionTaskResultResponse.js +69 -0
  48. package/dist/models/GetImageDetectionTaskResultResponse.js.map +1 -0
  49. package/dist/models/GetImageDetectionTaskResultResponseBody.d.ts +129 -0
  50. package/dist/models/GetImageDetectionTaskResultResponseBody.js +179 -0
  51. package/dist/models/GetImageDetectionTaskResultResponseBody.js.map +1 -0
  52. package/dist/models/GetVideoCreationTaskResultHeaders.d.ts +17 -0
  53. package/dist/models/GetVideoCreationTaskResultHeaders.js +63 -0
  54. package/dist/models/GetVideoCreationTaskResultHeaders.js.map +1 -0
  55. package/dist/models/GetVideoCreationTaskResultRequest.d.ts +26 -0
  56. package/dist/models/GetVideoCreationTaskResultRequest.js +60 -0
  57. package/dist/models/GetVideoCreationTaskResultRequest.js.map +1 -0
  58. package/dist/models/GetVideoCreationTaskResultResponse.d.ts +19 -0
  59. package/dist/models/GetVideoCreationTaskResultResponse.js +69 -0
  60. package/dist/models/GetVideoCreationTaskResultResponse.js.map +1 -0
  61. package/dist/models/GetVideoCreationTaskResultResponseBody.d.ts +205 -0
  62. package/dist/models/GetVideoCreationTaskResultResponseBody.js +243 -0
  63. package/dist/models/GetVideoCreationTaskResultResponseBody.js.map +1 -0
  64. package/dist/models/RunDialogAnalysisRequest.d.ts +21 -0
  65. package/dist/models/RunDialogAnalysisRequest.js +58 -0
  66. package/dist/models/RunDialogAnalysisRequest.js.map +1 -0
  67. package/dist/models/RunDialogAnalysisResponse.d.ts +19 -0
  68. package/dist/models/RunDialogAnalysisResponse.js +69 -0
  69. package/dist/models/RunDialogAnalysisResponse.js.map +1 -0
  70. package/dist/models/RunDialogAnalysisResponseBody.d.ts +127 -0
  71. package/dist/models/RunDialogAnalysisResponseBody.js +189 -0
  72. package/dist/models/RunDialogAnalysisResponseBody.js.map +1 -0
  73. package/dist/models/model.d.ts +42 -0
  74. package/dist/models/model.js +91 -6
  75. package/dist/models/model.js.map +1 -1
  76. package/package.json +1 -1
  77. package/src/client.ts +506 -36
  78. package/src/models/CreateImageDetectionTaskHeaders.ts +33 -0
  79. package/src/models/CreateImageDetectionTaskRequest.ts +102 -0
  80. package/src/models/CreateImageDetectionTaskResponse.ts +40 -0
  81. package/src/models/CreateImageDetectionTaskResponseBody.ts +138 -0
  82. package/src/models/CreateQualityCheckTaskRequest.ts +3 -0
  83. package/src/models/CreateVideoCreationTaskHeaders.ts +33 -0
  84. package/src/models/CreateVideoCreationTaskRequest.ts +145 -0
  85. package/src/models/CreateVideoCreationTaskResponse.ts +40 -0
  86. package/src/models/CreateVideoCreationTaskResponseBody.ts +91 -0
  87. package/src/models/EndToEndRealTimeDialogRequest.ts +87 -0
  88. package/src/models/EndToEndRealTimeDialogResponse.ts +40 -0
  89. package/src/models/EndToEndRealTimeDialogResponseBody.ts +31 -0
  90. package/src/models/GetImageDetectionTaskResultHeaders.ts +33 -0
  91. package/src/models/GetImageDetectionTaskResultRequest.ts +41 -0
  92. package/src/models/GetImageDetectionTaskResultResponse.ts +40 -0
  93. package/src/models/GetImageDetectionTaskResultResponseBody.ts +227 -0
  94. package/src/models/GetVideoCreationTaskResultHeaders.ts +33 -0
  95. package/src/models/GetVideoCreationTaskResultRequest.ts +41 -0
  96. package/src/models/GetVideoCreationTaskResultResponse.ts +40 -0
  97. package/src/models/GetVideoCreationTaskResultResponseBody.ts +349 -0
  98. package/src/models/RunDialogAnalysisRequest.ts +34 -0
  99. package/src/models/RunDialogAnalysisResponse.ts +40 -0
  100. package/src/models/RunDialogAnalysisResponseBody.ts +231 -0
  101. package/src/models/model.ts +42 -0
@@ -0,0 +1,349 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetVideoCreationTaskResultResponseBodyDataFileInfo extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * xxx
9
+ */
10
+ fileId?: string;
11
+ /**
12
+ * @example
13
+ * xxx
14
+ */
15
+ fileName?: string;
16
+ /**
17
+ * @example
18
+ * xxx
19
+ */
20
+ fileTraceId?: string;
21
+ /**
22
+ * @example
23
+ * xxx
24
+ */
25
+ ossKey?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ fileId: 'fileId',
29
+ fileName: 'fileName',
30
+ fileTraceId: 'fileTraceId',
31
+ ossKey: 'ossKey',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ fileId: 'string',
38
+ fileName: 'string',
39
+ fileTraceId: 'string',
40
+ ossKey: 'string',
41
+ };
42
+ }
43
+
44
+ validate() {
45
+ super.validate();
46
+ }
47
+
48
+ constructor(map?: { [key: string]: any }) {
49
+ super(map);
50
+ }
51
+ }
52
+
53
+ export class GetVideoCreationTaskResultResponseBodyDataMediaDetectionTaskResultDetectionResultDetectionDetails extends $dara.Model {
54
+ /**
55
+ * @example
56
+ * xxx
57
+ */
58
+ code?: string;
59
+ /**
60
+ * @example
61
+ * 0.8
62
+ */
63
+ confidence?: number;
64
+ pass?: boolean;
65
+ /**
66
+ * @example
67
+ * xxx
68
+ */
69
+ reason?: string;
70
+ static names(): { [key: string]: string } {
71
+ return {
72
+ code: 'code',
73
+ confidence: 'confidence',
74
+ pass: 'pass',
75
+ reason: 'reason',
76
+ };
77
+ }
78
+
79
+ static types(): { [key: string]: any } {
80
+ return {
81
+ code: 'string',
82
+ confidence: 'number',
83
+ pass: 'boolean',
84
+ reason: 'string',
85
+ };
86
+ }
87
+
88
+ validate() {
89
+ super.validate();
90
+ }
91
+
92
+ constructor(map?: { [key: string]: any }) {
93
+ super(map);
94
+ }
95
+ }
96
+
97
+ export class GetVideoCreationTaskResultResponseBodyDataMediaDetectionTaskResultDetectionResult extends $dara.Model {
98
+ detectionDetails?: GetVideoCreationTaskResultResponseBodyDataMediaDetectionTaskResultDetectionResultDetectionDetails[];
99
+ suggestions?: string[];
100
+ static names(): { [key: string]: string } {
101
+ return {
102
+ detectionDetails: 'detectionDetails',
103
+ suggestions: 'suggestions',
104
+ };
105
+ }
106
+
107
+ static types(): { [key: string]: any } {
108
+ return {
109
+ detectionDetails: { 'type': 'array', 'itemType': GetVideoCreationTaskResultResponseBodyDataMediaDetectionTaskResultDetectionResultDetectionDetails },
110
+ suggestions: { 'type': 'array', 'itemType': 'string' },
111
+ };
112
+ }
113
+
114
+ validate() {
115
+ if(Array.isArray(this.detectionDetails)) {
116
+ $dara.Model.validateArray(this.detectionDetails);
117
+ }
118
+ if(Array.isArray(this.suggestions)) {
119
+ $dara.Model.validateArray(this.suggestions);
120
+ }
121
+ super.validate();
122
+ }
123
+
124
+ constructor(map?: { [key: string]: any }) {
125
+ super(map);
126
+ }
127
+ }
128
+
129
+ export class GetVideoCreationTaskResultResponseBodyDataMediaDetectionTaskResultFileInfo extends $dara.Model {
130
+ /**
131
+ * @example
132
+ * xxx
133
+ */
134
+ fileId?: string;
135
+ /**
136
+ * @example
137
+ * xxx
138
+ */
139
+ fileName?: string;
140
+ /**
141
+ * @example
142
+ * xxx
143
+ */
144
+ fileTraceId?: string;
145
+ /**
146
+ * @example
147
+ * xxx
148
+ */
149
+ ossKey?: string;
150
+ static names(): { [key: string]: string } {
151
+ return {
152
+ fileId: 'fileId',
153
+ fileName: 'fileName',
154
+ fileTraceId: 'fileTraceId',
155
+ ossKey: 'ossKey',
156
+ };
157
+ }
158
+
159
+ static types(): { [key: string]: any } {
160
+ return {
161
+ fileId: 'string',
162
+ fileName: 'string',
163
+ fileTraceId: 'string',
164
+ ossKey: 'string',
165
+ };
166
+ }
167
+
168
+ validate() {
169
+ super.validate();
170
+ }
171
+
172
+ constructor(map?: { [key: string]: any }) {
173
+ super(map);
174
+ }
175
+ }
176
+
177
+ export class GetVideoCreationTaskResultResponseBodyDataMediaDetectionTaskResult extends $dara.Model {
178
+ /**
179
+ * @example
180
+ * xxx
181
+ */
182
+ detectionConclusion?: string;
183
+ detectionResult?: GetVideoCreationTaskResultResponseBodyDataMediaDetectionTaskResultDetectionResult;
184
+ fileInfo?: GetVideoCreationTaskResultResponseBodyDataMediaDetectionTaskResultFileInfo;
185
+ /**
186
+ * @example
187
+ * xxx
188
+ */
189
+ taskId?: string;
190
+ /**
191
+ * @example
192
+ * xxx
193
+ */
194
+ taskStatus?: string;
195
+ static names(): { [key: string]: string } {
196
+ return {
197
+ detectionConclusion: 'detectionConclusion',
198
+ detectionResult: 'detectionResult',
199
+ fileInfo: 'fileInfo',
200
+ taskId: 'taskId',
201
+ taskStatus: 'taskStatus',
202
+ };
203
+ }
204
+
205
+ static types(): { [key: string]: any } {
206
+ return {
207
+ detectionConclusion: 'string',
208
+ detectionResult: GetVideoCreationTaskResultResponseBodyDataMediaDetectionTaskResultDetectionResult,
209
+ fileInfo: GetVideoCreationTaskResultResponseBodyDataMediaDetectionTaskResultFileInfo,
210
+ taskId: 'string',
211
+ taskStatus: 'string',
212
+ };
213
+ }
214
+
215
+ validate() {
216
+ if(this.detectionResult && typeof (this.detectionResult as any).validate === 'function') {
217
+ (this.detectionResult as any).validate();
218
+ }
219
+ if(this.fileInfo && typeof (this.fileInfo as any).validate === 'function') {
220
+ (this.fileInfo as any).validate();
221
+ }
222
+ super.validate();
223
+ }
224
+
225
+ constructor(map?: { [key: string]: any }) {
226
+ super(map);
227
+ }
228
+ }
229
+
230
+ export class GetVideoCreationTaskResultResponseBodyData extends $dara.Model {
231
+ /**
232
+ * @example
233
+ * 1
234
+ */
235
+ estimatedWaitTimeInSeconds?: number;
236
+ fileInfo?: GetVideoCreationTaskResultResponseBodyDataFileInfo;
237
+ /**
238
+ * @example
239
+ * xxx
240
+ */
241
+ finishTime?: string;
242
+ mediaDetectionTaskResult?: GetVideoCreationTaskResultResponseBodyDataMediaDetectionTaskResult;
243
+ /**
244
+ * @example
245
+ * xxx
246
+ */
247
+ startTime?: string;
248
+ /**
249
+ * @example
250
+ * xxx
251
+ */
252
+ taskId?: string;
253
+ /**
254
+ * @example
255
+ * xxx
256
+ */
257
+ taskStatus?: string;
258
+ /**
259
+ * @example
260
+ * xxx
261
+ */
262
+ videoUrl?: string;
263
+ static names(): { [key: string]: string } {
264
+ return {
265
+ estimatedWaitTimeInSeconds: 'estimatedWaitTimeInSeconds',
266
+ fileInfo: 'fileInfo',
267
+ finishTime: 'finishTime',
268
+ mediaDetectionTaskResult: 'mediaDetectionTaskResult',
269
+ startTime: 'startTime',
270
+ taskId: 'taskId',
271
+ taskStatus: 'taskStatus',
272
+ videoUrl: 'videoUrl',
273
+ };
274
+ }
275
+
276
+ static types(): { [key: string]: any } {
277
+ return {
278
+ estimatedWaitTimeInSeconds: 'number',
279
+ fileInfo: GetVideoCreationTaskResultResponseBodyDataFileInfo,
280
+ finishTime: 'string',
281
+ mediaDetectionTaskResult: GetVideoCreationTaskResultResponseBodyDataMediaDetectionTaskResult,
282
+ startTime: 'string',
283
+ taskId: 'string',
284
+ taskStatus: 'string',
285
+ videoUrl: 'string',
286
+ };
287
+ }
288
+
289
+ validate() {
290
+ if(this.fileInfo && typeof (this.fileInfo as any).validate === 'function') {
291
+ (this.fileInfo as any).validate();
292
+ }
293
+ if(this.mediaDetectionTaskResult && typeof (this.mediaDetectionTaskResult as any).validate === 'function') {
294
+ (this.mediaDetectionTaskResult as any).validate();
295
+ }
296
+ super.validate();
297
+ }
298
+
299
+ constructor(map?: { [key: string]: any }) {
300
+ super(map);
301
+ }
302
+ }
303
+
304
+ export class GetVideoCreationTaskResultResponseBody extends $dara.Model {
305
+ /**
306
+ * @example
307
+ * 0
308
+ */
309
+ code?: string;
310
+ data?: GetVideoCreationTaskResultResponseBodyData;
311
+ /**
312
+ * @example
313
+ * 成功
314
+ */
315
+ message?: string;
316
+ retryAble?: boolean;
317
+ success?: boolean;
318
+ static names(): { [key: string]: string } {
319
+ return {
320
+ code: 'code',
321
+ data: 'data',
322
+ message: 'message',
323
+ retryAble: 'retryAble',
324
+ success: 'success',
325
+ };
326
+ }
327
+
328
+ static types(): { [key: string]: any } {
329
+ return {
330
+ code: 'string',
331
+ data: GetVideoCreationTaskResultResponseBodyData,
332
+ message: 'string',
333
+ retryAble: 'boolean',
334
+ success: 'boolean',
335
+ };
336
+ }
337
+
338
+ validate() {
339
+ if(this.data && typeof (this.data as any).validate === 'function') {
340
+ (this.data as any).validate();
341
+ }
342
+ super.validate();
343
+ }
344
+
345
+ constructor(map?: { [key: string]: any }) {
346
+ super(map);
347
+ }
348
+ }
349
+
@@ -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 RunDialogAnalysisRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 1759457905S001vejpvd6vej
12
+ */
13
+ sessionId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ sessionId: 'sessionId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ sessionId: '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,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { RunDialogAnalysisResponseBody } from "./RunDialogAnalysisResponseBody";
4
+
5
+
6
+ export class RunDialogAnalysisResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: RunDialogAnalysisResponseBody;
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: RunDialogAnalysisResponseBody,
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,231 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class RunDialogAnalysisResponseBodyDataDialogAnalysisRespListAnalysisRespDialogLabels extends $dara.Model {
6
+ name?: string;
7
+ value?: string;
8
+ static names(): { [key: string]: string } {
9
+ return {
10
+ name: 'name',
11
+ value: 'value',
12
+ };
13
+ }
14
+
15
+ static types(): { [key: string]: any } {
16
+ return {
17
+ name: 'string',
18
+ value: '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 RunDialogAnalysisResponseBodyDataDialogAnalysisRespListAnalysisResp extends $dara.Model {
32
+ dialogExecPlan?: string;
33
+ dialogLabels?: RunDialogAnalysisResponseBodyDataDialogAnalysisRespListAnalysisRespDialogLabels[];
34
+ dialogOpenAnalysis?: { [key: string]: any };
35
+ dialogProcessAnalysis?: { [key: string]: any };
36
+ dialogSop?: string;
37
+ dialogSummary?: string;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ dialogExecPlan: 'dialogExecPlan',
41
+ dialogLabels: 'dialogLabels',
42
+ dialogOpenAnalysis: 'dialogOpenAnalysis',
43
+ dialogProcessAnalysis: 'dialogProcessAnalysis',
44
+ dialogSop: 'dialogSop',
45
+ dialogSummary: 'dialogSummary',
46
+ };
47
+ }
48
+
49
+ static types(): { [key: string]: any } {
50
+ return {
51
+ dialogExecPlan: 'string',
52
+ dialogLabels: { 'type': 'array', 'itemType': RunDialogAnalysisResponseBodyDataDialogAnalysisRespListAnalysisRespDialogLabels },
53
+ dialogOpenAnalysis: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
54
+ dialogProcessAnalysis: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
55
+ dialogSop: 'string',
56
+ dialogSummary: 'string',
57
+ };
58
+ }
59
+
60
+ validate() {
61
+ if(Array.isArray(this.dialogLabels)) {
62
+ $dara.Model.validateArray(this.dialogLabels);
63
+ }
64
+ if(this.dialogOpenAnalysis) {
65
+ $dara.Model.validateMap(this.dialogOpenAnalysis);
66
+ }
67
+ if(this.dialogProcessAnalysis) {
68
+ $dara.Model.validateMap(this.dialogProcessAnalysis);
69
+ }
70
+ super.validate();
71
+ }
72
+
73
+ constructor(map?: { [key: string]: any }) {
74
+ super(map);
75
+ }
76
+ }
77
+
78
+ export class RunDialogAnalysisResponseBodyDataDialogAnalysisRespList extends $dara.Model {
79
+ analysisResp?: RunDialogAnalysisResponseBodyDataDialogAnalysisRespListAnalysisResp;
80
+ failNode?: string[];
81
+ /**
82
+ * @example
83
+ * 2024-04-24 11:54:34
84
+ */
85
+ gmtCreate?: string;
86
+ /**
87
+ * @example
88
+ * 1759457905S001vejpvd6vej
89
+ */
90
+ sessionId?: string;
91
+ /**
92
+ * @example
93
+ * success
94
+ */
95
+ status?: string;
96
+ static names(): { [key: string]: string } {
97
+ return {
98
+ analysisResp: 'analysisResp',
99
+ failNode: 'failNode',
100
+ gmtCreate: 'gmtCreate',
101
+ sessionId: 'sessionId',
102
+ status: 'status',
103
+ };
104
+ }
105
+
106
+ static types(): { [key: string]: any } {
107
+ return {
108
+ analysisResp: RunDialogAnalysisResponseBodyDataDialogAnalysisRespListAnalysisResp,
109
+ failNode: { 'type': 'array', 'itemType': 'string' },
110
+ gmtCreate: 'string',
111
+ sessionId: 'string',
112
+ status: 'string',
113
+ };
114
+ }
115
+
116
+ validate() {
117
+ if(this.analysisResp && typeof (this.analysisResp as any).validate === 'function') {
118
+ (this.analysisResp as any).validate();
119
+ }
120
+ if(Array.isArray(this.failNode)) {
121
+ $dara.Model.validateArray(this.failNode);
122
+ }
123
+ super.validate();
124
+ }
125
+
126
+ constructor(map?: { [key: string]: any }) {
127
+ super(map);
128
+ }
129
+ }
130
+
131
+ export class RunDialogAnalysisResponseBodyData extends $dara.Model {
132
+ dialogAnalysisRespList?: RunDialogAnalysisResponseBodyDataDialogAnalysisRespList[];
133
+ static names(): { [key: string]: string } {
134
+ return {
135
+ dialogAnalysisRespList: 'dialogAnalysisRespList',
136
+ };
137
+ }
138
+
139
+ static types(): { [key: string]: any } {
140
+ return {
141
+ dialogAnalysisRespList: { 'type': 'array', 'itemType': RunDialogAnalysisResponseBodyDataDialogAnalysisRespList },
142
+ };
143
+ }
144
+
145
+ validate() {
146
+ if(Array.isArray(this.dialogAnalysisRespList)) {
147
+ $dara.Model.validateArray(this.dialogAnalysisRespList);
148
+ }
149
+ super.validate();
150
+ }
151
+
152
+ constructor(map?: { [key: string]: any }) {
153
+ super(map);
154
+ }
155
+ }
156
+
157
+ export class RunDialogAnalysisResponseBody extends $dara.Model {
158
+ /**
159
+ * @example
160
+ * null
161
+ */
162
+ cost?: number;
163
+ data?: RunDialogAnalysisResponseBodyData;
164
+ /**
165
+ * @example
166
+ * null
167
+ */
168
+ dataType?: string;
169
+ /**
170
+ * @example
171
+ * 0
172
+ */
173
+ errCode?: string;
174
+ /**
175
+ * @example
176
+ * ok
177
+ */
178
+ message?: string;
179
+ /**
180
+ * @example
181
+ * 02CD4454-3F2C-57D0-9060-68DEAA1F6993
182
+ */
183
+ requestId?: string;
184
+ /**
185
+ * @example
186
+ * true
187
+ */
188
+ success?: boolean;
189
+ /**
190
+ * @example
191
+ * 2024-04-24 11:54:34
192
+ */
193
+ time?: string;
194
+ static names(): { [key: string]: string } {
195
+ return {
196
+ cost: 'cost',
197
+ data: 'data',
198
+ dataType: 'dataType',
199
+ errCode: 'errCode',
200
+ message: 'message',
201
+ requestId: 'requestId',
202
+ success: 'success',
203
+ time: 'time',
204
+ };
205
+ }
206
+
207
+ static types(): { [key: string]: any } {
208
+ return {
209
+ cost: 'number',
210
+ data: RunDialogAnalysisResponseBodyData,
211
+ dataType: 'string',
212
+ errCode: 'string',
213
+ message: 'string',
214
+ requestId: 'string',
215
+ success: 'boolean',
216
+ time: 'string',
217
+ };
218
+ }
219
+
220
+ validate() {
221
+ if(this.data && typeof (this.data as any).validate === 'function') {
222
+ (this.data as any).validate();
223
+ }
224
+ super.validate();
225
+ }
226
+
227
+ constructor(map?: { [key: string]: any }) {
228
+ super(map);
229
+ }
230
+ }
231
+