@bitmovin/api-sdk 1.103.0 → 1.106.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 (37) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +109 -7
  3. package/dist/bitmovin-api-sdk.browser.js.map +1 -1
  4. package/dist/bitmovin-api-sdk.browser.min.js +2 -2
  5. package/dist/common/RestClient.js +1 -1
  6. package/dist/encoding/configurations/video/av1/Av1Api.js.map +1 -1
  7. package/dist/models/AdAnalyticsAttribute.d.ts +0 -2
  8. package/dist/models/AdAnalyticsAttribute.js +0 -2
  9. package/dist/models/AdAnalyticsAttribute.js.map +1 -1
  10. package/dist/models/AnalyticsAdsImpressionSample.d.ts +0 -24
  11. package/dist/models/AnalyticsAdsImpressionSample.js +0 -4
  12. package/dist/models/AnalyticsAdsImpressionSample.js.map +1 -1
  13. package/dist/models/Av1PerTitleConfiguration.d.ts +15 -0
  14. package/dist/models/Av1PerTitleConfiguration.js +37 -0
  15. package/dist/models/Av1PerTitleConfiguration.js.map +1 -0
  16. package/dist/models/Av1PresetConfiguration.d.ts +10 -0
  17. package/dist/models/Av1PresetConfiguration.js +15 -0
  18. package/dist/models/Av1PresetConfiguration.js.map +1 -0
  19. package/dist/models/Av1VideoConfiguration.d.ts +7 -0
  20. package/dist/models/Av1VideoConfiguration.js +2 -0
  21. package/dist/models/Av1VideoConfiguration.js.map +1 -1
  22. package/dist/models/EncodingTemplate.d.ts +9 -0
  23. package/dist/models/EncodingTemplate.js +14 -0
  24. package/dist/models/EncodingTemplate.js.map +1 -0
  25. package/dist/models/PerTitle.d.ts +7 -0
  26. package/dist/models/PerTitle.js +2 -0
  27. package/dist/models/PerTitle.js.map +1 -1
  28. package/dist/models/SimpleEncodingVodJobRequest.d.ts +7 -0
  29. package/dist/models/SimpleEncodingVodJobRequest.js +1 -0
  30. package/dist/models/SimpleEncodingVodJobRequest.js.map +1 -1
  31. package/dist/models/SimpleEncodingVodJobResponse.d.ts +7 -0
  32. package/dist/models/SimpleEncodingVodJobResponse.js +1 -0
  33. package/dist/models/SimpleEncodingVodJobResponse.js.map +1 -1
  34. package/dist/models/index.d.ts +3 -0
  35. package/dist/models/index.js +3 -0
  36. package/dist/models/index.js.map +1 -1
  37. package/package.json +1 -1
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.103.0
34
+ npm install @bitmovin/api-sdk@1.106.0
35
35
  ```
36
36
 
37
37
  ## Initialization
@@ -6974,7 +6974,7 @@ var HeaderHandler = /** @class */ (function (_super) {
6974
6974
  var headers = {
6975
6975
  'X-Api-Key': apiKey,
6976
6976
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
6977
- 'X-Api-Client-Version': '1.103.0',
6977
+ 'X-Api-Client-Version': '1.106.0',
6978
6978
  'Content-Type': 'application/json'
6979
6979
  };
6980
6980
  if (tenantOrgId) {
@@ -54197,10 +54197,8 @@ var AdAnalyticsAttribute;
54197
54197
  AdAnalyticsAttribute["STREAM_FORMAT"] = "STREAM_FORMAT";
54198
54198
  AdAnalyticsAttribute["SURVEY_URL"] = "SURVEY_URL";
54199
54199
  AdAnalyticsAttribute["TIME"] = "TIME";
54200
- AdAnalyticsAttribute["TIME_FROM_CONTENT"] = "TIME_FROM_CONTENT";
54201
54200
  AdAnalyticsAttribute["TIME_IN_VIEWPORT"] = "TIME_IN_VIEWPORT";
54202
54201
  AdAnalyticsAttribute["TIME_PLAYED"] = "TIME_PLAYED";
54203
- AdAnalyticsAttribute["TIME_TO_CONTENT"] = "TIME_TO_CONTENT";
54204
54202
  AdAnalyticsAttribute["UNIVERSAL_AD_ID_REGISTRY"] = "UNIVERSAL_AD_ID_REGISTRY";
54205
54203
  AdAnalyticsAttribute["UNIVERSAL_AD_ID_VALUE"] = "UNIVERSAL_AD_ID_VALUE";
54206
54204
  AdAnalyticsAttribute["USER_ID"] = "USER_ID";
@@ -55889,12 +55887,8 @@ var AnalyticsAdsImpressionSample = /** @class */ (function () {
55889
55887
  this.streamFormat = Mapper_1.map(obj.streamFormat);
55890
55888
  this.surveyUrl = Mapper_1.map(obj.surveyUrl);
55891
55889
  this.time = Mapper_1.map(obj.time);
55892
- this.timeFromContent = Mapper_1.map(obj.timeFromContent);
55893
- this.timeHovered = Mapper_1.map(obj.timeHovered);
55894
55890
  this.timeInViewport = Mapper_1.map(obj.timeInViewport);
55895
55891
  this.timePlayed = Mapper_1.map(obj.timePlayed);
55896
- this.timeToContent = Mapper_1.map(obj.timeToContent);
55897
- this.timeToHover = Mapper_1.map(obj.timeToHover);
55898
55892
  this.universalAdIdRegistry = Mapper_1.map(obj.universalAdIdRegistry);
55899
55893
  this.universalAdIdValue = Mapper_1.map(obj.universalAdIdValue);
55900
55894
  this.userId = Mapper_1.map(obj.userId);
@@ -59879,6 +59873,80 @@ exports.AutoRestartConfiguration = AutoRestartConfiguration;
59879
59873
  exports.default = AutoRestartConfiguration;
59880
59874
 
59881
59875
 
59876
+ /***/ }),
59877
+
59878
+ /***/ "./models/Av1PerTitleConfiguration.ts":
59879
+ /*!********************************************!*\
59880
+ !*** ./models/Av1PerTitleConfiguration.ts ***!
59881
+ \********************************************/
59882
+ /*! no static exports found */
59883
+ /***/ (function(module, exports, __webpack_require__) {
59884
+
59885
+ "use strict";
59886
+
59887
+ var __extends = (this && this.__extends) || (function () {
59888
+ var extendStatics = function (d, b) {
59889
+ extendStatics = Object.setPrototypeOf ||
59890
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
59891
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
59892
+ return extendStatics(d, b);
59893
+ };
59894
+ return function (d, b) {
59895
+ extendStatics(d, b);
59896
+ function __() { this.constructor = d; }
59897
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
59898
+ };
59899
+ })();
59900
+ Object.defineProperty(exports, "__esModule", { value: true });
59901
+ exports.Av1PerTitleConfiguration = void 0;
59902
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
59903
+ var PerTitleConfiguration_1 = __webpack_require__(/*! ./PerTitleConfiguration */ "./models/PerTitleConfiguration.ts");
59904
+ /**
59905
+ * @export
59906
+ * @class Av1PerTitleConfiguration
59907
+ */
59908
+ var Av1PerTitleConfiguration = /** @class */ (function (_super) {
59909
+ __extends(Av1PerTitleConfiguration, _super);
59910
+ function Av1PerTitleConfiguration(obj) {
59911
+ var _this = _super.call(this, obj) || this;
59912
+ if (!obj) {
59913
+ return _this;
59914
+ }
59915
+ _this.targetQualityCrf = Mapper_1.map(obj.targetQualityCrf);
59916
+ return _this;
59917
+ }
59918
+ return Av1PerTitleConfiguration;
59919
+ }(PerTitleConfiguration_1.default));
59920
+ exports.Av1PerTitleConfiguration = Av1PerTitleConfiguration;
59921
+ exports.default = Av1PerTitleConfiguration;
59922
+
59923
+
59924
+ /***/ }),
59925
+
59926
+ /***/ "./models/Av1PresetConfiguration.ts":
59927
+ /*!******************************************!*\
59928
+ !*** ./models/Av1PresetConfiguration.ts ***!
59929
+ \******************************************/
59930
+ /*! no static exports found */
59931
+ /***/ (function(module, exports, __webpack_require__) {
59932
+
59933
+ "use strict";
59934
+
59935
+ Object.defineProperty(exports, "__esModule", { value: true });
59936
+ exports.Av1PresetConfiguration = void 0;
59937
+ /**
59938
+ * @export
59939
+ * @enum {string}
59940
+ */
59941
+ var Av1PresetConfiguration;
59942
+ (function (Av1PresetConfiguration) {
59943
+ Av1PresetConfiguration["VOD_QUALITY"] = "VOD_QUALITY";
59944
+ Av1PresetConfiguration["VOD_STANDARD"] = "VOD_STANDARD";
59945
+ Av1PresetConfiguration["VOD_SPEED"] = "VOD_SPEED";
59946
+ })(Av1PresetConfiguration = exports.Av1PresetConfiguration || (exports.Av1PresetConfiguration = {}));
59947
+ exports.default = Av1PresetConfiguration;
59948
+
59949
+
59882
59950
  /***/ }),
59883
59951
 
59884
59952
  /***/ "./models/Av1VideoConfiguration.ts":
@@ -59905,6 +59973,7 @@ var __extends = (this && this.__extends) || (function () {
59905
59973
  })();
59906
59974
  Object.defineProperty(exports, "__esModule", { value: true });
59907
59975
  exports.Av1VideoConfiguration = void 0;
59976
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
59908
59977
  var CodecConfigType_1 = __webpack_require__(/*! ./CodecConfigType */ "./models/CodecConfigType.ts");
59909
59978
  var VideoConfiguration_1 = __webpack_require__(/*! ./VideoConfiguration */ "./models/VideoConfiguration.ts");
59910
59979
  /**
@@ -59924,6 +59993,7 @@ var Av1VideoConfiguration = /** @class */ (function (_super) {
59924
59993
  if (!obj) {
59925
59994
  return _this;
59926
59995
  }
59996
+ _this.presetConfiguration = Mapper_1.map(obj.presetConfiguration);
59927
59997
  return _this;
59928
59998
  }
59929
59999
  return Av1VideoConfiguration;
@@ -68155,6 +68225,31 @@ exports.EncodingStreamInputDetails = EncodingStreamInputDetails;
68155
68225
  exports.default = EncodingStreamInputDetails;
68156
68226
 
68157
68227
 
68228
+ /***/ }),
68229
+
68230
+ /***/ "./models/EncodingTemplate.ts":
68231
+ /*!************************************!*\
68232
+ !*** ./models/EncodingTemplate.ts ***!
68233
+ \************************************/
68234
+ /*! no static exports found */
68235
+ /***/ (function(module, exports, __webpack_require__) {
68236
+
68237
+ "use strict";
68238
+
68239
+ Object.defineProperty(exports, "__esModule", { value: true });
68240
+ exports.EncodingTemplate = void 0;
68241
+ /**
68242
+ * @export
68243
+ * @enum {string}
68244
+ */
68245
+ var EncodingTemplate;
68246
+ (function (EncodingTemplate) {
68247
+ EncodingTemplate["H264"] = "H264";
68248
+ EncodingTemplate["AV1"] = "AV1";
68249
+ })(EncodingTemplate = exports.EncodingTemplate || (exports.EncodingTemplate = {}));
68250
+ exports.default = EncodingTemplate;
68251
+
68252
+
68158
68253
  /***/ }),
68159
68254
 
68160
68255
  /***/ "./models/EncodingType.ts":
@@ -75381,6 +75476,7 @@ exports.default = PcmSampleFormat;
75381
75476
  Object.defineProperty(exports, "__esModule", { value: true });
75382
75477
  exports.PerTitle = void 0;
75383
75478
  var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
75479
+ var Av1PerTitleConfiguration_1 = __webpack_require__(/*! ./Av1PerTitleConfiguration */ "./models/Av1PerTitleConfiguration.ts");
75384
75480
  var H264PerTitleConfiguration_1 = __webpack_require__(/*! ./H264PerTitleConfiguration */ "./models/H264PerTitleConfiguration.ts");
75385
75481
  var H265PerTitleConfiguration_1 = __webpack_require__(/*! ./H265PerTitleConfiguration */ "./models/H265PerTitleConfiguration.ts");
75386
75482
  var Vp9PerTitleConfiguration_1 = __webpack_require__(/*! ./Vp9PerTitleConfiguration */ "./models/Vp9PerTitleConfiguration.ts");
@@ -75396,6 +75492,7 @@ var PerTitle = /** @class */ (function () {
75396
75492
  this.h264Configuration = Mapper_1.map(obj.h264Configuration, H264PerTitleConfiguration_1.default);
75397
75493
  this.h265Configuration = Mapper_1.map(obj.h265Configuration, H265PerTitleConfiguration_1.default);
75398
75494
  this.vp9Configuration = Mapper_1.map(obj.vp9Configuration, Vp9PerTitleConfiguration_1.default);
75495
+ this.av1Configuration = Mapper_1.map(obj.av1Configuration, Av1PerTitleConfiguration_1.default);
75399
75496
  }
75400
75497
  return PerTitle;
75401
75498
  }());
@@ -78821,6 +78918,7 @@ var SimpleEncodingVodJobRequest = /** @class */ (function () {
78821
78918
  if (!obj) {
78822
78919
  return;
78823
78920
  }
78921
+ this.encodingTemplate = Mapper_1.map(obj.encodingTemplate);
78824
78922
  this.inputs = Mapper_1.mapArray(obj.inputs, SimpleEncodingVodJobUrlInput_1.default);
78825
78923
  this.outputs = Mapper_1.mapArray(obj.outputs, SimpleEncodingVodJobUrlOutput_1.default);
78826
78924
  this.name = Mapper_1.map(obj.name);
@@ -78859,6 +78957,7 @@ var SimpleEncodingVodJobResponse = /** @class */ (function () {
78859
78957
  }
78860
78958
  this.id = Mapper_1.map(obj.id);
78861
78959
  this.status = Mapper_1.map(obj.status);
78960
+ this.encodingTemplate = Mapper_1.map(obj.encodingTemplate);
78862
78961
  this.encodingId = Mapper_1.map(obj.encodingId);
78863
78962
  this.inputs = Mapper_1.mapArray(obj.inputs, SimpleEncodingVodJobUrlInput_1.default);
78864
78963
  this.outputs = Mapper_1.mapArray(obj.outputs, SimpleEncodingVodJobUrlOutput_1.default);
@@ -84527,6 +84626,8 @@ __exportStar(__webpack_require__(/*! ./AudioVolumeFormat */ "./models/AudioVolum
84527
84626
  __exportStar(__webpack_require__(/*! ./AudioVolumeUnit */ "./models/AudioVolumeUnit.ts"), exports);
84528
84627
  __exportStar(__webpack_require__(/*! ./AutoRepresentation */ "./models/AutoRepresentation.ts"), exports);
84529
84628
  __exportStar(__webpack_require__(/*! ./AutoRestartConfiguration */ "./models/AutoRestartConfiguration.ts"), exports);
84629
+ __exportStar(__webpack_require__(/*! ./Av1PerTitleConfiguration */ "./models/Av1PerTitleConfiguration.ts"), exports);
84630
+ __exportStar(__webpack_require__(/*! ./Av1PresetConfiguration */ "./models/Av1PresetConfiguration.ts"), exports);
84530
84631
  __exportStar(__webpack_require__(/*! ./Av1VideoConfiguration */ "./models/Av1VideoConfiguration.ts"), exports);
84531
84632
  __exportStar(__webpack_require__(/*! ./AvailabilityStartTimeMode */ "./models/AvailabilityStartTimeMode.ts"), exports);
84532
84633
  __exportStar(__webpack_require__(/*! ./AwsAccount */ "./models/AwsAccount.ts"), exports);
@@ -84723,6 +84824,7 @@ __exportStar(__webpack_require__(/*! ./EncodingStatisticsVod */ "./models/Encodi
84723
84824
  __exportStar(__webpack_require__(/*! ./EncodingStats */ "./models/EncodingStats.ts"), exports);
84724
84825
  __exportStar(__webpack_require__(/*! ./EncodingStreamInput */ "./models/EncodingStreamInput.ts"), exports);
84725
84826
  __exportStar(__webpack_require__(/*! ./EncodingStreamInputDetails */ "./models/EncodingStreamInputDetails.ts"), exports);
84827
+ __exportStar(__webpack_require__(/*! ./EncodingTemplate */ "./models/EncodingTemplate.ts"), exports);
84726
84828
  __exportStar(__webpack_require__(/*! ./EncodingType */ "./models/EncodingType.ts"), exports);
84727
84829
  __exportStar(__webpack_require__(/*! ./EncryptionMode */ "./models/EncryptionMode.ts"), exports);
84728
84830
  __exportStar(__webpack_require__(/*! ./EnhancedDeinterlaceAutoEnable */ "./models/EnhancedDeinterlaceAutoEnable.ts"), exports);