@bitmovin/api-sdk 1.165.0 → 1.167.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 (95) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +149 -116
  3. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  4. package/dist/common/RestClient.js +1 -1
  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/EncodingListQueryParams.d.ts +4 -4
  10. package/dist/encoding/encodings/EncodingListQueryParams.js +2 -2
  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/muxings/mp4/Mp4Api.d.ts +1 -1
  18. package/dist/encoding/encodings/muxings/mp4/Mp4Api.js +1 -1
  19. package/dist/encoding/encodings/streams/qc/psnr/PsnrApi.d.ts +1 -1
  20. package/dist/encoding/encodings/streams/qc/psnr/PsnrApi.js +1 -1
  21. package/dist/encoding/encodings/transferRetries/TransferRetriesApi.d.ts +1 -1
  22. package/dist/encoding/encodings/transferRetries/TransferRetriesApi.js +1 -1
  23. package/dist/encoding/filters/conform/ConformApi.d.ts +1 -1
  24. package/dist/encoding/filters/conform/ConformApi.js +1 -1
  25. package/dist/encoding/manifests/dash/DashApi.d.ts +1 -1
  26. package/dist/encoding/manifests/dash/DashApi.js +1 -1
  27. package/dist/encoding/manifests/dash/default/DefaultApi.d.ts +1 -1
  28. package/dist/encoding/manifests/dash/default/DefaultApi.js +1 -1
  29. package/dist/encoding/manifests/hls/HlsApi.d.ts +1 -1
  30. package/dist/encoding/manifests/hls/HlsApi.js +1 -1
  31. package/dist/encoding/manifests/hls/default/DefaultApi.d.ts +1 -1
  32. package/dist/encoding/manifests/hls/default/DefaultApi.js +1 -1
  33. package/dist/encoding/manifests/smooth/SmoothApi.d.ts +1 -1
  34. package/dist/encoding/manifests/smooth/SmoothApi.js +1 -1
  35. package/dist/encoding/manifests/smooth/default/DefaultApi.d.ts +1 -1
  36. package/dist/encoding/manifests/smooth/default/DefaultApi.js +1 -1
  37. package/dist/encoding/simple/jobs/live/LiveApi.d.ts +1 -1
  38. package/dist/encoding/simple/jobs/live/LiveApi.js +1 -1
  39. package/dist/encoding/simple/jobs/vod/VodApi.d.ts +1 -1
  40. package/dist/encoding/simple/jobs/vod/VodApi.js +1 -1
  41. package/dist/models/AnalyticsLicense.d.ts +7 -1
  42. package/dist/models/AnalyticsLicense.js +1 -0
  43. package/dist/models/AnalyticsVirtualLicense.d.ts +6 -0
  44. package/dist/models/AnalyticsVirtualLicense.js +1 -0
  45. package/dist/models/Encoding.d.ts +8 -1
  46. package/dist/models/Encoding.js +1 -0
  47. package/dist/models/LiveOptionsType.d.ts +8 -0
  48. package/dist/models/LiveOptionsType.js +12 -0
  49. package/dist/models/Mp4Muxing.d.ts +1 -1
  50. package/dist/models/PresetConfiguration.d.ts +2 -1
  51. package/dist/models/PresetConfiguration.js +1 -0
  52. package/dist/models/PrewarmedEncoderPool.d.ts +6 -0
  53. package/dist/models/PrewarmedEncoderPool.js +1 -0
  54. package/dist/models/SpekeDrmProvider.d.ts +6 -0
  55. package/dist/models/SpekeDrmProvider.js +1 -0
  56. package/dist/models/StartEncodingRequest.d.ts +1 -1
  57. package/dist/models/StartLiveEncodingRequest.d.ts +1 -1
  58. package/dist/models/Stream.d.ts +1 -1
  59. package/dist/models/StreamsContentProtectionResponse.d.ts +6 -0
  60. package/dist/models/StreamsContentProtectionResponse.js +1 -0
  61. package/dist/models/StreamsLiveCreateRequest.d.ts +2 -2
  62. package/dist/models/StreamsLiveCreateRequest.js +1 -1
  63. package/dist/models/StreamsLiveResponse.d.ts +3 -3
  64. package/dist/models/StreamsLiveResponse.js +2 -2
  65. package/dist/models/StreamsLiveUpdateRequest.d.ts +8 -2
  66. package/dist/models/StreamsLiveUpdateRequest.js +2 -1
  67. package/dist/models/{StreamsConfigPlayerStyle.d.ts → StreamsStyleConfigPlayerStyle.d.ts} +11 -11
  68. package/dist/models/{StreamsConfigPlayerStyle.js → StreamsStyleConfigPlayerStyle.js} +7 -7
  69. package/dist/models/StreamsStyleConfigResponse.d.ts +38 -0
  70. package/dist/models/{StreamsConfigResponse.js → StreamsStyleConfigResponse.js} +9 -9
  71. package/dist/models/StreamsVideoCreateRequest.d.ts +2 -2
  72. package/dist/models/StreamsVideoCreateRequest.js +1 -1
  73. package/dist/models/StreamsVideoResponse.d.ts +3 -3
  74. package/dist/models/StreamsVideoResponse.js +2 -2
  75. package/dist/models/StreamsVideoUpdateRequest.d.ts +8 -2
  76. package/dist/models/StreamsVideoUpdateRequest.js +2 -1
  77. package/dist/models/VideoConfiguration.d.ts +1 -1
  78. package/dist/models/index.d.ts +3 -2
  79. package/dist/models/index.js +3 -2
  80. package/dist/notifications/webhooks/encoding/encodings/error/ErrorApi.d.ts +1 -1
  81. package/dist/notifications/webhooks/encoding/encodings/error/ErrorApi.js +1 -1
  82. package/dist/notifications/webhooks/encoding/encodings/finished/FinishedApi.d.ts +1 -1
  83. package/dist/notifications/webhooks/encoding/encodings/finished/FinishedApi.js +1 -1
  84. package/dist/notifications/webhooks/encoding/encodings/transferError/TransferErrorApi.d.ts +1 -1
  85. package/dist/notifications/webhooks/encoding/encodings/transferError/TransferErrorApi.js +1 -1
  86. package/dist/notifications/webhooks/encoding/manifest/error/ErrorApi.d.ts +1 -1
  87. package/dist/notifications/webhooks/encoding/manifest/error/ErrorApi.js +1 -1
  88. package/dist/notifications/webhooks/encoding/manifest/finished/FinishedApi.d.ts +1 -1
  89. package/dist/notifications/webhooks/encoding/manifest/finished/FinishedApi.js +1 -1
  90. package/dist/streams/live/LiveApi.d.ts +1 -1
  91. package/dist/streams/live/LiveApi.js +1 -1
  92. package/dist/streams/video/VideoApi.d.ts +1 -1
  93. package/dist/streams/video/VideoApi.js +1 -1
  94. package/package.json +1 -1
  95. package/dist/models/StreamsConfigResponse.d.ts +0 -38
@@ -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;
@@ -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;
@@ -15,7 +15,7 @@ export declare class Mp4Muxing extends Muxing {
15
15
  */
16
16
  readonly type: MuxingType;
17
17
  /**
18
- * Name of the output file
18
+ * Name of the output file (either `filename` or `name` is required, prefer `filename`)
19
19
  * @type {string}
20
20
  * @memberof Mp4Muxing
21
21
  */
@@ -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;
@@ -37,6 +37,12 @@ export declare class PrewarmedEncoderPool extends BitmovinResource {
37
37
  * @memberof PrewarmedEncoderPool
38
38
  */
39
39
  targetPoolSize?: number;
40
+ /**
41
+ * Create pool with GPU instances for hardware encoding presets (e.g., VOD_HARDWARE_SHORTFORM).
42
+ * @type {boolean}
43
+ * @memberof PrewarmedEncoderPool
44
+ */
45
+ gpuEnabled?: boolean;
40
46
  /**
41
47
  * Current status of the pool.
42
48
  * @type {PrewarmedEncoderPoolStatus}
@@ -34,6 +34,7 @@ var PrewarmedEncoderPool = /** @class */ (function (_super) {
34
34
  _this.infrastructureId = (0, Mapper_1.map)(obj.infrastructureId);
35
35
  _this.diskSize = (0, Mapper_1.map)(obj.diskSize);
36
36
  _this.targetPoolSize = (0, Mapper_1.map)(obj.targetPoolSize);
37
+ _this.gpuEnabled = (0, Mapper_1.map)(obj.gpuEnabled);
37
38
  _this.status = (0, Mapper_1.map)(obj.status);
38
39
  return _this;
39
40
  }
@@ -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,7 +35,7 @@ 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
  */
@@ -29,7 +29,7 @@ export declare class 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
  */
@@ -21,6 +21,12 @@ export declare class StreamsContentProtectionResponse {
21
21
  * @memberof StreamsContentProtectionResponse
22
22
  */
23
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;
24
30
  constructor(obj?: Partial<StreamsContentProtectionResponse>);
25
31
  }
26
32
  export default StreamsContentProtectionResponse;
@@ -14,6 +14,7 @@ var StreamsContentProtectionResponse = /** @class */ (function () {
14
14
  this.id = (0, Mapper_1.map)(obj.id);
15
15
  this.allowedDomains = (0, Mapper_1.mapArray)(obj.allowedDomains);
16
16
  this.allowNoReferer = (0, Mapper_1.map)(obj.allowNoReferer);
17
+ this.allowShare = (0, Mapper_1.map)(obj.allowShare);
17
18
  }
18
19
  return StreamsContentProtectionResponse;
19
20
  }());
@@ -16,11 +16,11 @@ export declare class StreamsLiveCreateRequest {
16
16
  */
17
17
  description?: string;
18
18
  /**
19
- * Id of the stream config to use
19
+ * Id of the style config to use
20
20
  * @type {string}
21
21
  * @memberof StreamsLiveCreateRequest
22
22
  */
23
- configId?: string;
23
+ styleConfigId?: string;
24
24
  /**
25
25
  * Id of the advertisement config to use
26
26
  * @type {string}
@@ -13,7 +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.configId = (0, Mapper_1.map)(obj.configId);
16
+ this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
17
17
  this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
18
18
  }
19
19
  return StreamsLiveCreateRequest;
@@ -1,7 +1,7 @@
1
1
  import StreamsAdConfigResponse from './StreamsAdConfigResponse';
2
- import StreamsConfigResponse from './StreamsConfigResponse';
3
2
  import StreamsContentProtectionResponse from './StreamsContentProtectionResponse';
4
3
  import StreamsLiveLifeCycle from './StreamsLiveLifeCycle';
4
+ import StreamsStyleConfigResponse from './StreamsStyleConfigResponse';
5
5
  /**
6
6
  * @export
7
7
  * @class StreamsLiveResponse
@@ -44,10 +44,10 @@ export declare class StreamsLiveResponse {
44
44
  */
45
45
  lifeCycle?: StreamsLiveLifeCycle;
46
46
  /**
47
- * @type {StreamsConfigResponse}
47
+ * @type {StreamsStyleConfigResponse}
48
48
  * @memberof StreamsLiveResponse
49
49
  */
50
- config?: StreamsConfigResponse;
50
+ styleConfig?: StreamsStyleConfigResponse;
51
51
  /**
52
52
  * Poster URL
53
53
  * @type {string}
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StreamsLiveResponse = void 0;
4
4
  var Mapper_1 = require("../common/Mapper");
5
5
  var StreamsAdConfigResponse_1 = require("./StreamsAdConfigResponse");
6
- var StreamsConfigResponse_1 = require("./StreamsConfigResponse");
7
6
  var StreamsContentProtectionResponse_1 = require("./StreamsContentProtectionResponse");
7
+ var StreamsStyleConfigResponse_1 = require("./StreamsStyleConfigResponse");
8
8
  /**
9
9
  * @export
10
10
  * @class StreamsLiveResponse
@@ -20,7 +20,7 @@ var StreamsLiveResponse = /** @class */ (function () {
20
20
  this.description = (0, Mapper_1.map)(obj.description);
21
21
  this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
22
22
  this.lifeCycle = (0, Mapper_1.map)(obj.lifeCycle);
23
- this.config = (0, Mapper_1.map)(obj.config, StreamsConfigResponse_1.default);
23
+ this.styleConfig = (0, Mapper_1.map)(obj.styleConfig, StreamsStyleConfigResponse_1.default);
24
24
  this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
25
25
  this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
26
26
  this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
@@ -16,11 +16,11 @@ export declare class StreamsLiveUpdateRequest {
16
16
  */
17
17
  description?: string;
18
18
  /**
19
- * Id of the stream config to use
19
+ * Id of the style config to use
20
20
  * @type {string}
21
21
  * @memberof StreamsLiveUpdateRequest
22
22
  */
23
- configId?: string;
23
+ styleConfigId?: string;
24
24
  /**
25
25
  * URL to hosted poster image
26
26
  * @type {string}
@@ -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;
@@ -13,9 +13,10 @@ var StreamsLiveUpdateRequest = /** @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.configId = (0, Mapper_1.map)(obj.configId);
16
+ this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
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,51 +1,51 @@
1
1
  /**
2
2
  * Player style config
3
3
  * @export
4
- * @class StreamsConfigPlayerStyle
4
+ * @class StreamsStyleConfigPlayerStyle
5
5
  */
6
- export declare class StreamsConfigPlayerStyle {
6
+ export declare class StreamsStyleConfigPlayerStyle {
7
7
  /**
8
8
  * Playback marker background color
9
9
  * @type {string}
10
- * @memberof StreamsConfigPlayerStyle
10
+ * @memberof StreamsStyleConfigPlayerStyle
11
11
  */
12
12
  playbackMarkerBgColor?: string;
13
13
  /**
14
14
  * Playback marker border color
15
15
  * @type {string}
16
- * @memberof StreamsConfigPlayerStyle
16
+ * @memberof StreamsStyleConfigPlayerStyle
17
17
  */
18
18
  playbackMarkerBorderColor?: string;
19
19
  /**
20
20
  * Playback track played color
21
21
  * @type {string}
22
- * @memberof StreamsConfigPlayerStyle
22
+ * @memberof StreamsStyleConfigPlayerStyle
23
23
  */
24
24
  playbackTrackPlayedColor?: string;
25
25
  /**
26
26
  * Playback track buffered color
27
27
  * @type {string}
28
- * @memberof StreamsConfigPlayerStyle
28
+ * @memberof StreamsStyleConfigPlayerStyle
29
29
  */
30
30
  playbackTrackBufferedColor?: string;
31
31
  /**
32
32
  * Playback track background color
33
33
  * @type {string}
34
- * @memberof StreamsConfigPlayerStyle
34
+ * @memberof StreamsStyleConfigPlayerStyle
35
35
  */
36
36
  playbackTrackBgColor?: string;
37
37
  /**
38
38
  * Text color
39
39
  * @type {string}
40
- * @memberof StreamsConfigPlayerStyle
40
+ * @memberof StreamsStyleConfigPlayerStyle
41
41
  */
42
42
  textColor?: string;
43
43
  /**
44
44
  * Background color
45
45
  * @type {string}
46
- * @memberof StreamsConfigPlayerStyle
46
+ * @memberof StreamsStyleConfigPlayerStyle
47
47
  */
48
48
  backgroundColor?: string;
49
- constructor(obj?: Partial<StreamsConfigPlayerStyle>);
49
+ constructor(obj?: Partial<StreamsStyleConfigPlayerStyle>);
50
50
  }
51
- export default StreamsConfigPlayerStyle;
51
+ export default StreamsStyleConfigPlayerStyle;
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StreamsConfigPlayerStyle = void 0;
3
+ exports.StreamsStyleConfigPlayerStyle = void 0;
4
4
  var Mapper_1 = require("../common/Mapper");
5
5
  /**
6
6
  * Player style config
7
7
  * @export
8
- * @class StreamsConfigPlayerStyle
8
+ * @class StreamsStyleConfigPlayerStyle
9
9
  */
10
- var StreamsConfigPlayerStyle = /** @class */ (function () {
11
- function StreamsConfigPlayerStyle(obj) {
10
+ var StreamsStyleConfigPlayerStyle = /** @class */ (function () {
11
+ function StreamsStyleConfigPlayerStyle(obj) {
12
12
  if (!obj) {
13
13
  return;
14
14
  }
@@ -20,7 +20,7 @@ var StreamsConfigPlayerStyle = /** @class */ (function () {
20
20
  this.textColor = (0, Mapper_1.map)(obj.textColor);
21
21
  this.backgroundColor = (0, Mapper_1.map)(obj.backgroundColor);
22
22
  }
23
- return StreamsConfigPlayerStyle;
23
+ return StreamsStyleConfigPlayerStyle;
24
24
  }());
25
- exports.StreamsConfigPlayerStyle = StreamsConfigPlayerStyle;
26
- exports.default = StreamsConfigPlayerStyle;
25
+ exports.StreamsStyleConfigPlayerStyle = StreamsStyleConfigPlayerStyle;
26
+ exports.default = StreamsStyleConfigPlayerStyle;
@@ -0,0 +1,38 @@
1
+ import StreamsStyleConfigPlayerStyle from './StreamsStyleConfigPlayerStyle';
2
+ /**
3
+ * @export
4
+ * @class StreamsStyleConfigResponse
5
+ */
6
+ export declare class StreamsStyleConfigResponse {
7
+ /**
8
+ * The identifier of the style config
9
+ * @type {string}
10
+ * @memberof StreamsStyleConfigResponse
11
+ */
12
+ id?: string;
13
+ /**
14
+ * UUID of the associated organization
15
+ * @type {string}
16
+ * @memberof StreamsStyleConfigResponse
17
+ */
18
+ orgId?: string;
19
+ /**
20
+ * @type {StreamsStyleConfigPlayerStyle}
21
+ * @memberof StreamsStyleConfigResponse
22
+ */
23
+ playerStyle?: StreamsStyleConfigPlayerStyle;
24
+ /**
25
+ * URL of the watermark image
26
+ * @type {string}
27
+ * @memberof StreamsStyleConfigResponse
28
+ */
29
+ watermarkUrl?: string;
30
+ /**
31
+ * Target link of the watermark image
32
+ * @type {string}
33
+ * @memberof StreamsStyleConfigResponse
34
+ */
35
+ watermarkTargetLink?: string;
36
+ constructor(obj?: Partial<StreamsStyleConfigResponse>);
37
+ }
38
+ export default StreamsStyleConfigResponse;
@@ -1,24 +1,24 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StreamsConfigResponse = void 0;
3
+ exports.StreamsStyleConfigResponse = void 0;
4
4
  var Mapper_1 = require("../common/Mapper");
5
- var StreamsConfigPlayerStyle_1 = require("./StreamsConfigPlayerStyle");
5
+ var StreamsStyleConfigPlayerStyle_1 = require("./StreamsStyleConfigPlayerStyle");
6
6
  /**
7
7
  * @export
8
- * @class StreamsConfigResponse
8
+ * @class StreamsStyleConfigResponse
9
9
  */
10
- var StreamsConfigResponse = /** @class */ (function () {
11
- function StreamsConfigResponse(obj) {
10
+ var StreamsStyleConfigResponse = /** @class */ (function () {
11
+ function StreamsStyleConfigResponse(obj) {
12
12
  if (!obj) {
13
13
  return;
14
14
  }
15
15
  this.id = (0, Mapper_1.map)(obj.id);
16
16
  this.orgId = (0, Mapper_1.map)(obj.orgId);
17
- this.playerStyle = (0, Mapper_1.map)(obj.playerStyle, StreamsConfigPlayerStyle_1.default);
17
+ this.playerStyle = (0, Mapper_1.map)(obj.playerStyle, StreamsStyleConfigPlayerStyle_1.default);
18
18
  this.watermarkUrl = (0, Mapper_1.map)(obj.watermarkUrl);
19
19
  this.watermarkTargetLink = (0, Mapper_1.map)(obj.watermarkTargetLink);
20
20
  }
21
- return StreamsConfigResponse;
21
+ return StreamsStyleConfigResponse;
22
22
  }());
23
- exports.StreamsConfigResponse = StreamsConfigResponse;
24
- exports.default = StreamsConfigResponse;
23
+ exports.StreamsStyleConfigResponse = StreamsStyleConfigResponse;
24
+ exports.default = StreamsStyleConfigResponse;
@@ -22,11 +22,11 @@ export declare class StreamsVideoCreateRequest {
22
22
  */
23
23
  description?: string;
24
24
  /**
25
- * Id of the stream config to use
25
+ * Id of the style config to use
26
26
  * @type {string}
27
27
  * @memberof StreamsVideoCreateRequest
28
28
  */
29
- configId?: string;
29
+ styleConfigId?: string;
30
30
  /**
31
31
  * Id of the advertisement config to use
32
32
  * @type {string}
@@ -14,7 +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.configId = (0, Mapper_1.map)(obj.configId);
17
+ this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
18
18
  this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
19
19
  }
20
20
  return StreamsVideoCreateRequest;
@@ -1,6 +1,6 @@
1
1
  import StreamsAdConfigResponse from './StreamsAdConfigResponse';
2
- import StreamsConfigResponse from './StreamsConfigResponse';
3
2
  import StreamsContentProtectionResponse from './StreamsContentProtectionResponse';
3
+ import StreamsStyleConfigResponse from './StreamsStyleConfigResponse';
4
4
  import StreamsVideoEncodingTask from './StreamsVideoEncodingTask';
5
5
  import StreamsVideoStatus from './StreamsVideoStatus';
6
6
  /**
@@ -45,10 +45,10 @@ export declare class StreamsVideoResponse {
45
45
  */
46
46
  status?: StreamsVideoStatus;
47
47
  /**
48
- * @type {StreamsConfigResponse}
48
+ * @type {StreamsStyleConfigResponse}
49
49
  * @memberof StreamsVideoResponse
50
50
  */
51
- config?: StreamsConfigResponse;
51
+ styleConfig?: StreamsStyleConfigResponse;
52
52
  /**
53
53
  * List of encoding status information
54
54
  * @type {StreamsVideoEncodingTask[]}
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StreamsVideoResponse = void 0;
4
4
  var Mapper_1 = require("../common/Mapper");
5
5
  var StreamsAdConfigResponse_1 = require("./StreamsAdConfigResponse");
6
- var StreamsConfigResponse_1 = require("./StreamsConfigResponse");
7
6
  var StreamsContentProtectionResponse_1 = require("./StreamsContentProtectionResponse");
7
+ var StreamsStyleConfigResponse_1 = require("./StreamsStyleConfigResponse");
8
8
  var StreamsVideoEncodingTask_1 = require("./StreamsVideoEncodingTask");
9
9
  /**
10
10
  * @export
@@ -21,7 +21,7 @@ var StreamsVideoResponse = /** @class */ (function () {
21
21
  this.description = (0, Mapper_1.map)(obj.description);
22
22
  this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
23
23
  this.status = (0, Mapper_1.map)(obj.status);
24
- this.config = (0, Mapper_1.map)(obj.config, StreamsConfigResponse_1.default);
24
+ this.styleConfig = (0, Mapper_1.map)(obj.styleConfig, StreamsStyleConfigResponse_1.default);
25
25
  this.encodingTasks = (0, Mapper_1.mapArray)(obj.encodingTasks, StreamsVideoEncodingTask_1.default);
26
26
  this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
27
27
  this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
@@ -23,11 +23,11 @@ export declare class StreamsVideoUpdateRequest {
23
23
  */
24
24
  description?: string;
25
25
  /**
26
- * Id of the stream config to use
26
+ * Id of the style config to use
27
27
  * @type {string}
28
28
  * @memberof StreamsVideoUpdateRequest
29
29
  */
30
- configId?: string;
30
+ styleConfigId?: string;
31
31
  /**
32
32
  * URL to hosted poster image
33
33
  * @type {string}
@@ -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;
@@ -14,9 +14,10 @@ var StreamsVideoUpdateRequest = /** @class */ (function () {
14
14
  this.status = (0, Mapper_1.map)(obj.status);
15
15
  this.title = (0, Mapper_1.map)(obj.title);
16
16
  this.description = (0, Mapper_1.map)(obj.description);
17
- this.configId = (0, Mapper_1.map)(obj.configId);
17
+ this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
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,13 +700,13 @@ export * from './StreamPerTitleSettings';
699
700
  export * from './StreamSelectionMode';
700
701
  export * from './StreamsAdConfigAd';
701
702
  export * from './StreamsAdConfigResponse';
702
- export * from './StreamsConfigPlayerStyle';
703
- export * from './StreamsConfigResponse';
704
703
  export * from './StreamsContentProtectionResponse';
705
704
  export * from './StreamsLiveCreateRequest';
706
705
  export * from './StreamsLiveLifeCycle';
707
706
  export * from './StreamsLiveResponse';
708
707
  export * from './StreamsLiveUpdateRequest';
708
+ export * from './StreamsStyleConfigPlayerStyle';
709
+ export * from './StreamsStyleConfigResponse';
709
710
  export * from './StreamsVideoCreateRequest';
710
711
  export * from './StreamsVideoEncodingStatus';
711
712
  export * from './StreamsVideoEncodingTask';
@@ -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,13 +716,13 @@ __exportStar(require("./StreamPerTitleSettings"), exports);
715
716
  __exportStar(require("./StreamSelectionMode"), exports);
716
717
  __exportStar(require("./StreamsAdConfigAd"), exports);
717
718
  __exportStar(require("./StreamsAdConfigResponse"), exports);
718
- __exportStar(require("./StreamsConfigPlayerStyle"), exports);
719
- __exportStar(require("./StreamsConfigResponse"), exports);
720
719
  __exportStar(require("./StreamsContentProtectionResponse"), exports);
721
720
  __exportStar(require("./StreamsLiveCreateRequest"), exports);
722
721
  __exportStar(require("./StreamsLiveLifeCycle"), exports);
723
722
  __exportStar(require("./StreamsLiveResponse"), exports);
724
723
  __exportStar(require("./StreamsLiveUpdateRequest"), exports);
724
+ __exportStar(require("./StreamsStyleConfigPlayerStyle"), exports);
725
+ __exportStar(require("./StreamsStyleConfigResponse"), exports);
725
726
  __exportStar(require("./StreamsVideoCreateRequest"), exports);
726
727
  __exportStar(require("./StreamsVideoEncodingStatus"), exports);
727
728
  __exportStar(require("./StreamsVideoEncodingTask"), 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
  */