@bitmovin/api-sdk 1.163.0 → 1.165.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 (41) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +97 -21
  3. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  4. package/dist/common/RestClient.js +2 -2
  5. package/dist/encoding/encodings/EncodingsApi.d.ts +1 -1
  6. package/dist/encoding/encodings/EncodingsApi.js +1 -1
  7. package/dist/encoding/manifests/dash/DashApi.d.ts +4 -4
  8. package/dist/encoding/manifests/dash/DashApi.js +4 -4
  9. package/dist/encoding/manifests/dash/default/DefaultApi.d.ts +1 -1
  10. package/dist/encoding/manifests/dash/default/DefaultApi.js +1 -1
  11. package/dist/encoding/manifests/hls/HlsApi.d.ts +4 -4
  12. package/dist/encoding/manifests/hls/HlsApi.js +4 -4
  13. package/dist/encoding/manifests/hls/default/DefaultApi.d.ts +1 -1
  14. package/dist/encoding/manifests/hls/default/DefaultApi.js +1 -1
  15. package/dist/encoding/manifests/smooth/SmoothApi.d.ts +4 -4
  16. package/dist/encoding/manifests/smooth/SmoothApi.js +4 -4
  17. package/dist/encoding/manifests/smooth/default/DefaultApi.d.ts +1 -1
  18. package/dist/encoding/manifests/smooth/default/DefaultApi.js +1 -1
  19. package/dist/models/DashManifestDefault.d.ts +2 -2
  20. package/dist/models/HlsManifestDefault.d.ts +2 -2
  21. package/dist/models/SmoothManifestDefault.d.ts +2 -2
  22. package/dist/models/StartEncodingRequest.d.ts +6 -6
  23. package/dist/models/StartLiveEncodingRequest.d.ts +3 -3
  24. package/dist/models/StartManifestRequest.d.ts +1 -1
  25. package/dist/models/StreamsConfigPlayerStyle.d.ts +51 -0
  26. package/dist/models/StreamsConfigPlayerStyle.js +26 -0
  27. package/dist/models/StreamsConfigResponse.d.ts +3 -3
  28. package/dist/models/StreamsConfigResponse.js +2 -1
  29. package/dist/models/StreamsContentProtectionResponse.d.ts +26 -0
  30. package/dist/models/StreamsContentProtectionResponse.js +21 -0
  31. package/dist/models/StreamsLiveResponse.d.ts +6 -0
  32. package/dist/models/StreamsLiveResponse.js +2 -0
  33. package/dist/models/StreamsVideoResponse.d.ts +6 -0
  34. package/dist/models/StreamsVideoResponse.js +2 -0
  35. package/dist/models/index.d.ts +2 -0
  36. package/dist/models/index.js +2 -0
  37. package/dist/notifications/webhooks/encoding/manifest/error/ErrorApi.d.ts +1 -1
  38. package/dist/notifications/webhooks/encoding/manifest/error/ErrorApi.js +1 -1
  39. package/dist/notifications/webhooks/encoding/manifest/finished/FinishedApi.d.ts +1 -1
  40. package/dist/notifications/webhooks/encoding/manifest/finished/FinishedApi.js +1 -1
  41. package/package.json +1 -1
@@ -1,5 +1,6 @@
1
1
  import StreamsAdConfigResponse from './StreamsAdConfigResponse';
2
2
  import StreamsConfigResponse from './StreamsConfigResponse';
3
+ import StreamsContentProtectionResponse from './StreamsContentProtectionResponse';
3
4
  import StreamsLiveLifeCycle from './StreamsLiveLifeCycle';
4
5
  /**
5
6
  * @export
@@ -58,6 +59,11 @@ export declare class StreamsLiveResponse {
58
59
  * @memberof StreamsLiveResponse
59
60
  */
60
61
  adConfig?: StreamsAdConfigResponse;
62
+ /**
63
+ * @type {StreamsContentProtectionResponse}
64
+ * @memberof StreamsLiveResponse
65
+ */
66
+ contentProtection?: StreamsContentProtectionResponse;
61
67
  constructor(obj?: Partial<StreamsLiveResponse>);
62
68
  }
63
69
  export default StreamsLiveResponse;
@@ -4,6 +4,7 @@ exports.StreamsLiveResponse = void 0;
4
4
  var Mapper_1 = require("../common/Mapper");
5
5
  var StreamsAdConfigResponse_1 = require("./StreamsAdConfigResponse");
6
6
  var StreamsConfigResponse_1 = require("./StreamsConfigResponse");
7
+ var StreamsContentProtectionResponse_1 = require("./StreamsContentProtectionResponse");
7
8
  /**
8
9
  * @export
9
10
  * @class StreamsLiveResponse
@@ -22,6 +23,7 @@ var StreamsLiveResponse = /** @class */ (function () {
22
23
  this.config = (0, Mapper_1.map)(obj.config, StreamsConfigResponse_1.default);
23
24
  this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
24
25
  this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
26
+ this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
25
27
  }
26
28
  return StreamsLiveResponse;
27
29
  }());
@@ -1,5 +1,6 @@
1
1
  import StreamsAdConfigResponse from './StreamsAdConfigResponse';
2
2
  import StreamsConfigResponse from './StreamsConfigResponse';
3
+ import StreamsContentProtectionResponse from './StreamsContentProtectionResponse';
3
4
  import StreamsVideoEncodingTask from './StreamsVideoEncodingTask';
4
5
  import StreamsVideoStatus from './StreamsVideoStatus';
5
6
  /**
@@ -65,6 +66,11 @@ export declare class StreamsVideoResponse {
65
66
  * @memberof StreamsVideoResponse
66
67
  */
67
68
  adConfig?: StreamsAdConfigResponse;
69
+ /**
70
+ * @type {StreamsContentProtectionResponse}
71
+ * @memberof StreamsVideoResponse
72
+ */
73
+ contentProtection?: StreamsContentProtectionResponse;
68
74
  constructor(obj?: Partial<StreamsVideoResponse>);
69
75
  }
70
76
  export default StreamsVideoResponse;
@@ -4,6 +4,7 @@ exports.StreamsVideoResponse = void 0;
4
4
  var Mapper_1 = require("../common/Mapper");
5
5
  var StreamsAdConfigResponse_1 = require("./StreamsAdConfigResponse");
6
6
  var StreamsConfigResponse_1 = require("./StreamsConfigResponse");
7
+ var StreamsContentProtectionResponse_1 = require("./StreamsContentProtectionResponse");
7
8
  var StreamsVideoEncodingTask_1 = require("./StreamsVideoEncodingTask");
8
9
  /**
9
10
  * @export
@@ -24,6 +25,7 @@ var StreamsVideoResponse = /** @class */ (function () {
24
25
  this.encodingTasks = (0, Mapper_1.mapArray)(obj.encodingTasks, StreamsVideoEncodingTask_1.default);
25
26
  this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
26
27
  this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
28
+ this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
27
29
  }
28
30
  return StreamsVideoResponse;
29
31
  }());
@@ -699,7 +699,9 @@ export * from './StreamPerTitleSettings';
699
699
  export * from './StreamSelectionMode';
700
700
  export * from './StreamsAdConfigAd';
701
701
  export * from './StreamsAdConfigResponse';
702
+ export * from './StreamsConfigPlayerStyle';
702
703
  export * from './StreamsConfigResponse';
704
+ export * from './StreamsContentProtectionResponse';
703
705
  export * from './StreamsLiveCreateRequest';
704
706
  export * from './StreamsLiveLifeCycle';
705
707
  export * from './StreamsLiveResponse';
@@ -715,7 +715,9 @@ __exportStar(require("./StreamPerTitleSettings"), exports);
715
715
  __exportStar(require("./StreamSelectionMode"), exports);
716
716
  __exportStar(require("./StreamsAdConfigAd"), exports);
717
717
  __exportStar(require("./StreamsAdConfigResponse"), exports);
718
+ __exportStar(require("./StreamsConfigPlayerStyle"), exports);
718
719
  __exportStar(require("./StreamsConfigResponse"), exports);
720
+ __exportStar(require("./StreamsContentProtectionResponse"), exports);
719
721
  __exportStar(require("./StreamsLiveCreateRequest"), exports);
720
722
  __exportStar(require("./StreamsLiveLifeCycle"), exports);
721
723
  __exportStar(require("./StreamsLiveResponse"), exports);
@@ -12,7 +12,7 @@ export default class ErrorApi extends BaseAPI {
12
12
  constructor(configuration: Configuration);
13
13
  /**
14
14
  * @summary Add 'Manifest Error' Webhook (All Manifests)
15
- * @param {Webhook} webhook Add a new webhook notification if a manifest creation failed with an error. A maximum number of 5 webhooks is allowed
15
+ * @param {Webhook} webhook Add a new webhook notification if a manifest generation failed with an error. A maximum number of 5 webhooks is allowed
16
16
  * @throws {BitmovinError}
17
17
  * @memberof ErrorApi
18
18
  */
@@ -32,7 +32,7 @@ var ErrorApi = /** @class */ (function (_super) {
32
32
  }
33
33
  /**
34
34
  * @summary Add 'Manifest Error' Webhook (All Manifests)
35
- * @param {Webhook} webhook Add a new webhook notification if a manifest creation failed with an error. A maximum number of 5 webhooks is allowed
35
+ * @param {Webhook} webhook Add a new webhook notification if a manifest generation failed with an error. A maximum number of 5 webhooks is allowed
36
36
  * @throws {BitmovinError}
37
37
  * @memberof ErrorApi
38
38
  */
@@ -12,7 +12,7 @@ export default class FinishedApi extends BaseAPI {
12
12
  constructor(configuration: Configuration);
13
13
  /**
14
14
  * @summary Add 'Manifest Finished Successfully' Webhook (All Manifests)
15
- * @param {Webhook} webhook Add a new webhook notification if a manifest creation finished successfully. A maximum number of 5 webhooks is allowed
15
+ * @param {Webhook} webhook Add a new webhook notification if a manifest generation finished successfully. A maximum number of 5 webhooks is allowed
16
16
  * @throws {BitmovinError}
17
17
  * @memberof FinishedApi
18
18
  */
@@ -32,7 +32,7 @@ var FinishedApi = /** @class */ (function (_super) {
32
32
  }
33
33
  /**
34
34
  * @summary Add 'Manifest Finished Successfully' Webhook (All Manifests)
35
- * @param {Webhook} webhook Add a new webhook notification if a manifest creation finished successfully. A maximum number of 5 webhooks is allowed
35
+ * @param {Webhook} webhook Add a new webhook notification if a manifest generation finished successfully. A maximum number of 5 webhooks is allowed
36
36
  * @throws {BitmovinError}
37
37
  * @memberof FinishedApi
38
38
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.163.0",
3
+ "version": "1.165.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [