@bitmovin/api-sdk 1.269.0 → 1.270.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.269.0',
243
+ 'X-Api-Client-Version': '1.270.0',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -3,6 +3,7 @@ import Configuration from '../../../common/Configuration';
3
3
  import EsamApi from './esam/EsamApi';
4
4
  import ResetLiveManifestTimeshiftApi from './resetLiveManifestTimeshift/ResetLiveManifestTimeshiftApi';
5
5
  import HeartbeatApi from './heartbeat/HeartbeatApi';
6
+ import HeartbeatFinalApi from './heartbeatFinal/HeartbeatFinalApi';
6
7
  import HdApi from './hd/HdApi';
7
8
  import InsertableContentApi from './insertableContent/InsertableContentApi';
8
9
  import Scte35CueApi from './scte35Cue/Scte35CueApi';
@@ -19,6 +20,7 @@ export default class LiveApi extends BaseAPI {
19
20
  esam: EsamApi;
20
21
  resetLiveManifestTimeshift: ResetLiveManifestTimeshiftApi;
21
22
  heartbeat: HeartbeatApi;
23
+ heartbeatFinal: HeartbeatFinalApi;
22
24
  hd: HdApi;
23
25
  insertableContent: InsertableContentApi;
24
26
  scte35Cue: Scte35CueApi;
@@ -20,6 +20,7 @@ var Mapper_1 = require("../../../common/Mapper");
20
20
  var EsamApi_1 = require("./esam/EsamApi");
21
21
  var ResetLiveManifestTimeshiftApi_1 = require("./resetLiveManifestTimeshift/ResetLiveManifestTimeshiftApi");
22
22
  var HeartbeatApi_1 = require("./heartbeat/HeartbeatApi");
23
+ var HeartbeatFinalApi_1 = require("./heartbeatFinal/HeartbeatFinalApi");
23
24
  var HdApi_1 = require("./hd/HdApi");
24
25
  var InsertableContentApi_1 = require("./insertableContent/InsertableContentApi");
25
26
  var Scte35CueApi_1 = require("./scte35Cue/Scte35CueApi");
@@ -39,6 +40,7 @@ var LiveApi = /** @class */ (function (_super) {
39
40
  _this.esam = new EsamApi_1.default(configuration);
40
41
  _this.resetLiveManifestTimeshift = new ResetLiveManifestTimeshiftApi_1.default(configuration);
41
42
  _this.heartbeat = new HeartbeatApi_1.default(configuration);
43
+ _this.heartbeatFinal = new HeartbeatFinalApi_1.default(configuration);
42
44
  _this.hd = new HdApi_1.default(configuration);
43
45
  _this.insertableContent = new InsertableContentApi_1.default(configuration);
44
46
  _this.scte35Cue = new Scte35CueApi_1.default(configuration);
@@ -0,0 +1,19 @@
1
+ import { BaseAPI } from '../../../../common/BaseAPI';
2
+ import Configuration from '../../../../common/Configuration';
3
+ import LiveEncodingHeartbeatUrlResponse from '../../../../models/LiveEncodingHeartbeatUrlResponse';
4
+ /**
5
+ * HeartbeatFinalApi - object-oriented interface
6
+ * @export
7
+ * @class HeartbeatFinalApi
8
+ * @extends {BaseAPI}
9
+ */
10
+ export default class HeartbeatFinalApi extends BaseAPI {
11
+ constructor(configuration: Configuration);
12
+ /**
13
+ * @summary Get Final Live Encoding Heartbeat Download URL
14
+ * @param {string} encodingId Id of the encoding.
15
+ * @throws {BitmovinError}
16
+ * @memberof HeartbeatFinalApi
17
+ */
18
+ get(encodingId: string): Promise<LiveEncodingHeartbeatUrlResponse>;
19
+ }
@@ -0,0 +1,48 @@
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
+ var BaseAPI_1 = require("../../../../common/BaseAPI");
19
+ var Mapper_1 = require("../../../../common/Mapper");
20
+ var LiveEncodingHeartbeatUrlResponse_1 = require("../../../../models/LiveEncodingHeartbeatUrlResponse");
21
+ /**
22
+ * HeartbeatFinalApi - object-oriented interface
23
+ * @export
24
+ * @class HeartbeatFinalApi
25
+ * @extends {BaseAPI}
26
+ */
27
+ var HeartbeatFinalApi = /** @class */ (function (_super) {
28
+ __extends(HeartbeatFinalApi, _super);
29
+ function HeartbeatFinalApi(configuration) {
30
+ return _super.call(this, configuration) || this;
31
+ }
32
+ /**
33
+ * @summary Get Final Live Encoding Heartbeat Download URL
34
+ * @param {string} encodingId Id of the encoding.
35
+ * @throws {BitmovinError}
36
+ * @memberof HeartbeatFinalApi
37
+ */
38
+ HeartbeatFinalApi.prototype.get = function (encodingId) {
39
+ var pathParamMap = {
40
+ encoding_id: encodingId
41
+ };
42
+ return this.restClient.get('/encoding/encodings/{encoding_id}/live/heartbeat-final', pathParamMap).then(function (response) {
43
+ return (0, Mapper_1.map)(response, LiveEncodingHeartbeatUrlResponse_1.default);
44
+ });
45
+ };
46
+ return HeartbeatFinalApi;
47
+ }(BaseAPI_1.BaseAPI));
48
+ exports.default = HeartbeatFinalApi;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @export
3
+ * @class LiveEncodingHeartbeatUrlResponse
4
+ */
5
+ export declare class LiveEncodingHeartbeatUrlResponse {
6
+ /**
7
+ * Presigned S3 URL to download the final heartbeat JSON of the live encoding. Valid for 10 minutes. (required)
8
+ * @type {string}
9
+ * @memberof LiveEncodingHeartbeatUrlResponse
10
+ */
11
+ url?: string;
12
+ constructor(obj?: Partial<LiveEncodingHeartbeatUrlResponse>);
13
+ }
14
+ export default LiveEncodingHeartbeatUrlResponse;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LiveEncodingHeartbeatUrlResponse = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class LiveEncodingHeartbeatUrlResponse
8
+ */
9
+ var LiveEncodingHeartbeatUrlResponse = /** @class */ (function () {
10
+ function LiveEncodingHeartbeatUrlResponse(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.url = (0, Mapper_1.map)(obj.url);
15
+ }
16
+ return LiveEncodingHeartbeatUrlResponse;
17
+ }());
18
+ exports.LiveEncodingHeartbeatUrlResponse = LiveEncodingHeartbeatUrlResponse;
19
+ exports.default = LiveEncodingHeartbeatUrlResponse;
@@ -523,6 +523,7 @@ export * from './LiveEncodingHeartbeatEventType';
523
523
  export * from './LiveEncodingHeartbeatIngest';
524
524
  export * from './LiveEncodingHeartbeatIngestPoint';
525
525
  export * from './LiveEncodingHeartbeatIngestStream';
526
+ export * from './LiveEncodingHeartbeatUrlResponse';
526
527
  export * from './LiveEncodingHeartbeatWebhook';
527
528
  export * from './LiveEncodingOptionsStatistics';
528
529
  export * from './LiveEncodingStats';
@@ -539,6 +539,7 @@ __exportStar(require("./LiveEncodingHeartbeatEventType"), exports);
539
539
  __exportStar(require("./LiveEncodingHeartbeatIngest"), exports);
540
540
  __exportStar(require("./LiveEncodingHeartbeatIngestPoint"), exports);
541
541
  __exportStar(require("./LiveEncodingHeartbeatIngestStream"), exports);
542
+ __exportStar(require("./LiveEncodingHeartbeatUrlResponse"), exports);
542
543
  __exportStar(require("./LiveEncodingHeartbeatWebhook"), exports);
543
544
  __exportStar(require("./LiveEncodingOptionsStatistics"), exports);
544
545
  __exportStar(require("./LiveEncodingStats"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.269.0",
3
+ "version": "1.270.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [