@bitmovin/api-sdk 1.186.0 → 1.187.1

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.
@@ -240,7 +240,7 @@ var HeaderHandler = /** @class */ (function (_super) {
240
240
  var headers = {
241
241
  'X-Api-Key': apiKey,
242
242
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
243
- 'X-Api-Client-Version': '1.186.0',
243
+ 'X-Api-Client-Version': '1.187.1',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -10,7 +10,7 @@ import CustomData from '../../../../../models/CustomData';
10
10
  export default class CustomdataApi extends BaseAPI {
11
11
  constructor(configuration: Configuration);
12
12
  /**
13
- * @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
13
+ * @summary E-AC3 Codec Configuration Custom Data
14
14
  * @param {string} configurationId Id of the codec configuration
15
15
  * @throws {BitmovinError}
16
16
  * @memberof CustomdataApi
@@ -30,7 +30,7 @@ var CustomdataApi = /** @class */ (function (_super) {
30
30
  return _super.call(this, configuration) || this;
31
31
  }
32
32
  /**
33
- * @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
33
+ * @summary E-AC3 Codec Configuration Custom Data
34
34
  * @param {string} configurationId Id of the codec configuration
35
35
  * @throws {BitmovinError}
36
36
  * @memberof CustomdataApi
@@ -26,7 +26,7 @@ export declare class AkamaiMslOutput extends Output {
26
26
  */
27
27
  eventName?: string;
28
28
  /**
29
- * The stream format. Only DASH is supported at the moment. (required)
29
+ * - DASH: configure the Encoding with fMP4 or CMAF muxings and a DASH manifest. - HLS: configure the Encoding with TS muxings and an HLS manifest. - CMAF: configure the Encoding with fMP4 or CMAF muxings with both DASH and HLS manifests. (required)
30
30
  * @type {AkamaiMslStreamFormat}
31
31
  * @memberof AkamaiMslOutput
32
32
  */
@@ -0,0 +1,32 @@
1
+ /**
2
+ * @export
3
+ * @class StreamsDomainRestrictionResponse
4
+ */
5
+ export declare class StreamsDomainRestrictionResponse {
6
+ /**
7
+ * The identifier of the streams domain restriction entity
8
+ * @type {string}
9
+ * @memberof StreamsDomainRestrictionResponse
10
+ */
11
+ id?: string;
12
+ /**
13
+ * The list of allowed domains
14
+ * @type {string[]}
15
+ * @memberof StreamsDomainRestrictionResponse
16
+ */
17
+ allowedDomains?: string[];
18
+ /**
19
+ * Controls if requests to domain restricted streams without referer header should be allowed or denied
20
+ * @type {boolean}
21
+ * @memberof StreamsDomainRestrictionResponse
22
+ */
23
+ allowNoReferer?: boolean;
24
+ /**
25
+ * Controls if Stream is accessible via sharing URL or not
26
+ * @type {boolean}
27
+ * @memberof StreamsDomainRestrictionResponse
28
+ */
29
+ allowShare?: boolean;
30
+ constructor(obj?: Partial<StreamsDomainRestrictionResponse>);
31
+ }
32
+ export default StreamsDomainRestrictionResponse;
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StreamsContentProtectionResponse = void 0;
3
+ exports.StreamsDomainRestrictionResponse = void 0;
4
4
  var Mapper_1 = require("../common/Mapper");
5
5
  /**
6
6
  * @export
7
- * @class StreamsContentProtectionResponse
7
+ * @class StreamsDomainRestrictionResponse
8
8
  */
9
- var StreamsContentProtectionResponse = /** @class */ (function () {
10
- function StreamsContentProtectionResponse(obj) {
9
+ var StreamsDomainRestrictionResponse = /** @class */ (function () {
10
+ function StreamsDomainRestrictionResponse(obj) {
11
11
  if (!obj) {
12
12
  return;
13
13
  }
@@ -16,7 +16,7 @@ var StreamsContentProtectionResponse = /** @class */ (function () {
16
16
  this.allowNoReferer = (0, Mapper_1.map)(obj.allowNoReferer);
17
17
  this.allowShare = (0, Mapper_1.map)(obj.allowShare);
18
18
  }
19
- return StreamsContentProtectionResponse;
19
+ return StreamsDomainRestrictionResponse;
20
20
  }());
21
- exports.StreamsContentProtectionResponse = StreamsContentProtectionResponse;
22
- exports.default = StreamsContentProtectionResponse;
21
+ exports.StreamsDomainRestrictionResponse = StreamsDomainRestrictionResponse;
22
+ exports.default = StreamsDomainRestrictionResponse;
@@ -15,6 +15,12 @@ export declare class StreamsLiveCreateRequest {
15
15
  * @memberof StreamsLiveCreateRequest
16
16
  */
17
17
  description?: string;
18
+ /**
19
+ * Id of the domain restriction config to use
20
+ * @type {string}
21
+ * @memberof StreamsLiveCreateRequest
22
+ */
23
+ domainRestrictionId?: string;
18
24
  constructor(obj?: Partial<StreamsLiveCreateRequest>);
19
25
  }
20
26
  export default StreamsLiveCreateRequest;
@@ -13,6 +13,7 @@ var StreamsLiveCreateRequest = /** @class */ (function () {
13
13
  }
14
14
  this.title = (0, Mapper_1.map)(obj.title);
15
15
  this.description = (0, Mapper_1.map)(obj.description);
16
+ this.domainRestrictionId = (0, Mapper_1.map)(obj.domainRestrictionId);
16
17
  }
17
18
  return StreamsLiveCreateRequest;
18
19
  }());
@@ -1,5 +1,5 @@
1
1
  import StreamsAdConfigResponse from './StreamsAdConfigResponse';
2
- import StreamsContentProtectionResponse from './StreamsContentProtectionResponse';
2
+ import StreamsDomainRestrictionResponse from './StreamsDomainRestrictionResponse';
3
3
  import StreamsLiveLifeCycle from './StreamsLiveLifeCycle';
4
4
  import StreamsResponse from './StreamsResponse';
5
5
  import StreamsStyleConfigResponse from './StreamsStyleConfigResponse';
@@ -45,10 +45,10 @@ export declare class StreamsLiveResponse extends StreamsResponse {
45
45
  */
46
46
  adConfig?: StreamsAdConfigResponse;
47
47
  /**
48
- * @type {StreamsContentProtectionResponse}
48
+ * @type {StreamsDomainRestrictionResponse}
49
49
  * @memberof StreamsLiveResponse
50
50
  */
51
- contentProtection?: StreamsContentProtectionResponse;
51
+ domainRestriction?: StreamsDomainRestrictionResponse;
52
52
  /**
53
53
  * Stream trimming information
54
54
  * @type {StreamsTrimmingStatus}
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.StreamsLiveResponse = void 0;
19
19
  var Mapper_1 = require("../common/Mapper");
20
20
  var StreamsAdConfigResponse_1 = require("./StreamsAdConfigResponse");
21
- var StreamsContentProtectionResponse_1 = require("./StreamsContentProtectionResponse");
21
+ var StreamsDomainRestrictionResponse_1 = require("./StreamsDomainRestrictionResponse");
22
22
  var StreamsResponse_1 = require("./StreamsResponse");
23
23
  var StreamsStyleConfigResponse_1 = require("./StreamsStyleConfigResponse");
24
24
  var StreamsType_1 = require("./StreamsType");
@@ -44,7 +44,7 @@ var StreamsLiveResponse = /** @class */ (function (_super) {
44
44
  _this.styleConfig = (0, Mapper_1.map)(obj.styleConfig, StreamsStyleConfigResponse_1.default);
45
45
  _this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
46
46
  _this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
47
- _this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
47
+ _this.domainRestriction = (0, Mapper_1.map)(obj.domainRestriction, StreamsDomainRestrictionResponse_1.default);
48
48
  _this.trimming = (0, Mapper_1.map)(obj.trimming);
49
49
  return _this;
50
50
  }
@@ -21,6 +21,12 @@ export declare class StreamsLiveUpdateRequest {
21
21
  * @memberof StreamsLiveUpdateRequest
22
22
  */
23
23
  posterUrl?: string;
24
+ /**
25
+ * Id of the domain restriction config to use
26
+ * @type {string}
27
+ * @memberof StreamsLiveUpdateRequest
28
+ */
29
+ domainRestrictionId?: string;
24
30
  constructor(obj?: Partial<StreamsLiveUpdateRequest>);
25
31
  }
26
32
  export default StreamsLiveUpdateRequest;
@@ -14,6 +14,7 @@ var StreamsLiveUpdateRequest = /** @class */ (function () {
14
14
  this.title = (0, Mapper_1.map)(obj.title);
15
15
  this.description = (0, Mapper_1.map)(obj.description);
16
16
  this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
17
+ this.domainRestrictionId = (0, Mapper_1.map)(obj.domainRestrictionId);
17
18
  }
18
19
  return StreamsLiveUpdateRequest;
19
20
  }());
@@ -22,6 +22,12 @@ export declare class StreamsVideoCreateRequest {
22
22
  * @memberof StreamsVideoCreateRequest
23
23
  */
24
24
  description?: string;
25
+ /**
26
+ * Id of the domain restriction config to use
27
+ * @type {string}
28
+ * @memberof StreamsVideoCreateRequest
29
+ */
30
+ domainRestrictionId?: string;
25
31
  /**
26
32
  * Profile to be used in encoding
27
33
  * @type {StreamsEncodingProfile}
@@ -14,6 +14,7 @@ var StreamsVideoCreateRequest = /** @class */ (function () {
14
14
  this.assetUrl = (0, Mapper_1.map)(obj.assetUrl);
15
15
  this.title = (0, Mapper_1.map)(obj.title);
16
16
  this.description = (0, Mapper_1.map)(obj.description);
17
+ this.domainRestrictionId = (0, Mapper_1.map)(obj.domainRestrictionId);
17
18
  this.encodingProfile = (0, Mapper_1.map)(obj.encodingProfile);
18
19
  this.signed = (0, Mapper_1.map)(obj.signed);
19
20
  }
@@ -1,5 +1,5 @@
1
1
  import StreamsAdConfigResponse from './StreamsAdConfigResponse';
2
- import StreamsContentProtectionResponse from './StreamsContentProtectionResponse';
2
+ import StreamsDomainRestrictionResponse from './StreamsDomainRestrictionResponse';
3
3
  import StreamsResponse from './StreamsResponse';
4
4
  import StreamsStyleConfigResponse from './StreamsStyleConfigResponse';
5
5
  import StreamsTrimmingStatus from './StreamsTrimmingStatus';
@@ -52,10 +52,10 @@ export declare class StreamsVideoResponse extends StreamsResponse {
52
52
  */
53
53
  adConfig?: StreamsAdConfigResponse;
54
54
  /**
55
- * @type {StreamsContentProtectionResponse}
55
+ * @type {StreamsDomainRestrictionResponse}
56
56
  * @memberof StreamsVideoResponse
57
57
  */
58
- contentProtection?: StreamsContentProtectionResponse;
58
+ domainRestriction?: StreamsDomainRestrictionResponse;
59
59
  /**
60
60
  * Stream trimming information
61
61
  * @type {StreamsTrimmingStatus}
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.StreamsVideoResponse = void 0;
19
19
  var Mapper_1 = require("../common/Mapper");
20
20
  var StreamsAdConfigResponse_1 = require("./StreamsAdConfigResponse");
21
- var StreamsContentProtectionResponse_1 = require("./StreamsContentProtectionResponse");
21
+ var StreamsDomainRestrictionResponse_1 = require("./StreamsDomainRestrictionResponse");
22
22
  var StreamsResponse_1 = require("./StreamsResponse");
23
23
  var StreamsStyleConfigResponse_1 = require("./StreamsStyleConfigResponse");
24
24
  var StreamsType_1 = require("./StreamsType");
@@ -46,7 +46,7 @@ var StreamsVideoResponse = /** @class */ (function (_super) {
46
46
  _this.encodingTasks = (0, Mapper_1.mapArray)(obj.encodingTasks, StreamsVideoEncodingTask_1.default);
47
47
  _this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
48
48
  _this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
49
- _this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
49
+ _this.domainRestriction = (0, Mapper_1.map)(obj.domainRestriction, StreamsDomainRestrictionResponse_1.default);
50
50
  _this.trimming = (0, Mapper_1.map)(obj.trimming);
51
51
  _this.downloadUrl = (0, Mapper_1.map)(obj.downloadUrl);
52
52
  _this.signed = (0, Mapper_1.map)(obj.signed);
@@ -28,6 +28,12 @@ export declare class StreamsVideoUpdateRequest {
28
28
  * @memberof StreamsVideoUpdateRequest
29
29
  */
30
30
  posterUrl?: string;
31
+ /**
32
+ * Id of the domain restriction config to use
33
+ * @type {string}
34
+ * @memberof StreamsVideoUpdateRequest
35
+ */
36
+ domainRestrictionId?: string;
31
37
  constructor(obj?: Partial<StreamsVideoUpdateRequest>);
32
38
  }
33
39
  export default StreamsVideoUpdateRequest;
@@ -15,6 +15,7 @@ var StreamsVideoUpdateRequest = /** @class */ (function () {
15
15
  this.title = (0, Mapper_1.map)(obj.title);
16
16
  this.description = (0, Mapper_1.map)(obj.description);
17
17
  this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
18
+ this.domainRestrictionId = (0, Mapper_1.map)(obj.domainRestrictionId);
18
19
  }
19
20
  return StreamsVideoUpdateRequest;
20
21
  }());
@@ -718,7 +718,7 @@ export * from './StreamPerTitleSettings';
718
718
  export * from './StreamSelectionMode';
719
719
  export * from './StreamsAdConfigAd';
720
720
  export * from './StreamsAdConfigResponse';
721
- export * from './StreamsContentProtectionResponse';
721
+ export * from './StreamsDomainRestrictionResponse';
722
722
  export * from './StreamsEncodingProfile';
723
723
  export * from './StreamsLiveCreateRequest';
724
724
  export * from './StreamsLiveLifeCycle';
@@ -734,7 +734,7 @@ __exportStar(require("./StreamPerTitleSettings"), exports);
734
734
  __exportStar(require("./StreamSelectionMode"), exports);
735
735
  __exportStar(require("./StreamsAdConfigAd"), exports);
736
736
  __exportStar(require("./StreamsAdConfigResponse"), exports);
737
- __exportStar(require("./StreamsContentProtectionResponse"), exports);
737
+ __exportStar(require("./StreamsDomainRestrictionResponse"), exports);
738
738
  __exportStar(require("./StreamsEncodingProfile"), exports);
739
739
  __exportStar(require("./StreamsLiveCreateRequest"), exports);
740
740
  __exportStar(require("./StreamsLiveLifeCycle"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.186.0",
3
+ "version": "1.187.1",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [
@@ -1,32 +0,0 @@
1
- /**
2
- * @export
3
- * @class StreamsContentProtectionResponse
4
- */
5
- export declare class StreamsContentProtectionResponse {
6
- /**
7
- * The identifier of the streams content protection entity
8
- * @type {string}
9
- * @memberof StreamsContentProtectionResponse
10
- */
11
- id?: string;
12
- /**
13
- * The list of allowed domains
14
- * @type {string[]}
15
- * @memberof StreamsContentProtectionResponse
16
- */
17
- allowedDomains?: string[];
18
- /**
19
- * Controls if requests to content protected streams without referer header should be allowed or denied
20
- * @type {boolean}
21
- * @memberof StreamsContentProtectionResponse
22
- */
23
- allowNoReferer?: boolean;
24
- /**
25
- * Controls if Stream is accessible via sharing URL or not
26
- * @type {boolean}
27
- * @memberof StreamsContentProtectionResponse
28
- */
29
- allowShare?: boolean;
30
- constructor(obj?: Partial<StreamsContentProtectionResponse>);
31
- }
32
- export default StreamsContentProtectionResponse;