@bitmovin/api-sdk 1.164.0 → 1.166.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 (80) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +147 -41
  3. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  4. package/dist/common/RestClient.js +2 -2
  5. package/dist/encoding/configurations/audio/ac3/Ac3Api.d.ts +4 -4
  6. package/dist/encoding/configurations/audio/ac3/Ac3Api.js +4 -4
  7. package/dist/encoding/configurations/audio/eac3/Eac3Api.d.ts +4 -4
  8. package/dist/encoding/configurations/audio/eac3/Eac3Api.js +4 -4
  9. package/dist/encoding/encodings/EncodingsApi.d.ts +1 -1
  10. package/dist/encoding/encodings/EncodingsApi.js +1 -1
  11. package/dist/encoding/encodings/live/insertableContent/InsertableContentApi.d.ts +2 -2
  12. package/dist/encoding/encodings/live/insertableContent/InsertableContentApi.js +2 -2
  13. package/dist/encoding/encodings/live/insertableContent/schedule/ScheduleApi.d.ts +1 -1
  14. package/dist/encoding/encodings/live/insertableContent/schedule/ScheduleApi.js +1 -1
  15. package/dist/encoding/encodings/live/insertableContent/scheduled/ScheduledApi.d.ts +1 -1
  16. package/dist/encoding/encodings/live/insertableContent/scheduled/ScheduledApi.js +1 -1
  17. package/dist/encoding/encodings/streams/qc/psnr/PsnrApi.d.ts +1 -1
  18. package/dist/encoding/encodings/streams/qc/psnr/PsnrApi.js +1 -1
  19. package/dist/encoding/encodings/transferRetries/TransferRetriesApi.d.ts +1 -1
  20. package/dist/encoding/encodings/transferRetries/TransferRetriesApi.js +1 -1
  21. package/dist/encoding/filters/conform/ConformApi.d.ts +1 -1
  22. package/dist/encoding/filters/conform/ConformApi.js +1 -1
  23. package/dist/encoding/manifests/dash/DashApi.d.ts +4 -4
  24. package/dist/encoding/manifests/dash/DashApi.js +4 -4
  25. package/dist/encoding/manifests/dash/default/DefaultApi.d.ts +1 -1
  26. package/dist/encoding/manifests/dash/default/DefaultApi.js +1 -1
  27. package/dist/encoding/manifests/hls/HlsApi.d.ts +4 -4
  28. package/dist/encoding/manifests/hls/HlsApi.js +4 -4
  29. package/dist/encoding/manifests/hls/default/DefaultApi.d.ts +1 -1
  30. package/dist/encoding/manifests/hls/default/DefaultApi.js +1 -1
  31. package/dist/encoding/manifests/smooth/SmoothApi.d.ts +4 -4
  32. package/dist/encoding/manifests/smooth/SmoothApi.js +4 -4
  33. package/dist/encoding/manifests/smooth/default/DefaultApi.d.ts +1 -1
  34. package/dist/encoding/manifests/smooth/default/DefaultApi.js +1 -1
  35. package/dist/encoding/simple/jobs/live/LiveApi.d.ts +1 -1
  36. package/dist/encoding/simple/jobs/live/LiveApi.js +1 -1
  37. package/dist/encoding/simple/jobs/vod/VodApi.d.ts +1 -1
  38. package/dist/encoding/simple/jobs/vod/VodApi.js +1 -1
  39. package/dist/models/DashManifestDefault.d.ts +2 -2
  40. package/dist/models/Encoding.d.ts +8 -1
  41. package/dist/models/Encoding.js +1 -0
  42. package/dist/models/HlsManifestDefault.d.ts +2 -2
  43. package/dist/models/LiveOptionsType.d.ts +8 -0
  44. package/dist/models/LiveOptionsType.js +12 -0
  45. package/dist/models/PresetConfiguration.d.ts +2 -1
  46. package/dist/models/PresetConfiguration.js +1 -0
  47. package/dist/models/SmoothManifestDefault.d.ts +2 -2
  48. package/dist/models/SpekeDrmProvider.d.ts +6 -0
  49. package/dist/models/SpekeDrmProvider.js +1 -0
  50. package/dist/models/StartEncodingRequest.d.ts +6 -6
  51. package/dist/models/StartLiveEncodingRequest.d.ts +3 -3
  52. package/dist/models/Stream.d.ts +1 -1
  53. package/dist/models/StreamsConfigPlayerStyle.d.ts +51 -0
  54. package/dist/models/StreamsConfigPlayerStyle.js +26 -0
  55. package/dist/models/StreamsConfigResponse.d.ts +3 -3
  56. package/dist/models/StreamsConfigResponse.js +2 -1
  57. package/dist/models/StreamsContentProtectionResponse.d.ts +32 -0
  58. package/dist/models/StreamsContentProtectionResponse.js +22 -0
  59. package/dist/models/StreamsLiveResponse.d.ts +6 -0
  60. package/dist/models/StreamsLiveResponse.js +2 -0
  61. package/dist/models/StreamsLiveUpdateRequest.d.ts +6 -0
  62. package/dist/models/StreamsLiveUpdateRequest.js +1 -0
  63. package/dist/models/StreamsVideoResponse.d.ts +6 -0
  64. package/dist/models/StreamsVideoResponse.js +2 -0
  65. package/dist/models/StreamsVideoUpdateRequest.d.ts +6 -0
  66. package/dist/models/StreamsVideoUpdateRequest.js +1 -0
  67. package/dist/models/VideoConfiguration.d.ts +1 -1
  68. package/dist/models/index.d.ts +3 -0
  69. package/dist/models/index.js +3 -0
  70. package/dist/notifications/webhooks/encoding/encodings/error/ErrorApi.d.ts +1 -1
  71. package/dist/notifications/webhooks/encoding/encodings/error/ErrorApi.js +1 -1
  72. package/dist/notifications/webhooks/encoding/encodings/finished/FinishedApi.d.ts +1 -1
  73. package/dist/notifications/webhooks/encoding/encodings/finished/FinishedApi.js +1 -1
  74. package/dist/notifications/webhooks/encoding/encodings/transferError/TransferErrorApi.d.ts +1 -1
  75. package/dist/notifications/webhooks/encoding/encodings/transferError/TransferErrorApi.js +1 -1
  76. package/dist/notifications/webhooks/encoding/manifest/error/ErrorApi.d.ts +1 -1
  77. package/dist/notifications/webhooks/encoding/manifest/error/ErrorApi.js +1 -1
  78. package/dist/notifications/webhooks/encoding/manifest/finished/FinishedApi.d.ts +1 -1
  79. package/dist/notifications/webhooks/encoding/manifest/finished/FinishedApi.js +1 -1
  80. package/package.json +1 -1
@@ -14,7 +14,7 @@ export default class VodApi extends BaseAPI {
14
14
  constructor(configuration: Configuration);
15
15
  /**
16
16
  * @summary Create a Simple Encoding VOD Job
17
- * @param {SimpleEncodingVodJobRequest} simpleEncodingVodJobRequest The Simple Encoding VOD Job to be created. Check out our [Simple Encoding API Documentation](https://bitmovin.com/docs/encoding/articles/simple-encoding-api) for additional information about the Simple Encoding API.
17
+ * @param {SimpleEncodingVodJobRequest} simpleEncodingVodJobRequest The Simple Encoding VOD Job to be created.
18
18
  * @throws {BitmovinError}
19
19
  * @memberof VodApi
20
20
  */
@@ -33,7 +33,7 @@ var VodApi = /** @class */ (function (_super) {
33
33
  }
34
34
  /**
35
35
  * @summary Create a Simple Encoding VOD Job
36
- * @param {SimpleEncodingVodJobRequest} simpleEncodingVodJobRequest The Simple Encoding VOD Job to be created. Check out our [Simple Encoding API Documentation](https://bitmovin.com/docs/encoding/articles/simple-encoding-api) for additional information about the Simple Encoding API.
36
+ * @param {SimpleEncodingVodJobRequest} simpleEncodingVodJobRequest The Simple Encoding VOD Job to be created.
37
37
  * @throws {BitmovinError}
38
38
  * @memberof VodApi
39
39
  */
@@ -7,7 +7,7 @@ import DefaultDashManifestPeriod from './DefaultDashManifestPeriod';
7
7
  */
8
8
  export declare class DashManifestDefault extends DashManifest {
9
9
  /**
10
- * The id of the encoding to create a default manifest from. Either \"encodingId\" or \"periods\" is required.
10
+ * The id of the encoding to create a default manifest for. Either \"encodingId\" or \"periods\" is required.
11
11
  * @type {string}
12
12
  * @memberof DashManifestDefault
13
13
  */
@@ -19,7 +19,7 @@ export declare class DashManifestDefault extends DashManifest {
19
19
  */
20
20
  version?: DashManifestDefaultVersion;
21
21
  /**
22
- * Adds a period for every item. Either \"periods\" or \"encodingId\" is required.
22
+ * Adds a period for every item. Can only be used when setting \"version\" to \"V2\". Either \"periods\" or \"encodingId\" is required.
23
23
  * @type {DefaultDashManifestPeriod[]}
24
24
  * @memberof DashManifestDefault
25
25
  */
@@ -3,6 +3,7 @@ import CloudRegion from './CloudRegion';
3
3
  import EncodingMode from './EncodingMode';
4
4
  import EncodingType from './EncodingType';
5
5
  import InfrastructureSettings from './InfrastructureSettings';
6
+ import LiveOptionsType from './LiveOptionsType';
6
7
  import Status from './Status';
7
8
  /**
8
9
  * @export
@@ -86,7 +87,7 @@ export declare class Encoding extends BitmovinResource {
86
87
  */
87
88
  selectedEncoderVersion?: string;
88
89
  /**
89
- * After the encoding has been started, this will contain the encoding mode that was actually used. Especially useful when starting an encoding with encoding mode STANDARD.
90
+ * After the encoding has been started, this will contain the encoding mode that was actually used. Especially useful when `encodingMode` was not set explicitly or set to STANDARD (which translates to one of the other possible values on encoding start).
90
91
  * @type {EncodingMode}
91
92
  * @memberof Encoding
92
93
  */
@@ -109,6 +110,12 @@ export declare class Encoding extends BitmovinResource {
109
110
  * @memberof Encoding
110
111
  */
111
112
  labels?: string[];
113
+ /**
114
+ * The chosen live option type of the live encoding
115
+ * @type {LiveOptionsType}
116
+ * @memberof Encoding
117
+ */
118
+ liveOptionsType?: LiveOptionsType;
112
119
  constructor(obj?: Partial<Encoding>);
113
120
  }
114
121
  export default Encoding;
@@ -47,6 +47,7 @@ var Encoding = /** @class */ (function (_super) {
47
47
  _this.selectedCloudRegion = (0, Mapper_1.map)(obj.selectedCloudRegion);
48
48
  _this.status = (0, Mapper_1.map)(obj.status);
49
49
  _this.labels = (0, Mapper_1.mapArray)(obj.labels);
50
+ _this.liveOptionsType = (0, Mapper_1.map)(obj.liveOptionsType);
50
51
  return _this;
51
52
  }
52
53
  return Encoding;
@@ -6,13 +6,13 @@ import HlsManifestDefaultVersion from './HlsManifestDefaultVersion';
6
6
  */
7
7
  export declare class HlsManifestDefault extends HlsManifest {
8
8
  /**
9
- * The id of the encoding to create a default manifest from. (required)
9
+ * The id of the encoding to create a default manifest for (required)
10
10
  * @type {string}
11
11
  * @memberof HlsManifestDefault
12
12
  */
13
13
  encodingId?: string;
14
14
  /**
15
- * Specifies the algorithm that determines which output of the given encoding is included into the manifest. Note that this is not related to the \"manifestGenerator\" version of the \"Start\" request.
15
+ * Currently not in use
16
16
  * @type {HlsManifestDefaultVersion}
17
17
  * @memberof HlsManifestDefault
18
18
  */
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum LiveOptionsType {
6
+ HD = "HD"
7
+ }
8
+ export default LiveOptionsType;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LiveOptionsType = void 0;
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var LiveOptionsType;
9
+ (function (LiveOptionsType) {
10
+ LiveOptionsType["HD"] = "HD";
11
+ })(LiveOptionsType = exports.LiveOptionsType || (exports.LiveOptionsType = {}));
12
+ exports.default = LiveOptionsType;
@@ -18,6 +18,7 @@ export declare enum PresetConfiguration {
18
18
  VOD_VERYHIGH_SPEED = "VOD_VERYHIGH_SPEED",
19
19
  VOD_EXTRAHIGH_SPEED = "VOD_EXTRAHIGH_SPEED",
20
20
  VOD_SUPERHIGH_SPEED = "VOD_SUPERHIGH_SPEED",
21
- VOD_ULTRAHIGH_SPEED = "VOD_ULTRAHIGH_SPEED"
21
+ VOD_ULTRAHIGH_SPEED = "VOD_ULTRAHIGH_SPEED",
22
+ VOD_HARDWARE_SHORTFORM = "VOD_HARDWARE_SHORTFORM"
22
23
  }
23
24
  export default PresetConfiguration;
@@ -23,5 +23,6 @@ var PresetConfiguration;
23
23
  PresetConfiguration["VOD_EXTRAHIGH_SPEED"] = "VOD_EXTRAHIGH_SPEED";
24
24
  PresetConfiguration["VOD_SUPERHIGH_SPEED"] = "VOD_SUPERHIGH_SPEED";
25
25
  PresetConfiguration["VOD_ULTRAHIGH_SPEED"] = "VOD_ULTRAHIGH_SPEED";
26
+ PresetConfiguration["VOD_HARDWARE_SHORTFORM"] = "VOD_HARDWARE_SHORTFORM";
26
27
  })(PresetConfiguration = exports.PresetConfiguration || (exports.PresetConfiguration = {}));
27
28
  exports.default = PresetConfiguration;
@@ -6,13 +6,13 @@ import SmoothStreamingManifest from './SmoothStreamingManifest';
6
6
  */
7
7
  export declare class SmoothManifestDefault extends SmoothStreamingManifest {
8
8
  /**
9
- * The id of the encoding to create a default manifest from. (required)
9
+ * The id of the encoding to create a default manifest for (required)
10
10
  * @type {string}
11
11
  * @memberof SmoothManifestDefault
12
12
  */
13
13
  encodingId?: string;
14
14
  /**
15
- * Specifies the algorithm that determines which output of the given encoding is included into the manifest. Note that this is not related to the \"manifestGenerator\" version of the \"Start\" request.
15
+ * Currently not in use
16
16
  * @type {SmoothManifestDefaultVersion}
17
17
  * @memberof SmoothManifestDefault
18
18
  */
@@ -22,6 +22,12 @@ export declare class SpekeDrmProvider {
22
22
  * @memberof SpekeDrmProvider
23
23
  */
24
24
  password?: string;
25
+ /**
26
+ * Your API key for authentication via X-API-Key HTTP Header
27
+ * @type {string}
28
+ * @memberof SpekeDrmProvider
29
+ */
30
+ apiKey?: string;
25
31
  /**
26
32
  * AWS role that will be assumed for the key exchange in case the provider runs on AWS. During the key exchange the role will be assumed to be able to access the key provider. This role is to be created in the customer's account and must be granted access to the API Gateway of the SPEKE server. For Bitmovin to be able to assume this role, the following has to be added to the trust policy of the role: ``` { \"Effect\": \"Allow\", \"Principal\": { \"AWS\": \"arn:aws:iam::630681592166:user/bitmovinCustomerSpekeAccess\" }, \"Action\": \"sts:AssumeRole\", \"Condition\": { \"StringEquals\": { \"sts:ExternalId\": \"{{externalId}}\" } } } ``` It is recommended to also set the {{externalId}} due to security reasons but it can also be ommitted. Additionally the role needs a policy similar to the following to be able to invoke the API gateway: ``` { \"Version\": \"2012-10-17\", \"Statement\": [ { \"Effect\": \"Allow\", \"Action\": [ \"execute-api:Invoke\" ], \"Resource\": [ \"arn:aws:execute-api:{{region}}:*:*_/_*_/POST/_*\" ] } ] } ``` where `{{region}}` is the region of the API gateway (for example `us-west-2`), the same has to be set in the property 'gatewayRegion'. It's also possible to set `{{region}` to `*` to give the role access to all regions.
27
33
  * @type {string}
@@ -14,6 +14,7 @@ var SpekeDrmProvider = /** @class */ (function () {
14
14
  this.url = (0, Mapper_1.map)(obj.url);
15
15
  this.username = (0, Mapper_1.map)(obj.username);
16
16
  this.password = (0, Mapper_1.map)(obj.password);
17
+ this.apiKey = (0, Mapper_1.map)(obj.apiKey);
17
18
  this.roleArn = (0, Mapper_1.map)(obj.roleArn);
18
19
  this.externalId = (0, Mapper_1.map)(obj.externalId);
19
20
  this.externalIdMode = (0, Mapper_1.map)(obj.externalIdMode);
@@ -35,37 +35,37 @@ export declare class StartEncodingRequest {
35
35
  */
36
36
  handleVariableInputFps?: boolean;
37
37
  /**
38
- * The pass mode of the encoding
38
+ * The pass mode of the encoding. Must only be set when `encodingMode` is not set on any codec configuration used by this encoding.
39
39
  * @type {EncodingMode}
40
40
  * @memberof StartEncodingRequest
41
41
  */
42
42
  encodingMode?: EncodingMode;
43
43
  /**
44
- * List of preview DASH manifests to be created
44
+ * DASH manifests to be generated for previewing while the encoding is still running. See [documentation](https://developer.bitmovin.com/encoding/docs/how-to-create-manifests-for-your-encodings#just-in-time-jit)
45
45
  * @type {ManifestResource[]}
46
46
  * @memberof StartEncodingRequest
47
47
  */
48
48
  previewDashManifests?: ManifestResource[];
49
49
  /**
50
- * List of preview HLS manifests to be created
50
+ * HLS manifests to be generated for previewing while the encoding is still running. See [documentation](https://developer.bitmovin.com/encoding/docs/how-to-create-manifests-for-your-encodings#just-in-time-jit)
51
51
  * @type {ManifestResource[]}
52
52
  * @memberof StartEncodingRequest
53
53
  */
54
54
  previewHlsManifests?: ManifestResource[];
55
55
  /**
56
- * List of VoD DASH manifests to be created after encoding finished successfully
56
+ * DASH manifests to be generated right after encoding (just-in-time). See [documentation](https://developer.bitmovin.com/encoding/docs/how-to-create-manifests-for-your-encodings#just-in-time-jit)
57
57
  * @type {ManifestResource[]}
58
58
  * @memberof StartEncodingRequest
59
59
  */
60
60
  vodDashManifests?: ManifestResource[];
61
61
  /**
62
- * List of VoD HLS manifests to be created after encoding finished successfully
62
+ * HLS manifests to be generated right after encoding (just-in-time). See [documentation](https://developer.bitmovin.com/encoding/docs/how-to-create-manifests-for-your-encodings#just-in-time-jit)
63
63
  * @type {ManifestResource[]}
64
64
  * @memberof StartEncodingRequest
65
65
  */
66
66
  vodHlsManifests?: ManifestResource[];
67
67
  /**
68
- * List of VoD SMOOTH manifests to be created after encoding finished successfully
68
+ * Smooth Streaming manifests to be generated right after encoding (just-in-time). See [documentation](https://developer.bitmovin.com/encoding/docs/how-to-create-manifests-for-your-encodings#just-in-time-jit)
69
69
  * @type {ManifestResource[]}
70
70
  * @memberof StartEncodingRequest
71
71
  */
@@ -17,19 +17,19 @@ export declare class StartLiveEncodingRequest {
17
17
  */
18
18
  streamKey?: string;
19
19
  /**
20
- * List of Hls manifests to use for this live encoding
20
+ * HLS manifests to be generated during the encoding. See [documentation](https://developer.bitmovin.com/encoding/docs/how-to-create-manifests-for-your-encodings#just-in-time-jit)
21
21
  * @type {LiveHlsManifest[]}
22
22
  * @memberof StartLiveEncodingRequest
23
23
  */
24
24
  hlsManifests?: LiveHlsManifest[];
25
25
  /**
26
- * List of Dash manifests to use for this live encoding
26
+ * DASH manifests to be generated during the encoding. See [documentation](https://developer.bitmovin.com/encoding/docs/how-to-create-manifests-for-your-encodings#just-in-time-jit)
27
27
  * @type {LiveDashManifest[]}
28
28
  * @memberof StartLiveEncodingRequest
29
29
  */
30
30
  dashManifests?: LiveDashManifest[];
31
31
  /**
32
- * The pass mode of the encoding
32
+ * The pass mode of the encoding. Must only be set when `encodingMode` is not set on any codec configuration used by this encoding.
33
33
  * @type {EncodingMode}
34
34
  * @memberof StartLiveEncodingRequest
35
35
  */
@@ -62,7 +62,7 @@ export declare class Stream extends BitmovinResource {
62
62
  */
63
63
  mode?: StreamMode;
64
64
  /**
65
- * The encoding mode of the stream which was applied by the assigned codec configuration
65
+ * The encoding mode that was used for this stream. This is derived from `encodingMode`, which can be specified in the codec configuration or in the encoding start request. Note that all streams of an encoding need to use the same encoding mode. This will therefore always match `selectedEncodingMode` of the related Encoding resource. Especially useful when `encodingMode` was not set explicitly or set to STANDARD (which translates to one of the other possible values on encoding start).
66
66
  * @type {EncodingMode}
67
67
  * @memberof Stream
68
68
  */
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Player style config
3
+ * @export
4
+ * @class StreamsConfigPlayerStyle
5
+ */
6
+ export declare class StreamsConfigPlayerStyle {
7
+ /**
8
+ * Playback marker background color
9
+ * @type {string}
10
+ * @memberof StreamsConfigPlayerStyle
11
+ */
12
+ playbackMarkerBgColor?: string;
13
+ /**
14
+ * Playback marker border color
15
+ * @type {string}
16
+ * @memberof StreamsConfigPlayerStyle
17
+ */
18
+ playbackMarkerBorderColor?: string;
19
+ /**
20
+ * Playback track played color
21
+ * @type {string}
22
+ * @memberof StreamsConfigPlayerStyle
23
+ */
24
+ playbackTrackPlayedColor?: string;
25
+ /**
26
+ * Playback track buffered color
27
+ * @type {string}
28
+ * @memberof StreamsConfigPlayerStyle
29
+ */
30
+ playbackTrackBufferedColor?: string;
31
+ /**
32
+ * Playback track background color
33
+ * @type {string}
34
+ * @memberof StreamsConfigPlayerStyle
35
+ */
36
+ playbackTrackBgColor?: string;
37
+ /**
38
+ * Text color
39
+ * @type {string}
40
+ * @memberof StreamsConfigPlayerStyle
41
+ */
42
+ textColor?: string;
43
+ /**
44
+ * Background color
45
+ * @type {string}
46
+ * @memberof StreamsConfigPlayerStyle
47
+ */
48
+ backgroundColor?: string;
49
+ constructor(obj?: Partial<StreamsConfigPlayerStyle>);
50
+ }
51
+ export default StreamsConfigPlayerStyle;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StreamsConfigPlayerStyle = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * Player style config
7
+ * @export
8
+ * @class StreamsConfigPlayerStyle
9
+ */
10
+ var StreamsConfigPlayerStyle = /** @class */ (function () {
11
+ function StreamsConfigPlayerStyle(obj) {
12
+ if (!obj) {
13
+ return;
14
+ }
15
+ this.playbackMarkerBgColor = (0, Mapper_1.map)(obj.playbackMarkerBgColor);
16
+ this.playbackMarkerBorderColor = (0, Mapper_1.map)(obj.playbackMarkerBorderColor);
17
+ this.playbackTrackPlayedColor = (0, Mapper_1.map)(obj.playbackTrackPlayedColor);
18
+ this.playbackTrackBufferedColor = (0, Mapper_1.map)(obj.playbackTrackBufferedColor);
19
+ this.playbackTrackBgColor = (0, Mapper_1.map)(obj.playbackTrackBgColor);
20
+ this.textColor = (0, Mapper_1.map)(obj.textColor);
21
+ this.backgroundColor = (0, Mapper_1.map)(obj.backgroundColor);
22
+ }
23
+ return StreamsConfigPlayerStyle;
24
+ }());
25
+ exports.StreamsConfigPlayerStyle = StreamsConfigPlayerStyle;
26
+ exports.default = StreamsConfigPlayerStyle;
@@ -1,3 +1,4 @@
1
+ import StreamsConfigPlayerStyle from './StreamsConfigPlayerStyle';
1
2
  /**
2
3
  * @export
3
4
  * @class StreamsConfigResponse
@@ -16,11 +17,10 @@ export declare class StreamsConfigResponse {
16
17
  */
17
18
  orgId?: string;
18
19
  /**
19
- * Player style config
20
- * @type {any}
20
+ * @type {StreamsConfigPlayerStyle}
21
21
  * @memberof StreamsConfigResponse
22
22
  */
23
- playerStyle?: any;
23
+ playerStyle?: StreamsConfigPlayerStyle;
24
24
  /**
25
25
  * URL of the watermark image
26
26
  * @type {string}
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StreamsConfigResponse = void 0;
4
4
  var Mapper_1 = require("../common/Mapper");
5
+ var StreamsConfigPlayerStyle_1 = require("./StreamsConfigPlayerStyle");
5
6
  /**
6
7
  * @export
7
8
  * @class StreamsConfigResponse
@@ -13,7 +14,7 @@ var StreamsConfigResponse = /** @class */ (function () {
13
14
  }
14
15
  this.id = (0, Mapper_1.map)(obj.id);
15
16
  this.orgId = (0, Mapper_1.map)(obj.orgId);
16
- this.playerStyle = (0, Mapper_1.map)(obj.playerStyle);
17
+ this.playerStyle = (0, Mapper_1.map)(obj.playerStyle, StreamsConfigPlayerStyle_1.default);
17
18
  this.watermarkUrl = (0, Mapper_1.map)(obj.watermarkUrl);
18
19
  this.watermarkTargetLink = (0, Mapper_1.map)(obj.watermarkTargetLink);
19
20
  }
@@ -0,0 +1,32 @@
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;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StreamsContentProtectionResponse = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class StreamsContentProtectionResponse
8
+ */
9
+ var StreamsContentProtectionResponse = /** @class */ (function () {
10
+ function StreamsContentProtectionResponse(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.id = (0, Mapper_1.map)(obj.id);
15
+ this.allowedDomains = (0, Mapper_1.mapArray)(obj.allowedDomains);
16
+ this.allowNoReferer = (0, Mapper_1.map)(obj.allowNoReferer);
17
+ this.allowShare = (0, Mapper_1.map)(obj.allowShare);
18
+ }
19
+ return StreamsContentProtectionResponse;
20
+ }());
21
+ exports.StreamsContentProtectionResponse = StreamsContentProtectionResponse;
22
+ exports.default = StreamsContentProtectionResponse;
@@ -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
  }());
@@ -33,6 +33,12 @@ export declare class StreamsLiveUpdateRequest {
33
33
  * @memberof StreamsLiveUpdateRequest
34
34
  */
35
35
  adConfigId?: string;
36
+ /**
37
+ * Id of the content protection config to use
38
+ * @type {string}
39
+ * @memberof StreamsLiveUpdateRequest
40
+ */
41
+ contentProtectionId?: string;
36
42
  constructor(obj?: Partial<StreamsLiveUpdateRequest>);
37
43
  }
38
44
  export default StreamsLiveUpdateRequest;
@@ -16,6 +16,7 @@ var StreamsLiveUpdateRequest = /** @class */ (function () {
16
16
  this.configId = (0, Mapper_1.map)(obj.configId);
17
17
  this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
18
18
  this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
19
+ this.contentProtectionId = (0, Mapper_1.map)(obj.contentProtectionId);
19
20
  }
20
21
  return StreamsLiveUpdateRequest;
21
22
  }());
@@ -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
  }());
@@ -40,6 +40,12 @@ export declare class StreamsVideoUpdateRequest {
40
40
  * @memberof StreamsVideoUpdateRequest
41
41
  */
42
42
  adConfigId?: string;
43
+ /**
44
+ * Id of the content protection config to use
45
+ * @type {string}
46
+ * @memberof StreamsVideoUpdateRequest
47
+ */
48
+ contentProtectionId?: string;
43
49
  constructor(obj?: Partial<StreamsVideoUpdateRequest>);
44
50
  }
45
51
  export default StreamsVideoUpdateRequest;
@@ -17,6 +17,7 @@ var StreamsVideoUpdateRequest = /** @class */ (function () {
17
17
  this.configId = (0, Mapper_1.map)(obj.configId);
18
18
  this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
19
19
  this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
20
+ this.contentProtectionId = (0, Mapper_1.map)(obj.contentProtectionId);
20
21
  }
21
22
  return StreamsVideoUpdateRequest;
22
23
  }());
@@ -62,7 +62,7 @@ export declare class VideoConfiguration extends CodecConfiguration {
62
62
  */
63
63
  displayAspectRatio?: DisplayAspectRatio;
64
64
  /**
65
- * The mode of the encoding
65
+ * The mode of the encoding. When this is set, `encodingMode` (`liveEncodingMode`) must not be set in the (live) encoding start request.
66
66
  * @type {EncodingMode}
67
67
  * @memberof VideoConfiguration
68
68
  */
@@ -465,6 +465,7 @@ export * from './LiveEncodingStatsEventDetails';
465
465
  export * from './LiveEncodingStatus';
466
466
  export * from './LiveHlsManifest';
467
467
  export * from './LiveMediaIngestOutput';
468
+ export * from './LiveOptionsType';
468
469
  export * from './LocalInput';
469
470
  export * from './LocalOutput';
470
471
  export * from './Manifest';
@@ -699,7 +700,9 @@ export * from './StreamPerTitleSettings';
699
700
  export * from './StreamSelectionMode';
700
701
  export * from './StreamsAdConfigAd';
701
702
  export * from './StreamsAdConfigResponse';
703
+ export * from './StreamsConfigPlayerStyle';
702
704
  export * from './StreamsConfigResponse';
705
+ export * from './StreamsContentProtectionResponse';
703
706
  export * from './StreamsLiveCreateRequest';
704
707
  export * from './StreamsLiveLifeCycle';
705
708
  export * from './StreamsLiveResponse';
@@ -481,6 +481,7 @@ __exportStar(require("./LiveEncodingStatsEventDetails"), exports);
481
481
  __exportStar(require("./LiveEncodingStatus"), exports);
482
482
  __exportStar(require("./LiveHlsManifest"), exports);
483
483
  __exportStar(require("./LiveMediaIngestOutput"), exports);
484
+ __exportStar(require("./LiveOptionsType"), exports);
484
485
  __exportStar(require("./LocalInput"), exports);
485
486
  __exportStar(require("./LocalOutput"), exports);
486
487
  __exportStar(require("./Manifest"), exports);
@@ -715,7 +716,9 @@ __exportStar(require("./StreamPerTitleSettings"), exports);
715
716
  __exportStar(require("./StreamSelectionMode"), exports);
716
717
  __exportStar(require("./StreamsAdConfigAd"), exports);
717
718
  __exportStar(require("./StreamsAdConfigResponse"), exports);
719
+ __exportStar(require("./StreamsConfigPlayerStyle"), exports);
718
720
  __exportStar(require("./StreamsConfigResponse"), exports);
721
+ __exportStar(require("./StreamsContentProtectionResponse"), exports);
719
722
  __exportStar(require("./StreamsLiveCreateRequest"), exports);
720
723
  __exportStar(require("./StreamsLiveLifeCycle"), exports);
721
724
  __exportStar(require("./StreamsLiveResponse"), exports);
@@ -17,7 +17,7 @@ export default class ErrorApi extends BaseAPI {
17
17
  constructor(configuration: Configuration);
18
18
  /**
19
19
  * @summary Add 'Encoding Error' Webhook
20
- * @param {Webhook} webhook The &#39;Encoding Error&#39; Webhook to be added. A maximum number of 5 webhooks is allowed
20
+ * @param {Webhook} webhook The &#39;Encoding Error&#39; Webhook to be added.
21
21
  * @throws {BitmovinError}
22
22
  * @memberof ErrorApi
23
23
  */
@@ -38,7 +38,7 @@ var ErrorApi = /** @class */ (function (_super) {
38
38
  }
39
39
  /**
40
40
  * @summary Add 'Encoding Error' Webhook
41
- * @param {Webhook} webhook The &#39;Encoding Error&#39; Webhook to be added. A maximum number of 5 webhooks is allowed
41
+ * @param {Webhook} webhook The &#39;Encoding Error&#39; Webhook to be added.
42
42
  * @throws {BitmovinError}
43
43
  * @memberof ErrorApi
44
44
  */
@@ -17,7 +17,7 @@ export default class FinishedApi extends BaseAPI {
17
17
  constructor(configuration: Configuration);
18
18
  /**
19
19
  * @summary Add 'Encoding Finished' Webhook
20
- * @param {Webhook} webhook The &#39;Encoding Finished&#39; Webhook to be added. A maximum number of 5 webhooks is allowed
20
+ * @param {Webhook} webhook The &#39;Encoding Finished&#39; Webhook to be added.
21
21
  * @throws {BitmovinError}
22
22
  * @memberof FinishedApi
23
23
  */
@@ -38,7 +38,7 @@ var FinishedApi = /** @class */ (function (_super) {
38
38
  }
39
39
  /**
40
40
  * @summary Add 'Encoding Finished' Webhook
41
- * @param {Webhook} webhook The &#39;Encoding Finished&#39; Webhook to be added. A maximum number of 5 webhooks is allowed
41
+ * @param {Webhook} webhook The &#39;Encoding Finished&#39; Webhook to be added.
42
42
  * @throws {BitmovinError}
43
43
  * @memberof FinishedApi
44
44
  */