@bitmovin/api-sdk 1.112.0 → 1.115.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 (46) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +8407 -10059
  3. package/dist/bitmovin-api-sdk.browser.js.map +1 -1
  4. package/dist/bitmovin-api-sdk.browser.min.js +2 -8
  5. package/dist/bitmovin-api-sdk.browser.min.js.LICENSE.txt +7 -0
  6. package/dist/common/RestClient.js +1 -1
  7. package/dist/encoding/simple/jobs/live/LiveApi.d.ts +1 -1
  8. package/dist/encoding/simple/jobs/live/LiveApi.js +1 -1
  9. package/dist/models/AnalyticsImpressionListItem.d.ts +1 -1
  10. package/dist/models/AnalyticsImpressionSample.d.ts +1 -1
  11. package/dist/models/DvbSubtitleInputStream.d.ts +4 -4
  12. package/dist/models/DvbTeletextInputStream.d.ts +4 -4
  13. package/dist/models/IngestInputStream.d.ts +4 -4
  14. package/dist/models/SimpleEncodingLiveJobCdnOutput.d.ts +16 -0
  15. package/dist/models/SimpleEncodingLiveJobCdnOutput.js +44 -0
  16. package/dist/models/SimpleEncodingLiveJobCdnOutput.js.map +1 -0
  17. package/dist/models/SimpleEncodingLiveJobInput.d.ts +0 -7
  18. package/dist/models/SimpleEncodingLiveJobInput.js +0 -1
  19. package/dist/models/SimpleEncodingLiveJobInput.js.map +1 -1
  20. package/dist/models/SimpleEncodingLiveJobOutput.d.ts +23 -0
  21. package/dist/models/SimpleEncodingLiveJobOutput.js +25 -0
  22. package/dist/models/SimpleEncodingLiveJobOutput.js.map +1 -0
  23. package/dist/models/SimpleEncodingLiveJobOutputType.d.ts +10 -0
  24. package/dist/models/SimpleEncodingLiveJobOutputType.js +15 -0
  25. package/dist/models/SimpleEncodingLiveJobOutputType.js.map +1 -0
  26. package/dist/models/SimpleEncodingLiveJobRequest.d.ts +4 -4
  27. package/dist/models/SimpleEncodingLiveJobRequest.js +2 -2
  28. package/dist/models/SimpleEncodingLiveJobRequest.js.map +1 -1
  29. package/dist/models/SimpleEncodingLiveJobResponse.d.ts +3 -3
  30. package/dist/models/SimpleEncodingLiveJobResponse.js +2 -2
  31. package/dist/models/SimpleEncodingLiveJobResponse.js.map +1 -1
  32. package/dist/models/SimpleEncodingLiveJobUrlOutput.d.ts +10 -9
  33. package/dist/models/SimpleEncodingLiveJobUrlOutput.js +32 -7
  34. package/dist/models/SimpleEncodingLiveJobUrlOutput.js.map +1 -1
  35. package/dist/models/SimpleEncodingVodJobCdnOutput.d.ts +7 -0
  36. package/dist/models/SimpleEncodingVodJobCdnOutput.js +2 -0
  37. package/dist/models/SimpleEncodingVodJobCdnOutput.js.map +1 -1
  38. package/dist/models/SimpleEncodingVodJobRequest.d.ts +1 -1
  39. package/dist/models/StreamInput.d.ts +5 -5
  40. package/dist/models/index.d.ts +3 -1
  41. package/dist/models/index.js +3 -1
  42. package/dist/models/index.js.map +1 -1
  43. package/package.json +5 -5
  44. package/dist/models/SimpleEncodingLiveInputAspectRatio.d.ts +0 -12
  45. package/dist/models/SimpleEncodingLiveInputAspectRatio.js +0 -17
  46. package/dist/models/SimpleEncodingLiveInputAspectRatio.js.map +0 -1
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * @overview es6-promise - a tiny implementation of Promises/A+.
3
+ * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
4
+ * @license Licensed under MIT license
5
+ * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
6
+ * @version v4.2.8+1e68dce6
7
+ */
@@ -240,7 +240,7 @@ var HeaderHandler = /** @class */ (function (_super) {
240
240
  var headers = {
241
241
  'X-Api-Key': apiKey,
242
242
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
243
- 'X-Api-Client-Version': '1.112.0',
243
+ 'X-Api-Client-Version': '1.115.0',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -12,7 +12,7 @@ export default class LiveApi extends BaseAPI {
12
12
  constructor(configuration: Configuration);
13
13
  /**
14
14
  * @summary Create a Simple Encoding Live Job
15
- * @param {SimpleEncodingLiveJobRequest} simpleEncodingLiveJobRequest The Simple Encoding Live Job to be created.
15
+ * @param {SimpleEncodingLiveJobRequest} simpleEncodingLiveJobRequest The Simple Encoding Live Job to be created. Check out our [Simple Encoding API Live Documentation](https://bitmovin.com/docs/encoding/articles/simple-encoding-api-live) for additional information about the Simple Encoding API Live.
16
16
  * @throws {BitmovinError}
17
17
  * @memberof LiveApi
18
18
  */
@@ -31,7 +31,7 @@ var LiveApi = /** @class */ (function (_super) {
31
31
  }
32
32
  /**
33
33
  * @summary Create a Simple Encoding Live Job
34
- * @param {SimpleEncodingLiveJobRequest} simpleEncodingLiveJobRequest The Simple Encoding Live Job to be created.
34
+ * @param {SimpleEncodingLiveJobRequest} simpleEncodingLiveJobRequest The Simple Encoding Live Job to be created. Check out our [Simple Encoding API Live Documentation](https://bitmovin.com/docs/encoding/articles/simple-encoding-api-live) for additional information about the Simple Encoding API Live.
35
35
  * @throws {BitmovinError}
36
36
  * @memberof LiveApi
37
37
  */
@@ -4,7 +4,7 @@
4
4
  */
5
5
  export declare class AnalyticsImpressionListItem {
6
6
  /**
7
- * Impression ID (required)
7
+ * Random UUID that is used to identify a session (required)
8
8
  * @type {string}
9
9
  * @memberof AnalyticsImpressionListItem
10
10
  */
@@ -341,7 +341,7 @@ export declare class AnalyticsImpressionSample {
341
341
  */
342
342
  experimentName?: string;
343
343
  /**
344
- * Random UUID that is used to identify a sessions (required)
344
+ * Random UUID that is used to identify a session (required)
345
345
  * @type {string}
346
346
  * @memberof AnalyticsImpressionSample
347
347
  */
@@ -13,25 +13,25 @@ export declare class DvbSubtitleInputStream extends InputStream {
13
13
  */
14
14
  readonly type: InputStreamType;
15
15
  /**
16
- * Id of input
16
+ * ID of an Input resource defining the input storage
17
17
  * @type {string}
18
18
  * @memberof DvbSubtitleInputStream
19
19
  */
20
20
  inputId?: string;
21
21
  /**
22
- * Path to media file
22
+ * Path to an input media file
23
23
  * @type {string}
24
24
  * @memberof DvbSubtitleInputStream
25
25
  */
26
26
  inputPath?: string;
27
27
  /**
28
- * Specifies the algorithm for selecting a stream from the input file. Supported values for VOD encodings: AUTO, POSITION_ABSOLUTE, SUBTITLE_RELATIVE. Supported values for LIVE encodings: POSITION_ABSOLUTE
28
+ * Specifies the strategy for selecting a stream from the input file. Supported values for VOD encodings: AUTO, POSITION_ABSOLUTE, SUBTITLE_RELATIVE. Supported values for LIVE encodings: POSITION_ABSOLUTE
29
29
  * @type {StreamSelectionMode}
30
30
  * @memberof DvbSubtitleInputStream
31
31
  */
32
32
  selectionMode?: StreamSelectionMode;
33
33
  /**
34
- * Position of the stream, starting from 0.
34
+ * Position of the stream to be selected from the input file (zero-based). Must not be set in combination with selectionMode 'AUTO', defaults to 0 for any other selectionMode.
35
35
  * @type {number}
36
36
  * @memberof DvbSubtitleInputStream
37
37
  */
@@ -13,25 +13,25 @@ export declare class DvbTeletextInputStream extends InputStream {
13
13
  */
14
14
  readonly type: InputStreamType;
15
15
  /**
16
- * Id of input
16
+ * ID of an Input resource defining the input storage
17
17
  * @type {string}
18
18
  * @memberof DvbTeletextInputStream
19
19
  */
20
20
  inputId?: string;
21
21
  /**
22
- * Path to media file
22
+ * Path to an input media file
23
23
  * @type {string}
24
24
  * @memberof DvbTeletextInputStream
25
25
  */
26
26
  inputPath?: string;
27
27
  /**
28
- * Specifies the algorithm how the stream in the input file will be selected
28
+ * Specifies the strategy for selecting a stream from the input file
29
29
  * @type {StreamSelectionMode}
30
30
  * @memberof DvbTeletextInputStream
31
31
  */
32
32
  selectionMode?: StreamSelectionMode;
33
33
  /**
34
- * Position of the stream, starting from 0.
34
+ * Position of the stream to be selected from the input file (zero-based). Must not be set in combination with selectionMode 'AUTO', defaults to 0 for any other selectionMode.
35
35
  * @type {number}
36
36
  * @memberof DvbTeletextInputStream
37
37
  */
@@ -13,25 +13,25 @@ export declare class IngestInputStream extends InputStream {
13
13
  */
14
14
  readonly type: InputStreamType;
15
15
  /**
16
- * Id of input
16
+ * ID of an Input resource defining the input storage (required)
17
17
  * @type {string}
18
18
  * @memberof IngestInputStream
19
19
  */
20
20
  inputId?: string;
21
21
  /**
22
- * Path to media file
22
+ * Path to an input media file (required)
23
23
  * @type {string}
24
24
  * @memberof IngestInputStream
25
25
  */
26
26
  inputPath?: string;
27
27
  /**
28
- * Specifies the algorithm how the stream in the input file will be selected
28
+ * Specifies the strategy for selecting a stream from the input file
29
29
  * @type {StreamSelectionMode}
30
30
  * @memberof IngestInputStream
31
31
  */
32
32
  selectionMode?: StreamSelectionMode;
33
33
  /**
34
- * Position of the stream, starting from 0.
34
+ * Position of the stream to be selected from the input file (zero-based). Must not be set in combination with selectionMode 'AUTO', defaults to 0 for any other selectionMode.
35
35
  * @type {number}
36
36
  * @memberof IngestInputStream
37
37
  */
@@ -0,0 +1,16 @@
1
+ import SimpleEncodingLiveJobOutput from './SimpleEncodingLiveJobOutput';
2
+ import SimpleEncodingLiveJobOutputType from './SimpleEncodingLiveJobOutputType';
3
+ /**
4
+ * @export
5
+ * @class SimpleEncodingLiveJobCdnOutput
6
+ */
7
+ export declare class SimpleEncodingLiveJobCdnOutput extends SimpleEncodingLiveJobOutput {
8
+ /**
9
+ * Discriminator property for SimpleEncodingLiveJobOutput
10
+ * @type {string}
11
+ * @memberof SimpleEncodingLiveJobCdnOutput
12
+ */
13
+ readonly type: SimpleEncodingLiveJobOutputType;
14
+ constructor(obj?: Partial<SimpleEncodingLiveJobCdnOutput>);
15
+ }
16
+ export default SimpleEncodingLiveJobCdnOutput;
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.SimpleEncodingLiveJobCdnOutput = void 0;
19
+ var SimpleEncodingLiveJobOutput_1 = require("./SimpleEncodingLiveJobOutput");
20
+ var SimpleEncodingLiveJobOutputType_1 = require("./SimpleEncodingLiveJobOutputType");
21
+ /**
22
+ * @export
23
+ * @class SimpleEncodingLiveJobCdnOutput
24
+ */
25
+ var SimpleEncodingLiveJobCdnOutput = /** @class */ (function (_super) {
26
+ __extends(SimpleEncodingLiveJobCdnOutput, _super);
27
+ function SimpleEncodingLiveJobCdnOutput(obj) {
28
+ var _this = _super.call(this, obj) || this;
29
+ /**
30
+ * Discriminator property for SimpleEncodingLiveJobOutput
31
+ * @type {string}
32
+ * @memberof SimpleEncodingLiveJobCdnOutput
33
+ */
34
+ _this.type = SimpleEncodingLiveJobOutputType_1.default.CDN;
35
+ if (!obj) {
36
+ return _this;
37
+ }
38
+ return _this;
39
+ }
40
+ return SimpleEncodingLiveJobCdnOutput;
41
+ }(SimpleEncodingLiveJobOutput_1.default));
42
+ exports.SimpleEncodingLiveJobCdnOutput = SimpleEncodingLiveJobCdnOutput;
43
+ exports.default = SimpleEncodingLiveJobCdnOutput;
44
+ //# sourceMappingURL=SimpleEncodingLiveJobCdnOutput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingLiveJobCdnOutput.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobCdnOutput.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,6EAAwE;AACxE,qFAAgF;AAGhF;;;GAGG;AACH;IAAoD,kDAA2B;IAQ7E,wCAAY,GAA6C;QAAzD,YACE,kBAAM,GAAG,CAAC,SAIX;QAZD;;;;WAIG;QACa,UAAI,GAAoC,yCAA+B,CAAC,GAAG,CAAC;QAI1F,IAAG,CAAC,GAAG,EAAE;;SAER;;IACH,CAAC;IACH,qCAAC;AAAD,CAAC,AAdD,CAAoD,qCAA2B,GAc9E;AAdY,wEAA8B;AAgB3C,kBAAe,8BAA8B,CAAC"}
@@ -1,4 +1,3 @@
1
- import SimpleEncodingLiveInputAspectRatio from './SimpleEncodingLiveInputAspectRatio';
2
1
  import SimpleEncodingLiveJobInputType from './SimpleEncodingLiveJobInputType';
3
2
  /**
4
3
  * @export
@@ -11,12 +10,6 @@ export declare class SimpleEncodingLiveJobInput {
11
10
  * @memberof SimpleEncodingLiveJobInput
12
11
  */
13
12
  inputType?: SimpleEncodingLiveJobInputType;
14
- /**
15
- * The aspect ratio of the input video stream
16
- * @type {SimpleEncodingLiveInputAspectRatio}
17
- * @memberof SimpleEncodingLiveJobInput
18
- */
19
- inputAspectRatio?: SimpleEncodingLiveInputAspectRatio;
20
13
  constructor(obj?: Partial<SimpleEncodingLiveJobInput>);
21
14
  }
22
15
  export default SimpleEncodingLiveJobInput;
@@ -12,7 +12,6 @@ var SimpleEncodingLiveJobInput = /** @class */ (function () {
12
12
  return;
13
13
  }
14
14
  this.inputType = (0, Mapper_1.map)(obj.inputType);
15
- this.inputAspectRatio = (0, Mapper_1.map)(obj.inputAspectRatio);
16
15
  }
17
16
  return SimpleEncodingLiveJobInput;
18
17
  }());
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleEncodingLiveJobInput.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobInput.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAI/C;;;GAGG;AACH;IAeE,oCAAY,GAAyC;QACnD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;QACD,IAAI,CAAC,SAAS,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QACpC,IAAI,CAAC,gBAAgB,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IACpD,CAAC;IACH,iCAAC;AAAD,CAAC,AAtBD,IAsBC;AAtBY,gEAA0B;AAwBvC,kBAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"SimpleEncodingLiveJobInput.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobInput.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAG/C;;;GAGG;AACH;IAQE,oCAAY,GAAyC;QACnD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;QACD,IAAI,CAAC,SAAS,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IACtC,CAAC;IACH,iCAAC;AAAD,CAAC,AAdD,IAcC;AAdY,gEAA0B;AAgBvC,kBAAe,0BAA0B,CAAC"}
@@ -0,0 +1,23 @@
1
+ import SimpleEncodingLiveJobCdnOutput from './SimpleEncodingLiveJobCdnOutput';
2
+ import SimpleEncodingLiveJobOutputType from './SimpleEncodingLiveJobOutputType';
3
+ import SimpleEncodingLiveJobUrlOutput from './SimpleEncodingLiveJobUrlOutput';
4
+ import SimpleEncodingLiveMaxResolution from './SimpleEncodingLiveMaxResolution';
5
+ export declare type SimpleEncodingLiveJobOutputUnion = SimpleEncodingLiveJobUrlOutput | SimpleEncodingLiveJobCdnOutput;
6
+ /**
7
+ * @export
8
+ * @class SimpleEncodingLiveJobOutput
9
+ */
10
+ export declare class SimpleEncodingLiveJobOutput {
11
+ protected static readonly _discriminatorName = "type";
12
+ protected static readonly _discriminatorMapping: {
13
+ [key in keyof typeof SimpleEncodingLiveJobOutputType]: string;
14
+ };
15
+ /**
16
+ * This sets the maximum output resolution that will be generated.
17
+ * @type {SimpleEncodingLiveMaxResolution}
18
+ * @memberof SimpleEncodingLiveJobOutput
19
+ */
20
+ maxResolution?: SimpleEncodingLiveMaxResolution;
21
+ constructor(obj?: Partial<SimpleEncodingLiveJobOutput>);
22
+ }
23
+ export default SimpleEncodingLiveJobOutput;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SimpleEncodingLiveJobOutput = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class SimpleEncodingLiveJobOutput
8
+ */
9
+ var SimpleEncodingLiveJobOutput = /** @class */ (function () {
10
+ function SimpleEncodingLiveJobOutput(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.maxResolution = (0, Mapper_1.map)(obj.maxResolution);
15
+ }
16
+ SimpleEncodingLiveJobOutput._discriminatorName = 'type';
17
+ SimpleEncodingLiveJobOutput._discriminatorMapping = {
18
+ URL: 'SimpleEncodingLiveJobUrlOutput',
19
+ CDN: 'SimpleEncodingLiveJobCdnOutput'
20
+ };
21
+ return SimpleEncodingLiveJobOutput;
22
+ }());
23
+ exports.SimpleEncodingLiveJobOutput = SimpleEncodingLiveJobOutput;
24
+ exports.default = SimpleEncodingLiveJobOutput;
25
+ //# sourceMappingURL=SimpleEncodingLiveJobOutput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingLiveJobOutput.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobOutput.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAU/C;;;GAGG;AACH;IAcE,qCAAY,GAA0C;QACpD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;QACD,IAAI,CAAC,aAAa,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IAC9C,CAAC;IAlByB,8CAAkB,GAAG,MAAM,CAAC;IAC5B,iDAAqB,GAAuE;QACpH,GAAG,EAAE,gCAAgC;QACrC,GAAG,EAAE,gCAAgC;KACtC,CAAC;IAeJ,kCAAC;CAAA,AApBD,IAoBC;AApBY,kEAA2B;AAsBxC,kBAAe,2BAA2B,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Output type
3
+ * @export
4
+ * @enum {string}
5
+ */
6
+ export declare enum SimpleEncodingLiveJobOutputType {
7
+ URL = "URL",
8
+ CDN = "CDN"
9
+ }
10
+ export default SimpleEncodingLiveJobOutputType;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SimpleEncodingLiveJobOutputType = void 0;
4
+ /**
5
+ * Output type
6
+ * @export
7
+ * @enum {string}
8
+ */
9
+ var SimpleEncodingLiveJobOutputType;
10
+ (function (SimpleEncodingLiveJobOutputType) {
11
+ SimpleEncodingLiveJobOutputType["URL"] = "URL";
12
+ SimpleEncodingLiveJobOutputType["CDN"] = "CDN";
13
+ })(SimpleEncodingLiveJobOutputType = exports.SimpleEncodingLiveJobOutputType || (exports.SimpleEncodingLiveJobOutputType = {}));
14
+ exports.default = SimpleEncodingLiveJobOutputType;
15
+ //# sourceMappingURL=SimpleEncodingLiveJobOutputType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleEncodingLiveJobOutputType.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobOutputType.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,IAAY,+BAGX;AAHD,WAAY,+BAA+B;IACzC,8CAAW,CAAA;IACX,8CAAW,CAAA;AACb,CAAC,EAHW,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAG1C;AAED,kBAAe,+BAA+B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import SimpleEncodingLiveCloudRegion from './SimpleEncodingLiveCloudRegion';
2
2
  import SimpleEncodingLiveJobInput from './SimpleEncodingLiveJobInput';
3
- import SimpleEncodingLiveJobUrlOutput from './SimpleEncodingLiveJobUrlOutput';
3
+ import SimpleEncodingLiveJobOutput from './SimpleEncodingLiveJobOutput';
4
4
  /**
5
5
  * @export
6
6
  * @class SimpleEncodingLiveJobRequest
@@ -12,11 +12,11 @@ export declare class SimpleEncodingLiveJobRequest {
12
12
  */
13
13
  input?: SimpleEncodingLiveJobInput;
14
14
  /**
15
- * output of the live encoding job (required)
16
- * @type {SimpleEncodingLiveJobUrlOutput[]}
15
+ * Please take a look at the [documentation](https://bitmovin.com/docs/encoding/articles/simple-encoding-api-live#outputs) (required)
16
+ * @type {SimpleEncodingLiveJobOutput[]}
17
17
  * @memberof SimpleEncodingLiveJobRequest
18
18
  */
19
- outputs?: SimpleEncodingLiveJobUrlOutput[];
19
+ outputs?: SimpleEncodingLiveJobOutput[];
20
20
  /**
21
21
  * The cloud region that will be used for the live encoding. This value has to be set.
22
22
  * @type {SimpleEncodingLiveCloudRegion}
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SimpleEncodingLiveJobRequest = void 0;
4
4
  var Mapper_1 = require("../common/Mapper");
5
5
  var SimpleEncodingLiveJobInput_1 = require("./SimpleEncodingLiveJobInput");
6
- var SimpleEncodingLiveJobUrlOutput_1 = require("./SimpleEncodingLiveJobUrlOutput");
6
+ var SimpleEncodingLiveJobOutput_1 = require("./SimpleEncodingLiveJobOutput");
7
7
  /**
8
8
  * @export
9
9
  * @class SimpleEncodingLiveJobRequest
@@ -14,7 +14,7 @@ var SimpleEncodingLiveJobRequest = /** @class */ (function () {
14
14
  return;
15
15
  }
16
16
  this.input = (0, Mapper_1.map)(obj.input, SimpleEncodingLiveJobInput_1.default);
17
- this.outputs = (0, Mapper_1.mapArray)(obj.outputs, SimpleEncodingLiveJobUrlOutput_1.default);
17
+ this.outputs = (0, Mapper_1.mapArray)(obj.outputs, SimpleEncodingLiveJobOutput_1.default);
18
18
  this.cloudRegion = (0, Mapper_1.map)(obj.cloudRegion);
19
19
  this.name = (0, Mapper_1.map)(obj.name);
20
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleEncodingLiveJobRequest.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobRequest.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAE/C,2EAAsE;AACtE,mFAA8E;AAE9E;;;GAGG;AACH;IA4BE,sCAAY,GAA2C;QACrD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;QACD,IAAI,CAAC,KAAK,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,KAAK,EAAE,oCAA0B,CAAC,CAAC;QACxD,IAAI,CAAC,OAAO,GAAG,IAAA,iBAAQ,EAAC,GAAG,CAAC,OAAO,EAAE,wCAA8B,CAAC,CAAC;QACrE,IAAI,CAAC,WAAW,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,WAAW,CAAC,CAAC;QACxC,IAAI,CAAC,IAAI,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IACH,mCAAC;AAAD,CAAC,AArCD,IAqCC;AArCY,oEAA4B;AAuCzC,kBAAe,4BAA4B,CAAC"}
1
+ {"version":3,"file":"SimpleEncodingLiveJobRequest.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobRequest.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAE/C,2EAAsE;AACtE,6EAAwE;AAExE;;;GAGG;AACH;IA4BE,sCAAY,GAA2C;QACrD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;QACD,IAAI,CAAC,KAAK,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,KAAK,EAAE,oCAA0B,CAAC,CAAC;QACxD,IAAI,CAAC,OAAO,GAAG,IAAA,iBAAQ,EAAC,GAAG,CAAC,OAAO,EAAE,qCAA2B,CAAC,CAAC;QAClE,IAAI,CAAC,WAAW,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,WAAW,CAAC,CAAC;QACxC,IAAI,CAAC,IAAI,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IACH,mCAAC;AAAD,CAAC,AArCD,IAqCC;AArCY,oEAA4B;AAuCzC,kBAAe,4BAA4B,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import SimpleEncodingLiveCloudRegion from './SimpleEncodingLiveCloudRegion';
2
2
  import SimpleEncodingLiveJobInput from './SimpleEncodingLiveJobInput';
3
+ import SimpleEncodingLiveJobOutput from './SimpleEncodingLiveJobOutput';
3
4
  import SimpleEncodingLiveJobStatus from './SimpleEncodingLiveJobStatus';
4
- import SimpleEncodingLiveJobUrlOutput from './SimpleEncodingLiveJobUrlOutput';
5
5
  import SimpleEncodingVodJobErrors from './SimpleEncodingVodJobErrors';
6
6
  /**
7
7
  * @export
@@ -44,10 +44,10 @@ export declare class SimpleEncodingLiveJobResponse {
44
44
  */
45
45
  input?: SimpleEncodingLiveJobInput;
46
46
  /**
47
- * @type {SimpleEncodingLiveJobUrlOutput[]}
47
+ * @type {SimpleEncodingLiveJobOutput[]}
48
48
  * @memberof SimpleEncodingLiveJobResponse
49
49
  */
50
- outputs?: SimpleEncodingLiveJobUrlOutput[];
50
+ outputs?: SimpleEncodingLiveJobOutput[];
51
51
  /**
52
52
  * Describes all the errors in cases the status of the job is 'error'.
53
53
  * @type {SimpleEncodingVodJobErrors[]}
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SimpleEncodingLiveJobResponse = void 0;
4
4
  var Mapper_1 = require("../common/Mapper");
5
5
  var SimpleEncodingLiveJobInput_1 = require("./SimpleEncodingLiveJobInput");
6
- var SimpleEncodingLiveJobUrlOutput_1 = require("./SimpleEncodingLiveJobUrlOutput");
6
+ var SimpleEncodingLiveJobOutput_1 = require("./SimpleEncodingLiveJobOutput");
7
7
  var SimpleEncodingVodJobErrors_1 = require("./SimpleEncodingVodJobErrors");
8
8
  /**
9
9
  * @export
@@ -20,7 +20,7 @@ var SimpleEncodingLiveJobResponse = /** @class */ (function () {
20
20
  this.encoderIp = (0, Mapper_1.map)(obj.encoderIp);
21
21
  this.streamKey = (0, Mapper_1.map)(obj.streamKey);
22
22
  this.input = (0, Mapper_1.map)(obj.input, SimpleEncodingLiveJobInput_1.default);
23
- this.outputs = (0, Mapper_1.mapArray)(obj.outputs, SimpleEncodingLiveJobUrlOutput_1.default);
23
+ this.outputs = (0, Mapper_1.mapArray)(obj.outputs, SimpleEncodingLiveJobOutput_1.default);
24
24
  this.errors = (0, Mapper_1.mapArray)(obj.errors, SimpleEncodingVodJobErrors_1.default);
25
25
  this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
26
26
  this.modifiedAt = (0, Mapper_1.map)(obj.modifiedAt, Date);
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleEncodingLiveJobResponse.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobResponse.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAE/C,2EAAsE;AAEtE,mFAA8E;AAC9E,2EAAsE;AAEtE;;;GAGG;AACH;IAmFE,uCAAY,GAA4C;QACtD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;QACD,IAAI,CAAC,EAAE,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACtB,IAAI,CAAC,MAAM,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QAC9B,IAAI,CAAC,UAAU,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,UAAU,CAAC,CAAC;QACtC,IAAI,CAAC,SAAS,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QACpC,IAAI,CAAC,SAAS,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QACpC,IAAI,CAAC,KAAK,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,KAAK,EAAE,oCAA0B,CAAC,CAAC;QACxD,IAAI,CAAC,OAAO,GAAG,IAAA,iBAAQ,EAAC,GAAG,CAAC,OAAO,EAAE,wCAA8B,CAAC,CAAC;QACrE,IAAI,CAAC,MAAM,GAAG,IAAA,iBAAQ,EAAC,GAAG,CAAC,MAAM,EAAE,oCAA0B,CAAC,CAAC;QAC/D,IAAI,CAAC,SAAS,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;QAC1C,IAAI,CAAC,UAAU,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;QAC5C,IAAI,CAAC,IAAI,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAC1B,IAAI,CAAC,WAAW,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IAC1C,CAAC;IACH,oCAAC;AAAD,CAAC,AApGD,IAoGC;AApGY,sEAA6B;AAsG1C,kBAAe,6BAA6B,CAAC"}
1
+ {"version":3,"file":"SimpleEncodingLiveJobResponse.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobResponse.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAE/C,2EAAsE;AACtE,6EAAwE;AAExE,2EAAsE;AAEtE;;;GAGG;AACH;IAmFE,uCAAY,GAA4C;QACtD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;QACD,IAAI,CAAC,EAAE,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACtB,IAAI,CAAC,MAAM,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QAC9B,IAAI,CAAC,UAAU,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,UAAU,CAAC,CAAC;QACtC,IAAI,CAAC,SAAS,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QACpC,IAAI,CAAC,SAAS,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QACpC,IAAI,CAAC,KAAK,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,KAAK,EAAE,oCAA0B,CAAC,CAAC;QACxD,IAAI,CAAC,OAAO,GAAG,IAAA,iBAAQ,EAAC,GAAG,CAAC,OAAO,EAAE,qCAA2B,CAAC,CAAC;QAClE,IAAI,CAAC,MAAM,GAAG,IAAA,iBAAQ,EAAC,GAAG,CAAC,MAAM,EAAE,oCAA0B,CAAC,CAAC;QAC/D,IAAI,CAAC,SAAS,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;QAC1C,IAAI,CAAC,UAAU,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;QAC5C,IAAI,CAAC,IAAI,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAC1B,IAAI,CAAC,WAAW,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IAC1C,CAAC;IACH,oCAAC;AAAD,CAAC,AApGD,IAoGC;AApGY,sEAA6B;AAsG1C,kBAAe,6BAA6B,CAAC"}
@@ -1,12 +1,19 @@
1
1
  import SimpleEncodingLiveJobCredentials from './SimpleEncodingLiveJobCredentials';
2
- import SimpleEncodingLiveMaxResolution from './SimpleEncodingLiveMaxResolution';
2
+ import SimpleEncodingLiveJobOutput from './SimpleEncodingLiveJobOutput';
3
+ import SimpleEncodingLiveJobOutputType from './SimpleEncodingLiveJobOutputType';
3
4
  /**
4
5
  * @export
5
6
  * @class SimpleEncodingLiveJobUrlOutput
6
7
  */
7
- export declare class SimpleEncodingLiveJobUrlOutput {
8
+ export declare class SimpleEncodingLiveJobUrlOutput extends SimpleEncodingLiveJobOutput {
8
9
  /**
9
- * Define a URL pointing to a folder which will be used to upload the encoded assets. The output folder structure used looks the following way: <br><br> `http://host/my-folder` <ul> <li> `/video` <ul> <li>`/{width}x{height}/` (multiple subfolders containing different output renditions)</li> </ul> </li> <li>`/audio` </li> <li>`/index.m3u8` (HLS manifest file) </li> <li>`/stream.mpd` (DASH manifest file) </li> </ul> Currently the following protocols/storages systems are supported: S3, GCS, Azure Blob Storage, Akamai NetStorage. Note that most protocols will require `credentials` to access the asset. Check the description below which ones are applicable. See below how to construct the URLs for the individual protocals/storage systems. **S3**: * `s3://<my-bucket>/path/` Authentication can be done via accesskey/secretkey or role-based authentication. Generic S3 is currently NOT supported. **GCS**: * `gcs://<my-bucket>/path/` Authentication can be done via accesskey/secretkey or a service account **Azure Blob Storage (ABS)**: * `https://<account>.blob.core.windows.net/<container>/path/` It is required to provide the Azure key credentials for authentication. **Akamai NetStorage**: * `https://<host>-nsu.akamaihd.net/<CP-code>/path/` It is required to provide username/password credentials for authentication. (required)
10
+ * Discriminator property for SimpleEncodingLiveJobOutput
11
+ * @type {string}
12
+ * @memberof SimpleEncodingLiveJobUrlOutput
13
+ */
14
+ readonly type: SimpleEncodingLiveJobOutputType;
15
+ /**
16
+ * Define a URL pointing to a folder which will be used to upload the encoded assets. The output folder structure used looks the following way: <br><br> `http://host/my-folder` <ul> <li> `/video` <ul> <li>`/{width}x{height}_{bitrate}/` (multiple subfolders containing different output renditions)</li> </ul> </li> <li>`/audio` </li> <li>`/index.m3u8` (HLS manifest file) </li> <li>`/stream.mpd` (DASH manifest file) </li> </ul> Currently the following protocols/storages systems are supported: S3, GCS, Azure Blob Storage, Akamai NetStorage. Note that most protocols will require `credentials` to access the asset. Check the description below which ones are applicable. See below how to construct the URLs for the individual protocals/storage systems. **S3**: * `s3://<my-bucket>/path/` Authentication can be done via accesskey/secretkey or role-based authentication. Generic S3 is currently NOT supported. **GCS**: * `gcs://<my-bucket>/path/` Authentication can be done via accesskey/secretkey or a service account **Azure Blob Storage (ABS)**: * `https://<account>.blob.core.windows.net/<container>/path/` It is required to provide the Azure key credentials for authentication. **Akamai NetStorage**: * `https://<host>-nsu.akamaihd.net/<CP-code>/path/` It is required to provide username/password credentials for authentication. (required)
10
17
  * @type {string}
11
18
  * @memberof SimpleEncodingLiveJobUrlOutput
12
19
  */
@@ -23,12 +30,6 @@ export declare class SimpleEncodingLiveJobUrlOutput {
23
30
  * @memberof SimpleEncodingLiveJobUrlOutput
24
31
  */
25
32
  makePublic?: boolean;
26
- /**
27
- * This sets the maximum output resolution that will be generated.
28
- * @type {SimpleEncodingLiveMaxResolution}
29
- * @memberof SimpleEncodingLiveJobUrlOutput
30
- */
31
- maxResolution?: SimpleEncodingLiveMaxResolution;
32
33
  constructor(obj?: Partial<SimpleEncodingLiveJobUrlOutput>);
33
34
  }
34
35
  export default SimpleEncodingLiveJobUrlOutput;
@@ -1,24 +1,49 @@
1
1
  "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
2
17
  Object.defineProperty(exports, "__esModule", { value: true });
3
18
  exports.SimpleEncodingLiveJobUrlOutput = void 0;
4
19
  var Mapper_1 = require("../common/Mapper");
5
20
  var SimpleEncodingLiveJobCredentials_1 = require("./SimpleEncodingLiveJobCredentials");
21
+ var SimpleEncodingLiveJobOutput_1 = require("./SimpleEncodingLiveJobOutput");
22
+ var SimpleEncodingLiveJobOutputType_1 = require("./SimpleEncodingLiveJobOutputType");
6
23
  /**
7
24
  * @export
8
25
  * @class SimpleEncodingLiveJobUrlOutput
9
26
  */
10
- var SimpleEncodingLiveJobUrlOutput = /** @class */ (function () {
27
+ var SimpleEncodingLiveJobUrlOutput = /** @class */ (function (_super) {
28
+ __extends(SimpleEncodingLiveJobUrlOutput, _super);
11
29
  function SimpleEncodingLiveJobUrlOutput(obj) {
30
+ var _this = _super.call(this, obj) || this;
31
+ /**
32
+ * Discriminator property for SimpleEncodingLiveJobOutput
33
+ * @type {string}
34
+ * @memberof SimpleEncodingLiveJobUrlOutput
35
+ */
36
+ _this.type = SimpleEncodingLiveJobOutputType_1.default.URL;
12
37
  if (!obj) {
13
- return;
38
+ return _this;
14
39
  }
15
- this.url = (0, Mapper_1.map)(obj.url);
16
- this.credentials = (0, Mapper_1.map)(obj.credentials, SimpleEncodingLiveJobCredentials_1.default);
17
- this.makePublic = (0, Mapper_1.map)(obj.makePublic);
18
- this.maxResolution = (0, Mapper_1.map)(obj.maxResolution);
40
+ _this.url = (0, Mapper_1.map)(obj.url);
41
+ _this.credentials = (0, Mapper_1.map)(obj.credentials, SimpleEncodingLiveJobCredentials_1.default);
42
+ _this.makePublic = (0, Mapper_1.map)(obj.makePublic);
43
+ return _this;
19
44
  }
20
45
  return SimpleEncodingLiveJobUrlOutput;
21
- }());
46
+ }(SimpleEncodingLiveJobOutput_1.default));
22
47
  exports.SimpleEncodingLiveJobUrlOutput = SimpleEncodingLiveJobUrlOutput;
23
48
  exports.default = SimpleEncodingLiveJobUrlOutput;
24
49
  //# sourceMappingURL=SimpleEncodingLiveJobUrlOutput.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleEncodingLiveJobUrlOutput.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobUrlOutput.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAC/C,uFAAkF;AAGlF;;;GAGG;AACH;IA6BE,wCAAY,GAA6C;QACvD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;QACD,IAAI,CAAC,GAAG,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACxB,IAAI,CAAC,WAAW,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,WAAW,EAAE,0CAAgC,CAAC,CAAC;QAC1E,IAAI,CAAC,UAAU,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,UAAU,CAAC,CAAC;QACtC,IAAI,CAAC,aAAa,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IAC9C,CAAC;IACH,qCAAC;AAAD,CAAC,AAtCD,IAsCC;AAtCY,wEAA8B;AAwC3C,kBAAe,8BAA8B,CAAC"}
1
+ {"version":3,"file":"SimpleEncodingLiveJobUrlOutput.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobUrlOutput.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAA+C;AAC/C,uFAAkF;AAClF,6EAAwE;AACxE,qFAAgF;AAGhF;;;GAGG;AACH;IAAoD,kDAA2B;IA6B7E,wCAAY,GAA6C;QAAzD,YACE,kBAAM,GAAG,CAAC,SAOX;QApCD;;;;WAIG;QACa,UAAI,GAAoC,yCAA+B,CAAC,GAAG,CAAC;QAyB1F,IAAG,CAAC,GAAG,EAAE;;SAER;QACD,KAAI,CAAC,GAAG,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACxB,KAAI,CAAC,WAAW,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,WAAW,EAAE,0CAAgC,CAAC,CAAC;QAC1E,KAAI,CAAC,UAAU,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,UAAU,CAAC,CAAC;;IACxC,CAAC;IACH,qCAAC;AAAD,CAAC,AAtCD,CAAoD,qCAA2B,GAsC9E;AAtCY,wEAA8B;AAwC3C,kBAAe,8BAA8B,CAAC"}
@@ -1,3 +1,4 @@
1
+ import SimpleEncodingLiveMaxResolution from './SimpleEncodingLiveMaxResolution';
1
2
  import SimpleEncodingVodJobOutput from './SimpleEncodingVodJobOutput';
2
3
  import SimpleEncodingVodJobOutputType from './SimpleEncodingVodJobOutputType';
3
4
  /**
@@ -11,6 +12,12 @@ export declare class SimpleEncodingVodJobCdnOutput extends SimpleEncodingVodJobO
11
12
  * @memberof SimpleEncodingVodJobCdnOutput
12
13
  */
13
14
  readonly type: SimpleEncodingVodJobOutputType;
15
+ /**
16
+ * This sets the maximum output resolution that will be generated.
17
+ * @type {SimpleEncodingLiveMaxResolution}
18
+ * @memberof SimpleEncodingVodJobCdnOutput
19
+ */
20
+ maxResolution?: SimpleEncodingLiveMaxResolution;
14
21
  constructor(obj?: Partial<SimpleEncodingVodJobCdnOutput>);
15
22
  }
16
23
  export default SimpleEncodingVodJobCdnOutput;
@@ -16,6 +16,7 @@ var __extends = (this && this.__extends) || (function () {
16
16
  })();
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.SimpleEncodingVodJobCdnOutput = void 0;
19
+ var Mapper_1 = require("../common/Mapper");
19
20
  var SimpleEncodingVodJobOutput_1 = require("./SimpleEncodingVodJobOutput");
20
21
  var SimpleEncodingVodJobOutputType_1 = require("./SimpleEncodingVodJobOutputType");
21
22
  /**
@@ -35,6 +36,7 @@ var SimpleEncodingVodJobCdnOutput = /** @class */ (function (_super) {
35
36
  if (!obj) {
36
37
  return _this;
37
38
  }
39
+ _this.maxResolution = (0, Mapper_1.map)(obj.maxResolution);
38
40
  return _this;
39
41
  }
40
42
  return SimpleEncodingVodJobCdnOutput;
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleEncodingVodJobCdnOutput.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingVodJobCdnOutput.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2EAAsE;AACtE,mFAA8E;AAE9E;;;GAGG;AACH;IAAmD,iDAA0B;IAQ3E,uCAAY,GAA4C;QAAxD,YACE,kBAAM,GAAG,CAAC,SAIX;QAZD;;;;WAIG;QACa,UAAI,GAAmC,wCAA8B,CAAC,GAAG,CAAC;QAIxF,IAAG,CAAC,GAAG,EAAE;;SAER;;IACH,CAAC;IACH,oCAAC;AAAD,CAAC,AAdD,CAAmD,oCAA0B,GAc5E;AAdY,sEAA6B;AAgB1C,kBAAe,6BAA6B,CAAC"}
1
+ {"version":3,"file":"SimpleEncodingVodJobCdnOutput.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingVodJobCdnOutput.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAA+C;AAE/C,2EAAsE;AACtE,mFAA8E;AAE9E;;;GAGG;AACH;IAAmD,iDAA0B;IAe3E,uCAAY,GAA4C;QAAxD,YACE,kBAAM,GAAG,CAAC,SAKX;QApBD;;;;WAIG;QACa,UAAI,GAAmC,wCAA8B,CAAC,GAAG,CAAC;QAWxF,IAAG,CAAC,GAAG,EAAE;;SAER;QACD,KAAI,CAAC,aAAa,GAAG,IAAA,YAAG,EAAC,GAAG,CAAC,aAAa,CAAC,CAAC;;IAC9C,CAAC;IACH,oCAAC;AAAD,CAAC,AAtBD,CAAmD,oCAA0B,GAsB5E;AAtBY,sEAA6B;AAwB1C,kBAAe,6BAA6B,CAAC"}
@@ -18,7 +18,7 @@ export declare class SimpleEncodingVodJobRequest {
18
18
  */
19
19
  inputs?: SimpleEncodingVodJobUrlInput[];
20
20
  /**
21
- * Please take a look at the [documentation](https://bitmovin.com/docs/encoding/articles/simple-encoding-api) (required)
21
+ * Please take a look at the [documentation](https://bitmovin.com/docs/encoding/articles/simple-encoding-api#inputs-outputs) (required)
22
22
  * @type {SimpleEncodingVodJobOutput[]}
23
23
  * @memberof SimpleEncodingVodJobRequest
24
24
  */