@alicloud/yike20260319 1.2.0 → 1.3.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.
- package/dist/client.d.ts +30 -0
- package/dist/client.js +81 -0
- package/dist/client.js.map +1 -1
- package/dist/models/GetYikeVoiceNarratorJobRequest.d.ts +21 -0
- package/dist/models/GetYikeVoiceNarratorJobRequest.js +58 -0
- package/dist/models/GetYikeVoiceNarratorJobRequest.js.map +1 -0
- package/dist/models/GetYikeVoiceNarratorJobResponse.d.ts +19 -0
- package/dist/models/GetYikeVoiceNarratorJobResponse.js +69 -0
- package/dist/models/GetYikeVoiceNarratorJobResponse.js.map +1 -0
- package/dist/models/GetYikeVoiceNarratorJobResponseBody.d.ts +76 -0
- package/dist/models/GetYikeVoiceNarratorJobResponseBody.js +98 -0
- package/dist/models/GetYikeVoiceNarratorJobResponseBody.js.map +1 -0
- package/dist/models/SubmitYikeVoiceNarratorJobRequest.d.ts +26 -0
- package/dist/models/SubmitYikeVoiceNarratorJobRequest.js +60 -0
- package/dist/models/SubmitYikeVoiceNarratorJobRequest.js.map +1 -0
- package/dist/models/SubmitYikeVoiceNarratorJobResponse.d.ts +19 -0
- package/dist/models/SubmitYikeVoiceNarratorJobResponse.js +69 -0
- package/dist/models/SubmitYikeVoiceNarratorJobResponse.js.map +1 -0
- package/dist/models/SubmitYikeVoiceNarratorJobResponseBody.d.ts +23 -0
- package/dist/models/SubmitYikeVoiceNarratorJobResponseBody.js +60 -0
- package/dist/models/SubmitYikeVoiceNarratorJobResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +17 -2
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +88 -0
- package/src/models/GetYikeVoiceNarratorJobRequest.ts +34 -0
- package/src/models/GetYikeVoiceNarratorJobResponse.ts +40 -0
- package/src/models/GetYikeVoiceNarratorJobResponseBody.ts +120 -0
- package/src/models/SubmitYikeVoiceNarratorJobRequest.ts +41 -0
- package/src/models/SubmitYikeVoiceNarratorJobResponse.ts +40 -0
- package/src/models/SubmitYikeVoiceNarratorJobResponseBody.ts +38 -0
- package/src/models/model.ts +7 -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 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
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -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';
|