@bitmovin/api-sdk 1.209.0 → 1.211.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.
- package/README.md +1 -1
- package/dist/analytics/impressions/ImpressionsApi.d.ts +0 -2
- package/dist/analytics/impressions/ImpressionsApi.js +0 -2
- package/dist/bitmovin-api-sdk.browser.js +692 -268
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/infrastructure/InfrastructureApi.d.ts +2 -0
- package/dist/encoding/infrastructure/InfrastructureApi.js +2 -0
- package/dist/encoding/infrastructure/akamai/AkamaiAccountListQueryParams.d.ts +28 -0
- package/dist/encoding/infrastructure/akamai/AkamaiAccountListQueryParams.js +29 -0
- package/dist/encoding/infrastructure/akamai/AkamaiApi.d.ts +44 -0
- package/dist/encoding/infrastructure/akamai/AkamaiApi.js +96 -0
- package/dist/encoding/infrastructure/akamai/regions/AkamaiAccountRegionSettingsListQueryParams.d.ts +28 -0
- package/dist/encoding/infrastructure/akamai/regions/AkamaiAccountRegionSettingsListQueryParams.js +29 -0
- package/dist/encoding/infrastructure/akamai/regions/RegionsApi.d.ts +48 -0
- package/dist/encoding/infrastructure/akamai/regions/RegionsApi.js +107 -0
- package/dist/encoding/templates/EncodingTemplateResponseListQueryParams.d.ts +40 -0
- package/dist/encoding/templates/EncodingTemplateResponseListQueryParams.js +37 -0
- package/dist/encoding/templates/TemplatesApi.d.ts +33 -0
- package/dist/encoding/templates/TemplatesApi.js +62 -0
- package/dist/models/AkamaiAccount.d.ts +15 -0
- package/dist/models/AkamaiAccount.js +38 -0
- package/dist/models/AkamaiAccountRegionSettings.d.ts +27 -0
- package/dist/models/AkamaiAccountRegionSettings.js +40 -0
- package/dist/models/AkamaiCloudRegion.d.ts +20 -0
- package/dist/models/AkamaiCloudRegion.js +24 -0
- package/dist/models/CloudRegion.d.ts +9 -0
- package/dist/models/CloudRegion.js +9 -0
- package/dist/models/EncodingTemplateDetails.d.ts +15 -0
- package/dist/models/EncodingTemplateDetails.js +38 -0
- package/dist/models/EncodingTemplateResponse.d.ts +15 -0
- package/dist/models/EncodingTemplateResponse.js +38 -0
- package/dist/models/EncodingTemplateType.d.ts +10 -0
- package/dist/models/EncodingTemplateType.js +14 -0
- package/dist/models/LiveAutoShutdownConfiguration.d.ts +6 -0
- package/dist/models/LiveAutoShutdownConfiguration.js +1 -0
- package/dist/models/index.d.ts +6 -2
- package/dist/models/index.js +6 -2
- package/package.json +1 -1
- package/dist/analytics/impressions/ads/AdsApi.d.ts +0 -21
- package/dist/analytics/impressions/ads/AdsApi.js +0 -49
- package/dist/models/AnalyticsAdsImpressionSample.d.ts +0 -866
- package/dist/models/AnalyticsAdsImpressionSample.js +0 -161
- package/dist/models/AnalyticsAdsImpressionsResponse.d.ts +0 -14
- package/dist/models/AnalyticsAdsImpressionsResponse.js +0 -20
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import BitmovinResource from './BitmovinResource';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class AkamaiAccount
|
|
5
|
+
*/
|
|
6
|
+
export declare class AkamaiAccount extends BitmovinResource {
|
|
7
|
+
/**
|
|
8
|
+
* Akamai/Linode API token (required)
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @memberof AkamaiAccount
|
|
11
|
+
*/
|
|
12
|
+
apiToken?: string;
|
|
13
|
+
constructor(obj?: Partial<AkamaiAccount>);
|
|
14
|
+
}
|
|
15
|
+
export default AkamaiAccount;
|
|
@@ -0,0 +1,38 @@
|
|
|
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.AkamaiAccount = void 0;
|
|
19
|
+
var Mapper_1 = require("../common/Mapper");
|
|
20
|
+
var BitmovinResource_1 = require("./BitmovinResource");
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
* @class AkamaiAccount
|
|
24
|
+
*/
|
|
25
|
+
var AkamaiAccount = /** @class */ (function (_super) {
|
|
26
|
+
__extends(AkamaiAccount, _super);
|
|
27
|
+
function AkamaiAccount(obj) {
|
|
28
|
+
var _this = _super.call(this, obj) || this;
|
|
29
|
+
if (!obj) {
|
|
30
|
+
return _this;
|
|
31
|
+
}
|
|
32
|
+
_this.apiToken = (0, Mapper_1.map)(obj.apiToken);
|
|
33
|
+
return _this;
|
|
34
|
+
}
|
|
35
|
+
return AkamaiAccount;
|
|
36
|
+
}(BitmovinResource_1.default));
|
|
37
|
+
exports.AkamaiAccount = AkamaiAccount;
|
|
38
|
+
exports.default = AkamaiAccount;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import AkamaiCloudRegion from './AkamaiCloudRegion';
|
|
2
|
+
import BitmovinResource from './BitmovinResource';
|
|
3
|
+
/**
|
|
4
|
+
* @export
|
|
5
|
+
* @class AkamaiAccountRegionSettings
|
|
6
|
+
*/
|
|
7
|
+
export declare class AkamaiAccountRegionSettings extends BitmovinResource {
|
|
8
|
+
/**
|
|
9
|
+
* Id of the VPC subnet for encoding instances (required)
|
|
10
|
+
* @type {number}
|
|
11
|
+
* @memberof AkamaiAccountRegionSettings
|
|
12
|
+
*/
|
|
13
|
+
subnetId?: number;
|
|
14
|
+
/**
|
|
15
|
+
* Id of the firewall for encoding instances (required)
|
|
16
|
+
* @type {number}
|
|
17
|
+
* @memberof AkamaiAccountRegionSettings
|
|
18
|
+
*/
|
|
19
|
+
firewallId?: number;
|
|
20
|
+
/**
|
|
21
|
+
* @type {AkamaiCloudRegion}
|
|
22
|
+
* @memberof AkamaiAccountRegionSettings
|
|
23
|
+
*/
|
|
24
|
+
region?: AkamaiCloudRegion;
|
|
25
|
+
constructor(obj?: Partial<AkamaiAccountRegionSettings>);
|
|
26
|
+
}
|
|
27
|
+
export default AkamaiAccountRegionSettings;
|
|
@@ -0,0 +1,40 @@
|
|
|
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.AkamaiAccountRegionSettings = void 0;
|
|
19
|
+
var Mapper_1 = require("../common/Mapper");
|
|
20
|
+
var BitmovinResource_1 = require("./BitmovinResource");
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
* @class AkamaiAccountRegionSettings
|
|
24
|
+
*/
|
|
25
|
+
var AkamaiAccountRegionSettings = /** @class */ (function (_super) {
|
|
26
|
+
__extends(AkamaiAccountRegionSettings, _super);
|
|
27
|
+
function AkamaiAccountRegionSettings(obj) {
|
|
28
|
+
var _this = _super.call(this, obj) || this;
|
|
29
|
+
if (!obj) {
|
|
30
|
+
return _this;
|
|
31
|
+
}
|
|
32
|
+
_this.subnetId = (0, Mapper_1.map)(obj.subnetId);
|
|
33
|
+
_this.firewallId = (0, Mapper_1.map)(obj.firewallId);
|
|
34
|
+
_this.region = (0, Mapper_1.map)(obj.region);
|
|
35
|
+
return _this;
|
|
36
|
+
}
|
|
37
|
+
return AkamaiAccountRegionSettings;
|
|
38
|
+
}(BitmovinResource_1.default));
|
|
39
|
+
exports.AkamaiAccountRegionSettings = AkamaiAccountRegionSettings;
|
|
40
|
+
exports.default = AkamaiAccountRegionSettings;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @export
|
|
3
|
+
* @enum {string}
|
|
4
|
+
*/
|
|
5
|
+
export declare enum AkamaiCloudRegion {
|
|
6
|
+
BR_GRU = "BR_GRU",
|
|
7
|
+
ES_MAD = "ES_MAD",
|
|
8
|
+
FR_PAR = "FR_PAR",
|
|
9
|
+
ID_CGK = "ID_CGK",
|
|
10
|
+
IN_MAA = "IN_MAA",
|
|
11
|
+
IT_MIL = "IT_MIL",
|
|
12
|
+
JP_OSA = "JP_OSA",
|
|
13
|
+
NL_AMS = "NL_AMS",
|
|
14
|
+
SE_STO = "SE_STO",
|
|
15
|
+
US_LAX = "US_LAX",
|
|
16
|
+
US_MIA = "US_MIA",
|
|
17
|
+
US_ORD = "US_ORD",
|
|
18
|
+
US_SEA = "US_SEA"
|
|
19
|
+
}
|
|
20
|
+
export default AkamaiCloudRegion;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AkamaiCloudRegion = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var AkamaiCloudRegion;
|
|
9
|
+
(function (AkamaiCloudRegion) {
|
|
10
|
+
AkamaiCloudRegion["BR_GRU"] = "BR_GRU";
|
|
11
|
+
AkamaiCloudRegion["ES_MAD"] = "ES_MAD";
|
|
12
|
+
AkamaiCloudRegion["FR_PAR"] = "FR_PAR";
|
|
13
|
+
AkamaiCloudRegion["ID_CGK"] = "ID_CGK";
|
|
14
|
+
AkamaiCloudRegion["IN_MAA"] = "IN_MAA";
|
|
15
|
+
AkamaiCloudRegion["IT_MIL"] = "IT_MIL";
|
|
16
|
+
AkamaiCloudRegion["JP_OSA"] = "JP_OSA";
|
|
17
|
+
AkamaiCloudRegion["NL_AMS"] = "NL_AMS";
|
|
18
|
+
AkamaiCloudRegion["SE_STO"] = "SE_STO";
|
|
19
|
+
AkamaiCloudRegion["US_LAX"] = "US_LAX";
|
|
20
|
+
AkamaiCloudRegion["US_MIA"] = "US_MIA";
|
|
21
|
+
AkamaiCloudRegion["US_ORD"] = "US_ORD";
|
|
22
|
+
AkamaiCloudRegion["US_SEA"] = "US_SEA";
|
|
23
|
+
})(AkamaiCloudRegion || (exports.AkamaiCloudRegion = AkamaiCloudRegion = {}));
|
|
24
|
+
exports.default = AkamaiCloudRegion;
|
|
@@ -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";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import EncodingTemplateResponse from './EncodingTemplateResponse';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class EncodingTemplateDetails
|
|
5
|
+
*/
|
|
6
|
+
export declare class EncodingTemplateDetails extends EncodingTemplateResponse {
|
|
7
|
+
/**
|
|
8
|
+
* The url to download the template file (required)
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @memberof EncodingTemplateDetails
|
|
11
|
+
*/
|
|
12
|
+
url?: string;
|
|
13
|
+
constructor(obj?: Partial<EncodingTemplateDetails>);
|
|
14
|
+
}
|
|
15
|
+
export default EncodingTemplateDetails;
|
|
@@ -0,0 +1,38 @@
|
|
|
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.EncodingTemplateDetails = void 0;
|
|
19
|
+
var Mapper_1 = require("../common/Mapper");
|
|
20
|
+
var EncodingTemplateResponse_1 = require("./EncodingTemplateResponse");
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
* @class EncodingTemplateDetails
|
|
24
|
+
*/
|
|
25
|
+
var EncodingTemplateDetails = /** @class */ (function (_super) {
|
|
26
|
+
__extends(EncodingTemplateDetails, _super);
|
|
27
|
+
function EncodingTemplateDetails(obj) {
|
|
28
|
+
var _this = _super.call(this, obj) || this;
|
|
29
|
+
if (!obj) {
|
|
30
|
+
return _this;
|
|
31
|
+
}
|
|
32
|
+
_this.url = (0, Mapper_1.map)(obj.url);
|
|
33
|
+
return _this;
|
|
34
|
+
}
|
|
35
|
+
return EncodingTemplateDetails;
|
|
36
|
+
}(EncodingTemplateResponse_1.default));
|
|
37
|
+
exports.EncodingTemplateDetails = EncodingTemplateDetails;
|
|
38
|
+
exports.default = EncodingTemplateDetails;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import BitmovinResource from './BitmovinResource';
|
|
2
|
+
import EncodingTemplateType from './EncodingTemplateType';
|
|
3
|
+
/**
|
|
4
|
+
* @export
|
|
5
|
+
* @class EncodingTemplateResponse
|
|
6
|
+
*/
|
|
7
|
+
export declare class EncodingTemplateResponse extends BitmovinResource {
|
|
8
|
+
/**
|
|
9
|
+
* @type {EncodingTemplateType}
|
|
10
|
+
* @memberof EncodingTemplateResponse
|
|
11
|
+
*/
|
|
12
|
+
type?: EncodingTemplateType;
|
|
13
|
+
constructor(obj?: Partial<EncodingTemplateResponse>);
|
|
14
|
+
}
|
|
15
|
+
export default EncodingTemplateResponse;
|
|
@@ -0,0 +1,38 @@
|
|
|
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.EncodingTemplateResponse = void 0;
|
|
19
|
+
var Mapper_1 = require("../common/Mapper");
|
|
20
|
+
var BitmovinResource_1 = require("./BitmovinResource");
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
* @class EncodingTemplateResponse
|
|
24
|
+
*/
|
|
25
|
+
var EncodingTemplateResponse = /** @class */ (function (_super) {
|
|
26
|
+
__extends(EncodingTemplateResponse, _super);
|
|
27
|
+
function EncodingTemplateResponse(obj) {
|
|
28
|
+
var _this = _super.call(this, obj) || this;
|
|
29
|
+
if (!obj) {
|
|
30
|
+
return _this;
|
|
31
|
+
}
|
|
32
|
+
_this.type = (0, Mapper_1.map)(obj.type);
|
|
33
|
+
return _this;
|
|
34
|
+
}
|
|
35
|
+
return EncodingTemplateResponse;
|
|
36
|
+
}(BitmovinResource_1.default));
|
|
37
|
+
exports.EncodingTemplateResponse = EncodingTemplateResponse;
|
|
38
|
+
exports.default = EncodingTemplateResponse;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EncodingTemplateType = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* The Encoding Template type
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
var EncodingTemplateType;
|
|
10
|
+
(function (EncodingTemplateType) {
|
|
11
|
+
EncodingTemplateType["VOD"] = "VOD";
|
|
12
|
+
EncodingTemplateType["LIVE"] = "LIVE";
|
|
13
|
+
})(EncodingTemplateType || (exports.EncodingTemplateType = EncodingTemplateType = {}));
|
|
14
|
+
exports.default = EncodingTemplateType;
|
|
@@ -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
|
}());
|
package/dist/models/index.d.ts
CHANGED
|
@@ -39,14 +39,15 @@ export * from './AdaptationSetTypeResponse';
|
|
|
39
39
|
export * from './AdaptiveQuantMode';
|
|
40
40
|
export * from './AesEncryptionDrm';
|
|
41
41
|
export * from './AesEncryptionMethod';
|
|
42
|
+
export * from './AkamaiAccount';
|
|
43
|
+
export * from './AkamaiAccountRegionSettings';
|
|
44
|
+
export * from './AkamaiCloudRegion';
|
|
42
45
|
export * from './AkamaiMslOutput';
|
|
43
46
|
export * from './AkamaiMslStreamFormat';
|
|
44
47
|
export * from './AkamaiMslVersion';
|
|
45
48
|
export * from './AkamaiNetStorageInput';
|
|
46
49
|
export * from './AkamaiNetStorageOutput';
|
|
47
50
|
export * from './AnalyticsAbstractFilter';
|
|
48
|
-
export * from './AnalyticsAdsImpressionSample';
|
|
49
|
-
export * from './AnalyticsAdsImpressionsResponse';
|
|
50
51
|
export * from './AnalyticsAttribute';
|
|
51
52
|
export * from './AnalyticsAvgConcurrentViewersResponse';
|
|
52
53
|
export * from './AnalyticsAvgDroppedFramesResponse';
|
|
@@ -349,8 +350,11 @@ export * from './EncodingStats';
|
|
|
349
350
|
export * from './EncodingStreamInput';
|
|
350
351
|
export * from './EncodingStreamInputDetails';
|
|
351
352
|
export * from './EncodingTemplate';
|
|
353
|
+
export * from './EncodingTemplateDetails';
|
|
352
354
|
export * from './EncodingTemplateRequest';
|
|
355
|
+
export * from './EncodingTemplateResponse';
|
|
353
356
|
export * from './EncodingTemplateStartResponse';
|
|
357
|
+
export * from './EncodingTemplateType';
|
|
354
358
|
export * from './EncodingType';
|
|
355
359
|
export * from './EncryptionMode';
|
|
356
360
|
export * from './EnhancedDeinterlaceAutoEnable';
|
package/dist/models/index.js
CHANGED
|
@@ -55,14 +55,15 @@ __exportStar(require("./AdaptationSetTypeResponse"), exports);
|
|
|
55
55
|
__exportStar(require("./AdaptiveQuantMode"), exports);
|
|
56
56
|
__exportStar(require("./AesEncryptionDrm"), exports);
|
|
57
57
|
__exportStar(require("./AesEncryptionMethod"), exports);
|
|
58
|
+
__exportStar(require("./AkamaiAccount"), exports);
|
|
59
|
+
__exportStar(require("./AkamaiAccountRegionSettings"), exports);
|
|
60
|
+
__exportStar(require("./AkamaiCloudRegion"), exports);
|
|
58
61
|
__exportStar(require("./AkamaiMslOutput"), exports);
|
|
59
62
|
__exportStar(require("./AkamaiMslStreamFormat"), exports);
|
|
60
63
|
__exportStar(require("./AkamaiMslVersion"), exports);
|
|
61
64
|
__exportStar(require("./AkamaiNetStorageInput"), exports);
|
|
62
65
|
__exportStar(require("./AkamaiNetStorageOutput"), exports);
|
|
63
66
|
__exportStar(require("./AnalyticsAbstractFilter"), exports);
|
|
64
|
-
__exportStar(require("./AnalyticsAdsImpressionSample"), exports);
|
|
65
|
-
__exportStar(require("./AnalyticsAdsImpressionsResponse"), exports);
|
|
66
67
|
__exportStar(require("./AnalyticsAttribute"), exports);
|
|
67
68
|
__exportStar(require("./AnalyticsAvgConcurrentViewersResponse"), exports);
|
|
68
69
|
__exportStar(require("./AnalyticsAvgDroppedFramesResponse"), exports);
|
|
@@ -365,8 +366,11 @@ __exportStar(require("./EncodingStats"), exports);
|
|
|
365
366
|
__exportStar(require("./EncodingStreamInput"), exports);
|
|
366
367
|
__exportStar(require("./EncodingStreamInputDetails"), exports);
|
|
367
368
|
__exportStar(require("./EncodingTemplate"), exports);
|
|
369
|
+
__exportStar(require("./EncodingTemplateDetails"), exports);
|
|
368
370
|
__exportStar(require("./EncodingTemplateRequest"), exports);
|
|
371
|
+
__exportStar(require("./EncodingTemplateResponse"), exports);
|
|
369
372
|
__exportStar(require("./EncodingTemplateStartResponse"), exports);
|
|
373
|
+
__exportStar(require("./EncodingTemplateType"), exports);
|
|
370
374
|
__exportStar(require("./EncodingType"), exports);
|
|
371
375
|
__exportStar(require("./EncryptionMode"), exports);
|
|
372
376
|
__exportStar(require("./EnhancedDeinterlaceAutoEnable"), exports);
|
package/package.json
CHANGED
|
@@ -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;
|