@bitmovin/api-sdk 1.117.0 → 1.118.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 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.117.0
34
+ npm install @bitmovin/api-sdk@1.118.0
35
35
  ```
36
36
 
37
37
  ## Initialization
@@ -5985,7 +5985,7 @@ var HeaderHandler = /** @class */ (function (_super) {
5985
5985
  var headers = {
5986
5986
  'X-Api-Key': apiKey,
5987
5987
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
5988
- 'X-Api-Client-Version': '1.117.0',
5988
+ 'X-Api-Client-Version': '1.118.0',
5989
5989
  'Content-Type': 'application/json'
5990
5990
  };
5991
5991
  if (tenantOrgId) {
@@ -78713,6 +78713,62 @@ exports.SimpleEncodingVodJobGcsServiceAccountCredentials = SimpleEncodingVodJobG
78713
78713
  exports["default"] = SimpleEncodingVodJobGcsServiceAccountCredentials;
78714
78714
 
78715
78715
 
78716
+ /***/ }),
78717
+
78718
+ /***/ "./models/SimpleEncodingVodJobInput.ts":
78719
+ /*!*********************************************!*\
78720
+ !*** ./models/SimpleEncodingVodJobInput.ts ***!
78721
+ \*********************************************/
78722
+ /***/ ((__unused_webpack_module, exports) => {
78723
+
78724
+ "use strict";
78725
+
78726
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
78727
+ exports.SimpleEncodingVodJobInput = void 0;
78728
+ /**
78729
+ * @export
78730
+ * @class SimpleEncodingVodJobInput
78731
+ */
78732
+ var SimpleEncodingVodJobInput = /** @class */ (function () {
78733
+ function SimpleEncodingVodJobInput(obj) {
78734
+ if (!obj) {
78735
+ return;
78736
+ }
78737
+ }
78738
+ SimpleEncodingVodJobInput._discriminatorName = 'type';
78739
+ SimpleEncodingVodJobInput._discriminatorMapping = {
78740
+ URL: 'SimpleEncodingVodJobUrlInput'
78741
+ };
78742
+ return SimpleEncodingVodJobInput;
78743
+ }());
78744
+ exports.SimpleEncodingVodJobInput = SimpleEncodingVodJobInput;
78745
+ exports["default"] = SimpleEncodingVodJobInput;
78746
+
78747
+
78748
+ /***/ }),
78749
+
78750
+ /***/ "./models/SimpleEncodingVodJobInputSourceType.ts":
78751
+ /*!*******************************************************!*\
78752
+ !*** ./models/SimpleEncodingVodJobInputSourceType.ts ***!
78753
+ \*******************************************************/
78754
+ /***/ ((__unused_webpack_module, exports) => {
78755
+
78756
+ "use strict";
78757
+
78758
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
78759
+ exports.SimpleEncodingVodJobInputSourceType = void 0;
78760
+ /**
78761
+ * Input source type
78762
+ * @export
78763
+ * @enum {string}
78764
+ */
78765
+ var SimpleEncodingVodJobInputSourceType;
78766
+ (function (SimpleEncodingVodJobInputSourceType) {
78767
+ SimpleEncodingVodJobInputSourceType["URL"] = "URL";
78768
+ })(SimpleEncodingVodJobInputSourceType = exports.SimpleEncodingVodJobInputSourceType || (exports.SimpleEncodingVodJobInputSourceType = {}));
78769
+ exports["default"] = SimpleEncodingVodJobInputSourceType;
78770
+
78771
+
78716
78772
  /***/ }),
78717
78773
 
78718
78774
  /***/ "./models/SimpleEncodingVodJobInputType.ts":
@@ -78810,8 +78866,8 @@ exports["default"] = SimpleEncodingVodJobOutputType;
78810
78866
  Object.defineProperty(exports, "__esModule", ({ value: true }));
78811
78867
  exports.SimpleEncodingVodJobRequest = void 0;
78812
78868
  var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
78869
+ var SimpleEncodingVodJobInput_1 = __webpack_require__(/*! ./SimpleEncodingVodJobInput */ "./models/SimpleEncodingVodJobInput.ts");
78813
78870
  var SimpleEncodingVodJobOutput_1 = __webpack_require__(/*! ./SimpleEncodingVodJobOutput */ "./models/SimpleEncodingVodJobOutput.ts");
78814
- var SimpleEncodingVodJobUrlInput_1 = __webpack_require__(/*! ./SimpleEncodingVodJobUrlInput */ "./models/SimpleEncodingVodJobUrlInput.ts");
78815
78871
  /**
78816
78872
  * @export
78817
78873
  * @class SimpleEncodingVodJobRequest
@@ -78822,7 +78878,7 @@ var SimpleEncodingVodJobRequest = /** @class */ (function () {
78822
78878
  return;
78823
78879
  }
78824
78880
  this.encodingTemplate = (0, Mapper_1.map)(obj.encodingTemplate);
78825
- this.inputs = (0, Mapper_1.mapArray)(obj.inputs, SimpleEncodingVodJobUrlInput_1.default);
78881
+ this.inputs = (0, Mapper_1.mapArray)(obj.inputs, SimpleEncodingVodJobInput_1.default);
78826
78882
  this.outputs = (0, Mapper_1.mapArray)(obj.outputs, SimpleEncodingVodJobOutput_1.default);
78827
78883
  this.name = (0, Mapper_1.map)(obj.name);
78828
78884
  }
@@ -78846,8 +78902,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
78846
78902
  exports.SimpleEncodingVodJobResponse = void 0;
78847
78903
  var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
78848
78904
  var SimpleEncodingVodJobErrors_1 = __webpack_require__(/*! ./SimpleEncodingVodJobErrors */ "./models/SimpleEncodingVodJobErrors.ts");
78905
+ var SimpleEncodingVodJobInput_1 = __webpack_require__(/*! ./SimpleEncodingVodJobInput */ "./models/SimpleEncodingVodJobInput.ts");
78849
78906
  var SimpleEncodingVodJobOutput_1 = __webpack_require__(/*! ./SimpleEncodingVodJobOutput */ "./models/SimpleEncodingVodJobOutput.ts");
78850
- var SimpleEncodingVodJobUrlInput_1 = __webpack_require__(/*! ./SimpleEncodingVodJobUrlInput */ "./models/SimpleEncodingVodJobUrlInput.ts");
78851
78907
  /**
78852
78908
  * @export
78853
78909
  * @class SimpleEncodingVodJobResponse
@@ -78861,7 +78917,7 @@ var SimpleEncodingVodJobResponse = /** @class */ (function () {
78861
78917
  this.status = (0, Mapper_1.map)(obj.status);
78862
78918
  this.encodingTemplate = (0, Mapper_1.map)(obj.encodingTemplate);
78863
78919
  this.encodingId = (0, Mapper_1.map)(obj.encodingId);
78864
- this.inputs = (0, Mapper_1.mapArray)(obj.inputs, SimpleEncodingVodJobUrlInput_1.default);
78920
+ this.inputs = (0, Mapper_1.mapArray)(obj.inputs, SimpleEncodingVodJobInput_1.default);
78865
78921
  this.outputs = (0, Mapper_1.mapArray)(obj.outputs, SimpleEncodingVodJobOutput_1.default);
78866
78922
  this.errors = (0, Mapper_1.mapArray)(obj.errors, SimpleEncodingVodJobErrors_1.default);
78867
78923
  this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
@@ -78959,30 +79015,56 @@ exports["default"] = SimpleEncodingVodJobStatus;
78959
79015
  /*!************************************************!*\
78960
79016
  !*** ./models/SimpleEncodingVodJobUrlInput.ts ***!
78961
79017
  \************************************************/
78962
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
79018
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
78963
79019
 
78964
79020
  "use strict";
78965
79021
 
79022
+ var __extends = (this && this.__extends) || (function () {
79023
+ var extendStatics = function (d, b) {
79024
+ extendStatics = Object.setPrototypeOf ||
79025
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
79026
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
79027
+ return extendStatics(d, b);
79028
+ };
79029
+ return function (d, b) {
79030
+ if (typeof b !== "function" && b !== null)
79031
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
79032
+ extendStatics(d, b);
79033
+ function __() { this.constructor = d; }
79034
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
79035
+ };
79036
+ })();
78966
79037
  Object.defineProperty(exports, "__esModule", ({ value: true }));
78967
79038
  exports.SimpleEncodingVodJobUrlInput = void 0;
78968
79039
  var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
78969
79040
  var SimpleEncodingVodJobCredentials_1 = __webpack_require__(/*! ./SimpleEncodingVodJobCredentials */ "./models/SimpleEncodingVodJobCredentials.ts");
79041
+ var SimpleEncodingVodJobInput_1 = __webpack_require__(/*! ./SimpleEncodingVodJobInput */ "./models/SimpleEncodingVodJobInput.ts");
79042
+ var SimpleEncodingVodJobInputSourceType_1 = __webpack_require__(/*! ./SimpleEncodingVodJobInputSourceType */ "./models/SimpleEncodingVodJobInputSourceType.ts");
78970
79043
  /**
78971
79044
  * @export
78972
79045
  * @class SimpleEncodingVodJobUrlInput
78973
79046
  */
78974
- var SimpleEncodingVodJobUrlInput = /** @class */ (function () {
79047
+ var SimpleEncodingVodJobUrlInput = /** @class */ (function (_super) {
79048
+ __extends(SimpleEncodingVodJobUrlInput, _super);
78975
79049
  function SimpleEncodingVodJobUrlInput(obj) {
79050
+ var _this = _super.call(this, obj) || this;
79051
+ /**
79052
+ * Discriminator property for SimpleEncodingVodJobInput
79053
+ * @type {string}
79054
+ * @memberof SimpleEncodingVodJobUrlInput
79055
+ */
79056
+ _this.type = SimpleEncodingVodJobInputSourceType_1.default.URL;
78976
79057
  if (!obj) {
78977
- return;
79058
+ return _this;
78978
79059
  }
78979
- this.url = (0, Mapper_1.map)(obj.url);
78980
- this.credentials = (0, Mapper_1.map)(obj.credentials, SimpleEncodingVodJobCredentials_1.default);
78981
- this.inputType = (0, Mapper_1.map)(obj.inputType);
78982
- this.language = (0, Mapper_1.map)(obj.language);
79060
+ _this.url = (0, Mapper_1.map)(obj.url);
79061
+ _this.credentials = (0, Mapper_1.map)(obj.credentials, SimpleEncodingVodJobCredentials_1.default);
79062
+ _this.inputType = (0, Mapper_1.map)(obj.inputType);
79063
+ _this.language = (0, Mapper_1.map)(obj.language);
79064
+ return _this;
78983
79065
  }
78984
79066
  return SimpleEncodingVodJobUrlInput;
78985
- }());
79067
+ }(SimpleEncodingVodJobInput_1.default));
78986
79068
  exports.SimpleEncodingVodJobUrlInput = SimpleEncodingVodJobUrlInput;
78987
79069
  exports["default"] = SimpleEncodingVodJobUrlInput;
78988
79070
 
@@ -84855,6 +84937,8 @@ __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobCdnOutput */ "./model
84855
84937
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobCredentials */ "./models/SimpleEncodingVodJobCredentials.ts"), exports);
84856
84938
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobErrors */ "./models/SimpleEncodingVodJobErrors.ts"), exports);
84857
84939
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobGcsServiceAccountCredentials */ "./models/SimpleEncodingVodJobGcsServiceAccountCredentials.ts"), exports);
84940
+ __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobInput */ "./models/SimpleEncodingVodJobInput.ts"), exports);
84941
+ __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobInputSourceType */ "./models/SimpleEncodingVodJobInputSourceType.ts"), exports);
84858
84942
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobInputType */ "./models/SimpleEncodingVodJobInputType.ts"), exports);
84859
84943
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobOutput */ "./models/SimpleEncodingVodJobOutput.ts"), exports);
84860
84944
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobOutputType */ "./models/SimpleEncodingVodJobOutputType.ts"), exports);