@alicloud/live20161101 2.2.0 → 2.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 +35 -0
- package/dist/client.js +76 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AddCustomLiveStreamTranscodeRequest.d.ts +1 -0
- package/dist/models/AddCustomLiveStreamTranscodeRequest.js +2 -0
- package/dist/models/AddCustomLiveStreamTranscodeRequest.js.map +1 -1
- package/dist/models/DescribeLiveStreamTranscodeInfoResponseBody.d.ts +1 -0
- package/dist/models/DescribeLiveStreamTranscodeInfoResponseBody.js +2 -0
- package/dist/models/DescribeLiveStreamTranscodeInfoResponseBody.js.map +1 -1
- package/dist/models/PutRecordStorageLifeCycleRequest.d.ts +37 -0
- package/dist/models/PutRecordStorageLifeCycleRequest.js +65 -0
- package/dist/models/PutRecordStorageLifeCycleRequest.js.map +1 -0
- package/dist/models/PutRecordStorageLifeCycleResponse.d.ts +19 -0
- package/dist/models/PutRecordStorageLifeCycleResponse.js +69 -0
- package/dist/models/PutRecordStorageLifeCycleResponse.js.map +1 -0
- package/dist/models/PutRecordStorageLifeCycleResponseBody.d.ts +28 -0
- package/dist/models/PutRecordStorageLifeCycleResponseBody.js +62 -0
- package/dist/models/PutRecordStorageLifeCycleResponseBody.js.map +1 -0
- package/dist/models/PutRecordStorageLifeCycleShrinkRequest.d.ts +37 -0
- package/dist/models/PutRecordStorageLifeCycleShrinkRequest.js +62 -0
- package/dist/models/PutRecordStorageLifeCycleShrinkRequest.js.map +1 -0
- package/dist/models/UpdateCustomLiveStreamTranscodeRequest.d.ts +1 -0
- package/dist/models/UpdateCustomLiveStreamTranscodeRequest.js +2 -0
- package/dist/models/UpdateCustomLiveStreamTranscodeRequest.js.map +1 -1
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +15 -7
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +84 -0
- package/src/models/AddCustomLiveStreamTranscodeRequest.ts +3 -0
- package/src/models/DescribeLiveStreamTranscodeInfoResponseBody.ts +3 -0
- package/src/models/PutRecordStorageLifeCycleRequest.ts +57 -0
- package/src/models/PutRecordStorageLifeCycleResponse.ts +40 -0
- package/src/models/PutRecordStorageLifeCycleResponseBody.ts +45 -0
- package/src/models/PutRecordStorageLifeCycleShrinkRequest.ts +54 -0
- package/src/models/UpdateCustomLiveStreamTranscodeRequest.ts +3 -0
- package/src/models/model.ts +4 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class PutRecordStorageLifeCycleRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* stream-xxx
|
|
12
|
+
*/
|
|
13
|
+
streamIds?: string[];
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 1095days
|
|
20
|
+
*/
|
|
21
|
+
tag?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* This parameter is required.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 1758621407
|
|
28
|
+
*/
|
|
29
|
+
unixTimestamp?: number;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
streamIds: 'StreamIds',
|
|
33
|
+
tag: 'Tag',
|
|
34
|
+
unixTimestamp: 'UnixTimestamp',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
streamIds: { 'type': 'array', 'itemType': 'string' },
|
|
41
|
+
tag: 'string',
|
|
42
|
+
unixTimestamp: 'number',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
if(Array.isArray(this.streamIds)) {
|
|
48
|
+
$dara.Model.validateArray(this.streamIds);
|
|
49
|
+
}
|
|
50
|
+
super.validate();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
constructor(map?: { [key: string]: any }) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { PutRecordStorageLifeCycleResponseBody } from "./PutRecordStorageLifeCycleResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class PutRecordStorageLifeCycleResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: PutRecordStorageLifeCycleResponseBody;
|
|
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: PutRecordStorageLifeCycleResponseBody,
|
|
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,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class PutRecordStorageLifeCycleResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 0
|
|
9
|
+
*/
|
|
10
|
+
code?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* success
|
|
14
|
+
*/
|
|
15
|
+
msg?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8
|
|
19
|
+
*/
|
|
20
|
+
requestId?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
code: 'Code',
|
|
24
|
+
msg: 'Msg',
|
|
25
|
+
requestId: 'RequestId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
code: 'number',
|
|
32
|
+
msg: 'string',
|
|
33
|
+
requestId: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class PutRecordStorageLifeCycleShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* stream-xxx
|
|
12
|
+
*/
|
|
13
|
+
streamIdsShrink?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 1095days
|
|
20
|
+
*/
|
|
21
|
+
tag?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* This parameter is required.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 1758621407
|
|
28
|
+
*/
|
|
29
|
+
unixTimestamp?: number;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
streamIdsShrink: 'StreamIds',
|
|
33
|
+
tag: 'Tag',
|
|
34
|
+
unixTimestamp: 'UnixTimestamp',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
streamIdsShrink: 'string',
|
|
41
|
+
tag: 'string',
|
|
42
|
+
unixTimestamp: 'number',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -74,6 +74,7 @@ export class UpdateCustomLiveStreamTranscodeRequest extends $dara.Model {
|
|
|
74
74
|
* {\\"UpLimit\\":2500,\\"LowerLimit\\":800,\\"Factor\\":1}
|
|
75
75
|
*/
|
|
76
76
|
bitrateWithSource?: string;
|
|
77
|
+
deInterlaced?: boolean;
|
|
77
78
|
/**
|
|
78
79
|
* @remarks
|
|
79
80
|
* Streamer domain name, unmodifiable.
|
|
@@ -239,6 +240,7 @@ export class UpdateCustomLiveStreamTranscodeRequest extends $dara.Model {
|
|
|
239
240
|
audioProfile: 'AudioProfile',
|
|
240
241
|
audioRate: 'AudioRate',
|
|
241
242
|
bitrateWithSource: 'BitrateWithSource',
|
|
243
|
+
deInterlaced: 'DeInterlaced',
|
|
242
244
|
domain: 'Domain',
|
|
243
245
|
encryptParameters: 'EncryptParameters',
|
|
244
246
|
extWithSource: 'ExtWithSource',
|
|
@@ -267,6 +269,7 @@ export class UpdateCustomLiveStreamTranscodeRequest extends $dara.Model {
|
|
|
267
269
|
audioProfile: 'string',
|
|
268
270
|
audioRate: 'number',
|
|
269
271
|
bitrateWithSource: 'string',
|
|
272
|
+
deInterlaced: 'boolean',
|
|
270
273
|
domain: 'string',
|
|
271
274
|
encryptParameters: 'string',
|
|
272
275
|
extWithSource: 'string',
|
package/src/models/model.ts
CHANGED
|
@@ -1544,6 +1544,10 @@ export { PlayChoosenShowResponse } from './PlayChoosenShowResponse';
|
|
|
1544
1544
|
export { PublishLiveStagingConfigToProductionRequest } from './PublishLiveStagingConfigToProductionRequest';
|
|
1545
1545
|
export { PublishLiveStagingConfigToProductionResponseBody } from './PublishLiveStagingConfigToProductionResponseBody';
|
|
1546
1546
|
export { PublishLiveStagingConfigToProductionResponse } from './PublishLiveStagingConfigToProductionResponse';
|
|
1547
|
+
export { PutRecordStorageLifeCycleRequest } from './PutRecordStorageLifeCycleRequest';
|
|
1548
|
+
export { PutRecordStorageLifeCycleShrinkRequest } from './PutRecordStorageLifeCycleShrinkRequest';
|
|
1549
|
+
export { PutRecordStorageLifeCycleResponseBody } from './PutRecordStorageLifeCycleResponseBody';
|
|
1550
|
+
export { PutRecordStorageLifeCycleResponse } from './PutRecordStorageLifeCycleResponse';
|
|
1547
1551
|
export { QueryLiveDomainMultiStreamListRequest } from './QueryLiveDomainMultiStreamListRequest';
|
|
1548
1552
|
export { QueryLiveDomainMultiStreamListResponseBody } from './QueryLiveDomainMultiStreamListResponseBody';
|
|
1549
1553
|
export { QueryLiveDomainMultiStreamListResponse } from './QueryLiveDomainMultiStreamListResponse';
|