Skip to content

Commit 7b3167d

Browse files
committed
Update API BatchGetMediaInfos: add request parameters AuthTimeout.
1 parent 59fd30c commit 7b3167d

39 files changed

+520
-14
lines changed

ice-20201109/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alicloud/ice20201109",
3-
"version": "6.4.0",
3+
"version": "6.4.2",
44
"description": "",
55
"main": "dist/client.js",
66
"scripts": {

ice-20201109/src/client.ts

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,10 @@ export default class Client extends OpenApi {
766766
query["AdditionType"] = request.additionType;
767767
}
768768

769+
if (!$dara.isNull(request.authTimeout)) {
770+
query["AuthTimeout"] = request.authTimeout;
771+
}
772+
769773
if (!$dara.isNull(request.mediaIds)) {
770774
query["MediaIds"] = request.mediaIds;
771775
}
@@ -7389,6 +7393,10 @@ export default class Client extends OpenApi {
73897393
async getMediaInfoWithOptions(request: $_model.GetMediaInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetMediaInfoResponse> {
73907394
request.validate();
73917395
let query = { };
7396+
if (!$dara.isNull(request.authTimeout)) {
7397+
query["AuthTimeout"] = request.authTimeout;
7398+
}
7399+
73927400
if (!$dara.isNull(request.inputURL)) {
73937401
query["InputURL"] = request.inputURL;
73947402
}
@@ -7809,6 +7817,10 @@ export default class Client extends OpenApi {
78097817
async getPlayInfoWithOptions(request: $_model.GetPlayInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetPlayInfoResponse> {
78107818
request.validate();
78117819
let query = { };
7820+
if (!$dara.isNull(request.authTimeout)) {
7821+
query["AuthTimeout"] = request.authTimeout;
7822+
}
7823+
78127824
if (!$dara.isNull(request.inputURL)) {
78137825
query["InputURL"] = request.inputURL;
78147826
}
@@ -8988,6 +9000,10 @@ export default class Client extends OpenApi {
89889000
async listAIAgentPhoneNumberWithOptions(request: $_model.ListAIAgentPhoneNumberRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAIAgentPhoneNumberResponse> {
89899001
request.validate();
89909002
let query = { };
9003+
if (!$dara.isNull(request.number)) {
9004+
query["Number"] = request.number;
9005+
}
9006+
89919007
if (!$dara.isNull(request.pageNumber)) {
89929008
query["PageNumber"] = request.pageNumber;
89939009
}
@@ -8996,6 +9012,10 @@ export default class Client extends OpenApi {
89969012
query["PageSize"] = request.pageSize;
89979013
}
89989014

9015+
if (!$dara.isNull(request.status)) {
9016+
query["Status"] = request.status;
9017+
}
9018+
89999019
let req = new $OpenApiUtil.OpenApiRequest({
90009020
query: OpenApiUtil.query(query),
90019021
});
@@ -10601,6 +10621,10 @@ export default class Client extends OpenApi {
1060110621
async listMediaBasicInfosWithOptions(request: $_model.ListMediaBasicInfosRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListMediaBasicInfosResponse> {
1060210622
request.validate();
1060310623
let query = { };
10624+
if (!$dara.isNull(request.authTimeout)) {
10625+
query["AuthTimeout"] = request.authTimeout;
10626+
}
10627+
1060410628
if (!$dara.isNull(request.businessType)) {
1060510629
query["BusinessType"] = request.businessType;
1060610630
}
@@ -14704,6 +14728,10 @@ export default class Client extends OpenApi {
1470414728
query["Config"] = request.configShrink;
1470514729
}
1470614730

14731+
if (!$dara.isNull(request.imsAIAgentFreeObCall)) {
14732+
query["ImsAIAgentFreeObCall"] = request.imsAIAgentFreeObCall;
14733+
}
14734+
1470714735
if (!$dara.isNull(request.sessionId)) {
1470814736
query["SessionId"] = request.sessionId;
1470914737
}
@@ -16013,7 +16041,7 @@ export default class Client extends OpenApi {
1601316041
}
1601416042

1601516043
/**
16016-
* 提交高光提取任务
16044+
* Submits a highlight extraction task.
1601716045
*
1601816046
* @param request - SubmitHighlightExtractionJobRequest
1601916047
* @param runtime - runtime options for this request RuntimeOptions
@@ -16058,7 +16086,7 @@ export default class Client extends OpenApi {
1605816086
}
1605916087

1606016088
/**
16061-
* 提交高光提取任务
16089+
* Submits a highlight extraction task.
1606216090
*
1606316091
* @param request - SubmitHighlightExtractionJobRequest
1606416092
* @returns SubmitHighlightExtractionJobResponse
@@ -16979,7 +17007,7 @@ export default class Client extends OpenApi {
1697917007
}
1698017008

1698117009
/**
16982-
* 提交高燃混剪任务
17010+
* Submits a task to automatically recognize the highlight segments in the video input and compile them into a dramatic and engaging clip.
1698317011
*
1698417012
* @param request - SubmitScreenMediaHighlightsJobRequest
1698517013
* @param runtime - runtime options for this request RuntimeOptions
@@ -17024,7 +17052,7 @@ export default class Client extends OpenApi {
1702417052
}
1702517053

1702617054
/**
17027-
* 提交高燃混剪任务
17055+
* Submits a task to automatically recognize the highlight segments in the video input and compile them into a dramatic and engaging clip.
1702817056
*
1702917057
* @param request - SubmitScreenMediaHighlightsJobRequest
1703017058
* @returns SubmitScreenMediaHighlightsJobResponse

ice-20201109/src/models/AiagentConfig.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { AIAgentConfigInterruptConfig } from "./AiagentConfigInterruptConfig";
66
import { AIAgentConfigLlmConfig } from "./AiagentConfigLlmConfig";
77
import { AIAgentConfigTtsConfig } from "./AiagentConfigTtsConfig";
88
import { AIAgentConfigTurnDetectionConfig } from "./AiagentConfigTurnDetectionConfig";
9+
import { AIAgentConfigVcrConfig } from "./AiagentConfigVcrConfig";
910
import { AIAgentConfigVoiceprintConfig } from "./AiagentConfigVoiceprintConfig";
1011

1112

@@ -26,6 +27,7 @@ export class AIAgentConfig extends $dara.Model {
2627
turnDetectionConfig?: AIAgentConfigTurnDetectionConfig;
2728
userOfflineTimeout?: number;
2829
userOnlineTimeout?: number;
30+
vcrConfig?: AIAgentConfigVcrConfig;
2931
voiceprintConfig?: AIAgentConfigVoiceprintConfig;
3032
volume?: number;
3133
wakeUpQuery?: string;
@@ -48,6 +50,7 @@ export class AIAgentConfig extends $dara.Model {
4850
turnDetectionConfig: 'TurnDetectionConfig',
4951
userOfflineTimeout: 'UserOfflineTimeout',
5052
userOnlineTimeout: 'UserOnlineTimeout',
53+
vcrConfig: 'VcrConfig',
5154
voiceprintConfig: 'VoiceprintConfig',
5255
volume: 'Volume',
5356
wakeUpQuery: 'WakeUpQuery',
@@ -73,6 +76,7 @@ export class AIAgentConfig extends $dara.Model {
7376
turnDetectionConfig: AIAgentConfigTurnDetectionConfig,
7477
userOfflineTimeout: 'number',
7578
userOnlineTimeout: 'number',
79+
vcrConfig: AIAgentConfigVcrConfig,
7680
voiceprintConfig: AIAgentConfigVoiceprintConfig,
7781
volume: 'number',
7882
wakeUpQuery: 'string',
@@ -99,6 +103,9 @@ export class AIAgentConfig extends $dara.Model {
99103
if(this.turnDetectionConfig && typeof (this.turnDetectionConfig as any).validate === 'function') {
100104
(this.turnDetectionConfig as any).validate();
101105
}
106+
if(this.vcrConfig && typeof (this.vcrConfig as any).validate === 'function') {
107+
(this.vcrConfig as any).validate();
108+
}
102109
if(this.voiceprintConfig && typeof (this.voiceprintConfig as any).validate === 'function') {
103110
(this.voiceprintConfig as any).validate();
104111
}

ice-20201109/src/models/AiagentConfigAsrConfig.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ export class AIAgentConfigAsrConfig extends $dara.Model {
88
asrHotWords?: string[];
99
asrLanguageId?: string;
1010
asrMaxSilence?: number;
11+
customParams?: string;
1112
vadLevel?: number;
1213
static names(): { [key: string]: string } {
1314
return {
1415
asrHotWords: 'AsrHotWords',
1516
asrLanguageId: 'AsrLanguageId',
1617
asrMaxSilence: 'AsrMaxSilence',
18+
customParams: 'CustomParams',
1719
vadLevel: 'VadLevel',
1820
};
1921
}
@@ -23,6 +25,7 @@ export class AIAgentConfigAsrConfig extends $dara.Model {
2325
asrHotWords: { 'type': 'array', 'itemType': 'string' },
2426
asrLanguageId: 'string',
2527
asrMaxSilence: 'number',
28+
customParams: 'string',
2629
vadLevel: 'number',
2730
};
2831
}

ice-20201109/src/models/AiagentConfigTtsConfig.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,32 @@
11
// This file is auto-generated, don't edit it
22
import * as $dara from '@darabonba/typescript';
3+
import { AIAgentConfigTtsConfigPronunciationRules } from "./AiagentConfigTtsConfigPronunciationRules";
34

45

56
export class AIAgentConfigTtsConfig extends $dara.Model {
7+
pronunciationRules?: AIAgentConfigTtsConfigPronunciationRules[];
68
voiceId?: string;
79
voiceIdList?: string[];
810
static names(): { [key: string]: string } {
911
return {
12+
pronunciationRules: 'PronunciationRules',
1013
voiceId: 'VoiceId',
1114
voiceIdList: 'VoiceIdList',
1215
};
1316
}
1417

1518
static types(): { [key: string]: any } {
1619
return {
20+
pronunciationRules: { 'type': 'array', 'itemType': AIAgentConfigTtsConfigPronunciationRules },
1721
voiceId: 'string',
1822
voiceIdList: { 'type': 'array', 'itemType': 'string' },
1923
};
2024
}
2125

2226
validate() {
27+
if(Array.isArray(this.pronunciationRules)) {
28+
$dara.Model.validateArray(this.pronunciationRules);
29+
}
2330
if(Array.isArray(this.voiceIdList)) {
2431
$dara.Model.validateArray(this.voiceIdList);
2532
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// This file is auto-generated, don't edit it
2+
import * as $dara from '@darabonba/typescript';
3+
4+
5+
export class AIAgentConfigTtsConfigPronunciationRules extends $dara.Model {
6+
pronunciation?: string;
7+
type?: string;
8+
word?: string;
9+
static names(): { [key: string]: string } {
10+
return {
11+
pronunciation: 'Pronunciation',
12+
type: 'Type',
13+
word: 'Word',
14+
};
15+
}
16+
17+
static types(): { [key: string]: any } {
18+
return {
19+
pronunciation: 'string',
20+
type: 'string',
21+
word: 'string',
22+
};
23+
}
24+
25+
validate() {
26+
super.validate();
27+
}
28+
29+
constructor(map?: { [key: string]: any }) {
30+
super(map);
31+
}
32+
}
33+

ice-20201109/src/models/AiagentConfigTurnDetectionConfig.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,21 @@ import * as $dara from '@darabonba/typescript';
33

44

55
export class AIAgentConfigTurnDetectionConfig extends $dara.Model {
6+
mode?: string;
7+
semanticWaitDuration?: number;
68
turnEndWords?: string[];
79
static names(): { [key: string]: string } {
810
return {
11+
mode: 'Mode',
12+
semanticWaitDuration: 'SemanticWaitDuration',
913
turnEndWords: 'TurnEndWords',
1014
};
1115
}
1216

1317
static types(): { [key: string]: any } {
1418
return {
19+
mode: 'string',
20+
semanticWaitDuration: 'number',
1521
turnEndWords: { 'type': 'array', 'itemType': 'string' },
1622
};
1723
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
// This file is auto-generated, don't edit it
2+
import * as $dara from '@darabonba/typescript';
3+
import { AIAgentConfigVcrConfigEquipment } from "./AiagentConfigVcrConfigEquipment";
4+
import { AIAgentConfigVcrConfigHeadMotion } from "./AiagentConfigVcrConfigHeadMotion";
5+
import { AIAgentConfigVcrConfigInvalidFrameMotion } from "./AiagentConfigVcrConfigInvalidFrameMotion";
6+
import { AIAgentConfigVcrConfigPeopleCount } from "./AiagentConfigVcrConfigPeopleCount";
7+
import { AIAgentConfigVcrConfigStillFrameMotion } from "./AiagentConfigVcrConfigStillFrameMotion";
8+
9+
10+
export class AIAgentConfigVcrConfig extends $dara.Model {
11+
equipment?: AIAgentConfigVcrConfigEquipment;
12+
headMotion?: AIAgentConfigVcrConfigHeadMotion;
13+
invalidFrameMotion?: AIAgentConfigVcrConfigInvalidFrameMotion;
14+
peopleCount?: AIAgentConfigVcrConfigPeopleCount;
15+
stillFrameMotion?: AIAgentConfigVcrConfigStillFrameMotion;
16+
static names(): { [key: string]: string } {
17+
return {
18+
equipment: 'Equipment',
19+
headMotion: 'HeadMotion',
20+
invalidFrameMotion: 'InvalidFrameMotion',
21+
peopleCount: 'PeopleCount',
22+
stillFrameMotion: 'StillFrameMotion',
23+
};
24+
}
25+
26+
static types(): { [key: string]: any } {
27+
return {
28+
equipment: AIAgentConfigVcrConfigEquipment,
29+
headMotion: AIAgentConfigVcrConfigHeadMotion,
30+
invalidFrameMotion: AIAgentConfigVcrConfigInvalidFrameMotion,
31+
peopleCount: AIAgentConfigVcrConfigPeopleCount,
32+
stillFrameMotion: AIAgentConfigVcrConfigStillFrameMotion,
33+
};
34+
}
35+
36+
validate() {
37+
if(this.equipment && typeof (this.equipment as any).validate === 'function') {
38+
(this.equipment as any).validate();
39+
}
40+
if(this.headMotion && typeof (this.headMotion as any).validate === 'function') {
41+
(this.headMotion as any).validate();
42+
}
43+
if(this.invalidFrameMotion && typeof (this.invalidFrameMotion as any).validate === 'function') {
44+
(this.invalidFrameMotion as any).validate();
45+
}
46+
if(this.peopleCount && typeof (this.peopleCount as any).validate === 'function') {
47+
(this.peopleCount as any).validate();
48+
}
49+
if(this.stillFrameMotion && typeof (this.stillFrameMotion as any).validate === 'function') {
50+
(this.stillFrameMotion as any).validate();
51+
}
52+
super.validate();
53+
}
54+
55+
constructor(map?: { [key: string]: any }) {
56+
super(map);
57+
}
58+
}
59+
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// This file is auto-generated, don't edit it
2+
import * as $dara from '@darabonba/typescript';
3+
4+
5+
export class AIAgentConfigVcrConfigEquipment extends $dara.Model {
6+
enabled?: boolean;
7+
static names(): { [key: string]: string } {
8+
return {
9+
enabled: 'Enabled',
10+
};
11+
}
12+
13+
static types(): { [key: string]: any } {
14+
return {
15+
enabled: 'boolean',
16+
};
17+
}
18+
19+
validate() {
20+
super.validate();
21+
}
22+
23+
constructor(map?: { [key: string]: any }) {
24+
super(map);
25+
}
26+
}
27+
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// This file is auto-generated, don't edit it
2+
import * as $dara from '@darabonba/typescript';
3+
4+
5+
export class AIAgentConfigVcrConfigHeadMotion extends $dara.Model {
6+
enabled?: boolean;
7+
static names(): { [key: string]: string } {
8+
return {
9+
enabled: 'Enabled',
10+
};
11+
}
12+
13+
static types(): { [key: string]: any } {
14+
return {
15+
enabled: 'boolean',
16+
};
17+
}
18+
19+
validate() {
20+
super.validate();
21+
}
22+
23+
constructor(map?: { [key: string]: any }) {
24+
super(map);
25+
}
26+
}
27+

0 commit comments

Comments
 (0)