@bitmovin/api-sdk 1.164.0 → 1.165.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 -15
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +2 -2
- package/dist/encoding/encodings/EncodingsApi.d.ts +1 -1
- package/dist/encoding/encodings/EncodingsApi.js +1 -1
- package/dist/encoding/manifests/dash/DashApi.d.ts +3 -3
- package/dist/encoding/manifests/dash/DashApi.js +3 -3
- package/dist/encoding/manifests/hls/HlsApi.d.ts +3 -3
- package/dist/encoding/manifests/hls/HlsApi.js +3 -3
- package/dist/encoding/manifests/smooth/SmoothApi.d.ts +3 -3
- package/dist/encoding/manifests/smooth/SmoothApi.js +3 -3
- package/dist/models/DashManifestDefault.d.ts +2 -2
- package/dist/models/HlsManifestDefault.d.ts +2 -2
- package/dist/models/SmoothManifestDefault.d.ts +2 -2
- package/dist/models/StartEncodingRequest.d.ts +5 -5
- package/dist/models/StartLiveEncodingRequest.d.ts +2 -2
- package/dist/models/StreamsConfigPlayerStyle.d.ts +51 -0
- package/dist/models/StreamsConfigPlayerStyle.js +26 -0
- package/dist/models/StreamsConfigResponse.d.ts +3 -3
- package/dist/models/StreamsConfigResponse.js +2 -1
- package/dist/models/StreamsContentProtectionResponse.d.ts +26 -0
- package/dist/models/StreamsContentProtectionResponse.js +21 -0
- package/dist/models/StreamsLiveResponse.d.ts +6 -0
- package/dist/models/StreamsLiveResponse.js +2 -0
- package/dist/models/StreamsVideoResponse.d.ts +6 -0
- package/dist/models/StreamsVideoResponse.js +2 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/notifications/webhooks/encoding/manifest/error/ErrorApi.d.ts +1 -1
- package/dist/notifications/webhooks/encoding/manifest/error/ErrorApi.js +1 -1
- package/dist/notifications/webhooks/encoding/manifest/finished/FinishedApi.d.ts +1 -1
- package/dist/notifications/webhooks/encoding/manifest/finished/FinishedApi.js +1 -1
- package/package.json +1 -1
|
@@ -74,7 +74,7 @@ function queryParams(params) {
|
|
|
74
74
|
var addSeperator = false;
|
|
75
75
|
for (var _i = 0, _a = Object.keys(params); _i < _a.length; _i++) {
|
|
76
76
|
var key = _a[_i];
|
|
77
|
-
if (params[key] != null && typeof params[key] !== 'function') {
|
|
77
|
+
if (params[key] != null && typeof params[key] !== 'function' && params[key] !== "") {
|
|
78
78
|
queryParameterString += (addSeperator ? '&' : '') + encodeURIComponent(key) + '=' + encodeURIComponent(prepareUrlParameterValue(params[key]));
|
|
79
79
|
addSeperator = true;
|
|
80
80
|
}
|
|
@@ -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.165.0',
|
|
244
244
|
'Content-Type': 'application/json'
|
|
245
245
|
};
|
|
246
246
|
if (tenantOrgId) {
|
|
@@ -88,7 +88,7 @@ export default class EncodingsApi extends BaseAPI {
|
|
|
88
88
|
*/
|
|
89
89
|
reschedule(encodingId: string, rescheduleEncodingRequest?: RescheduleEncodingRequest): Promise<BitmovinResponse>;
|
|
90
90
|
/**
|
|
91
|
-
* @summary Start Encoding
|
|
91
|
+
* @summary Start VoD Encoding
|
|
92
92
|
* @param {string} encodingId Id of the encoding
|
|
93
93
|
* @param {StartEncodingRequest} [startEncodingRequest] Encoding Startup Options
|
|
94
94
|
* @throws {BitmovinError}
|
|
@@ -157,7 +157,7 @@ var EncodingsApi = /** @class */ (function (_super) {
|
|
|
157
157
|
});
|
|
158
158
|
};
|
|
159
159
|
/**
|
|
160
|
-
* @summary Start Encoding
|
|
160
|
+
* @summary Start VoD Encoding
|
|
161
161
|
* @param {string} encodingId Id of the encoding
|
|
162
162
|
* @param {StartEncodingRequest} [startEncodingRequest] Encoding Startup Options
|
|
163
163
|
* @throws {BitmovinError}
|
|
@@ -56,7 +56,7 @@ export default class DashApi extends BaseAPI {
|
|
|
56
56
|
*/
|
|
57
57
|
list(queryParameters?: DashManifestListQueryParams | ((q: DashManifestListQueryParamsBuilder) => DashManifestListQueryParamsBuilder)): Promise<PaginationResponse<DashManifest>>;
|
|
58
58
|
/**
|
|
59
|
-
* @summary Start DASH
|
|
59
|
+
* @summary Start DASH manifest generation
|
|
60
60
|
* @param {string} manifestId Id of the DASH Manifest.
|
|
61
61
|
* @param {StartManifestRequest} [startManifestRequest] Manifest Startup Options
|
|
62
62
|
* @throws {BitmovinError}
|
|
@@ -64,14 +64,14 @@ export default class DashApi extends BaseAPI {
|
|
|
64
64
|
*/
|
|
65
65
|
start(manifestId: string, startManifestRequest?: StartManifestRequest): Promise<BitmovinResponse>;
|
|
66
66
|
/**
|
|
67
|
-
* @summary DASH
|
|
67
|
+
* @summary DASH manifest generation status
|
|
68
68
|
* @param {string} manifestId Id of the DASH Manifest.
|
|
69
69
|
* @throws {BitmovinError}
|
|
70
70
|
* @memberof DashApi
|
|
71
71
|
*/
|
|
72
72
|
status(manifestId: string): Promise<Task>;
|
|
73
73
|
/**
|
|
74
|
-
* @summary Stop DASH
|
|
74
|
+
* @summary Stop DASH manifest generation
|
|
75
75
|
* @param {string} manifestId Id of the DASH Manifest.
|
|
76
76
|
* @throws {BitmovinError}
|
|
77
77
|
* @memberof DashApi
|
|
@@ -113,7 +113,7 @@ var DashApi = /** @class */ (function (_super) {
|
|
|
113
113
|
});
|
|
114
114
|
};
|
|
115
115
|
/**
|
|
116
|
-
* @summary Start DASH
|
|
116
|
+
* @summary Start DASH manifest generation
|
|
117
117
|
* @param {string} manifestId Id of the DASH Manifest.
|
|
118
118
|
* @param {StartManifestRequest} [startManifestRequest] Manifest Startup Options
|
|
119
119
|
* @throws {BitmovinError}
|
|
@@ -128,7 +128,7 @@ var DashApi = /** @class */ (function (_super) {
|
|
|
128
128
|
});
|
|
129
129
|
};
|
|
130
130
|
/**
|
|
131
|
-
* @summary DASH
|
|
131
|
+
* @summary DASH manifest generation status
|
|
132
132
|
* @param {string} manifestId Id of the DASH Manifest.
|
|
133
133
|
* @throws {BitmovinError}
|
|
134
134
|
* @memberof DashApi
|
|
@@ -142,7 +142,7 @@ var DashApi = /** @class */ (function (_super) {
|
|
|
142
142
|
});
|
|
143
143
|
};
|
|
144
144
|
/**
|
|
145
|
-
* @summary Stop DASH
|
|
145
|
+
* @summary Stop DASH manifest generation
|
|
146
146
|
* @param {string} manifestId Id of the DASH Manifest.
|
|
147
147
|
* @throws {BitmovinError}
|
|
148
148
|
* @memberof DashApi
|
|
@@ -58,7 +58,7 @@ export default class HlsApi extends BaseAPI {
|
|
|
58
58
|
*/
|
|
59
59
|
list(queryParameters?: HlsManifestListQueryParams | ((q: HlsManifestListQueryParamsBuilder) => HlsManifestListQueryParamsBuilder)): Promise<PaginationResponse<HlsManifest>>;
|
|
60
60
|
/**
|
|
61
|
-
* @summary Start HLS
|
|
61
|
+
* @summary Start HLS manifest generation
|
|
62
62
|
* @param {string} manifestId Id of the HLS Manifest.
|
|
63
63
|
* @param {StartManifestRequest} [startManifestRequest] Manifest Startup Options
|
|
64
64
|
* @throws {BitmovinError}
|
|
@@ -66,14 +66,14 @@ export default class HlsApi extends BaseAPI {
|
|
|
66
66
|
*/
|
|
67
67
|
start(manifestId: string, startManifestRequest?: StartManifestRequest): Promise<BitmovinResponse>;
|
|
68
68
|
/**
|
|
69
|
-
* @summary HLS
|
|
69
|
+
* @summary HLS manifest generation status
|
|
70
70
|
* @param {string} manifestId Id of the HLS Manifest.
|
|
71
71
|
* @throws {BitmovinError}
|
|
72
72
|
* @memberof HlsApi
|
|
73
73
|
*/
|
|
74
74
|
status(manifestId: string): Promise<Task>;
|
|
75
75
|
/**
|
|
76
|
-
* @summary Stop HLS
|
|
76
|
+
* @summary Stop HLS manifest generation
|
|
77
77
|
* @param {string} manifestId Id of the HLS Manifest.
|
|
78
78
|
* @throws {BitmovinError}
|
|
79
79
|
* @memberof HlsApi
|
|
@@ -115,7 +115,7 @@ var HlsApi = /** @class */ (function (_super) {
|
|
|
115
115
|
});
|
|
116
116
|
};
|
|
117
117
|
/**
|
|
118
|
-
* @summary Start HLS
|
|
118
|
+
* @summary Start HLS manifest generation
|
|
119
119
|
* @param {string} manifestId Id of the HLS Manifest.
|
|
120
120
|
* @param {StartManifestRequest} [startManifestRequest] Manifest Startup Options
|
|
121
121
|
* @throws {BitmovinError}
|
|
@@ -130,7 +130,7 @@ var HlsApi = /** @class */ (function (_super) {
|
|
|
130
130
|
});
|
|
131
131
|
};
|
|
132
132
|
/**
|
|
133
|
-
* @summary HLS
|
|
133
|
+
* @summary HLS manifest generation status
|
|
134
134
|
* @param {string} manifestId Id of the HLS Manifest.
|
|
135
135
|
* @throws {BitmovinError}
|
|
136
136
|
* @memberof HlsApi
|
|
@@ -144,7 +144,7 @@ var HlsApi = /** @class */ (function (_super) {
|
|
|
144
144
|
});
|
|
145
145
|
};
|
|
146
146
|
/**
|
|
147
|
-
* @summary Stop HLS
|
|
147
|
+
* @summary Stop HLS manifest generation
|
|
148
148
|
* @param {string} manifestId Id of the HLS Manifest.
|
|
149
149
|
* @throws {BitmovinError}
|
|
150
150
|
* @memberof HlsApi
|
|
@@ -58,7 +58,7 @@ export default class SmoothApi extends BaseAPI {
|
|
|
58
58
|
*/
|
|
59
59
|
list(queryParameters?: SmoothStreamingManifestListQueryParams | ((q: SmoothStreamingManifestListQueryParamsBuilder) => SmoothStreamingManifestListQueryParamsBuilder)): Promise<PaginationResponse<SmoothStreamingManifest>>;
|
|
60
60
|
/**
|
|
61
|
-
* @summary Start Smooth Streaming
|
|
61
|
+
* @summary Start Smooth Streaming manifest generation
|
|
62
62
|
* @param {string} manifestId Id of the Smooth Streaming Manifest.
|
|
63
63
|
* @param {StartManifestRequest} [startManifestRequest] Manifest Startup Options
|
|
64
64
|
* @throws {BitmovinError}
|
|
@@ -66,14 +66,14 @@ export default class SmoothApi extends BaseAPI {
|
|
|
66
66
|
*/
|
|
67
67
|
start(manifestId: string, startManifestRequest?: StartManifestRequest): Promise<BitmovinResponse>;
|
|
68
68
|
/**
|
|
69
|
-
* @summary Smooth Streaming
|
|
69
|
+
* @summary Smooth Streaming manifest generation status
|
|
70
70
|
* @param {string} manifestId Id of the Smooth Streaming Manifest.
|
|
71
71
|
* @throws {BitmovinError}
|
|
72
72
|
* @memberof SmoothApi
|
|
73
73
|
*/
|
|
74
74
|
status(manifestId: string): Promise<Task>;
|
|
75
75
|
/**
|
|
76
|
-
* @summary Stop Smooth Streaming
|
|
76
|
+
* @summary Stop Smooth Streaming manifest generation
|
|
77
77
|
* @param {string} manifestId Id of the Smooth Streaming Manifest.
|
|
78
78
|
* @throws {BitmovinError}
|
|
79
79
|
* @memberof SmoothApi
|
|
@@ -115,7 +115,7 @@ var SmoothApi = /** @class */ (function (_super) {
|
|
|
115
115
|
});
|
|
116
116
|
};
|
|
117
117
|
/**
|
|
118
|
-
* @summary Start Smooth Streaming
|
|
118
|
+
* @summary Start Smooth Streaming manifest generation
|
|
119
119
|
* @param {string} manifestId Id of the Smooth Streaming Manifest.
|
|
120
120
|
* @param {StartManifestRequest} [startManifestRequest] Manifest Startup Options
|
|
121
121
|
* @throws {BitmovinError}
|
|
@@ -130,7 +130,7 @@ var SmoothApi = /** @class */ (function (_super) {
|
|
|
130
130
|
});
|
|
131
131
|
};
|
|
132
132
|
/**
|
|
133
|
-
* @summary Smooth Streaming
|
|
133
|
+
* @summary Smooth Streaming manifest generation status
|
|
134
134
|
* @param {string} manifestId Id of the Smooth Streaming Manifest.
|
|
135
135
|
* @throws {BitmovinError}
|
|
136
136
|
* @memberof SmoothApi
|
|
@@ -144,7 +144,7 @@ var SmoothApi = /** @class */ (function (_super) {
|
|
|
144
144
|
});
|
|
145
145
|
};
|
|
146
146
|
/**
|
|
147
|
-
* @summary Stop Smooth Streaming
|
|
147
|
+
* @summary Stop Smooth Streaming manifest generation
|
|
148
148
|
* @param {string} manifestId Id of the Smooth Streaming Manifest.
|
|
149
149
|
* @throws {BitmovinError}
|
|
150
150
|
* @memberof SmoothApi
|
|
@@ -7,7 +7,7 @@ import DefaultDashManifestPeriod from './DefaultDashManifestPeriod';
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class DashManifestDefault extends DashManifest {
|
|
9
9
|
/**
|
|
10
|
-
* The id of the encoding to create a default manifest
|
|
10
|
+
* The id of the encoding to create a default manifest for. Either \"encodingId\" or \"periods\" is required.
|
|
11
11
|
* @type {string}
|
|
12
12
|
* @memberof DashManifestDefault
|
|
13
13
|
*/
|
|
@@ -19,7 +19,7 @@ export declare class DashManifestDefault extends DashManifest {
|
|
|
19
19
|
*/
|
|
20
20
|
version?: DashManifestDefaultVersion;
|
|
21
21
|
/**
|
|
22
|
-
* Adds a period for every item. Either \"periods\" or \"encodingId\" is required.
|
|
22
|
+
* Adds a period for every item. Can only be used when setting \"version\" to \"V2\". Either \"periods\" or \"encodingId\" is required.
|
|
23
23
|
* @type {DefaultDashManifestPeriod[]}
|
|
24
24
|
* @memberof DashManifestDefault
|
|
25
25
|
*/
|
|
@@ -6,13 +6,13 @@ import HlsManifestDefaultVersion from './HlsManifestDefaultVersion';
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class HlsManifestDefault extends HlsManifest {
|
|
8
8
|
/**
|
|
9
|
-
* The id of the encoding to create a default manifest
|
|
9
|
+
* The id of the encoding to create a default manifest for (required)
|
|
10
10
|
* @type {string}
|
|
11
11
|
* @memberof HlsManifestDefault
|
|
12
12
|
*/
|
|
13
13
|
encodingId?: string;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Currently not in use
|
|
16
16
|
* @type {HlsManifestDefaultVersion}
|
|
17
17
|
* @memberof HlsManifestDefault
|
|
18
18
|
*/
|
|
@@ -6,13 +6,13 @@ import SmoothStreamingManifest from './SmoothStreamingManifest';
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class SmoothManifestDefault extends SmoothStreamingManifest {
|
|
8
8
|
/**
|
|
9
|
-
* The id of the encoding to create a default manifest
|
|
9
|
+
* The id of the encoding to create a default manifest for (required)
|
|
10
10
|
* @type {string}
|
|
11
11
|
* @memberof SmoothManifestDefault
|
|
12
12
|
*/
|
|
13
13
|
encodingId?: string;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Currently not in use
|
|
16
16
|
* @type {SmoothManifestDefaultVersion}
|
|
17
17
|
* @memberof SmoothManifestDefault
|
|
18
18
|
*/
|
|
@@ -41,31 +41,31 @@ export declare class StartEncodingRequest {
|
|
|
41
41
|
*/
|
|
42
42
|
encodingMode?: EncodingMode;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* DASH manifests to be generated for previewing while the encoding is still running. See [documentation](https://developer.bitmovin.com/encoding/docs/how-to-create-manifests-for-your-encodings#just-in-time-jit)
|
|
45
45
|
* @type {ManifestResource[]}
|
|
46
46
|
* @memberof StartEncodingRequest
|
|
47
47
|
*/
|
|
48
48
|
previewDashManifests?: ManifestResource[];
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* HLS manifests to be generated for previewing while the encoding is still running. See [documentation](https://developer.bitmovin.com/encoding/docs/how-to-create-manifests-for-your-encodings#just-in-time-jit)
|
|
51
51
|
* @type {ManifestResource[]}
|
|
52
52
|
* @memberof StartEncodingRequest
|
|
53
53
|
*/
|
|
54
54
|
previewHlsManifests?: ManifestResource[];
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* DASH manifests to be generated right after encoding (just-in-time). See [documentation](https://developer.bitmovin.com/encoding/docs/how-to-create-manifests-for-your-encodings#just-in-time-jit)
|
|
57
57
|
* @type {ManifestResource[]}
|
|
58
58
|
* @memberof StartEncodingRequest
|
|
59
59
|
*/
|
|
60
60
|
vodDashManifests?: ManifestResource[];
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* HLS manifests to be generated right after encoding (just-in-time). See [documentation](https://developer.bitmovin.com/encoding/docs/how-to-create-manifests-for-your-encodings#just-in-time-jit)
|
|
63
63
|
* @type {ManifestResource[]}
|
|
64
64
|
* @memberof StartEncodingRequest
|
|
65
65
|
*/
|
|
66
66
|
vodHlsManifests?: ManifestResource[];
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* Smooth Streaming manifests to be generated right after encoding (just-in-time). See [documentation](https://developer.bitmovin.com/encoding/docs/how-to-create-manifests-for-your-encodings#just-in-time-jit)
|
|
69
69
|
* @type {ManifestResource[]}
|
|
70
70
|
* @memberof StartEncodingRequest
|
|
71
71
|
*/
|
|
@@ -17,13 +17,13 @@ export declare class StartLiveEncodingRequest {
|
|
|
17
17
|
*/
|
|
18
18
|
streamKey?: string;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* HLS manifests to be generated during the encoding. See [documentation](https://developer.bitmovin.com/encoding/docs/how-to-create-manifests-for-your-encodings#just-in-time-jit)
|
|
21
21
|
* @type {LiveHlsManifest[]}
|
|
22
22
|
* @memberof StartLiveEncodingRequest
|
|
23
23
|
*/
|
|
24
24
|
hlsManifests?: LiveHlsManifest[];
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* DASH manifests to be generated during the encoding. See [documentation](https://developer.bitmovin.com/encoding/docs/how-to-create-manifests-for-your-encodings#just-in-time-jit)
|
|
27
27
|
* @type {LiveDashManifest[]}
|
|
28
28
|
* @memberof StartLiveEncodingRequest
|
|
29
29
|
*/
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Player style config
|
|
3
|
+
* @export
|
|
4
|
+
* @class StreamsConfigPlayerStyle
|
|
5
|
+
*/
|
|
6
|
+
export declare class StreamsConfigPlayerStyle {
|
|
7
|
+
/**
|
|
8
|
+
* Playback marker background color
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @memberof StreamsConfigPlayerStyle
|
|
11
|
+
*/
|
|
12
|
+
playbackMarkerBgColor?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Playback marker border color
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof StreamsConfigPlayerStyle
|
|
17
|
+
*/
|
|
18
|
+
playbackMarkerBorderColor?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Playback track played color
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof StreamsConfigPlayerStyle
|
|
23
|
+
*/
|
|
24
|
+
playbackTrackPlayedColor?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Playback track buffered color
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof StreamsConfigPlayerStyle
|
|
29
|
+
*/
|
|
30
|
+
playbackTrackBufferedColor?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Playback track background color
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof StreamsConfigPlayerStyle
|
|
35
|
+
*/
|
|
36
|
+
playbackTrackBgColor?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Text color
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof StreamsConfigPlayerStyle
|
|
41
|
+
*/
|
|
42
|
+
textColor?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Background color
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof StreamsConfigPlayerStyle
|
|
47
|
+
*/
|
|
48
|
+
backgroundColor?: string;
|
|
49
|
+
constructor(obj?: Partial<StreamsConfigPlayerStyle>);
|
|
50
|
+
}
|
|
51
|
+
export default StreamsConfigPlayerStyle;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StreamsConfigPlayerStyle = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* Player style config
|
|
7
|
+
* @export
|
|
8
|
+
* @class StreamsConfigPlayerStyle
|
|
9
|
+
*/
|
|
10
|
+
var StreamsConfigPlayerStyle = /** @class */ (function () {
|
|
11
|
+
function StreamsConfigPlayerStyle(obj) {
|
|
12
|
+
if (!obj) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
this.playbackMarkerBgColor = (0, Mapper_1.map)(obj.playbackMarkerBgColor);
|
|
16
|
+
this.playbackMarkerBorderColor = (0, Mapper_1.map)(obj.playbackMarkerBorderColor);
|
|
17
|
+
this.playbackTrackPlayedColor = (0, Mapper_1.map)(obj.playbackTrackPlayedColor);
|
|
18
|
+
this.playbackTrackBufferedColor = (0, Mapper_1.map)(obj.playbackTrackBufferedColor);
|
|
19
|
+
this.playbackTrackBgColor = (0, Mapper_1.map)(obj.playbackTrackBgColor);
|
|
20
|
+
this.textColor = (0, Mapper_1.map)(obj.textColor);
|
|
21
|
+
this.backgroundColor = (0, Mapper_1.map)(obj.backgroundColor);
|
|
22
|
+
}
|
|
23
|
+
return StreamsConfigPlayerStyle;
|
|
24
|
+
}());
|
|
25
|
+
exports.StreamsConfigPlayerStyle = StreamsConfigPlayerStyle;
|
|
26
|
+
exports.default = StreamsConfigPlayerStyle;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import StreamsConfigPlayerStyle from './StreamsConfigPlayerStyle';
|
|
1
2
|
/**
|
|
2
3
|
* @export
|
|
3
4
|
* @class StreamsConfigResponse
|
|
@@ -16,11 +17,10 @@ export declare class StreamsConfigResponse {
|
|
|
16
17
|
*/
|
|
17
18
|
orgId?: string;
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {any}
|
|
20
|
+
* @type {StreamsConfigPlayerStyle}
|
|
21
21
|
* @memberof StreamsConfigResponse
|
|
22
22
|
*/
|
|
23
|
-
playerStyle?:
|
|
23
|
+
playerStyle?: StreamsConfigPlayerStyle;
|
|
24
24
|
/**
|
|
25
25
|
* URL of the watermark image
|
|
26
26
|
* @type {string}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StreamsConfigResponse = void 0;
|
|
4
4
|
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
var StreamsConfigPlayerStyle_1 = require("./StreamsConfigPlayerStyle");
|
|
5
6
|
/**
|
|
6
7
|
* @export
|
|
7
8
|
* @class StreamsConfigResponse
|
|
@@ -13,7 +14,7 @@ var StreamsConfigResponse = /** @class */ (function () {
|
|
|
13
14
|
}
|
|
14
15
|
this.id = (0, Mapper_1.map)(obj.id);
|
|
15
16
|
this.orgId = (0, Mapper_1.map)(obj.orgId);
|
|
16
|
-
this.playerStyle = (0, Mapper_1.map)(obj.playerStyle);
|
|
17
|
+
this.playerStyle = (0, Mapper_1.map)(obj.playerStyle, StreamsConfigPlayerStyle_1.default);
|
|
17
18
|
this.watermarkUrl = (0, Mapper_1.map)(obj.watermarkUrl);
|
|
18
19
|
this.watermarkTargetLink = (0, Mapper_1.map)(obj.watermarkTargetLink);
|
|
19
20
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @export
|
|
3
|
+
* @class StreamsContentProtectionResponse
|
|
4
|
+
*/
|
|
5
|
+
export declare class StreamsContentProtectionResponse {
|
|
6
|
+
/**
|
|
7
|
+
* The identifier of the streams content protection entity
|
|
8
|
+
* @type {string}
|
|
9
|
+
* @memberof StreamsContentProtectionResponse
|
|
10
|
+
*/
|
|
11
|
+
id?: string;
|
|
12
|
+
/**
|
|
13
|
+
* The list of allowed domains
|
|
14
|
+
* @type {string[]}
|
|
15
|
+
* @memberof StreamsContentProtectionResponse
|
|
16
|
+
*/
|
|
17
|
+
allowedDomains?: string[];
|
|
18
|
+
/**
|
|
19
|
+
* Controls if requests to content protected streams without referer header should be allowed or denied
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof StreamsContentProtectionResponse
|
|
22
|
+
*/
|
|
23
|
+
allowNoReferer?: boolean;
|
|
24
|
+
constructor(obj?: Partial<StreamsContentProtectionResponse>);
|
|
25
|
+
}
|
|
26
|
+
export default StreamsContentProtectionResponse;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StreamsContentProtectionResponse = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @class StreamsContentProtectionResponse
|
|
8
|
+
*/
|
|
9
|
+
var StreamsContentProtectionResponse = /** @class */ (function () {
|
|
10
|
+
function StreamsContentProtectionResponse(obj) {
|
|
11
|
+
if (!obj) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
this.id = (0, Mapper_1.map)(obj.id);
|
|
15
|
+
this.allowedDomains = (0, Mapper_1.mapArray)(obj.allowedDomains);
|
|
16
|
+
this.allowNoReferer = (0, Mapper_1.map)(obj.allowNoReferer);
|
|
17
|
+
}
|
|
18
|
+
return StreamsContentProtectionResponse;
|
|
19
|
+
}());
|
|
20
|
+
exports.StreamsContentProtectionResponse = StreamsContentProtectionResponse;
|
|
21
|
+
exports.default = StreamsContentProtectionResponse;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import StreamsAdConfigResponse from './StreamsAdConfigResponse';
|
|
2
2
|
import StreamsConfigResponse from './StreamsConfigResponse';
|
|
3
|
+
import StreamsContentProtectionResponse from './StreamsContentProtectionResponse';
|
|
3
4
|
import StreamsLiveLifeCycle from './StreamsLiveLifeCycle';
|
|
4
5
|
/**
|
|
5
6
|
* @export
|
|
@@ -58,6 +59,11 @@ export declare class StreamsLiveResponse {
|
|
|
58
59
|
* @memberof StreamsLiveResponse
|
|
59
60
|
*/
|
|
60
61
|
adConfig?: StreamsAdConfigResponse;
|
|
62
|
+
/**
|
|
63
|
+
* @type {StreamsContentProtectionResponse}
|
|
64
|
+
* @memberof StreamsLiveResponse
|
|
65
|
+
*/
|
|
66
|
+
contentProtection?: StreamsContentProtectionResponse;
|
|
61
67
|
constructor(obj?: Partial<StreamsLiveResponse>);
|
|
62
68
|
}
|
|
63
69
|
export default StreamsLiveResponse;
|
|
@@ -4,6 +4,7 @@ exports.StreamsLiveResponse = void 0;
|
|
|
4
4
|
var Mapper_1 = require("../common/Mapper");
|
|
5
5
|
var StreamsAdConfigResponse_1 = require("./StreamsAdConfigResponse");
|
|
6
6
|
var StreamsConfigResponse_1 = require("./StreamsConfigResponse");
|
|
7
|
+
var StreamsContentProtectionResponse_1 = require("./StreamsContentProtectionResponse");
|
|
7
8
|
/**
|
|
8
9
|
* @export
|
|
9
10
|
* @class StreamsLiveResponse
|
|
@@ -22,6 +23,7 @@ var StreamsLiveResponse = /** @class */ (function () {
|
|
|
22
23
|
this.config = (0, Mapper_1.map)(obj.config, StreamsConfigResponse_1.default);
|
|
23
24
|
this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
24
25
|
this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
26
|
+
this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
|
|
25
27
|
}
|
|
26
28
|
return StreamsLiveResponse;
|
|
27
29
|
}());
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import StreamsAdConfigResponse from './StreamsAdConfigResponse';
|
|
2
2
|
import StreamsConfigResponse from './StreamsConfigResponse';
|
|
3
|
+
import StreamsContentProtectionResponse from './StreamsContentProtectionResponse';
|
|
3
4
|
import StreamsVideoEncodingTask from './StreamsVideoEncodingTask';
|
|
4
5
|
import StreamsVideoStatus from './StreamsVideoStatus';
|
|
5
6
|
/**
|
|
@@ -65,6 +66,11 @@ export declare class StreamsVideoResponse {
|
|
|
65
66
|
* @memberof StreamsVideoResponse
|
|
66
67
|
*/
|
|
67
68
|
adConfig?: StreamsAdConfigResponse;
|
|
69
|
+
/**
|
|
70
|
+
* @type {StreamsContentProtectionResponse}
|
|
71
|
+
* @memberof StreamsVideoResponse
|
|
72
|
+
*/
|
|
73
|
+
contentProtection?: StreamsContentProtectionResponse;
|
|
68
74
|
constructor(obj?: Partial<StreamsVideoResponse>);
|
|
69
75
|
}
|
|
70
76
|
export default StreamsVideoResponse;
|
|
@@ -4,6 +4,7 @@ exports.StreamsVideoResponse = void 0;
|
|
|
4
4
|
var Mapper_1 = require("../common/Mapper");
|
|
5
5
|
var StreamsAdConfigResponse_1 = require("./StreamsAdConfigResponse");
|
|
6
6
|
var StreamsConfigResponse_1 = require("./StreamsConfigResponse");
|
|
7
|
+
var StreamsContentProtectionResponse_1 = require("./StreamsContentProtectionResponse");
|
|
7
8
|
var StreamsVideoEncodingTask_1 = require("./StreamsVideoEncodingTask");
|
|
8
9
|
/**
|
|
9
10
|
* @export
|
|
@@ -24,6 +25,7 @@ var StreamsVideoResponse = /** @class */ (function () {
|
|
|
24
25
|
this.encodingTasks = (0, Mapper_1.mapArray)(obj.encodingTasks, StreamsVideoEncodingTask_1.default);
|
|
25
26
|
this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
26
27
|
this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
28
|
+
this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
|
|
27
29
|
}
|
|
28
30
|
return StreamsVideoResponse;
|
|
29
31
|
}());
|
package/dist/models/index.d.ts
CHANGED
|
@@ -699,7 +699,9 @@ export * from './StreamPerTitleSettings';
|
|
|
699
699
|
export * from './StreamSelectionMode';
|
|
700
700
|
export * from './StreamsAdConfigAd';
|
|
701
701
|
export * from './StreamsAdConfigResponse';
|
|
702
|
+
export * from './StreamsConfigPlayerStyle';
|
|
702
703
|
export * from './StreamsConfigResponse';
|
|
704
|
+
export * from './StreamsContentProtectionResponse';
|
|
703
705
|
export * from './StreamsLiveCreateRequest';
|
|
704
706
|
export * from './StreamsLiveLifeCycle';
|
|
705
707
|
export * from './StreamsLiveResponse';
|
package/dist/models/index.js
CHANGED
|
@@ -715,7 +715,9 @@ __exportStar(require("./StreamPerTitleSettings"), exports);
|
|
|
715
715
|
__exportStar(require("./StreamSelectionMode"), exports);
|
|
716
716
|
__exportStar(require("./StreamsAdConfigAd"), exports);
|
|
717
717
|
__exportStar(require("./StreamsAdConfigResponse"), exports);
|
|
718
|
+
__exportStar(require("./StreamsConfigPlayerStyle"), exports);
|
|
718
719
|
__exportStar(require("./StreamsConfigResponse"), exports);
|
|
720
|
+
__exportStar(require("./StreamsContentProtectionResponse"), exports);
|
|
719
721
|
__exportStar(require("./StreamsLiveCreateRequest"), exports);
|
|
720
722
|
__exportStar(require("./StreamsLiveLifeCycle"), exports);
|
|
721
723
|
__exportStar(require("./StreamsLiveResponse"), exports);
|
|
@@ -12,7 +12,7 @@ export default class ErrorApi extends BaseAPI {
|
|
|
12
12
|
constructor(configuration: Configuration);
|
|
13
13
|
/**
|
|
14
14
|
* @summary Add 'Manifest Error' Webhook (All Manifests)
|
|
15
|
-
* @param {Webhook} webhook Add a new webhook notification if a manifest
|
|
15
|
+
* @param {Webhook} webhook Add a new webhook notification if a manifest generation failed with an error. A maximum number of 5 webhooks is allowed
|
|
16
16
|
* @throws {BitmovinError}
|
|
17
17
|
* @memberof ErrorApi
|
|
18
18
|
*/
|
|
@@ -32,7 +32,7 @@ var ErrorApi = /** @class */ (function (_super) {
|
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* @summary Add 'Manifest Error' Webhook (All Manifests)
|
|
35
|
-
* @param {Webhook} webhook Add a new webhook notification if a manifest
|
|
35
|
+
* @param {Webhook} webhook Add a new webhook notification if a manifest generation failed with an error. A maximum number of 5 webhooks is allowed
|
|
36
36
|
* @throws {BitmovinError}
|
|
37
37
|
* @memberof ErrorApi
|
|
38
38
|
*/
|
|
@@ -12,7 +12,7 @@ export default class FinishedApi extends BaseAPI {
|
|
|
12
12
|
constructor(configuration: Configuration);
|
|
13
13
|
/**
|
|
14
14
|
* @summary Add 'Manifest Finished Successfully' Webhook (All Manifests)
|
|
15
|
-
* @param {Webhook} webhook Add a new webhook notification if a manifest
|
|
15
|
+
* @param {Webhook} webhook Add a new webhook notification if a manifest generation finished successfully. A maximum number of 5 webhooks is allowed
|
|
16
16
|
* @throws {BitmovinError}
|
|
17
17
|
* @memberof FinishedApi
|
|
18
18
|
*/
|
|
@@ -32,7 +32,7 @@ var FinishedApi = /** @class */ (function (_super) {
|
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* @summary Add 'Manifest Finished Successfully' Webhook (All Manifests)
|
|
35
|
-
* @param {Webhook} webhook Add a new webhook notification if a manifest
|
|
35
|
+
* @param {Webhook} webhook Add a new webhook notification if a manifest generation finished successfully. A maximum number of 5 webhooks is allowed
|
|
36
36
|
* @throws {BitmovinError}
|
|
37
37
|
* @memberof FinishedApi
|
|
38
38
|
*/
|