@bitmovin/api-sdk 1.170.0 → 1.172.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 +66 -4
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/models/AccountInformation.d.ts +6 -0
- package/dist/models/AccountInformation.js +1 -0
- package/dist/models/AnalyticsAttribute.d.ts +1 -0
- package/dist/models/AnalyticsAttribute.js +1 -0
- package/dist/models/Marketplace.d.ts +10 -0
- package/dist/models/Marketplace.js +14 -0
- package/dist/models/NexGuardFileMarker.d.ts +1 -1
- package/dist/models/StreamsLiveResponse.d.ts +7 -0
- package/dist/models/StreamsLiveResponse.js +1 -0
- package/dist/models/StreamsTrimmingStatus.d.ts +12 -0
- package/dist/models/StreamsTrimmingStatus.js +16 -0
- package/dist/models/StreamsVideoQuality.d.ts +1 -2
- package/dist/models/StreamsVideoQuality.js +0 -1
- package/dist/models/StreamsVideoResponse.d.ts +7 -0
- package/dist/models/StreamsVideoResponse.js +1 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -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.172.0',
|
|
5991
5991
|
'Content-Type': 'application/json'
|
|
5992
5992
|
};
|
|
5993
5993
|
if (tenantOrgId) {
|
|
@@ -53369,6 +53369,7 @@ var AccountInformation = /** @class */ (function (_super) {
|
|
|
53369
53369
|
_this.phone = (0, Mapper_1.map)(obj.phone);
|
|
53370
53370
|
_this.company = (0, Mapper_1.map)(obj.company);
|
|
53371
53371
|
_this.verified = (0, Mapper_1.map)(obj.verified);
|
|
53372
|
+
_this.marketplace = (0, Mapper_1.map)(obj.marketplace);
|
|
53372
53373
|
return _this;
|
|
53373
53374
|
}
|
|
53374
53375
|
return AccountInformation;
|
|
@@ -55509,6 +55510,7 @@ var AnalyticsAttribute;
|
|
|
55509
55510
|
AnalyticsAttribute["ERROR_CODE"] = "ERROR_CODE";
|
|
55510
55511
|
AnalyticsAttribute["ERROR_MESSAGE"] = "ERROR_MESSAGE";
|
|
55511
55512
|
AnalyticsAttribute["ERROR_RATE"] = "ERROR_RATE";
|
|
55513
|
+
AnalyticsAttribute["ERROR_PERCENTAGE"] = "ERROR_PERCENTAGE";
|
|
55512
55514
|
AnalyticsAttribute["EXPERIMENT_NAME"] = "EXPERIMENT_NAME";
|
|
55513
55515
|
AnalyticsAttribute["FUNCTION"] = "FUNCTION";
|
|
55514
55516
|
AnalyticsAttribute["HOUR"] = "HOUR";
|
|
@@ -73402,6 +73404,31 @@ exports.ManifestTypeResponse = ManifestTypeResponse;
|
|
|
73402
73404
|
exports["default"] = ManifestTypeResponse;
|
|
73403
73405
|
|
|
73404
73406
|
|
|
73407
|
+
/***/ }),
|
|
73408
|
+
|
|
73409
|
+
/***/ "./models/Marketplace.ts":
|
|
73410
|
+
/*!*******************************!*\
|
|
73411
|
+
!*** ./models/Marketplace.ts ***!
|
|
73412
|
+
\*******************************/
|
|
73413
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
73414
|
+
|
|
73415
|
+
"use strict";
|
|
73416
|
+
|
|
73417
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
73418
|
+
exports.Marketplace = void 0;
|
|
73419
|
+
/**
|
|
73420
|
+
* Type of signup marketplace
|
|
73421
|
+
* @export
|
|
73422
|
+
* @enum {string}
|
|
73423
|
+
*/
|
|
73424
|
+
var Marketplace;
|
|
73425
|
+
(function (Marketplace) {
|
|
73426
|
+
Marketplace["AWS"] = "AWS";
|
|
73427
|
+
Marketplace["AZURE"] = "AZURE";
|
|
73428
|
+
})(Marketplace = exports.Marketplace || (exports.Marketplace = {}));
|
|
73429
|
+
exports["default"] = Marketplace;
|
|
73430
|
+
|
|
73431
|
+
|
|
73405
73432
|
/***/ }),
|
|
73406
73433
|
|
|
73407
73434
|
/***/ "./models/MarlinDrm.ts":
|
|
@@ -82471,6 +82498,7 @@ var StreamsLiveResponse = /** @class */ (function () {
|
|
|
82471
82498
|
this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
82472
82499
|
this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
82473
82500
|
this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
|
|
82501
|
+
this.trimming = (0, Mapper_1.map)(obj.trimming);
|
|
82474
82502
|
}
|
|
82475
82503
|
return StreamsLiveResponse;
|
|
82476
82504
|
}());
|
|
@@ -82619,6 +82647,33 @@ exports.StreamsStyleConfigResponse = StreamsStyleConfigResponse;
|
|
|
82619
82647
|
exports["default"] = StreamsStyleConfigResponse;
|
|
82620
82648
|
|
|
82621
82649
|
|
|
82650
|
+
/***/ }),
|
|
82651
|
+
|
|
82652
|
+
/***/ "./models/StreamsTrimmingStatus.ts":
|
|
82653
|
+
/*!*****************************************!*\
|
|
82654
|
+
!*** ./models/StreamsTrimmingStatus.ts ***!
|
|
82655
|
+
\*****************************************/
|
|
82656
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
82657
|
+
|
|
82658
|
+
"use strict";
|
|
82659
|
+
|
|
82660
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
82661
|
+
exports.StreamsTrimmingStatus = void 0;
|
|
82662
|
+
/**
|
|
82663
|
+
* @export
|
|
82664
|
+
* @enum {string}
|
|
82665
|
+
*/
|
|
82666
|
+
var StreamsTrimmingStatus;
|
|
82667
|
+
(function (StreamsTrimmingStatus) {
|
|
82668
|
+
StreamsTrimmingStatus["UNAVAILABLE"] = "UNAVAILABLE";
|
|
82669
|
+
StreamsTrimmingStatus["AVAILABLE"] = "AVAILABLE";
|
|
82670
|
+
StreamsTrimmingStatus["STARTED"] = "STARTED";
|
|
82671
|
+
StreamsTrimmingStatus["ERROR"] = "ERROR";
|
|
82672
|
+
StreamsTrimmingStatus["FINISHED"] = "FINISHED";
|
|
82673
|
+
})(StreamsTrimmingStatus = exports.StreamsTrimmingStatus || (exports.StreamsTrimmingStatus = {}));
|
|
82674
|
+
exports["default"] = StreamsTrimmingStatus;
|
|
82675
|
+
|
|
82676
|
+
|
|
82622
82677
|
/***/ }),
|
|
82623
82678
|
|
|
82624
82679
|
/***/ "./models/StreamsType.ts":
|
|
@@ -82754,7 +82809,6 @@ var StreamsVideoQuality;
|
|
|
82754
82809
|
StreamsVideoQuality["NONE"] = "NONE";
|
|
82755
82810
|
StreamsVideoQuality["PREVIEW"] = "PREVIEW";
|
|
82756
82811
|
StreamsVideoQuality["DEFAULT"] = "DEFAULT";
|
|
82757
|
-
StreamsVideoQuality["TRIMMED"] = "TRIMMED";
|
|
82758
82812
|
})(StreamsVideoQuality = exports.StreamsVideoQuality || (exports.StreamsVideoQuality = {}));
|
|
82759
82813
|
exports["default"] = StreamsVideoQuality;
|
|
82760
82814
|
|
|
@@ -82796,6 +82850,7 @@ var StreamsVideoResponse = /** @class */ (function () {
|
|
|
82796
82850
|
this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
82797
82851
|
this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
82798
82852
|
this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
|
|
82853
|
+
this.trimming = (0, Mapper_1.map)(obj.trimming);
|
|
82799
82854
|
}
|
|
82800
82855
|
return StreamsVideoResponse;
|
|
82801
82856
|
}());
|
|
@@ -86573,6 +86628,7 @@ __exportStar(__webpack_require__(/*! ./ManifestGenerator */ "./models/ManifestGe
|
|
|
86573
86628
|
__exportStar(__webpack_require__(/*! ./ManifestResource */ "./models/ManifestResource.ts"), exports);
|
|
86574
86629
|
__exportStar(__webpack_require__(/*! ./ManifestType */ "./models/ManifestType.ts"), exports);
|
|
86575
86630
|
__exportStar(__webpack_require__(/*! ./ManifestTypeResponse */ "./models/ManifestTypeResponse.ts"), exports);
|
|
86631
|
+
__exportStar(__webpack_require__(/*! ./Marketplace */ "./models/Marketplace.ts"), exports);
|
|
86576
86632
|
__exportStar(__webpack_require__(/*! ./MarlinDrm */ "./models/MarlinDrm.ts"), exports);
|
|
86577
86633
|
__exportStar(__webpack_require__(/*! ./MaxCtuSize */ "./models/MaxCtuSize.ts"), exports);
|
|
86578
86634
|
__exportStar(__webpack_require__(/*! ./MaxTransformUnitSize */ "./models/MaxTransformUnitSize.ts"), exports);
|
|
@@ -86809,6 +86865,7 @@ __exportStar(__webpack_require__(/*! ./StreamsLiveUpdateRequest */ "./models/Str
|
|
|
86809
86865
|
__exportStar(__webpack_require__(/*! ./StreamsSearchResponse */ "./models/StreamsSearchResponse.ts"), exports);
|
|
86810
86866
|
__exportStar(__webpack_require__(/*! ./StreamsStyleConfigPlayerStyle */ "./models/StreamsStyleConfigPlayerStyle.ts"), exports);
|
|
86811
86867
|
__exportStar(__webpack_require__(/*! ./StreamsStyleConfigResponse */ "./models/StreamsStyleConfigResponse.ts"), exports);
|
|
86868
|
+
__exportStar(__webpack_require__(/*! ./StreamsTrimmingStatus */ "./models/StreamsTrimmingStatus.ts"), exports);
|
|
86812
86869
|
__exportStar(__webpack_require__(/*! ./StreamsType */ "./models/StreamsType.ts"), exports);
|
|
86813
86870
|
__exportStar(__webpack_require__(/*! ./StreamsVideoCreateRequest */ "./models/StreamsVideoCreateRequest.ts"), exports);
|
|
86814
86871
|
__exportStar(__webpack_require__(/*! ./StreamsVideoEncodingStatus */ "./models/StreamsVideoEncodingStatus.ts"), exports);
|
|
@@ -91732,10 +91789,16 @@ function fetch(input, init) {
|
|
|
91732
91789
|
|
|
91733
91790
|
xhr.onload = function() {
|
|
91734
91791
|
var options = {
|
|
91735
|
-
status: xhr.status,
|
|
91736
91792
|
statusText: xhr.statusText,
|
|
91737
91793
|
headers: parseHeaders(xhr.getAllResponseHeaders() || '')
|
|
91738
91794
|
}
|
|
91795
|
+
// This check if specifically for when a user fetches a file locally from the file system
|
|
91796
|
+
// Only if the status is out of a normal range
|
|
91797
|
+
if (request.url.startsWith('file://') && (xhr.status < 200 || xhr.status > 599)) {
|
|
91798
|
+
options.status = 200;
|
|
91799
|
+
} else {
|
|
91800
|
+
options.status = xhr.status;
|
|
91801
|
+
}
|
|
91739
91802
|
options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL')
|
|
91740
91803
|
var body = 'response' in xhr ? xhr.response : xhr.responseText
|
|
91741
91804
|
setTimeout(function() {
|
|
@@ -91828,7 +91891,6 @@ if (!g.fetch) {
|
|
|
91828
91891
|
g.Response = Response
|
|
91829
91892
|
}
|
|
91830
91893
|
|
|
91831
|
-
|
|
91832
91894
|
/***/ })
|
|
91833
91895
|
|
|
91834
91896
|
/******/ });
|