Skip to content

Commit 35e443d

Browse files
committed
Merge 'i18n_openapi-Node.js-2021-05-21-online-2245-2026_02_03_14_02_49' into 'master'
i18n_openapi-Node.js-2021-05-21-online-2245-2026_02_03_14_02_49 See merge request: !25
2 parents 5f4708f + da970f7 commit 35e443d

16 files changed

+648
-2
lines changed

service/i18nopenapi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@volcengine/i18nopenapi",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "swagger client for @volcengine/i18nopenapi",
55
"license": "Apache-2.0",
66
"main": "./dist/cjs/index.js",

service/i18nopenapi/src/api.ts

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ import { VideoProjectCreateRequest } from './types/index';
3434
import { VideoProjectCreateResponse } from './types/index';
3535
import { VideoProjectListRequest } from './types/index';
3636
import { VideoProjectListResponse } from './types/index';
37+
import { VideoProjectSerialDubTaskCreateRequest } from './types/index';
38+
import { VideoProjectSerialDubTaskCreateResponse } from './types/index';
3739
import { VideoProjectSerialTaskCreateRequest } from './types/index';
3840
import { VideoProjectSerialTaskCreateResponse } from './types/index';
3941
import { VideoProjectTaskDetailRequest } from './types/index';
@@ -58,13 +60,13 @@ export type ProjectUsersCommandOutput = CommandOutput<ProjectUsersResponse>;
5860
export type ProjectsCommandOutput = CommandOutput<ProjectsResponse>;
5961
export type VideoProjectCreateCommandOutput = CommandOutput<VideoProjectCreateResponse>;
6062
export type VideoProjectListCommandOutput = CommandOutput<VideoProjectListResponse>;
63+
export type VideoProjectSerialDubTaskCreateCommandOutput = CommandOutput<VideoProjectSerialDubTaskCreateResponse>;
6164
export type VideoProjectSerialTaskCreateCommandOutput = CommandOutput<VideoProjectSerialTaskCreateResponse>;
6265
export type VideoProjectTaskDetailCommandOutput = CommandOutput<VideoProjectTaskDetailResponse>;
6366
export type VideoProjectTaskListCommandOutput = CommandOutput<VideoProjectTaskListResponse>;
6467
export type VideoResourceUploadCommandOutput = CommandOutput<VideoResourceUploadResponse>;
6568
export type WebhooksCreateCommandOutput = CommandOutput<WebhooksCreateResponse>;
6669

67-
6870
/**
6971
* I18NOPENAPIClient Service Client
7072
*/
@@ -228,6 +230,21 @@ export class VideoProjectListCommand extends Command<
228230
this.requestConfig = buildRequestConfigFromMetaPath(VideoProjectListCommand.metaPath);
229231
}
230232
}
233+
/**
234+
* Command to VideoProjectSerialDubTaskCreate
235+
*/
236+
export class VideoProjectSerialDubTaskCreateCommand extends Command<
237+
VideoProjectSerialDubTaskCreateRequest,
238+
VideoProjectSerialDubTaskCreateCommandOutput,
239+
'VideoProjectSerialDubTaskCreateCommand'
240+
> {
241+
static readonly metaPath = '/VideoProjectSerialDubTaskCreate/2021-05-21/i18n_openapi/post/application_json/';
242+
243+
constructor(input: VideoProjectSerialDubTaskCreateRequest) {
244+
super(input);
245+
this.requestConfig = buildRequestConfigFromMetaPath(VideoProjectSerialDubTaskCreateCommand.metaPath);
246+
}
247+
}
231248
/**
232249
* Command to VideoProjectSerialTaskCreate
233250
*/
@@ -316,6 +333,7 @@ export default {
316333
ProjectsCommand,
317334
VideoProjectCreateCommand,
318335
VideoProjectListCommand,
336+
VideoProjectSerialDubTaskCreateCommand,
319337
VideoProjectSerialTaskCreateCommand,
320338
VideoProjectTaskDetailCommand,
321339
VideoProjectTaskListCommand,
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* i18n_openapi
5+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6+
*
7+
* OpenAPI spec version: common-version
8+
*
9+
*
10+
* NOTE: This class is auto generated by the swagger code generator program.
11+
* https://github.com/swagger-api/swagger-codegen.git
12+
* Do not edit the class manually.
13+
*/
14+
15+
/**
16+
*
17+
*
18+
* @export
19+
* @interface BaseRespForVideoProjectSerialDubTaskCreateOutput
20+
*/
21+
export interface BaseRespForVideoProjectSerialDubTaskCreateOutput {
22+
23+
/**
24+
* @type {number}
25+
* @memberof BaseRespForVideoProjectSerialDubTaskCreateOutput
26+
*/
27+
StatusCode?: number;
28+
29+
/**
30+
* @type {string}
31+
* @memberof BaseRespForVideoProjectSerialDubTaskCreateOutput
32+
*/
33+
StatusMessage?: string;
34+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* i18n_openapi
5+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6+
*
7+
* OpenAPI spec version: common-version
8+
*
9+
*
10+
* NOTE: This class is auto generated by the swagger code generator program.
11+
* https://github.com/swagger-api/swagger-codegen.git
12+
* Do not edit the class manually.
13+
*/
14+
15+
/**
16+
*
17+
*
18+
* @export
19+
* @interface ConvertsubtitleForVideoProjectSerialDubTaskCreateInput
20+
*/
21+
export interface ConvertsubtitleForVideoProjectSerialDubTaskCreateInput {
22+
23+
/**
24+
* @type {number}
25+
* @memberof ConvertsubtitleForVideoProjectSerialDubTaskCreateInput
26+
*/
27+
arrangement?: number;
28+
29+
/**
30+
* @type {number}
31+
* @memberof ConvertsubtitleForVideoProjectSerialDubTaskCreateInput
32+
*/
33+
fileType?: number;
34+
35+
/**
36+
* @type {string}
37+
* @memberof ConvertsubtitleForVideoProjectSerialDubTaskCreateInput
38+
*/
39+
name?: string;
40+
41+
/**
42+
* @type {number}
43+
* @memberof ConvertsubtitleForVideoProjectSerialDubTaskCreateInput
44+
*/
45+
subtitleLang?: number;
46+
47+
/**
48+
* @type {string}
49+
* @memberof ConvertsubtitleForVideoProjectSerialDubTaskCreateInput
50+
*/
51+
targetLang?: string;
52+
53+
/**
54+
* @type {string}
55+
* @memberof ConvertsubtitleForVideoProjectSerialDubTaskCreateInput
56+
*/
57+
uri?: string;
58+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* i18n_openapi
5+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6+
*
7+
* OpenAPI spec version: common-version
8+
*
9+
*
10+
* NOTE: This class is auto generated by the swagger code generator program.
11+
* https://github.com/swagger-api/swagger-codegen.git
12+
* Do not edit the class manually.
13+
*/
14+
15+
/**
16+
*
17+
*
18+
* @export
19+
* @interface ConvertsubtitleForVideoProjectSerialTaskCreateInput
20+
*/
21+
export interface ConvertsubtitleForVideoProjectSerialTaskCreateInput {
22+
23+
/**
24+
* @type {number}
25+
* @memberof ConvertsubtitleForVideoProjectSerialTaskCreateInput
26+
*/
27+
arrangement?: number;
28+
29+
/**
30+
* @type {number}
31+
* @memberof ConvertsubtitleForVideoProjectSerialTaskCreateInput
32+
*/
33+
fileType?: number;
34+
35+
/**
36+
* @type {string}
37+
* @memberof ConvertsubtitleForVideoProjectSerialTaskCreateInput
38+
*/
39+
name?: string;
40+
41+
/**
42+
* @type {number}
43+
* @memberof ConvertsubtitleForVideoProjectSerialTaskCreateInput
44+
*/
45+
subtitleLang?: number;
46+
47+
/**
48+
* @type {string}
49+
* @memberof ConvertsubtitleForVideoProjectSerialTaskCreateInput
50+
*/
51+
targetLang?: string;
52+
53+
/**
54+
* @type {string}
55+
* @memberof ConvertsubtitleForVideoProjectSerialTaskCreateInput
56+
*/
57+
uri?: string;
58+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* i18n_openapi
5+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6+
*
7+
* OpenAPI spec version: common-version
8+
*
9+
*
10+
* NOTE: This class is auto generated by the swagger code generator program.
11+
* https://github.com/swagger-api/swagger-codegen.git
12+
* Do not edit the class manually.
13+
*/
14+
15+
import { BaseRespForVideoProjectSerialDubTaskCreateOutput } from './base-resp-for-video-project-serial-dub-task-create-output';
16+
/**
17+
*
18+
*
19+
* @export
20+
* @interface DataForVideoProjectSerialDubTaskCreateOutput
21+
*/
22+
export interface DataForVideoProjectSerialDubTaskCreateOutput {
23+
24+
/**
25+
* @type {BaseRespForVideoProjectSerialDubTaskCreateOutput}
26+
* @memberof DataForVideoProjectSerialDubTaskCreateOutput
27+
*/
28+
BaseResp?: BaseRespForVideoProjectSerialDubTaskCreateOutput;
29+
30+
/**
31+
* @type {Array<string>}
32+
* @memberof DataForVideoProjectSerialDubTaskCreateOutput
33+
*/
34+
TaskIDs?: Array<string>;
35+
}

service/i18nopenapi/src/types/index.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
export * from './auto-fill-target-text-for-project-detail-output';
22
export * from './auto-fill-target-text-for-projects-output';
33
export * from './auto-fill-target-text-for-video-project-list-output';
4+
export * from './base-resp-for-video-project-serial-dub-task-create-output';
45
export * from './base-resp-for-video-project-serial-task-create-output';
6+
export * from './convertsubtitle-for-video-project-serial-dub-task-create-input';
7+
export * from './convertsubtitle-for-video-project-serial-task-create-input';
58
export * from './create-video-create-request';
69
export * from './create-video-create-response';
710
export * from './creator-for-video-project-task-detail-output';
@@ -14,6 +17,7 @@ export * from './data-for-project-users-output';
1417
export * from './data-for-projects-output';
1518
export * from './data-for-video-project-create-output';
1619
export * from './data-for-video-project-list-output';
20+
export * from './data-for-video-project-serial-dub-task-create-output';
1721
export * from './data-for-video-project-serial-task-create-output';
1822
export * from './data-for-video-project-task-detail-output';
1923
export * from './data-for-video-project-task-list-output';
@@ -38,31 +42,39 @@ export * from './project-users-request';
3842
export * from './project-users-response';
3943
export * from './projects-request';
4044
export * from './projects-response';
45+
export * from './pure-video-for-video-project-serial-dub-task-create-input';
4146
export * from './pure-video-for-video-project-serial-task-create-input';
47+
export * from './serial-info-for-video-project-serial-dub-task-create-input';
4248
export * from './serial-info-for-video-project-serial-task-create-input';
4349
export * from './setting-for-project-detail-output';
4450
export * from './setting-for-projects-output';
4551
export * from './setting-for-video-project-list-output';
4652
export * from './source-subtitle-file-info-for-video-project-task-detail-output';
4753
export * from './sub-task-for-video-project-task-detail-output';
54+
export * from './subtitle-for-video-project-serial-dub-task-create-input';
4855
export * from './subtitle-for-video-project-serial-task-create-input';
4956
export * from './suppression-video-info-for-video-project-task-detail-output';
57+
export * from './target-style-map-for-video-project-serial-dub-task-create-input';
5058
export * from './target-style-map-for-video-project-serial-task-create-input';
5159
export * from './target-subtitle-file-info-for-video-project-task-detail-output';
5260
export * from './task-for-video-project-task-detail-output';
5361
export * from './task-for-video-project-task-list-output';
62+
export * from './task-info-for-video-project-serial-dub-task-create-input';
5463
export * from './task-info-for-video-project-serial-task-create-input';
5564
export * from './text-validate-for-project-detail-output';
5665
export * from './text-validate-for-projects-output';
5766
export * from './text-validate-for-video-project-list-output';
5867
export * from './video-detail-for-video-project-task-detail-output';
5968
export * from './video-details-with-ai-remove-for-video-project-task-detail-output';
69+
export * from './video-for-video-project-serial-dub-task-create-input';
6070
export * from './video-for-video-project-serial-task-create-input';
6171
export * from './video-meta-for-video-resource-upload-output';
6272
export * from './video-project-create-request';
6373
export * from './video-project-create-response';
6474
export * from './video-project-list-request';
6575
export * from './video-project-list-response';
76+
export * from './video-project-serial-dub-task-create-request';
77+
export * from './video-project-serial-dub-task-create-response';
6678
export * from './video-project-serial-task-create-request';
6779
export * from './video-project-serial-task-create-response';
6880
export * from './video-project-task-detail-request';
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* i18n_openapi
5+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6+
*
7+
* OpenAPI spec version: common-version
8+
*
9+
*
10+
* NOTE: This class is auto generated by the swagger code generator program.
11+
* https://github.com/swagger-api/swagger-codegen.git
12+
* Do not edit the class manually.
13+
*/
14+
15+
/**
16+
*
17+
*
18+
* @export
19+
* @interface PureVideoForVideoProjectSerialDubTaskCreateInput
20+
*/
21+
export interface PureVideoForVideoProjectSerialDubTaskCreateInput {
22+
23+
/**
24+
* @type {string}
25+
* @memberof PureVideoForVideoProjectSerialDubTaskCreateInput
26+
*/
27+
name?: string;
28+
29+
/**
30+
* @type {string}
31+
* @memberof PureVideoForVideoProjectSerialDubTaskCreateInput
32+
*/
33+
vid?: string;
34+
35+
/**
36+
* @type {string}
37+
* @memberof PureVideoForVideoProjectSerialDubTaskCreateInput
38+
*/
39+
videoUrl?: string;
40+
}

0 commit comments

Comments
 (0)