UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

36 lines (35 loc) 1.46 kB
import { BaseAPI } from '../../../common/BaseAPI'; import Configuration from '../../../common/Configuration'; import BitmovinResponse from '../../../models/BitmovinResponse'; import PlayerThirdPartyLicensing from '../../../models/PlayerThirdPartyLicensing'; /** * ThirdPartyLicensingApi - object-oriented interface * @export * @class ThirdPartyLicensingApi * @extends {BaseAPI} */ export default class ThirdPartyLicensingApi extends BaseAPI { constructor(configuration: Configuration); /** * @summary Enable Third Party Licensing * @param {string} licenseId Id of the Player License * @param {PlayerThirdPartyLicensing} playerThirdPartyLicensing Third Party Licensing settings to apply to Player License * @throws {BitmovinError} * @memberof ThirdPartyLicensingApi */ create(licenseId: string, playerThirdPartyLicensing?: PlayerThirdPartyLicensing): Promise<PlayerThirdPartyLicensing>; /** * @summary Delete Third Party Licensing Configuration * @param {string} licenseId Id of the Player License * @throws {BitmovinError} * @memberof ThirdPartyLicensingApi */ delete(licenseId: string): Promise<BitmovinResponse>; /** * @summary Get Third Party Licensing Configuration * @param {string} licenseId Id of the Player License * @throws {BitmovinError} * @memberof ThirdPartyLicensingApi */ get(licenseId: string): Promise<PlayerThirdPartyLicensing>; }