@bitmovin/api-sdk 1.208.0 → 1.210.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.208.0',
243
+ 'X-Api-Client-Version': '1.210.0',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -63,8 +63,17 @@ export declare enum CloudRegion {
63
63
  AZURE_US_NORTH_CENTRAL = "AZURE_US_NORTH_CENTRAL",
64
64
  AZURE_UK_SOUTH = "AZURE_UK_SOUTH",
65
65
  AKAMAI_BR_GRU = "AKAMAI_BR_GRU",
66
+ AKAMAI_ES_MAD = "AKAMAI_ES_MAD",
66
67
  AKAMAI_FR_PAR = "AKAMAI_FR_PAR",
68
+ AKAMAI_ID_CGK = "AKAMAI_ID_CGK",
69
+ AKAMAI_IN_MAA = "AKAMAI_IN_MAA",
70
+ AKAMAI_IT_MIL = "AKAMAI_IT_MIL",
67
71
  AKAMAI_JP_OSA = "AKAMAI_JP_OSA",
72
+ AKAMAI_NL_AMS = "AKAMAI_NL_AMS",
73
+ AKAMAI_SE_STO = "AKAMAI_SE_STO",
74
+ AKAMAI_US_LAX = "AKAMAI_US_LAX",
75
+ AKAMAI_US_MIA = "AKAMAI_US_MIA",
76
+ AKAMAI_US_ORD = "AKAMAI_US_ORD",
68
77
  AKAMAI_US_SEA = "AKAMAI_US_SEA",
69
78
  OCI_EU_FRANKFURT_1 = "OCI_EU_FRANKFURT_1",
70
79
  OCI_US_ASHBURN_1 = "OCI_US_ASHBURN_1",
@@ -67,8 +67,17 @@ var CloudRegion;
67
67
  CloudRegion["AZURE_US_NORTH_CENTRAL"] = "AZURE_US_NORTH_CENTRAL";
68
68
  CloudRegion["AZURE_UK_SOUTH"] = "AZURE_UK_SOUTH";
69
69
  CloudRegion["AKAMAI_BR_GRU"] = "AKAMAI_BR_GRU";
70
+ CloudRegion["AKAMAI_ES_MAD"] = "AKAMAI_ES_MAD";
70
71
  CloudRegion["AKAMAI_FR_PAR"] = "AKAMAI_FR_PAR";
72
+ CloudRegion["AKAMAI_ID_CGK"] = "AKAMAI_ID_CGK";
73
+ CloudRegion["AKAMAI_IN_MAA"] = "AKAMAI_IN_MAA";
74
+ CloudRegion["AKAMAI_IT_MIL"] = "AKAMAI_IT_MIL";
71
75
  CloudRegion["AKAMAI_JP_OSA"] = "AKAMAI_JP_OSA";
76
+ CloudRegion["AKAMAI_NL_AMS"] = "AKAMAI_NL_AMS";
77
+ CloudRegion["AKAMAI_SE_STO"] = "AKAMAI_SE_STO";
78
+ CloudRegion["AKAMAI_US_LAX"] = "AKAMAI_US_LAX";
79
+ CloudRegion["AKAMAI_US_MIA"] = "AKAMAI_US_MIA";
80
+ CloudRegion["AKAMAI_US_ORD"] = "AKAMAI_US_ORD";
72
81
  CloudRegion["AKAMAI_US_SEA"] = "AKAMAI_US_SEA";
73
82
  CloudRegion["OCI_EU_FRANKFURT_1"] = "OCI_EU_FRANKFURT_1";
74
83
  CloudRegion["OCI_US_ASHBURN_1"] = "OCI_US_ASHBURN_1";
@@ -15,6 +15,12 @@ export declare class LiveAutoShutdownConfiguration {
15
15
  * @memberof LiveAutoShutdownConfiguration
16
16
  */
17
17
  streamTimeoutMinutes?: number;
18
+ /**
19
+ * Automatically shutdown the live stream if input is never connected for a predefined number of minutes.
20
+ * @type {number}
21
+ * @memberof LiveAutoShutdownConfiguration
22
+ */
23
+ waitingForFirstConnectTimeoutMinutes?: number;
18
24
  constructor(obj?: Partial<LiveAutoShutdownConfiguration>);
19
25
  }
20
26
  export default LiveAutoShutdownConfiguration;
@@ -13,6 +13,7 @@ var LiveAutoShutdownConfiguration = /** @class */ (function () {
13
13
  }
14
14
  this.bytesReadTimeoutSeconds = (0, Mapper_1.map)(obj.bytesReadTimeoutSeconds);
15
15
  this.streamTimeoutMinutes = (0, Mapper_1.map)(obj.streamTimeoutMinutes);
16
+ this.waitingForFirstConnectTimeoutMinutes = (0, Mapper_1.map)(obj.waitingForFirstConnectTimeoutMinutes);
16
17
  }
17
18
  return LiveAutoShutdownConfiguration;
18
19
  }());
@@ -45,8 +45,6 @@ export * from './AkamaiMslVersion';
45
45
  export * from './AkamaiNetStorageInput';
46
46
  export * from './AkamaiNetStorageOutput';
47
47
  export * from './AnalyticsAbstractFilter';
48
- export * from './AnalyticsAdsImpressionSample';
49
- export * from './AnalyticsAdsImpressionsResponse';
50
48
  export * from './AnalyticsAttribute';
51
49
  export * from './AnalyticsAvgConcurrentViewersResponse';
52
50
  export * from './AnalyticsAvgDroppedFramesResponse';
@@ -61,8 +61,6 @@ __exportStar(require("./AkamaiMslVersion"), exports);
61
61
  __exportStar(require("./AkamaiNetStorageInput"), exports);
62
62
  __exportStar(require("./AkamaiNetStorageOutput"), exports);
63
63
  __exportStar(require("./AnalyticsAbstractFilter"), exports);
64
- __exportStar(require("./AnalyticsAdsImpressionSample"), exports);
65
- __exportStar(require("./AnalyticsAdsImpressionsResponse"), exports);
66
64
  __exportStar(require("./AnalyticsAttribute"), exports);
67
65
  __exportStar(require("./AnalyticsAvgConcurrentViewersResponse"), exports);
68
66
  __exportStar(require("./AnalyticsAvgDroppedFramesResponse"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.208.0",
3
+ "version": "1.210.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [
@@ -1,21 +0,0 @@
1
- import { BaseAPI } from '../../../common/BaseAPI';
2
- import Configuration from '../../../common/Configuration';
3
- import AnalyticsAdsImpressionsResponse from '../../../models/AnalyticsAdsImpressionsResponse';
4
- import AnalyticsLicenseKey from '../../../models/AnalyticsLicenseKey';
5
- /**
6
- * AdsApi - object-oriented interface
7
- * @export
8
- * @class AdsApi
9
- * @extends {BaseAPI}
10
- */
11
- export default class AdsApi extends BaseAPI {
12
- constructor(configuration: Configuration);
13
- /**
14
- * @summary Ads Impressions
15
- * @param {string} impressionId Impression id
16
- * @param {AnalyticsLicenseKey} analyticsLicenseKey Analytics license
17
- * @throws {BitmovinError}
18
- * @memberof AdsApi
19
- */
20
- create(impressionId: string, analyticsLicenseKey?: AnalyticsLicenseKey): Promise<AnalyticsAdsImpressionsResponse>;
21
- }
@@ -1,49 +0,0 @@
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 AnalyticsAdsImpressionsResponse_1 = require("../../../models/AnalyticsAdsImpressionsResponse");
21
- /**
22
- * AdsApi - object-oriented interface
23
- * @export
24
- * @class AdsApi
25
- * @extends {BaseAPI}
26
- */
27
- var AdsApi = /** @class */ (function (_super) {
28
- __extends(AdsApi, _super);
29
- function AdsApi(configuration) {
30
- return _super.call(this, configuration) || this;
31
- }
32
- /**
33
- * @summary Ads Impressions
34
- * @param {string} impressionId Impression id
35
- * @param {AnalyticsLicenseKey} analyticsLicenseKey Analytics license
36
- * @throws {BitmovinError}
37
- * @memberof AdsApi
38
- */
39
- AdsApi.prototype.create = function (impressionId, analyticsLicenseKey) {
40
- var pathParamMap = {
41
- impression_id: impressionId
42
- };
43
- return this.restClient.post('/analytics/impressions/{impression_id}/ads', pathParamMap, analyticsLicenseKey).then(function (response) {
44
- return (0, Mapper_1.map)(response, AnalyticsAdsImpressionsResponse_1.default);
45
- });
46
- };
47
- return AdsApi;
48
- }(BaseAPI_1.BaseAPI));
49
- exports.default = AdsApi;