@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
package/README.md
CHANGED
|
@@ -5821,7 +5821,7 @@ function queryParams(params) {
|
|
|
5821
5821
|
var addSeperator = false;
|
|
5822
5822
|
for (var _i = 0, _a = Object.keys(params); _i < _a.length; _i++) {
|
|
5823
5823
|
var key = _a[_i];
|
|
5824
|
-
if (params[key] != null && typeof params[key] !== 'function') {
|
|
5824
|
+
if (params[key] != null && typeof params[key] !== 'function' && params[key] !== "") {
|
|
5825
5825
|
queryParameterString += (addSeperator ? '&' : '') + encodeURIComponent(key) + '=' + encodeURIComponent(prepareUrlParameterValue(params[key]));
|
|
5826
5826
|
addSeperator = true;
|
|
5827
5827
|
}
|
|
@@ -5987,7 +5987,7 @@ var HeaderHandler = /** @class */ (function (_super) {
|
|
|
5987
5987
|
var headers = {
|
|
5988
5988
|
'X-Api-Key': apiKey,
|
|
5989
5989
|
'X-Api-Client': 'bitmovin-api-sdk-javascript',
|
|
5990
|
-
'X-Api-Client-Version': '1.
|
|
5990
|
+
'X-Api-Client-Version': '1.165.0',
|
|
5991
5991
|
'Content-Type': 'application/json'
|
|
5992
5992
|
};
|
|
5993
5993
|
if (tenantOrgId) {
|
|
@@ -12510,7 +12510,7 @@ var EncodingsApi = /** @class */ (function (_super) {
|
|
|
12510
12510
|
});
|
|
12511
12511
|
};
|
|
12512
12512
|
/**
|
|
12513
|
-
* @summary Start Encoding
|
|
12513
|
+
* @summary Start VoD Encoding
|
|
12514
12514
|
* @param {string} encodingId Id of the encoding
|
|
12515
12515
|
* @param {StartEncodingRequest} [startEncodingRequest] Encoding Startup Options
|
|
12516
12516
|
* @throws {BitmovinError}
|
|
@@ -40302,7 +40302,7 @@ var DashApi = /** @class */ (function (_super) {
|
|
|
40302
40302
|
});
|
|
40303
40303
|
};
|
|
40304
40304
|
/**
|
|
40305
|
-
* @summary Start DASH
|
|
40305
|
+
* @summary Start DASH manifest generation
|
|
40306
40306
|
* @param {string} manifestId Id of the DASH Manifest.
|
|
40307
40307
|
* @param {StartManifestRequest} [startManifestRequest] Manifest Startup Options
|
|
40308
40308
|
* @throws {BitmovinError}
|
|
@@ -40317,7 +40317,7 @@ var DashApi = /** @class */ (function (_super) {
|
|
|
40317
40317
|
});
|
|
40318
40318
|
};
|
|
40319
40319
|
/**
|
|
40320
|
-
* @summary DASH
|
|
40320
|
+
* @summary DASH manifest generation status
|
|
40321
40321
|
* @param {string} manifestId Id of the DASH Manifest.
|
|
40322
40322
|
* @throws {BitmovinError}
|
|
40323
40323
|
* @memberof DashApi
|
|
@@ -40331,7 +40331,7 @@ var DashApi = /** @class */ (function (_super) {
|
|
|
40331
40331
|
});
|
|
40332
40332
|
};
|
|
40333
40333
|
/**
|
|
40334
|
-
* @summary Stop DASH
|
|
40334
|
+
* @summary Stop DASH manifest generation
|
|
40335
40335
|
* @param {string} manifestId Id of the DASH Manifest.
|
|
40336
40336
|
* @throws {BitmovinError}
|
|
40337
40337
|
* @memberof DashApi
|
|
@@ -44877,7 +44877,7 @@ var HlsApi = /** @class */ (function (_super) {
|
|
|
44877
44877
|
});
|
|
44878
44878
|
};
|
|
44879
44879
|
/**
|
|
44880
|
-
* @summary Start HLS
|
|
44880
|
+
* @summary Start HLS manifest generation
|
|
44881
44881
|
* @param {string} manifestId Id of the HLS Manifest.
|
|
44882
44882
|
* @param {StartManifestRequest} [startManifestRequest] Manifest Startup Options
|
|
44883
44883
|
* @throws {BitmovinError}
|
|
@@ -44892,7 +44892,7 @@ var HlsApi = /** @class */ (function (_super) {
|
|
|
44892
44892
|
});
|
|
44893
44893
|
};
|
|
44894
44894
|
/**
|
|
44895
|
-
* @summary HLS
|
|
44895
|
+
* @summary HLS manifest generation status
|
|
44896
44896
|
* @param {string} manifestId Id of the HLS Manifest.
|
|
44897
44897
|
* @throws {BitmovinError}
|
|
44898
44898
|
* @memberof HlsApi
|
|
@@ -44906,7 +44906,7 @@ var HlsApi = /** @class */ (function (_super) {
|
|
|
44906
44906
|
});
|
|
44907
44907
|
};
|
|
44908
44908
|
/**
|
|
44909
|
-
* @summary Stop HLS
|
|
44909
|
+
* @summary Stop HLS manifest generation
|
|
44910
44910
|
* @param {string} manifestId Id of the HLS Manifest.
|
|
44911
44911
|
* @throws {BitmovinError}
|
|
44912
44912
|
* @memberof HlsApi
|
|
@@ -46774,7 +46774,7 @@ var SmoothApi = /** @class */ (function (_super) {
|
|
|
46774
46774
|
});
|
|
46775
46775
|
};
|
|
46776
46776
|
/**
|
|
46777
|
-
* @summary Start Smooth Streaming
|
|
46777
|
+
* @summary Start Smooth Streaming manifest generation
|
|
46778
46778
|
* @param {string} manifestId Id of the Smooth Streaming Manifest.
|
|
46779
46779
|
* @param {StartManifestRequest} [startManifestRequest] Manifest Startup Options
|
|
46780
46780
|
* @throws {BitmovinError}
|
|
@@ -46789,7 +46789,7 @@ var SmoothApi = /** @class */ (function (_super) {
|
|
|
46789
46789
|
});
|
|
46790
46790
|
};
|
|
46791
46791
|
/**
|
|
46792
|
-
* @summary Smooth Streaming
|
|
46792
|
+
* @summary Smooth Streaming manifest generation status
|
|
46793
46793
|
* @param {string} manifestId Id of the Smooth Streaming Manifest.
|
|
46794
46794
|
* @throws {BitmovinError}
|
|
46795
46795
|
* @memberof SmoothApi
|
|
@@ -46803,7 +46803,7 @@ var SmoothApi = /** @class */ (function (_super) {
|
|
|
46803
46803
|
});
|
|
46804
46804
|
};
|
|
46805
46805
|
/**
|
|
46806
|
-
* @summary Stop Smooth Streaming
|
|
46806
|
+
* @summary Stop Smooth Streaming manifest generation
|
|
46807
46807
|
* @param {string} manifestId Id of the Smooth Streaming Manifest.
|
|
46808
46808
|
* @throws {BitmovinError}
|
|
46809
46809
|
* @memberof SmoothApi
|
|
@@ -81891,6 +81891,43 @@ exports.StreamsAdConfigResponse = StreamsAdConfigResponse;
|
|
|
81891
81891
|
exports["default"] = StreamsAdConfigResponse;
|
|
81892
81892
|
|
|
81893
81893
|
|
|
81894
|
+
/***/ }),
|
|
81895
|
+
|
|
81896
|
+
/***/ "./models/StreamsConfigPlayerStyle.ts":
|
|
81897
|
+
/*!********************************************!*\
|
|
81898
|
+
!*** ./models/StreamsConfigPlayerStyle.ts ***!
|
|
81899
|
+
\********************************************/
|
|
81900
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
81901
|
+
|
|
81902
|
+
"use strict";
|
|
81903
|
+
|
|
81904
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
81905
|
+
exports.StreamsConfigPlayerStyle = void 0;
|
|
81906
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
81907
|
+
/**
|
|
81908
|
+
* Player style config
|
|
81909
|
+
* @export
|
|
81910
|
+
* @class StreamsConfigPlayerStyle
|
|
81911
|
+
*/
|
|
81912
|
+
var StreamsConfigPlayerStyle = /** @class */ (function () {
|
|
81913
|
+
function StreamsConfigPlayerStyle(obj) {
|
|
81914
|
+
if (!obj) {
|
|
81915
|
+
return;
|
|
81916
|
+
}
|
|
81917
|
+
this.playbackMarkerBgColor = (0, Mapper_1.map)(obj.playbackMarkerBgColor);
|
|
81918
|
+
this.playbackMarkerBorderColor = (0, Mapper_1.map)(obj.playbackMarkerBorderColor);
|
|
81919
|
+
this.playbackTrackPlayedColor = (0, Mapper_1.map)(obj.playbackTrackPlayedColor);
|
|
81920
|
+
this.playbackTrackBufferedColor = (0, Mapper_1.map)(obj.playbackTrackBufferedColor);
|
|
81921
|
+
this.playbackTrackBgColor = (0, Mapper_1.map)(obj.playbackTrackBgColor);
|
|
81922
|
+
this.textColor = (0, Mapper_1.map)(obj.textColor);
|
|
81923
|
+
this.backgroundColor = (0, Mapper_1.map)(obj.backgroundColor);
|
|
81924
|
+
}
|
|
81925
|
+
return StreamsConfigPlayerStyle;
|
|
81926
|
+
}());
|
|
81927
|
+
exports.StreamsConfigPlayerStyle = StreamsConfigPlayerStyle;
|
|
81928
|
+
exports["default"] = StreamsConfigPlayerStyle;
|
|
81929
|
+
|
|
81930
|
+
|
|
81894
81931
|
/***/ }),
|
|
81895
81932
|
|
|
81896
81933
|
/***/ "./models/StreamsConfigResponse.ts":
|
|
@@ -81904,6 +81941,7 @@ exports["default"] = StreamsAdConfigResponse;
|
|
|
81904
81941
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
81905
81942
|
exports.StreamsConfigResponse = void 0;
|
|
81906
81943
|
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
81944
|
+
var StreamsConfigPlayerStyle_1 = __webpack_require__(/*! ./StreamsConfigPlayerStyle */ "./models/StreamsConfigPlayerStyle.ts");
|
|
81907
81945
|
/**
|
|
81908
81946
|
* @export
|
|
81909
81947
|
* @class StreamsConfigResponse
|
|
@@ -81915,7 +81953,7 @@ var StreamsConfigResponse = /** @class */ (function () {
|
|
|
81915
81953
|
}
|
|
81916
81954
|
this.id = (0, Mapper_1.map)(obj.id);
|
|
81917
81955
|
this.orgId = (0, Mapper_1.map)(obj.orgId);
|
|
81918
|
-
this.playerStyle = (0, Mapper_1.map)(obj.playerStyle);
|
|
81956
|
+
this.playerStyle = (0, Mapper_1.map)(obj.playerStyle, StreamsConfigPlayerStyle_1.default);
|
|
81919
81957
|
this.watermarkUrl = (0, Mapper_1.map)(obj.watermarkUrl);
|
|
81920
81958
|
this.watermarkTargetLink = (0, Mapper_1.map)(obj.watermarkTargetLink);
|
|
81921
81959
|
}
|
|
@@ -81925,6 +81963,38 @@ exports.StreamsConfigResponse = StreamsConfigResponse;
|
|
|
81925
81963
|
exports["default"] = StreamsConfigResponse;
|
|
81926
81964
|
|
|
81927
81965
|
|
|
81966
|
+
/***/ }),
|
|
81967
|
+
|
|
81968
|
+
/***/ "./models/StreamsContentProtectionResponse.ts":
|
|
81969
|
+
/*!****************************************************!*\
|
|
81970
|
+
!*** ./models/StreamsContentProtectionResponse.ts ***!
|
|
81971
|
+
\****************************************************/
|
|
81972
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
81973
|
+
|
|
81974
|
+
"use strict";
|
|
81975
|
+
|
|
81976
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
81977
|
+
exports.StreamsContentProtectionResponse = void 0;
|
|
81978
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
81979
|
+
/**
|
|
81980
|
+
* @export
|
|
81981
|
+
* @class StreamsContentProtectionResponse
|
|
81982
|
+
*/
|
|
81983
|
+
var StreamsContentProtectionResponse = /** @class */ (function () {
|
|
81984
|
+
function StreamsContentProtectionResponse(obj) {
|
|
81985
|
+
if (!obj) {
|
|
81986
|
+
return;
|
|
81987
|
+
}
|
|
81988
|
+
this.id = (0, Mapper_1.map)(obj.id);
|
|
81989
|
+
this.allowedDomains = (0, Mapper_1.mapArray)(obj.allowedDomains);
|
|
81990
|
+
this.allowNoReferer = (0, Mapper_1.map)(obj.allowNoReferer);
|
|
81991
|
+
}
|
|
81992
|
+
return StreamsContentProtectionResponse;
|
|
81993
|
+
}());
|
|
81994
|
+
exports.StreamsContentProtectionResponse = StreamsContentProtectionResponse;
|
|
81995
|
+
exports["default"] = StreamsContentProtectionResponse;
|
|
81996
|
+
|
|
81997
|
+
|
|
81928
81998
|
/***/ }),
|
|
81929
81999
|
|
|
81930
82000
|
/***/ "./models/StreamsLiveCreateRequest.ts":
|
|
@@ -81999,6 +82069,7 @@ exports.StreamsLiveResponse = void 0;
|
|
|
81999
82069
|
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
82000
82070
|
var StreamsAdConfigResponse_1 = __webpack_require__(/*! ./StreamsAdConfigResponse */ "./models/StreamsAdConfigResponse.ts");
|
|
82001
82071
|
var StreamsConfigResponse_1 = __webpack_require__(/*! ./StreamsConfigResponse */ "./models/StreamsConfigResponse.ts");
|
|
82072
|
+
var StreamsContentProtectionResponse_1 = __webpack_require__(/*! ./StreamsContentProtectionResponse */ "./models/StreamsContentProtectionResponse.ts");
|
|
82002
82073
|
/**
|
|
82003
82074
|
* @export
|
|
82004
82075
|
* @class StreamsLiveResponse
|
|
@@ -82017,6 +82088,7 @@ var StreamsLiveResponse = /** @class */ (function () {
|
|
|
82017
82088
|
this.config = (0, Mapper_1.map)(obj.config, StreamsConfigResponse_1.default);
|
|
82018
82089
|
this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
82019
82090
|
this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
82091
|
+
this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
|
|
82020
82092
|
}
|
|
82021
82093
|
return StreamsLiveResponse;
|
|
82022
82094
|
}());
|
|
@@ -82188,6 +82260,7 @@ exports.StreamsVideoResponse = void 0;
|
|
|
82188
82260
|
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
82189
82261
|
var StreamsAdConfigResponse_1 = __webpack_require__(/*! ./StreamsAdConfigResponse */ "./models/StreamsAdConfigResponse.ts");
|
|
82190
82262
|
var StreamsConfigResponse_1 = __webpack_require__(/*! ./StreamsConfigResponse */ "./models/StreamsConfigResponse.ts");
|
|
82263
|
+
var StreamsContentProtectionResponse_1 = __webpack_require__(/*! ./StreamsContentProtectionResponse */ "./models/StreamsContentProtectionResponse.ts");
|
|
82191
82264
|
var StreamsVideoEncodingTask_1 = __webpack_require__(/*! ./StreamsVideoEncodingTask */ "./models/StreamsVideoEncodingTask.ts");
|
|
82192
82265
|
/**
|
|
82193
82266
|
* @export
|
|
@@ -82208,6 +82281,7 @@ var StreamsVideoResponse = /** @class */ (function () {
|
|
|
82208
82281
|
this.encodingTasks = (0, Mapper_1.mapArray)(obj.encodingTasks, StreamsVideoEncodingTask_1.default);
|
|
82209
82282
|
this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
82210
82283
|
this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
82284
|
+
this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
|
|
82211
82285
|
}
|
|
82212
82286
|
return StreamsVideoResponse;
|
|
82213
82287
|
}());
|
|
@@ -86205,7 +86279,9 @@ __exportStar(__webpack_require__(/*! ./StreamPerTitleSettings */ "./models/Strea
|
|
|
86205
86279
|
__exportStar(__webpack_require__(/*! ./StreamSelectionMode */ "./models/StreamSelectionMode.ts"), exports);
|
|
86206
86280
|
__exportStar(__webpack_require__(/*! ./StreamsAdConfigAd */ "./models/StreamsAdConfigAd.ts"), exports);
|
|
86207
86281
|
__exportStar(__webpack_require__(/*! ./StreamsAdConfigResponse */ "./models/StreamsAdConfigResponse.ts"), exports);
|
|
86282
|
+
__exportStar(__webpack_require__(/*! ./StreamsConfigPlayerStyle */ "./models/StreamsConfigPlayerStyle.ts"), exports);
|
|
86208
86283
|
__exportStar(__webpack_require__(/*! ./StreamsConfigResponse */ "./models/StreamsConfigResponse.ts"), exports);
|
|
86284
|
+
__exportStar(__webpack_require__(/*! ./StreamsContentProtectionResponse */ "./models/StreamsContentProtectionResponse.ts"), exports);
|
|
86209
86285
|
__exportStar(__webpack_require__(/*! ./StreamsLiveCreateRequest */ "./models/StreamsLiveCreateRequest.ts"), exports);
|
|
86210
86286
|
__exportStar(__webpack_require__(/*! ./StreamsLiveLifeCycle */ "./models/StreamsLiveLifeCycle.ts"), exports);
|
|
86211
86287
|
__exportStar(__webpack_require__(/*! ./StreamsLiveResponse */ "./models/StreamsLiveResponse.ts"), exports);
|
|
@@ -88735,7 +88811,7 @@ var ErrorApi = /** @class */ (function (_super) {
|
|
|
88735
88811
|
}
|
|
88736
88812
|
/**
|
|
88737
88813
|
* @summary Add 'Manifest Error' Webhook (All Manifests)
|
|
88738
|
-
* @param {Webhook} webhook Add a new webhook notification if a manifest
|
|
88814
|
+
* @param {Webhook} webhook Add a new webhook notification if a manifest generation failed with an error. A maximum number of 5 webhooks is allowed
|
|
88739
88815
|
* @throws {BitmovinError}
|
|
88740
88816
|
* @memberof ErrorApi
|
|
88741
88817
|
*/
|
|
@@ -88836,7 +88912,7 @@ var FinishedApi = /** @class */ (function (_super) {
|
|
|
88836
88912
|
}
|
|
88837
88913
|
/**
|
|
88838
88914
|
* @summary Add 'Manifest Finished Successfully' Webhook (All Manifests)
|
|
88839
|
-
* @param {Webhook} webhook Add a new webhook notification if a manifest
|
|
88915
|
+
* @param {Webhook} webhook Add a new webhook notification if a manifest generation finished successfully. A maximum number of 5 webhooks is allowed
|
|
88840
88916
|
* @throws {BitmovinError}
|
|
88841
88917
|
* @memberof FinishedApi
|
|
88842
88918
|
*/
|