@bitmovin/api-sdk 1.166.0 → 1.167.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/README.md +1 -1
- package/dist/bitmovin-api-sdk.browser.js +91 -88
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/encodings/EncodingListQueryParams.d.ts +4 -4
- package/dist/encoding/encodings/EncodingListQueryParams.js +2 -2
- package/dist/encoding/encodings/muxings/mp4/Mp4Api.d.ts +1 -1
- package/dist/encoding/encodings/muxings/mp4/Mp4Api.js +1 -1
- package/dist/models/AnalyticsLicense.d.ts +7 -1
- package/dist/models/AnalyticsLicense.js +1 -0
- package/dist/models/AnalyticsVirtualLicense.d.ts +6 -0
- package/dist/models/AnalyticsVirtualLicense.js +1 -0
- package/dist/models/Mp4Muxing.d.ts +1 -1
- package/dist/models/PrewarmedEncoderPool.d.ts +6 -0
- package/dist/models/PrewarmedEncoderPool.js +1 -0
- package/dist/models/StreamsLiveCreateRequest.d.ts +2 -2
- package/dist/models/StreamsLiveCreateRequest.js +1 -1
- package/dist/models/StreamsLiveResponse.d.ts +3 -3
- package/dist/models/StreamsLiveResponse.js +2 -2
- package/dist/models/StreamsLiveUpdateRequest.d.ts +2 -2
- package/dist/models/StreamsLiveUpdateRequest.js +1 -1
- package/dist/models/{StreamsConfigPlayerStyle.d.ts → StreamsStyleConfigPlayerStyle.d.ts} +11 -11
- package/dist/models/{StreamsConfigPlayerStyle.js → StreamsStyleConfigPlayerStyle.js} +7 -7
- package/dist/models/StreamsStyleConfigResponse.d.ts +38 -0
- package/dist/models/{StreamsConfigResponse.js → StreamsStyleConfigResponse.js} +9 -9
- package/dist/models/StreamsVideoCreateRequest.d.ts +2 -2
- package/dist/models/StreamsVideoCreateRequest.js +1 -1
- package/dist/models/StreamsVideoResponse.d.ts +3 -3
- package/dist/models/StreamsVideoResponse.js +2 -2
- package/dist/models/StreamsVideoUpdateRequest.d.ts +2 -2
- package/dist/models/StreamsVideoUpdateRequest.js +1 -1
- package/dist/models/index.d.ts +2 -2
- package/dist/models/index.js +2 -2
- package/dist/streams/live/LiveApi.d.ts +1 -1
- package/dist/streams/live/LiveApi.js +1 -1
- package/dist/streams/video/VideoApi.d.ts +1 -1
- package/dist/streams/video/VideoApi.js +1 -1
- package/package.json +1 -1
- package/dist/models/StreamsConfigResponse.d.ts +0 -38
|
@@ -240,7 +240,7 @@ var HeaderHandler = /** @class */ (function (_super) {
|
|
|
240
240
|
var headers = {
|
|
241
241
|
'X-Api-Key': apiKey,
|
|
242
242
|
'X-Api-Client': 'bitmovin-api-sdk-javascript',
|
|
243
|
-
'X-Api-Client-Version': '1.
|
|
243
|
+
'X-Api-Client-Version': '1.167.0',
|
|
244
244
|
'Content-Type': 'application/json'
|
|
245
245
|
};
|
|
246
246
|
if (tenantOrgId) {
|
|
@@ -14,13 +14,13 @@ export interface EncodingListQueryParams {
|
|
|
14
14
|
*/
|
|
15
15
|
limit?: number | undefined;
|
|
16
16
|
/**
|
|
17
|
-
* A boolean indicating whether the total count should be returned as well. Default is true
|
|
17
|
+
* A boolean indicating whether the total count should be returned as well. Default is false. Setting this flag to true is discouraged.
|
|
18
18
|
* @type {boolean}
|
|
19
19
|
* @memberof EncodingListQueryParams
|
|
20
20
|
*/
|
|
21
21
|
includeTotalCount?: boolean | undefined;
|
|
22
22
|
/**
|
|
23
|
-
* Order list result according an encoding resource attribute.
|
|
23
|
+
* Order list result according an encoding resource attribute. The fields that can be used for sorting are: + `id` + `startedAt` + `createdAt` + `modifiedAt` + `finishedAt` + `type` + `name` + `status` + `cloudRegion` + `encoderVersion`
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof EncodingListQueryParams
|
|
26
26
|
*/
|
|
@@ -130,12 +130,12 @@ export declare class EncodingListQueryParamsBuilder {
|
|
|
130
130
|
limit(limit: number): this;
|
|
131
131
|
/**
|
|
132
132
|
*
|
|
133
|
-
* @param includeTotalCount A boolean indicating whether the total count should be returned as well. Default is true
|
|
133
|
+
* @param includeTotalCount A boolean indicating whether the total count should be returned as well. Default is false. Setting this flag to true is discouraged.
|
|
134
134
|
*/
|
|
135
135
|
includeTotalCount(includeTotalCount: boolean): this;
|
|
136
136
|
/**
|
|
137
137
|
*
|
|
138
|
-
* @param sort Order list result according an encoding resource attribute.
|
|
138
|
+
* @param sort Order list result according an encoding resource attribute. The fields that can be used for sorting are: + `id` + `startedAt` + `createdAt` + `modifiedAt` + `finishedAt` + `type` + `name` + `status` + `cloudRegion` + `encoderVersion`
|
|
139
139
|
*/
|
|
140
140
|
sort(sort: string): this;
|
|
141
141
|
/**
|
|
@@ -23,7 +23,7 @@ var EncodingListQueryParamsBuilder = /** @class */ (function () {
|
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @param includeTotalCount A boolean indicating whether the total count should be returned as well. Default is true
|
|
26
|
+
* @param includeTotalCount A boolean indicating whether the total count should be returned as well. Default is false. Setting this flag to true is discouraged.
|
|
27
27
|
*/
|
|
28
28
|
EncodingListQueryParamsBuilder.prototype.includeTotalCount = function (includeTotalCount) {
|
|
29
29
|
this.internalParams.includeTotalCount = includeTotalCount;
|
|
@@ -31,7 +31,7 @@ var EncodingListQueryParamsBuilder = /** @class */ (function () {
|
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
|
-
* @param sort Order list result according an encoding resource attribute.
|
|
34
|
+
* @param sort Order list result according an encoding resource attribute. The fields that can be used for sorting are: + `id` + `startedAt` + `createdAt` + `modifiedAt` + `finishedAt` + `type` + `name` + `status` + `cloudRegion` + `encoderVersion`
|
|
35
35
|
*/
|
|
36
36
|
EncodingListQueryParamsBuilder.prototype.sort = function (sort) {
|
|
37
37
|
this.internalParams.sort = sort;
|
|
@@ -21,7 +21,7 @@ export default class Mp4Api extends BaseAPI {
|
|
|
21
21
|
/**
|
|
22
22
|
* @summary Add MP4 muxing
|
|
23
23
|
* @param {string} encodingId Id of the encoding.
|
|
24
|
-
* @param {Mp4Muxing} mp4Muxing The MP4 muxing to be created
|
|
24
|
+
* @param {Mp4Muxing} mp4Muxing The progressive MP4 muxing to be created
|
|
25
25
|
* @throws {BitmovinError}
|
|
26
26
|
* @memberof Mp4Api
|
|
27
27
|
*/
|
|
@@ -42,7 +42,7 @@ var Mp4Api = /** @class */ (function (_super) {
|
|
|
42
42
|
/**
|
|
43
43
|
* @summary Add MP4 muxing
|
|
44
44
|
* @param {string} encodingId Id of the encoding.
|
|
45
|
-
* @param {Mp4Muxing} mp4Muxing The MP4 muxing to be created
|
|
45
|
+
* @param {Mp4Muxing} mp4Muxing The progressive MP4 muxing to be created
|
|
46
46
|
* @throws {BitmovinError}
|
|
47
47
|
* @memberof Mp4Api
|
|
48
48
|
*/
|
|
@@ -13,7 +13,7 @@ export declare class AnalyticsLicense {
|
|
|
13
13
|
*/
|
|
14
14
|
id?: string;
|
|
15
15
|
/**
|
|
16
|
-
* Creation date of the Analytics License
|
|
16
|
+
* Creation date of the Analytics License, returned as ISO 8601 date-time format
|
|
17
17
|
* @type {Date}
|
|
18
18
|
* @memberof AnalyticsLicense
|
|
19
19
|
*/
|
|
@@ -121,6 +121,12 @@ export declare class AnalyticsLicense {
|
|
|
121
121
|
* @memberof AnalyticsLicense
|
|
122
122
|
*/
|
|
123
123
|
features?: AnalyticsLicenseFeatures;
|
|
124
|
+
/**
|
|
125
|
+
* The expiration date of the license if applicable, returned as ISO 8601 date-time format
|
|
126
|
+
* @type {Date}
|
|
127
|
+
* @memberof AnalyticsLicense
|
|
128
|
+
*/
|
|
129
|
+
planExpiredAt?: Date;
|
|
124
130
|
constructor(obj?: Partial<AnalyticsLicense>);
|
|
125
131
|
}
|
|
126
132
|
export default AnalyticsLicense;
|
|
@@ -33,6 +33,7 @@ var AnalyticsLicense = /** @class */ (function () {
|
|
|
33
33
|
this.orderIndex = (0, Mapper_1.map)(obj.orderIndex);
|
|
34
34
|
this.rateLimit = (0, Mapper_1.map)(obj.rateLimit);
|
|
35
35
|
this.features = (0, Mapper_1.map)(obj.features, AnalyticsLicenseFeatures_1.default);
|
|
36
|
+
this.planExpiredAt = (0, Mapper_1.map)(obj.planExpiredAt, Date);
|
|
36
37
|
}
|
|
37
38
|
return AnalyticsLicense;
|
|
38
39
|
}());
|
|
@@ -47,6 +47,12 @@ export declare class AnalyticsVirtualLicense {
|
|
|
47
47
|
* @memberof AnalyticsVirtualLicense
|
|
48
48
|
*/
|
|
49
49
|
customDataFieldLabels?: AnalyticsLicenseCustomDataFieldLabels;
|
|
50
|
+
/**
|
|
51
|
+
* The expiration date of the license if applicable, returned as ISO 8601 date-time format
|
|
52
|
+
* @type {Date}
|
|
53
|
+
* @memberof AnalyticsVirtualLicense
|
|
54
|
+
*/
|
|
55
|
+
planExpiredAt?: Date;
|
|
50
56
|
constructor(obj?: Partial<AnalyticsVirtualLicense>);
|
|
51
57
|
}
|
|
52
58
|
export default AnalyticsVirtualLicense;
|
|
@@ -20,6 +20,7 @@ var AnalyticsVirtualLicense = /** @class */ (function () {
|
|
|
20
20
|
this.licenses = (0, Mapper_1.mapArray)(obj.licenses, AnalyticsVirtualLicenseLicensesListItem_1.default);
|
|
21
21
|
this.customDataFieldsCount = (0, Mapper_1.map)(obj.customDataFieldsCount);
|
|
22
22
|
this.customDataFieldLabels = (0, Mapper_1.map)(obj.customDataFieldLabels, AnalyticsLicenseCustomDataFieldLabels_1.default);
|
|
23
|
+
this.planExpiredAt = (0, Mapper_1.map)(obj.planExpiredAt, Date);
|
|
23
24
|
}
|
|
24
25
|
return AnalyticsVirtualLicense;
|
|
25
26
|
}());
|
|
@@ -15,7 +15,7 @@ export declare class Mp4Muxing extends Muxing {
|
|
|
15
15
|
*/
|
|
16
16
|
readonly type: MuxingType;
|
|
17
17
|
/**
|
|
18
|
-
* Name of the output file
|
|
18
|
+
* Name of the output file (either `filename` or `name` is required, prefer `filename`)
|
|
19
19
|
* @type {string}
|
|
20
20
|
* @memberof Mp4Muxing
|
|
21
21
|
*/
|
|
@@ -37,6 +37,12 @@ export declare class PrewarmedEncoderPool extends BitmovinResource {
|
|
|
37
37
|
* @memberof PrewarmedEncoderPool
|
|
38
38
|
*/
|
|
39
39
|
targetPoolSize?: number;
|
|
40
|
+
/**
|
|
41
|
+
* Create pool with GPU instances for hardware encoding presets (e.g., VOD_HARDWARE_SHORTFORM).
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof PrewarmedEncoderPool
|
|
44
|
+
*/
|
|
45
|
+
gpuEnabled?: boolean;
|
|
40
46
|
/**
|
|
41
47
|
* Current status of the pool.
|
|
42
48
|
* @type {PrewarmedEncoderPoolStatus}
|
|
@@ -34,6 +34,7 @@ var PrewarmedEncoderPool = /** @class */ (function (_super) {
|
|
|
34
34
|
_this.infrastructureId = (0, Mapper_1.map)(obj.infrastructureId);
|
|
35
35
|
_this.diskSize = (0, Mapper_1.map)(obj.diskSize);
|
|
36
36
|
_this.targetPoolSize = (0, Mapper_1.map)(obj.targetPoolSize);
|
|
37
|
+
_this.gpuEnabled = (0, Mapper_1.map)(obj.gpuEnabled);
|
|
37
38
|
_this.status = (0, Mapper_1.map)(obj.status);
|
|
38
39
|
return _this;
|
|
39
40
|
}
|
|
@@ -16,11 +16,11 @@ export declare class StreamsLiveCreateRequest {
|
|
|
16
16
|
*/
|
|
17
17
|
description?: string;
|
|
18
18
|
/**
|
|
19
|
-
* Id of the
|
|
19
|
+
* Id of the style config to use
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof StreamsLiveCreateRequest
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
styleConfigId?: string;
|
|
24
24
|
/**
|
|
25
25
|
* Id of the advertisement config to use
|
|
26
26
|
* @type {string}
|
|
@@ -13,7 +13,7 @@ var StreamsLiveCreateRequest = /** @class */ (function () {
|
|
|
13
13
|
}
|
|
14
14
|
this.title = (0, Mapper_1.map)(obj.title);
|
|
15
15
|
this.description = (0, Mapper_1.map)(obj.description);
|
|
16
|
-
this.
|
|
16
|
+
this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
|
|
17
17
|
this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
|
|
18
18
|
}
|
|
19
19
|
return StreamsLiveCreateRequest;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import StreamsAdConfigResponse from './StreamsAdConfigResponse';
|
|
2
|
-
import StreamsConfigResponse from './StreamsConfigResponse';
|
|
3
2
|
import StreamsContentProtectionResponse from './StreamsContentProtectionResponse';
|
|
4
3
|
import StreamsLiveLifeCycle from './StreamsLiveLifeCycle';
|
|
4
|
+
import StreamsStyleConfigResponse from './StreamsStyleConfigResponse';
|
|
5
5
|
/**
|
|
6
6
|
* @export
|
|
7
7
|
* @class StreamsLiveResponse
|
|
@@ -44,10 +44,10 @@ export declare class StreamsLiveResponse {
|
|
|
44
44
|
*/
|
|
45
45
|
lifeCycle?: StreamsLiveLifeCycle;
|
|
46
46
|
/**
|
|
47
|
-
* @type {
|
|
47
|
+
* @type {StreamsStyleConfigResponse}
|
|
48
48
|
* @memberof StreamsLiveResponse
|
|
49
49
|
*/
|
|
50
|
-
|
|
50
|
+
styleConfig?: StreamsStyleConfigResponse;
|
|
51
51
|
/**
|
|
52
52
|
* Poster URL
|
|
53
53
|
* @type {string}
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StreamsLiveResponse = void 0;
|
|
4
4
|
var Mapper_1 = require("../common/Mapper");
|
|
5
5
|
var StreamsAdConfigResponse_1 = require("./StreamsAdConfigResponse");
|
|
6
|
-
var StreamsConfigResponse_1 = require("./StreamsConfigResponse");
|
|
7
6
|
var StreamsContentProtectionResponse_1 = require("./StreamsContentProtectionResponse");
|
|
7
|
+
var StreamsStyleConfigResponse_1 = require("./StreamsStyleConfigResponse");
|
|
8
8
|
/**
|
|
9
9
|
* @export
|
|
10
10
|
* @class StreamsLiveResponse
|
|
@@ -20,7 +20,7 @@ var StreamsLiveResponse = /** @class */ (function () {
|
|
|
20
20
|
this.description = (0, Mapper_1.map)(obj.description);
|
|
21
21
|
this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
|
|
22
22
|
this.lifeCycle = (0, Mapper_1.map)(obj.lifeCycle);
|
|
23
|
-
this.
|
|
23
|
+
this.styleConfig = (0, Mapper_1.map)(obj.styleConfig, StreamsStyleConfigResponse_1.default);
|
|
24
24
|
this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
25
25
|
this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
26
26
|
this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
|
|
@@ -16,11 +16,11 @@ export declare class StreamsLiveUpdateRequest {
|
|
|
16
16
|
*/
|
|
17
17
|
description?: string;
|
|
18
18
|
/**
|
|
19
|
-
* Id of the
|
|
19
|
+
* Id of the style config to use
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof StreamsLiveUpdateRequest
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
styleConfigId?: string;
|
|
24
24
|
/**
|
|
25
25
|
* URL to hosted poster image
|
|
26
26
|
* @type {string}
|
|
@@ -13,7 +13,7 @@ var StreamsLiveUpdateRequest = /** @class */ (function () {
|
|
|
13
13
|
}
|
|
14
14
|
this.title = (0, Mapper_1.map)(obj.title);
|
|
15
15
|
this.description = (0, Mapper_1.map)(obj.description);
|
|
16
|
-
this.
|
|
16
|
+
this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
|
|
17
17
|
this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
18
18
|
this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
|
|
19
19
|
this.contentProtectionId = (0, Mapper_1.map)(obj.contentProtectionId);
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Player style config
|
|
3
3
|
* @export
|
|
4
|
-
* @class
|
|
4
|
+
* @class StreamsStyleConfigPlayerStyle
|
|
5
5
|
*/
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class StreamsStyleConfigPlayerStyle {
|
|
7
7
|
/**
|
|
8
8
|
* Playback marker background color
|
|
9
9
|
* @type {string}
|
|
10
|
-
* @memberof
|
|
10
|
+
* @memberof StreamsStyleConfigPlayerStyle
|
|
11
11
|
*/
|
|
12
12
|
playbackMarkerBgColor?: string;
|
|
13
13
|
/**
|
|
14
14
|
* Playback marker border color
|
|
15
15
|
* @type {string}
|
|
16
|
-
* @memberof
|
|
16
|
+
* @memberof StreamsStyleConfigPlayerStyle
|
|
17
17
|
*/
|
|
18
18
|
playbackMarkerBorderColor?: string;
|
|
19
19
|
/**
|
|
20
20
|
* Playback track played color
|
|
21
21
|
* @type {string}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof StreamsStyleConfigPlayerStyle
|
|
23
23
|
*/
|
|
24
24
|
playbackTrackPlayedColor?: string;
|
|
25
25
|
/**
|
|
26
26
|
* Playback track buffered color
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @memberof
|
|
28
|
+
* @memberof StreamsStyleConfigPlayerStyle
|
|
29
29
|
*/
|
|
30
30
|
playbackTrackBufferedColor?: string;
|
|
31
31
|
/**
|
|
32
32
|
* Playback track background color
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @memberof
|
|
34
|
+
* @memberof StreamsStyleConfigPlayerStyle
|
|
35
35
|
*/
|
|
36
36
|
playbackTrackBgColor?: string;
|
|
37
37
|
/**
|
|
38
38
|
* Text color
|
|
39
39
|
* @type {string}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof StreamsStyleConfigPlayerStyle
|
|
41
41
|
*/
|
|
42
42
|
textColor?: string;
|
|
43
43
|
/**
|
|
44
44
|
* Background color
|
|
45
45
|
* @type {string}
|
|
46
|
-
* @memberof
|
|
46
|
+
* @memberof StreamsStyleConfigPlayerStyle
|
|
47
47
|
*/
|
|
48
48
|
backgroundColor?: string;
|
|
49
|
-
constructor(obj?: Partial<
|
|
49
|
+
constructor(obj?: Partial<StreamsStyleConfigPlayerStyle>);
|
|
50
50
|
}
|
|
51
|
-
export default
|
|
51
|
+
export default StreamsStyleConfigPlayerStyle;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.StreamsStyleConfigPlayerStyle = void 0;
|
|
4
4
|
var Mapper_1 = require("../common/Mapper");
|
|
5
5
|
/**
|
|
6
6
|
* Player style config
|
|
7
7
|
* @export
|
|
8
|
-
* @class
|
|
8
|
+
* @class StreamsStyleConfigPlayerStyle
|
|
9
9
|
*/
|
|
10
|
-
var
|
|
11
|
-
function
|
|
10
|
+
var StreamsStyleConfigPlayerStyle = /** @class */ (function () {
|
|
11
|
+
function StreamsStyleConfigPlayerStyle(obj) {
|
|
12
12
|
if (!obj) {
|
|
13
13
|
return;
|
|
14
14
|
}
|
|
@@ -20,7 +20,7 @@ var StreamsConfigPlayerStyle = /** @class */ (function () {
|
|
|
20
20
|
this.textColor = (0, Mapper_1.map)(obj.textColor);
|
|
21
21
|
this.backgroundColor = (0, Mapper_1.map)(obj.backgroundColor);
|
|
22
22
|
}
|
|
23
|
-
return
|
|
23
|
+
return StreamsStyleConfigPlayerStyle;
|
|
24
24
|
}());
|
|
25
|
-
exports.
|
|
26
|
-
exports.default =
|
|
25
|
+
exports.StreamsStyleConfigPlayerStyle = StreamsStyleConfigPlayerStyle;
|
|
26
|
+
exports.default = StreamsStyleConfigPlayerStyle;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import StreamsStyleConfigPlayerStyle from './StreamsStyleConfigPlayerStyle';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class StreamsStyleConfigResponse
|
|
5
|
+
*/
|
|
6
|
+
export declare class StreamsStyleConfigResponse {
|
|
7
|
+
/**
|
|
8
|
+
* The identifier of the style config
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @memberof StreamsStyleConfigResponse
|
|
11
|
+
*/
|
|
12
|
+
id?: string;
|
|
13
|
+
/**
|
|
14
|
+
* UUID of the associated organization
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof StreamsStyleConfigResponse
|
|
17
|
+
*/
|
|
18
|
+
orgId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @type {StreamsStyleConfigPlayerStyle}
|
|
21
|
+
* @memberof StreamsStyleConfigResponse
|
|
22
|
+
*/
|
|
23
|
+
playerStyle?: StreamsStyleConfigPlayerStyle;
|
|
24
|
+
/**
|
|
25
|
+
* URL of the watermark image
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StreamsStyleConfigResponse
|
|
28
|
+
*/
|
|
29
|
+
watermarkUrl?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Target link of the watermark image
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof StreamsStyleConfigResponse
|
|
34
|
+
*/
|
|
35
|
+
watermarkTargetLink?: string;
|
|
36
|
+
constructor(obj?: Partial<StreamsStyleConfigResponse>);
|
|
37
|
+
}
|
|
38
|
+
export default StreamsStyleConfigResponse;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.StreamsStyleConfigResponse = void 0;
|
|
4
4
|
var Mapper_1 = require("../common/Mapper");
|
|
5
|
-
var
|
|
5
|
+
var StreamsStyleConfigPlayerStyle_1 = require("./StreamsStyleConfigPlayerStyle");
|
|
6
6
|
/**
|
|
7
7
|
* @export
|
|
8
|
-
* @class
|
|
8
|
+
* @class StreamsStyleConfigResponse
|
|
9
9
|
*/
|
|
10
|
-
var
|
|
11
|
-
function
|
|
10
|
+
var StreamsStyleConfigResponse = /** @class */ (function () {
|
|
11
|
+
function StreamsStyleConfigResponse(obj) {
|
|
12
12
|
if (!obj) {
|
|
13
13
|
return;
|
|
14
14
|
}
|
|
15
15
|
this.id = (0, Mapper_1.map)(obj.id);
|
|
16
16
|
this.orgId = (0, Mapper_1.map)(obj.orgId);
|
|
17
|
-
this.playerStyle = (0, Mapper_1.map)(obj.playerStyle,
|
|
17
|
+
this.playerStyle = (0, Mapper_1.map)(obj.playerStyle, StreamsStyleConfigPlayerStyle_1.default);
|
|
18
18
|
this.watermarkUrl = (0, Mapper_1.map)(obj.watermarkUrl);
|
|
19
19
|
this.watermarkTargetLink = (0, Mapper_1.map)(obj.watermarkTargetLink);
|
|
20
20
|
}
|
|
21
|
-
return
|
|
21
|
+
return StreamsStyleConfigResponse;
|
|
22
22
|
}());
|
|
23
|
-
exports.
|
|
24
|
-
exports.default =
|
|
23
|
+
exports.StreamsStyleConfigResponse = StreamsStyleConfigResponse;
|
|
24
|
+
exports.default = StreamsStyleConfigResponse;
|
|
@@ -22,11 +22,11 @@ export declare class StreamsVideoCreateRequest {
|
|
|
22
22
|
*/
|
|
23
23
|
description?: string;
|
|
24
24
|
/**
|
|
25
|
-
* Id of the
|
|
25
|
+
* Id of the style config to use
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof StreamsVideoCreateRequest
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
styleConfigId?: string;
|
|
30
30
|
/**
|
|
31
31
|
* Id of the advertisement config to use
|
|
32
32
|
* @type {string}
|
|
@@ -14,7 +14,7 @@ var StreamsVideoCreateRequest = /** @class */ (function () {
|
|
|
14
14
|
this.assetUrl = (0, Mapper_1.map)(obj.assetUrl);
|
|
15
15
|
this.title = (0, Mapper_1.map)(obj.title);
|
|
16
16
|
this.description = (0, Mapper_1.map)(obj.description);
|
|
17
|
-
this.
|
|
17
|
+
this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
|
|
18
18
|
this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
|
|
19
19
|
}
|
|
20
20
|
return StreamsVideoCreateRequest;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import StreamsAdConfigResponse from './StreamsAdConfigResponse';
|
|
2
|
-
import StreamsConfigResponse from './StreamsConfigResponse';
|
|
3
2
|
import StreamsContentProtectionResponse from './StreamsContentProtectionResponse';
|
|
3
|
+
import StreamsStyleConfigResponse from './StreamsStyleConfigResponse';
|
|
4
4
|
import StreamsVideoEncodingTask from './StreamsVideoEncodingTask';
|
|
5
5
|
import StreamsVideoStatus from './StreamsVideoStatus';
|
|
6
6
|
/**
|
|
@@ -45,10 +45,10 @@ export declare class StreamsVideoResponse {
|
|
|
45
45
|
*/
|
|
46
46
|
status?: StreamsVideoStatus;
|
|
47
47
|
/**
|
|
48
|
-
* @type {
|
|
48
|
+
* @type {StreamsStyleConfigResponse}
|
|
49
49
|
* @memberof StreamsVideoResponse
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
styleConfig?: StreamsStyleConfigResponse;
|
|
52
52
|
/**
|
|
53
53
|
* List of encoding status information
|
|
54
54
|
* @type {StreamsVideoEncodingTask[]}
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StreamsVideoResponse = void 0;
|
|
4
4
|
var Mapper_1 = require("../common/Mapper");
|
|
5
5
|
var StreamsAdConfigResponse_1 = require("./StreamsAdConfigResponse");
|
|
6
|
-
var StreamsConfigResponse_1 = require("./StreamsConfigResponse");
|
|
7
6
|
var StreamsContentProtectionResponse_1 = require("./StreamsContentProtectionResponse");
|
|
7
|
+
var StreamsStyleConfigResponse_1 = require("./StreamsStyleConfigResponse");
|
|
8
8
|
var StreamsVideoEncodingTask_1 = require("./StreamsVideoEncodingTask");
|
|
9
9
|
/**
|
|
10
10
|
* @export
|
|
@@ -21,7 +21,7 @@ var StreamsVideoResponse = /** @class */ (function () {
|
|
|
21
21
|
this.description = (0, Mapper_1.map)(obj.description);
|
|
22
22
|
this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
|
|
23
23
|
this.status = (0, Mapper_1.map)(obj.status);
|
|
24
|
-
this.
|
|
24
|
+
this.styleConfig = (0, Mapper_1.map)(obj.styleConfig, StreamsStyleConfigResponse_1.default);
|
|
25
25
|
this.encodingTasks = (0, Mapper_1.mapArray)(obj.encodingTasks, StreamsVideoEncodingTask_1.default);
|
|
26
26
|
this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
27
27
|
this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
@@ -23,11 +23,11 @@ export declare class StreamsVideoUpdateRequest {
|
|
|
23
23
|
*/
|
|
24
24
|
description?: string;
|
|
25
25
|
/**
|
|
26
|
-
* Id of the
|
|
26
|
+
* Id of the style config to use
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof StreamsVideoUpdateRequest
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
styleConfigId?: string;
|
|
31
31
|
/**
|
|
32
32
|
* URL to hosted poster image
|
|
33
33
|
* @type {string}
|
|
@@ -14,7 +14,7 @@ var StreamsVideoUpdateRequest = /** @class */ (function () {
|
|
|
14
14
|
this.status = (0, Mapper_1.map)(obj.status);
|
|
15
15
|
this.title = (0, Mapper_1.map)(obj.title);
|
|
16
16
|
this.description = (0, Mapper_1.map)(obj.description);
|
|
17
|
-
this.
|
|
17
|
+
this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
|
|
18
18
|
this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
19
19
|
this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
|
|
20
20
|
this.contentProtectionId = (0, Mapper_1.map)(obj.contentProtectionId);
|
package/dist/models/index.d.ts
CHANGED
|
@@ -700,13 +700,13 @@ export * from './StreamPerTitleSettings';
|
|
|
700
700
|
export * from './StreamSelectionMode';
|
|
701
701
|
export * from './StreamsAdConfigAd';
|
|
702
702
|
export * from './StreamsAdConfigResponse';
|
|
703
|
-
export * from './StreamsConfigPlayerStyle';
|
|
704
|
-
export * from './StreamsConfigResponse';
|
|
705
703
|
export * from './StreamsContentProtectionResponse';
|
|
706
704
|
export * from './StreamsLiveCreateRequest';
|
|
707
705
|
export * from './StreamsLiveLifeCycle';
|
|
708
706
|
export * from './StreamsLiveResponse';
|
|
709
707
|
export * from './StreamsLiveUpdateRequest';
|
|
708
|
+
export * from './StreamsStyleConfigPlayerStyle';
|
|
709
|
+
export * from './StreamsStyleConfigResponse';
|
|
710
710
|
export * from './StreamsVideoCreateRequest';
|
|
711
711
|
export * from './StreamsVideoEncodingStatus';
|
|
712
712
|
export * from './StreamsVideoEncodingTask';
|
package/dist/models/index.js
CHANGED
|
@@ -716,13 +716,13 @@ __exportStar(require("./StreamPerTitleSettings"), exports);
|
|
|
716
716
|
__exportStar(require("./StreamSelectionMode"), exports);
|
|
717
717
|
__exportStar(require("./StreamsAdConfigAd"), exports);
|
|
718
718
|
__exportStar(require("./StreamsAdConfigResponse"), exports);
|
|
719
|
-
__exportStar(require("./StreamsConfigPlayerStyle"), exports);
|
|
720
|
-
__exportStar(require("./StreamsConfigResponse"), exports);
|
|
721
719
|
__exportStar(require("./StreamsContentProtectionResponse"), exports);
|
|
722
720
|
__exportStar(require("./StreamsLiveCreateRequest"), exports);
|
|
723
721
|
__exportStar(require("./StreamsLiveLifeCycle"), exports);
|
|
724
722
|
__exportStar(require("./StreamsLiveResponse"), exports);
|
|
725
723
|
__exportStar(require("./StreamsLiveUpdateRequest"), exports);
|
|
724
|
+
__exportStar(require("./StreamsStyleConfigPlayerStyle"), exports);
|
|
725
|
+
__exportStar(require("./StreamsStyleConfigResponse"), exports);
|
|
726
726
|
__exportStar(require("./StreamsVideoCreateRequest"), exports);
|
|
727
727
|
__exportStar(require("./StreamsVideoEncodingStatus"), exports);
|
|
728
728
|
__exportStar(require("./StreamsVideoEncodingTask"), exports);
|
|
@@ -49,7 +49,7 @@ export default class LiveApi extends BaseAPI {
|
|
|
49
49
|
/**
|
|
50
50
|
* @summary Update live stream by id
|
|
51
51
|
* @param {string} streamId Id of the stream.
|
|
52
|
-
* @param {StreamsLiveUpdateRequest} streamsLiveUpdateRequest The updated
|
|
52
|
+
* @param {StreamsLiveUpdateRequest} streamsLiveUpdateRequest The updated Streams live object.
|
|
53
53
|
* @throws {BitmovinError}
|
|
54
54
|
* @memberof LiveApi
|
|
55
55
|
*/
|
|
@@ -97,7 +97,7 @@ var LiveApi = /** @class */ (function (_super) {
|
|
|
97
97
|
/**
|
|
98
98
|
* @summary Update live stream by id
|
|
99
99
|
* @param {string} streamId Id of the stream.
|
|
100
|
-
* @param {StreamsLiveUpdateRequest} streamsLiveUpdateRequest The updated
|
|
100
|
+
* @param {StreamsLiveUpdateRequest} streamsLiveUpdateRequest The updated Streams live object.
|
|
101
101
|
* @throws {BitmovinError}
|
|
102
102
|
* @memberof LiveApi
|
|
103
103
|
*/
|
|
@@ -35,7 +35,7 @@ export default class VideoApi extends BaseAPI {
|
|
|
35
35
|
*/
|
|
36
36
|
list(queryParameters?: StreamsVideoResponseListQueryParams | ((q: StreamsVideoResponseListQueryParamsBuilder) => StreamsVideoResponseListQueryParamsBuilder)): Promise<PaginationResponse<StreamsVideoResponse>>;
|
|
37
37
|
/**
|
|
38
|
-
* @summary Partially update stream
|
|
38
|
+
* @summary Partially update video stream by id
|
|
39
39
|
* @param {string} streamId Id of the stream.
|
|
40
40
|
* @param {StreamsVideoUpdateRequest} streamsVideoUpdateRequest Stream fields to update.
|
|
41
41
|
* @throws {BitmovinError}
|
|
@@ -75,7 +75,7 @@ var VideoApi = /** @class */ (function (_super) {
|
|
|
75
75
|
});
|
|
76
76
|
};
|
|
77
77
|
/**
|
|
78
|
-
* @summary Partially update stream
|
|
78
|
+
* @summary Partially update video stream by id
|
|
79
79
|
* @param {string} streamId Id of the stream.
|
|
80
80
|
* @param {StreamsVideoUpdateRequest} streamsVideoUpdateRequest Stream fields to update.
|
|
81
81
|
* @throws {BitmovinError}
|