@bitmovin/api-sdk 1.135.0 → 1.137.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.
@@ -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.135.0',
243
+ 'X-Api-Client-Version': '1.137.0',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -1,3 +1,4 @@
1
+ import OutputType from '../../models/OutputType';
1
2
  export interface OutputListQueryParams {
2
3
  /**
3
4
  * Index of the first item to return, starting at 0. Default is 0
@@ -12,11 +13,17 @@ export interface OutputListQueryParams {
12
13
  */
13
14
  limit?: number | undefined;
14
15
  /**
15
- * Filter output by name
16
+ * Filter outputs by name
16
17
  * @type {string}
17
18
  * @memberof OutputListQueryParams
18
19
  */
19
20
  name?: string | undefined;
21
+ /**
22
+ * Filter outputs by type
23
+ * @type {OutputType}
24
+ * @memberof OutputListQueryParams
25
+ */
26
+ type?: OutputType | undefined;
20
27
  }
21
28
  export declare class OutputListQueryParamsBuilder {
22
29
  private internalParams;
@@ -32,8 +39,13 @@ export declare class OutputListQueryParamsBuilder {
32
39
  limit(limit: number): this;
33
40
  /**
34
41
  *
35
- * @param name Filter output by name
42
+ * @param name Filter outputs by name
36
43
  */
37
44
  name(name: string): this;
45
+ /**
46
+ *
47
+ * @param type Filter outputs by type
48
+ */
49
+ type(type: OutputType): this;
38
50
  buildQueryParams(): OutputListQueryParams;
39
51
  }
@@ -23,12 +23,20 @@ var OutputListQueryParamsBuilder = /** @class */ (function () {
23
23
  };
24
24
  /**
25
25
  *
26
- * @param name Filter output by name
26
+ * @param name Filter outputs by name
27
27
  */
28
28
  OutputListQueryParamsBuilder.prototype.name = function (name) {
29
29
  this.internalParams.name = name;
30
30
  return this;
31
31
  };
32
+ /**
33
+ *
34
+ * @param type Filter outputs by type
35
+ */
36
+ OutputListQueryParamsBuilder.prototype.type = function (type) {
37
+ this.internalParams.type = type;
38
+ return this;
39
+ };
32
40
  OutputListQueryParamsBuilder.prototype.buildQueryParams = function () {
33
41
  return this.internalParams;
34
42
  };
@@ -1,11 +1,18 @@
1
1
  import SimpleEncodingLiveCloudRegion from './SimpleEncodingLiveCloudRegion';
2
2
  import SimpleEncodingLiveJobInput from './SimpleEncodingLiveJobInput';
3
3
  import SimpleEncodingLiveJobOutput from './SimpleEncodingLiveJobOutput';
4
+ import SimpleEncodingLiveProfile from './SimpleEncodingLiveProfile';
4
5
  /**
5
6
  * @export
6
7
  * @class SimpleEncodingLiveJobRequest
7
8
  */
8
9
  export declare class SimpleEncodingLiveJobRequest {
10
+ /**
11
+ * The profile that will be used for the live encoding.
12
+ * @type {SimpleEncodingLiveProfile}
13
+ * @memberof SimpleEncodingLiveJobRequest
14
+ */
15
+ encodingProfile?: SimpleEncodingLiveProfile;
9
16
  /**
10
17
  * @type {SimpleEncodingLiveJobInput}
11
18
  * @memberof SimpleEncodingLiveJobRequest
@@ -13,6 +13,7 @@ var SimpleEncodingLiveJobRequest = /** @class */ (function () {
13
13
  if (!obj) {
14
14
  return;
15
15
  }
16
+ this.encodingProfile = (0, Mapper_1.map)(obj.encodingProfile);
16
17
  this.input = (0, Mapper_1.map)(obj.input, SimpleEncodingLiveJobInput_1.default);
17
18
  this.outputs = (0, Mapper_1.mapArray)(obj.outputs, SimpleEncodingLiveJobOutput_1.default);
18
19
  this.cloudRegion = (0, Mapper_1.map)(obj.cloudRegion);
@@ -2,6 +2,7 @@ import SimpleEncodingLiveCloudRegion from './SimpleEncodingLiveCloudRegion';
2
2
  import SimpleEncodingLiveJobInput from './SimpleEncodingLiveJobInput';
3
3
  import SimpleEncodingLiveJobOutput from './SimpleEncodingLiveJobOutput';
4
4
  import SimpleEncodingLiveJobStatus from './SimpleEncodingLiveJobStatus';
5
+ import SimpleEncodingLiveProfile from './SimpleEncodingLiveProfile';
5
6
  import SimpleEncodingVodJobErrors from './SimpleEncodingVodJobErrors';
6
7
  /**
7
8
  * @export
@@ -78,6 +79,12 @@ export declare class SimpleEncodingLiveJobResponse {
78
79
  * @memberof SimpleEncodingLiveJobResponse
79
80
  */
80
81
  cloudRegion?: SimpleEncodingLiveCloudRegion;
82
+ /**
83
+ * The profile that will be used for the live encoding.
84
+ * @type {SimpleEncodingLiveProfile}
85
+ * @memberof SimpleEncodingLiveJobResponse
86
+ */
87
+ encodingProfile?: SimpleEncodingLiveProfile;
81
88
  constructor(obj?: Partial<SimpleEncodingLiveJobResponse>);
82
89
  }
83
90
  export default SimpleEncodingLiveJobResponse;
@@ -26,6 +26,7 @@ var SimpleEncodingLiveJobResponse = /** @class */ (function () {
26
26
  this.modifiedAt = (0, Mapper_1.map)(obj.modifiedAt, Date);
27
27
  this.name = (0, Mapper_1.map)(obj.name);
28
28
  this.cloudRegion = (0, Mapper_1.map)(obj.cloudRegion);
29
+ this.encodingProfile = (0, Mapper_1.map)(obj.encodingProfile);
29
30
  }
30
31
  return SimpleEncodingLiveJobResponse;
31
32
  }());
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum SimpleEncodingLiveProfile {
6
+ INCREASED_QUALITY = "INCREASED_QUALITY",
7
+ LOWER_LATENCY = "LOWER_LATENCY"
8
+ }
9
+ export default SimpleEncodingLiveProfile;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SimpleEncodingLiveProfile = void 0;
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var SimpleEncodingLiveProfile;
9
+ (function (SimpleEncodingLiveProfile) {
10
+ SimpleEncodingLiveProfile["INCREASED_QUALITY"] = "INCREASED_QUALITY";
11
+ SimpleEncodingLiveProfile["LOWER_LATENCY"] = "LOWER_LATENCY";
12
+ })(SimpleEncodingLiveProfile = exports.SimpleEncodingLiveProfile || (exports.SimpleEncodingLiveProfile = {}));
13
+ exports.default = SimpleEncodingLiveProfile;
@@ -624,6 +624,7 @@ export * from './SimpleEncodingLiveJobStatus';
624
624
  export * from './SimpleEncodingLiveJobUrlOutput';
625
625
  export * from './SimpleEncodingLiveJobUsernamePasswordCredentials';
626
626
  export * from './SimpleEncodingLiveMaxResolution';
627
+ export * from './SimpleEncodingLiveProfile';
627
628
  export * from './SimpleEncodingVodJobAccessKeyCredentials';
628
629
  export * from './SimpleEncodingVodJobAzureCredentials';
629
630
  export * from './SimpleEncodingVodJobCdnOutput';
@@ -640,6 +640,7 @@ __exportStar(require("./SimpleEncodingLiveJobStatus"), exports);
640
640
  __exportStar(require("./SimpleEncodingLiveJobUrlOutput"), exports);
641
641
  __exportStar(require("./SimpleEncodingLiveJobUsernamePasswordCredentials"), exports);
642
642
  __exportStar(require("./SimpleEncodingLiveMaxResolution"), exports);
643
+ __exportStar(require("./SimpleEncodingLiveProfile"), exports);
643
644
  __exportStar(require("./SimpleEncodingVodJobAccessKeyCredentials"), exports);
644
645
  __exportStar(require("./SimpleEncodingVodJobAzureCredentials"), exports);
645
646
  __exportStar(require("./SimpleEncodingVodJobCdnOutput"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.135.0",
3
+ "version": "1.137.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [