@bitmovin/api-sdk 1.223.0 → 1.225.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/bitmovin-api-sdk.browser.js +740 -1
- 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/oci/OciAccountListQueryParams.d.ts +28 -0
- package/dist/encoding/infrastructure/oci/OciAccountListQueryParams.js +29 -0
- package/dist/encoding/infrastructure/oci/OciApi.d.ts +44 -0
- package/dist/encoding/infrastructure/oci/OciApi.js +96 -0
- package/dist/encoding/infrastructure/oci/regions/OciAccountRegionSettingsListQueryParams.d.ts +28 -0
- package/dist/encoding/infrastructure/oci/regions/OciAccountRegionSettingsListQueryParams.js +29 -0
- package/dist/encoding/infrastructure/oci/regions/RegionsApi.d.ts +48 -0
- package/dist/encoding/infrastructure/oci/regions/RegionsApi.js +107 -0
- package/dist/models/AnalyticsAttribute.d.ts +21 -0
- package/dist/models/AnalyticsAttribute.js +21 -0
- package/dist/models/CacheControl.d.ts +14 -0
- package/dist/models/CacheControl.js +19 -0
- package/dist/models/CacheControlSettings.d.ts +29 -0
- package/dist/models/CacheControlSettings.js +24 -0
- package/dist/models/CacheControlSettingsDash.d.ts +21 -0
- package/dist/models/CacheControlSettingsDash.js +21 -0
- package/dist/models/CacheControlSettingsHls.d.ts +21 -0
- package/dist/models/CacheControlSettingsHls.js +21 -0
- package/dist/models/CacheControlSettingsSegments.d.ts +21 -0
- package/dist/models/CacheControlSettingsSegments.js +21 -0
- package/dist/models/EsamSettings.d.ts +39 -0
- package/dist/models/EsamSettings.js +24 -0
- package/dist/models/OciAccount.d.ts +21 -0
- package/dist/models/OciAccount.js +39 -0
- package/dist/models/OciAccountRegionSettings.d.ts +22 -0
- package/dist/models/OciAccountRegionSettings.js +39 -0
- package/dist/models/OciCloudRegion.d.ts +9 -0
- package/dist/models/OciCloudRegion.js +13 -0
- package/dist/models/PlayerLicenseUpdateRequest.d.ts +14 -0
- package/dist/models/PlayerLicenseUpdateRequest.js +19 -0
- package/dist/models/PoisEndpointCredentials.d.ts +20 -0
- package/dist/models/PoisEndpointCredentials.js +20 -0
- package/dist/models/StartLiveEncodingRequest.d.ts +14 -0
- package/dist/models/StartLiveEncodingRequest.js +4 -0
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- package/dist/player/licenses/LicensesApi.d.ts +9 -0
- package/dist/player/licenses/LicensesApi.js +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import CacheControl from './CacheControl';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class CacheControlSettingsHls
|
|
5
|
+
*/
|
|
6
|
+
export declare class CacheControlSettingsHls {
|
|
7
|
+
/**
|
|
8
|
+
* Cache control settings for HLS Multivariant playlist.
|
|
9
|
+
* @type {CacheControl}
|
|
10
|
+
* @memberof CacheControlSettingsHls
|
|
11
|
+
*/
|
|
12
|
+
multiVariantPlaylist?: CacheControl;
|
|
13
|
+
/**
|
|
14
|
+
* Cache control settings for HLS Media playlist.
|
|
15
|
+
* @type {CacheControl}
|
|
16
|
+
* @memberof CacheControlSettingsHls
|
|
17
|
+
*/
|
|
18
|
+
variantPlaylist?: CacheControl;
|
|
19
|
+
constructor(obj?: Partial<CacheControlSettingsHls>);
|
|
20
|
+
}
|
|
21
|
+
export default CacheControlSettingsHls;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CacheControlSettingsHls = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
var CacheControl_1 = require("./CacheControl");
|
|
6
|
+
/**
|
|
7
|
+
* @export
|
|
8
|
+
* @class CacheControlSettingsHls
|
|
9
|
+
*/
|
|
10
|
+
var CacheControlSettingsHls = /** @class */ (function () {
|
|
11
|
+
function CacheControlSettingsHls(obj) {
|
|
12
|
+
if (!obj) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
this.multiVariantPlaylist = (0, Mapper_1.map)(obj.multiVariantPlaylist, CacheControl_1.default);
|
|
16
|
+
this.variantPlaylist = (0, Mapper_1.map)(obj.variantPlaylist, CacheControl_1.default);
|
|
17
|
+
}
|
|
18
|
+
return CacheControlSettingsHls;
|
|
19
|
+
}());
|
|
20
|
+
exports.CacheControlSettingsHls = CacheControlSettingsHls;
|
|
21
|
+
exports.default = CacheControlSettingsHls;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import CacheControl from './CacheControl';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class CacheControlSettingsSegments
|
|
5
|
+
*/
|
|
6
|
+
export declare class CacheControlSettingsSegments {
|
|
7
|
+
/**
|
|
8
|
+
* Cache control settings for init segment.
|
|
9
|
+
* @type {CacheControl}
|
|
10
|
+
* @memberof CacheControlSettingsSegments
|
|
11
|
+
*/
|
|
12
|
+
initSegment?: CacheControl;
|
|
13
|
+
/**
|
|
14
|
+
* Cache control settings for media segment.
|
|
15
|
+
* @type {CacheControl}
|
|
16
|
+
* @memberof CacheControlSettingsSegments
|
|
17
|
+
*/
|
|
18
|
+
mediaSegment?: CacheControl;
|
|
19
|
+
constructor(obj?: Partial<CacheControlSettingsSegments>);
|
|
20
|
+
}
|
|
21
|
+
export default CacheControlSettingsSegments;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CacheControlSettingsSegments = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
var CacheControl_1 = require("./CacheControl");
|
|
6
|
+
/**
|
|
7
|
+
* @export
|
|
8
|
+
* @class CacheControlSettingsSegments
|
|
9
|
+
*/
|
|
10
|
+
var CacheControlSettingsSegments = /** @class */ (function () {
|
|
11
|
+
function CacheControlSettingsSegments(obj) {
|
|
12
|
+
if (!obj) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
this.initSegment = (0, Mapper_1.map)(obj.initSegment, CacheControl_1.default);
|
|
16
|
+
this.mediaSegment = (0, Mapper_1.map)(obj.mediaSegment, CacheControl_1.default);
|
|
17
|
+
}
|
|
18
|
+
return CacheControlSettingsSegments;
|
|
19
|
+
}());
|
|
20
|
+
exports.CacheControlSettingsSegments = CacheControlSettingsSegments;
|
|
21
|
+
exports.default = CacheControlSettingsSegments;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import PoisEndpointCredentials from './PoisEndpointCredentials';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class EsamSettings
|
|
5
|
+
*/
|
|
6
|
+
export declare class EsamSettings {
|
|
7
|
+
/**
|
|
8
|
+
* The URL of the Placement Opportunity Information System (POIS) signal processing endpoint. The encoder transmits SignalProcessingEvents to this endpoint whenever SCTE-35 messages are detected.
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @memberof EsamSettings
|
|
11
|
+
*/
|
|
12
|
+
poisEndpoint?: string;
|
|
13
|
+
/**
|
|
14
|
+
* A unique identifier representing the `Acquisition Point Identity` defined in the ESAM specification.
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof EsamSettings
|
|
17
|
+
*/
|
|
18
|
+
acquisitionPointIdentity?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Specifies the `Zone Identity` defined in the ESAM specification.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof EsamSettings
|
|
23
|
+
*/
|
|
24
|
+
zoneIdentity?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Defines an offset (in milliseconds) to be applied to the stream event timestamp. This offset adjusts the `StreamTime` values (such as PTS) associated with ad opportunities or content insertions. It is used to fine-tune timing for embedded SCTE-104/35 messages to ensure precise frame alignment in the transport stream.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof EsamSettings
|
|
29
|
+
*/
|
|
30
|
+
adAvailOffset?: number;
|
|
31
|
+
/**
|
|
32
|
+
* If authentication is required to access the POIS endpoint, credentials must be provided.
|
|
33
|
+
* @type {PoisEndpointCredentials}
|
|
34
|
+
* @memberof EsamSettings
|
|
35
|
+
*/
|
|
36
|
+
poisEndpointCredentials?: PoisEndpointCredentials;
|
|
37
|
+
constructor(obj?: Partial<EsamSettings>);
|
|
38
|
+
}
|
|
39
|
+
export default EsamSettings;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EsamSettings = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
var PoisEndpointCredentials_1 = require("./PoisEndpointCredentials");
|
|
6
|
+
/**
|
|
7
|
+
* @export
|
|
8
|
+
* @class EsamSettings
|
|
9
|
+
*/
|
|
10
|
+
var EsamSettings = /** @class */ (function () {
|
|
11
|
+
function EsamSettings(obj) {
|
|
12
|
+
if (!obj) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
this.poisEndpoint = (0, Mapper_1.map)(obj.poisEndpoint);
|
|
16
|
+
this.acquisitionPointIdentity = (0, Mapper_1.map)(obj.acquisitionPointIdentity);
|
|
17
|
+
this.zoneIdentity = (0, Mapper_1.map)(obj.zoneIdentity);
|
|
18
|
+
this.adAvailOffset = (0, Mapper_1.map)(obj.adAvailOffset);
|
|
19
|
+
this.poisEndpointCredentials = (0, Mapper_1.map)(obj.poisEndpointCredentials, PoisEndpointCredentials_1.default);
|
|
20
|
+
}
|
|
21
|
+
return EsamSettings;
|
|
22
|
+
}());
|
|
23
|
+
exports.EsamSettings = EsamSettings;
|
|
24
|
+
exports.default = EsamSettings;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import BitmovinResource from './BitmovinResource';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class OciAccount
|
|
5
|
+
*/
|
|
6
|
+
export declare class OciAccount extends BitmovinResource {
|
|
7
|
+
/**
|
|
8
|
+
* The OCID of the tenancy where you intend to run encoding VMs. (required)
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @memberof OciAccount
|
|
11
|
+
*/
|
|
12
|
+
tenancyId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The OCID of the compartment within the tenancy where you intend to run encoding VMs. (required)
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof OciAccount
|
|
17
|
+
*/
|
|
18
|
+
compartmentId?: string;
|
|
19
|
+
constructor(obj?: Partial<OciAccount>);
|
|
20
|
+
}
|
|
21
|
+
export default OciAccount;
|
|
@@ -0,0 +1,39 @@
|
|
|
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.OciAccount = void 0;
|
|
19
|
+
var Mapper_1 = require("../common/Mapper");
|
|
20
|
+
var BitmovinResource_1 = require("./BitmovinResource");
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
* @class OciAccount
|
|
24
|
+
*/
|
|
25
|
+
var OciAccount = /** @class */ (function (_super) {
|
|
26
|
+
__extends(OciAccount, _super);
|
|
27
|
+
function OciAccount(obj) {
|
|
28
|
+
var _this = _super.call(this, obj) || this;
|
|
29
|
+
if (!obj) {
|
|
30
|
+
return _this;
|
|
31
|
+
}
|
|
32
|
+
_this.tenancyId = (0, Mapper_1.map)(obj.tenancyId);
|
|
33
|
+
_this.compartmentId = (0, Mapper_1.map)(obj.compartmentId);
|
|
34
|
+
return _this;
|
|
35
|
+
}
|
|
36
|
+
return OciAccount;
|
|
37
|
+
}(BitmovinResource_1.default));
|
|
38
|
+
exports.OciAccount = OciAccount;
|
|
39
|
+
exports.default = OciAccount;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import BitmovinResource from './BitmovinResource';
|
|
2
|
+
import OciCloudRegion from './OciCloudRegion';
|
|
3
|
+
/**
|
|
4
|
+
* @export
|
|
5
|
+
* @class OciAccountRegionSettings
|
|
6
|
+
*/
|
|
7
|
+
export declare class OciAccountRegionSettings extends BitmovinResource {
|
|
8
|
+
/**
|
|
9
|
+
* Id of the VPC subnet for encoding instances. (required)
|
|
10
|
+
* @type {string}
|
|
11
|
+
* @memberof OciAccountRegionSettings
|
|
12
|
+
*/
|
|
13
|
+
subnetId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Region for encoding instances.
|
|
16
|
+
* @type {OciCloudRegion}
|
|
17
|
+
* @memberof OciAccountRegionSettings
|
|
18
|
+
*/
|
|
19
|
+
region?: OciCloudRegion;
|
|
20
|
+
constructor(obj?: Partial<OciAccountRegionSettings>);
|
|
21
|
+
}
|
|
22
|
+
export default OciAccountRegionSettings;
|
|
@@ -0,0 +1,39 @@
|
|
|
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.OciAccountRegionSettings = void 0;
|
|
19
|
+
var Mapper_1 = require("../common/Mapper");
|
|
20
|
+
var BitmovinResource_1 = require("./BitmovinResource");
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
* @class OciAccountRegionSettings
|
|
24
|
+
*/
|
|
25
|
+
var OciAccountRegionSettings = /** @class */ (function (_super) {
|
|
26
|
+
__extends(OciAccountRegionSettings, _super);
|
|
27
|
+
function OciAccountRegionSettings(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.region = (0, Mapper_1.map)(obj.region);
|
|
34
|
+
return _this;
|
|
35
|
+
}
|
|
36
|
+
return OciAccountRegionSettings;
|
|
37
|
+
}(BitmovinResource_1.default));
|
|
38
|
+
exports.OciAccountRegionSettings = OciAccountRegionSettings;
|
|
39
|
+
exports.default = OciAccountRegionSettings;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OciCloudRegion = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var OciCloudRegion;
|
|
9
|
+
(function (OciCloudRegion) {
|
|
10
|
+
OciCloudRegion["EU_FRANKFURT_1"] = "EU_FRANKFURT_1";
|
|
11
|
+
OciCloudRegion["US_ASHBURN_1"] = "US_ASHBURN_1";
|
|
12
|
+
})(OciCloudRegion || (exports.OciCloudRegion = OciCloudRegion = {}));
|
|
13
|
+
exports.default = OciCloudRegion;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @export
|
|
3
|
+
* @class PlayerLicenseUpdateRequest
|
|
4
|
+
*/
|
|
5
|
+
export declare class PlayerLicenseUpdateRequest {
|
|
6
|
+
/**
|
|
7
|
+
* Name of the License (required)
|
|
8
|
+
* @type {string}
|
|
9
|
+
* @memberof PlayerLicenseUpdateRequest
|
|
10
|
+
*/
|
|
11
|
+
name?: string;
|
|
12
|
+
constructor(obj?: Partial<PlayerLicenseUpdateRequest>);
|
|
13
|
+
}
|
|
14
|
+
export default PlayerLicenseUpdateRequest;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlayerLicenseUpdateRequest = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @class PlayerLicenseUpdateRequest
|
|
8
|
+
*/
|
|
9
|
+
var PlayerLicenseUpdateRequest = /** @class */ (function () {
|
|
10
|
+
function PlayerLicenseUpdateRequest(obj) {
|
|
11
|
+
if (!obj) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
this.name = (0, Mapper_1.map)(obj.name);
|
|
15
|
+
}
|
|
16
|
+
return PlayerLicenseUpdateRequest;
|
|
17
|
+
}());
|
|
18
|
+
exports.PlayerLicenseUpdateRequest = PlayerLicenseUpdateRequest;
|
|
19
|
+
exports.default = PlayerLicenseUpdateRequest;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @export
|
|
3
|
+
* @class PoisEndpointCredentials
|
|
4
|
+
*/
|
|
5
|
+
export declare class PoisEndpointCredentials {
|
|
6
|
+
/**
|
|
7
|
+
* The username required to authenticate with the POIS server.
|
|
8
|
+
* @type {string}
|
|
9
|
+
* @memberof PoisEndpointCredentials
|
|
10
|
+
*/
|
|
11
|
+
username?: string;
|
|
12
|
+
/**
|
|
13
|
+
* The password required for authentication with the POIS server.
|
|
14
|
+
* @type {string}
|
|
15
|
+
* @memberof PoisEndpointCredentials
|
|
16
|
+
*/
|
|
17
|
+
password?: string;
|
|
18
|
+
constructor(obj?: Partial<PoisEndpointCredentials>);
|
|
19
|
+
}
|
|
20
|
+
export default PoisEndpointCredentials;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PoisEndpointCredentials = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @class PoisEndpointCredentials
|
|
8
|
+
*/
|
|
9
|
+
var PoisEndpointCredentials = /** @class */ (function () {
|
|
10
|
+
function PoisEndpointCredentials(obj) {
|
|
11
|
+
if (!obj) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
this.username = (0, Mapper_1.map)(obj.username);
|
|
15
|
+
this.password = (0, Mapper_1.map)(obj.password);
|
|
16
|
+
}
|
|
17
|
+
return PoisEndpointCredentials;
|
|
18
|
+
}());
|
|
19
|
+
exports.PoisEndpointCredentials = PoisEndpointCredentials;
|
|
20
|
+
exports.default = PoisEndpointCredentials;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import AutoRestartConfiguration from './AutoRestartConfiguration';
|
|
2
|
+
import CacheControlSettings from './CacheControlSettings';
|
|
2
3
|
import EncodingMode from './EncodingMode';
|
|
4
|
+
import EsamSettings from './EsamSettings';
|
|
3
5
|
import LiveAutoShutdownConfiguration from './LiveAutoShutdownConfiguration';
|
|
4
6
|
import LiveDashManifest from './LiveDashManifest';
|
|
5
7
|
import LiveHlsManifest from './LiveHlsManifest';
|
|
@@ -58,6 +60,18 @@ export declare class StartLiveEncodingRequest {
|
|
|
58
60
|
* @memberof StartLiveEncodingRequest
|
|
59
61
|
*/
|
|
60
62
|
autoShutdownConfiguration?: LiveAutoShutdownConfiguration;
|
|
63
|
+
/**
|
|
64
|
+
* Configuration for Event Signaling and Management (ESAM) system, allowing the encoder to communicate with an ESAM server for signal processing and dynamic ad insertion update.'
|
|
65
|
+
* @type {EsamSettings}
|
|
66
|
+
* @memberof StartLiveEncodingRequest
|
|
67
|
+
*/
|
|
68
|
+
esamSettings?: EsamSettings;
|
|
69
|
+
/**
|
|
70
|
+
* Configuration of cache control policies for media segments, HLS, and DASH manifests. You can set caching for the HLS multivariant playlist, HLS media playlist, DASH timeline manifest, DASH template manifest, initialization segment, and media segment.
|
|
71
|
+
* @type {CacheControlSettings}
|
|
72
|
+
* @memberof StartLiveEncodingRequest
|
|
73
|
+
*/
|
|
74
|
+
cacheControlSettings?: CacheControlSettings;
|
|
61
75
|
constructor(obj?: Partial<StartLiveEncodingRequest>);
|
|
62
76
|
}
|
|
63
77
|
export default StartLiveEncodingRequest;
|
|
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StartLiveEncodingRequest = void 0;
|
|
4
4
|
var Mapper_1 = require("../common/Mapper");
|
|
5
5
|
var AutoRestartConfiguration_1 = require("./AutoRestartConfiguration");
|
|
6
|
+
var CacheControlSettings_1 = require("./CacheControlSettings");
|
|
7
|
+
var EsamSettings_1 = require("./EsamSettings");
|
|
6
8
|
var LiveAutoShutdownConfiguration_1 = require("./LiveAutoShutdownConfiguration");
|
|
7
9
|
var LiveDashManifest_1 = require("./LiveDashManifest");
|
|
8
10
|
var LiveHlsManifest_1 = require("./LiveHlsManifest");
|
|
@@ -24,6 +26,8 @@ var StartLiveEncodingRequest = /** @class */ (function () {
|
|
|
24
26
|
this.manifestGenerator = (0, Mapper_1.map)(obj.manifestGenerator);
|
|
25
27
|
this.autoRestartConfiguration = (0, Mapper_1.map)(obj.autoRestartConfiguration, AutoRestartConfiguration_1.default);
|
|
26
28
|
this.autoShutdownConfiguration = (0, Mapper_1.map)(obj.autoShutdownConfiguration, LiveAutoShutdownConfiguration_1.default);
|
|
29
|
+
this.esamSettings = (0, Mapper_1.map)(obj.esamSettings, EsamSettings_1.default);
|
|
30
|
+
this.cacheControlSettings = (0, Mapper_1.map)(obj.cacheControlSettings, CacheControlSettings_1.default);
|
|
27
31
|
}
|
|
28
32
|
return StartLiveEncodingRequest;
|
|
29
33
|
}());
|
package/dist/models/index.d.ts
CHANGED
|
@@ -181,6 +181,11 @@ export * from './BroadcastTsTransportConfiguration';
|
|
|
181
181
|
export * from './BroadcastTsVideoInputStreamConfiguration';
|
|
182
182
|
export * from './BurnInSubtitleDvbSub';
|
|
183
183
|
export * from './BurnInSubtitleSrt';
|
|
184
|
+
export * from './CacheControl';
|
|
185
|
+
export * from './CacheControlSettings';
|
|
186
|
+
export * from './CacheControlSettingsDash';
|
|
187
|
+
export * from './CacheControlSettingsHls';
|
|
188
|
+
export * from './CacheControlSettingsSegments';
|
|
184
189
|
export * from './CaptionCharacterEncoding';
|
|
185
190
|
export * from './CdnOutput';
|
|
186
191
|
export * from './CdnProvider';
|
|
@@ -373,6 +378,7 @@ export * from './EnhancedDeinterlaceParity';
|
|
|
373
378
|
export * from './EnhancedWatermarkFilter';
|
|
374
379
|
export * from './ErrorDetails';
|
|
375
380
|
export * from './ErrorRetryHint';
|
|
381
|
+
export * from './EsamSettings';
|
|
376
382
|
export * from './ExternalIdMode';
|
|
377
383
|
export * from './FairPlayDrm';
|
|
378
384
|
export * from './FileInputStream';
|
|
@@ -541,6 +547,9 @@ export * from './NexGuardWatermarkingType';
|
|
|
541
547
|
export * from './Notification';
|
|
542
548
|
export * from './NotificationStateEntry';
|
|
543
549
|
export * from './NotificationStates';
|
|
550
|
+
export * from './OciAccount';
|
|
551
|
+
export * from './OciAccountRegionSettings';
|
|
552
|
+
export * from './OciCloudRegion';
|
|
544
553
|
export * from './OpusAudioConfiguration';
|
|
545
554
|
export * from './OpusChannelLayout';
|
|
546
555
|
export * from './OrConjunction';
|
|
@@ -579,9 +588,11 @@ export * from './PlayReadyEncryptionMethod';
|
|
|
579
588
|
export * from './PlayerChannel';
|
|
580
589
|
export * from './PlayerLicense';
|
|
581
590
|
export * from './PlayerLicenseAnalytics';
|
|
591
|
+
export * from './PlayerLicenseUpdateRequest';
|
|
582
592
|
export * from './PlayerThirdPartyLicensing';
|
|
583
593
|
export * from './PlayerThirdPartyLicensingErrorAction';
|
|
584
594
|
export * from './PlayerVersion';
|
|
595
|
+
export * from './PoisEndpointCredentials';
|
|
585
596
|
export * from './Policy';
|
|
586
597
|
export * from './PositionMode';
|
|
587
598
|
export * from './PositionUnit';
|
package/dist/models/index.js
CHANGED
|
@@ -197,6 +197,11 @@ __exportStar(require("./BroadcastTsTransportConfiguration"), exports);
|
|
|
197
197
|
__exportStar(require("./BroadcastTsVideoInputStreamConfiguration"), exports);
|
|
198
198
|
__exportStar(require("./BurnInSubtitleDvbSub"), exports);
|
|
199
199
|
__exportStar(require("./BurnInSubtitleSrt"), exports);
|
|
200
|
+
__exportStar(require("./CacheControl"), exports);
|
|
201
|
+
__exportStar(require("./CacheControlSettings"), exports);
|
|
202
|
+
__exportStar(require("./CacheControlSettingsDash"), exports);
|
|
203
|
+
__exportStar(require("./CacheControlSettingsHls"), exports);
|
|
204
|
+
__exportStar(require("./CacheControlSettingsSegments"), exports);
|
|
200
205
|
__exportStar(require("./CaptionCharacterEncoding"), exports);
|
|
201
206
|
__exportStar(require("./CdnOutput"), exports);
|
|
202
207
|
__exportStar(require("./CdnProvider"), exports);
|
|
@@ -389,6 +394,7 @@ __exportStar(require("./EnhancedDeinterlaceParity"), exports);
|
|
|
389
394
|
__exportStar(require("./EnhancedWatermarkFilter"), exports);
|
|
390
395
|
__exportStar(require("./ErrorDetails"), exports);
|
|
391
396
|
__exportStar(require("./ErrorRetryHint"), exports);
|
|
397
|
+
__exportStar(require("./EsamSettings"), exports);
|
|
392
398
|
__exportStar(require("./ExternalIdMode"), exports);
|
|
393
399
|
__exportStar(require("./FairPlayDrm"), exports);
|
|
394
400
|
__exportStar(require("./FileInputStream"), exports);
|
|
@@ -557,6 +563,9 @@ __exportStar(require("./NexGuardWatermarkingType"), exports);
|
|
|
557
563
|
__exportStar(require("./Notification"), exports);
|
|
558
564
|
__exportStar(require("./NotificationStateEntry"), exports);
|
|
559
565
|
__exportStar(require("./NotificationStates"), exports);
|
|
566
|
+
__exportStar(require("./OciAccount"), exports);
|
|
567
|
+
__exportStar(require("./OciAccountRegionSettings"), exports);
|
|
568
|
+
__exportStar(require("./OciCloudRegion"), exports);
|
|
560
569
|
__exportStar(require("./OpusAudioConfiguration"), exports);
|
|
561
570
|
__exportStar(require("./OpusChannelLayout"), exports);
|
|
562
571
|
__exportStar(require("./OrConjunction"), exports);
|
|
@@ -595,9 +604,11 @@ __exportStar(require("./PlayReadyEncryptionMethod"), exports);
|
|
|
595
604
|
__exportStar(require("./PlayerChannel"), exports);
|
|
596
605
|
__exportStar(require("./PlayerLicense"), exports);
|
|
597
606
|
__exportStar(require("./PlayerLicenseAnalytics"), exports);
|
|
607
|
+
__exportStar(require("./PlayerLicenseUpdateRequest"), exports);
|
|
598
608
|
__exportStar(require("./PlayerThirdPartyLicensing"), exports);
|
|
599
609
|
__exportStar(require("./PlayerThirdPartyLicensingErrorAction"), exports);
|
|
600
610
|
__exportStar(require("./PlayerVersion"), exports);
|
|
611
|
+
__exportStar(require("./PoisEndpointCredentials"), exports);
|
|
601
612
|
__exportStar(require("./Policy"), exports);
|
|
602
613
|
__exportStar(require("./PositionMode"), exports);
|
|
603
614
|
__exportStar(require("./PositionUnit"), exports);
|
|
@@ -4,6 +4,7 @@ import AnalyticsApi from './analytics/AnalyticsApi';
|
|
|
4
4
|
import DomainsApi from './domains/DomainsApi';
|
|
5
5
|
import ThirdPartyLicensingApi from './thirdPartyLicensing/ThirdPartyLicensingApi';
|
|
6
6
|
import PlayerLicense from '../../models/PlayerLicense';
|
|
7
|
+
import PlayerLicenseUpdateRequest from '../../models/PlayerLicenseUpdateRequest';
|
|
7
8
|
import PaginationResponse from '../../models/PaginationResponse';
|
|
8
9
|
import { PlayerLicenseListQueryParams, PlayerLicenseListQueryParamsBuilder } from './PlayerLicenseListQueryParams';
|
|
9
10
|
/**
|
|
@@ -38,4 +39,12 @@ export default class LicensesApi extends BaseAPI {
|
|
|
38
39
|
* @memberof LicensesApi
|
|
39
40
|
*/
|
|
40
41
|
list(queryParameters?: PlayerLicenseListQueryParams | ((q: PlayerLicenseListQueryParamsBuilder) => PlayerLicenseListQueryParamsBuilder)): Promise<PaginationResponse<PlayerLicense>>;
|
|
42
|
+
/**
|
|
43
|
+
* @summary Update License
|
|
44
|
+
* @param {string} licenseId License id
|
|
45
|
+
* @param {PlayerLicenseUpdateRequest} playerLicenseUpdateRequest Player License details to be updated
|
|
46
|
+
* @throws {BitmovinError}
|
|
47
|
+
* @memberof LicensesApi
|
|
48
|
+
*/
|
|
49
|
+
update(licenseId: string, playerLicenseUpdateRequest?: PlayerLicenseUpdateRequest): Promise<PlayerLicense>;
|
|
41
50
|
}
|
|
@@ -81,6 +81,21 @@ var LicensesApi = /** @class */ (function (_super) {
|
|
|
81
81
|
return new PaginationResponse_1.default(response, PlayerLicense_1.default);
|
|
82
82
|
});
|
|
83
83
|
};
|
|
84
|
+
/**
|
|
85
|
+
* @summary Update License
|
|
86
|
+
* @param {string} licenseId License id
|
|
87
|
+
* @param {PlayerLicenseUpdateRequest} playerLicenseUpdateRequest Player License details to be updated
|
|
88
|
+
* @throws {BitmovinError}
|
|
89
|
+
* @memberof LicensesApi
|
|
90
|
+
*/
|
|
91
|
+
LicensesApi.prototype.update = function (licenseId, playerLicenseUpdateRequest) {
|
|
92
|
+
var pathParamMap = {
|
|
93
|
+
license_id: licenseId
|
|
94
|
+
};
|
|
95
|
+
return this.restClient.put('/player/licenses/{license_id}', pathParamMap, playerLicenseUpdateRequest).then(function (response) {
|
|
96
|
+
return (0, Mapper_1.map)(response, PlayerLicense_1.default);
|
|
97
|
+
});
|
|
98
|
+
};
|
|
84
99
|
return LicensesApi;
|
|
85
100
|
}(BaseAPI_1.BaseAPI));
|
|
86
101
|
exports.default = LicensesApi;
|