@bitmovin/api-sdk 1.234.4 → 1.235.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.234.4
34
+ npm install @bitmovin/api-sdk@1.235.0
35
35
  ```
36
36
 
37
37
  ## Initialization
@@ -7032,7 +7032,7 @@ var HeaderHandler = /** @class */ (function (_super) {
7032
7032
  var headers = {
7033
7033
  'X-Api-Key': apiKey,
7034
7034
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
7035
- 'X-Api-Client-Version': '1.234.4',
7035
+ 'X-Api-Client-Version': '1.235.0',
7036
7036
  'Content-Type': 'application/json'
7037
7037
  };
7038
7038
  if (tenantOrgId) {
@@ -38859,6 +38859,7 @@ var GcsApi_1 = __webpack_require__(/*! ./gcs/GcsApi */ "./encoding/inputs/gcs/Gc
38859
38859
  var GcsServiceAccountApi_1 = __webpack_require__(/*! ./gcsServiceAccount/GcsServiceAccountApi */ "./encoding/inputs/gcsServiceAccount/GcsServiceAccountApi.ts");
38860
38860
  var AzureApi_1 = __webpack_require__(/*! ./azure/AzureApi */ "./encoding/inputs/azure/AzureApi.ts");
38861
38861
  var FtpApi_1 = __webpack_require__(/*! ./ftp/FtpApi */ "./encoding/inputs/ftp/FtpApi.ts");
38862
+ var HlsApi_1 = __webpack_require__(/*! ./hls/HlsApi */ "./encoding/inputs/hls/HlsApi.ts");
38862
38863
  var SftpApi_1 = __webpack_require__(/*! ./sftp/SftpApi */ "./encoding/inputs/sftp/SftpApi.ts");
38863
38864
  var HttpApi_1 = __webpack_require__(/*! ./http/HttpApi */ "./encoding/inputs/http/HttpApi.ts");
38864
38865
  var HttpsApi_1 = __webpack_require__(/*! ./https/HttpsApi */ "./encoding/inputs/https/HttpsApi.ts");
@@ -38891,6 +38892,7 @@ var InputsApi = /** @class */ (function (_super) {
38891
38892
  _this.gcsServiceAccount = new GcsServiceAccountApi_1.default(configuration);
38892
38893
  _this.azure = new AzureApi_1.default(configuration);
38893
38894
  _this.ftp = new FtpApi_1.default(configuration);
38895
+ _this.hls = new HlsApi_1.default(configuration);
38894
38896
  _this.sftp = new SftpApi_1.default(configuration);
38895
38897
  _this.http = new HttpApi_1.default(configuration);
38896
38898
  _this.https = new HttpsApi_1.default(configuration);
@@ -40651,6 +40653,158 @@ var CustomdataApi = /** @class */ (function (_super) {
40651
40653
  exports["default"] = CustomdataApi;
40652
40654
 
40653
40655
 
40656
+ /***/ }),
40657
+
40658
+ /***/ "./encoding/inputs/hls/HlsApi.ts":
40659
+ /*!***************************************!*\
40660
+ !*** ./encoding/inputs/hls/HlsApi.ts ***!
40661
+ \***************************************/
40662
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
40663
+
40664
+ "use strict";
40665
+
40666
+ var __extends = (this && this.__extends) || (function () {
40667
+ var extendStatics = function (d, b) {
40668
+ extendStatics = Object.setPrototypeOf ||
40669
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
40670
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
40671
+ return extendStatics(d, b);
40672
+ };
40673
+ return function (d, b) {
40674
+ if (typeof b !== "function" && b !== null)
40675
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
40676
+ extendStatics(d, b);
40677
+ function __() { this.constructor = d; }
40678
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
40679
+ };
40680
+ })();
40681
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
40682
+ var BaseAPI_1 = __webpack_require__(/*! ../../../common/BaseAPI */ "./common/BaseAPI.ts");
40683
+ var Mapper_1 = __webpack_require__(/*! ../../../common/Mapper */ "./common/Mapper.ts");
40684
+ var HlsInput_1 = __webpack_require__(/*! ../../../models/HlsInput */ "./models/HlsInput.ts");
40685
+ var PaginationResponse_1 = __webpack_require__(/*! ../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
40686
+ var HlsInputListQueryParams_1 = __webpack_require__(/*! ./HlsInputListQueryParams */ "./encoding/inputs/hls/HlsInputListQueryParams.ts");
40687
+ /**
40688
+ * HlsApi - object-oriented interface
40689
+ * @export
40690
+ * @class HlsApi
40691
+ * @extends {BaseAPI}
40692
+ */
40693
+ var HlsApi = /** @class */ (function (_super) {
40694
+ __extends(HlsApi, _super);
40695
+ function HlsApi(configuration) {
40696
+ return _super.call(this, configuration) || this;
40697
+ }
40698
+ /**
40699
+ * @summary Create HLS input
40700
+ * @param {HlsInput} hlsInput The HLSInput to be created
40701
+ * @throws {BitmovinError}
40702
+ * @memberof HlsApi
40703
+ */
40704
+ HlsApi.prototype.create = function (hlsInput) {
40705
+ return this.restClient.post('/encoding/inputs/hls', {}, hlsInput).then(function (response) {
40706
+ return (0, Mapper_1.map)(response, HlsInput_1.default);
40707
+ });
40708
+ };
40709
+ /**
40710
+ * @summary Delete HLS Input
40711
+ * @param {string} inputId Id of the input
40712
+ * @throws {BitmovinError}
40713
+ * @memberof HlsApi
40714
+ */
40715
+ HlsApi.prototype.delete = function (inputId) {
40716
+ var pathParamMap = {
40717
+ input_id: inputId
40718
+ };
40719
+ return this.restClient.delete('/encoding/inputs/hls/{input_id}', pathParamMap).then(function (response) {
40720
+ return (0, Mapper_1.map)(response, HlsInput_1.default);
40721
+ });
40722
+ };
40723
+ /**
40724
+ * @summary HLS Input Details
40725
+ * @param {string} inputId Id of the input
40726
+ * @throws {BitmovinError}
40727
+ * @memberof HlsApi
40728
+ */
40729
+ HlsApi.prototype.get = function (inputId) {
40730
+ var pathParamMap = {
40731
+ input_id: inputId
40732
+ };
40733
+ return this.restClient.get('/encoding/inputs/hls/{input_id}', pathParamMap).then(function (response) {
40734
+ return (0, Mapper_1.map)(response, HlsInput_1.default);
40735
+ });
40736
+ };
40737
+ /**
40738
+ * @summary List HLS inputs
40739
+ * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
40740
+ * @throws {BitmovinError}
40741
+ * @memberof HlsApi
40742
+ */
40743
+ HlsApi.prototype.list = function (queryParameters) {
40744
+ var queryParams = {};
40745
+ if (typeof queryParameters === 'function') {
40746
+ queryParams = queryParameters(new HlsInputListQueryParams_1.HlsInputListQueryParamsBuilder()).buildQueryParams();
40747
+ }
40748
+ else if (queryParameters) {
40749
+ queryParams = queryParameters;
40750
+ }
40751
+ return this.restClient.get('/encoding/inputs/hls', {}, queryParams).then(function (response) {
40752
+ return new PaginationResponse_1.default(response, HlsInput_1.default);
40753
+ });
40754
+ };
40755
+ return HlsApi;
40756
+ }(BaseAPI_1.BaseAPI));
40757
+ exports["default"] = HlsApi;
40758
+
40759
+
40760
+ /***/ }),
40761
+
40762
+ /***/ "./encoding/inputs/hls/HlsInputListQueryParams.ts":
40763
+ /*!********************************************************!*\
40764
+ !*** ./encoding/inputs/hls/HlsInputListQueryParams.ts ***!
40765
+ \********************************************************/
40766
+ /***/ ((__unused_webpack_module, exports) => {
40767
+
40768
+ "use strict";
40769
+
40770
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
40771
+ exports.HlsInputListQueryParamsBuilder = void 0;
40772
+ var HlsInputListQueryParamsBuilder = /** @class */ (function () {
40773
+ function HlsInputListQueryParamsBuilder() {
40774
+ this.internalParams = {};
40775
+ }
40776
+ /**
40777
+ *
40778
+ * @param offset Index of the first item to return, starting at 0. Default is 0
40779
+ */
40780
+ HlsInputListQueryParamsBuilder.prototype.offset = function (offset) {
40781
+ this.internalParams.offset = offset;
40782
+ return this;
40783
+ };
40784
+ /**
40785
+ *
40786
+ * @param limit Maximum number of items to return. Default is 25, maximum is 100
40787
+ */
40788
+ HlsInputListQueryParamsBuilder.prototype.limit = function (limit) {
40789
+ this.internalParams.limit = limit;
40790
+ return this;
40791
+ };
40792
+ /**
40793
+ *
40794
+ * @param name Filter inputs by name
40795
+ */
40796
+ HlsInputListQueryParamsBuilder.prototype.name = function (name) {
40797
+ this.internalParams.name = name;
40798
+ return this;
40799
+ };
40800
+ HlsInputListQueryParamsBuilder.prototype.buildQueryParams = function () {
40801
+ return this.internalParams;
40802
+ };
40803
+ return HlsInputListQueryParamsBuilder;
40804
+ }());
40805
+ exports.HlsInputListQueryParamsBuilder = HlsInputListQueryParamsBuilder;
40806
+
40807
+
40654
40808
  /***/ }),
40655
40809
 
40656
40810
  /***/ "./encoding/inputs/http/HttpApi.ts":
@@ -62825,6 +62979,8 @@ var AwsAccount = /** @class */ (function (_super) {
62825
62979
  _this.accessKey = (0, Mapper_1.map)(obj.accessKey);
62826
62980
  _this.secretKey = (0, Mapper_1.map)(obj.secretKey);
62827
62981
  _this.accountNumber = (0, Mapper_1.map)(obj.accountNumber);
62982
+ _this.roleName = (0, Mapper_1.map)(obj.roleName);
62983
+ _this.externalId = (0, Mapper_1.map)(obj.externalId);
62828
62984
  return _this;
62829
62985
  }
62830
62986
  return AwsAccount;
@@ -67511,6 +67667,38 @@ exports.DashManifest = DashManifest;
67511
67667
  exports["default"] = DashManifest;
67512
67668
 
67513
67669
 
67670
+ /***/ }),
67671
+
67672
+ /***/ "./models/DashManifestAdMarkerSettings.ts":
67673
+ /*!************************************************!*\
67674
+ !*** ./models/DashManifestAdMarkerSettings.ts ***!
67675
+ \************************************************/
67676
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
67677
+
67678
+ "use strict";
67679
+
67680
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
67681
+ exports.DashManifestAdMarkerSettings = void 0;
67682
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
67683
+ /**
67684
+ * An optional configuration object used to define SCTE-35 signaling for ad insertion or content segmentation. This field enables precise control over signaling behavior at both the period and event stream levels, making it suitable for dynamic ad insertion (DAI) and live streaming workflows. This follows the ANSI/SCTE 214-1 (2024) standard.
67685
+ * @export
67686
+ * @class DashManifestAdMarkerSettings
67687
+ */
67688
+ var DashManifestAdMarkerSettings = /** @class */ (function () {
67689
+ function DashManifestAdMarkerSettings(obj) {
67690
+ if (!obj) {
67691
+ return;
67692
+ }
67693
+ this.periodOption = (0, Mapper_1.map)(obj.periodOption);
67694
+ this.eventStreamSignalling = (0, Mapper_1.map)(obj.eventStreamSignalling);
67695
+ }
67696
+ return DashManifestAdMarkerSettings;
67697
+ }());
67698
+ exports.DashManifestAdMarkerSettings = DashManifestAdMarkerSettings;
67699
+ exports["default"] = DashManifestAdMarkerSettings;
67700
+
67701
+
67514
67702
  /***/ }),
67515
67703
 
67516
67704
  /***/ "./models/DashManifestDefault.ts":
@@ -68030,6 +68218,56 @@ exports.DashRepresentationTypeResponse = DashRepresentationTypeResponse;
68030
68218
  exports["default"] = DashRepresentationTypeResponse;
68031
68219
 
68032
68220
 
68221
+ /***/ }),
68222
+
68223
+ /***/ "./models/DashScte35EventStreamSignalling.ts":
68224
+ /*!***************************************************!*\
68225
+ !*** ./models/DashScte35EventStreamSignalling.ts ***!
68226
+ \***************************************************/
68227
+ /***/ ((__unused_webpack_module, exports) => {
68228
+
68229
+ "use strict";
68230
+
68231
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
68232
+ exports.DashScte35EventStreamSignalling = void 0;
68233
+ /**
68234
+ * Defines how SCTE-35 events are delivered using DASH EventStream. <ul> <li>XML: Events will contain an XML representation of a SCTE-35 cue message as a SpliceInfoSection element as defined in SCTE-35. The schemeIdUri will be \"urn:scte:scte35:2013:xml.</li> <li>XML_BIN: Events will contain an XML representation of a SCTE-35 cue message as a Signal.Binary element as defined in SCTE-35. The schemeIdUri will be \"urn:scte:scte35:2014:xml+bin</li> </ul>
68235
+ * @export
68236
+ * @enum {string}
68237
+ */
68238
+ var DashScte35EventStreamSignalling;
68239
+ (function (DashScte35EventStreamSignalling) {
68240
+ DashScte35EventStreamSignalling["XML"] = "XML";
68241
+ DashScte35EventStreamSignalling["XML_BIN"] = "XML_BIN";
68242
+ })(DashScte35EventStreamSignalling || (exports.DashScte35EventStreamSignalling = DashScte35EventStreamSignalling = {}));
68243
+ exports["default"] = DashScte35EventStreamSignalling;
68244
+
68245
+
68246
+ /***/ }),
68247
+
68248
+ /***/ "./models/DashScte35PeriodOption.ts":
68249
+ /*!******************************************!*\
68250
+ !*** ./models/DashScte35PeriodOption.ts ***!
68251
+ \******************************************/
68252
+ /***/ ((__unused_webpack_module, exports) => {
68253
+
68254
+ "use strict";
68255
+
68256
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
68257
+ exports.DashScte35PeriodOption = void 0;
68258
+ /**
68259
+ * Controls how SCTE-35 signals are applied at the DASH period level. <ul> <li>SINGLE_PERIOD: Applies SCTE markers to a single DASH period.</li> <li>MULTI_PERIOD: Multiple periods are created based on received SCTE-35 messages.</li> </ul>
68260
+ * @export
68261
+ * @enum {string}
68262
+ */
68263
+ var DashScte35PeriodOption;
68264
+ (function (DashScte35PeriodOption) {
68265
+ DashScte35PeriodOption["SINGLE_PERIOD"] = "SINGLE_PERIOD";
68266
+ DashScte35PeriodOption["MULTI_PERIOD"] = "MULTI_PERIOD";
68267
+ })(DashScte35PeriodOption || (exports.DashScte35PeriodOption = DashScte35PeriodOption = {}));
68268
+ exports["default"] = DashScte35PeriodOption;
68269
+
68270
+
68033
68271
  /***/ }),
68034
68272
 
68035
68273
  /***/ "./models/DashSegmentedRepresentation.ts":
@@ -76592,6 +76830,7 @@ exports["default"] = LiveAutoShutdownConfiguration;
76592
76830
  Object.defineProperty(exports, "__esModule", ({ value: true }));
76593
76831
  exports.LiveDashManifest = void 0;
76594
76832
  var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
76833
+ var DashManifestAdMarkerSettings_1 = __webpack_require__(/*! ./DashManifestAdMarkerSettings */ "./models/DashManifestAdMarkerSettings.ts");
76595
76834
  /**
76596
76835
  * @export
76597
76836
  * @class LiveDashManifest
@@ -76607,6 +76846,7 @@ var LiveDashManifest = /** @class */ (function () {
76607
76846
  this.suggestedPresentationDelay = (0, Mapper_1.map)(obj.suggestedPresentationDelay);
76608
76847
  this.minimumUpdatePeriod = (0, Mapper_1.map)(obj.minimumUpdatePeriod);
76609
76848
  this.availabilityStartTimeMode = (0, Mapper_1.map)(obj.availabilityStartTimeMode);
76849
+ this.adMarkerSettings = (0, Mapper_1.map)(obj.adMarkerSettings, DashManifestAdMarkerSettings_1.default);
76610
76850
  }
76611
76851
  return LiveDashManifest;
76612
76852
  }());
@@ -83375,6 +83615,7 @@ var Scene = /** @class */ (function () {
83375
83615
  this.id = (0, Mapper_1.map)(obj.id);
83376
83616
  this.content = (0, Mapper_1.map)(obj.content, Content_1.default);
83377
83617
  this.summary = (0, Mapper_1.map)(obj.summary);
83618
+ this.verboseSummary = (0, Mapper_1.map)(obj.verboseSummary);
83378
83619
  this.sensitiveTopics = (0, Mapper_1.mapArray)(obj.sensitiveTopics);
83379
83620
  this.keywords = (0, Mapper_1.mapArray)(obj.keywords);
83380
83621
  this.iab = (0, Mapper_1.map)(obj.iab, IABTaxonomy_1.default);
@@ -90684,6 +90925,7 @@ __exportStar(__webpack_require__(/*! ./DashFmp4Representation */ "./models/DashF
90684
90925
  __exportStar(__webpack_require__(/*! ./DashISO8601TimestampFormat */ "./models/DashISO8601TimestampFormat.ts"), exports);
90685
90926
  __exportStar(__webpack_require__(/*! ./DashImscRepresentation */ "./models/DashImscRepresentation.ts"), exports);
90686
90927
  __exportStar(__webpack_require__(/*! ./DashManifest */ "./models/DashManifest.ts"), exports);
90928
+ __exportStar(__webpack_require__(/*! ./DashManifestAdMarkerSettings */ "./models/DashManifestAdMarkerSettings.ts"), exports);
90687
90929
  __exportStar(__webpack_require__(/*! ./DashManifestDefault */ "./models/DashManifestDefault.ts"), exports);
90688
90930
  __exportStar(__webpack_require__(/*! ./DashManifestDefaultVersion */ "./models/DashManifestDefaultVersion.ts"), exports);
90689
90931
  __exportStar(__webpack_require__(/*! ./DashMp4DrmRepresentation */ "./models/DashMp4DrmRepresentation.ts"), exports);
@@ -90697,6 +90939,8 @@ __exportStar(__webpack_require__(/*! ./DashRepresentationType */ "./models/DashR
90697
90939
  __exportStar(__webpack_require__(/*! ./DashRepresentationTypeDiscriminator */ "./models/DashRepresentationTypeDiscriminator.ts"), exports);
90698
90940
  __exportStar(__webpack_require__(/*! ./DashRepresentationTypeMode */ "./models/DashRepresentationTypeMode.ts"), exports);
90699
90941
  __exportStar(__webpack_require__(/*! ./DashRepresentationTypeResponse */ "./models/DashRepresentationTypeResponse.ts"), exports);
90942
+ __exportStar(__webpack_require__(/*! ./DashScte35EventStreamSignalling */ "./models/DashScte35EventStreamSignalling.ts"), exports);
90943
+ __exportStar(__webpack_require__(/*! ./DashScte35PeriodOption */ "./models/DashScte35PeriodOption.ts"), exports);
90700
90944
  __exportStar(__webpack_require__(/*! ./DashSegmentedRepresentation */ "./models/DashSegmentedRepresentation.ts"), exports);
90701
90945
  __exportStar(__webpack_require__(/*! ./DashVttRepresentation */ "./models/DashVttRepresentation.ts"), exports);
90702
90946
  __exportStar(__webpack_require__(/*! ./DashWebmRepresentation */ "./models/DashWebmRepresentation.ts"), exports);