Skip to content

Commit dfae05c

Browse files
committed
Merge 'i18n_openapi-Node.js-2021-05-21-online-2483-2026_04_08_20_39_42' into 'master'
i18n_openapi-Node.js-2021-05-21-online-2483-2026_04_08_20_39_42 See merge request: !74
2 parents 464424e + 50a1f64 commit dfae05c

34 files changed

Lines changed: 717 additions & 220 deletions

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.6",
3+
"version": "1.0.7",
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: 135 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,20 @@ import { TermBaseTermGroupsRequest } from './types/index';
162162
import { TermBaseTermGroupsResponse } from './types/index';
163163
import { TextGetTextListWithKeyOrSourceRequest } from './types/index';
164164
import { TextGetTextListWithKeyOrSourceResponse } from './types/index';
165+
import { VideoEditorAddEmotionTagRequest } from './types/index';
166+
import { VideoEditorAddEmotionTagResponse } from './types/index';
167+
import { VideoEditorAddSpeakerRequest } from './types/index';
168+
import { VideoEditorAddSpeakerResponse } from './types/index';
165169
import { VideoEditorAsyncGenDubbingRequest } from './types/index';
166170
import { VideoEditorAsyncGenDubbingResponse } from './types/index';
171+
import { VideoEditorDeleteEmotionTagRequest } from './types/index';
172+
import { VideoEditorDeleteEmotionTagResponse } from './types/index';
173+
import { VideoEditorDeleteSpeakerRequest } from './types/index';
174+
import { VideoEditorDeleteSpeakerResponse } from './types/index';
167175
import { VideoEditorGenDubbingRequest } from './types/index';
168176
import { VideoEditorGenDubbingResponse } from './types/index';
177+
import { VideoEditorGetEmotionTagsRequest } from './types/index';
178+
import { VideoEditorGetEmotionTagsResponse } from './types/index';
169179
import { VideoEditorGetSpeakersRequest } from './types/index';
170180
import { VideoEditorGetSpeakersResponse } from './types/index';
171181
import { VideoEditorListSubtitlesRequest } from './types/index';
@@ -176,6 +186,10 @@ import { VideoEditorSaveSubtitleRequest } from './types/index';
176186
import { VideoEditorSaveSubtitleResponse } from './types/index';
177187
import { VideoEditorSubmitSubtaskRequest } from './types/index';
178188
import { VideoEditorSubmitSubtaskResponse } from './types/index';
189+
import { VideoEditorSyncSpeakerToSubTaskRequest } from './types/index';
190+
import { VideoEditorSyncSpeakerToSubTaskResponse } from './types/index';
191+
import { VideoEditorUpdateSpeakerRequest } from './types/index';
192+
import { VideoEditorUpdateSpeakerResponse } from './types/index';
179193
import { VideoProjectCreateRequest } from './types/index';
180194
import { VideoProjectCreateResponse } from './types/index';
181195
import { VideoProjectListRequest } from './types/index';
@@ -276,13 +290,20 @@ export type TermBaseTermGroupImportCommandOutput = CommandOutput<TermBaseTermGro
276290
export type TermBaseTermGroupImportTaskCommandOutput = CommandOutput<TermBaseTermGroupImportTaskResponse>;
277291
export type TermBaseTermGroupsCommandOutput = CommandOutput<TermBaseTermGroupsResponse>;
278292
export type TextGetTextListWithKeyOrSourceCommandOutput = CommandOutput<TextGetTextListWithKeyOrSourceResponse>;
293+
export type VideoEditorAddEmotionTagCommandOutput = CommandOutput<VideoEditorAddEmotionTagResponse>;
294+
export type VideoEditorAddSpeakerCommandOutput = CommandOutput<VideoEditorAddSpeakerResponse>;
279295
export type VideoEditorAsyncGenDubbingCommandOutput = CommandOutput<VideoEditorAsyncGenDubbingResponse>;
296+
export type VideoEditorDeleteEmotionTagCommandOutput = CommandOutput<VideoEditorDeleteEmotionTagResponse>;
297+
export type VideoEditorDeleteSpeakerCommandOutput = CommandOutput<VideoEditorDeleteSpeakerResponse>;
280298
export type VideoEditorGenDubbingCommandOutput = CommandOutput<VideoEditorGenDubbingResponse>;
299+
export type VideoEditorGetEmotionTagsCommandOutput = CommandOutput<VideoEditorGetEmotionTagsResponse>;
281300
export type VideoEditorGetSpeakersCommandOutput = CommandOutput<VideoEditorGetSpeakersResponse>;
282301
export type VideoEditorListSubtitlesCommandOutput = CommandOutput<VideoEditorListSubtitlesResponse>;
283302
export type VideoEditorQueryAsyncGenDubbingResultCommandOutput = CommandOutput<VideoEditorQueryAsyncGenDubbingResultResponse>;
284303
export type VideoEditorSaveSubtitleCommandOutput = CommandOutput<VideoEditorSaveSubtitleResponse>;
285304
export type VideoEditorSubmitSubtaskCommandOutput = CommandOutput<VideoEditorSubmitSubtaskResponse>;
305+
export type VideoEditorSyncSpeakerToSubTaskCommandOutput = CommandOutput<VideoEditorSyncSpeakerToSubTaskResponse>;
306+
export type VideoEditorUpdateSpeakerCommandOutput = CommandOutput<VideoEditorUpdateSpeakerResponse>;
286307
export type VideoProjectCreateCommandOutput = CommandOutput<VideoProjectCreateResponse>;
287308
export type VideoProjectListCommandOutput = CommandOutput<VideoProjectListResponse>;
288309
export type VideoProjectSerialDubTaskCreateCommandOutput = CommandOutput<VideoProjectSerialDubTaskCreateResponse>;
@@ -1418,6 +1439,36 @@ export class TextGetTextListWithKeyOrSourceCommand extends Command<
14181439
this.requestConfig = buildRequestConfigFromMetaPath(TextGetTextListWithKeyOrSourceCommand.metaPath);
14191440
}
14201441
}
1442+
/**
1443+
* Command to VideoEditorAddEmotionTag
1444+
*/
1445+
export class VideoEditorAddEmotionTagCommand extends Command<
1446+
VideoEditorAddEmotionTagRequest,
1447+
VideoEditorAddEmotionTagCommandOutput,
1448+
'VideoEditorAddEmotionTagCommand'
1449+
> {
1450+
static readonly metaPath = '/VideoEditorAddEmotionTag/2021-05-21/i18n_openapi/get/text_plain/';
1451+
1452+
constructor(input: VideoEditorAddEmotionTagRequest) {
1453+
super(input);
1454+
this.requestConfig = buildRequestConfigFromMetaPath(VideoEditorAddEmotionTagCommand.metaPath);
1455+
}
1456+
}
1457+
/**
1458+
* Command to VideoEditorAddSpeaker
1459+
*/
1460+
export class VideoEditorAddSpeakerCommand extends Command<
1461+
VideoEditorAddSpeakerRequest,
1462+
VideoEditorAddSpeakerCommandOutput,
1463+
'VideoEditorAddSpeakerCommand'
1464+
> {
1465+
static readonly metaPath = '/VideoEditorAddSpeaker/2021-05-21/i18n_openapi/get/text_plain/';
1466+
1467+
constructor(input: VideoEditorAddSpeakerRequest) {
1468+
super(input);
1469+
this.requestConfig = buildRequestConfigFromMetaPath(VideoEditorAddSpeakerCommand.metaPath);
1470+
}
1471+
}
14211472
/**
14221473
* Command to VideoEditorAsyncGenDubbing
14231474
*/
@@ -1426,13 +1477,43 @@ export class VideoEditorAsyncGenDubbingCommand extends Command<
14261477
VideoEditorAsyncGenDubbingCommandOutput,
14271478
'VideoEditorAsyncGenDubbingCommand'
14281479
> {
1429-
static readonly metaPath = '/VideoEditorAsyncGenDubbing/2021-05-21/i18n_openapi/get/text_plain/';
1480+
static readonly metaPath = '/VideoEditorAsyncGenDubbing/2021-05-21/i18n_openapi/post/application_json/';
14301481

14311482
constructor(input: VideoEditorAsyncGenDubbingRequest) {
14321483
super(input);
14331484
this.requestConfig = buildRequestConfigFromMetaPath(VideoEditorAsyncGenDubbingCommand.metaPath);
14341485
}
14351486
}
1487+
/**
1488+
* Command to VideoEditorDeleteEmotionTag
1489+
*/
1490+
export class VideoEditorDeleteEmotionTagCommand extends Command<
1491+
VideoEditorDeleteEmotionTagRequest,
1492+
VideoEditorDeleteEmotionTagCommandOutput,
1493+
'VideoEditorDeleteEmotionTagCommand'
1494+
> {
1495+
static readonly metaPath = '/VideoEditorDeleteEmotionTag/2021-05-21/i18n_openapi/get/text_plain/';
1496+
1497+
constructor(input: VideoEditorDeleteEmotionTagRequest) {
1498+
super(input);
1499+
this.requestConfig = buildRequestConfigFromMetaPath(VideoEditorDeleteEmotionTagCommand.metaPath);
1500+
}
1501+
}
1502+
/**
1503+
* Command to VideoEditorDeleteSpeaker
1504+
*/
1505+
export class VideoEditorDeleteSpeakerCommand extends Command<
1506+
VideoEditorDeleteSpeakerRequest,
1507+
VideoEditorDeleteSpeakerCommandOutput,
1508+
'VideoEditorDeleteSpeakerCommand'
1509+
> {
1510+
static readonly metaPath = '/VideoEditorDeleteSpeaker/2021-05-21/i18n_openapi/get/text_plain/';
1511+
1512+
constructor(input: VideoEditorDeleteSpeakerRequest) {
1513+
super(input);
1514+
this.requestConfig = buildRequestConfigFromMetaPath(VideoEditorDeleteSpeakerCommand.metaPath);
1515+
}
1516+
}
14361517
/**
14371518
* Command to VideoEditorGenDubbing
14381519
*/
@@ -1448,6 +1529,21 @@ export class VideoEditorGenDubbingCommand extends Command<
14481529
this.requestConfig = buildRequestConfigFromMetaPath(VideoEditorGenDubbingCommand.metaPath);
14491530
}
14501531
}
1532+
/**
1533+
* Command to VideoEditorGetEmotionTags
1534+
*/
1535+
export class VideoEditorGetEmotionTagsCommand extends Command<
1536+
VideoEditorGetEmotionTagsRequest,
1537+
VideoEditorGetEmotionTagsCommandOutput,
1538+
'VideoEditorGetEmotionTagsCommand'
1539+
> {
1540+
static readonly metaPath = '/VideoEditorGetEmotionTags/2021-05-21/i18n_openapi/get/text_plain/';
1541+
1542+
constructor(input: VideoEditorGetEmotionTagsRequest) {
1543+
super(input);
1544+
this.requestConfig = buildRequestConfigFromMetaPath(VideoEditorGetEmotionTagsCommand.metaPath);
1545+
}
1546+
}
14511547
/**
14521548
* Command to VideoEditorGetSpeakers
14531549
*/
@@ -1516,13 +1612,43 @@ export class VideoEditorSubmitSubtaskCommand extends Command<
15161612
VideoEditorSubmitSubtaskCommandOutput,
15171613
'VideoEditorSubmitSubtaskCommand'
15181614
> {
1519-
static readonly metaPath = '/VideoEditorSubmitSubtask/2021-05-21/i18n_openapi/post/application_x-www-form-urlencoded/';
1615+
static readonly metaPath = '/VideoEditorSubmitSubtask/2021-05-21/i18n_openapi/post/application_json/';
15201616

15211617
constructor(input: VideoEditorSubmitSubtaskRequest) {
15221618
super(input);
15231619
this.requestConfig = buildRequestConfigFromMetaPath(VideoEditorSubmitSubtaskCommand.metaPath);
15241620
}
15251621
}
1622+
/**
1623+
* Command to VideoEditorSyncSpeakerToSubTask
1624+
*/
1625+
export class VideoEditorSyncSpeakerToSubTaskCommand extends Command<
1626+
VideoEditorSyncSpeakerToSubTaskRequest,
1627+
VideoEditorSyncSpeakerToSubTaskCommandOutput,
1628+
'VideoEditorSyncSpeakerToSubTaskCommand'
1629+
> {
1630+
static readonly metaPath = '/VideoEditorSyncSpeakerToSubTask/2021-05-21/i18n_openapi/get/text_plain/';
1631+
1632+
constructor(input: VideoEditorSyncSpeakerToSubTaskRequest) {
1633+
super(input);
1634+
this.requestConfig = buildRequestConfigFromMetaPath(VideoEditorSyncSpeakerToSubTaskCommand.metaPath);
1635+
}
1636+
}
1637+
/**
1638+
* Command to VideoEditorUpdateSpeaker
1639+
*/
1640+
export class VideoEditorUpdateSpeakerCommand extends Command<
1641+
VideoEditorUpdateSpeakerRequest,
1642+
VideoEditorUpdateSpeakerCommandOutput,
1643+
'VideoEditorUpdateSpeakerCommand'
1644+
> {
1645+
static readonly metaPath = '/VideoEditorUpdateSpeaker/2021-05-21/i18n_openapi/get/text_plain/';
1646+
1647+
constructor(input: VideoEditorUpdateSpeakerRequest) {
1648+
super(input);
1649+
this.requestConfig = buildRequestConfigFromMetaPath(VideoEditorUpdateSpeakerCommand.metaPath);
1650+
}
1651+
}
15261652
/**
15271653
* Command to VideoProjectCreate
15281654
*/
@@ -1765,13 +1891,20 @@ export default {
17651891
TermBaseTermGroupImportTaskCommand,
17661892
TermBaseTermGroupsCommand,
17671893
TextGetTextListWithKeyOrSourceCommand,
1894+
VideoEditorAddEmotionTagCommand,
1895+
VideoEditorAddSpeakerCommand,
17681896
VideoEditorAsyncGenDubbingCommand,
1897+
VideoEditorDeleteEmotionTagCommand,
1898+
VideoEditorDeleteSpeakerCommand,
17691899
VideoEditorGenDubbingCommand,
1900+
VideoEditorGetEmotionTagsCommand,
17701901
VideoEditorGetSpeakersCommand,
17711902
VideoEditorListSubtitlesCommand,
17721903
VideoEditorQueryAsyncGenDubbingResultCommand,
17731904
VideoEditorSaveSubtitleCommand,
17741905
VideoEditorSubmitSubtaskCommand,
1906+
VideoEditorSyncSpeakerToSubTaskCommand,
1907+
VideoEditorUpdateSpeakerCommand,
17751908
VideoProjectCreateCommand,
17761909
VideoProjectListCommand,
17771910
VideoProjectSerialDubTaskCreateCommand,
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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 BuiltInEmotionTagForVideoEditorGetEmotionTagsOutput
20+
*/
21+
export interface BuiltInEmotionTagForVideoEditorGetEmotionTagsOutput {
22+
23+
/**
24+
* @type {number}
25+
* @memberof BuiltInEmotionTagForVideoEditorGetEmotionTagsOutput
26+
*/
27+
createTime?: number;
28+
29+
/**
30+
* @type {string}
31+
* @memberof BuiltInEmotionTagForVideoEditorGetEmotionTagsOutput
32+
*/
33+
emotionTag?: string;
34+
35+
/**
36+
* @type {number}
37+
* @memberof BuiltInEmotionTagForVideoEditorGetEmotionTagsOutput
38+
*/
39+
id?: number;
40+
41+
/**
42+
* @type {string}
43+
* @memberof BuiltInEmotionTagForVideoEditorGetEmotionTagsOutput
44+
*/
45+
name?: string;
46+
47+
/**
48+
* @type {string}
49+
* @memberof BuiltInEmotionTagForVideoEditorGetEmotionTagsOutput
50+
*/
51+
operator?: string;
52+
53+
/**
54+
* @type {number}
55+
* @memberof BuiltInEmotionTagForVideoEditorGetEmotionTagsOutput
56+
*/
57+
taskId?: number;
58+
59+
/**
60+
* @type {number}
61+
* @memberof BuiltInEmotionTagForVideoEditorGetEmotionTagsOutput
62+
*/
63+
type?: number;
64+
65+
/**
66+
* @type {string}
67+
* @memberof BuiltInEmotionTagForVideoEditorGetEmotionTagsOutput
68+
*/
69+
voiceId?: string;
70+
}
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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 CustomEmotionTagForVideoEditorGetEmotionTagsOutput
20+
*/
21+
export interface CustomEmotionTagForVideoEditorGetEmotionTagsOutput {
22+
23+
/**
24+
* @type {number}
25+
* @memberof CustomEmotionTagForVideoEditorGetEmotionTagsOutput
26+
*/
27+
createTime?: number;
28+
29+
/**
30+
* @type {string}
31+
* @memberof CustomEmotionTagForVideoEditorGetEmotionTagsOutput
32+
*/
33+
emotionTag?: string;
34+
35+
/**
36+
* @type {number}
37+
* @memberof CustomEmotionTagForVideoEditorGetEmotionTagsOutput
38+
*/
39+
id?: number;
40+
41+
/**
42+
* @type {string}
43+
* @memberof CustomEmotionTagForVideoEditorGetEmotionTagsOutput
44+
*/
45+
name?: string;
46+
47+
/**
48+
* @type {string}
49+
* @memberof CustomEmotionTagForVideoEditorGetEmotionTagsOutput
50+
*/
51+
operator?: string;
52+
53+
/**
54+
* @type {number}
55+
* @memberof CustomEmotionTagForVideoEditorGetEmotionTagsOutput
56+
*/
57+
taskId?: number;
58+
59+
/**
60+
* @type {number}
61+
* @memberof CustomEmotionTagForVideoEditorGetEmotionTagsOutput
62+
*/
63+
type?: number;
64+
65+
/**
66+
* @type {string}
67+
* @memberof CustomEmotionTagForVideoEditorGetEmotionTagsOutput
68+
*/
69+
voiceId?: string;
70+
}

0 commit comments

Comments
 (0)