@bitmovin/api-sdk 1.162.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 (35) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +115 -28
  3. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  4. package/dist/common/RestClient.js +1 -1
  5. package/dist/encoding/history/encodings/EncodingListQueryParams.d.ts +11 -0
  6. package/dist/encoding/history/encodings/EncodingListQueryParams.js +8 -0
  7. package/dist/encoding/manifests/dash/DashApi.d.ts +14 -7
  8. package/dist/encoding/manifests/dash/DashApi.js +22 -7
  9. package/dist/encoding/manifests/dash/default/DefaultApi.d.ts +2 -2
  10. package/dist/encoding/manifests/dash/default/DefaultApi.js +2 -2
  11. package/dist/encoding/manifests/hls/HlsApi.d.ts +14 -7
  12. package/dist/encoding/manifests/hls/HlsApi.js +22 -7
  13. package/dist/encoding/manifests/hls/default/DefaultApi.d.ts +2 -2
  14. package/dist/encoding/manifests/hls/default/DefaultApi.js +2 -2
  15. package/dist/encoding/manifests/smooth/SmoothApi.d.ts +13 -6
  16. package/dist/encoding/manifests/smooth/SmoothApi.js +21 -6
  17. package/dist/encoding/manifests/smooth/default/DefaultApi.d.ts +2 -2
  18. package/dist/encoding/manifests/smooth/default/DefaultApi.js +2 -2
  19. package/dist/models/DashManifestDefault.d.ts +3 -4
  20. package/dist/models/DashManifestDefault.js +0 -1
  21. package/dist/models/H265VideoConfiguration.d.ts +2 -2
  22. package/dist/models/HlsManifestDefault.d.ts +1 -1
  23. package/dist/models/Scheduling.d.ts +1 -1
  24. package/dist/models/SimpleEncodingVodJobOptions.d.ts +14 -0
  25. package/dist/models/SimpleEncodingVodJobOptions.js +19 -0
  26. package/dist/models/SimpleEncodingVodJobRequest.d.ts +7 -0
  27. package/dist/models/SimpleEncodingVodJobRequest.js +2 -0
  28. package/dist/models/SimpleEncodingVodJobResponse.d.ts +7 -0
  29. package/dist/models/SimpleEncodingVodJobResponse.js +2 -0
  30. package/dist/models/SmoothManifestDefault.d.ts +1 -1
  31. package/dist/models/SmoothStreamingRepresentation.d.ts +1 -1
  32. package/dist/models/StartManifestRequest.d.ts +1 -1
  33. package/dist/models/index.d.ts +1 -0
  34. package/dist/models/index.js +1 -0
  35. package/package.json +1 -1
@@ -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
  */
@@ -637,6 +637,7 @@ export * from './SimpleEncodingVodJobGcsServiceAccountCredentials';
637
637
  export * from './SimpleEncodingVodJobInput';
638
638
  export * from './SimpleEncodingVodJobInputSourceType';
639
639
  export * from './SimpleEncodingVodJobInputType';
640
+ export * from './SimpleEncodingVodJobOptions';
640
641
  export * from './SimpleEncodingVodJobOutput';
641
642
  export * from './SimpleEncodingVodJobOutputArtifact';
642
643
  export * from './SimpleEncodingVodJobOutputType';
@@ -653,6 +653,7 @@ __exportStar(require("./SimpleEncodingVodJobGcsServiceAccountCredentials"), expo
653
653
  __exportStar(require("./SimpleEncodingVodJobInput"), exports);
654
654
  __exportStar(require("./SimpleEncodingVodJobInputSourceType"), exports);
655
655
  __exportStar(require("./SimpleEncodingVodJobInputType"), exports);
656
+ __exportStar(require("./SimpleEncodingVodJobOptions"), exports);
656
657
  __exportStar(require("./SimpleEncodingVodJobOutput"), exports);
657
658
  __exportStar(require("./SimpleEncodingVodJobOutputArtifact"), exports);
658
659
  __exportStar(require("./SimpleEncodingVodJobOutputType"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.162.0",
3
+ "version": "1.163.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [