@bitmovin/api-sdk 1.212.0 → 1.214.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.212.0',
243
+ 'X-Api-Client-Version': '1.214.0',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -1,3 +1,4 @@
1
+ import CdnProvider from './CdnProvider';
1
2
  import Output from './Output';
2
3
  import OutputType from './OutputType';
3
4
  /**
@@ -17,6 +18,12 @@ export declare class CdnOutput extends Output {
17
18
  * @memberof CdnOutput
18
19
  */
19
20
  domainName?: string;
21
+ /**
22
+ * CDN Provider of the Output
23
+ * @type {CdnProvider}
24
+ * @memberof CdnOutput
25
+ */
26
+ cdnProvider?: CdnProvider;
20
27
  constructor(obj?: Partial<CdnOutput>);
21
28
  }
22
29
  export default CdnOutput;
@@ -37,6 +37,7 @@ var CdnOutput = /** @class */ (function (_super) {
37
37
  return _this;
38
38
  }
39
39
  _this.domainName = (0, Mapper_1.map)(obj.domainName);
40
+ _this.cdnProvider = (0, Mapper_1.map)(obj.cdnProvider);
40
41
  return _this;
41
42
  }
42
43
  return CdnOutput;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum CdnProvider {
6
+ AKAMAI = "AKAMAI",
7
+ AWS = "AWS"
8
+ }
9
+ export default CdnProvider;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CdnProvider = void 0;
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var CdnProvider;
9
+ (function (CdnProvider) {
10
+ CdnProvider["AKAMAI"] = "AKAMAI";
11
+ CdnProvider["AWS"] = "AWS";
12
+ })(CdnProvider || (exports.CdnProvider = CdnProvider = {}));
13
+ exports.default = CdnProvider;
@@ -1,23 +1,30 @@
1
1
  import BitmovinResource from './BitmovinResource';
2
2
  /**
3
+ * GCE Cloud Connect Account. Configure either by passing a single service account credentials JSON string or by passing the service account email, private key and project ID individually.
3
4
  * @export
4
5
  * @class GceAccount
5
6
  */
6
7
  export declare class GceAccount extends BitmovinResource {
7
8
  /**
8
- * Email address of the Google service account that will be used to spin up VMs (required)
9
+ * GCP service account credentials JSON
10
+ * @type {string}
11
+ * @memberof GceAccount
12
+ */
13
+ serviceAccountCredentials?: string;
14
+ /**
15
+ * Email address of the Google service account that will be used to spin up VMs
9
16
  * @type {string}
10
17
  * @memberof GceAccount
11
18
  */
12
19
  serviceAccountEmail?: string;
13
20
  /**
14
- * Google private key of the Google service account that will be used to spin up VMs (required)
21
+ * Google private key of the Google service account that will be used to spin up VMs
15
22
  * @type {string}
16
23
  * @memberof GceAccount
17
24
  */
18
25
  privateKey?: string;
19
26
  /**
20
- * ID of the GCP project in which the VMs are supposed to run. (required)
27
+ * ID of the GCP project in which the VMs are supposed to run.
21
28
  * @type {string}
22
29
  * @memberof GceAccount
23
30
  */
@@ -19,6 +19,7 @@ exports.GceAccount = void 0;
19
19
  var Mapper_1 = require("../common/Mapper");
20
20
  var BitmovinResource_1 = require("./BitmovinResource");
21
21
  /**
22
+ * GCE Cloud Connect Account. Configure either by passing a single service account credentials JSON string or by passing the service account email, private key and project ID individually.
22
23
  * @export
23
24
  * @class GceAccount
24
25
  */
@@ -29,6 +30,7 @@ var GceAccount = /** @class */ (function (_super) {
29
30
  if (!obj) {
30
31
  return _this;
31
32
  }
33
+ _this.serviceAccountCredentials = (0, Mapper_1.map)(obj.serviceAccountCredentials);
32
34
  _this.serviceAccountEmail = (0, Mapper_1.map)(obj.serviceAccountEmail);
33
35
  _this.privateKey = (0, Mapper_1.map)(obj.privateKey);
34
36
  _this.projectId = (0, Mapper_1.map)(obj.projectId);
@@ -9,6 +9,24 @@ export declare class LiveEncodingStatsEventDetails {
9
9
  * @memberof LiveEncodingStatsEventDetails
10
10
  */
11
11
  eventType?: LiveEncodingEventName;
12
+ /**
13
+ * Short description of the event
14
+ * @type {string}
15
+ * @memberof LiveEncodingStatsEventDetails
16
+ */
17
+ message?: string;
18
+ /**
19
+ * Name of the mid roll asset name
20
+ * @type {string[]}
21
+ * @memberof LiveEncodingStatsEventDetails
22
+ */
23
+ midRollAssetNames?: string[];
24
+ /**
25
+ * Duration in seconds
26
+ * @type {number}
27
+ * @memberof LiveEncodingStatsEventDetails
28
+ */
29
+ durationInSeconds?: number;
12
30
  constructor(obj?: Partial<LiveEncodingStatsEventDetails>);
13
31
  }
14
32
  export default LiveEncodingStatsEventDetails;
@@ -12,6 +12,9 @@ var LiveEncodingStatsEventDetails = /** @class */ (function () {
12
12
  return;
13
13
  }
14
14
  this.eventType = (0, Mapper_1.map)(obj.eventType);
15
+ this.message = (0, Mapper_1.map)(obj.message);
16
+ this.midRollAssetNames = (0, Mapper_1.mapArray)(obj.midRollAssetNames);
17
+ this.durationInSeconds = (0, Mapper_1.map)(obj.durationInSeconds);
15
18
  }
16
19
  return LiveEncodingStatsEventDetails;
17
20
  }());
@@ -38,7 +38,7 @@ export declare class PrewarmedEncoderPool extends BitmovinResource {
38
38
  */
39
39
  targetPoolSize?: number;
40
40
  /**
41
- * Activate dynamic pool behaviour. Pool will increase/decrease based on usage. Minimum pool size is set by targetPoolSize.
41
+ * Activate dynamic pool behaviour. Pool will increase/decrease based on usage up until a size of 10 instances. Minimum pool size is set by targetPoolSize
42
42
  * @type {boolean}
43
43
  * @memberof PrewarmedEncoderPool
44
44
  */
@@ -176,6 +176,7 @@ export * from './BurnInSubtitleDvbSub';
176
176
  export * from './BurnInSubtitleSrt';
177
177
  export * from './CaptionCharacterEncoding';
178
178
  export * from './CdnOutput';
179
+ export * from './CdnProvider';
179
180
  export * from './CdnUsage';
180
181
  export * from './CdnUsageStatistics';
181
182
  export * from './Cea608708SubtitleConfiguration';
@@ -192,6 +192,7 @@ __exportStar(require("./BurnInSubtitleDvbSub"), exports);
192
192
  __exportStar(require("./BurnInSubtitleSrt"), exports);
193
193
  __exportStar(require("./CaptionCharacterEncoding"), exports);
194
194
  __exportStar(require("./CdnOutput"), exports);
195
+ __exportStar(require("./CdnProvider"), exports);
195
196
  __exportStar(require("./CdnUsage"), exports);
196
197
  __exportStar(require("./CdnUsageStatistics"), exports);
197
198
  __exportStar(require("./Cea608708SubtitleConfiguration"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.212.0",
3
+ "version": "1.214.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [
@@ -39,6 +39,7 @@
39
39
  "prettier": "^1.16.4",
40
40
  "tslint": "^5.12.1",
41
41
  "tslint-config-prettier": "^1.18.0",
42
+ "typedoc": "^0.25.11",
42
43
  "typescript": "^5.2.2",
43
44
  "webpack": "^5.89.0",
44
45
  "webpack-cli": "^5.1.4"