@bitmovin/api-sdk 1.161.0 → 1.163.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 (51) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +582 -36
  3. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  4. package/dist/common/RestClient.js +1 -1
  5. package/dist/encoding/EncodingApi.d.ts +2 -0
  6. package/dist/encoding/EncodingApi.js +2 -0
  7. package/dist/encoding/encodings/EncodingListQueryParams.d.ts +11 -0
  8. package/dist/encoding/encodings/EncodingListQueryParams.js +8 -0
  9. package/dist/encoding/history/HistoryApi.d.ts +13 -0
  10. package/dist/encoding/history/HistoryApi.js +35 -0
  11. package/dist/encoding/history/encodings/EncodingListQueryParams.d.ts +217 -0
  12. package/dist/encoding/history/encodings/EncodingListQueryParams.js +165 -0
  13. package/dist/encoding/history/encodings/EncodingsApi.d.ts +29 -0
  14. package/dist/encoding/history/encodings/EncodingsApi.js +69 -0
  15. package/dist/encoding/manifests/dash/DashApi.d.ts +14 -7
  16. package/dist/encoding/manifests/dash/DashApi.js +22 -7
  17. package/dist/encoding/manifests/dash/default/DefaultApi.d.ts +2 -2
  18. package/dist/encoding/manifests/dash/default/DefaultApi.js +2 -2
  19. package/dist/encoding/manifests/hls/HlsApi.d.ts +14 -7
  20. package/dist/encoding/manifests/hls/HlsApi.js +22 -7
  21. package/dist/encoding/manifests/hls/default/DefaultApi.d.ts +2 -2
  22. package/dist/encoding/manifests/hls/default/DefaultApi.js +2 -2
  23. package/dist/encoding/manifests/smooth/SmoothApi.d.ts +13 -6
  24. package/dist/encoding/manifests/smooth/SmoothApi.js +21 -6
  25. package/dist/encoding/manifests/smooth/default/DefaultApi.d.ts +2 -2
  26. package/dist/encoding/manifests/smooth/default/DefaultApi.js +2 -2
  27. package/dist/models/DashManifestDefault.d.ts +3 -4
  28. package/dist/models/DashManifestDefault.js +0 -1
  29. package/dist/models/H265VideoConfiguration.d.ts +2 -2
  30. package/dist/models/HistoryEncoding.d.ts +85 -0
  31. package/dist/models/HistoryEncoding.js +42 -0
  32. package/dist/models/HistoryMuxing.d.ts +69 -0
  33. package/dist/models/HistoryMuxing.js +38 -0
  34. package/dist/models/HistoryStream.d.ts +85 -0
  35. package/dist/models/HistoryStream.js +40 -0
  36. package/dist/models/HlsManifestDefault.d.ts +1 -1
  37. package/dist/models/Scheduling.d.ts +1 -1
  38. package/dist/models/SimpleEncodingVodJobOptions.d.ts +14 -0
  39. package/dist/models/SimpleEncodingVodJobOptions.js +19 -0
  40. package/dist/models/SimpleEncodingVodJobRequest.d.ts +7 -0
  41. package/dist/models/SimpleEncodingVodJobRequest.js +2 -0
  42. package/dist/models/SimpleEncodingVodJobResponse.d.ts +7 -0
  43. package/dist/models/SimpleEncodingVodJobResponse.js +2 -0
  44. package/dist/models/SmoothManifestDefault.d.ts +1 -1
  45. package/dist/models/SmoothStreamingRepresentation.d.ts +1 -1
  46. package/dist/models/StartManifestRequest.d.ts +1 -1
  47. package/dist/models/index.d.ts +4 -0
  48. package/dist/models/index.js +4 -0
  49. package/dist/streams/live/LiveApi.d.ts +2 -2
  50. package/dist/streams/live/LiveApi.js +2 -3
  51. package/package.json +1 -1
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HistoryEncoding = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ var ConvertSccCaption_1 = require("./ConvertSccCaption");
6
+ var Encoding_1 = require("./Encoding");
7
+ var HistoryMuxing_1 = require("./HistoryMuxing");
8
+ var HistoryStream_1 = require("./HistoryStream");
9
+ var Keyframe_1 = require("./Keyframe");
10
+ var LiveEncoding_1 = require("./LiveEncoding");
11
+ var SidecarFile_1 = require("./SidecarFile");
12
+ var StartEncodingRequest_1 = require("./StartEncodingRequest");
13
+ var StartLiveEncodingRequest_1 = require("./StartLiveEncodingRequest");
14
+ var StreamInput_1 = require("./StreamInput");
15
+ var Task_1 = require("./Task");
16
+ var TransferRetry_1 = require("./TransferRetry");
17
+ /**
18
+ * @export
19
+ * @class HistoryEncoding
20
+ */
21
+ var HistoryEncoding = /** @class */ (function () {
22
+ function HistoryEncoding(obj) {
23
+ if (!obj) {
24
+ return;
25
+ }
26
+ this.encoding = (0, Mapper_1.map)(obj.encoding, Encoding_1.default);
27
+ this.live = (0, Mapper_1.map)(obj.live, LiveEncoding_1.default);
28
+ this.vodStartReqeust = (0, Mapper_1.map)(obj.vodStartReqeust, StartEncodingRequest_1.default);
29
+ this.liveStartReqeust = (0, Mapper_1.map)(obj.liveStartReqeust, StartLiveEncodingRequest_1.default);
30
+ this.status = (0, Mapper_1.map)(obj.status, Task_1.default);
31
+ this.inputStreams = (0, Mapper_1.mapArray)(obj.inputStreams, StreamInput_1.default);
32
+ this.streams = (0, Mapper_1.mapArray)(obj.streams, HistoryStream_1.default);
33
+ this.muxings = (0, Mapper_1.mapArray)(obj.muxings, HistoryMuxing_1.default);
34
+ this.keyFrames = (0, Mapper_1.mapArray)(obj.keyFrames, Keyframe_1.default);
35
+ this.sidecarFiles = (0, Mapper_1.mapArray)(obj.sidecarFiles, SidecarFile_1.default);
36
+ this.transferRetries = (0, Mapper_1.mapArray)(obj.transferRetries, TransferRetry_1.default);
37
+ this.convertSccCaptions = (0, Mapper_1.mapArray)(obj.convertSccCaptions, ConvertSccCaption_1.default);
38
+ }
39
+ return HistoryEncoding;
40
+ }());
41
+ exports.HistoryEncoding = HistoryEncoding;
42
+ exports.default = HistoryEncoding;
@@ -0,0 +1,69 @@
1
+ import BroadcastTsMuxingInformation from './BroadcastTsMuxingInformation';
2
+ import Drm from './Drm';
3
+ import Fmp4MuxingInformation from './Fmp4MuxingInformation';
4
+ import Mp3MuxingInformation from './Mp3MuxingInformation';
5
+ import Mp4MuxingInformation from './Mp4MuxingInformation';
6
+ import Muxing from './Muxing';
7
+ import PackedAudioMuxingInformation from './PackedAudioMuxingInformation';
8
+ import ProgressiveMovMuxingInformation from './ProgressiveMovMuxingInformation';
9
+ import ProgressiveTsMuxingInformation from './ProgressiveTsMuxingInformation';
10
+ import ProgressiveWebmMuxingInformation from './ProgressiveWebmMuxingInformation';
11
+ /**
12
+ * @export
13
+ * @class HistoryMuxing
14
+ */
15
+ export declare class HistoryMuxing {
16
+ /**
17
+ * Muxing
18
+ * @type {Muxing}
19
+ * @memberof HistoryMuxing
20
+ */
21
+ muxing?: Muxing;
22
+ /**
23
+ * @type {Drm[]}
24
+ * @memberof HistoryMuxing
25
+ */
26
+ drms?: Drm[];
27
+ /**
28
+ * @type {BroadcastTsMuxingInformation}
29
+ * @memberof HistoryMuxing
30
+ */
31
+ broadcastTsMuxingInformation?: BroadcastTsMuxingInformation;
32
+ /**
33
+ * @type {Fmp4MuxingInformation}
34
+ * @memberof HistoryMuxing
35
+ */
36
+ fmp4MuxingInformation?: Fmp4MuxingInformation;
37
+ /**
38
+ * @type {Mp3MuxingInformation}
39
+ * @memberof HistoryMuxing
40
+ */
41
+ mp3MuxingInformation?: Mp3MuxingInformation;
42
+ /**
43
+ * @type {Mp4MuxingInformation}
44
+ * @memberof HistoryMuxing
45
+ */
46
+ mp4MuxingInformation?: Mp4MuxingInformation;
47
+ /**
48
+ * @type {PackedAudioMuxingInformation}
49
+ * @memberof HistoryMuxing
50
+ */
51
+ packedAudioMuxingInformation?: PackedAudioMuxingInformation;
52
+ /**
53
+ * @type {ProgressiveMovMuxingInformation}
54
+ * @memberof HistoryMuxing
55
+ */
56
+ progressiveMovMuxingInformation?: ProgressiveMovMuxingInformation;
57
+ /**
58
+ * @type {ProgressiveTsMuxingInformation}
59
+ * @memberof HistoryMuxing
60
+ */
61
+ progressiveTsMuxingInformation?: ProgressiveTsMuxingInformation;
62
+ /**
63
+ * @type {ProgressiveWebmMuxingInformation}
64
+ * @memberof HistoryMuxing
65
+ */
66
+ progressiveWebmMuxingInformation?: ProgressiveWebmMuxingInformation;
67
+ constructor(obj?: Partial<HistoryMuxing>);
68
+ }
69
+ export default HistoryMuxing;
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HistoryMuxing = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ var BroadcastTsMuxingInformation_1 = require("./BroadcastTsMuxingInformation");
6
+ var Drm_1 = require("./Drm");
7
+ var Fmp4MuxingInformation_1 = require("./Fmp4MuxingInformation");
8
+ var Mp3MuxingInformation_1 = require("./Mp3MuxingInformation");
9
+ var Mp4MuxingInformation_1 = require("./Mp4MuxingInformation");
10
+ var Muxing_1 = require("./Muxing");
11
+ var PackedAudioMuxingInformation_1 = require("./PackedAudioMuxingInformation");
12
+ var ProgressiveMovMuxingInformation_1 = require("./ProgressiveMovMuxingInformation");
13
+ var ProgressiveTsMuxingInformation_1 = require("./ProgressiveTsMuxingInformation");
14
+ var ProgressiveWebmMuxingInformation_1 = require("./ProgressiveWebmMuxingInformation");
15
+ /**
16
+ * @export
17
+ * @class HistoryMuxing
18
+ */
19
+ var HistoryMuxing = /** @class */ (function () {
20
+ function HistoryMuxing(obj) {
21
+ if (!obj) {
22
+ return;
23
+ }
24
+ this.muxing = (0, Mapper_1.map)(obj.muxing, Muxing_1.default);
25
+ this.drms = (0, Mapper_1.mapArray)(obj.drms, Drm_1.default);
26
+ this.broadcastTsMuxingInformation = (0, Mapper_1.map)(obj.broadcastTsMuxingInformation, BroadcastTsMuxingInformation_1.default);
27
+ this.fmp4MuxingInformation = (0, Mapper_1.map)(obj.fmp4MuxingInformation, Fmp4MuxingInformation_1.default);
28
+ this.mp3MuxingInformation = (0, Mapper_1.map)(obj.mp3MuxingInformation, Mp3MuxingInformation_1.default);
29
+ this.mp4MuxingInformation = (0, Mapper_1.map)(obj.mp4MuxingInformation, Mp4MuxingInformation_1.default);
30
+ this.packedAudioMuxingInformation = (0, Mapper_1.map)(obj.packedAudioMuxingInformation, PackedAudioMuxingInformation_1.default);
31
+ this.progressiveMovMuxingInformation = (0, Mapper_1.map)(obj.progressiveMovMuxingInformation, ProgressiveMovMuxingInformation_1.default);
32
+ this.progressiveTsMuxingInformation = (0, Mapper_1.map)(obj.progressiveTsMuxingInformation, ProgressiveTsMuxingInformation_1.default);
33
+ this.progressiveWebmMuxingInformation = (0, Mapper_1.map)(obj.progressiveWebmMuxingInformation, ProgressiveWebmMuxingInformation_1.default);
34
+ }
35
+ return HistoryMuxing;
36
+ }());
37
+ exports.HistoryMuxing = HistoryMuxing;
38
+ exports.default = HistoryMuxing;
@@ -0,0 +1,85 @@
1
+ import Bif from './Bif';
2
+ import BurnInSubtitleDvbSub from './BurnInSubtitleDvbSub';
3
+ import BurnInSubtitleSrt from './BurnInSubtitleSrt';
4
+ import DolbyVisionMetadata from './DolbyVisionMetadata';
5
+ import NexGuardFileMarker from './NexGuardFileMarker';
6
+ import PsnrQualityMetric from './PsnrQualityMetric';
7
+ import SccCaption from './SccCaption';
8
+ import Sprite from './Sprite';
9
+ import Stream from './Stream';
10
+ import StreamFilter from './StreamFilter';
11
+ import Thumbnail from './Thumbnail';
12
+ /**
13
+ * @export
14
+ * @class HistoryStream
15
+ */
16
+ export declare class HistoryStream {
17
+ /**
18
+ * Stream
19
+ * @type {Stream}
20
+ * @memberof HistoryStream
21
+ */
22
+ stream?: Stream;
23
+ /**
24
+ * List of stream filter configurations
25
+ * @type {StreamFilter[]}
26
+ * @memberof HistoryStream
27
+ */
28
+ filters?: StreamFilter[];
29
+ /**
30
+ * List of Burn-In DVB-SUB subtitles
31
+ * @type {BurnInSubtitleDvbSub[]}
32
+ * @memberof HistoryStream
33
+ */
34
+ burnInSubtitleDvbSubs?: BurnInSubtitleDvbSub[];
35
+ /**
36
+ * List of burn-in SRT configurations
37
+ * @type {BurnInSubtitleSrt[]}
38
+ * @memberof HistoryStream
39
+ */
40
+ burnInSubtitleSrtSubs?: BurnInSubtitleSrt[];
41
+ /**
42
+ * Nexguard file marker watermarking configuration
43
+ * @type {NexGuardFileMarker}
44
+ * @memberof HistoryStream
45
+ */
46
+ nexGuardFileMarker?: NexGuardFileMarker;
47
+ /**
48
+ * List of caption configurations
49
+ * @type {SccCaption[]}
50
+ * @memberof HistoryStream
51
+ */
52
+ sccCaptions?: SccCaption[];
53
+ /**
54
+ * List of bif configurations
55
+ * @type {Bif[]}
56
+ * @memberof HistoryStream
57
+ */
58
+ bifs?: Bif[];
59
+ /**
60
+ * List of Dolby Vision Metadata configurations
61
+ * @type {DolbyVisionMetadata[]}
62
+ * @memberof HistoryStream
63
+ */
64
+ dolbyVisionMetadata?: DolbyVisionMetadata[];
65
+ /**
66
+ * List of Thumbnail configurations
67
+ * @type {Thumbnail[]}
68
+ * @memberof HistoryStream
69
+ */
70
+ thumbnails?: Thumbnail[];
71
+ /**
72
+ * List of Sprite configurations
73
+ * @type {Sprite[]}
74
+ * @memberof HistoryStream
75
+ */
76
+ sprites?: Sprite[];
77
+ /**
78
+ * List of PSNR quality metrics
79
+ * @type {PsnrQualityMetric[]}
80
+ * @memberof HistoryStream
81
+ */
82
+ psnrMetrics?: PsnrQualityMetric[];
83
+ constructor(obj?: Partial<HistoryStream>);
84
+ }
85
+ export default HistoryStream;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HistoryStream = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ var Bif_1 = require("./Bif");
6
+ var BurnInSubtitleDvbSub_1 = require("./BurnInSubtitleDvbSub");
7
+ var BurnInSubtitleSrt_1 = require("./BurnInSubtitleSrt");
8
+ var DolbyVisionMetadata_1 = require("./DolbyVisionMetadata");
9
+ var NexGuardFileMarker_1 = require("./NexGuardFileMarker");
10
+ var PsnrQualityMetric_1 = require("./PsnrQualityMetric");
11
+ var SccCaption_1 = require("./SccCaption");
12
+ var Sprite_1 = require("./Sprite");
13
+ var Stream_1 = require("./Stream");
14
+ var StreamFilter_1 = require("./StreamFilter");
15
+ var Thumbnail_1 = require("./Thumbnail");
16
+ /**
17
+ * @export
18
+ * @class HistoryStream
19
+ */
20
+ var HistoryStream = /** @class */ (function () {
21
+ function HistoryStream(obj) {
22
+ if (!obj) {
23
+ return;
24
+ }
25
+ this.stream = (0, Mapper_1.map)(obj.stream, Stream_1.default);
26
+ this.filters = (0, Mapper_1.mapArray)(obj.filters, StreamFilter_1.default);
27
+ this.burnInSubtitleDvbSubs = (0, Mapper_1.mapArray)(obj.burnInSubtitleDvbSubs, BurnInSubtitleDvbSub_1.default);
28
+ this.burnInSubtitleSrtSubs = (0, Mapper_1.mapArray)(obj.burnInSubtitleSrtSubs, BurnInSubtitleSrt_1.default);
29
+ this.nexGuardFileMarker = (0, Mapper_1.map)(obj.nexGuardFileMarker, NexGuardFileMarker_1.default);
30
+ this.sccCaptions = (0, Mapper_1.mapArray)(obj.sccCaptions, SccCaption_1.default);
31
+ this.bifs = (0, Mapper_1.mapArray)(obj.bifs, Bif_1.default);
32
+ this.dolbyVisionMetadata = (0, Mapper_1.mapArray)(obj.dolbyVisionMetadata, DolbyVisionMetadata_1.default);
33
+ this.thumbnails = (0, Mapper_1.mapArray)(obj.thumbnails, Thumbnail_1.default);
34
+ this.sprites = (0, Mapper_1.mapArray)(obj.sprites, Sprite_1.default);
35
+ this.psnrMetrics = (0, Mapper_1.mapArray)(obj.psnrMetrics, PsnrQualityMetric_1.default);
36
+ }
37
+ return HistoryStream;
38
+ }());
39
+ exports.HistoryStream = HistoryStream;
40
+ exports.default = HistoryStream;
@@ -12,7 +12,7 @@ export declare class HlsManifestDefault extends HlsManifest {
12
12
  */
13
13
  encodingId?: string;
14
14
  /**
15
- * The version of the default manifest generator
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.
16
16
  * @type {HlsManifestDefaultVersion}
17
17
  * @memberof HlsManifestDefault
18
18
  */
@@ -4,7 +4,7 @@
4
4
  */
5
5
  export declare class Scheduling {
6
6
  /**
7
- * Specify the priority of this encoding (0 - 100). Higher numbers mean higher priority. Default is 50.
7
+ * Specifies the priority of this encoding (0 - 100). Higher numbers mean higher priority. Default is 50.
8
8
  * @type {number}
9
9
  * @memberof Scheduling
10
10
  */
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @export
3
+ * @class SimpleEncodingVodJobOptions
4
+ */
5
+ export declare class SimpleEncodingVodJobOptions {
6
+ /**
7
+ * Defines if the job should additionally produce a single file as output (e.g., an MP4) for every rendition the Per-Title algorithm produces. This can be useful to provide customers with features such as downloading of videos for different screen sizes. The single file contains both audio and video streams along the segmented output. Note that currently we do not include subtitles in this file.
8
+ * @type {boolean}
9
+ * @memberof SimpleEncodingVodJobOptions
10
+ */
11
+ singleFileOutput?: boolean;
12
+ constructor(obj?: Partial<SimpleEncodingVodJobOptions>);
13
+ }
14
+ export default SimpleEncodingVodJobOptions;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SimpleEncodingVodJobOptions = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class SimpleEncodingVodJobOptions
8
+ */
9
+ var SimpleEncodingVodJobOptions = /** @class */ (function () {
10
+ function SimpleEncodingVodJobOptions(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.singleFileOutput = (0, Mapper_1.map)(obj.singleFileOutput);
15
+ }
16
+ return SimpleEncodingVodJobOptions;
17
+ }());
18
+ exports.SimpleEncodingVodJobOptions = SimpleEncodingVodJobOptions;
19
+ exports.default = SimpleEncodingVodJobOptions;
@@ -1,5 +1,6 @@
1
1
  import EncodingTemplate from './EncodingTemplate';
2
2
  import SimpleEncodingVodJobInput from './SimpleEncodingVodJobInput';
3
+ import SimpleEncodingVodJobOptions from './SimpleEncodingVodJobOptions';
3
4
  import SimpleEncodingVodJobOutput from './SimpleEncodingVodJobOutput';
4
5
  /**
5
6
  * @export
@@ -24,6 +25,12 @@ export declare class SimpleEncodingVodJobRequest {
24
25
  * @memberof SimpleEncodingVodJobRequest
25
26
  */
26
27
  outputs?: SimpleEncodingVodJobOutput[];
28
+ /**
29
+ * Options to customize the Simple Encoding Job
30
+ * @type {SimpleEncodingVodJobOptions}
31
+ * @memberof SimpleEncodingVodJobRequest
32
+ */
33
+ options?: SimpleEncodingVodJobOptions;
27
34
  /**
28
35
  * This property will be used for naming the encoding and the manifests.
29
36
  * @type {string}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SimpleEncodingVodJobRequest = void 0;
4
4
  var Mapper_1 = require("../common/Mapper");
5
5
  var SimpleEncodingVodJobInput_1 = require("./SimpleEncodingVodJobInput");
6
+ var SimpleEncodingVodJobOptions_1 = require("./SimpleEncodingVodJobOptions");
6
7
  var SimpleEncodingVodJobOutput_1 = require("./SimpleEncodingVodJobOutput");
7
8
  /**
8
9
  * @export
@@ -16,6 +17,7 @@ var SimpleEncodingVodJobRequest = /** @class */ (function () {
16
17
  this.encodingTemplate = (0, Mapper_1.map)(obj.encodingTemplate);
17
18
  this.inputs = (0, Mapper_1.mapArray)(obj.inputs, SimpleEncodingVodJobInput_1.default);
18
19
  this.outputs = (0, Mapper_1.mapArray)(obj.outputs, SimpleEncodingVodJobOutput_1.default);
20
+ this.options = (0, Mapper_1.map)(obj.options, SimpleEncodingVodJobOptions_1.default);
19
21
  this.name = (0, Mapper_1.map)(obj.name);
20
22
  }
21
23
  return SimpleEncodingVodJobRequest;
@@ -1,6 +1,7 @@
1
1
  import EncodingTemplate from './EncodingTemplate';
2
2
  import SimpleEncodingVodJobErrors from './SimpleEncodingVodJobErrors';
3
3
  import SimpleEncodingVodJobInput from './SimpleEncodingVodJobInput';
4
+ import SimpleEncodingVodJobOptions from './SimpleEncodingVodJobOptions';
4
5
  import SimpleEncodingVodJobOutput from './SimpleEncodingVodJobOutput';
5
6
  import SimpleEncodingVodJobStatus from './SimpleEncodingVodJobStatus';
6
7
  /**
@@ -42,6 +43,12 @@ export declare class SimpleEncodingVodJobResponse {
42
43
  * @memberof SimpleEncodingVodJobResponse
43
44
  */
44
45
  outputs?: SimpleEncodingVodJobOutput[];
46
+ /**
47
+ * Options to customize the Simple Encoding Job
48
+ * @type {SimpleEncodingVodJobOptions}
49
+ * @memberof SimpleEncodingVodJobResponse
50
+ */
51
+ options?: SimpleEncodingVodJobOptions;
45
52
  /**
46
53
  * Describes all the errors in cases the status of the job is 'error'.
47
54
  * @type {SimpleEncodingVodJobErrors[]}
@@ -4,6 +4,7 @@ exports.SimpleEncodingVodJobResponse = void 0;
4
4
  var Mapper_1 = require("../common/Mapper");
5
5
  var SimpleEncodingVodJobErrors_1 = require("./SimpleEncodingVodJobErrors");
6
6
  var SimpleEncodingVodJobInput_1 = require("./SimpleEncodingVodJobInput");
7
+ var SimpleEncodingVodJobOptions_1 = require("./SimpleEncodingVodJobOptions");
7
8
  var SimpleEncodingVodJobOutput_1 = require("./SimpleEncodingVodJobOutput");
8
9
  /**
9
10
  * @export
@@ -20,6 +21,7 @@ var SimpleEncodingVodJobResponse = /** @class */ (function () {
20
21
  this.encodingId = (0, Mapper_1.map)(obj.encodingId);
21
22
  this.inputs = (0, Mapper_1.mapArray)(obj.inputs, SimpleEncodingVodJobInput_1.default);
22
23
  this.outputs = (0, Mapper_1.mapArray)(obj.outputs, SimpleEncodingVodJobOutput_1.default);
24
+ this.options = (0, Mapper_1.map)(obj.options, SimpleEncodingVodJobOptions_1.default);
23
25
  this.errors = (0, Mapper_1.mapArray)(obj.errors, SimpleEncodingVodJobErrors_1.default);
24
26
  this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
25
27
  this.modifiedAt = (0, Mapper_1.map)(obj.modifiedAt, Date);
@@ -12,7 +12,7 @@ export declare class SmoothManifestDefault extends SmoothStreamingManifest {
12
12
  */
13
13
  encodingId?: string;
14
14
  /**
15
- * The version of the default manifest generator
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.
16
16
  * @type {SmoothManifestDefaultVersion}
17
17
  * @memberof SmoothManifestDefault
18
18
  */
@@ -35,7 +35,7 @@ export declare class SmoothStreamingRepresentation extends BitmovinResource {
35
35
  */
36
36
  trackName?: string;
37
37
  /**
38
- * Specify the priority of this representation. Representations with higher priority will be listed first in the manifest.
38
+ * Specifies the priority of this representation. In the manifest, representations will appear ordered by descending priority values.
39
39
  * @type {number}
40
40
  * @memberof SmoothStreamingRepresentation
41
41
  */
@@ -5,7 +5,7 @@ import ManifestGenerator from './ManifestGenerator';
5
5
  */
6
6
  export declare class StartManifestRequest {
7
7
  /**
8
- * Version of the manifest generation engine to be used. The `V2` option is currently only supported for manifests including resources from a single encoding and is only valid in combination with encoder versions >= `2.108.0`.
8
+ * Major version of the manifest generator to be used. `V2` is the recommended option and requires the following minimum encoder versions: 2.121.0 for DASH, 2.111.0 for HLS, 2.108.0 for SMOOTH. The default value depends on the sign-up date of your organization.
9
9
  * @type {ManifestGenerator}
10
10
  * @memberof StartManifestRequest
11
11
  */
@@ -402,6 +402,9 @@ export * from './HeAacV1AudioConfiguration';
402
402
  export * from './HeAacV1Signaling';
403
403
  export * from './HeAacV2AudioConfiguration';
404
404
  export * from './HeAacV2Signaling';
405
+ export * from './HistoryEncoding';
406
+ export * from './HistoryMuxing';
407
+ export * from './HistoryStream';
405
408
  export * from './HlsManifest';
406
409
  export * from './HlsManifestDefault';
407
410
  export * from './HlsManifestDefaultVersion';
@@ -634,6 +637,7 @@ export * from './SimpleEncodingVodJobGcsServiceAccountCredentials';
634
637
  export * from './SimpleEncodingVodJobInput';
635
638
  export * from './SimpleEncodingVodJobInputSourceType';
636
639
  export * from './SimpleEncodingVodJobInputType';
640
+ export * from './SimpleEncodingVodJobOptions';
637
641
  export * from './SimpleEncodingVodJobOutput';
638
642
  export * from './SimpleEncodingVodJobOutputArtifact';
639
643
  export * from './SimpleEncodingVodJobOutputType';
@@ -418,6 +418,9 @@ __exportStar(require("./HeAacV1AudioConfiguration"), exports);
418
418
  __exportStar(require("./HeAacV1Signaling"), exports);
419
419
  __exportStar(require("./HeAacV2AudioConfiguration"), exports);
420
420
  __exportStar(require("./HeAacV2Signaling"), exports);
421
+ __exportStar(require("./HistoryEncoding"), exports);
422
+ __exportStar(require("./HistoryMuxing"), exports);
423
+ __exportStar(require("./HistoryStream"), exports);
421
424
  __exportStar(require("./HlsManifest"), exports);
422
425
  __exportStar(require("./HlsManifestDefault"), exports);
423
426
  __exportStar(require("./HlsManifestDefaultVersion"), exports);
@@ -650,6 +653,7 @@ __exportStar(require("./SimpleEncodingVodJobGcsServiceAccountCredentials"), expo
650
653
  __exportStar(require("./SimpleEncodingVodJobInput"), exports);
651
654
  __exportStar(require("./SimpleEncodingVodJobInputSourceType"), exports);
652
655
  __exportStar(require("./SimpleEncodingVodJobInputType"), exports);
656
+ __exportStar(require("./SimpleEncodingVodJobOptions"), exports);
653
657
  __exportStar(require("./SimpleEncodingVodJobOutput"), exports);
654
658
  __exportStar(require("./SimpleEncodingVodJobOutputArtifact"), exports);
655
659
  __exportStar(require("./SimpleEncodingVodJobOutputType"), exports);
@@ -45,7 +45,7 @@ export default class LiveApi extends BaseAPI {
45
45
  * @throws {BitmovinError}
46
46
  * @memberof LiveApi
47
47
  */
48
- patchStreamsLive(streamId: string, streamsLiveUpdateRequest?: StreamsLiveUpdateRequest): Promise<StreamsLiveUpdateRequest>;
48
+ patchStreamsLive(streamId: string, streamsLiveUpdateRequest?: StreamsLiveUpdateRequest): Promise<StreamsLiveResponse>;
49
49
  /**
50
50
  * @summary Update live stream by id
51
51
  * @param {string} streamId Id of the stream.
@@ -53,5 +53,5 @@ export default class LiveApi extends BaseAPI {
53
53
  * @throws {BitmovinError}
54
54
  * @memberof LiveApi
55
55
  */
56
- update(streamId: string, streamsLiveUpdateRequest?: StreamsLiveUpdateRequest): Promise<StreamsLiveUpdateRequest>;
56
+ update(streamId: string, streamsLiveUpdateRequest?: StreamsLiveUpdateRequest): Promise<StreamsLiveResponse>;
57
57
  }
@@ -20,7 +20,6 @@ var Mapper_1 = require("../../common/Mapper");
20
20
  var StopApi_1 = require("./stop/StopApi");
21
21
  var StartApi_1 = require("./start/StartApi");
22
22
  var StreamsLiveResponse_1 = require("../../models/StreamsLiveResponse");
23
- var StreamsLiveUpdateRequest_1 = require("../../models/StreamsLiveUpdateRequest");
24
23
  var PaginationResponse_1 = require("../../models/PaginationResponse");
25
24
  var StreamsLiveResponseListQueryParams_1 = require("./StreamsLiveResponseListQueryParams");
26
25
  /**
@@ -92,7 +91,7 @@ var LiveApi = /** @class */ (function (_super) {
92
91
  stream_id: streamId
93
92
  };
94
93
  return this.restClient.patch('/streams/live/{stream_id}', pathParamMap, streamsLiveUpdateRequest).then(function (response) {
95
- return (0, Mapper_1.map)(response, StreamsLiveUpdateRequest_1.default);
94
+ return (0, Mapper_1.map)(response, StreamsLiveResponse_1.default);
96
95
  });
97
96
  };
98
97
  /**
@@ -107,7 +106,7 @@ var LiveApi = /** @class */ (function (_super) {
107
106
  stream_id: streamId
108
107
  };
109
108
  return this.restClient.put('/streams/live/{stream_id}', pathParamMap, streamsLiveUpdateRequest).then(function (response) {
110
- return (0, Mapper_1.map)(response, StreamsLiveUpdateRequest_1.default);
109
+ return (0, Mapper_1.map)(response, StreamsLiveResponse_1.default);
111
110
  });
112
111
  };
113
112
  return LiveApi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.161.0",
3
+ "version": "1.163.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [