@bitmovin/api-sdk 1.185.0 → 1.187.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.
Files changed (33) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +66 -16
  3. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  4. package/dist/common/RestClient.js +1 -1
  5. package/dist/encoding/configurations/audio/eac3/customdata/CustomdataApi.d.ts +1 -1
  6. package/dist/encoding/configurations/audio/eac3/customdata/CustomdataApi.js +1 -1
  7. package/dist/models/AkamaiMslOutput.d.ts +1 -1
  8. package/dist/models/AnalyticsLicense.d.ts +6 -0
  9. package/dist/models/AnalyticsLicense.js +1 -0
  10. package/dist/models/AnalyticsVirtualLicense.d.ts +6 -0
  11. package/dist/models/AnalyticsVirtualLicense.js +1 -0
  12. package/dist/models/ConditionAttribute.d.ts +24 -0
  13. package/dist/models/ConditionAttribute.js +28 -0
  14. package/dist/models/StreamsDomainRestrictionResponse.d.ts +32 -0
  15. package/dist/models/{StreamsContentProtectionResponse.js → StreamsDomainRestrictionResponse.js} +7 -7
  16. package/dist/models/StreamsLiveCreateRequest.d.ts +6 -0
  17. package/dist/models/StreamsLiveCreateRequest.js +1 -0
  18. package/dist/models/StreamsLiveResponse.d.ts +3 -3
  19. package/dist/models/StreamsLiveResponse.js +2 -2
  20. package/dist/models/StreamsLiveUpdateRequest.d.ts +6 -0
  21. package/dist/models/StreamsLiveUpdateRequest.js +1 -0
  22. package/dist/models/StreamsVideoCreateRequest.d.ts +6 -0
  23. package/dist/models/StreamsVideoCreateRequest.js +1 -0
  24. package/dist/models/StreamsVideoResponse.d.ts +3 -3
  25. package/dist/models/StreamsVideoResponse.js +2 -2
  26. package/dist/models/StreamsVideoUpdateRequest.d.ts +6 -0
  27. package/dist/models/StreamsVideoUpdateRequest.js +1 -0
  28. package/dist/models/WebhookNotification.d.ts +20 -0
  29. package/dist/models/WebhookNotification.js +4 -0
  30. package/dist/models/index.d.ts +2 -1
  31. package/dist/models/index.js +2 -1
  32. package/package.json +1 -1
  33. package/dist/models/StreamsContentProtectionResponse.d.ts +0 -32
package/README.md CHANGED
@@ -31,7 +31,7 @@ If you have any questions regarding the SDK, provided examples or our services,
31
31
  ## Installation
32
32
 
33
33
  ``` bash
34
- npm install @bitmovin/api-sdk@1.185.0
34
+ npm install @bitmovin/api-sdk@1.187.0
35
35
  ```
36
36
 
37
37
  ## Initialization
@@ -6109,7 +6109,7 @@ var HeaderHandler = /** @class */ (function (_super) {
6109
6109
  var headers = {
6110
6110
  'X-Api-Key': apiKey,
6111
6111
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
6112
- 'X-Api-Client-Version': '1.185.0',
6112
+ 'X-Api-Client-Version': '1.187.0',
6113
6113
  'Content-Type': 'application/json'
6114
6114
  };
6115
6115
  if (tenantOrgId) {
@@ -8467,7 +8467,7 @@ var CustomdataApi = /** @class */ (function (_super) {
8467
8467
  return _super.call(this, configuration) || this;
8468
8468
  }
8469
8469
  /**
8470
- * @summary E-AC3 Codec Configuration Custom Data. Deprecation notice: use Dolby Digital Plus instead. For more information check out our tutorial here: https://bitmovin.com/docs/encoding/tutorials/how-to-create-dolby-digital-plus-encodings
8470
+ * @summary E-AC3 Codec Configuration Custom Data
8471
8471
  * @param {string} configurationId Id of the codec configuration
8472
8472
  * @throws {BitmovinError}
8473
8473
  * @memberof CustomdataApi
@@ -57339,6 +57339,7 @@ var AnalyticsLicense = /** @class */ (function () {
57339
57339
  this.maxImpressions = (0, Mapper_1.map)(obj.maxImpressions);
57340
57340
  this.timeZone = (0, Mapper_1.map)(obj.timeZone);
57341
57341
  this.retentionTime = (0, Mapper_1.map)(obj.retentionTime);
57342
+ this.compressedRetentionTime = (0, Mapper_1.map)(obj.compressedRetentionTime);
57342
57343
  this.domains = (0, Mapper_1.mapArray)(obj.domains, AnalyticsLicenseDomain_1.default);
57343
57344
  this.includeInInsights = (0, Mapper_1.map)(obj.includeInInsights);
57344
57345
  this.customDataFieldLabels = (0, Mapper_1.map)(obj.customDataFieldLabels, AnalyticsLicenseCustomDataFieldLabels_1.default);
@@ -58495,6 +58496,7 @@ var AnalyticsVirtualLicense = /** @class */ (function () {
58495
58496
  this.name = (0, Mapper_1.map)(obj.name);
58496
58497
  this.timezone = (0, Mapper_1.map)(obj.timezone);
58497
58498
  this.retentionTime = (0, Mapper_1.map)(obj.retentionTime);
58499
+ this.compressedRetentionTime = (0, Mapper_1.map)(obj.compressedRetentionTime);
58498
58500
  this.licenses = (0, Mapper_1.mapArray)(obj.licenses, AnalyticsVirtualLicenseLicensesListItem_1.default);
58499
58501
  this.customDataFieldsCount = (0, Mapper_1.map)(obj.customDataFieldsCount);
58500
58502
  this.customDataFieldLabels = (0, Mapper_1.map)(obj.customDataFieldLabels, AnalyticsLicenseCustomDataFieldLabels_1.default);
@@ -62915,6 +62917,45 @@ exports.Condition = Condition;
62915
62917
  exports["default"] = Condition;
62916
62918
 
62917
62919
 
62920
+ /***/ }),
62921
+
62922
+ /***/ "./models/ConditionAttribute.ts":
62923
+ /*!**************************************!*\
62924
+ !*** ./models/ConditionAttribute.ts ***!
62925
+ \**************************************/
62926
+ /***/ ((__unused_webpack_module, exports) => {
62927
+
62928
+ "use strict";
62929
+
62930
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
62931
+ exports.ConditionAttribute = void 0;
62932
+ /**
62933
+ * The attribute that should be checked
62934
+ * @export
62935
+ * @enum {string}
62936
+ */
62937
+ var ConditionAttribute;
62938
+ (function (ConditionAttribute) {
62939
+ ConditionAttribute["HEIGHT"] = "HEIGHT";
62940
+ ConditionAttribute["WIDTH"] = "WIDTH";
62941
+ ConditionAttribute["BITRATE"] = "BITRATE";
62942
+ ConditionAttribute["FPS"] = "FPS";
62943
+ ConditionAttribute["ASPECTRATIO"] = "ASPECTRATIO";
62944
+ ConditionAttribute["INPUTSTREAM"] = "INPUTSTREAM";
62945
+ ConditionAttribute["LANGUAGE"] = "LANGUAGE";
62946
+ ConditionAttribute["CHANNELFORMAT"] = "CHANNELFORMAT";
62947
+ ConditionAttribute["CHANNELLAYOUT"] = "CHANNELLAYOUT";
62948
+ ConditionAttribute["STREAMCOUNT"] = "STREAMCOUNT";
62949
+ ConditionAttribute["AUDIOSTREAMCOUNT"] = "AUDIOSTREAMCOUNT";
62950
+ ConditionAttribute["VIDEOSTREAMCOUNT"] = "VIDEOSTREAMCOUNT";
62951
+ ConditionAttribute["DURATION"] = "DURATION";
62952
+ ConditionAttribute["ROTATION"] = "ROTATION";
62953
+ ConditionAttribute["CONNECTION_STATUS"] = "CONNECTION_STATUS";
62954
+ ConditionAttribute["CONNECTION_STATUS_JUST_CHANGED"] = "CONNECTION_STATUS_JUST_CHANGED";
62955
+ })(ConditionAttribute || (exports.ConditionAttribute = ConditionAttribute = {}));
62956
+ exports["default"] = ConditionAttribute;
62957
+
62958
+
62918
62959
  /***/ }),
62919
62960
 
62920
62961
  /***/ "./models/ConditionOperator.ts":
@@ -82952,23 +82993,23 @@ exports["default"] = StreamsAdConfigResponse;
82952
82993
 
82953
82994
  /***/ }),
82954
82995
 
82955
- /***/ "./models/StreamsContentProtectionResponse.ts":
82996
+ /***/ "./models/StreamsDomainRestrictionResponse.ts":
82956
82997
  /*!****************************************************!*\
82957
- !*** ./models/StreamsContentProtectionResponse.ts ***!
82998
+ !*** ./models/StreamsDomainRestrictionResponse.ts ***!
82958
82999
  \****************************************************/
82959
83000
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
82960
83001
 
82961
83002
  "use strict";
82962
83003
 
82963
83004
  Object.defineProperty(exports, "__esModule", ({ value: true }));
82964
- exports.StreamsContentProtectionResponse = void 0;
83005
+ exports.StreamsDomainRestrictionResponse = void 0;
82965
83006
  var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
82966
83007
  /**
82967
83008
  * @export
82968
- * @class StreamsContentProtectionResponse
83009
+ * @class StreamsDomainRestrictionResponse
82969
83010
  */
82970
- var StreamsContentProtectionResponse = /** @class */ (function () {
82971
- function StreamsContentProtectionResponse(obj) {
83011
+ var StreamsDomainRestrictionResponse = /** @class */ (function () {
83012
+ function StreamsDomainRestrictionResponse(obj) {
82972
83013
  if (!obj) {
82973
83014
  return;
82974
83015
  }
@@ -82977,10 +83018,10 @@ var StreamsContentProtectionResponse = /** @class */ (function () {
82977
83018
  this.allowNoReferer = (0, Mapper_1.map)(obj.allowNoReferer);
82978
83019
  this.allowShare = (0, Mapper_1.map)(obj.allowShare);
82979
83020
  }
82980
- return StreamsContentProtectionResponse;
83021
+ return StreamsDomainRestrictionResponse;
82981
83022
  }());
82982
- exports.StreamsContentProtectionResponse = StreamsContentProtectionResponse;
82983
- exports["default"] = StreamsContentProtectionResponse;
83023
+ exports.StreamsDomainRestrictionResponse = StreamsDomainRestrictionResponse;
83024
+ exports["default"] = StreamsDomainRestrictionResponse;
82984
83025
 
82985
83026
 
82986
83027
  /***/ }),
@@ -83031,6 +83072,7 @@ var StreamsLiveCreateRequest = /** @class */ (function () {
83031
83072
  }
83032
83073
  this.title = (0, Mapper_1.map)(obj.title);
83033
83074
  this.description = (0, Mapper_1.map)(obj.description);
83075
+ this.domainRestrictionId = (0, Mapper_1.map)(obj.domainRestrictionId);
83034
83076
  }
83035
83077
  return StreamsLiveCreateRequest;
83036
83078
  }());
@@ -83093,7 +83135,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
83093
83135
  exports.StreamsLiveResponse = void 0;
83094
83136
  var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
83095
83137
  var StreamsAdConfigResponse_1 = __webpack_require__(/*! ./StreamsAdConfigResponse */ "./models/StreamsAdConfigResponse.ts");
83096
- var StreamsContentProtectionResponse_1 = __webpack_require__(/*! ./StreamsContentProtectionResponse */ "./models/StreamsContentProtectionResponse.ts");
83138
+ var StreamsDomainRestrictionResponse_1 = __webpack_require__(/*! ./StreamsDomainRestrictionResponse */ "./models/StreamsDomainRestrictionResponse.ts");
83097
83139
  var StreamsResponse_1 = __webpack_require__(/*! ./StreamsResponse */ "./models/StreamsResponse.ts");
83098
83140
  var StreamsStyleConfigResponse_1 = __webpack_require__(/*! ./StreamsStyleConfigResponse */ "./models/StreamsStyleConfigResponse.ts");
83099
83141
  var StreamsType_1 = __webpack_require__(/*! ./StreamsType */ "./models/StreamsType.ts");
@@ -83119,7 +83161,7 @@ var StreamsLiveResponse = /** @class */ (function (_super) {
83119
83161
  _this.styleConfig = (0, Mapper_1.map)(obj.styleConfig, StreamsStyleConfigResponse_1.default);
83120
83162
  _this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
83121
83163
  _this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
83122
- _this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
83164
+ _this.domainRestriction = (0, Mapper_1.map)(obj.domainRestriction, StreamsDomainRestrictionResponse_1.default);
83123
83165
  _this.trimming = (0, Mapper_1.map)(obj.trimming);
83124
83166
  return _this;
83125
83167
  }
@@ -83154,6 +83196,7 @@ var StreamsLiveUpdateRequest = /** @class */ (function () {
83154
83196
  this.title = (0, Mapper_1.map)(obj.title);
83155
83197
  this.description = (0, Mapper_1.map)(obj.description);
83156
83198
  this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
83199
+ this.domainRestrictionId = (0, Mapper_1.map)(obj.domainRestrictionId);
83157
83200
  }
83158
83201
  return StreamsLiveUpdateRequest;
83159
83202
  }());
@@ -83442,6 +83485,7 @@ var StreamsVideoCreateRequest = /** @class */ (function () {
83442
83485
  this.assetUrl = (0, Mapper_1.map)(obj.assetUrl);
83443
83486
  this.title = (0, Mapper_1.map)(obj.title);
83444
83487
  this.description = (0, Mapper_1.map)(obj.description);
83488
+ this.domainRestrictionId = (0, Mapper_1.map)(obj.domainRestrictionId);
83445
83489
  this.encodingProfile = (0, Mapper_1.map)(obj.encodingProfile);
83446
83490
  this.signed = (0, Mapper_1.map)(obj.signed);
83447
83491
  }
@@ -83561,7 +83605,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
83561
83605
  exports.StreamsVideoResponse = void 0;
83562
83606
  var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
83563
83607
  var StreamsAdConfigResponse_1 = __webpack_require__(/*! ./StreamsAdConfigResponse */ "./models/StreamsAdConfigResponse.ts");
83564
- var StreamsContentProtectionResponse_1 = __webpack_require__(/*! ./StreamsContentProtectionResponse */ "./models/StreamsContentProtectionResponse.ts");
83608
+ var StreamsDomainRestrictionResponse_1 = __webpack_require__(/*! ./StreamsDomainRestrictionResponse */ "./models/StreamsDomainRestrictionResponse.ts");
83565
83609
  var StreamsResponse_1 = __webpack_require__(/*! ./StreamsResponse */ "./models/StreamsResponse.ts");
83566
83610
  var StreamsStyleConfigResponse_1 = __webpack_require__(/*! ./StreamsStyleConfigResponse */ "./models/StreamsStyleConfigResponse.ts");
83567
83611
  var StreamsType_1 = __webpack_require__(/*! ./StreamsType */ "./models/StreamsType.ts");
@@ -83589,7 +83633,7 @@ var StreamsVideoResponse = /** @class */ (function (_super) {
83589
83633
  _this.encodingTasks = (0, Mapper_1.mapArray)(obj.encodingTasks, StreamsVideoEncodingTask_1.default);
83590
83634
  _this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
83591
83635
  _this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
83592
- _this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
83636
+ _this.domainRestriction = (0, Mapper_1.map)(obj.domainRestriction, StreamsDomainRestrictionResponse_1.default);
83593
83637
  _this.trimming = (0, Mapper_1.map)(obj.trimming);
83594
83638
  _this.downloadUrl = (0, Mapper_1.map)(obj.downloadUrl);
83595
83639
  _this.signed = (0, Mapper_1.map)(obj.signed);
@@ -83651,6 +83695,7 @@ var StreamsVideoUpdateRequest = /** @class */ (function () {
83651
83695
  this.title = (0, Mapper_1.map)(obj.title);
83652
83696
  this.description = (0, Mapper_1.map)(obj.description);
83653
83697
  this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
83698
+ this.domainRestrictionId = (0, Mapper_1.map)(obj.domainRestrictionId);
83654
83699
  }
83655
83700
  return StreamsVideoUpdateRequest;
83656
83701
  }());
@@ -86537,6 +86582,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
86537
86582
  exports.WebhookNotification = void 0;
86538
86583
  var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
86539
86584
  var Notification_1 = __webpack_require__(/*! ./Notification */ "./models/Notification.ts");
86585
+ var WebhookSignature_1 = __webpack_require__(/*! ./WebhookSignature */ "./models/WebhookSignature.ts");
86540
86586
  /**
86541
86587
  * @export
86542
86588
  * @class WebhookNotification
@@ -86549,6 +86595,9 @@ var WebhookNotification = /** @class */ (function (_super) {
86549
86595
  return _this;
86550
86596
  }
86551
86597
  _this.url = (0, Mapper_1.map)(obj.url);
86598
+ _this.method = (0, Mapper_1.map)(obj.method);
86599
+ _this.insecureSsl = (0, Mapper_1.map)(obj.insecureSsl);
86600
+ _this.signature = (0, Mapper_1.map)(obj.signature, WebhookSignature_1.default);
86552
86601
  return _this;
86553
86602
  }
86554
86603
  return WebhookNotification;
@@ -87160,6 +87209,7 @@ __exportStar(__webpack_require__(/*! ./ColorTransfer */ "./models/ColorTransfer.
87160
87209
  __exportStar(__webpack_require__(/*! ./ConcatenationInputConfiguration */ "./models/ConcatenationInputConfiguration.ts"), exports);
87161
87210
  __exportStar(__webpack_require__(/*! ./ConcatenationInputStream */ "./models/ConcatenationInputStream.ts"), exports);
87162
87211
  __exportStar(__webpack_require__(/*! ./Condition */ "./models/Condition.ts"), exports);
87212
+ __exportStar(__webpack_require__(/*! ./ConditionAttribute */ "./models/ConditionAttribute.ts"), exports);
87163
87213
  __exportStar(__webpack_require__(/*! ./ConditionOperator */ "./models/ConditionOperator.ts"), exports);
87164
87214
  __exportStar(__webpack_require__(/*! ./ConditionType */ "./models/ConditionType.ts"), exports);
87165
87215
  __exportStar(__webpack_require__(/*! ./ConformFilter */ "./models/ConformFilter.ts"), exports);
@@ -87671,7 +87721,7 @@ __exportStar(__webpack_require__(/*! ./StreamPerTitleSettings */ "./models/Strea
87671
87721
  __exportStar(__webpack_require__(/*! ./StreamSelectionMode */ "./models/StreamSelectionMode.ts"), exports);
87672
87722
  __exportStar(__webpack_require__(/*! ./StreamsAdConfigAd */ "./models/StreamsAdConfigAd.ts"), exports);
87673
87723
  __exportStar(__webpack_require__(/*! ./StreamsAdConfigResponse */ "./models/StreamsAdConfigResponse.ts"), exports);
87674
- __exportStar(__webpack_require__(/*! ./StreamsContentProtectionResponse */ "./models/StreamsContentProtectionResponse.ts"), exports);
87724
+ __exportStar(__webpack_require__(/*! ./StreamsDomainRestrictionResponse */ "./models/StreamsDomainRestrictionResponse.ts"), exports);
87675
87725
  __exportStar(__webpack_require__(/*! ./StreamsEncodingProfile */ "./models/StreamsEncodingProfile.ts"), exports);
87676
87726
  __exportStar(__webpack_require__(/*! ./StreamsLiveCreateRequest */ "./models/StreamsLiveCreateRequest.ts"), exports);
87677
87727
  __exportStar(__webpack_require__(/*! ./StreamsLiveLifeCycle */ "./models/StreamsLiveLifeCycle.ts"), exports);