@alicloud/yike20260319 1.2.0 → 1.3.1

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 (37) hide show
  1. package/dist/client.d.ts +30 -0
  2. package/dist/client.js +81 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/GetYikeStoryboardJobResponseBody.d.ts +5 -0
  5. package/dist/models/GetYikeStoryboardJobResponseBody.js +2 -0
  6. package/dist/models/GetYikeStoryboardJobResponseBody.js.map +1 -1
  7. package/dist/models/GetYikeVoiceNarratorJobRequest.d.ts +21 -0
  8. package/dist/models/GetYikeVoiceNarratorJobRequest.js +58 -0
  9. package/dist/models/GetYikeVoiceNarratorJobRequest.js.map +1 -0
  10. package/dist/models/GetYikeVoiceNarratorJobResponse.d.ts +19 -0
  11. package/dist/models/GetYikeVoiceNarratorJobResponse.js +69 -0
  12. package/dist/models/GetYikeVoiceNarratorJobResponse.js.map +1 -0
  13. package/dist/models/GetYikeVoiceNarratorJobResponseBody.d.ts +76 -0
  14. package/dist/models/GetYikeVoiceNarratorJobResponseBody.js +98 -0
  15. package/dist/models/GetYikeVoiceNarratorJobResponseBody.js.map +1 -0
  16. package/dist/models/SubmitYikeVoiceNarratorJobRequest.d.ts +26 -0
  17. package/dist/models/SubmitYikeVoiceNarratorJobRequest.js +60 -0
  18. package/dist/models/SubmitYikeVoiceNarratorJobRequest.js.map +1 -0
  19. package/dist/models/SubmitYikeVoiceNarratorJobResponse.d.ts +19 -0
  20. package/dist/models/SubmitYikeVoiceNarratorJobResponse.js +69 -0
  21. package/dist/models/SubmitYikeVoiceNarratorJobResponse.js.map +1 -0
  22. package/dist/models/SubmitYikeVoiceNarratorJobResponseBody.d.ts +23 -0
  23. package/dist/models/SubmitYikeVoiceNarratorJobResponseBody.js +60 -0
  24. package/dist/models/SubmitYikeVoiceNarratorJobResponseBody.js.map +1 -0
  25. package/dist/models/model.d.ts +7 -0
  26. package/dist/models/model.js +17 -2
  27. package/dist/models/model.js.map +1 -1
  28. package/package.json +1 -1
  29. package/src/client.ts +88 -0
  30. package/src/models/GetYikeStoryboardJobResponseBody.ts +7 -0
  31. package/src/models/GetYikeVoiceNarratorJobRequest.ts +34 -0
  32. package/src/models/GetYikeVoiceNarratorJobResponse.ts +40 -0
  33. package/src/models/GetYikeVoiceNarratorJobResponseBody.ts +120 -0
  34. package/src/models/SubmitYikeVoiceNarratorJobRequest.ts +41 -0
  35. package/src/models/SubmitYikeVoiceNarratorJobResponse.ts +40 -0
  36. package/src/models/SubmitYikeVoiceNarratorJobResponseBody.ts +38 -0
  37. package/src/models/model.ts +7 -0
@@ -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 GetYikeVoiceNarratorJobRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * task_abc123def456
12
+ */
13
+ jobId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ jobId: 'JobId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ jobId: '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 { GetYikeVoiceNarratorJobResponseBody } from "./GetYikeVoiceNarratorJobResponseBody";
4
+
5
+
6
+ export class GetYikeVoiceNarratorJobResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetYikeVoiceNarratorJobResponseBody;
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: GetYikeVoiceNarratorJobResponseBody,
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,120 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetYikeVoiceNarratorJobResponseBodyJobResult extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 01a6adbbd181437eb5030d3d93e0182d
9
+ */
10
+ editingProjectId?: string;
11
+ /**
12
+ * @example
13
+ * 9d7e982012c671f1b803e7f6d75a6302
14
+ */
15
+ mediaId?: string;
16
+ /**
17
+ * @example
18
+ * CN
19
+ */
20
+ outputLanguage?: string;
21
+ /**
22
+ * @example
23
+ * https://test.oss-cn-shanghai.aliyuncs.com/videos/task_abc123def456.mp4
24
+ */
25
+ outputUrl?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ editingProjectId: 'EditingProjectId',
29
+ mediaId: 'MediaId',
30
+ outputLanguage: 'OutputLanguage',
31
+ outputUrl: 'OutputUrl',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ editingProjectId: 'string',
38
+ mediaId: 'string',
39
+ outputLanguage: 'string',
40
+ outputUrl: '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 GetYikeVoiceNarratorJobResponseBody extends $dara.Model {
54
+ /**
55
+ * @example
56
+ * WorkflowTaskFailed
57
+ */
58
+ errorCode?: string;
59
+ /**
60
+ * @example
61
+ * task_abc123def456
62
+ */
63
+ jobId?: string;
64
+ /**
65
+ * @example
66
+ * {\\"TextType\\":2,\\"TextContent\\":\\"Today, Beijing held a press conference to announce plans to further optimize the city\\"s transportation network, including adding three new subway lines within the next three years....\\",\\"AspectRatio\\":\\"16:9\\", \\"Resolution\\":\\"720P\\", \\"OutputLanguages\\":[\\"CN\\",\\"YUE\\"]"}
67
+ */
68
+ jobParams?: string;
69
+ jobResult?: GetYikeVoiceNarratorJobResponseBodyJobResult[];
70
+ /**
71
+ * @example
72
+ * Running
73
+ */
74
+ jobStatus?: string;
75
+ /**
76
+ * @example
77
+ * req_query_20260420_002
78
+ */
79
+ requestId?: string;
80
+ /**
81
+ * @example
82
+ * {\\"newsKey\\":\\"NEWS_20260420_001\\",\\"key1\\":\\"value1\\", \\"NotifyAddress\\":\\"https://cms.example.com/callback/video-task\\"}
83
+ */
84
+ userData?: string;
85
+ static names(): { [key: string]: string } {
86
+ return {
87
+ errorCode: 'ErrorCode',
88
+ jobId: 'JobId',
89
+ jobParams: 'JobParams',
90
+ jobResult: 'JobResult',
91
+ jobStatus: 'JobStatus',
92
+ requestId: 'RequestId',
93
+ userData: 'UserData',
94
+ };
95
+ }
96
+
97
+ static types(): { [key: string]: any } {
98
+ return {
99
+ errorCode: 'string',
100
+ jobId: 'string',
101
+ jobParams: 'string',
102
+ jobResult: { 'type': 'array', 'itemType': GetYikeVoiceNarratorJobResponseBodyJobResult },
103
+ jobStatus: 'string',
104
+ requestId: 'string',
105
+ userData: 'string',
106
+ };
107
+ }
108
+
109
+ validate() {
110
+ if(Array.isArray(this.jobResult)) {
111
+ $dara.Model.validateArray(this.jobResult);
112
+ }
113
+ super.validate();
114
+ }
115
+
116
+ constructor(map?: { [key: string]: any }) {
117
+ super(map);
118
+ }
119
+ }
120
+
@@ -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 SubmitYikeVoiceNarratorJobRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * {\\"TextType\\":2,\\"TextContent\\":\\"Today, Beijing held a press conference to announce plans to further optimize the city\\"s transportation network, including adding three new subway lines within the next three years....\\",\\"AspectRatio\\":\\"16:9\\", \\"Resolution\\":\\"720P\\", \\"OutputLanguages\\":[\\"CN\\",\\"YUE\\"]"}
12
+ */
13
+ jobParams?: string;
14
+ /**
15
+ * @example
16
+ * {\\"newsKey\\":\\"NEWS_20260420_001\\",\\"key1\\":\\"value1\\", \\"NotifyAddress\\":\\"https://cms.example.com/callback/video-task\\"}
17
+ */
18
+ userData?: string;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ jobParams: 'JobParams',
22
+ userData: 'UserData',
23
+ };
24
+ }
25
+
26
+ static types(): { [key: string]: any } {
27
+ return {
28
+ jobParams: 'string',
29
+ userData: '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 { SubmitYikeVoiceNarratorJobResponseBody } from "./SubmitYikeVoiceNarratorJobResponseBody";
4
+
5
+
6
+ export class SubmitYikeVoiceNarratorJobResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: SubmitYikeVoiceNarratorJobResponseBody;
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: SubmitYikeVoiceNarratorJobResponseBody,
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,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SubmitYikeVoiceNarratorJobResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * task_abc123def456
9
+ */
10
+ jobId?: string;
11
+ /**
12
+ * @example
13
+ * req_create_20260420_001
14
+ */
15
+ requestId?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ jobId: 'JobId',
19
+ requestId: 'RequestId',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ jobId: 'string',
26
+ requestId: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
@@ -24,6 +24,7 @@ export { GetYikeAssetMediaInfoResponseBodyMediaInfo } from './GetYikeAssetMediaI
24
24
  export { GetYikeStoryboardJobResponseBodyJobParams } from './GetYikeStoryboardJobResponseBody';
25
25
  export { GetYikeStoryboardJobResponseBodyJobResult } from './GetYikeStoryboardJobResponseBody';
26
26
  export { GetYikeUserResponseBodyUserInfo } from './GetYikeUserResponseBody';
27
+ export { GetYikeVoiceNarratorJobResponseBodyJobResult } from './GetYikeVoiceNarratorJobResponseBody';
27
28
  export { ListYikeAssetFoldersResponseBodyFolderList } from './ListYikeAssetFoldersResponseBody';
28
29
  export { ListYikeProductionsResponseBodyProductionList } from './ListYikeProductionsResponseBody';
29
30
  export { PrecheckYikeAIAppJobResponseBodyResult } from './PrecheckYikeAiappJobResponseBody';
@@ -66,6 +67,9 @@ export { GetYikeUserResponse } from './GetYikeUserResponse';
66
67
  export { GetYikeUserCreditRequest } from './GetYikeUserCreditRequest';
67
68
  export { GetYikeUserCreditResponseBody } from './GetYikeUserCreditResponseBody';
68
69
  export { GetYikeUserCreditResponse } from './GetYikeUserCreditResponse';
70
+ export { GetYikeVoiceNarratorJobRequest } from './GetYikeVoiceNarratorJobRequest';
71
+ export { GetYikeVoiceNarratorJobResponseBody } from './GetYikeVoiceNarratorJobResponseBody';
72
+ export { GetYikeVoiceNarratorJobResponse } from './GetYikeVoiceNarratorJobResponse';
69
73
  export { ListYikeAssetFoldersRequest } from './ListYikeAssetFoldersRequest';
70
74
  export { ListYikeAssetFoldersResponseBody } from './ListYikeAssetFoldersResponseBody';
71
75
  export { ListYikeAssetFoldersResponse } from './ListYikeAssetFoldersResponse';
@@ -96,3 +100,6 @@ export { SubmitYikeAIAppJobResponse } from './SubmitYikeAiappJobResponse';
96
100
  export { SubmitYikeStoryboardJobRequest } from './SubmitYikeStoryboardJobRequest';
97
101
  export { SubmitYikeStoryboardJobResponseBody } from './SubmitYikeStoryboardJobResponseBody';
98
102
  export { SubmitYikeStoryboardJobResponse } from './SubmitYikeStoryboardJobResponse';
103
+ export { SubmitYikeVoiceNarratorJobRequest } from './SubmitYikeVoiceNarratorJobRequest';
104
+ export { SubmitYikeVoiceNarratorJobResponseBody } from './SubmitYikeVoiceNarratorJobResponseBody';
105
+ export { SubmitYikeVoiceNarratorJobResponse } from './SubmitYikeVoiceNarratorJobResponse';