@alicloud/yike20260319 1.0.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 (83) hide show
  1. package/LICENSE +13 -0
  2. package/README.md +25 -0
  3. package/dist/client.d.ts +101 -0
  4. package/dist/client.js +353 -0
  5. package/dist/client.js.map +1 -0
  6. package/dist/models/BatchGetYikeAiappJobRequest.d.ts +18 -0
  7. package/dist/models/BatchGetYikeAiappJobRequest.js +58 -0
  8. package/dist/models/BatchGetYikeAiappJobRequest.js.map +1 -0
  9. package/dist/models/BatchGetYikeAiappJobResponse.d.ts +19 -0
  10. package/dist/models/BatchGetYikeAiappJobResponse.js +69 -0
  11. package/dist/models/BatchGetYikeAiappJobResponse.js.map +1 -0
  12. package/dist/models/BatchGetYikeAiappJobResponseBody.d.ts +155 -0
  13. package/dist/models/BatchGetYikeAiappJobResponseBody.js +198 -0
  14. package/dist/models/BatchGetYikeAiappJobResponseBody.js.map +1 -0
  15. package/dist/models/CreateYikeAssetUploadRequest.d.ts +26 -0
  16. package/dist/models/CreateYikeAssetUploadRequest.js +60 -0
  17. package/dist/models/CreateYikeAssetUploadRequest.js.map +1 -0
  18. package/dist/models/CreateYikeAssetUploadResponse.d.ts +19 -0
  19. package/dist/models/CreateYikeAssetUploadResponse.js +69 -0
  20. package/dist/models/CreateYikeAssetUploadResponse.js.map +1 -0
  21. package/dist/models/CreateYikeAssetUploadResponseBody.d.ts +33 -0
  22. package/dist/models/CreateYikeAssetUploadResponseBody.js +64 -0
  23. package/dist/models/CreateYikeAssetUploadResponseBody.js.map +1 -0
  24. package/dist/models/GetYikeAiappJobRequest.d.ts +18 -0
  25. package/dist/models/GetYikeAiappJobRequest.js +58 -0
  26. package/dist/models/GetYikeAiappJobRequest.js.map +1 -0
  27. package/dist/models/GetYikeAiappJobResponse.d.ts +19 -0
  28. package/dist/models/GetYikeAiappJobResponse.js +69 -0
  29. package/dist/models/GetYikeAiappJobResponse.js.map +1 -0
  30. package/dist/models/GetYikeAiappJobResponseBody.d.ts +140 -0
  31. package/dist/models/GetYikeAiappJobResponseBody.js +174 -0
  32. package/dist/models/GetYikeAiappJobResponseBody.js.map +1 -0
  33. package/dist/models/GetYikeStoryboardJobRequest.d.ts +18 -0
  34. package/dist/models/GetYikeStoryboardJobRequest.js +58 -0
  35. package/dist/models/GetYikeStoryboardJobRequest.js.map +1 -0
  36. package/dist/models/GetYikeStoryboardJobResponse.d.ts +19 -0
  37. package/dist/models/GetYikeStoryboardJobResponse.js +69 -0
  38. package/dist/models/GetYikeStoryboardJobResponse.js.map +1 -0
  39. package/dist/models/GetYikeStoryboardJobResponseBody.d.ts +141 -0
  40. package/dist/models/GetYikeStoryboardJobResponseBody.js +140 -0
  41. package/dist/models/GetYikeStoryboardJobResponseBody.js.map +1 -0
  42. package/dist/models/SubmitYikeAiappJobRequest.d.ts +36 -0
  43. package/dist/models/SubmitYikeAiappJobRequest.js +64 -0
  44. package/dist/models/SubmitYikeAiappJobRequest.js.map +1 -0
  45. package/dist/models/SubmitYikeAiappJobResponse.d.ts +19 -0
  46. package/dist/models/SubmitYikeAiappJobResponse.js +69 -0
  47. package/dist/models/SubmitYikeAiappJobResponse.js.map +1 -0
  48. package/dist/models/SubmitYikeAiappJobResponseBody.d.ts +23 -0
  49. package/dist/models/SubmitYikeAiappJobResponseBody.js +60 -0
  50. package/dist/models/SubmitYikeAiappJobResponseBody.js.map +1 -0
  51. package/dist/models/SubmitYikeStoryboardJobRequest.d.ts +87 -0
  52. package/dist/models/SubmitYikeStoryboardJobRequest.js +84 -0
  53. package/dist/models/SubmitYikeStoryboardJobRequest.js.map +1 -0
  54. package/dist/models/SubmitYikeStoryboardJobResponse.d.ts +19 -0
  55. package/dist/models/SubmitYikeStoryboardJobResponse.js +69 -0
  56. package/dist/models/SubmitYikeStoryboardJobResponse.js.map +1 -0
  57. package/dist/models/SubmitYikeStoryboardJobResponseBody.d.ts +23 -0
  58. package/dist/models/SubmitYikeStoryboardJobResponseBody.js +60 -0
  59. package/dist/models/SubmitYikeStoryboardJobResponseBody.js.map +1 -0
  60. package/dist/models/model.d.ts +29 -0
  61. package/dist/models/model.js +62 -0
  62. package/dist/models/model.js.map +1 -0
  63. package/package.json +29 -0
  64. package/src/client.ts +354 -0
  65. package/src/models/BatchGetYikeAiappJobRequest.ts +31 -0
  66. package/src/models/BatchGetYikeAiappJobResponse.ts +40 -0
  67. package/src/models/BatchGetYikeAiappJobResponseBody.ts +261 -0
  68. package/src/models/CreateYikeAssetUploadRequest.ts +41 -0
  69. package/src/models/CreateYikeAssetUploadResponse.ts +40 -0
  70. package/src/models/CreateYikeAssetUploadResponseBody.ts +52 -0
  71. package/src/models/GetYikeAiappJobRequest.ts +31 -0
  72. package/src/models/GetYikeAiappJobResponse.ts +40 -0
  73. package/src/models/GetYikeAiappJobResponseBody.ts +233 -0
  74. package/src/models/GetYikeStoryboardJobRequest.ts +31 -0
  75. package/src/models/GetYikeStoryboardJobResponse.ts +40 -0
  76. package/src/models/GetYikeStoryboardJobResponseBody.ts +218 -0
  77. package/src/models/SubmitYikeAiappJobRequest.ts +55 -0
  78. package/src/models/SubmitYikeAiappJobResponse.ts +40 -0
  79. package/src/models/SubmitYikeAiappJobResponseBody.ts +38 -0
  80. package/src/models/SubmitYikeStoryboardJobRequest.ts +126 -0
  81. package/src/models/SubmitYikeStoryboardJobResponse.ts +40 -0
  82. package/src/models/SubmitYikeStoryboardJobResponseBody.ts +38 -0
  83. package/src/models/model.ts +29 -0
@@ -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 CreateYikeAssetUploadRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * mp4
12
+ */
13
+ fileExt?: string;
14
+ /**
15
+ * @example
16
+ * StoryboardInput
17
+ */
18
+ fileType?: string;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ fileExt: 'FileExt',
22
+ fileType: 'FileType',
23
+ };
24
+ }
25
+
26
+ static types(): { [key: string]: any } {
27
+ return {
28
+ fileExt: 'string',
29
+ fileType: 'string',
30
+ };
31
+ }
32
+
33
+ validate() {
34
+ super.validate();
35
+ }
36
+
37
+ constructor(map?: { [key: string]: any }) {
38
+ super(map);
39
+ }
40
+ }
41
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateYikeAssetUploadResponseBody } from "./CreateYikeAssetUploadResponseBody";
4
+
5
+
6
+ export class CreateYikeAssetUploadResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateYikeAssetUploadResponseBody;
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: CreateYikeAssetUploadResponseBody,
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,52 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateYikeAssetUploadResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * http://outin-***.oss-cn-shanghai.aliyuncs.com/stream/48555e8b-181dd5a8c07/48555e8b-181dd5a8c07.mp4
9
+ */
10
+ fileURL?: string;
11
+ /**
12
+ * @example
13
+ * ****63E8B7C7-4812-46AD-0FA56029AC86****
14
+ */
15
+ requestId?: string;
16
+ /**
17
+ * @example
18
+ * eyJTZWN1cml0a2VuIjoiQ0FJU3p3TjF****
19
+ */
20
+ uploadAddress?: string;
21
+ /**
22
+ * @example
23
+ * eyJFbmRwb2ludCI6Imm****
24
+ */
25
+ uploadAuth?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ fileURL: 'FileURL',
29
+ requestId: 'RequestId',
30
+ uploadAddress: 'UploadAddress',
31
+ uploadAuth: 'UploadAuth',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ fileURL: 'string',
38
+ requestId: 'string',
39
+ uploadAddress: 'string',
40
+ uploadAuth: 'string',
41
+ };
42
+ }
43
+
44
+ validate() {
45
+ super.validate();
46
+ }
47
+
48
+ constructor(map?: { [key: string]: any }) {
49
+ super(map);
50
+ }
51
+ }
52
+
@@ -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 GetYikeAIAppJobRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * ****20b48fb04483915d4f2cd8ac****
9
+ */
10
+ jobId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ jobId: 'JobId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ jobId: '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 { GetYikeAIAppJobResponseBody } from "./GetYikeAiappJobResponseBody";
4
+
5
+
6
+ export class GetYikeAIAppJobResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetYikeAIAppJobResponseBody;
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: GetYikeAIAppJobResponseBody,
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,233 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetYikeAIAppJobResponseBodyResultAudioResult extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1a7852b032c371f0b64fe6f6c74b****
9
+ */
10
+ mediaId?: string;
11
+ /**
12
+ * @example
13
+ * http://outin-***.oss-cn-shanghai.aliyuncs.com/stream/48555e8b-181dd5a8c07/48555e8b-181dd5a8c07.mp3
14
+ */
15
+ outputUrl?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ mediaId: 'MediaId',
19
+ outputUrl: 'OutputUrl',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ mediaId: 'string',
26
+ outputUrl: '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 GetYikeAIAppJobResponseBodyResultImageResult extends $dara.Model {
40
+ /**
41
+ * @example
42
+ * 1a7852b032c371f0b64fe6f6c74b****
43
+ */
44
+ mediaId?: string;
45
+ /**
46
+ * @example
47
+ * http://outin-***.oss-cn-shanghai.aliyuncs.com/stream/48555e8b-181dd5a8c07/48555e8b-181dd5a8c07.png
48
+ */
49
+ outputUrl?: string;
50
+ static names(): { [key: string]: string } {
51
+ return {
52
+ mediaId: 'MediaId',
53
+ outputUrl: 'OutputUrl',
54
+ };
55
+ }
56
+
57
+ static types(): { [key: string]: any } {
58
+ return {
59
+ mediaId: 'string',
60
+ outputUrl: 'string',
61
+ };
62
+ }
63
+
64
+ validate() {
65
+ super.validate();
66
+ }
67
+
68
+ constructor(map?: { [key: string]: any }) {
69
+ super(map);
70
+ }
71
+ }
72
+
73
+ export class GetYikeAIAppJobResponseBodyResultVideoResult extends $dara.Model {
74
+ /**
75
+ * @example
76
+ * 1a7852b032c371f0b64fe6f6c74b****
77
+ */
78
+ mediaId?: string;
79
+ /**
80
+ * @example
81
+ * http://outin-***.oss-cn-shanghai.aliyuncs.com/stream/48555e8b-181dd5a8c07/48555e8b-181dd5a8c07.mp4
82
+ */
83
+ outputUrl?: string;
84
+ static names(): { [key: string]: string } {
85
+ return {
86
+ mediaId: 'MediaId',
87
+ outputUrl: 'OutputUrl',
88
+ };
89
+ }
90
+
91
+ static types(): { [key: string]: any } {
92
+ return {
93
+ mediaId: 'string',
94
+ outputUrl: 'string',
95
+ };
96
+ }
97
+
98
+ validate() {
99
+ super.validate();
100
+ }
101
+
102
+ constructor(map?: { [key: string]: any }) {
103
+ super(map);
104
+ }
105
+ }
106
+
107
+ export class GetYikeAIAppJobResponseBodyResult extends $dara.Model {
108
+ audioResult?: GetYikeAIAppJobResponseBodyResultAudioResult[];
109
+ imageResult?: GetYikeAIAppJobResponseBodyResultImageResult[];
110
+ videoResult?: GetYikeAIAppJobResponseBodyResultVideoResult[];
111
+ static names(): { [key: string]: string } {
112
+ return {
113
+ audioResult: 'AudioResult',
114
+ imageResult: 'ImageResult',
115
+ videoResult: 'VideoResult',
116
+ };
117
+ }
118
+
119
+ static types(): { [key: string]: any } {
120
+ return {
121
+ audioResult: { 'type': 'array', 'itemType': GetYikeAIAppJobResponseBodyResultAudioResult },
122
+ imageResult: { 'type': 'array', 'itemType': GetYikeAIAppJobResponseBodyResultImageResult },
123
+ videoResult: { 'type': 'array', 'itemType': GetYikeAIAppJobResponseBodyResultVideoResult },
124
+ };
125
+ }
126
+
127
+ validate() {
128
+ if(Array.isArray(this.audioResult)) {
129
+ $dara.Model.validateArray(this.audioResult);
130
+ }
131
+ if(Array.isArray(this.imageResult)) {
132
+ $dara.Model.validateArray(this.imageResult);
133
+ }
134
+ if(Array.isArray(this.videoResult)) {
135
+ $dara.Model.validateArray(this.videoResult);
136
+ }
137
+ super.validate();
138
+ }
139
+
140
+ constructor(map?: { [key: string]: any }) {
141
+ super(map);
142
+ }
143
+ }
144
+
145
+ export class GetYikeAIAppJobResponseBody extends $dara.Model {
146
+ /**
147
+ * @example
148
+ * app-****
149
+ */
150
+ appId?: string;
151
+ /**
152
+ * @example
153
+ * {\\"LoadImage.1.TargetImage\\":\\"MediaId1\\"}
154
+ */
155
+ appParams?: string;
156
+ /**
157
+ * @example
158
+ * 2026-02-06T18:53:18.809+08:00
159
+ */
160
+ executionFinishTime?: string;
161
+ /**
162
+ * @example
163
+ * 2026-02-06T18:53:34.001+08:00
164
+ */
165
+ executionStartTime?: string;
166
+ /**
167
+ * @example
168
+ * folder-u3ilwhoc36ux9a****
169
+ */
170
+ folderId?: string;
171
+ /**
172
+ * @example
173
+ * ****cdb3e74639973036bc84****
174
+ */
175
+ jobId?: string;
176
+ /**
177
+ * @example
178
+ * ****cdb3e74639973036bc84****
179
+ */
180
+ productionId?: string;
181
+ /**
182
+ * @example
183
+ * 0622C702-41BE-467E-AF2E-883D4517962E
184
+ */
185
+ requestId?: string;
186
+ result?: GetYikeAIAppJobResponseBodyResult;
187
+ /**
188
+ * @example
189
+ * Created
190
+ */
191
+ status?: string;
192
+ static names(): { [key: string]: string } {
193
+ return {
194
+ appId: 'AppId',
195
+ appParams: 'AppParams',
196
+ executionFinishTime: 'ExecutionFinishTime',
197
+ executionStartTime: 'ExecutionStartTime',
198
+ folderId: 'FolderId',
199
+ jobId: 'JobId',
200
+ productionId: 'ProductionId',
201
+ requestId: 'RequestId',
202
+ result: 'Result',
203
+ status: 'Status',
204
+ };
205
+ }
206
+
207
+ static types(): { [key: string]: any } {
208
+ return {
209
+ appId: 'string',
210
+ appParams: 'string',
211
+ executionFinishTime: 'string',
212
+ executionStartTime: 'string',
213
+ folderId: 'string',
214
+ jobId: 'string',
215
+ productionId: 'string',
216
+ requestId: 'string',
217
+ result: GetYikeAIAppJobResponseBodyResult,
218
+ status: 'string',
219
+ };
220
+ }
221
+
222
+ validate() {
223
+ if(this.result && typeof (this.result as any).validate === 'function') {
224
+ (this.result as any).validate();
225
+ }
226
+ super.validate();
227
+ }
228
+
229
+ constructor(map?: { [key: string]: any }) {
230
+ super(map);
231
+ }
232
+ }
233
+
@@ -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 GetYikeStoryboardJobRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * ****20b48fb04483915d4f2cd8ac****
9
+ */
10
+ jobId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ jobId: 'JobId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ jobId: '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 { GetYikeStoryboardJobResponseBody } from "./GetYikeStoryboardJobResponseBody";
4
+
5
+
6
+ export class GetYikeStoryboardJobResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetYikeStoryboardJobResponseBody;
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: GetYikeStoryboardJobResponseBody,
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
+