@alicloud/dianjin20240628 1.15.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 (89) hide show
  1. package/dist/client.d.ts +83 -1
  2. package/dist/client.js +366 -30
  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/model.d.ts +35 -0
  65. package/dist/models/model.js +77 -6
  66. package/dist/models/model.js.map +1 -1
  67. package/package.json +1 -1
  68. package/src/client.ts +415 -36
  69. package/src/models/CreateImageDetectionTaskHeaders.ts +33 -0
  70. package/src/models/CreateImageDetectionTaskRequest.ts +102 -0
  71. package/src/models/CreateImageDetectionTaskResponse.ts +40 -0
  72. package/src/models/CreateImageDetectionTaskResponseBody.ts +138 -0
  73. package/src/models/CreateQualityCheckTaskRequest.ts +3 -0
  74. package/src/models/CreateVideoCreationTaskHeaders.ts +33 -0
  75. package/src/models/CreateVideoCreationTaskRequest.ts +145 -0
  76. package/src/models/CreateVideoCreationTaskResponse.ts +40 -0
  77. package/src/models/CreateVideoCreationTaskResponseBody.ts +91 -0
  78. package/src/models/EndToEndRealTimeDialogRequest.ts +87 -0
  79. package/src/models/EndToEndRealTimeDialogResponse.ts +40 -0
  80. package/src/models/EndToEndRealTimeDialogResponseBody.ts +31 -0
  81. package/src/models/GetImageDetectionTaskResultHeaders.ts +33 -0
  82. package/src/models/GetImageDetectionTaskResultRequest.ts +41 -0
  83. package/src/models/GetImageDetectionTaskResultResponse.ts +40 -0
  84. package/src/models/GetImageDetectionTaskResultResponseBody.ts +227 -0
  85. package/src/models/GetVideoCreationTaskResultHeaders.ts +33 -0
  86. package/src/models/GetVideoCreationTaskResultRequest.ts +41 -0
  87. package/src/models/GetVideoCreationTaskResultResponse.ts +40 -0
  88. package/src/models/GetVideoCreationTaskResultResponseBody.ts +349 -0
  89. package/src/models/model.ts +35 -0
@@ -0,0 +1,138 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateImageDetectionTaskResponseBodyDataFileInfo extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1
9
+ */
10
+ fileId?: string;
11
+ /**
12
+ * @example
13
+ * 1
14
+ */
15
+ fileName?: string;
16
+ /**
17
+ * @example
18
+ * 1
19
+ */
20
+ fileTraceId?: string;
21
+ /**
22
+ * @example
23
+ * 1
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 CreateImageDetectionTaskResponseBodyData extends $dara.Model {
54
+ fileInfo?: CreateImageDetectionTaskResponseBodyDataFileInfo;
55
+ /**
56
+ * @example
57
+ * a1112229
58
+ */
59
+ requestId?: string;
60
+ /**
61
+ * @example
62
+ * w4paqoezm2
63
+ */
64
+ taskId?: string;
65
+ static names(): { [key: string]: string } {
66
+ return {
67
+ fileInfo: 'fileInfo',
68
+ requestId: 'requestId',
69
+ taskId: 'taskId',
70
+ };
71
+ }
72
+
73
+ static types(): { [key: string]: any } {
74
+ return {
75
+ fileInfo: CreateImageDetectionTaskResponseBodyDataFileInfo,
76
+ requestId: 'string',
77
+ taskId: 'string',
78
+ };
79
+ }
80
+
81
+ validate() {
82
+ if(this.fileInfo && typeof (this.fileInfo as any).validate === 'function') {
83
+ (this.fileInfo as any).validate();
84
+ }
85
+ super.validate();
86
+ }
87
+
88
+ constructor(map?: { [key: string]: any }) {
89
+ super(map);
90
+ }
91
+ }
92
+
93
+ export class CreateImageDetectionTaskResponseBody extends $dara.Model {
94
+ /**
95
+ * @example
96
+ * 0
97
+ */
98
+ code?: string;
99
+ data?: CreateImageDetectionTaskResponseBodyData;
100
+ /**
101
+ * @example
102
+ * 成功
103
+ */
104
+ message?: string;
105
+ retryAble?: boolean;
106
+ success?: boolean;
107
+ static names(): { [key: string]: string } {
108
+ return {
109
+ code: 'code',
110
+ data: 'data',
111
+ message: 'message',
112
+ retryAble: 'retryAble',
113
+ success: 'success',
114
+ };
115
+ }
116
+
117
+ static types(): { [key: string]: any } {
118
+ return {
119
+ code: 'string',
120
+ data: CreateImageDetectionTaskResponseBodyData,
121
+ message: 'string',
122
+ retryAble: 'boolean',
123
+ success: 'boolean',
124
+ };
125
+ }
126
+
127
+ validate() {
128
+ if(this.data && typeof (this.data as any).validate === 'function') {
129
+ (this.data as any).validate();
130
+ }
131
+ super.validate();
132
+ }
133
+
134
+ constructor(map?: { [key: string]: any }) {
135
+ super(map);
136
+ }
137
+ }
138
+
@@ -179,6 +179,7 @@ export class CreateQualityCheckTaskRequest extends $dara.Model {
179
179
  * 0FC6636E-380A-5369-AE01-D1C15BB9B254
180
180
  */
181
181
  requestId?: string;
182
+ sceneCode?: string;
182
183
  /**
183
184
  * @remarks
184
185
  * This parameter is required.
@@ -194,6 +195,7 @@ export class CreateQualityCheckTaskRequest extends $dara.Model {
194
195
  metaData: 'metaData',
195
196
  qualityGroup: 'qualityGroup',
196
197
  requestId: 'requestId',
198
+ sceneCode: 'sceneCode',
197
199
  type: 'type',
198
200
  };
199
201
  }
@@ -205,6 +207,7 @@ export class CreateQualityCheckTaskRequest extends $dara.Model {
205
207
  metaData: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
206
208
  qualityGroup: { 'type': 'array', 'itemType': 'string' },
207
209
  requestId: 'string',
210
+ sceneCode: 'string',
208
211
  type: 'string',
209
212
  };
210
213
  }
@@ -0,0 +1,33 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateVideoCreationTaskHeaders extends $dara.Model {
6
+ commonHeaders?: { [key: string]: string };
7
+ xLoadTest?: boolean;
8
+ static names(): { [key: string]: string } {
9
+ return {
10
+ commonHeaders: 'commonHeaders',
11
+ xLoadTest: 'X-Load-Test',
12
+ };
13
+ }
14
+
15
+ static types(): { [key: string]: any } {
16
+ return {
17
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
18
+ xLoadTest: 'boolean',
19
+ };
20
+ }
21
+
22
+ validate() {
23
+ if(this.commonHeaders) {
24
+ $dara.Model.validateMap(this.commonHeaders);
25
+ }
26
+ super.validate();
27
+ }
28
+
29
+ constructor(map?: { [key: string]: any }) {
30
+ super(map);
31
+ }
32
+ }
33
+
@@ -0,0 +1,145 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateVideoCreationTaskRequestCreationInstruction extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * xxx
9
+ */
10
+ instruction?: string;
11
+ /**
12
+ * @example
13
+ * xxx
14
+ */
15
+ templateId?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ instruction: 'instruction',
19
+ templateId: 'templateId',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ instruction: 'string',
26
+ templateId: '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 CreateVideoCreationTaskRequestFileInfo extends $dara.Model {
40
+ /**
41
+ * @example
42
+ * xxx
43
+ */
44
+ fileId?: string;
45
+ /**
46
+ * @example
47
+ * xxx
48
+ */
49
+ fileName?: string;
50
+ /**
51
+ * @example
52
+ * xxx
53
+ */
54
+ fileTraceId?: string;
55
+ /**
56
+ * @example
57
+ * xxx
58
+ */
59
+ ossKey?: string;
60
+ static names(): { [key: string]: string } {
61
+ return {
62
+ fileId: 'fileId',
63
+ fileName: 'fileName',
64
+ fileTraceId: 'fileTraceId',
65
+ ossKey: 'ossKey',
66
+ };
67
+ }
68
+
69
+ static types(): { [key: string]: any } {
70
+ return {
71
+ fileId: 'string',
72
+ fileName: 'string',
73
+ fileTraceId: 'string',
74
+ ossKey: 'string',
75
+ };
76
+ }
77
+
78
+ validate() {
79
+ super.validate();
80
+ }
81
+
82
+ constructor(map?: { [key: string]: any }) {
83
+ super(map);
84
+ }
85
+ }
86
+
87
+ export class CreateVideoCreationTaskRequest extends $dara.Model {
88
+ creationInstruction?: CreateVideoCreationTaskRequestCreationInstruction;
89
+ fileInfo?: CreateVideoCreationTaskRequestFileInfo;
90
+ /**
91
+ * @remarks
92
+ * This parameter is required.
93
+ *
94
+ * @example
95
+ * 111
96
+ */
97
+ imageDetectionTaskId?: string;
98
+ /**
99
+ * @remarks
100
+ * This parameter is required.
101
+ *
102
+ * @example
103
+ * xxx
104
+ */
105
+ requestId?: string;
106
+ /**
107
+ * @example
108
+ * 1
109
+ */
110
+ userId?: string;
111
+ static names(): { [key: string]: string } {
112
+ return {
113
+ creationInstruction: 'creationInstruction',
114
+ fileInfo: 'fileInfo',
115
+ imageDetectionTaskId: 'imageDetectionTaskId',
116
+ requestId: 'requestId',
117
+ userId: 'userId',
118
+ };
119
+ }
120
+
121
+ static types(): { [key: string]: any } {
122
+ return {
123
+ creationInstruction: CreateVideoCreationTaskRequestCreationInstruction,
124
+ fileInfo: CreateVideoCreationTaskRequestFileInfo,
125
+ imageDetectionTaskId: 'string',
126
+ requestId: 'string',
127
+ userId: 'string',
128
+ };
129
+ }
130
+
131
+ validate() {
132
+ if(this.creationInstruction && typeof (this.creationInstruction as any).validate === 'function') {
133
+ (this.creationInstruction as any).validate();
134
+ }
135
+ if(this.fileInfo && typeof (this.fileInfo as any).validate === 'function') {
136
+ (this.fileInfo as any).validate();
137
+ }
138
+ super.validate();
139
+ }
140
+
141
+ constructor(map?: { [key: string]: any }) {
142
+ super(map);
143
+ }
144
+ }
145
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateVideoCreationTaskResponseBody } from "./CreateVideoCreationTaskResponseBody";
4
+
5
+
6
+ export class CreateVideoCreationTaskResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateVideoCreationTaskResponseBody;
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: CreateVideoCreationTaskResponseBody,
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,91 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateVideoCreationTaskResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1
9
+ */
10
+ estimatedWaitTimeInSeconds?: number;
11
+ /**
12
+ * @example
13
+ * xxx
14
+ */
15
+ requestId?: string;
16
+ /**
17
+ * @example
18
+ * xxx
19
+ */
20
+ taskId?: string;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ estimatedWaitTimeInSeconds: 'estimatedWaitTimeInSeconds',
24
+ requestId: 'requestId',
25
+ taskId: 'taskId',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ estimatedWaitTimeInSeconds: 'number',
32
+ requestId: 'string',
33
+ taskId: 'string',
34
+ };
35
+ }
36
+
37
+ validate() {
38
+ super.validate();
39
+ }
40
+
41
+ constructor(map?: { [key: string]: any }) {
42
+ super(map);
43
+ }
44
+ }
45
+
46
+ export class CreateVideoCreationTaskResponseBody extends $dara.Model {
47
+ /**
48
+ * @example
49
+ * 0
50
+ */
51
+ code?: string;
52
+ data?: CreateVideoCreationTaskResponseBodyData;
53
+ /**
54
+ * @example
55
+ * 成功
56
+ */
57
+ message?: string;
58
+ retryAble?: boolean;
59
+ success?: boolean;
60
+ static names(): { [key: string]: string } {
61
+ return {
62
+ code: 'code',
63
+ data: 'data',
64
+ message: 'message',
65
+ retryAble: 'retryAble',
66
+ success: 'success',
67
+ };
68
+ }
69
+
70
+ static types(): { [key: string]: any } {
71
+ return {
72
+ code: 'string',
73
+ data: CreateVideoCreationTaskResponseBodyData,
74
+ message: 'string',
75
+ retryAble: 'boolean',
76
+ success: 'boolean',
77
+ };
78
+ }
79
+
80
+ validate() {
81
+ if(this.data && typeof (this.data as any).validate === 'function') {
82
+ (this.data as any).validate();
83
+ }
84
+ super.validate();
85
+ }
86
+
87
+ constructor(map?: { [key: string]: any }) {
88
+ super(map);
89
+ }
90
+ }
91
+
@@ -0,0 +1,87 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class EndToEndRealTimeDialogRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * nls-base
9
+ */
10
+ asrModelId?: string;
11
+ /**
12
+ * @example
13
+ * pcm
14
+ */
15
+ inputFormat?: string;
16
+ /**
17
+ * @example
18
+ * wav
19
+ */
20
+ outputFormat?: string;
21
+ /**
22
+ * @example
23
+ * 0
24
+ */
25
+ pitchRate?: number;
26
+ /**
27
+ * @example
28
+ * SAMPLE_RATE_16K
29
+ */
30
+ sampleRate?: string;
31
+ /**
32
+ * @example
33
+ * 0
34
+ */
35
+ speechRate?: number;
36
+ /**
37
+ * @example
38
+ * nls-base
39
+ */
40
+ ttsModelId?: string;
41
+ /**
42
+ * @example
43
+ * longxiaochun_v2
44
+ */
45
+ voiceCode?: string;
46
+ /**
47
+ * @example
48
+ * 50
49
+ */
50
+ volume?: number;
51
+ static names(): { [key: string]: string } {
52
+ return {
53
+ asrModelId: 'asrModelId',
54
+ inputFormat: 'inputFormat',
55
+ outputFormat: 'outputFormat',
56
+ pitchRate: 'pitchRate',
57
+ sampleRate: 'sampleRate',
58
+ speechRate: 'speechRate',
59
+ ttsModelId: 'ttsModelId',
60
+ voiceCode: 'voiceCode',
61
+ volume: 'volume',
62
+ };
63
+ }
64
+
65
+ static types(): { [key: string]: any } {
66
+ return {
67
+ asrModelId: 'string',
68
+ inputFormat: 'string',
69
+ outputFormat: 'string',
70
+ pitchRate: 'number',
71
+ sampleRate: 'string',
72
+ speechRate: 'number',
73
+ ttsModelId: 'string',
74
+ voiceCode: 'string',
75
+ volume: 'number',
76
+ };
77
+ }
78
+
79
+ validate() {
80
+ super.validate();
81
+ }
82
+
83
+ constructor(map?: { [key: string]: any }) {
84
+ super(map);
85
+ }
86
+ }
87
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { EndToEndRealTimeDialogResponseBody } from "./EndToEndRealTimeDialogResponseBody";
4
+
5
+
6
+ export class EndToEndRealTimeDialogResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: EndToEndRealTimeDialogResponseBody;
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: EndToEndRealTimeDialogResponseBody,
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,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class EndToEndRealTimeDialogResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1C98B466-D6E0-5252-A60B-F345CBB33DDB
9
+ */
10
+ requestId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ requestId: 'requestId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ requestId: '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,33 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetImageDetectionTaskResultHeaders extends $dara.Model {
6
+ commonHeaders?: { [key: string]: string };
7
+ xLoadTest?: boolean;
8
+ static names(): { [key: string]: string } {
9
+ return {
10
+ commonHeaders: 'commonHeaders',
11
+ xLoadTest: 'X-Load-Test',
12
+ };
13
+ }
14
+
15
+ static types(): { [key: string]: any } {
16
+ return {
17
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
18
+ xLoadTest: 'boolean',
19
+ };
20
+ }
21
+
22
+ validate() {
23
+ if(this.commonHeaders) {
24
+ $dara.Model.validateMap(this.commonHeaders);
25
+ }
26
+ super.validate();
27
+ }
28
+
29
+ constructor(map?: { [key: string]: any }) {
30
+ super(map);
31
+ }
32
+ }
33
+
@@ -0,0 +1,41 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetImageDetectionTaskResultRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * xxx
12
+ */
13
+ taskId?: string;
14
+ /**
15
+ * @example
16
+ * 1
17
+ */
18
+ userId?: string;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ taskId: 'taskId',
22
+ userId: 'userId',
23
+ };
24
+ }
25
+
26
+ static types(): { [key: string]: any } {
27
+ return {
28
+ taskId: 'string',
29
+ userId: 'string',
30
+ };
31
+ }
32
+
33
+ validate() {
34
+ super.validate();
35
+ }
36
+
37
+ constructor(map?: { [key: string]: any }) {
38
+ super(map);
39
+ }
40
+ }
41
+