@bitmovin/api-sdk 1.102.0 → 1.103.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.102.0
34
+ npm install @bitmovin/api-sdk@1.103.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.102.0',
6977
+ 'X-Api-Client-Version': '1.103.0',
6978
6978
  'Content-Type': 'application/json'
6979
6979
  };
6980
6980
  if (tenantOrgId) {
@@ -41480,15 +41480,15 @@ var DashApi = /** @class */ (function (_super) {
41480
41480
  /**
41481
41481
  * @summary Start DASH Manifest Creation
41482
41482
  * @param {string} manifestId Id of the DASH manifest.
41483
- * @param {any} [body] Manifest Startup Options
41483
+ * @param {StartManifestRequest} [startManifestRequest] Manifest Startup Options
41484
41484
  * @throws {BitmovinError}
41485
41485
  * @memberof DashApi
41486
41486
  */
41487
- DashApi.prototype.start = function (manifestId, body) {
41487
+ DashApi.prototype.start = function (manifestId, startManifestRequest) {
41488
41488
  var pathParamMap = {
41489
41489
  manifest_id: manifestId
41490
41490
  };
41491
- return this.restClient.post('/encoding/manifests/dash/{manifest_id}/start', pathParamMap, body).then(function (response) {
41491
+ return this.restClient.post('/encoding/manifests/dash/{manifest_id}/start', pathParamMap, startManifestRequest).then(function (response) {
41492
41492
  return Mapper_1.map(response, BitmovinResponse_1.default);
41493
41493
  });
41494
41494
  };
@@ -46037,15 +46037,15 @@ var HlsApi = /** @class */ (function (_super) {
46037
46037
  /**
46038
46038
  * @summary Start HLS Manifest Creation
46039
46039
  * @param {string} manifestId Id of the HLS manifest.
46040
- * @param {any} [body] Manifest Startup Options
46040
+ * @param {StartManifestRequest} [startManifestRequest] Manifest Startup Options
46041
46041
  * @throws {BitmovinError}
46042
46042
  * @memberof HlsApi
46043
46043
  */
46044
- HlsApi.prototype.start = function (manifestId, body) {
46044
+ HlsApi.prototype.start = function (manifestId, startManifestRequest) {
46045
46045
  var pathParamMap = {
46046
46046
  manifest_id: manifestId
46047
46047
  };
46048
- return this.restClient.post('/encoding/manifests/hls/{manifest_id}/start', pathParamMap, body).then(function (response) {
46048
+ return this.restClient.post('/encoding/manifests/hls/{manifest_id}/start', pathParamMap, startManifestRequest).then(function (response) {
46049
46049
  return Mapper_1.map(response, BitmovinResponse_1.default);
46050
46050
  });
46051
46051
  };
@@ -47915,15 +47915,15 @@ var SmoothApi = /** @class */ (function (_super) {
47915
47915
  /**
47916
47916
  * @summary Start Smooth Streaming Manifest Creation
47917
47917
  * @param {string} manifestId Id of the Smooth Streaming manifest.
47918
- * @param {any} [body] Manifest Startup Options
47918
+ * @param {StartManifestRequest} [startManifestRequest] Manifest Startup Options
47919
47919
  * @throws {BitmovinError}
47920
47920
  * @memberof SmoothApi
47921
47921
  */
47922
- SmoothApi.prototype.start = function (manifestId, body) {
47922
+ SmoothApi.prototype.start = function (manifestId, startManifestRequest) {
47923
47923
  var pathParamMap = {
47924
47924
  manifest_id: manifestId
47925
47925
  };
47926
- return this.restClient.post('/encoding/manifests/smooth/{manifest_id}/start', pathParamMap, body).then(function (response) {
47926
+ return this.restClient.post('/encoding/manifests/smooth/{manifest_id}/start', pathParamMap, startManifestRequest).then(function (response) {
47927
47927
  return Mapper_1.map(response, BitmovinResponse_1.default);
47928
47928
  });
47929
47929
  };
@@ -80112,6 +80112,7 @@ exports.default = StartLiveEncodingRequest;
80112
80112
 
80113
80113
  Object.defineProperty(exports, "__esModule", { value: true });
80114
80114
  exports.StartManifestRequest = void 0;
80115
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
80115
80116
  /**
80116
80117
  * @export
80117
80118
  * @class StartManifestRequest
@@ -80121,6 +80122,7 @@ var StartManifestRequest = /** @class */ (function () {
80121
80122
  if (!obj) {
80122
80123
  return;
80123
80124
  }
80125
+ this.manifestGenerator = Mapper_1.map(obj.manifestGenerator);
80124
80126
  }
80125
80127
  return StartManifestRequest;
80126
80128
  }());