diff --git a/KalturaGeneratedAPIClientsPHP/KalturaClient.php b/KalturaGeneratedAPIClientsPHP/KalturaClient.php new file mode 100644 index 000000000..20100b03f --- /dev/null +++ b/KalturaGeneratedAPIClientsPHP/KalturaClient.php @@ -0,0 +1,10186 @@ +. +// +// @ignore +// =================================================================================================== + +/** + * @package Kaltura + * @subpackage Client + */ +require_once(dirname(__FILE__) . "/KalturaClientBase.php"); +require_once(dirname(__FILE__) . "/KalturaEnums.php"); +require_once(dirname(__FILE__) . "/KalturaTypes.php"); + + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAccessControlProfileService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Add new access control profile + * + * @param KalturaAccessControlProfile $accessControlProfile + * @return KalturaAccessControlProfile + */ + function add(KalturaAccessControlProfile $accessControlProfile) + { + $kparams = array(); + $this->client->addParam($kparams, "accessControlProfile", $accessControlProfile->toParams()); + $this->client->queueServiceActionCall("accesscontrolprofile", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaAccessControlProfile"); + return $resultObject; + } + + /** + * Delete access control profile by id + * + * @param int $id + */ + function delete($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("accesscontrolprofile", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Get access control profile by id + * + * @param int $id + * @return KalturaAccessControlProfile + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("accesscontrolprofile", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaAccessControlProfile"); + return $resultObject; + } + + /** + * List access control profiles by filter and pager + * + * @param KalturaAccessControlProfileFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaAccessControlProfileListResponse + */ + function listAction(KalturaAccessControlProfileFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("accesscontrolprofile", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaAccessControlProfileListResponse"); + return $resultObject; + } + + /** + * Update access control profile by id + * + * @param int $id + * @param KalturaAccessControlProfile $accessControlProfile + * @return KalturaAccessControlProfile + */ + function update($id, KalturaAccessControlProfile $accessControlProfile) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "accessControlProfile", $accessControlProfile->toParams()); + $this->client->queueServiceActionCall("accesscontrolprofile", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaAccessControlProfile"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAccessControlService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Add new Access Control Profile + * + * @param KalturaAccessControl $accessControl + * @return KalturaAccessControl + */ + function add(KalturaAccessControl $accessControl) + { + $kparams = array(); + $this->client->addParam($kparams, "accessControl", $accessControl->toParams()); + $this->client->queueServiceActionCall("accesscontrol", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaAccessControl"); + return $resultObject; + } + + /** + * Delete Access Control Profile by id + * + * @param int $id + */ + function delete($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("accesscontrol", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Get Access Control Profile by id + * + * @param int $id + * @return KalturaAccessControl + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("accesscontrol", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaAccessControl"); + return $resultObject; + } + + /** + * List Access Control Profiles by filter and pager + * + * @param KalturaAccessControlFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaAccessControlListResponse + */ + function listAction(KalturaAccessControlFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("accesscontrol", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaAccessControlListResponse"); + return $resultObject; + } + + /** + * Update Access Control Profile by id + * + * @param int $id + * @param KalturaAccessControl $accessControl + * @return KalturaAccessControl + */ + function update($id, KalturaAccessControl $accessControl) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "accessControl", $accessControl->toParams()); + $this->client->queueServiceActionCall("accesscontrol", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaAccessControl"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAdminUserService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Get an admin session using admin email and password (Used for login to the KMC application) + * + * @param string $email + * @param string $password + * @param int $partnerId + * @return string + */ + function login($email, $password, $partnerId = null) + { + $kparams = array(); + $this->client->addParam($kparams, "email", $email); + $this->client->addParam($kparams, "password", $password); + $this->client->addParam($kparams, "partnerId", $partnerId); + $this->client->queueServiceActionCall("adminuser", "login", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * Reset admin user password and send it to the users email address + * + * @param string $email + */ + function resetPassword($email) + { + $kparams = array(); + $this->client->addParam($kparams, "email", $email); + $this->client->queueServiceActionCall("adminuser", "resetPassword", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Set initial users password + * + * @param string $hashKey + * @param string $newPassword New password to set + * @return KalturaAuthentication + */ + function setInitialPassword($hashKey, $newPassword) + { + $kparams = array(); + $this->client->addParam($kparams, "hashKey", $hashKey); + $this->client->addParam($kparams, "newPassword", $newPassword); + $this->client->queueServiceActionCall("adminuser", "setInitialPassword", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaAuthentication"); + return $resultObject; + } + + /** + * Update admin user password and email + * + * @param string $email + * @param string $password + * @param string $newEmail Optional, provide only when you want to update the email + * @param string $newPassword + * @param string $otp The user's one-time password + * @return KalturaAdminUser + */ + function updatePassword($email, $password, $newEmail = "", $newPassword = "", $otp = null) + { + $kparams = array(); + $this->client->addParam($kparams, "email", $email); + $this->client->addParam($kparams, "password", $password); + $this->client->addParam($kparams, "newEmail", $newEmail); + $this->client->addParam($kparams, "newPassword", $newPassword); + $this->client->addParam($kparams, "otp", $otp); + $this->client->queueServiceActionCall("adminuser", "updatePassword", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaAdminUser"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAnalyticsService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Report query action allows to get a analytics data for specific query dimensions, metrics and filters. + * + * @param KalturaAnalyticsFilter $filter The analytics query filter + * @param KalturaFilterPager $pager The analytics query result pager + * @return KalturaReportResponse + */ + function query(KalturaAnalyticsFilter $filter, KalturaFilterPager $pager = null) + { + $kparams = array(); + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("analytics", "query", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaReportResponse"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAppTokenService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Add new application authentication token + * + * @param KalturaAppToken $appToken + * @return KalturaAppToken + */ + function add(KalturaAppToken $appToken) + { + $kparams = array(); + $this->client->addParam($kparams, "appToken", $appToken->toParams()); + $this->client->queueServiceActionCall("apptoken", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaAppToken"); + return $resultObject; + } + + /** + * Delete application authentication token by ID + * + * @param string $id + */ + function delete($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("apptoken", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Get application authentication token by ID + * + * @param string $id + * @return KalturaAppToken + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("apptoken", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaAppToken"); + return $resultObject; + } + + /** + * List application authentication tokens by filter and pager + * + * @param KalturaAppTokenFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaAppTokenListResponse + */ + function listAction(KalturaAppTokenFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("apptoken", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaAppTokenListResponse"); + return $resultObject; + } + + /** + * Starts a new KS (kaltura Session) based on an application authentication token ID + * + * @param string $id Application token ID + * @param string $tokenHash A hash [MD5, SHA1, SHA256 and SHA512 are supported] of the current KS concatenated with the application token + * @param string $userId Session user ID, will be ignored if a different user ID already defined on the application token + * @param int $type Session type, will be ignored if a different session type is already defined on the application token + * @param int $expiry Session expiry (in seconds), could be overridden by shorter expiry of the application token + * @param string $sessionPrivileges Session privileges, will be ignored if a similar privilege is already defined on the application token or the privilege is server reserved + * @return KalturaSessionInfo + */ + function startSession($id, $tokenHash, $userId = null, $type = null, $expiry = null, $sessionPrivileges = null) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "tokenHash", $tokenHash); + $this->client->addParam($kparams, "userId", $userId); + $this->client->addParam($kparams, "type", $type); + $this->client->addParam($kparams, "expiry", $expiry); + $this->client->addParam($kparams, "sessionPrivileges", $sessionPrivileges); + $this->client->queueServiceActionCall("apptoken", "startSession", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaSessionInfo"); + return $resultObject; + } + + /** + * Update application authentication token by ID + * + * @param string $id + * @param KalturaAppToken $appToken + * @return KalturaAppToken + */ + function update($id, KalturaAppToken $appToken) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "appToken", $appToken->toParams()); + $this->client->queueServiceActionCall("apptoken", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaAppToken"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBaseEntryService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Generic add entry, should be used when the uploaded entry type is not known. + * + * @param KalturaBaseEntry $entry + * @param string $type + * @return KalturaBaseEntry + */ + function add(KalturaBaseEntry $entry, $type = null) + { + $kparams = array(); + $this->client->addParam($kparams, "entry", $entry->toParams()); + $this->client->addParam($kparams, "type", $type); + $this->client->queueServiceActionCall("baseentry", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBaseEntry"); + return $resultObject; + } + + /** + * Attach content resource to entry in status NO_MEDIA + * + * @param string $entryId + * @param KalturaResource $resource + * @return KalturaBaseEntry + */ + function addContent($entryId, KalturaResource $resource) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "resource", $resource->toParams()); + $this->client->queueServiceActionCall("baseentry", "addContent", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBaseEntry"); + return $resultObject; + } + + /** + * Generic add entry using an uploaded file, should be used when the uploaded entry type is not known. + * + * @param KalturaBaseEntry $entry + * @param string $uploadTokenId + * @param string $type + * @return KalturaBaseEntry + */ + function addFromUploadedFile(KalturaBaseEntry $entry, $uploadTokenId, $type = null) + { + $kparams = array(); + $this->client->addParam($kparams, "entry", $entry->toParams()); + $this->client->addParam($kparams, "uploadTokenId", $uploadTokenId); + $this->client->addParam($kparams, "type", $type); + $this->client->queueServiceActionCall("baseentry", "addFromUploadedFile", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBaseEntry"); + return $resultObject; + } + + /** + * Anonymously rank an entry, no validation is done on duplicate rankings. + * + * @param string $entryId + * @param int $rank + */ + function anonymousRank($entryId, $rank) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "rank", $rank); + $this->client->queueServiceActionCall("baseentry", "anonymousRank", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Approve the entry and mark the pending flags (if any) as moderated (this will make the entry playable). + * + * @param string $entryId + */ + function approve($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("baseentry", "approve", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Clone an entry with optional attributes to apply to the clone + * + * @param string $entryId Id of entry to clone + * @param array $cloneOptions + * @return KalturaBaseEntry + */ + function cloneAction($entryId, array $cloneOptions = null) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + if ($cloneOptions !== null) + foreach($cloneOptions as $index => $obj) + { + $this->client->addParam($kparams, "cloneOptions:$index", $obj->toParams()); + } + $this->client->queueServiceActionCall("baseentry", "clone", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBaseEntry"); + return $resultObject; + } + + /** + * Count base entries by filter. + * + * @param KalturaBaseEntryFilter $filter Entry filter + * @return int + */ + function count(KalturaBaseEntryFilter $filter = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + $this->client->queueServiceActionCall("baseentry", "count", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "integer"); + return $resultObject; + } + + /** + * Delete an entry. + * + * @param string $entryId Entry id to delete + */ + function delete($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("baseentry", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * + * + * @param string $entryId + * @param int $storageProfileId + * @return KalturaBaseEntry + */ + function export($entryId, $storageProfileId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "storageProfileId", $storageProfileId); + $this->client->queueServiceActionCall("baseentry", "export", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBaseEntry"); + return $resultObject; + } + + /** + * Add batch job that sends an email with a link to download an updated CSV that contains list of entries + * + * @param KalturaBaseEntryFilter $filter A filter used to exclude specific entries + * @param int $metadataProfileId + * @param array $additionalFields + * @param array $mappedFields Mapping between field headline and its mapped value + * @return string + */ + function exportToCsv(KalturaBaseEntryFilter $filter = null, $metadataProfileId = null, array $additionalFields = null, array $mappedFields = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + $this->client->addParam($kparams, "metadataProfileId", $metadataProfileId); + if ($additionalFields !== null) + foreach($additionalFields as $index => $obj) + { + $this->client->addParam($kparams, "additionalFields:$index", $obj->toParams()); + } + if ($mappedFields !== null) + foreach($mappedFields as $index => $obj) + { + $this->client->addParam($kparams, "mappedFields:$index", $obj->toParams()); + } + $this->client->queueServiceActionCall("baseentry", "exportToCsv", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * Flag inappropriate entry for moderation. + * + * @param KalturaModerationFlag $moderationFlag + */ + function flag(KalturaModerationFlag $moderationFlag) + { + $kparams = array(); + $this->client->addParam($kparams, "moderationFlag", $moderationFlag->toParams()); + $this->client->queueServiceActionCall("baseentry", "flag", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Get base entry by ID. + * + * @param string $entryId Entry id + * @param int $version Desired version of the data + * @return KalturaBaseEntry + */ + function get($entryId, $version = -1) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "version", $version); + $this->client->queueServiceActionCall("baseentry", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBaseEntry"); + return $resultObject; + } + + /** + * Get an array of KalturaBaseEntry objects by a comma-separated list of ids. + * + * @param string $entryIds Comma separated string of entry ids + * @return array + */ + function getByIds($entryIds) + { + $kparams = array(); + $this->client->addParam($kparams, "entryIds", $entryIds); + $this->client->queueServiceActionCall("baseentry", "getByIds", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "array"); + return $resultObject; + } + + /** + * This action delivers entry-related data, based on the user's context: access control, restriction, playback format and storage information. + * + * @param string $entryId + * @param KalturaEntryContextDataParams $contextDataParams + * @return KalturaEntryContextDataResult + */ + function getContextData($entryId, KalturaEntryContextDataParams $contextDataParams) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "contextDataParams", $contextDataParams->toParams()); + $this->client->queueServiceActionCall("baseentry", "getContextData", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaEntryContextDataResult"); + return $resultObject; + } + + /** + * This action delivers all data relevant for player + * + * @param string $entryId + * @param KalturaPlaybackContextOptions $contextDataParams + * @return KalturaPlaybackContext + */ + function getPlaybackContext($entryId, KalturaPlaybackContextOptions $contextDataParams) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "contextDataParams", $contextDataParams->toParams()); + $this->client->queueServiceActionCall("baseentry", "getPlaybackContext", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPlaybackContext"); + return $resultObject; + } + + /** + * Get remote storage existing paths for the asset. + * + * @param string $entryId + * @return KalturaRemotePathListResponse + */ + function getRemotePaths($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("baseentry", "getRemotePaths", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaRemotePathListResponse"); + return $resultObject; + } + + /** + * Index an entry by id. + * + * @param string $id + * @param bool $shouldUpdate + * @return int + */ + function index($id, $shouldUpdate = true) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "shouldUpdate", $shouldUpdate); + $this->client->queueServiceActionCall("baseentry", "index", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "integer"); + return $resultObject; + } + + /** + * List base entries by filter with paging support. + * + * @param KalturaBaseEntryFilter $filter Entry filter + * @param KalturaFilterPager $pager Pager + * @return KalturaBaseEntryListResponse + */ + function listAction(KalturaBaseEntryFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("baseentry", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBaseEntryListResponse"); + return $resultObject; + } + + /** + * List base entries by filter according to reference id + * + * @param string $refId Entry Reference ID + * @param KalturaFilterPager $pager Pager + * @return KalturaBaseEntryListResponse + */ + function listByReferenceId($refId, KalturaFilterPager $pager = null) + { + $kparams = array(); + $this->client->addParam($kparams, "refId", $refId); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("baseentry", "listByReferenceId", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBaseEntryListResponse"); + return $resultObject; + } + + /** + * List all pending flags for the entry. + * + * @param string $entryId + * @param KalturaFilterPager $pager + * @return KalturaModerationFlagListResponse + */ + function listFlags($entryId, KalturaFilterPager $pager = null) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("baseentry", "listFlags", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaModerationFlagListResponse"); + return $resultObject; + } + + /** + * Reject the entry and mark the pending flags (if any) as moderated (this will make the entry non-playable). + * + * @param string $entryId + */ + function reject($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("baseentry", "reject", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Update base entry. Only the properties that were set will be updated. + * + * @param string $entryId Entry id to update + * @param KalturaBaseEntry $baseEntry Base entry metadata to update + * @return KalturaBaseEntry + */ + function update($entryId, KalturaBaseEntry $baseEntry) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "baseEntry", $baseEntry->toParams()); + $this->client->queueServiceActionCall("baseentry", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBaseEntry"); + return $resultObject; + } + + /** + * Update the content resource associated with the entry. + * + * @param string $entryId Entry id to update + * @param KalturaResource $resource Resource to be used to replace entry content + * @param int $conversionProfileId The conversion profile id to be used on the entry + * @param KalturaEntryReplacementOptions $advancedOptions Additional update content options + * @return KalturaBaseEntry + */ + function updateContent($entryId, KalturaResource $resource, $conversionProfileId = null, KalturaEntryReplacementOptions $advancedOptions = null) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "resource", $resource->toParams()); + $this->client->addParam($kparams, "conversionProfileId", $conversionProfileId); + if ($advancedOptions !== null) + $this->client->addParam($kparams, "advancedOptions", $advancedOptions->toParams()); + $this->client->queueServiceActionCall("baseentry", "updateContent", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBaseEntry"); + return $resultObject; + } + + /** + * Update entry thumbnail from a different entry by a specified time offset (in seconds). + * + * @param string $entryId Media entry id + * @param string $sourceEntryId Media entry id + * @param int $timeOffset Time offset (in seconds) + * @return KalturaBaseEntry + */ + function updateThumbnailFromSourceEntry($entryId, $sourceEntryId, $timeOffset) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "sourceEntryId", $sourceEntryId); + $this->client->addParam($kparams, "timeOffset", $timeOffset); + $this->client->queueServiceActionCall("baseentry", "updateThumbnailFromSourceEntry", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBaseEntry"); + return $resultObject; + } + + /** + * Update entry thumbnail using URL. + * + * @param string $entryId Media entry id + * @param string $url File url + * @return KalturaBaseEntry + */ + function updateThumbnailFromUrl($entryId, $url) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "url", $url); + $this->client->queueServiceActionCall("baseentry", "updateThumbnailFromUrl", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBaseEntry"); + return $resultObject; + } + + /** + * Update entry thumbnail using a raw jpeg file. + * + * @param string $entryId Media entry id + * @param file $fileData Jpeg file data + * @return KalturaBaseEntry + */ + function updateThumbnailJpeg($entryId, $fileData) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $kfiles = array(); + $this->client->addParam($kfiles, "fileData", $fileData); + $this->client->queueServiceActionCall("baseentry", "updateThumbnailJpeg", $kparams, $kfiles); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBaseEntry"); + return $resultObject; + } + + /** + * Upload a file to Kaltura, that can be used to create an entry. + * + * @param file $fileData The file data + * @return string + */ + function upload($fileData) + { + $kparams = array(); + $kfiles = array(); + $this->client->addParam($kfiles, "fileData", $fileData); + $this->client->queueServiceActionCall("baseentry", "upload", $kparams, $kfiles); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Aborts the bulk upload and all its child jobs + * + * @param bigint $id Job id + * @return KalturaBulkUpload + */ + function abort($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("bulkupload", "abort", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBulkUpload"); + return $resultObject; + } + + /** + * Add new bulk upload batch job + Conversion profile id can be specified in the API or in the CSV file, the one in the CSV file will be stronger. + If no conversion profile was specified, partner's default will be used + * + * @param int $conversionProfileId Conversion profile id to use for converting the current bulk (-1 to use partner's default) + * @param file $csvFileData Bulk upload file + * @param string $bulkUploadType + * @param string $uploadedBy + * @param string $fileName Friendly name of the file, used to be recognized later in the logs. + * @return KalturaBulkUpload + */ + function add($conversionProfileId, $csvFileData, $bulkUploadType = null, $uploadedBy = null, $fileName = null) + { + $kparams = array(); + $this->client->addParam($kparams, "conversionProfileId", $conversionProfileId); + $kfiles = array(); + $this->client->addParam($kfiles, "csvFileData", $csvFileData); + $this->client->addParam($kparams, "bulkUploadType", $bulkUploadType); + $this->client->addParam($kparams, "uploadedBy", $uploadedBy); + $this->client->addParam($kparams, "fileName", $fileName); + $this->client->queueServiceActionCall("bulkupload", "add", $kparams, $kfiles); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBulkUpload"); + return $resultObject; + } + + /** + * Get bulk upload batch job by id + * + * @param bigint $id + * @return KalturaBulkUpload + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("bulkupload", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBulkUpload"); + return $resultObject; + } + + /** + * List bulk upload batch jobs + * + * @param KalturaFilterPager $pager + * @return KalturaBulkUploadListResponse + */ + function listAction(KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("bulkupload", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBulkUploadListResponse"); + return $resultObject; + } + + /** + * Serve action return the original file. + * + * @param bigint $id Job id + * @return file + */ + function serve($id) + { + if ($this->client->isMultiRequest()) + throw new KalturaClientException("Action is not supported as part of multi-request.", KalturaClientException::ERROR_ACTION_IN_MULTIREQUEST); + + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("bulkupload", "serve", $kparams); + if(!$this->client->getDestinationPath() && !$this->client->getReturnServedResult()) + return $this->client->getServeUrl(); + return $this->client->doQueue(); + } + + /** + * ServeLog action return the original file. + * + * @param bigint $id Job id + * @return file + */ + function serveLog($id) + { + if ($this->client->isMultiRequest()) + throw new KalturaClientException("Action is not supported as part of multi-request.", KalturaClientException::ERROR_ACTION_IN_MULTIREQUEST); + + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("bulkupload", "serveLog", $kparams); + if(!$this->client->getDestinationPath() && !$this->client->getReturnServedResult()) + return $this->client->getServeUrl(); + return $this->client->doQueue(); + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryEntryService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Activate CategoryEntry when it is pending moderation + * + * @param string $entryId + * @param int $categoryId + */ + function activate($entryId, $categoryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "categoryId", $categoryId); + $this->client->queueServiceActionCall("categoryentry", "activate", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Add new CategoryEntry + * + * @param KalturaCategoryEntry $categoryEntry + * @return KalturaCategoryEntry + */ + function add(KalturaCategoryEntry $categoryEntry) + { + $kparams = array(); + $this->client->addParam($kparams, "categoryEntry", $categoryEntry->toParams()); + $this->client->queueServiceActionCall("categoryentry", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaCategoryEntry"); + return $resultObject; + } + + /** + * + * + * @param KalturaBulkServiceData $bulkUploadData + * @param KalturaBulkUploadCategoryEntryData $bulkUploadCategoryEntryData + * @return KalturaBulkUpload + */ + function addFromBulkUpload(KalturaBulkServiceData $bulkUploadData, KalturaBulkUploadCategoryEntryData $bulkUploadCategoryEntryData = null) + { + $kparams = array(); + $this->client->addParam($kparams, "bulkUploadData", $bulkUploadData->toParams()); + if ($bulkUploadCategoryEntryData !== null) + $this->client->addParam($kparams, "bulkUploadCategoryEntryData", $bulkUploadCategoryEntryData->toParams()); + $this->client->queueServiceActionCall("categoryentry", "addFromBulkUpload", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBulkUpload"); + return $resultObject; + } + + /** + * Delete CategoryEntry + * + * @param string $entryId + * @param int $categoryId + */ + function delete($entryId, $categoryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "categoryId", $categoryId); + $this->client->queueServiceActionCall("categoryentry", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Index CategoryEntry by Id + * + * @param string $entryId + * @param int $categoryId + * @param bool $shouldUpdate + * @return int + */ + function index($entryId, $categoryId, $shouldUpdate = true) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "categoryId", $categoryId); + $this->client->addParam($kparams, "shouldUpdate", $shouldUpdate); + $this->client->queueServiceActionCall("categoryentry", "index", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "integer"); + return $resultObject; + } + + /** + * List all categoryEntry + * + * @param KalturaCategoryEntryFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaCategoryEntryListResponse + */ + function listAction(KalturaCategoryEntryFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("categoryentry", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaCategoryEntryListResponse"); + return $resultObject; + } + + /** + * Activate CategoryEntry when it is pending moderation + * + * @param string $entryId + * @param int $categoryId + */ + function reject($entryId, $categoryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "categoryId", $categoryId); + $this->client->queueServiceActionCall("categoryentry", "reject", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Update privacy context from the category + * + * @param string $entryId + * @param int $categoryId + */ + function syncPrivacyContext($entryId, $categoryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "categoryId", $categoryId); + $this->client->queueServiceActionCall("categoryentry", "syncPrivacyContext", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * + * + * @param file $fileData + * @param KalturaBulkUploadJobData $bulkUploadData + * @param KalturaBulkUploadCategoryEntryData $bulkUploadCategoryEntryData + * @return KalturaBulkUpload + */ + function updateStatusFromBulk($fileData, KalturaBulkUploadJobData $bulkUploadData = null, KalturaBulkUploadCategoryEntryData $bulkUploadCategoryEntryData = null) + { + $kparams = array(); + $kfiles = array(); + $this->client->addParam($kfiles, "fileData", $fileData); + if ($bulkUploadData !== null) + $this->client->addParam($kparams, "bulkUploadData", $bulkUploadData->toParams()); + if ($bulkUploadCategoryEntryData !== null) + $this->client->addParam($kparams, "bulkUploadCategoryEntryData", $bulkUploadCategoryEntryData->toParams()); + $this->client->queueServiceActionCall("categoryentry", "updateStatusFromBulk", $kparams, $kfiles); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBulkUpload"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Add new Category + * + * @param KalturaCategory $category + * @return KalturaCategory + */ + function add(KalturaCategory $category) + { + $kparams = array(); + $this->client->addParam($kparams, "category", $category->toParams()); + $this->client->queueServiceActionCall("category", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaCategory"); + return $resultObject; + } + + /** + * + * + * @param file $fileData + * @param KalturaBulkUploadJobData $bulkUploadData + * @param KalturaBulkUploadCategoryData $bulkUploadCategoryData + * @return KalturaBulkUpload + */ + function addFromBulkUpload($fileData, KalturaBulkUploadJobData $bulkUploadData = null, KalturaBulkUploadCategoryData $bulkUploadCategoryData = null) + { + $kparams = array(); + $kfiles = array(); + $this->client->addParam($kfiles, "fileData", $fileData); + if ($bulkUploadData !== null) + $this->client->addParam($kparams, "bulkUploadData", $bulkUploadData->toParams()); + if ($bulkUploadCategoryData !== null) + $this->client->addParam($kparams, "bulkUploadCategoryData", $bulkUploadCategoryData->toParams()); + $this->client->queueServiceActionCall("category", "addFromBulkUpload", $kparams, $kfiles); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBulkUpload"); + return $resultObject; + } + + /** + * Delete a Category + * + * @param int $id + * @param int $moveEntriesToParentCategory + */ + function delete($id, $moveEntriesToParentCategory = 1) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "moveEntriesToParentCategory", $moveEntriesToParentCategory); + $this->client->queueServiceActionCall("category", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Get Category by id + * + * @param int $id + * @return KalturaCategory + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("category", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaCategory"); + return $resultObject; + } + + /** + * Index Category by id + * + * @param int $id + * @param bool $shouldUpdate + * @return int + */ + function index($id, $shouldUpdate = true) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "shouldUpdate", $shouldUpdate); + $this->client->queueServiceActionCall("category", "index", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "integer"); + return $resultObject; + } + + /** + * List all categories + * + * @param KalturaCategoryFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaCategoryListResponse + */ + function listAction(KalturaCategoryFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("category", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaCategoryListResponse"); + return $resultObject; + } + + /** + * Move categories that belong to the same parent category to a target categroy - enabled only for ks with disable entitlement + * + * @param string $categoryIds + * @param int $targetCategoryParentId + * @return bool + */ + function move($categoryIds, $targetCategoryParentId) + { + $kparams = array(); + $this->client->addParam($kparams, "categoryIds", $categoryIds); + $this->client->addParam($kparams, "targetCategoryParentId", $targetCategoryParentId); + $this->client->queueServiceActionCall("category", "move", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $resultObject = (bool) $resultObject; + return $resultObject; + } + + /** + * Unlock categories + * + */ + function unlockCategories() + { + $kparams = array(); + $this->client->queueServiceActionCall("category", "unlockCategories", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Update Category + * + * @param int $id + * @param KalturaCategory $category + * @return KalturaCategory + */ + function update($id, KalturaCategory $category) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "category", $category->toParams()); + $this->client->queueServiceActionCall("category", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaCategory"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryUserService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Activate CategoryUser + * + * @param int $categoryId + * @param string $userId + * @return KalturaCategoryUser + */ + function activate($categoryId, $userId) + { + $kparams = array(); + $this->client->addParam($kparams, "categoryId", $categoryId); + $this->client->addParam($kparams, "userId", $userId); + $this->client->queueServiceActionCall("categoryuser", "activate", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaCategoryUser"); + return $resultObject; + } + + /** + * Add new CategoryUser + * + * @param KalturaCategoryUser $categoryUser + * @return KalturaCategoryUser + */ + function add(KalturaCategoryUser $categoryUser) + { + $kparams = array(); + $this->client->addParam($kparams, "categoryUser", $categoryUser->toParams()); + $this->client->queueServiceActionCall("categoryuser", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaCategoryUser"); + return $resultObject; + } + + /** + * + * + * @param file $fileData + * @param KalturaBulkUploadJobData $bulkUploadData + * @param KalturaBulkUploadCategoryUserData $bulkUploadCategoryUserData + * @return KalturaBulkUpload + */ + function addFromBulkUpload($fileData, KalturaBulkUploadJobData $bulkUploadData = null, KalturaBulkUploadCategoryUserData $bulkUploadCategoryUserData = null) + { + $kparams = array(); + $kfiles = array(); + $this->client->addParam($kfiles, "fileData", $fileData); + if ($bulkUploadData !== null) + $this->client->addParam($kparams, "bulkUploadData", $bulkUploadData->toParams()); + if ($bulkUploadCategoryUserData !== null) + $this->client->addParam($kparams, "bulkUploadCategoryUserData", $bulkUploadCategoryUserData->toParams()); + $this->client->queueServiceActionCall("categoryuser", "addFromBulkUpload", $kparams, $kfiles); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBulkUpload"); + return $resultObject; + } + + /** + * Copy all member from parent category + * + * @param int $categoryId + */ + function copyFromCategory($categoryId) + { + $kparams = array(); + $this->client->addParam($kparams, "categoryId", $categoryId); + $this->client->queueServiceActionCall("categoryuser", "copyFromCategory", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Reject CategoryUser + * + * @param int $categoryId + * @param string $userId + * @return KalturaCategoryUser + */ + function deactivate($categoryId, $userId) + { + $kparams = array(); + $this->client->addParam($kparams, "categoryId", $categoryId); + $this->client->addParam($kparams, "userId", $userId); + $this->client->queueServiceActionCall("categoryuser", "deactivate", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaCategoryUser"); + return $resultObject; + } + + /** + * Delete a CategoryUser + * + * @param int $categoryId + * @param string $userId + */ + function delete($categoryId, $userId) + { + $kparams = array(); + $this->client->addParam($kparams, "categoryId", $categoryId); + $this->client->addParam($kparams, "userId", $userId); + $this->client->queueServiceActionCall("categoryuser", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Get CategoryUser by id + * + * @param int $categoryId + * @param string $userId + * @return KalturaCategoryUser + */ + function get($categoryId, $userId) + { + $kparams = array(); + $this->client->addParam($kparams, "categoryId", $categoryId); + $this->client->addParam($kparams, "userId", $userId); + $this->client->queueServiceActionCall("categoryuser", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaCategoryUser"); + return $resultObject; + } + + /** + * Index CategoryUser by userid and category id + * + * @param string $userId + * @param int $categoryId + * @param bool $shouldUpdate + * @return int + */ + function index($userId, $categoryId, $shouldUpdate = true) + { + $kparams = array(); + $this->client->addParam($kparams, "userId", $userId); + $this->client->addParam($kparams, "categoryId", $categoryId); + $this->client->addParam($kparams, "shouldUpdate", $shouldUpdate); + $this->client->queueServiceActionCall("categoryuser", "index", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "integer"); + return $resultObject; + } + + /** + * List all categories + * + * @param KalturaCategoryUserFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaCategoryUserListResponse + */ + function listAction(KalturaCategoryUserFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("categoryuser", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaCategoryUserListResponse"); + return $resultObject; + } + + /** + * Update CategoryUser by id + * + * @param int $categoryId + * @param string $userId + * @param KalturaCategoryUser $categoryUser + * @param bool $override - to override manual changes + * @return KalturaCategoryUser + */ + function update($categoryId, $userId, KalturaCategoryUser $categoryUser, $override = false) + { + $kparams = array(); + $this->client->addParam($kparams, "categoryId", $categoryId); + $this->client->addParam($kparams, "userId", $userId); + $this->client->addParam($kparams, "categoryUser", $categoryUser->toParams()); + $this->client->addParam($kparams, "override", $override); + $this->client->queueServiceActionCall("categoryuser", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaCategoryUser"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConversionProfileAssetParamsService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Lists asset parmas of conversion profile by ID + * + * @param KalturaConversionProfileAssetParamsFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaConversionProfileAssetParamsListResponse + */ + function listAction(KalturaConversionProfileAssetParamsFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("conversionprofileassetparams", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaConversionProfileAssetParamsListResponse"); + return $resultObject; + } + + /** + * Update asset parmas of conversion profile by ID + * + * @param int $conversionProfileId + * @param int $assetParamsId + * @param KalturaConversionProfileAssetParams $conversionProfileAssetParams + * @return KalturaConversionProfileAssetParams + */ + function update($conversionProfileId, $assetParamsId, KalturaConversionProfileAssetParams $conversionProfileAssetParams) + { + $kparams = array(); + $this->client->addParam($kparams, "conversionProfileId", $conversionProfileId); + $this->client->addParam($kparams, "assetParamsId", $assetParamsId); + $this->client->addParam($kparams, "conversionProfileAssetParams", $conversionProfileAssetParams->toParams()); + $this->client->queueServiceActionCall("conversionprofileassetparams", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaConversionProfileAssetParams"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConversionProfileService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Add new Conversion Profile + * + * @param KalturaConversionProfile $conversionProfile + * @return KalturaConversionProfile + */ + function add(KalturaConversionProfile $conversionProfile) + { + $kparams = array(); + $this->client->addParam($kparams, "conversionProfile", $conversionProfile->toParams()); + $this->client->queueServiceActionCall("conversionprofile", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaConversionProfile"); + return $resultObject; + } + + /** + * Delete Conversion Profile by ID + * + * @param int $id + */ + function delete($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("conversionprofile", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Get Conversion Profile by ID + * + * @param int $id + * @return KalturaConversionProfile + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("conversionprofile", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaConversionProfile"); + return $resultObject; + } + + /** + * Get the partner's default conversion profile + * + * @param string $type + * @return KalturaConversionProfile + */ + function getDefault($type = null) + { + $kparams = array(); + $this->client->addParam($kparams, "type", $type); + $this->client->queueServiceActionCall("conversionprofile", "getDefault", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaConversionProfile"); + return $resultObject; + } + + /** + * List Conversion Profiles by filter with paging support + * + * @param KalturaConversionProfileFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaConversionProfileListResponse + */ + function listAction(KalturaConversionProfileFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("conversionprofile", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaConversionProfileListResponse"); + return $resultObject; + } + + /** + * Set Conversion Profile to be the partner default + * + * @param int $id + * @return KalturaConversionProfile + */ + function setAsDefault($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("conversionprofile", "setAsDefault", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaConversionProfile"); + return $resultObject; + } + + /** + * Update Conversion Profile by ID + * + * @param int $id + * @param KalturaConversionProfile $conversionProfile + * @return KalturaConversionProfile + */ + function update($id, KalturaConversionProfile $conversionProfile) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "conversionProfile", $conversionProfile->toParams()); + $this->client->queueServiceActionCall("conversionprofile", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaConversionProfile"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDataService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Adds a new data entry + * + * @param KalturaDataEntry $dataEntry Data entry + * @return KalturaDataEntry + */ + function add(KalturaDataEntry $dataEntry) + { + $kparams = array(); + $this->client->addParam($kparams, "dataEntry", $dataEntry->toParams()); + $this->client->queueServiceActionCall("data", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaDataEntry"); + return $resultObject; + } + + /** + * Update the dataContent of data entry using a resource + * + * @param string $entryId + * @param KalturaGenericDataCenterContentResource $resource + * @return string + */ + function addContent($entryId, KalturaGenericDataCenterContentResource $resource) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "resource", $resource->toParams()); + $this->client->queueServiceActionCall("data", "addContent", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * Delete a data entry. + * + * @param string $entryId Data entry id to delete + */ + function delete($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("data", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Get data entry by ID. + * + * @param string $entryId Data entry id + * @param int $version Desired version of the data + * @return KalturaDataEntry + */ + function get($entryId, $version = -1) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "version", $version); + $this->client->queueServiceActionCall("data", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaDataEntry"); + return $resultObject; + } + + /** + * List data entries by filter with paging support. + * + * @param KalturaDataEntryFilter $filter Document entry filter + * @param KalturaFilterPager $pager Pager + * @return KalturaDataListResponse + */ + function listAction(KalturaDataEntryFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("data", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaDataListResponse"); + return $resultObject; + } + + /** + * Return the file from dataContent field. + * + * @param string $entryId Data entry id + * @param int $version Desired version of the data + * @param bool $forceProxy Force to get the content without redirect + * @return file + */ + function serve($entryId, $version = -1, $forceProxy = false) + { + if ($this->client->isMultiRequest()) + throw new KalturaClientException("Action is not supported as part of multi-request.", KalturaClientException::ERROR_ACTION_IN_MULTIREQUEST); + + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "version", $version); + $this->client->addParam($kparams, "forceProxy", $forceProxy); + $this->client->queueServiceActionCall("data", "serve", $kparams); + if(!$this->client->getDestinationPath() && !$this->client->getReturnServedResult()) + return $this->client->getServeUrl(); + return $this->client->doQueue(); + } + + /** + * Update data entry. Only the properties that were set will be updated. + * + * @param string $entryId Data entry id to update + * @param KalturaDataEntry $documentEntry Data entry metadata to update + * @return KalturaDataEntry + */ + function update($entryId, KalturaDataEntry $documentEntry) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "documentEntry", $documentEntry->toParams()); + $this->client->queueServiceActionCall("data", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaDataEntry"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Add new delivery. + * + * @param KalturaDeliveryProfile $delivery + * @return KalturaDeliveryProfile + */ + function add(KalturaDeliveryProfile $delivery) + { + $kparams = array(); + $this->client->addParam($kparams, "delivery", $delivery->toParams()); + $this->client->queueServiceActionCall("deliveryprofile", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaDeliveryProfile"); + return $resultObject; + } + + /** + * Add delivery based on existing delivery. + Must provide valid sourceDeliveryId + * + * @param int $deliveryId + * @return KalturaDeliveryProfile + */ + function cloneAction($deliveryId) + { + $kparams = array(); + $this->client->addParam($kparams, "deliveryId", $deliveryId); + $this->client->queueServiceActionCall("deliveryprofile", "clone", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaDeliveryProfile"); + return $resultObject; + } + + /** + * Get delivery by id + * + * @param string $id + * @return KalturaDeliveryProfile + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("deliveryprofile", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaDeliveryProfile"); + return $resultObject; + } + + /** + * Retrieve a list of available delivery depends on the filter given + * + * @param KalturaDeliveryProfileFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaDeliveryProfileListResponse + */ + function listAction(KalturaDeliveryProfileFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("deliveryprofile", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaDeliveryProfileListResponse"); + return $resultObject; + } + + /** + * Update existing delivery profile + * + * @param string $id + * @param KalturaDeliveryProfile $delivery + * @return KalturaDeliveryProfile + */ + function update($id, KalturaDeliveryProfile $delivery) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "delivery", $delivery->toParams()); + $this->client->queueServiceActionCall("deliveryprofile", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaDeliveryProfile"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEmailIngestionProfileService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * EmailIngestionProfile Add action allows you to add a EmailIngestionProfile to Kaltura DB + * + * @param KalturaEmailIngestionProfile $EmailIP Mandatory input parameter of type KalturaEmailIngestionProfile + * @return KalturaEmailIngestionProfile + */ + function add(KalturaEmailIngestionProfile $EmailIP) + { + $kparams = array(); + $this->client->addParam($kparams, "EmailIP", $EmailIP->toParams()); + $this->client->queueServiceActionCall("emailingestionprofile", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaEmailIngestionProfile"); + return $resultObject; + } + + /** + * Add KalturaMediaEntry from email ingestion + * + * @param KalturaMediaEntry $mediaEntry Media entry metadata + * @param string $uploadTokenId Upload token id + * @param int $emailProfId + * @param string $fromAddress + * @param string $emailMsgId + * @return KalturaMediaEntry + */ + function addMediaEntry(KalturaMediaEntry $mediaEntry, $uploadTokenId, $emailProfId, $fromAddress, $emailMsgId) + { + $kparams = array(); + $this->client->addParam($kparams, "mediaEntry", $mediaEntry->toParams()); + $this->client->addParam($kparams, "uploadTokenId", $uploadTokenId); + $this->client->addParam($kparams, "emailProfId", $emailProfId); + $this->client->addParam($kparams, "fromAddress", $fromAddress); + $this->client->addParam($kparams, "emailMsgId", $emailMsgId); + $this->client->queueServiceActionCall("emailingestionprofile", "addMediaEntry", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); + return $resultObject; + } + + /** + * Delete an existing EmailIngestionProfile + * + * @param int $id + */ + function delete($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("emailingestionprofile", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Retrieve a EmailIngestionProfile by id + * + * @param int $id + * @return KalturaEmailIngestionProfile + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("emailingestionprofile", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaEmailIngestionProfile"); + return $resultObject; + } + + /** + * Retrieve a EmailIngestionProfile by email address + * + * @param string $emailAddress + * @return KalturaEmailIngestionProfile + */ + function getByEmailAddress($emailAddress) + { + $kparams = array(); + $this->client->addParam($kparams, "emailAddress", $emailAddress); + $this->client->queueServiceActionCall("emailingestionprofile", "getByEmailAddress", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaEmailIngestionProfile"); + return $resultObject; + } + + /** + * Update an existing EmailIngestionProfile + * + * @param int $id + * @param KalturaEmailIngestionProfile $EmailIP + * @return KalturaEmailIngestionProfile + */ + function update($id, KalturaEmailIngestionProfile $EmailIP) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "EmailIP", $EmailIP->toParams()); + $this->client->queueServiceActionCall("emailingestionprofile", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaEmailIngestionProfile"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryServerNodeService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * + * + * @param string $id + * @return KalturaEntryServerNode + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("entryservernode", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaEntryServerNode"); + return $resultObject; + } + + /** + * + * + * @param KalturaEntryServerNodeFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaEntryServerNodeListResponse + */ + function listAction(KalturaEntryServerNodeFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("entryservernode", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaEntryServerNodeListResponse"); + return $resultObject; + } + + /** + * + * + * @param int $id + * @param KalturaEntryServerNode $entryServerNode + * @return KalturaEntryServerNode + */ + function update($id, KalturaEntryServerNode $entryServerNode) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "entryServerNode", $entryServerNode->toParams()); + $this->client->queueServiceActionCall("entryservernode", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaEntryServerNode"); + return $resultObject; + } + + /** + * + * + * @param string $id + * @param int $status + * @return KalturaEntryServerNode + */ + function updateStatus($id, $status) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "status", $status); + $this->client->queueServiceActionCall("entryservernode", "updateStatus", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaEntryServerNode"); + return $resultObject; + } + + /** + * Validates server node still registered on entry + * + * @param int $id Entry server node id + */ + function validateRegisteredEntryServerNode($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("entryservernode", "validateRegisteredEntryServerNode", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaExportcsvService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Will serve a requested CSV + * + * @param string $id - the requested file id + * @return string + */ + function serveCsv($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("exportcsv", "serveCsv", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFileAssetService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Add new file asset + * + * @param KalturaFileAsset $fileAsset + * @return KalturaFileAsset + */ + function add(KalturaFileAsset $fileAsset) + { + $kparams = array(); + $this->client->addParam($kparams, "fileAsset", $fileAsset->toParams()); + $this->client->queueServiceActionCall("fileasset", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaFileAsset"); + return $resultObject; + } + + /** + * Delete file asset by id + * + * @param bigint $id + */ + function delete($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("fileasset", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Get file asset by id + * + * @param bigint $id + * @return KalturaFileAsset + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("fileasset", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaFileAsset"); + return $resultObject; + } + + /** + * List file assets by filter and pager + * + * @param KalturaFileAssetFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaFileAssetListResponse + */ + function listAction(KalturaFileAssetFilter $filter, KalturaFilterPager $pager = null) + { + $kparams = array(); + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("fileasset", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaFileAssetListResponse"); + return $resultObject; + } + + /** + * Serve file asset by id + * + * @param bigint $id + * @return file + */ + function serve($id) + { + if ($this->client->isMultiRequest()) + throw new KalturaClientException("Action is not supported as part of multi-request.", KalturaClientException::ERROR_ACTION_IN_MULTIREQUEST); + + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("fileasset", "serve", $kparams); + if(!$this->client->getDestinationPath() && !$this->client->getReturnServedResult()) + return $this->client->getServeUrl(); + return $this->client->doQueue(); + } + + /** + * Set content of file asset + * + * @param bigint $id + * @param KalturaContentResource $contentResource + * @return KalturaFileAsset + */ + function setContent($id, KalturaContentResource $contentResource) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "contentResource", $contentResource->toParams()); + $this->client->queueServiceActionCall("fileasset", "setContent", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaFileAsset"); + return $resultObject; + } + + /** + * Update file asset by id + * + * @param bigint $id + * @param KalturaFileAsset $fileAsset + * @return KalturaFileAsset + */ + function update($id, KalturaFileAsset $fileAsset) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "fileAsset", $fileAsset->toParams()); + $this->client->queueServiceActionCall("fileasset", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaFileAsset"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFlavorAssetService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Add flavor asset + * + * @param string $entryId + * @param KalturaFlavorAsset $flavorAsset + * @return KalturaFlavorAsset + */ + function add($entryId, KalturaFlavorAsset $flavorAsset) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "flavorAsset", $flavorAsset->toParams()); + $this->client->queueServiceActionCall("flavorasset", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaFlavorAsset"); + return $resultObject; + } + + /** + * Add and convert new Flavor Asset for Entry with specific Flavor Params + * + * @param string $entryId + * @param int $flavorParamsId + * @param int $priority + */ + function convert($entryId, $flavorParamsId, $priority = 0) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "flavorParamsId", $flavorParamsId); + $this->client->addParam($kparams, "priority", $priority); + $this->client->queueServiceActionCall("flavorasset", "convert", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Delete Flavor Asset by ID + * + * @param string $id + */ + function delete($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("flavorasset", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Delete all local file syncs for this asset + * + * @param string $assetId + */ + function deleteLocalContent($assetId) + { + $kparams = array(); + $this->client->addParam($kparams, "assetId", $assetId); + $this->client->queueServiceActionCall("flavorasset", "deleteLocalContent", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Manually export an asset + * + * @param string $assetId + * @param int $storageProfileId + * @return KalturaFlavorAsset + */ + function export($assetId, $storageProfileId) + { + $kparams = array(); + $this->client->addParam($kparams, "assetId", $assetId); + $this->client->addParam($kparams, "storageProfileId", $storageProfileId); + $this->client->queueServiceActionCall("flavorasset", "export", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaFlavorAsset"); + return $resultObject; + } + + /** + * Get Flavor Asset by ID + * + * @param string $id + * @return KalturaFlavorAsset + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("flavorasset", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaFlavorAsset"); + return $resultObject; + } + + /** + * Get Flavor Assets for Entry + * + * @param string $entryId + * @return array + */ + function getByEntryId($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("flavorasset", "getByEntryId", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "array"); + return $resultObject; + } + + /** + * Get download URL for the Flavor Asset + * + * @param string $id + * @param bool $useCdn + * @return string + */ + function getDownloadUrl($id, $useCdn = false) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "useCdn", $useCdn); + $this->client->queueServiceActionCall("flavorasset", "getDownloadUrl", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * Get Flavor Asset with the relevant Flavor Params (Flavor Params can exist without Flavor Asset & vice versa) + * + * @param string $entryId + * @return array + */ + function getFlavorAssetsWithParams($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("flavorasset", "getFlavorAssetsWithParams", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "array"); + return $resultObject; + } + + /** + * Get remote storage existing paths for the asset + * + * @param string $id + * @return KalturaRemotePathListResponse + */ + function getRemotePaths($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("flavorasset", "getRemotePaths", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaRemotePathListResponse"); + return $resultObject; + } + + /** + * Get download URL for the asset + * + * @param string $id + * @param int $storageId + * @param bool $forceProxy + * @param KalturaFlavorAssetUrlOptions $options + * @return string + */ + function getUrl($id, $storageId = null, $forceProxy = false, KalturaFlavorAssetUrlOptions $options = null) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "storageId", $storageId); + $this->client->addParam($kparams, "forceProxy", $forceProxy); + if ($options !== null) + $this->client->addParam($kparams, "options", $options->toParams()); + $this->client->queueServiceActionCall("flavorasset", "getUrl", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * Get volume map by entry id + * + * @param string $flavorId Flavor id + * @return file + */ + function getVolumeMap($flavorId) + { + if ($this->client->isMultiRequest()) + throw new KalturaClientException("Action is not supported as part of multi-request.", KalturaClientException::ERROR_ACTION_IN_MULTIREQUEST); + + $kparams = array(); + $this->client->addParam($kparams, "flavorId", $flavorId); + $this->client->queueServiceActionCall("flavorasset", "getVolumeMap", $kparams); + if(!$this->client->getDestinationPath() && !$this->client->getReturnServedResult()) + return $this->client->getServeUrl(); + return $this->client->doQueue(); + } + + /** + * Get web playable Flavor Assets for Entry + * + * @param string $entryId + * @return array + */ + function getWebPlayableByEntryId($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("flavorasset", "getWebPlayableByEntryId", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "array"); + return $resultObject; + } + + /** + * List Flavor Assets by filter and pager + * + * @param KalturaAssetFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaFlavorAssetListResponse + */ + function listAction(KalturaAssetFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("flavorasset", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaFlavorAssetListResponse"); + return $resultObject; + } + + /** + * Reconvert Flavor Asset by ID + * + * @param string $id Flavor Asset ID + */ + function reconvert($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("flavorasset", "reconvert", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Serve cmd line to transcode the ad + * + * @param string $assetId + * @param string $ffprobeJson + * @param string $duration + * @return string + */ + function serveAdStitchCmd($assetId, $ffprobeJson = null, $duration = null) + { + $kparams = array(); + $this->client->addParam($kparams, "assetId", $assetId); + $this->client->addParam($kparams, "ffprobeJson", $ffprobeJson); + $this->client->addParam($kparams, "duration", $duration); + $this->client->queueServiceActionCall("flavorasset", "serveAdStitchCmd", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * Set a given flavor as the original flavor + * + * @param string $assetId + */ + function setAsSource($assetId) + { + $kparams = array(); + $this->client->addParam($kparams, "assetId", $assetId); + $this->client->queueServiceActionCall("flavorasset", "setAsSource", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Update content of flavor asset + * + * @param string $id + * @param KalturaContentResource $contentResource + * @return KalturaFlavorAsset + */ + function setContent($id, KalturaContentResource $contentResource) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "contentResource", $contentResource->toParams()); + $this->client->queueServiceActionCall("flavorasset", "setContent", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaFlavorAsset"); + return $resultObject; + } + + /** + * Update flavor asset + * + * @param string $id + * @param KalturaFlavorAsset $flavorAsset + * @return KalturaFlavorAsset + */ + function update($id, KalturaFlavorAsset $flavorAsset) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "flavorAsset", $flavorAsset->toParams()); + $this->client->queueServiceActionCall("flavorasset", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaFlavorAsset"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFlavorParamsOutputService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Get flavor params output object by ID + * + * @param int $id + * @return KalturaFlavorParamsOutput + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("flavorparamsoutput", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaFlavorParamsOutput"); + return $resultObject; + } + + /** + * List flavor params output objects by filter and pager + * + * @param KalturaFlavorParamsOutputFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaFlavorParamsOutputListResponse + */ + function listAction(KalturaFlavorParamsOutputFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("flavorparamsoutput", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaFlavorParamsOutputListResponse"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFlavorParamsService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Add new Flavor Params + * + * @param KalturaFlavorParams $flavorParams + * @return KalturaFlavorParams + */ + function add(KalturaFlavorParams $flavorParams) + { + $kparams = array(); + $this->client->addParam($kparams, "flavorParams", $flavorParams->toParams()); + $this->client->queueServiceActionCall("flavorparams", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaFlavorParams"); + return $resultObject; + } + + /** + * Delete Flavor Params by ID + * + * @param int $id + */ + function delete($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("flavorparams", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Get Flavor Params by ID + * + * @param int $id + * @return KalturaFlavorParams + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("flavorparams", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaFlavorParams"); + return $resultObject; + } + + /** + * Get Flavor Params by Conversion Profile ID + * + * @param int $conversionProfileId + * @return array + */ + function getByConversionProfileId($conversionProfileId) + { + $kparams = array(); + $this->client->addParam($kparams, "conversionProfileId", $conversionProfileId); + $this->client->queueServiceActionCall("flavorparams", "getByConversionProfileId", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "array"); + return $resultObject; + } + + /** + * List Flavor Params by filter with paging support (By default - all system default params will be listed too) + * + * @param KalturaFlavorParamsFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaFlavorParamsListResponse + */ + function listAction(KalturaFlavorParamsFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("flavorparams", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaFlavorParamsListResponse"); + return $resultObject; + } + + /** + * Update Flavor Params by ID + * + * @param int $id + * @param KalturaFlavorParams $flavorParams + * @return KalturaFlavorParams + */ + function update($id, KalturaFlavorParams $flavorParams) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "flavorParams", $flavorParams->toParams()); + $this->client->queueServiceActionCall("flavorparams", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaFlavorParams"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGroupUserService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Add new GroupUser + * + * @param KalturaGroupUser $groupUser + * @return KalturaGroupUser + */ + function add(KalturaGroupUser $groupUser) + { + $kparams = array(); + $this->client->addParam($kparams, "groupUser", $groupUser->toParams()); + $this->client->queueServiceActionCall("groupuser", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaGroupUser"); + return $resultObject; + } + + /** + * Delete by userId and groupId + * + * @param string $userId + * @param string $groupId + */ + function delete($userId, $groupId) + { + $kparams = array(); + $this->client->addParam($kparams, "userId", $userId); + $this->client->addParam($kparams, "groupId", $groupId); + $this->client->queueServiceActionCall("groupuser", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * List all GroupUsers + * + * @param KalturaGroupUserFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaGroupUserListResponse + */ + function listAction(KalturaGroupUserFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("groupuser", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaGroupUserListResponse"); + return $resultObject; + } + + /** + * Sync by userId and groupIds + * + * @param string $userId + * @param string $groupIds + * @param bool $removeFromExistingGroups + * @param bool $createNewGroups + * @return KalturaBulkUpload + */ + function sync($userId, $groupIds = null, $removeFromExistingGroups = true, $createNewGroups = true) + { + $kparams = array(); + $this->client->addParam($kparams, "userId", $userId); + $this->client->addParam($kparams, "groupIds", $groupIds); + $this->client->addParam($kparams, "removeFromExistingGroups", $removeFromExistingGroups); + $this->client->addParam($kparams, "createNewGroups", $createNewGroups); + $this->client->queueServiceActionCall("groupuser", "sync", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBulkUpload"); + return $resultObject; + } + + /** + * Update GroupUser + * + * @param string $groupUserId + * @param KalturaGroupUser $groupUser Id + * @return KalturaGroupUser + */ + function update($groupUserId, KalturaGroupUser $groupUser) + { + $kparams = array(); + $this->client->addParam($kparams, "groupUserId", $groupUserId); + $this->client->addParam($kparams, "groupUser", $groupUser->toParams()); + $this->client->queueServiceActionCall("groupuser", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaGroupUser"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveChannelSegmentService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Add new live channel segment + * + * @param KalturaLiveChannelSegment $liveChannelSegment + * @return KalturaLiveChannelSegment + */ + function add(KalturaLiveChannelSegment $liveChannelSegment) + { + $kparams = array(); + $this->client->addParam($kparams, "liveChannelSegment", $liveChannelSegment->toParams()); + $this->client->queueServiceActionCall("livechannelsegment", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveChannelSegment"); + return $resultObject; + } + + /** + * Delete live channel segment by id + * + * @param bigint $id + */ + function delete($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("livechannelsegment", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Get live channel segment by id + * + * @param bigint $id + * @return KalturaLiveChannelSegment + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("livechannelsegment", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveChannelSegment"); + return $resultObject; + } + + /** + * List live channel segments by filter and pager + * + * @param KalturaLiveChannelSegmentFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaLiveChannelSegmentListResponse + */ + function listAction(KalturaLiveChannelSegmentFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("livechannelsegment", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveChannelSegmentListResponse"); + return $resultObject; + } + + /** + * Update live channel segment by id + * + * @param bigint $id + * @param KalturaLiveChannelSegment $liveChannelSegment + * @return KalturaLiveChannelSegment + */ + function update($id, KalturaLiveChannelSegment $liveChannelSegment) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "liveChannelSegment", $liveChannelSegment->toParams()); + $this->client->queueServiceActionCall("livechannelsegment", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveChannelSegment"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveChannelService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Adds new live channel. + * + * @param KalturaLiveChannel $liveChannel Live channel metadata + * @return KalturaLiveChannel + */ + function add(KalturaLiveChannel $liveChannel) + { + $kparams = array(); + $this->client->addParam($kparams, "liveChannel", $liveChannel->toParams()); + $this->client->queueServiceActionCall("livechannel", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveChannel"); + return $resultObject; + } + + /** + * Append recorded video to live entry + * + * @param string $entryId Live entry id + * @param string $assetId Live asset id + * @param string $mediaServerIndex + * @param KalturaDataCenterContentResource $resource + * @param float $duration In seconds + * @param bool $isLastChunk Is this the last recorded chunk in the current session (i.e. following a stream stop event) + * @return KalturaLiveEntry + */ + function appendRecording($entryId, $assetId, $mediaServerIndex, KalturaDataCenterContentResource $resource, $duration, $isLastChunk = false) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "assetId", $assetId); + $this->client->addParam($kparams, "mediaServerIndex", $mediaServerIndex); + $this->client->addParam($kparams, "resource", $resource->toParams()); + $this->client->addParam($kparams, "duration", $duration); + $this->client->addParam($kparams, "isLastChunk", $isLastChunk); + $this->client->queueServiceActionCall("livechannel", "appendRecording", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveEntry"); + return $resultObject; + } + + /** + * Create recorded entry id if it doesn't exist and make sure it happens on the DC that the live entry was created on. + * + * @param string $entryId Live entry id + * @param string $mediaServerIndex Media server index primary / secondary + * @param int $liveEntryStatus The status KalturaEntryServerNodeStatus::PLAYABLE | KalturaEntryServerNodeStatus::BROADCASTING + * @return KalturaLiveEntry + */ + function createRecordedEntry($entryId, $mediaServerIndex, $liveEntryStatus) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "mediaServerIndex", $mediaServerIndex); + $this->client->addParam($kparams, "liveEntryStatus", $liveEntryStatus); + $this->client->queueServiceActionCall("livechannel", "createRecordedEntry", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveEntry"); + return $resultObject; + } + + /** + * Delete a live channel. + * + * @param string $id Live channel id to delete + */ + function delete($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("livechannel", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Get live channel by ID. + * + * @param string $id Live channel id + * @return KalturaLiveChannel + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("livechannel", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveChannel"); + return $resultObject; + } + + /** + * Delivering the status of a live channel (on-air/offline) + * + * @param string $id ID of the live channel + * @return bool + */ + function isLive($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("livechannel", "isLive", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $resultObject = (bool) $resultObject; + return $resultObject; + } + + /** + * List live channels by filter with paging support. + * + * @param KalturaLiveChannelFilter $filter Live channel filter + * @param KalturaFilterPager $pager Pager + * @return KalturaLiveChannelListResponse + */ + function listAction(KalturaLiveChannelFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("livechannel", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveChannelListResponse"); + return $resultObject; + } + + /** + * Register media server to live entry + * + * @param string $entryId Live entry id + * @param string $hostname Media server host name + * @param string $mediaServerIndex Media server index primary / secondary + * @param string $applicationName The application to which entry is being broadcast + * @param int $liveEntryStatus The status KalturaEntryServerNodeStatus::PLAYABLE | KalturaEntryServerNodeStatus::BROADCASTING + * @param bool $shouldCreateRecordedEntry + * @return KalturaLiveEntry + */ + function registerMediaServer($entryId, $hostname, $mediaServerIndex, $applicationName = null, $liveEntryStatus = 1, $shouldCreateRecordedEntry = true) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "hostname", $hostname); + $this->client->addParam($kparams, "mediaServerIndex", $mediaServerIndex); + $this->client->addParam($kparams, "applicationName", $applicationName); + $this->client->addParam($kparams, "liveEntryStatus", $liveEntryStatus); + $this->client->addParam($kparams, "shouldCreateRecordedEntry", $shouldCreateRecordedEntry); + $this->client->queueServiceActionCall("livechannel", "registerMediaServer", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveEntry"); + return $resultObject; + } + + /** + * Set recorded video to live entry + * + * @param string $entryId Live entry id + * @param string $mediaServerIndex + * @param KalturaDataCenterContentResource $resource + * @param float $duration In seconds + * @param string $recordedEntryId Recorded entry Id + * @param int $flavorParamsId Recorded entry Id + * @return KalturaLiveEntry + */ + function setRecordedContent($entryId, $mediaServerIndex, KalturaDataCenterContentResource $resource, $duration, $recordedEntryId = null, $flavorParamsId = null) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "mediaServerIndex", $mediaServerIndex); + $this->client->addParam($kparams, "resource", $resource->toParams()); + $this->client->addParam($kparams, "duration", $duration); + $this->client->addParam($kparams, "recordedEntryId", $recordedEntryId); + $this->client->addParam($kparams, "flavorParamsId", $flavorParamsId); + $this->client->queueServiceActionCall("livechannel", "setRecordedContent", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveEntry"); + return $resultObject; + } + + /** + * Unregister media server from live entry + * + * @param string $entryId Live entry id + * @param string $hostname Media server host name + * @param string $mediaServerIndex Media server index primary / secondary + * @return KalturaLiveEntry + */ + function unregisterMediaServer($entryId, $hostname, $mediaServerIndex) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "hostname", $hostname); + $this->client->addParam($kparams, "mediaServerIndex", $mediaServerIndex); + $this->client->queueServiceActionCall("livechannel", "unregisterMediaServer", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveEntry"); + return $resultObject; + } + + /** + * Update live channel. Only the properties that were set will be updated. + * + * @param string $id Live channel id to update + * @param KalturaLiveChannel $liveChannel Live channel metadata to update + * @return KalturaLiveChannel + */ + function update($id, KalturaLiveChannel $liveChannel) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "liveChannel", $liveChannel->toParams()); + $this->client->queueServiceActionCall("livechannel", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveChannel"); + return $resultObject; + } + + /** + * Validates all registered media servers + * + * @param string $entryId Live entry id + */ + function validateRegisteredMediaServers($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("livechannel", "validateRegisteredMediaServers", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveReportsService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * + * + * @param int $reportType + * @param KalturaLiveReportExportParams $params + * @return KalturaLiveReportExportResponse + */ + function exportToCsv($reportType, KalturaLiveReportExportParams $params) + { + $kparams = array(); + $this->client->addParam($kparams, "reportType", $reportType); + $this->client->addParam($kparams, "params", $params->toParams()); + $this->client->queueServiceActionCall("livereports", "exportToCsv", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveReportExportResponse"); + return $resultObject; + } + + /** + * + * + * @param string $reportType + * @param KalturaLiveReportInputFilter $filter + * @param KalturaFilterPager $pager + * @return array + */ + function getEvents($reportType, KalturaLiveReportInputFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + $this->client->addParam($kparams, "reportType", $reportType); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("livereports", "getEvents", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "array"); + return $resultObject; + } + + /** + * + * + * @param string $reportType + * @param KalturaLiveReportInputFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaLiveStatsListResponse + */ + function getReport($reportType, KalturaLiveReportInputFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + $this->client->addParam($kparams, "reportType", $reportType); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("livereports", "getReport", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveStatsListResponse"); + return $resultObject; + } + + /** + * Will serve a requested report + * + * @param string $id - the requested id + * @return string + */ + function serveReport($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("livereports", "serveReport", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStatsService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Will write to the event log a single line representing the event + KalturaStatsEvent $event + * + * @param KalturaLiveStatsEvent $event + * @return bool + */ + function collect(KalturaLiveStatsEvent $event) + { + $kparams = array(); + $this->client->addParam($kparams, "event", $event->toParams()); + $this->client->queueServiceActionCall("livestats", "collect", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $resultObject = (bool) $resultObject; + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Adds new live stream entry. + The entry will be queued for provision. + * + * @param KalturaLiveStreamEntry $liveStreamEntry Live stream entry metadata + * @param string $sourceType Live stream source type + * @return KalturaLiveStreamEntry + */ + function add(KalturaLiveStreamEntry $liveStreamEntry, $sourceType = null) + { + $kparams = array(); + $this->client->addParam($kparams, "liveStreamEntry", $liveStreamEntry->toParams()); + $this->client->addParam($kparams, "sourceType", $sourceType); + $this->client->queueServiceActionCall("livestream", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveStreamEntry"); + return $resultObject; + } + + /** + * Add new pushPublish configuration to entry + * + * @param string $entryId + * @param string $protocol + * @param string $url + * @param KalturaLiveStreamConfiguration $liveStreamConfiguration + * @return KalturaLiveStreamEntry + */ + function addLiveStreamPushPublishConfiguration($entryId, $protocol, $url = null, KalturaLiveStreamConfiguration $liveStreamConfiguration = null) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "protocol", $protocol); + $this->client->addParam($kparams, "url", $url); + if ($liveStreamConfiguration !== null) + $this->client->addParam($kparams, "liveStreamConfiguration", $liveStreamConfiguration->toParams()); + $this->client->queueServiceActionCall("livestream", "addLiveStreamPushPublishConfiguration", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveStreamEntry"); + return $resultObject; + } + + /** + * Allocates a conference room or returns ones that has already been allocated + * + * @param string $entryId + * @param string $env + * @return KalturaRoomDetails + */ + function allocateConferenceRoom($entryId, $env = "") + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "env", $env); + $this->client->queueServiceActionCall("livestream", "allocateConferenceRoom", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaRoomDetails"); + return $resultObject; + } + + /** + * Append recorded video to live entry + * + * @param string $entryId Live entry id + * @param string $assetId Live asset id + * @param string $mediaServerIndex + * @param KalturaDataCenterContentResource $resource + * @param float $duration In seconds + * @param bool $isLastChunk Is this the last recorded chunk in the current session (i.e. following a stream stop event) + * @return KalturaLiveEntry + */ + function appendRecording($entryId, $assetId, $mediaServerIndex, KalturaDataCenterContentResource $resource, $duration, $isLastChunk = false) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "assetId", $assetId); + $this->client->addParam($kparams, "mediaServerIndex", $mediaServerIndex); + $this->client->addParam($kparams, "resource", $resource->toParams()); + $this->client->addParam($kparams, "duration", $duration); + $this->client->addParam($kparams, "isLastChunk", $isLastChunk); + $this->client->queueServiceActionCall("livestream", "appendRecording", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveEntry"); + return $resultObject; + } + + /** + * Archive a live entry which was recorded + * + * @param string $liveEntryId + * @param string $vodEntryId + * @return bool + */ + function archive($liveEntryId, $vodEntryId) + { + $kparams = array(); + $this->client->addParam($kparams, "liveEntryId", $liveEntryId); + $this->client->addParam($kparams, "vodEntryId", $vodEntryId); + $this->client->queueServiceActionCall("livestream", "archive", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $resultObject = (bool) $resultObject; + return $resultObject; + } + + /** + * Authenticate live-stream entry against stream token and partner limitations + * + * @param string $entryId Live stream entry id + * @param string $token Live stream broadcasting token + * @param string $hostname Media server host name + * @param string $mediaServerIndex Media server index primary / secondary + * @param string $applicationName The application to which entry is being broadcast + * @return KalturaLiveStreamEntry + */ + function authenticate($entryId, $token, $hostname = null, $mediaServerIndex = null, $applicationName = null) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "token", $token); + $this->client->addParam($kparams, "hostname", $hostname); + $this->client->addParam($kparams, "mediaServerIndex", $mediaServerIndex); + $this->client->addParam($kparams, "applicationName", $applicationName); + $this->client->queueServiceActionCall("livestream", "authenticate", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveStreamEntry"); + return $resultObject; + } + + /** + * Creates periodic metadata sync-point events on a live stream + * + * @param string $entryId Kaltura live-stream entry id + * @param int $interval Events interval in seconds + * @param int $duration Duration in seconds + */ + function createPeriodicSyncPoints($entryId, $interval, $duration) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "interval", $interval); + $this->client->addParam($kparams, "duration", $duration); + $this->client->queueServiceActionCall("livestream", "createPeriodicSyncPoints", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Create recorded entry id if it doesn't exist and make sure it happens on the DC that the live entry was created on. + * + * @param string $entryId Live entry id + * @param string $mediaServerIndex Media server index primary / secondary + * @param int $liveEntryStatus The status KalturaEntryServerNodeStatus::PLAYABLE | KalturaEntryServerNodeStatus::BROADCASTING + * @return KalturaLiveEntry + */ + function createRecordedEntry($entryId, $mediaServerIndex, $liveEntryStatus) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "mediaServerIndex", $mediaServerIndex); + $this->client->addParam($kparams, "liveEntryStatus", $liveEntryStatus); + $this->client->queueServiceActionCall("livestream", "createRecordedEntry", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveEntry"); + return $resultObject; + } + + /** + * Delete a live stream entry. + * + * @param string $entryId Live stream entry id to delete + */ + function delete($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("livestream", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * When the conf is finished this API should be called. + * + * @param string $entryId + * @param int $serverNodeId + * @return bool + */ + function finishConf($entryId, $serverNodeId = null) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "serverNodeId", $serverNodeId); + $this->client->queueServiceActionCall("livestream", "finishConf", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $resultObject = (bool) $resultObject; + return $resultObject; + } + + /** + * Get live stream entry by ID. + * + * @param string $entryId Live stream entry id + * @param int $version Desired version of the data + * @return KalturaLiveStreamEntry + */ + function get($entryId, $version = -1) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "version", $version); + $this->client->queueServiceActionCall("livestream", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveStreamEntry"); + return $resultObject; + } + + /** + * Delivering the status of a live stream (on-air/offline) if it is possible + * + * @param string $id ID of the live stream entry + * @return KalturaLiveStreamDetails + */ + function getDetails($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("livestream", "getDetails", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveStreamDetails"); + return $resultObject; + } + + /** + * Delivering the status of a live stream (on-air/offline) if it is possible + * + * @param string $id ID of the live stream + * @param string $protocol Protocol of the stream to test. + * @return bool + */ + function isLive($id, $protocol = null) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "protocol", $protocol); + $this->client->queueServiceActionCall("livestream", "isLive", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $resultObject = (bool) $resultObject; + return $resultObject; + } + + /** + * List live stream entries by filter with paging support. + * + * @param KalturaLiveStreamEntryFilter $filter Live stream entry filter + * @param KalturaFilterPager $pager Pager + * @return KalturaLiveStreamListResponse + */ + function listAction(KalturaLiveStreamEntryFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("livestream", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveStreamListResponse"); + return $resultObject; + } + + /** + * Regenerate new secure token for liveStream + * + * @param string $entryId Live stream entry id to regenerate secure token for + * @return KalturaLiveEntry + */ + function regenerateStreamToken($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("livestream", "regenerateStreamToken", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveEntry"); + return $resultObject; + } + + /** + * Mark that the conference has actually started + * + * @param string $entryId + * @return bool + */ + function registerConf($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("livestream", "registerConf", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $resultObject = (bool) $resultObject; + return $resultObject; + } + + /** + * Register media server to live entry + * + * @param string $entryId Live entry id + * @param string $hostname Media server host name + * @param string $mediaServerIndex Media server index primary / secondary + * @param string $applicationName The application to which entry is being broadcast + * @param int $liveEntryStatus The status KalturaEntryServerNodeStatus::PLAYABLE | KalturaEntryServerNodeStatus::BROADCASTING + * @param bool $shouldCreateRecordedEntry + * @return KalturaLiveEntry + */ + function registerMediaServer($entryId, $hostname, $mediaServerIndex, $applicationName = null, $liveEntryStatus = 1, $shouldCreateRecordedEntry = true) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "hostname", $hostname); + $this->client->addParam($kparams, "mediaServerIndex", $mediaServerIndex); + $this->client->addParam($kparams, "applicationName", $applicationName); + $this->client->addParam($kparams, "liveEntryStatus", $liveEntryStatus); + $this->client->addParam($kparams, "shouldCreateRecordedEntry", $shouldCreateRecordedEntry); + $this->client->queueServiceActionCall("livestream", "registerMediaServer", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveEntry"); + return $resultObject; + } + + /** + * Remove push publish configuration from entry + * + * @param string $entryId + * @param string $protocol + * @return KalturaLiveStreamEntry + */ + function removeLiveStreamPushPublishConfiguration($entryId, $protocol) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "protocol", $protocol); + $this->client->queueServiceActionCall("livestream", "removeLiveStreamPushPublishConfiguration", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveStreamEntry"); + return $resultObject; + } + + /** + * Set recorded video to live entry + * + * @param string $entryId Live entry id + * @param string $mediaServerIndex + * @param KalturaDataCenterContentResource $resource + * @param float $duration In seconds + * @param string $recordedEntryId Recorded entry Id + * @param int $flavorParamsId Recorded entry Id + * @return KalturaLiveEntry + */ + function setRecordedContent($entryId, $mediaServerIndex, KalturaDataCenterContentResource $resource, $duration, $recordedEntryId = null, $flavorParamsId = null) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "mediaServerIndex", $mediaServerIndex); + $this->client->addParam($kparams, "resource", $resource->toParams()); + $this->client->addParam($kparams, "duration", $duration); + $this->client->addParam($kparams, "recordedEntryId", $recordedEntryId); + $this->client->addParam($kparams, "flavorParamsId", $flavorParamsId); + $this->client->queueServiceActionCall("livestream", "setRecordedContent", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveEntry"); + return $resultObject; + } + + /** + * Unregister media server from live entry + * + * @param string $entryId Live entry id + * @param string $hostname Media server host name + * @param string $mediaServerIndex Media server index primary / secondary + * @return KalturaLiveEntry + */ + function unregisterMediaServer($entryId, $hostname, $mediaServerIndex) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "hostname", $hostname); + $this->client->addParam($kparams, "mediaServerIndex", $mediaServerIndex); + $this->client->queueServiceActionCall("livestream", "unregisterMediaServer", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveEntry"); + return $resultObject; + } + + /** + * Update live stream entry. Only the properties that were set will be updated. + * + * @param string $entryId Live stream entry id to update + * @param KalturaLiveStreamEntry $liveStreamEntry Live stream entry metadata to update + * @return KalturaLiveStreamEntry + */ + function update($entryId, KalturaLiveStreamEntry $liveStreamEntry) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "liveStreamEntry", $liveStreamEntry->toParams()); + $this->client->queueServiceActionCall("livestream", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveStreamEntry"); + return $resultObject; + } + + /** + * Update entry thumbnail using url + * + * @param string $entryId Live stream entry id + * @param string $url File url + * @return KalturaLiveStreamEntry + */ + function updateOfflineThumbnailFromUrl($entryId, $url) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "url", $url); + $this->client->queueServiceActionCall("livestream", "updateOfflineThumbnailFromUrl", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveStreamEntry"); + return $resultObject; + } + + /** + * Update live stream entry thumbnail using a raw jpeg file + * + * @param string $entryId Live stream entry id + * @param file $fileData Jpeg file data + * @return KalturaLiveStreamEntry + */ + function updateOfflineThumbnailJpeg($entryId, $fileData) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $kfiles = array(); + $this->client->addParam($kfiles, "fileData", $fileData); + $this->client->queueServiceActionCall("livestream", "updateOfflineThumbnailJpeg", $kparams, $kfiles); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaLiveStreamEntry"); + return $resultObject; + } + + /** + * Validates all registered media servers + * + * @param string $entryId Live entry id + */ + function validateRegisteredMediaServers($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("livestream", "validateRegisteredMediaServers", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaInfoService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * List media info objects by filter and pager + * + * @param KalturaMediaInfoFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaMediaInfoListResponse + */ + function listAction(KalturaMediaInfoFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("mediainfo", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMediaInfoListResponse"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Add entry + * + * @param KalturaMediaEntry $entry + * @return KalturaMediaEntry + */ + function add(KalturaMediaEntry $entry) + { + $kparams = array(); + $this->client->addParam($kparams, "entry", $entry->toParams()); + $this->client->queueServiceActionCall("media", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); + return $resultObject; + } + + /** + * Add content to media entry which is not yet associated with content (therefore is in status NO_CONTENT). + If the requirement is to replace the entry's associated content, use action updateContent. + * + * @param string $entryId + * @param KalturaResource $resource + * @return KalturaMediaEntry + */ + function addContent($entryId, KalturaResource $resource = null) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + if ($resource !== null) + $this->client->addParam($kparams, "resource", $resource->toParams()); + $this->client->queueServiceActionCall("media", "addContent", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); + return $resultObject; + } + + /** + * Adds new media entry by importing an HTTP or FTP URL. + The entry will be queued for import and then for conversion. + This action should be exposed only to the batches + * + * @param KalturaMediaEntry $mediaEntry Media entry metadata + * @param string $url An HTTP or FTP URL + * @param int $bulkUploadId The id of the bulk upload job + * @return KalturaMediaEntry + */ + function addFromBulk(KalturaMediaEntry $mediaEntry, $url, $bulkUploadId) + { + $kparams = array(); + $this->client->addParam($kparams, "mediaEntry", $mediaEntry->toParams()); + $this->client->addParam($kparams, "url", $url); + $this->client->addParam($kparams, "bulkUploadId", $bulkUploadId); + $this->client->queueServiceActionCall("media", "addFromBulk", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); + return $resultObject; + } + + /** + * Copy entry into new entry + * + * @param string $sourceEntryId Media entry id to copy from + * @param KalturaMediaEntry $mediaEntry Media entry metadata + * @param int $sourceFlavorParamsId The flavor to be used as the new entry source, source flavor will be used if not specified + * @return KalturaMediaEntry + */ + function addFromEntry($sourceEntryId, KalturaMediaEntry $mediaEntry = null, $sourceFlavorParamsId = null) + { + $kparams = array(); + $this->client->addParam($kparams, "sourceEntryId", $sourceEntryId); + if ($mediaEntry !== null) + $this->client->addParam($kparams, "mediaEntry", $mediaEntry->toParams()); + $this->client->addParam($kparams, "sourceFlavorParamsId", $sourceFlavorParamsId); + $this->client->queueServiceActionCall("media", "addFromEntry", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); + return $resultObject; + } + + /** + * Copy flavor asset into new entry + * + * @param string $sourceFlavorAssetId Flavor asset id to be used as the new entry source + * @param KalturaMediaEntry $mediaEntry Media entry metadata + * @return KalturaMediaEntry + */ + function addFromFlavorAsset($sourceFlavorAssetId, KalturaMediaEntry $mediaEntry = null) + { + $kparams = array(); + $this->client->addParam($kparams, "sourceFlavorAssetId", $sourceFlavorAssetId); + if ($mediaEntry !== null) + $this->client->addParam($kparams, "mediaEntry", $mediaEntry->toParams()); + $this->client->queueServiceActionCall("media", "addFromFlavorAsset", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); + return $resultObject; + } + + /** + * Add new entry after the file was recorded on the server and the token id exists + * + * @param KalturaMediaEntry $mediaEntry Media entry metadata + * @param string $webcamTokenId Token id for the recorded webcam file + * @return KalturaMediaEntry + */ + function addFromRecordedWebcam(KalturaMediaEntry $mediaEntry, $webcamTokenId) + { + $kparams = array(); + $this->client->addParam($kparams, "mediaEntry", $mediaEntry->toParams()); + $this->client->addParam($kparams, "webcamTokenId", $webcamTokenId); + $this->client->queueServiceActionCall("media", "addFromRecordedWebcam", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); + return $resultObject; + } + + /** + * Adds new media entry by importing the media file from a search provider. + This action should be used with the search service result. + * + * @param KalturaMediaEntry $mediaEntry Media entry metadata + * @param KalturaSearchResult $searchResult Result object from search service + * @return KalturaMediaEntry + */ + function addFromSearchResult(KalturaMediaEntry $mediaEntry = null, KalturaSearchResult $searchResult = null) + { + $kparams = array(); + if ($mediaEntry !== null) + $this->client->addParam($kparams, "mediaEntry", $mediaEntry->toParams()); + if ($searchResult !== null) + $this->client->addParam($kparams, "searchResult", $searchResult->toParams()); + $this->client->queueServiceActionCall("media", "addFromSearchResult", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); + return $resultObject; + } + + /** + * Add new entry after the specific media file was uploaded and the upload token id exists + * + * @param KalturaMediaEntry $mediaEntry Media entry metadata + * @param string $uploadTokenId Upload token id + * @return KalturaMediaEntry + */ + function addFromUploadedFile(KalturaMediaEntry $mediaEntry, $uploadTokenId) + { + $kparams = array(); + $this->client->addParam($kparams, "mediaEntry", $mediaEntry->toParams()); + $this->client->addParam($kparams, "uploadTokenId", $uploadTokenId); + $this->client->queueServiceActionCall("media", "addFromUploadedFile", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); + return $resultObject; + } + + /** + * Adds new media entry by importing an HTTP or FTP URL. + The entry will be queued for import and then for conversion. + * + * @param KalturaMediaEntry $mediaEntry Media entry metadata + * @param string $url An HTTP or FTP URL + * @return KalturaMediaEntry + */ + function addFromUrl(KalturaMediaEntry $mediaEntry, $url) + { + $kparams = array(); + $this->client->addParam($kparams, "mediaEntry", $mediaEntry->toParams()); + $this->client->addParam($kparams, "url", $url); + $this->client->queueServiceActionCall("media", "addFromUrl", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); + return $resultObject; + } + + /** + * Anonymously rank a media entry, no validation is done on duplicate rankings + * + * @param string $entryId + * @param int $rank + */ + function anonymousRank($entryId, $rank) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "rank", $rank); + $this->client->queueServiceActionCall("media", "anonymousRank", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Approve the media entry and mark the pending flags (if any) as moderated (this will make the entry playable) + * + * @param string $entryId + */ + function approve($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("media", "approve", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Approves media replacement + * + * @param string $entryId Media entry id to replace + * @return KalturaMediaEntry + */ + function approveReplace($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("media", "approveReplace", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); + return $resultObject; + } + + /** + * Add new bulk upload batch job + Conversion profile id can be specified in the API or in the CSV file, the one in the CSV file will be stronger. + If no conversion profile was specified, partner's default will be used + * + * @param file $fileData + * @param KalturaBulkUploadJobData $bulkUploadData + * @param KalturaBulkUploadEntryData $bulkUploadEntryData + * @return KalturaBulkUpload + */ + function bulkUploadAdd($fileData, KalturaBulkUploadJobData $bulkUploadData = null, KalturaBulkUploadEntryData $bulkUploadEntryData = null) + { + $kparams = array(); + $kfiles = array(); + $this->client->addParam($kfiles, "fileData", $fileData); + if ($bulkUploadData !== null) + $this->client->addParam($kparams, "bulkUploadData", $bulkUploadData->toParams()); + if ($bulkUploadEntryData !== null) + $this->client->addParam($kparams, "bulkUploadEntryData", $bulkUploadEntryData->toParams()); + $this->client->queueServiceActionCall("media", "bulkUploadAdd", $kparams, $kfiles); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBulkUpload"); + return $resultObject; + } + + /** + * Cancels media replacement + * + * @param string $entryId Media entry id to cancel + * @return KalturaMediaEntry + */ + function cancelReplace($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("media", "cancelReplace", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); + return $resultObject; + } + + /** + * Convert entry + * + * @param string $entryId Media entry id + * @param int $conversionProfileId + * @param array $dynamicConversionAttributes + * @return bigint + */ + function convert($entryId, $conversionProfileId = null, array $dynamicConversionAttributes = null) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "conversionProfileId", $conversionProfileId); + if ($dynamicConversionAttributes !== null) + foreach($dynamicConversionAttributes as $index => $obj) + { + $this->client->addParam($kparams, "dynamicConversionAttributes:$index", $obj->toParams()); + } + $this->client->queueServiceActionCall("media", "convert", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "double"); + return $resultObject; + } + + /** + * Count media entries by filter. + * + * @param KalturaMediaEntryFilter $filter Media entry filter + * @return int + */ + function count(KalturaMediaEntryFilter $filter = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + $this->client->queueServiceActionCall("media", "count", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "integer"); + return $resultObject; + } + + /** + * Delete a media entry. + * + * @param string $entryId Media entry id to delete + */ + function delete($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("media", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Creates a batch job that sends an email with a link to download a CSV containing a list of entries + * + * @param KalturaMediaEsearchExportToCsvJobData $data Job data indicating filter to pass to the job + * @return string + */ + function exportToCsv(KalturaMediaEsearchExportToCsvJobData $data) + { + $kparams = array(); + $this->client->addParam($kparams, "data", $data->toParams()); + $this->client->queueServiceActionCall("media", "exportToCsv", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * Flag inappropriate media entry for moderation + * + * @param KalturaModerationFlag $moderationFlag + */ + function flag(KalturaModerationFlag $moderationFlag) + { + $kparams = array(); + $this->client->addParam($kparams, "moderationFlag", $moderationFlag->toParams()); + $this->client->queueServiceActionCall("media", "flag", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Get media entry by ID. + * + * @param string $entryId Media entry id + * @param int $version Desired version of the data + * @return KalturaMediaEntry + */ + function get($entryId, $version = -1) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "version", $version); + $this->client->queueServiceActionCall("media", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); + return $resultObject; + } + + /** + * Get MRSS by entry id + XML will return as an escaped string + * + * @param string $entryId Entry id + * @param array $extendingItemsArray + * @param string $features + * @return string + */ + function getMrss($entryId, array $extendingItemsArray = null, $features = null) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + if ($extendingItemsArray !== null) + foreach($extendingItemsArray as $index => $obj) + { + $this->client->addParam($kparams, "extendingItemsArray:$index", $obj->toParams()); + } + $this->client->addParam($kparams, "features", $features); + $this->client->queueServiceActionCall("media", "getMrss", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * Get volume map by entry id + * + * @param string $entryId Entry id + * @return file + */ + function getVolumeMap($entryId) + { + if ($this->client->isMultiRequest()) + throw new KalturaClientException("Action is not supported as part of multi-request.", KalturaClientException::ERROR_ACTION_IN_MULTIREQUEST); + + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("media", "getVolumeMap", $kparams); + if(!$this->client->getDestinationPath() && !$this->client->getReturnServedResult()) + return $this->client->getServeUrl(); + return $this->client->doQueue(); + } + + /** + * List media entries by filter with paging support. + * + * @param KalturaMediaEntryFilter $filter Media entry filter + * @param KalturaFilterPager $pager Pager + * @return KalturaMediaListResponse + */ + function listAction(KalturaMediaEntryFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("media", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMediaListResponse"); + return $resultObject; + } + + /** + * List all pending flags for the media entry + * + * @param string $entryId + * @param KalturaFilterPager $pager + * @return KalturaModerationFlagListResponse + */ + function listFlags($entryId, KalturaFilterPager $pager = null) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("media", "listFlags", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaModerationFlagListResponse"); + return $resultObject; + } + + /** + * Reject the media entry and mark the pending flags (if any) as moderated (this will make the entry non playable) + * + * @param string $entryId + */ + function reject($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("media", "reject", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Request a new conversion job, this can be used to convert the media entry to a different format + * + * @param string $entryId Media entry id + * @param string $fileFormat Format to convert + * @return int + */ + function requestConversion($entryId, $fileFormat) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "fileFormat", $fileFormat); + $this->client->queueServiceActionCall("media", "requestConversion", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "integer"); + return $resultObject; + } + + /** + * Update media entry. Only the properties that were set will be updated. + * + * @param string $entryId Media entry id to update + * @param KalturaMediaEntry $mediaEntry Media entry metadata to update + * @return KalturaMediaEntry + */ + function update($entryId, KalturaMediaEntry $mediaEntry) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "mediaEntry", $mediaEntry->toParams()); + $this->client->queueServiceActionCall("media", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); + return $resultObject; + } + + /** + * Replace content associated with the media entry. + * + * @param string $entryId Media entry id to update + * @param KalturaResource $resource Resource to be used to replace entry media content + * @param int $conversionProfileId The conversion profile id to be used on the entry + * @param KalturaEntryReplacementOptions $advancedOptions Additional update content options + * @return KalturaMediaEntry + */ + function updateContent($entryId, KalturaResource $resource, $conversionProfileId = null, KalturaEntryReplacementOptions $advancedOptions = null) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "resource", $resource->toParams()); + $this->client->addParam($kparams, "conversionProfileId", $conversionProfileId); + if ($advancedOptions !== null) + $this->client->addParam($kparams, "advancedOptions", $advancedOptions->toParams()); + $this->client->queueServiceActionCall("media", "updateContent", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); + return $resultObject; + } + + /** + * Update media entry thumbnail by a specified time offset (In seconds) + If flavor params id not specified, source flavor will be used by default + * + * @param string $entryId Media entry id + * @param int $timeOffset Time offset (in seconds) + * @param int $flavorParamsId The flavor params id to be used + * @return KalturaMediaEntry + */ + function updateThumbnail($entryId, $timeOffset, $flavorParamsId = null) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "timeOffset", $timeOffset); + $this->client->addParam($kparams, "flavorParamsId", $flavorParamsId); + $this->client->queueServiceActionCall("media", "updateThumbnail", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); + return $resultObject; + } + + /** + * Update media entry thumbnail from a different entry by a specified time offset (In seconds) + If flavor params id not specified, source flavor will be used by default + * + * @param string $entryId Media entry id + * @param string $sourceEntryId Media entry id + * @param int $timeOffset Time offset (in seconds) + * @param int $flavorParamsId The flavor params id to be used + * @return KalturaMediaEntry + */ + function updateThumbnailFromSourceEntry($entryId, $sourceEntryId, $timeOffset, $flavorParamsId = null) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "sourceEntryId", $sourceEntryId); + $this->client->addParam($kparams, "timeOffset", $timeOffset); + $this->client->addParam($kparams, "flavorParamsId", $flavorParamsId); + $this->client->queueServiceActionCall("media", "updateThumbnailFromSourceEntry", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); + return $resultObject; + } + + /** + * Update entry thumbnail using URL + * + * @param string $entryId Media entry id + * @param string $url File url + * @return KalturaBaseEntry + */ + function updateThumbnailFromUrl($entryId, $url) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "url", $url); + $this->client->queueServiceActionCall("media", "updateThumbnailFromUrl", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBaseEntry"); + return $resultObject; + } + + /** + * Update media entry thumbnail using a raw jpeg file + * + * @param string $entryId Media entry id + * @param file $fileData Jpeg file data + * @return KalturaMediaEntry + */ + function updateThumbnailJpeg($entryId, $fileData) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $kfiles = array(); + $this->client->addParam($kfiles, "fileData", $fileData); + $this->client->queueServiceActionCall("media", "updateThumbnailJpeg", $kparams, $kfiles); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMediaEntry"); + return $resultObject; + } + + /** + * Upload a media file to Kaltura, then the file can be used to create a media entry. + * + * @param file $fileData The file data + * @return string + */ + function upload($fileData) + { + $kparams = array(); + $kfiles = array(); + $this->client->addParam($kfiles, "fileData", $fileData); + $this->client->queueServiceActionCall("media", "upload", $kparams, $kfiles); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMixingService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Adds a new mix. + If the dataContent is null, a default timeline will be created. + * + * @param KalturaMixEntry $mixEntry Mix entry metadata + * @return KalturaMixEntry + */ + function add(KalturaMixEntry $mixEntry) + { + $kparams = array(); + $this->client->addParam($kparams, "mixEntry", $mixEntry->toParams()); + $this->client->queueServiceActionCall("mixing", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMixEntry"); + return $resultObject; + } + + /** + * Anonymously rank a mix entry, no validation is done on duplicate rankings + * + * @param string $entryId + * @param int $rank + */ + function anonymousRank($entryId, $rank) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "rank", $rank); + $this->client->queueServiceActionCall("mixing", "anonymousRank", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Appends a media entry to the end of the mix timeline, this will save the mix timeline as a new version. + * + * @param string $mixEntryId Mix entry to append to its timeline + * @param string $mediaEntryId Media entry to append to the timeline + * @return KalturaMixEntry + */ + function appendMediaEntry($mixEntryId, $mediaEntryId) + { + $kparams = array(); + $this->client->addParam($kparams, "mixEntryId", $mixEntryId); + $this->client->addParam($kparams, "mediaEntryId", $mediaEntryId); + $this->client->queueServiceActionCall("mixing", "appendMediaEntry", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMixEntry"); + return $resultObject; + } + + /** + * Clones an existing mix. + * + * @param string $entryId Mix entry id to clone + * @return KalturaMixEntry + */ + function cloneAction($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("mixing", "clone", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMixEntry"); + return $resultObject; + } + + /** + * Count mix entries by filter. + * + * @param KalturaMediaEntryFilter $filter Media entry filter + * @return int + */ + function count(KalturaMediaEntryFilter $filter = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + $this->client->queueServiceActionCall("mixing", "count", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "integer"); + return $resultObject; + } + + /** + * Delete a mix entry. + * + * @param string $entryId Mix entry id to delete + */ + function delete($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("mixing", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Get mix entry by id. + * + * @param string $entryId Mix entry id + * @param int $version Desired version of the data + * @return KalturaMixEntry + */ + function get($entryId, $version = -1) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "version", $version); + $this->client->queueServiceActionCall("mixing", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMixEntry"); + return $resultObject; + } + + /** + * Get the mixes in which the media entry is included + * + * @param string $mediaEntryId + * @return array + */ + function getMixesByMediaId($mediaEntryId) + { + $kparams = array(); + $this->client->addParam($kparams, "mediaEntryId", $mediaEntryId); + $this->client->queueServiceActionCall("mixing", "getMixesByMediaId", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "array"); + return $resultObject; + } + + /** + * Get all ready media entries that exist in the given mix id + * + * @param string $mixId + * @param int $version Desired version to get the data from + * @return array + */ + function getReadyMediaEntries($mixId, $version = -1) + { + $kparams = array(); + $this->client->addParam($kparams, "mixId", $mixId); + $this->client->addParam($kparams, "version", $version); + $this->client->queueServiceActionCall("mixing", "getReadyMediaEntries", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "array"); + return $resultObject; + } + + /** + * List entries by filter with paging support. + Return parameter is an array of mix entries. + * + * @param KalturaMixEntryFilter $filter Mix entry filter + * @param KalturaFilterPager $pager Pager + * @return KalturaMixListResponse + */ + function listAction(KalturaMixEntryFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("mixing", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMixListResponse"); + return $resultObject; + } + + /** + * Update mix entry. Only the properties that were set will be updated. + * + * @param string $entryId Mix entry id to update + * @param KalturaMixEntry $mixEntry Mix entry metadata to update + * @return KalturaMixEntry + */ + function update($entryId, KalturaMixEntry $mixEntry) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "mixEntry", $mixEntry->toParams()); + $this->client->queueServiceActionCall("mixing", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaMixEntry"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaNotificationService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Return the notifications for a specific entry id and type + * + * @param string $entryId + * @param int $type + * @return KalturaClientNotification + */ + function getClientNotification($entryId, $type) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "type", $type); + $this->client->queueServiceActionCall("notification", "getClientNotification", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaClientNotification"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPartnerService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Count partner's existing sub-publishers (count includes the partner itself). + * + * @param KalturaPartnerFilter $filter + * @return int + */ + function count(KalturaPartnerFilter $filter = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + $this->client->queueServiceActionCall("partner", "count", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "integer"); + return $resultObject; + } + + /** + * Retrieve partner object by Id + * + * @param int $id + * @return KalturaPartner + */ + function get($id = null) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("partner", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPartner"); + return $resultObject; + } + + /** + * Retrieve all info attributed to the partner + This action expects no parameters. It returns information for the current KS partnerId. + * + * @return KalturaPartner + */ + function getInfo() + { + $kparams = array(); + $this->client->queueServiceActionCall("partner", "getInfo", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPartner"); + return $resultObject; + } + + /** + * Returns partner public info by Id + * + * @param int $id + * @return KalturaPartnerPublicInfo + */ + function getPublicInfo($id = null) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("partner", "getPublicInfo", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPartnerPublicInfo"); + return $resultObject; + } + + /** + * Retrieve partner secret and admin secret + * + * @param int $partnerId + * @param string $adminEmail + * @param string $cmsPassword + * @param string $otp + * @return KalturaPartner + */ + function getSecrets($partnerId, $adminEmail, $cmsPassword, $otp = null) + { + $kparams = array(); + $this->client->addParam($kparams, "partnerId", $partnerId); + $this->client->addParam($kparams, "adminEmail", $adminEmail); + $this->client->addParam($kparams, "cmsPassword", $cmsPassword); + $this->client->addParam($kparams, "otp", $otp); + $this->client->queueServiceActionCall("partner", "getSecrets", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPartner"); + return $resultObject; + } + + /** + * Get usage statistics for a partner + Calculation is done according to partner's package + * + * @return KalturaPartnerStatistics + */ + function getStatistics() + { + $kparams = array(); + $this->client->queueServiceActionCall("partner", "getStatistics", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPartnerStatistics"); + return $resultObject; + } + + /** + * Get usage statistics for a partner + Calculation is done according to partner's package + Additional data returned is a graph points of streaming usage in a time frame + The resolution can be "days" or "months" + * + * @param int $year + * @param int $month + * @param string $resolution + * @return KalturaPartnerUsage + */ + function getUsage($year = "", $month = 1, $resolution = null) + { + $kparams = array(); + $this->client->addParam($kparams, "year", $year); + $this->client->addParam($kparams, "month", $month); + $this->client->addParam($kparams, "resolution", $resolution); + $this->client->queueServiceActionCall("partner", "getUsage", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPartnerUsage"); + return $resultObject; + } + + /** + * List partners by filter with paging support + Current implementation will only list the sub partners of the partner initiating the API call (using the current KS). + This action is only partially implemented to support listing sub partners of a VAR partner. + * + * @param KalturaPartnerFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaPartnerListResponse + */ + function listAction(KalturaPartnerFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("partner", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPartnerListResponse"); + return $resultObject; + } + + /** + * List partner's current processes' statuses + * + * @return KalturaFeatureStatusListResponse + */ + function listFeatureStatus() + { + $kparams = array(); + $this->client->queueServiceActionCall("partner", "listFeatureStatus", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaFeatureStatusListResponse"); + return $resultObject; + } + + /** + * Retrieve a list of partner objects which the current user is allowed to access. + * + * @param KalturaPartnerFilter $partnerFilter + * @param KalturaFilterPager $pager + * @return KalturaPartnerListResponse + */ + function listPartnersForUser(KalturaPartnerFilter $partnerFilter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($partnerFilter !== null) + $this->client->addParam($kparams, "partnerFilter", $partnerFilter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("partner", "listPartnersForUser", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPartnerListResponse"); + return $resultObject; + } + + /** + * Create a new Partner object + * + * @param KalturaPartner $partner + * @param string $cmsPassword + * @param int $templatePartnerId + * @param bool $silent + * @return KalturaPartner + */ + function register(KalturaPartner $partner, $cmsPassword = "", $templatePartnerId = null, $silent = false) + { + $kparams = array(); + $this->client->addParam($kparams, "partner", $partner->toParams()); + $this->client->addParam($kparams, "cmsPassword", $cmsPassword); + $this->client->addParam($kparams, "templatePartnerId", $templatePartnerId); + $this->client->addParam($kparams, "silent", $silent); + $this->client->queueServiceActionCall("partner", "register", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPartner"); + return $resultObject; + } + + /** + * Create a new Partner object + * + * @param KalturaPartner $partner + * @param string $cmsPassword + * @param int $templatePartnerId + * @param bool $silent + * @return bool + */ + function registrationValidation(KalturaPartner $partner, $cmsPassword = "", $templatePartnerId = null, $silent = false) + { + $kparams = array(); + $this->client->addParam($kparams, "partner", $partner->toParams()); + $this->client->addParam($kparams, "cmsPassword", $cmsPassword); + $this->client->addParam($kparams, "templatePartnerId", $templatePartnerId); + $this->client->addParam($kparams, "silent", $silent); + $this->client->queueServiceActionCall("partner", "registrationValidation", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $resultObject = (bool) $resultObject; + return $resultObject; + } + + /** + * Update details and settings of an existing partner + * + * @param KalturaPartner $partner + * @param bool $allowEmpty + * @return KalturaPartner + */ + function update(KalturaPartner $partner, $allowEmpty = false) + { + $kparams = array(); + $this->client->addParam($kparams, "partner", $partner->toParams()); + $this->client->addParam($kparams, "allowEmpty", $allowEmpty); + $this->client->queueServiceActionCall("partner", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPartner"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPermissionItemService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Adds a new permission item object to the account. + This action is available only to Kaltura system administrators. + * + * @param KalturaPermissionItem $permissionItem The new permission item + * @return KalturaPermissionItem + */ + function add(KalturaPermissionItem $permissionItem) + { + $kparams = array(); + $this->client->addParam($kparams, "permissionItem", $permissionItem->toParams()); + $this->client->queueServiceActionCall("permissionitem", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPermissionItem"); + return $resultObject; + } + + /** + * Deletes an existing permission item object. + This action is available only to Kaltura system administrators. + * + * @param int $permissionItemId The permission item's unique identifier + * @return KalturaPermissionItem + */ + function delete($permissionItemId) + { + $kparams = array(); + $this->client->addParam($kparams, "permissionItemId", $permissionItemId); + $this->client->queueServiceActionCall("permissionitem", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPermissionItem"); + return $resultObject; + } + + /** + * Retrieves a permission item object using its ID. + * + * @param int $permissionItemId The permission item's unique identifier + * @return KalturaPermissionItem + */ + function get($permissionItemId) + { + $kparams = array(); + $this->client->addParam($kparams, "permissionItemId", $permissionItemId); + $this->client->queueServiceActionCall("permissionitem", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPermissionItem"); + return $resultObject; + } + + /** + * Lists permission item objects that are associated with an account. + * + * @param KalturaPermissionItemFilter $filter A filter used to exclude specific types of permission items + * @param KalturaFilterPager $pager A limit for the number of records to display on a page + * @return KalturaPermissionItemListResponse + */ + function listAction(KalturaPermissionItemFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("permissionitem", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPermissionItemListResponse"); + return $resultObject; + } + + /** + * Updates an existing permission item object. + This action is available only to Kaltura system administrators. + * + * @param int $permissionItemId The permission item's unique identifier + * @param KalturaPermissionItem $permissionItem Id The permission item's unique identifier + * @return KalturaPermissionItem + */ + function update($permissionItemId, KalturaPermissionItem $permissionItem) + { + $kparams = array(); + $this->client->addParam($kparams, "permissionItemId", $permissionItemId); + $this->client->addParam($kparams, "permissionItem", $permissionItem->toParams()); + $this->client->queueServiceActionCall("permissionitem", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPermissionItem"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPermissionService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Adds a new permission object to the account. + * + * @param KalturaPermission $permission The new permission + * @return KalturaPermission + */ + function add(KalturaPermission $permission) + { + $kparams = array(); + $this->client->addParam($kparams, "permission", $permission->toParams()); + $this->client->queueServiceActionCall("permission", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPermission"); + return $resultObject; + } + + /** + * Deletes an existing permission object. + * + * @param string $permissionName The name assigned to the permission + * @return KalturaPermission + */ + function delete($permissionName) + { + $kparams = array(); + $this->client->addParam($kparams, "permissionName", $permissionName); + $this->client->queueServiceActionCall("permission", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPermission"); + return $resultObject; + } + + /** + * Retrieves a permission object using its ID. + * + * @param string $permissionName The name assigned to the permission + * @return KalturaPermission + */ + function get($permissionName) + { + $kparams = array(); + $this->client->addParam($kparams, "permissionName", $permissionName); + $this->client->queueServiceActionCall("permission", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPermission"); + return $resultObject; + } + + /** + * Retrieves a list of permissions that apply to the current KS. + * + * @return string + */ + function getCurrentPermissions() + { + $kparams = array(); + $this->client->queueServiceActionCall("permission", "getCurrentPermissions", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * Lists permission objects that are associated with an account. + Blocked permissions are listed unless you use a filter to exclude them. + Blocked permissions are listed unless you use a filter to exclude them. + * + * @param KalturaPermissionFilter $filter A filter used to exclude specific types of permissions + * @param KalturaFilterPager $pager A limit for the number of records to display on a page + * @return KalturaPermissionListResponse + */ + function listAction(KalturaPermissionFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("permission", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPermissionListResponse"); + return $resultObject; + } + + /** + * Updates an existing permission object. + * + * @param string $permissionName The name assigned to the permission + * @param KalturaPermission $permission Name The name assigned to the permission + * @return KalturaPermission + */ + function update($permissionName, KalturaPermission $permission) + { + $kparams = array(); + $this->client->addParam($kparams, "permissionName", $permissionName); + $this->client->addParam($kparams, "permission", $permission->toParams()); + $this->client->queueServiceActionCall("permission", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPermission"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlaylistService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Add new playlist + Note that all entries used in a playlist will become public and may appear in KalturaNetwork + * + * @param KalturaPlaylist $playlist + * @param bool $updateStats Indicates that the playlist statistics attributes should be updated synchronously now + * @return KalturaPlaylist + */ + function add(KalturaPlaylist $playlist, $updateStats = false) + { + $kparams = array(); + $this->client->addParam($kparams, "playlist", $playlist->toParams()); + $this->client->addParam($kparams, "updateStats", $updateStats); + $this->client->queueServiceActionCall("playlist", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPlaylist"); + return $resultObject; + } + + /** + * Clone an existing playlist + * + * @param string $id Id of the playlist to clone + * @param KalturaPlaylist $newPlaylist Parameters defined here will override the ones in the cloned playlist + * @return KalturaPlaylist + */ + function cloneAction($id, KalturaPlaylist $newPlaylist = null) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + if ($newPlaylist !== null) + $this->client->addParam($kparams, "newPlaylist", $newPlaylist->toParams()); + $this->client->queueServiceActionCall("playlist", "clone", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPlaylist"); + return $resultObject; + } + + /** + * Delete existing playlist + * + * @param string $id + */ + function delete($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("playlist", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Retrieve playlist for playing purpose + * + * @param string $id + * @param string $detailed + * @param KalturaContext $playlistContext + * @param KalturaMediaEntryFilterForPlaylist $filter + * @param KalturaFilterPager $pager + * @return array + */ + function execute($id, $detailed = "", KalturaContext $playlistContext = null, KalturaMediaEntryFilterForPlaylist $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "detailed", $detailed); + if ($playlistContext !== null) + $this->client->addParam($kparams, "playlistContext", $playlistContext->toParams()); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("playlist", "execute", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "array"); + return $resultObject; + } + + /** + * Retrieve playlist for playing purpose, based on content + * + * @param int $playlistType + * @param string $playlistContent + * @param string $detailed + * @param KalturaFilterPager $pager + * @return array + */ + function executeFromContent($playlistType, $playlistContent, $detailed = "", KalturaFilterPager $pager = null) + { + $kparams = array(); + $this->client->addParam($kparams, "playlistType", $playlistType); + $this->client->addParam($kparams, "playlistContent", $playlistContent); + $this->client->addParam($kparams, "detailed", $detailed); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("playlist", "executeFromContent", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "array"); + return $resultObject; + } + + /** + * Retrieve playlist for playing purpose, based on media entry filters + * + * @param array $filters + * @param int $totalResults + * @param string $detailed + * @param KalturaFilterPager $pager + * @return array + */ + function executeFromFilters(array $filters, $totalResults, $detailed = "1", KalturaFilterPager $pager = null) + { + $kparams = array(); + foreach($filters as $index => $obj) + { + $this->client->addParam($kparams, "filters:$index", $obj->toParams()); + } + $this->client->addParam($kparams, "totalResults", $totalResults); + $this->client->addParam($kparams, "detailed", $detailed); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("playlist", "executeFromFilters", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "array"); + return $resultObject; + } + + /** + * Retrieve a playlist + * + * @param string $id + * @param int $version Desired version of the data + * @return KalturaPlaylist + */ + function get($id, $version = -1) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "version", $version); + $this->client->queueServiceActionCall("playlist", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPlaylist"); + return $resultObject; + } + + /** + * Retrieve playlist statistics + * + * @param int $playlistType + * @param string $playlistContent + * @return KalturaPlaylist + */ + function getStatsFromContent($playlistType, $playlistContent) + { + $kparams = array(); + $this->client->addParam($kparams, "playlistType", $playlistType); + $this->client->addParam($kparams, "playlistContent", $playlistContent); + $this->client->queueServiceActionCall("playlist", "getStatsFromContent", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPlaylist"); + return $resultObject; + } + + /** + * List available playlists + * + * @param KalturaPlaylistFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaPlaylistListResponse + */ + function listAction(KalturaPlaylistFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("playlist", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPlaylistListResponse"); + return $resultObject; + } + + /** + * Update existing playlist + Note - you cannot change playlist type. Updated playlist must be of the same type. + * + * @param string $id + * @param KalturaPlaylist $playlist + * @param bool $updateStats + * @return KalturaPlaylist + */ + function update($id, KalturaPlaylist $playlist, $updateStats = false) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "playlist", $playlist->toParams()); + $this->client->addParam($kparams, "updateStats", $updateStats); + $this->client->queueServiceActionCall("playlist", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaPlaylist"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReportService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * + * + * @param int $id + * @param array $params + * @return KalturaReportResponse + */ + function execute($id, array $params = null) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + if ($params !== null) + foreach($params as $index => $obj) + { + $this->client->addParam($kparams, "params:$index", $obj->toParams()); + } + $this->client->queueServiceActionCall("report", "execute", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaReportResponse"); + return $resultObject; + } + + /** + * + * + * @param KalturaReportExportParams $params + * @return KalturaReportExportResponse + */ + function exportToCsv(KalturaReportExportParams $params) + { + $kparams = array(); + $this->client->addParam($kparams, "params", $params->toParams()); + $this->client->queueServiceActionCall("report", "exportToCsv", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaReportExportResponse"); + return $resultObject; + } + + /** + * Report getBaseTotal action allows to get the total base for storage reports + * + * @param string $reportType + * @param KalturaReportInputFilter $reportInputFilter + * @param string $objectIds - one ID or more (separated by ',') of specific objects to query + * @param KalturaReportResponseOptions $responseOptions + * @return array + */ + function getBaseTotal($reportType, KalturaReportInputFilter $reportInputFilter, $objectIds = null, KalturaReportResponseOptions $responseOptions = null) + { + $kparams = array(); + $this->client->addParam($kparams, "reportType", $reportType); + $this->client->addParam($kparams, "reportInputFilter", $reportInputFilter->toParams()); + $this->client->addParam($kparams, "objectIds", $objectIds); + if ($responseOptions !== null) + $this->client->addParam($kparams, "responseOptions", $responseOptions->toParams()); + $this->client->queueServiceActionCall("report", "getBaseTotal", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "array"); + return $resultObject; + } + + /** + * + * + * @param int $id + * @param array $params + * @return file + */ + function getCsv($id, array $params = null) + { + if ($this->client->isMultiRequest()) + throw new KalturaClientException("Action is not supported as part of multi-request.", KalturaClientException::ERROR_ACTION_IN_MULTIREQUEST); + + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + if ($params !== null) + foreach($params as $index => $obj) + { + $this->client->addParam($kparams, "params:$index", $obj->toParams()); + } + $this->client->queueServiceActionCall("report", "getCsv", $kparams); + if(!$this->client->getDestinationPath() && !$this->client->getReturnServedResult()) + return $this->client->getServeUrl(); + return $this->client->doQueue(); + } + + /** + * Returns report CSV file executed by string params with the following convention: param1=value1;param2=value2 + * + * @param int $id + * @param string $params + * @return file + */ + function getCsvFromStringParams($id, $params = null) + { + if ($this->client->isMultiRequest()) + throw new KalturaClientException("Action is not supported as part of multi-request.", KalturaClientException::ERROR_ACTION_IN_MULTIREQUEST); + + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "params", $params); + $this->client->queueServiceActionCall("report", "getCsvFromStringParams", $kparams); + if(!$this->client->getDestinationPath() && !$this->client->getReturnServedResult()) + return $this->client->getServeUrl(); + return $this->client->doQueue(); + } + + /** + * Report getGraphs action allows to get a graph data for a specific report. + * + * @param string $reportType + * @param KalturaReportInputFilter $reportInputFilter + * @param string $dimension + * @param string $objectIds - one ID or more (separated by ',') of specific objects to query + * @param KalturaReportResponseOptions $responseOptions + * @return array + */ + function getGraphs($reportType, KalturaReportInputFilter $reportInputFilter, $dimension = null, $objectIds = null, KalturaReportResponseOptions $responseOptions = null) + { + $kparams = array(); + $this->client->addParam($kparams, "reportType", $reportType); + $this->client->addParam($kparams, "reportInputFilter", $reportInputFilter->toParams()); + $this->client->addParam($kparams, "dimension", $dimension); + $this->client->addParam($kparams, "objectIds", $objectIds); + if ($responseOptions !== null) + $this->client->addParam($kparams, "responseOptions", $responseOptions->toParams()); + $this->client->queueServiceActionCall("report", "getGraphs", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "array"); + return $resultObject; + } + + /** + * Report getTable action allows to get a graph data for a specific report. + * + * @param string $reportType + * @param KalturaReportInputFilter $reportInputFilter + * @param KalturaFilterPager $pager + * @param string $order + * @param string $objectIds - one ID or more (separated by ',') of specific objects to query + * @param KalturaReportResponseOptions $responseOptions + * @return KalturaReportTable + */ + function getTable($reportType, KalturaReportInputFilter $reportInputFilter, KalturaFilterPager $pager, $order = null, $objectIds = null, KalturaReportResponseOptions $responseOptions = null) + { + $kparams = array(); + $this->client->addParam($kparams, "reportType", $reportType); + $this->client->addParam($kparams, "reportInputFilter", $reportInputFilter->toParams()); + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->addParam($kparams, "order", $order); + $this->client->addParam($kparams, "objectIds", $objectIds); + if ($responseOptions !== null) + $this->client->addParam($kparams, "responseOptions", $responseOptions->toParams()); + $this->client->queueServiceActionCall("report", "getTable", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaReportTable"); + return $resultObject; + } + + /** + * Report getTotal action allows to get a graph data for a specific report. + * + * @param string $reportType + * @param KalturaReportInputFilter $reportInputFilter + * @param string $objectIds - one ID or more (separated by ',') of specific objects to query + * @param KalturaReportResponseOptions $responseOptions + * @return KalturaReportTotal + */ + function getTotal($reportType, KalturaReportInputFilter $reportInputFilter, $objectIds = null, KalturaReportResponseOptions $responseOptions = null) + { + $kparams = array(); + $this->client->addParam($kparams, "reportType", $reportType); + $this->client->addParam($kparams, "reportInputFilter", $reportInputFilter->toParams()); + $this->client->addParam($kparams, "objectIds", $objectIds); + if ($responseOptions !== null) + $this->client->addParam($kparams, "responseOptions", $responseOptions->toParams()); + $this->client->queueServiceActionCall("report", "getTotal", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaReportTotal"); + return $resultObject; + } + + /** + * Will create a CSV file for the given report and return the URL to access it + * + * @param string $reportTitle The title of the report to display at top of CSV + * @param string $reportText The text of the filter of the report + * @param string $headers The headers of the columns - a map between the enumerations on the server side and the their display text + * @param string $reportType + * @param KalturaReportInputFilter $reportInputFilter + * @param string $dimension + * @param KalturaFilterPager $pager + * @param string $order + * @param string $objectIds - one ID or more (separated by ',') of specific objects to query + * @param KalturaReportResponseOptions $responseOptions + * @return string + */ + function getUrlForReportAsCsv($reportTitle, $reportText, $headers, $reportType, KalturaReportInputFilter $reportInputFilter, $dimension = null, KalturaFilterPager $pager = null, $order = null, $objectIds = null, KalturaReportResponseOptions $responseOptions = null) + { + $kparams = array(); + $this->client->addParam($kparams, "reportTitle", $reportTitle); + $this->client->addParam($kparams, "reportText", $reportText); + $this->client->addParam($kparams, "headers", $headers); + $this->client->addParam($kparams, "reportType", $reportType); + $this->client->addParam($kparams, "reportInputFilter", $reportInputFilter->toParams()); + $this->client->addParam($kparams, "dimension", $dimension); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->addParam($kparams, "order", $order); + $this->client->addParam($kparams, "objectIds", $objectIds); + if ($responseOptions !== null) + $this->client->addParam($kparams, "responseOptions", $responseOptions->toParams()); + $this->client->queueServiceActionCall("report", "getUrlForReportAsCsv", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * Will serve a requested report + * + * @param string $id - the requested id + * @return string + */ + function serve($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("report", "serve", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaResponseProfileService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Add new response profile + * + * @param KalturaResponseProfile $addResponseProfile + * @return KalturaResponseProfile + */ + function add(KalturaResponseProfile $addResponseProfile) + { + $kparams = array(); + $this->client->addParam($kparams, "addResponseProfile", $addResponseProfile->toParams()); + $this->client->queueServiceActionCall("responseprofile", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaResponseProfile"); + return $resultObject; + } + + /** + * Clone an existing response profile + * + * @param bigint $id + * @param KalturaResponseProfile $profile + * @return KalturaResponseProfile + */ + function cloneAction($id, KalturaResponseProfile $profile) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "profile", $profile->toParams()); + $this->client->queueServiceActionCall("responseprofile", "clone", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaResponseProfile"); + return $resultObject; + } + + /** + * Delete response profile by id + * + * @param bigint $id + */ + function delete($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("responseprofile", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Get response profile by id + * + * @param bigint $id + * @return KalturaResponseProfile + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("responseprofile", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaResponseProfile"); + return $resultObject; + } + + /** + * List response profiles by filter and pager + * + * @param KalturaResponseProfileFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaResponseProfileListResponse + */ + function listAction(KalturaResponseProfileFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("responseprofile", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaResponseProfileListResponse"); + return $resultObject; + } + + /** + * Recalculate response profile cached objects + * + * @param KalturaResponseProfileCacheRecalculateOptions $options + * @return KalturaResponseProfileCacheRecalculateResults + */ + function recalculate(KalturaResponseProfileCacheRecalculateOptions $options) + { + $kparams = array(); + $this->client->addParam($kparams, "options", $options->toParams()); + $this->client->queueServiceActionCall("responseprofile", "recalculate", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaResponseProfileCacheRecalculateResults"); + return $resultObject; + } + + /** + * Update response profile by id + * + * @param bigint $id + * @param KalturaResponseProfile $updateResponseProfile + * @return KalturaResponseProfile + */ + function update($id, KalturaResponseProfile $updateResponseProfile) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "updateResponseProfile", $updateResponseProfile->toParams()); + $this->client->queueServiceActionCall("responseprofile", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaResponseProfile"); + return $resultObject; + } + + /** + * Update response profile status by id + * + * @param bigint $id + * @param int $status + * @return KalturaResponseProfile + */ + function updateStatus($id, $status) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "status", $status); + $this->client->queueServiceActionCall("responseprofile", "updateStatus", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaResponseProfile"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSchemaService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Serves the requested XSD according to the type and name. + * + * @param string $type + * @return file + */ + function serve($type) + { + if ($this->client->isMultiRequest()) + throw new KalturaClientException("Action is not supported as part of multi-request.", KalturaClientException::ERROR_ACTION_IN_MULTIREQUEST); + + $kparams = array(); + $this->client->addParam($kparams, "type", $type); + $this->client->queueServiceActionCall("schema", "serve", $kparams); + if(!$this->client->getDestinationPath() && !$this->client->getReturnServedResult()) + return $this->client->getServeUrl(); + return $this->client->doQueue(); + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSearchService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * + * + * @param int $searchSource + * @param string $userName + * @param string $password + * @return KalturaSearchAuthData + */ + function externalLogin($searchSource, $userName, $password) + { + $kparams = array(); + $this->client->addParam($kparams, "searchSource", $searchSource); + $this->client->addParam($kparams, "userName", $userName); + $this->client->addParam($kparams, "password", $password); + $this->client->queueServiceActionCall("search", "externalLogin", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaSearchAuthData"); + return $resultObject; + } + + /** + * Retrieve extra information about media found in search action + Some providers return only part of the fields needed to create entry from, use this action to get the rest of the fields. + * + * @param KalturaSearchResult $searchResult KalturaSearchResult object extends KalturaSearch and has all fields required for media:add + * @return KalturaSearchResult + */ + function getMediaInfo(KalturaSearchResult $searchResult) + { + $kparams = array(); + $this->client->addParam($kparams, "searchResult", $searchResult->toParams()); + $this->client->queueServiceActionCall("search", "getMediaInfo", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaSearchResult"); + return $resultObject; + } + + /** + * Search for media in one of the supported media providers + * + * @param KalturaSearch $search A KalturaSearch object contains the search keywords, media provider and media type + * @param KalturaFilterPager $pager + * @return KalturaSearchResultResponse + */ + function search(KalturaSearch $search, KalturaFilterPager $pager = null) + { + $kparams = array(); + $this->client->addParam($kparams, "search", $search->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("search", "search", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaSearchResultResponse"); + return $resultObject; + } + + /** + * Search for media given a specific URL + Kaltura supports a searchURL action on some of the media providers. + This action will return a KalturaSearchResult object based on a given URL (assuming the media provider is supported) + * + * @param int $mediaType + * @param string $url + * @return KalturaSearchResult + */ + function searchUrl($mediaType, $url) + { + $kparams = array(); + $this->client->addParam($kparams, "mediaType", $mediaType); + $this->client->addParam($kparams, "url", $url); + $this->client->queueServiceActionCall("search", "searchUrl", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaSearchResult"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaServerNodeService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Adds a server node to the Kaltura DB. + * + * @param KalturaServerNode $serverNode + * @return KalturaServerNode + */ + function add(KalturaServerNode $serverNode) + { + $kparams = array(); + $this->client->addParam($kparams, "serverNode", $serverNode->toParams()); + $this->client->queueServiceActionCall("servernode", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaServerNode"); + return $resultObject; + } + + /** + * Delete server node by id + * + * @param string $serverNodeId + */ + function delete($serverNodeId) + { + $kparams = array(); + $this->client->addParam($kparams, "serverNodeId", $serverNodeId); + $this->client->queueServiceActionCall("servernode", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Disable server node by id + * + * @param string $serverNodeId + * @return KalturaServerNode + */ + function disable($serverNodeId) + { + $kparams = array(); + $this->client->addParam($kparams, "serverNodeId", $serverNodeId); + $this->client->queueServiceActionCall("servernode", "disable", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaServerNode"); + return $resultObject; + } + + /** + * Enable server node by id + * + * @param string $serverNodeId + * @return KalturaServerNode + */ + function enable($serverNodeId) + { + $kparams = array(); + $this->client->addParam($kparams, "serverNodeId", $serverNodeId); + $this->client->queueServiceActionCall("servernode", "enable", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaServerNode"); + return $resultObject; + } + + /** + * Get server node by id + * + * @param int $serverNodeId + * @return KalturaServerNode + */ + function get($serverNodeId) + { + $kparams = array(); + $this->client->addParam($kparams, "serverNodeId", $serverNodeId); + $this->client->queueServiceActionCall("servernode", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaServerNode"); + return $resultObject; + } + + /** + * Get the edge server node full path + * + * @param string $hostName + * @param string $protocol + * @param string $deliveryFormat + * @param string $deliveryType + * @return string + */ + function getFullPath($hostName, $protocol = "http", $deliveryFormat = null, $deliveryType = null) + { + $kparams = array(); + $this->client->addParam($kparams, "hostName", $hostName); + $this->client->addParam($kparams, "protocol", $protocol); + $this->client->addParam($kparams, "deliveryFormat", $deliveryFormat); + $this->client->addParam($kparams, "deliveryType", $deliveryType); + $this->client->queueServiceActionCall("servernode", "getFullPath", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * + * + * @param KalturaServerNodeFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaServerNodeListResponse + */ + function listAction(KalturaServerNodeFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("servernode", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaServerNodeListResponse"); + return $resultObject; + } + + /** + * Mark server node offline + * + * @param string $serverNodeId + * @return KalturaServerNode + */ + function markOffline($serverNodeId) + { + $kparams = array(); + $this->client->addParam($kparams, "serverNodeId", $serverNodeId); + $this->client->queueServiceActionCall("servernode", "markOffline", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaServerNode"); + return $resultObject; + } + + /** + * Update server node status + * + * @param string $hostName + * @param KalturaServerNode $serverNode + * @param int $serverNodeStatus + * @return KalturaServerNode + */ + function reportStatus($hostName, KalturaServerNode $serverNode = null, $serverNodeStatus = 1) + { + $kparams = array(); + $this->client->addParam($kparams, "hostName", $hostName); + if ($serverNode !== null) + $this->client->addParam($kparams, "serverNode", $serverNode->toParams()); + $this->client->addParam($kparams, "serverNodeStatus", $serverNodeStatus); + $this->client->queueServiceActionCall("servernode", "reportStatus", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaServerNode"); + return $resultObject; + } + + /** + * Update server node by id + * + * @param int $serverNodeId + * @param KalturaServerNode $serverNode Id + * @return KalturaServerNode + */ + function update($serverNodeId, KalturaServerNode $serverNode) + { + $kparams = array(); + $this->client->addParam($kparams, "serverNodeId", $serverNodeId); + $this->client->addParam($kparams, "serverNode", $serverNode->toParams()); + $this->client->queueServiceActionCall("servernode", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaServerNode"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSessionService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * End a session with the Kaltura server, making the current KS invalid. + * + */ + function end() + { + $kparams = array(); + $this->client->queueServiceActionCall("session", "end", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Parse session key and return its info + * + * @param string $session The KS to be parsed, keep it empty to use current session. + * @return KalturaSessionInfo + */ + function get($session = null) + { + $kparams = array(); + $this->client->addParam($kparams, "session", $session); + $this->client->queueServiceActionCall("session", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaSessionInfo"); + return $resultObject; + } + + /** + * Start an impersonated session with Kaltura's server. + The result KS is the session key that you should pass to all services that requires a ticket. + * + * @param string $secret - should be the secret (admin or user) of the original partnerId (not impersonatedPartnerId). + * @param int $impersonatedPartnerId + * @param string $userId - impersonated userId + * @param int $type + * @param int $partnerId + * @param int $expiry KS expiry time in seconds + * @param string $privileges + * @return string + */ + function impersonate($secret, $impersonatedPartnerId, $userId = "", $type = 0, $partnerId = null, $expiry = 86400, $privileges = null) + { + $kparams = array(); + $this->client->addParam($kparams, "secret", $secret); + $this->client->addParam($kparams, "impersonatedPartnerId", $impersonatedPartnerId); + $this->client->addParam($kparams, "userId", $userId); + $this->client->addParam($kparams, "type", $type); + $this->client->addParam($kparams, "partnerId", $partnerId); + $this->client->addParam($kparams, "expiry", $expiry); + $this->client->addParam($kparams, "privileges", $privileges); + $this->client->queueServiceActionCall("session", "impersonate", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * Start an impersonated session with Kaltura's server. + The result KS info contains the session key that you should pass to all services that requires a ticket. + Type, expiry and privileges won't be changed if they're not set + * + * @param string $session The old KS of the impersonated partner + * @param int $type Type of the new KS + * @param int $expiry Expiry time in seconds of the new KS + * @param string $privileges Privileges of the new KS + * @return KalturaSessionInfo + */ + function impersonateByKs($session, $type = null, $expiry = null, $privileges = null) + { + $kparams = array(); + $this->client->addParam($kparams, "session", $session); + $this->client->addParam($kparams, "type", $type); + $this->client->addParam($kparams, "expiry", $expiry); + $this->client->addParam($kparams, "privileges", $privileges); + $this->client->queueServiceActionCall("session", "impersonateByKs", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaSessionInfo"); + return $resultObject; + } + + /** + * Start a session with Kaltura's server. + The result KS is the session key that you should pass to all services that requires a ticket. + * + * @param string $secret Remember to provide the correct secret according to the sessionType you want + * @param string $userId + * @param int $type Regular session or Admin session + * @param int $partnerId + * @param int $expiry KS expiry time in seconds + * @param string $privileges + * @return string + */ + function start($secret, $userId = "", $type = 0, $partnerId = null, $expiry = 86400, $privileges = null) + { + $kparams = array(); + $this->client->addParam($kparams, "secret", $secret); + $this->client->addParam($kparams, "userId", $userId); + $this->client->addParam($kparams, "type", $type); + $this->client->addParam($kparams, "partnerId", $partnerId); + $this->client->addParam($kparams, "expiry", $expiry); + $this->client->addParam($kparams, "privileges", $privileges); + $this->client->queueServiceActionCall("session", "start", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * Start a session for Kaltura's flash widgets + * + * @param string $widgetId + * @param int $expiry + * @return KalturaStartWidgetSessionResponse + */ + function startWidgetSession($widgetId, $expiry = 86400) + { + $kparams = array(); + $this->client->addParam($kparams, "widgetId", $widgetId); + $this->client->addParam($kparams, "expiry", $expiry); + $this->client->queueServiceActionCall("session", "startWidgetSession", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaStartWidgetSessionResponse"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStatsService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Will write to the event log a single line representing the event + client version - will help interprete the line structure. different client versions might have slightly different data/data formats in the line +event_id - number is the row number in yuval's excel +datetime - same format as MySql's datetime - can change and should reflect the time zone +session id - can be some big random number or guid +partner id +entry id +unique viewer +widget id +ui_conf id +uid - the puser id as set by the ppartner +current point - in milliseconds +duration - milliseconds +user ip +process duration - in milliseconds +control id +seek +new point +referrer + + + KalturaStatsEvent $event + * + * @param KalturaStatsEvent $event + * @return bool + */ + function collect(KalturaStatsEvent $event) + { + $kparams = array(); + $this->client->addParam($kparams, "event", $event->toParams()); + $this->client->queueServiceActionCall("stats", "collect", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $resultObject = (bool) $resultObject; + return $resultObject; + } + + /** + * Will collect the kmcEvent sent form the KMC client + // this will actually be an empty function because all events will be sent using GET and will anyway be logged in the apache log + * + * @param KalturaStatsKmcEvent $kmcEvent + */ + function kmcCollect(KalturaStatsKmcEvent $kmcEvent) + { + $kparams = array(); + $this->client->addParam($kparams, "kmcEvent", $kmcEvent->toParams()); + $this->client->queueServiceActionCall("stats", "kmcCollect", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Use this action to report device capabilities to the kaltura server. + * + * @param string $data + */ + function reportDeviceCapabilities($data) + { + $kparams = array(); + $this->client->addParam($kparams, "data", $data); + $this->client->queueServiceActionCall("stats", "reportDeviceCapabilities", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Use this action to report errors to the kaltura server. + * + * @param string $errorCode + * @param string $errorMessage + */ + function reportError($errorCode, $errorMessage) + { + $kparams = array(); + $this->client->addParam($kparams, "errorCode", $errorCode); + $this->client->addParam($kparams, "errorMessage", $errorMessage); + $this->client->queueServiceActionCall("stats", "reportError", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * + * + * @param KalturaCEError $kalturaCEError + * @return KalturaCEError + */ + function reportKceError(KalturaCEError $kalturaCEError) + { + $kparams = array(); + $this->client->addParam($kparams, "kalturaCEError", $kalturaCEError->toParams()); + $this->client->queueServiceActionCall("stats", "reportKceError", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaCEError"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStorageProfileService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Adds a storage profile to the Kaltura DB. + * + * @param KalturaStorageProfile $storageProfile + * @return KalturaStorageProfile + */ + function add(KalturaStorageProfile $storageProfile) + { + $kparams = array(); + $this->client->addParam($kparams, "storageProfile", $storageProfile->toParams()); + $this->client->queueServiceActionCall("storageprofile", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaStorageProfile"); + return $resultObject; + } + + /** + * Get storage profile by id + * + * @param int $storageProfileId + * @return KalturaStorageProfile + */ + function get($storageProfileId) + { + $kparams = array(); + $this->client->addParam($kparams, "storageProfileId", $storageProfileId); + $this->client->queueServiceActionCall("storageprofile", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaStorageProfile"); + return $resultObject; + } + + /** + * + * + * @param KalturaStorageProfileFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaStorageProfileListResponse + */ + function listAction(KalturaStorageProfileFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("storageprofile", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaStorageProfileListResponse"); + return $resultObject; + } + + /** + * Update storage profile by id + * + * @param int $storageProfileId + * @param KalturaStorageProfile $storageProfile Id + * @return KalturaStorageProfile + */ + function update($storageProfileId, KalturaStorageProfile $storageProfile) + { + $kparams = array(); + $this->client->addParam($kparams, "storageProfileId", $storageProfileId); + $this->client->addParam($kparams, "storageProfile", $storageProfile->toParams()); + $this->client->queueServiceActionCall("storageprofile", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaStorageProfile"); + return $resultObject; + } + + /** + * + * + * @param int $storageId + * @param int $status + */ + function updateStatus($storageId, $status) + { + $kparams = array(); + $this->client->addParam($kparams, "storageId", $storageId); + $this->client->addParam($kparams, "status", $status); + $this->client->queueServiceActionCall("storageprofile", "updateStatus", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSyndicationFeedService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Add new Syndication Feed + * + * @param KalturaBaseSyndicationFeed $syndicationFeed + * @return KalturaBaseSyndicationFeed + */ + function add(KalturaBaseSyndicationFeed $syndicationFeed) + { + $kparams = array(); + $this->client->addParam($kparams, "syndicationFeed", $syndicationFeed->toParams()); + $this->client->queueServiceActionCall("syndicationfeed", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBaseSyndicationFeed"); + return $resultObject; + } + + /** + * Delete Syndication Feed by ID + * + * @param string $id + */ + function delete($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("syndicationfeed", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Get Syndication Feed by ID + * + * @param string $id + * @return KalturaBaseSyndicationFeed + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("syndicationfeed", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBaseSyndicationFeed"); + return $resultObject; + } + + /** + * Get entry count for a syndication feed + * + * @param string $feedId + * @return KalturaSyndicationFeedEntryCount + */ + function getEntryCount($feedId) + { + $kparams = array(); + $this->client->addParam($kparams, "feedId", $feedId); + $this->client->queueServiceActionCall("syndicationfeed", "getEntryCount", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaSyndicationFeedEntryCount"); + return $resultObject; + } + + /** + * List Syndication Feeds by filter with paging support + * + * @param KalturaBaseSyndicationFeedFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaBaseSyndicationFeedListResponse + */ + function listAction(KalturaBaseSyndicationFeedFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("syndicationfeed", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBaseSyndicationFeedListResponse"); + return $resultObject; + } + + /** + * Request conversion for all entries that doesn't have the required flavor param + returns a comma-separated ids of conversion jobs + * + * @param string $feedId + * @return string + */ + function requestConversion($feedId) + { + $kparams = array(); + $this->client->addParam($kparams, "feedId", $feedId); + $this->client->queueServiceActionCall("syndicationfeed", "requestConversion", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * Update Syndication Feed by ID + * + * @param string $id + * @param KalturaBaseSyndicationFeed $syndicationFeed + * @return KalturaBaseSyndicationFeed + */ + function update($id, KalturaBaseSyndicationFeed $syndicationFeed) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "syndicationFeed", $syndicationFeed->toParams()); + $this->client->queueServiceActionCall("syndicationfeed", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBaseSyndicationFeed"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSystemService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * + * + * @return string + */ + function getHealthCheck() + { + $kparams = array(); + $this->client->queueServiceActionCall("system", "getHealthCheck", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * + * + * @return int + */ + function getTime() + { + $kparams = array(); + $this->client->queueServiceActionCall("system", "getTime", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "integer"); + return $resultObject; + } + + /** + * + * + * @return string + */ + function getVersion() + { + $kparams = array(); + $this->client->queueServiceActionCall("system", "getVersion", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * + * + * @return bool + */ + function ping() + { + $kparams = array(); + $this->client->queueServiceActionCall("system", "ping", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $resultObject = (bool) $resultObject; + return $resultObject; + } + + /** + * + * + * @return bool + */ + function pingDatabase() + { + $kparams = array(); + $this->client->queueServiceActionCall("system", "pingDatabase", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $resultObject = (bool) $resultObject; + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaThumbAssetService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Add thumbnail asset + * + * @param string $entryId + * @param KalturaThumbAsset $thumbAsset + * @return KalturaThumbAsset + */ + function add($entryId, KalturaThumbAsset $thumbAsset) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "thumbAsset", $thumbAsset->toParams()); + $this->client->queueServiceActionCall("thumbasset", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaThumbAsset"); + return $resultObject; + } + + /** + * + * + * @param string $entryId + * @param file $fileData + * @return KalturaThumbAsset + */ + function addFromImage($entryId, $fileData) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $kfiles = array(); + $this->client->addParam($kfiles, "fileData", $fileData); + $this->client->queueServiceActionCall("thumbasset", "addFromImage", $kparams, $kfiles); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaThumbAsset"); + return $resultObject; + } + + /** + * + * + * @param string $entryId + * @param string $url + * @return KalturaThumbAsset + */ + function addFromUrl($entryId, $url) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "url", $url); + $this->client->queueServiceActionCall("thumbasset", "addFromUrl", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaThumbAsset"); + return $resultObject; + } + + /** + * + * + * @param string $thumbAssetId + */ + function delete($thumbAssetId) + { + $kparams = array(); + $this->client->addParam($kparams, "thumbAssetId", $thumbAssetId); + $this->client->queueServiceActionCall("thumbasset", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Manually export an asset + * + * @param string $assetId + * @param int $storageProfileId + * @return KalturaFlavorAsset + */ + function export($assetId, $storageProfileId) + { + $kparams = array(); + $this->client->addParam($kparams, "assetId", $assetId); + $this->client->addParam($kparams, "storageProfileId", $storageProfileId); + $this->client->queueServiceActionCall("thumbasset", "export", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaFlavorAsset"); + return $resultObject; + } + + /** + * + * + * @param string $entryId + * @param KalturaThumbParams $thumbParams + * @param string $sourceAssetId Id of the source asset (flavor or thumbnail) to be used as source for the thumbnail generation + * @return KalturaThumbAsset + */ + function generate($entryId, KalturaThumbParams $thumbParams, $sourceAssetId = null) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "thumbParams", $thumbParams->toParams()); + $this->client->addParam($kparams, "sourceAssetId", $sourceAssetId); + $this->client->queueServiceActionCall("thumbasset", "generate", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaThumbAsset"); + return $resultObject; + } + + /** + * + * + * @param string $entryId + * @param int $destThumbParamsId Indicate the id of the ThumbParams to be generate this thumbnail by + * @return KalturaThumbAsset + */ + function generateByEntryId($entryId, $destThumbParamsId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "destThumbParamsId", $destThumbParamsId); + $this->client->queueServiceActionCall("thumbasset", "generateByEntryId", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaThumbAsset"); + return $resultObject; + } + + /** + * + * + * @param string $thumbAssetId + * @return KalturaThumbAsset + */ + function get($thumbAssetId) + { + $kparams = array(); + $this->client->addParam($kparams, "thumbAssetId", $thumbAssetId); + $this->client->queueServiceActionCall("thumbasset", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaThumbAsset"); + return $resultObject; + } + + /** + * + * + * @param string $entryId + * @return array + */ + function getByEntryId($entryId) + { + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->queueServiceActionCall("thumbasset", "getByEntryId", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "array"); + return $resultObject; + } + + /** + * Get remote storage existing paths for the asset + * + * @param string $id + * @return KalturaRemotePathListResponse + */ + function getRemotePaths($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("thumbasset", "getRemotePaths", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaRemotePathListResponse"); + return $resultObject; + } + + /** + * Get download URL for the asset + * + * @param string $id + * @param int $storageId + * @param KalturaThumbParams $thumbParams + * @return string + */ + function getUrl($id, $storageId = null, KalturaThumbParams $thumbParams = null) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "storageId", $storageId); + if ($thumbParams !== null) + $this->client->addParam($kparams, "thumbParams", $thumbParams->toParams()); + $this->client->queueServiceActionCall("thumbasset", "getUrl", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * List Thumbnail Assets by filter and pager + * + * @param KalturaAssetFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaThumbAssetListResponse + */ + function listAction(KalturaAssetFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("thumbasset", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaThumbAssetListResponse"); + return $resultObject; + } + + /** + * + * + * @param string $thumbAssetId + * @return KalturaThumbAsset + */ + function regenerate($thumbAssetId) + { + $kparams = array(); + $this->client->addParam($kparams, "thumbAssetId", $thumbAssetId); + $this->client->queueServiceActionCall("thumbasset", "regenerate", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaThumbAsset"); + return $resultObject; + } + + /** + * Serves thumbnail by its id + * + * @param string $thumbAssetId + * @param int $version + * @param KalturaThumbParams $thumbParams + * @param KalturaThumbnailServeOptions $options + * @return file + */ + function serve($thumbAssetId, $version = null, KalturaThumbParams $thumbParams = null, KalturaThumbnailServeOptions $options = null) + { + if ($this->client->isMultiRequest()) + throw new KalturaClientException("Action is not supported as part of multi-request.", KalturaClientException::ERROR_ACTION_IN_MULTIREQUEST); + + $kparams = array(); + $this->client->addParam($kparams, "thumbAssetId", $thumbAssetId); + $this->client->addParam($kparams, "version", $version); + if ($thumbParams !== null) + $this->client->addParam($kparams, "thumbParams", $thumbParams->toParams()); + if ($options !== null) + $this->client->addParam($kparams, "options", $options->toParams()); + $this->client->queueServiceActionCall("thumbasset", "serve", $kparams); + if(!$this->client->getDestinationPath() && !$this->client->getReturnServedResult()) + return $this->client->getServeUrl(); + return $this->client->doQueue(); + } + + /** + * Serves thumbnail by entry id and thumnail params id + * + * @param string $entryId + * @param int $thumbParamId If not set, default thumbnail will be used. + * @return file + */ + function serveByEntryId($entryId, $thumbParamId = null) + { + if ($this->client->isMultiRequest()) + throw new KalturaClientException("Action is not supported as part of multi-request.", KalturaClientException::ERROR_ACTION_IN_MULTIREQUEST); + + $kparams = array(); + $this->client->addParam($kparams, "entryId", $entryId); + $this->client->addParam($kparams, "thumbParamId", $thumbParamId); + $this->client->queueServiceActionCall("thumbasset", "serveByEntryId", $kparams); + if(!$this->client->getDestinationPath() && !$this->client->getReturnServedResult()) + return $this->client->getServeUrl(); + return $this->client->doQueue(); + } + + /** + * Tags the thumbnail as DEFAULT_THUMB and removes that tag from all other thumbnail assets of the entry. + Create a new file sync link on the entry thumbnail that points to the thumbnail asset file sync. + * + * @param string $thumbAssetId + */ + function setAsDefault($thumbAssetId) + { + $kparams = array(); + $this->client->addParam($kparams, "thumbAssetId", $thumbAssetId); + $this->client->queueServiceActionCall("thumbasset", "setAsDefault", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Update content of thumbnail asset + * + * @param string $id + * @param KalturaContentResource $contentResource + * @return KalturaThumbAsset + */ + function setContent($id, KalturaContentResource $contentResource) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "contentResource", $contentResource->toParams()); + $this->client->queueServiceActionCall("thumbasset", "setContent", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaThumbAsset"); + return $resultObject; + } + + /** + * Update thumbnail asset + * + * @param string $id + * @param KalturaThumbAsset $thumbAsset + * @return KalturaThumbAsset + */ + function update($id, KalturaThumbAsset $thumbAsset) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "thumbAsset", $thumbAsset->toParams()); + $this->client->queueServiceActionCall("thumbasset", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaThumbAsset"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaThumbParamsOutputService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Get thumb params output object by ID + * + * @param int $id + * @return KalturaThumbParamsOutput + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("thumbparamsoutput", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaThumbParamsOutput"); + return $resultObject; + } + + /** + * List thumb params output objects by filter and pager + * + * @param KalturaThumbParamsOutputFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaThumbParamsOutputListResponse + */ + function listAction(KalturaThumbParamsOutputFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("thumbparamsoutput", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaThumbParamsOutputListResponse"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaThumbParamsService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Add new Thumb Params + * + * @param KalturaThumbParams $thumbParams + * @return KalturaThumbParams + */ + function add(KalturaThumbParams $thumbParams) + { + $kparams = array(); + $this->client->addParam($kparams, "thumbParams", $thumbParams->toParams()); + $this->client->queueServiceActionCall("thumbparams", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaThumbParams"); + return $resultObject; + } + + /** + * Delete Thumb Params by ID + * + * @param int $id + */ + function delete($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("thumbparams", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Get Thumb Params by ID + * + * @param int $id + * @return KalturaThumbParams + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("thumbparams", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaThumbParams"); + return $resultObject; + } + + /** + * Get Thumb Params by Conversion Profile ID + * + * @param int $conversionProfileId + * @return array + */ + function getByConversionProfileId($conversionProfileId) + { + $kparams = array(); + $this->client->addParam($kparams, "conversionProfileId", $conversionProfileId); + $this->client->queueServiceActionCall("thumbparams", "getByConversionProfileId", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "array"); + return $resultObject; + } + + /** + * List Thumb Params by filter with paging support (By default - all system default params will be listed too) + * + * @param KalturaThumbParamsFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaThumbParamsListResponse + */ + function listAction(KalturaThumbParamsFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("thumbparams", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaThumbParamsListResponse"); + return $resultObject; + } + + /** + * Update Thumb Params by ID + * + * @param int $id + * @param KalturaThumbParams $thumbParams + * @return KalturaThumbParams + */ + function update($id, KalturaThumbParams $thumbParams) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "thumbParams", $thumbParams->toParams()); + $this->client->queueServiceActionCall("thumbparams", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaThumbParams"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUiConfService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * UIConf Add action allows you to add a UIConf to Kaltura DB + * + * @param KalturaUiConf $uiConf Mandatory input parameter of type KalturaUiConf + * @return KalturaUiConf + */ + function add(KalturaUiConf $uiConf) + { + $kparams = array(); + $this->client->addParam($kparams, "uiConf", $uiConf->toParams()); + $this->client->queueServiceActionCall("uiconf", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUiConf"); + return $resultObject; + } + + /** + * Clone an existing UIConf + * + * @param int $id + * @return KalturaUiConf + */ + function cloneAction($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("uiconf", "clone", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUiConf"); + return $resultObject; + } + + /** + * Delete an existing UIConf + * + * @param int $id + */ + function delete($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("uiconf", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Retrieve a UIConf by id + * + * @param int $id + * @return KalturaUiConf + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("uiconf", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUiConf"); + return $resultObject; + } + + /** + * Retrieve a list of all available versions by object type + * + * @return array + */ + function getAvailableTypes() + { + $kparams = array(); + $this->client->queueServiceActionCall("uiconf", "getAvailableTypes", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "array"); + return $resultObject; + } + + /** + * Retrieve a list of available UIConfs + * + * @param KalturaUiConfFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaUiConfListResponse + */ + function listAction(KalturaUiConfFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("uiconf", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUiConfListResponse"); + return $resultObject; + } + + /** + * Retrieve a list of available template UIConfs + * + * @param KalturaUiConfFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaUiConfListResponse + */ + function listTemplates(KalturaUiConfFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("uiconf", "listTemplates", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUiConfListResponse"); + return $resultObject; + } + + /** + * Update an existing UIConf + * + * @param int $id + * @param KalturaUiConf $uiConf + * @return KalturaUiConf + */ + function update($id, KalturaUiConf $uiConf) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "uiConf", $uiConf->toParams()); + $this->client->queueServiceActionCall("uiconf", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUiConf"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUploadService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * + * + * @param string $fileName + * @return KalturaUploadResponse + */ + function getUploadedFileTokenByFileName($fileName) + { + $kparams = array(); + $this->client->addParam($kparams, "fileName", $fileName); + $this->client->queueServiceActionCall("upload", "getUploadedFileTokenByFileName", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUploadResponse"); + return $resultObject; + } + + /** + * + * + * @param file $fileData The file data + * @return string + */ + function upload($fileData) + { + $kparams = array(); + $kfiles = array(); + $this->client->addParam($kfiles, "fileData", $fileData); + $this->client->queueServiceActionCall("upload", "upload", $kparams, $kfiles); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUploadTokenService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Adds new upload token to upload a file + * + * @param KalturaUploadToken $uploadToken + * @return KalturaUploadToken + */ + function add(KalturaUploadToken $uploadToken = null) + { + $kparams = array(); + if ($uploadToken !== null) + $this->client->addParam($kparams, "uploadToken", $uploadToken->toParams()); + $this->client->queueServiceActionCall("uploadtoken", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUploadToken"); + return $resultObject; + } + + /** + * Deletes the upload token by upload token id + * + * @param string $uploadTokenId + */ + function delete($uploadTokenId) + { + $kparams = array(); + $this->client->addParam($kparams, "uploadTokenId", $uploadTokenId); + $this->client->queueServiceActionCall("uploadtoken", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Get upload token by id + * + * @param string $uploadTokenId + * @return KalturaUploadToken + */ + function get($uploadTokenId) + { + $kparams = array(); + $this->client->addParam($kparams, "uploadTokenId", $uploadTokenId); + $this->client->queueServiceActionCall("uploadtoken", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUploadToken"); + return $resultObject; + } + + /** + * List upload token by filter with pager support. + When using a user session the service will be restricted to users objects only. + * + * @param KalturaUploadTokenFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaUploadTokenListResponse + */ + function listAction(KalturaUploadTokenFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("uploadtoken", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUploadTokenListResponse"); + return $resultObject; + } + + /** + * Upload a file using the upload token id, returns an error on failure (an exception will be thrown when using one of the Kaltura clients) + Chunks can be uploaded in parallel and they will be appended according to their resumeAt position. + A parallel upload session should have three stages: + 1. A single upload with resume=false and finalChunk=false + 2. Parallel upload requests each with resume=true,finalChunk=false and the expected resumetAt position. + If a chunk fails to upload it can be re-uploaded. + 3. After all of the chunks have been uploaded a final chunk (can be of zero size) should be uploaded + with resume=true, finalChunk=true and the expected resumeAt position. In case an UPLOAD_TOKEN_CANNOT_MATCH_EXPECTED_SIZE exception + has been returned (indicating not all of the chunks were appended yet) the final request can be retried. + * + * @param string $uploadTokenId + * @param file $fileData + * @param bool $resume + * @param bool $finalChunk + * @param float $resumeAt + * @return KalturaUploadToken + */ + function upload($uploadTokenId, $fileData, $resume = false, $finalChunk = true, $resumeAt = -1) + { + $kparams = array(); + $this->client->addParam($kparams, "uploadTokenId", $uploadTokenId); + $kfiles = array(); + $this->client->addParam($kfiles, "fileData", $fileData); + $this->client->addParam($kparams, "resume", $resume); + $this->client->addParam($kparams, "finalChunk", $finalChunk); + $this->client->addParam($kparams, "resumeAt", $resumeAt); + $this->client->queueServiceActionCall("uploadtoken", "upload", $kparams, $kfiles); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUploadToken"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserEntryService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Adds a user_entry to the Kaltura DB. + * + * @param KalturaUserEntry $userEntry + * @return KalturaUserEntry + */ + function add(KalturaUserEntry $userEntry) + { + $kparams = array(); + $this->client->addParam($kparams, "userEntry", $userEntry->toParams()); + $this->client->queueServiceActionCall("userentry", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUserEntry"); + return $resultObject; + } + + /** + * + * + * @param KalturaUserEntryFilter $filter + * @return int + */ + function bulkDelete(KalturaUserEntryFilter $filter) + { + $kparams = array(); + $this->client->addParam($kparams, "filter", $filter->toParams()); + $this->client->queueServiceActionCall("userentry", "bulkDelete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "integer"); + return $resultObject; + } + + /** + * + * + * @param int $id + * @return KalturaUserEntry + */ + function delete($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("userentry", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUserEntry"); + return $resultObject; + } + + /** + * + * + * @param string $id + * @return KalturaUserEntry + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("userentry", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUserEntry"); + return $resultObject; + } + + /** + * + * + * @param KalturaUserEntryFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaUserEntryListResponse + */ + function listAction(KalturaUserEntryFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("userentry", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUserEntryListResponse"); + return $resultObject; + } + + /** + * Submits the quiz so that it's status will be submitted and calculates the score for the quiz + * + * @param int $id + * @return KalturaQuizUserEntry + */ + function submitQuiz($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("userentry", "submitQuiz", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaQuizUserEntry"); + return $resultObject; + } + + /** + * + * + * @param int $id + * @param KalturaUserEntry $userEntry + * @return KalturaUserEntry + */ + function update($id, KalturaUserEntry $userEntry) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "userEntry", $userEntry->toParams()); + $this->client->queueServiceActionCall("userentry", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUserEntry"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserRoleService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Adds a new user role object to the account. + * + * @param KalturaUserRole $userRole A new role + * @return KalturaUserRole + */ + function add(KalturaUserRole $userRole) + { + $kparams = array(); + $this->client->addParam($kparams, "userRole", $userRole->toParams()); + $this->client->queueServiceActionCall("userrole", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUserRole"); + return $resultObject; + } + + /** + * Creates a new user role object that is a duplicate of an existing role. + * + * @param int $userRoleId The user role's unique identifier + * @return KalturaUserRole + */ + function cloneAction($userRoleId) + { + $kparams = array(); + $this->client->addParam($kparams, "userRoleId", $userRoleId); + $this->client->queueServiceActionCall("userrole", "clone", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUserRole"); + return $resultObject; + } + + /** + * Deletes an existing user role object. + * + * @param int $userRoleId The user role's unique identifier + * @return KalturaUserRole + */ + function delete($userRoleId) + { + $kparams = array(); + $this->client->addParam($kparams, "userRoleId", $userRoleId); + $this->client->queueServiceActionCall("userrole", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUserRole"); + return $resultObject; + } + + /** + * Retrieves a user role object using its ID. + * + * @param int $userRoleId The user role's unique identifier + * @return KalturaUserRole + */ + function get($userRoleId) + { + $kparams = array(); + $this->client->addParam($kparams, "userRoleId", $userRoleId); + $this->client->queueServiceActionCall("userrole", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUserRole"); + return $resultObject; + } + + /** + * Lists user role objects that are associated with an account. + Blocked user roles are listed unless you use a filter to exclude them. + Deleted user roles are not listed unless you use a filter to include them. + * + * @param KalturaUserRoleFilter $filter A filter used to exclude specific types of user roles + * @param KalturaFilterPager $pager A limit for the number of records to display on a page + * @return KalturaUserRoleListResponse + */ + function listAction(KalturaUserRoleFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("userrole", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUserRoleListResponse"); + return $resultObject; + } + + /** + * Updates an existing user role object. + * + * @param int $userRoleId The user role's unique identifier + * @param KalturaUserRole $userRole Id The user role's unique identifier + * @return KalturaUserRole + */ + function update($userRoleId, KalturaUserRole $userRole) + { + $kparams = array(); + $this->client->addParam($kparams, "userRoleId", $userRoleId); + $this->client->addParam($kparams, "userRole", $userRole->toParams()); + $this->client->queueServiceActionCall("userrole", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUserRole"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Adds a new user to an existing account in the Kaltura database. + Input param $id is the unique identifier in the partner's system. + * + * @param KalturaUser $user The new user + * @return KalturaUser + */ + function add(KalturaUser $user) + { + $kparams = array(); + $this->client->addParam($kparams, "user", $user->toParams()); + $this->client->queueServiceActionCall("user", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUser"); + return $resultObject; + } + + /** + * + * + * @param file $fileData + * @param KalturaBulkUploadJobData $bulkUploadData + * @param KalturaBulkUploadUserData $bulkUploadUserData + * @return KalturaBulkUpload + */ + function addFromBulkUpload($fileData, KalturaBulkUploadJobData $bulkUploadData = null, KalturaBulkUploadUserData $bulkUploadUserData = null) + { + $kparams = array(); + $kfiles = array(); + $this->client->addParam($kfiles, "fileData", $fileData); + if ($bulkUploadData !== null) + $this->client->addParam($kparams, "bulkUploadData", $bulkUploadData->toParams()); + if ($bulkUploadUserData !== null) + $this->client->addParam($kparams, "bulkUploadUserData", $bulkUploadUserData->toParams()); + $this->client->queueServiceActionCall("user", "addFromBulkUpload", $kparams, $kfiles); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaBulkUpload"); + return $resultObject; + } + + /** + * Action which checks whther user login + * + * @param KalturaUserLoginDataFilter $filter + * @return bool + */ + function checkLoginDataExists(KalturaUserLoginDataFilter $filter) + { + $kparams = array(); + $this->client->addParam($kparams, "filter", $filter->toParams()); + $this->client->queueServiceActionCall("user", "checkLoginDataExists", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $resultObject = (bool) $resultObject; + return $resultObject; + } + + /** + * Deletes a user from a partner account. + * + * @param string $userId The user's unique identifier in the partner's system + * @return KalturaUser + */ + function delete($userId) + { + $kparams = array(); + $this->client->addParam($kparams, "userId", $userId); + $this->client->queueServiceActionCall("user", "delete", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUser"); + return $resultObject; + } + + /** + * Disables a user's ability to log into a partner account using an email address and a password. + You may use either a userId or a loginId parameter for this action. + * + * @param string $userId The user's unique identifier in the partner's system + * @param string $loginId The user's email address that identifies the user for login + * @return KalturaUser + */ + function disableLogin($userId = null, $loginId = null) + { + $kparams = array(); + $this->client->addParam($kparams, "userId", $userId); + $this->client->addParam($kparams, "loginId", $loginId); + $this->client->queueServiceActionCall("user", "disableLogin", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUser"); + return $resultObject; + } + + /** + * Enables a user to log into a partner account using an email address and a password + * + * @param string $userId The user's unique identifier in the partner's system + * @param string $loginId The user's email address that identifies the user for login + * @param string $password The user's password + * @return KalturaUser + */ + function enableLogin($userId, $loginId, $password = null) + { + $kparams = array(); + $this->client->addParam($kparams, "userId", $userId); + $this->client->addParam($kparams, "loginId", $loginId); + $this->client->addParam($kparams, "password", $password); + $this->client->queueServiceActionCall("user", "enableLogin", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUser"); + return $resultObject; + } + + /** + * Creates a batch job that sends an email with a link to download a CSV containing a list of users + * + * @param KalturaUserFilter $filter A filter used to exclude specific types of users + * @param int $metadataProfileId + * @param array $additionalFields + * @param array $mappedFields Mapping between field + * @return string + */ + function exportToCsv(KalturaUserFilter $filter = null, $metadataProfileId = null, array $additionalFields = null, array $mappedFields = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + $this->client->addParam($kparams, "metadataProfileId", $metadataProfileId); + if ($additionalFields !== null) + foreach($additionalFields as $index => $obj) + { + $this->client->addParam($kparams, "additionalFields:$index", $obj->toParams()); + } + if ($mappedFields !== null) + foreach($mappedFields as $index => $obj) + { + $this->client->addParam($kparams, "mappedFields:$index", $obj->toParams()); + } + $this->client->queueServiceActionCall("user", "exportToCsv", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * Get QR image content + * + * @param string $hashKey + * @return string + */ + function generateQrCode($hashKey) + { + $kparams = array(); + $this->client->addParam($kparams, "hashKey", $hashKey); + $this->client->queueServiceActionCall("user", "generateQrCode", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * Retrieves a user object for a specified user ID. + * + * @param string $userId The user's unique identifier in the partner's system + * @return KalturaUser + */ + function get($userId = null) + { + $kparams = array(); + $this->client->addParam($kparams, "userId", $userId); + $this->client->queueServiceActionCall("user", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUser"); + return $resultObject; + } + + /** + * Retrieves a user object for a user's login ID and partner ID. + A login ID is the email address used by a user to log into the system. + * + * @param string $loginId The user's email address that identifies the user for login + * @return KalturaUser + */ + function getByLoginId($loginId) + { + $kparams = array(); + $this->client->addParam($kparams, "loginId", $loginId); + $this->client->queueServiceActionCall("user", "getByLoginId", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUser"); + return $resultObject; + } + + /** + * Index an entry by id. + * + * @param string $id + * @param bool $shouldUpdate + * @return string + */ + function index($id, $shouldUpdate = true) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "shouldUpdate", $shouldUpdate); + $this->client->queueServiceActionCall("user", "index", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * Lists user objects that are associated with an account. + Blocked users are listed unless you use a filter to exclude them. + Deleted users are not listed unless you use a filter to include them. + * + * @param KalturaUserFilter $filter A filter used to exclude specific types of users + * @param KalturaFilterPager $pager A limit for the number of records to display on a page + * @return KalturaUserListResponse + */ + function listAction(KalturaUserFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("user", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUserListResponse"); + return $resultObject; + } + + /** + * Logs a user into a partner account with a partner ID, a partner user ID (puser), and a user password. + * + * @param int $partnerId The identifier of the partner account + * @param string $userId The user's unique identifier in the partner's system + * @param string $password The user's password + * @param int $expiry The requested time (in seconds) before the generated KS expires (By default, a KS expires after 24 hours). + * @param string $privileges Special privileges + * @return string + */ + function login($partnerId, $userId, $password, $expiry = 86400, $privileges = "*") + { + $kparams = array(); + $this->client->addParam($kparams, "partnerId", $partnerId); + $this->client->addParam($kparams, "userId", $userId); + $this->client->addParam($kparams, "password", $password); + $this->client->addParam($kparams, "expiry", $expiry); + $this->client->addParam($kparams, "privileges", $privileges); + $this->client->queueServiceActionCall("user", "login", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * Logs a user to the destination account provided the KS' user ID is associated with the destination account and the loginData ID matches + * + * @param int $requestedPartnerId + * @return KalturaSessionResponse + */ + function loginByKs($requestedPartnerId) + { + $kparams = array(); + $this->client->addParam($kparams, "requestedPartnerId", $requestedPartnerId); + $this->client->queueServiceActionCall("user", "loginByKs", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaSessionResponse"); + return $resultObject; + } + + /** + * Logs a user into a partner account with a user login ID and a user password. + * + * @param string $loginId The user's email address that identifies the user for login + * @param string $password The user's password + * @param int $partnerId The identifier of the partner account + * @param int $expiry The requested time (in seconds) before the generated KS expires (By default, a KS expires after 24 hours). + * @param string $privileges Special privileges + * @param string $otp The user's one-time password + * @return string + */ + function loginByLoginId($loginId, $password, $partnerId = null, $expiry = 86400, $privileges = "*", $otp = null) + { + $kparams = array(); + $this->client->addParam($kparams, "loginId", $loginId); + $this->client->addParam($kparams, "password", $password); + $this->client->addParam($kparams, "partnerId", $partnerId); + $this->client->addParam($kparams, "expiry", $expiry); + $this->client->addParam($kparams, "privileges", $privileges); + $this->client->addParam($kparams, "otp", $otp); + $this->client->queueServiceActionCall("user", "loginByLoginId", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * Notifies that a user is banned from an account. + * + * @param string $userId The user's unique identifier in the partner's system + */ + function notifyBan($userId) + { + $kparams = array(); + $this->client->addParam($kparams, "userId", $userId); + $this->client->queueServiceActionCall("user", "notifyBan", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Reset user's password and send the user an email to generate a new one. + * + * @param string $email The user's email address (login email) + * @param string $linkType Kmc or kms + */ + function resetPassword($email, $linkType = null) + { + $kparams = array(); + $this->client->addParam($kparams, "email", $email); + $this->client->addParam($kparams, "linkType", $linkType); + $this->client->queueServiceActionCall("user", "resetPassword", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Will serve a requested CSV + * + * @param string $id - the requested file id + * @return string + */ + function serveCsv($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("user", "serveCsv", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "string"); + return $resultObject; + } + + /** + * Set initial user password + * + * @param string $hashKey The hash key used to identify the user (retrieved by email) + * @param string $newPassword The new password to set for the user + * @return KalturaAuthentication + */ + function setInitialPassword($hashKey, $newPassword) + { + $kparams = array(); + $this->client->addParam($kparams, "hashKey", $hashKey); + $this->client->addParam($kparams, "newPassword", $newPassword); + $this->client->queueServiceActionCall("user", "setInitialPassword", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaAuthentication"); + return $resultObject; + } + + /** + * Updates an existing user object. + You can also use this action to update the userId. + * + * @param string $userId The user's unique identifier in the partner's system + * @param KalturaUser $user Id The user's unique identifier in the partner's system + * @return KalturaUser + */ + function update($userId, KalturaUser $user) + { + $kparams = array(); + $this->client->addParam($kparams, "userId", $userId); + $this->client->addParam($kparams, "user", $user->toParams()); + $this->client->queueServiceActionCall("user", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaUser"); + return $resultObject; + } + + /** + * Updates a user's login data: email, password, name. + * + * @param string $oldLoginId The user's current email address that identified the user for login + * @param string $password The user's current email address that identified the user for login + * @param string $newLoginId Optional, The user's email address that will identify the user for login + * @param string $newPassword Optional, The user's new password + * @param string $newFirstName Optional, The user's new first name + * @param string $newLastName Optional, The user's new last name + * @param string $otp The user's one-time password + */ + function updateLoginData($oldLoginId, $password, $newLoginId = "", $newPassword = "", $newFirstName = null, $newLastName = null, $otp = null) + { + $kparams = array(); + $this->client->addParam($kparams, "oldLoginId", $oldLoginId); + $this->client->addParam($kparams, "password", $password); + $this->client->addParam($kparams, "newLoginId", $newLoginId); + $this->client->addParam($kparams, "newPassword", $newPassword); + $this->client->addParam($kparams, "newFirstName", $newFirstName); + $this->client->addParam($kparams, "newLastName", $newLastName); + $this->client->addParam($kparams, "otp", $otp); + $this->client->queueServiceActionCall("user", "updateLoginData", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "null"); + } + + /** + * Validate hash key + * + * @param string $hashKey The hash key used to identify the user (retrieved by email) + * @return KalturaAuthentication + */ + function validateHashKey($hashKey) + { + $kparams = array(); + $this->client->addParam($kparams, "hashKey", $hashKey); + $this->client->queueServiceActionCall("user", "validateHashKey", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaAuthentication"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaWidgetService extends KalturaServiceBase +{ + function __construct(KalturaClient $client = null) + { + parent::__construct($client); + } + + /** + * Add new widget, can be attached to entry or kshow + SourceWidget is ignored. + * + * @param KalturaWidget $widget + * @return KalturaWidget + */ + function add(KalturaWidget $widget) + { + $kparams = array(); + $this->client->addParam($kparams, "widget", $widget->toParams()); + $this->client->queueServiceActionCall("widget", "add", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaWidget"); + return $resultObject; + } + + /** + * Add widget based on existing widget. + Must provide valid sourceWidgetId + * + * @param KalturaWidget $widget + * @return KalturaWidget + */ + function cloneAction(KalturaWidget $widget) + { + $kparams = array(); + $this->client->addParam($kparams, "widget", $widget->toParams()); + $this->client->queueServiceActionCall("widget", "clone", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaWidget"); + return $resultObject; + } + + /** + * Get widget by id + * + * @param string $id + * @return KalturaWidget + */ + function get($id) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->queueServiceActionCall("widget", "get", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaWidget"); + return $resultObject; + } + + /** + * Retrieve a list of available widget depends on the filter given + * + * @param KalturaWidgetFilter $filter + * @param KalturaFilterPager $pager + * @return KalturaWidgetListResponse + */ + function listAction(KalturaWidgetFilter $filter = null, KalturaFilterPager $pager = null) + { + $kparams = array(); + if ($filter !== null) + $this->client->addParam($kparams, "filter", $filter->toParams()); + if ($pager !== null) + $this->client->addParam($kparams, "pager", $pager->toParams()); + $this->client->queueServiceActionCall("widget", "list", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaWidgetListResponse"); + return $resultObject; + } + + /** + * Update existing widget + * + * @param string $id + * @param KalturaWidget $widget + * @return KalturaWidget + */ + function update($id, KalturaWidget $widget) + { + $kparams = array(); + $this->client->addParam($kparams, "id", $id); + $this->client->addParam($kparams, "widget", $widget->toParams()); + $this->client->queueServiceActionCall("widget", "update", $kparams); + if ($this->client->isMultiRequest()) + return $this->client->getMultiRequestResult(); + $resultObject = $this->client->doQueue(); + $this->client->throwExceptionIfError($resultObject); + $this->client->validateObjectType($resultObject, "KalturaWidget"); + return $resultObject; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaClient extends KalturaClientBase +{ + /** + * Manage access control profiles + * @var KalturaAccessControlProfileService + */ + public $accessControlProfile = null; + + /** + * Add & Manage Access Controls + * @var KalturaAccessControlService + */ + public $accessControl = null; + + /** + * Manage details for the administrative user + * @var KalturaAdminUserService + */ + public $adminUser = null; + + /** + * Api for getting analytics data + * @var KalturaAnalyticsService + */ + public $analytics = null; + + /** + * Manage application authentication tokens + * @var KalturaAppTokenService + */ + public $appToken = null; + + /** + * Base Entry Service + * @var KalturaBaseEntryService + */ + public $baseEntry = null; + + /** + * Bulk upload service is used to upload & manage bulk uploads using CSV files. + * This service manages only entry bulk uploads. + * @var KalturaBulkUploadService + */ + public $bulkUpload = null; + + /** + * Add & Manage CategoryEntry - assign entry to category + * @var KalturaCategoryEntryService + */ + public $categoryEntry = null; + + /** + * Add & Manage Categories + * @var KalturaCategoryService + */ + public $category = null; + + /** + * Add & Manage CategoryUser - membership of a user in a category + * @var KalturaCategoryUserService + */ + public $categoryUser = null; + + /** + * Manage the connection between Conversion Profiles and Asset Params + * @var KalturaConversionProfileAssetParamsService + */ + public $conversionProfileAssetParams = null; + + /** + * Add & Manage Conversion Profiles + * @var KalturaConversionProfileService + */ + public $conversionProfile = null; + + /** + * Data service lets you manage data content (textual content) + * @var KalturaDataService + */ + public $data = null; + + /** + * Delivery service is used to control delivery objects + * @var KalturaDeliveryProfileService + */ + public $deliveryProfile = null; + + /** + * EmailIngestionProfile service lets you manage email ingestion profile records + * @var KalturaEmailIngestionProfileService + */ + public $EmailIngestionProfile = null; + + /** + * Base class for entry server node + * @var KalturaEntryServerNodeService + */ + public $entryServerNode = null; + + /** + * Export CSV service is used to manage CSV exports of objects + * @var KalturaExportcsvService + */ + public $exportcsv = null; + + /** + * Manage file assets + * @var KalturaFileAssetService + */ + public $fileAsset = null; + + /** + * Retrieve information and invoke actions on Flavor Asset + * @var KalturaFlavorAssetService + */ + public $flavorAsset = null; + + /** + * Flavor Params Output service + * @var KalturaFlavorParamsOutputService + */ + public $flavorParamsOutput = null; + + /** + * Add & Manage Flavor Params + * @var KalturaFlavorParamsService + */ + public $flavorParams = null; + + /** + * Add & Manage GroupUser + * @var KalturaGroupUserService + */ + public $groupUser = null; + + /** + * Manage live channel segments + * @var KalturaLiveChannelSegmentService + */ + public $liveChannelSegment = null; + + /** + * Live Channel service lets you manage live channels + * @var KalturaLiveChannelService + */ + public $liveChannel = null; + + /** + * + * @var KalturaLiveReportsService + */ + public $liveReports = null; + + /** + * Stats Service + * @var KalturaLiveStatsService + */ + public $liveStats = null; + + /** + * Live Stream service lets you manage live stream entries + * @var KalturaLiveStreamService + */ + public $liveStream = null; + + /** + * Media Info service + * @var KalturaMediaInfoService + */ + public $mediaInfo = null; + + /** + * Media service lets you upload and manage media files (images / videos & audio) + * @var KalturaMediaService + */ + public $media = null; + + /** + * A Mix is an XML unique format invented by Kaltura, it allows the user to create a mix of videos and images, in and out points, transitions, text overlays, soundtrack, effects and much more... + * Mixing service lets you create a new mix, manage its metadata and make basic manipulations. + * @var KalturaMixingService + */ + public $mixing = null; + + /** + * Notification Service + * @var KalturaNotificationService + */ + public $notification = null; + + /** + * Partner service allows you to change/manage your partner personal details and settings as well + * @var KalturaPartnerService + */ + public $partner = null; + + /** + * PermissionItem service lets you create and manage permission items + * @var KalturaPermissionItemService + */ + public $permissionItem = null; + + /** + * Permission service lets you create and manage user permissions + * @var KalturaPermissionService + */ + public $permission = null; + + /** + * Playlist service lets you create,manage and play your playlists + * Playlists could be static (containing a fixed list of entries) or dynamic (based on a filter) + * @var KalturaPlaylistService + */ + public $playlist = null; + + /** + * Api for getting reports data by the report type and some inputFilter + * @var KalturaReportService + */ + public $report = null; + + /** + * Manage response profiles + * @var KalturaResponseProfileService + */ + public $responseProfile = null; + + /** + * Expose the schema definitions for syndication MRSS, bulk upload XML and other schema types. + * @var KalturaSchemaService + */ + public $schema = null; + + /** + * Search service allows you to search for media in various media providers + * This service is being used mostly by the CW component + * @var KalturaSearchService + */ + public $search = null; + + /** + * Server Node service + * @var KalturaServerNodeService + */ + public $serverNode = null; + + /** + * Session service + * @var KalturaSessionService + */ + public $session = null; + + /** + * Stats Service + * @var KalturaStatsService + */ + public $stats = null; + + /** + * The Storage Profile service allows you to export your Kaltura content to external storage volumes. + * This service is disabled by default, please contact your account manager if you wish to enable it for your partner. + * @var KalturaStorageProfileService + */ + public $storageProfile = null; + + /** + * Add & Manage Syndication Feeds + * @var KalturaSyndicationFeedService + */ + public $syndicationFeed = null; + + /** + * System service is used for internal system helpers & to retrieve system level information + * @var KalturaSystemService + */ + public $system = null; + + /** + * Retrieve information and invoke actions on Thumb Asset + * @var KalturaThumbAssetService + */ + public $thumbAsset = null; + + /** + * Thumbnail Params Output service + * @var KalturaThumbParamsOutputService + */ + public $thumbParamsOutput = null; + + /** + * Add & Manage Thumb Params + * @var KalturaThumbParamsService + */ + public $thumbParams = null; + + /** + * UiConf service lets you create and manage your UIConfs for the various flash components + * This service is used by the KMC-ApplicationStudio + * @var KalturaUiConfService + */ + public $uiConf = null; + + /** + * + * @var KalturaUploadService + */ + public $upload = null; + + /** + * + * @var KalturaUploadTokenService + */ + public $uploadToken = null; + + /** + * + * @var KalturaUserEntryService + */ + public $userEntry = null; + + /** + * UserRole service lets you create and manage user roles + * @var KalturaUserRoleService + */ + public $userRole = null; + + /** + * Manage partner users on Kaltura's side + * The userId in kaltura is the unique ID in the partner's system, and the [partnerId,Id] couple are unique key in kaltura's DB + * @var KalturaUserService + */ + public $user = null; + + /** + * Widget service for full widget management + * @var KalturaWidgetService + */ + public $widget = null; + + /** + * Kaltura client constructor + * + * @param KalturaConfiguration $config + */ + public function __construct(KalturaConfiguration $config) + { + parent::__construct($config); + + $this->setClientTag('php5:21-08-02'); + $this->setApiVersion('17.5.0'); + + $this->accessControlProfile = new KalturaAccessControlProfileService($this); + $this->accessControl = new KalturaAccessControlService($this); + $this->adminUser = new KalturaAdminUserService($this); + $this->analytics = new KalturaAnalyticsService($this); + $this->appToken = new KalturaAppTokenService($this); + $this->baseEntry = new KalturaBaseEntryService($this); + $this->bulkUpload = new KalturaBulkUploadService($this); + $this->categoryEntry = new KalturaCategoryEntryService($this); + $this->category = new KalturaCategoryService($this); + $this->categoryUser = new KalturaCategoryUserService($this); + $this->conversionProfileAssetParams = new KalturaConversionProfileAssetParamsService($this); + $this->conversionProfile = new KalturaConversionProfileService($this); + $this->data = new KalturaDataService($this); + $this->deliveryProfile = new KalturaDeliveryProfileService($this); + $this->EmailIngestionProfile = new KalturaEmailIngestionProfileService($this); + $this->entryServerNode = new KalturaEntryServerNodeService($this); + $this->exportcsv = new KalturaExportcsvService($this); + $this->fileAsset = new KalturaFileAssetService($this); + $this->flavorAsset = new KalturaFlavorAssetService($this); + $this->flavorParamsOutput = new KalturaFlavorParamsOutputService($this); + $this->flavorParams = new KalturaFlavorParamsService($this); + $this->groupUser = new KalturaGroupUserService($this); + $this->liveChannelSegment = new KalturaLiveChannelSegmentService($this); + $this->liveChannel = new KalturaLiveChannelService($this); + $this->liveReports = new KalturaLiveReportsService($this); + $this->liveStats = new KalturaLiveStatsService($this); + $this->liveStream = new KalturaLiveStreamService($this); + $this->mediaInfo = new KalturaMediaInfoService($this); + $this->media = new KalturaMediaService($this); + $this->mixing = new KalturaMixingService($this); + $this->notification = new KalturaNotificationService($this); + $this->partner = new KalturaPartnerService($this); + $this->permissionItem = new KalturaPermissionItemService($this); + $this->permission = new KalturaPermissionService($this); + $this->playlist = new KalturaPlaylistService($this); + $this->report = new KalturaReportService($this); + $this->responseProfile = new KalturaResponseProfileService($this); + $this->schema = new KalturaSchemaService($this); + $this->search = new KalturaSearchService($this); + $this->serverNode = new KalturaServerNodeService($this); + $this->session = new KalturaSessionService($this); + $this->stats = new KalturaStatsService($this); + $this->storageProfile = new KalturaStorageProfileService($this); + $this->syndicationFeed = new KalturaSyndicationFeedService($this); + $this->system = new KalturaSystemService($this); + $this->thumbAsset = new KalturaThumbAssetService($this); + $this->thumbParamsOutput = new KalturaThumbParamsOutputService($this); + $this->thumbParams = new KalturaThumbParamsService($this); + $this->uiConf = new KalturaUiConfService($this); + $this->upload = new KalturaUploadService($this); + $this->uploadToken = new KalturaUploadTokenService($this); + $this->userEntry = new KalturaUserEntryService($this); + $this->userRole = new KalturaUserRoleService($this); + $this->user = new KalturaUserService($this); + $this->widget = new KalturaWidgetService($this); + } + + /** + * @param string $clientTag + */ + public function setClientTag($clientTag) + { + $this->clientConfiguration['clientTag'] = $clientTag; + } + + /** + * @return string + */ + public function getClientTag() + { + if(isset($this->clientConfiguration['clientTag'])) + { + return $this->clientConfiguration['clientTag']; + } + + return null; + } + + /** + * @param string $apiVersion + */ + public function setApiVersion($apiVersion) + { + $this->clientConfiguration['apiVersion'] = $apiVersion; + } + + /** + * @return string + */ + public function getApiVersion() + { + if(isset($this->clientConfiguration['apiVersion'])) + { + return $this->clientConfiguration['apiVersion']; + } + + return null; + } + + /** + * Impersonated partner id + * + * @param int $partnerId + */ + public function setPartnerId($partnerId) + { + $this->requestConfiguration['partnerId'] = $partnerId; + } + + /** + * Impersonated partner id + * + * @return int + */ + public function getPartnerId() + { + if(isset($this->requestConfiguration['partnerId'])) + { + return $this->requestConfiguration['partnerId']; + } + + return null; + } + + /** + * Kaltura API session + * + * @param string $ks + */ + public function setKs($ks) + { + $this->requestConfiguration['ks'] = $ks; + } + + /** + * Kaltura API session + * + * @return string + */ + public function getKs() + { + if(isset($this->requestConfiguration['ks'])) + { + return $this->requestConfiguration['ks']; + } + + return null; + } + + /** + * Kaltura API session + * + * @param string $sessionId + */ + public function setSessionId($sessionId) + { + $this->requestConfiguration['ks'] = $sessionId; + } + + /** + * Kaltura API session + * + * @return string + */ + public function getSessionId() + { + if(isset($this->requestConfiguration['ks'])) + { + return $this->requestConfiguration['ks']; + } + + return null; + } + + /** + * Response profile - this attribute will be automatically unset after every API call. + * + * @param KalturaBaseResponseProfile $responseProfile + */ + public function setResponseProfile(KalturaBaseResponseProfile $responseProfile) + { + $this->requestConfiguration['responseProfile'] = $responseProfile; + } + + /** + * Response profile - this attribute will be automatically unset after every API call. + * + * @return KalturaBaseResponseProfile + */ + public function getResponseProfile() + { + if(isset($this->requestConfiguration['responseProfile'])) + { + return $this->requestConfiguration['responseProfile']; + } + + return null; + } + + /** + * Clear all volatile configuration parameters + */ + protected function resetRequest() + { + parent::resetRequest(); + unset($this->requestConfiguration['responseProfile']); + } +} + diff --git a/KalturaGeneratedAPIClientsPHP/KalturaClientBase.php b/KalturaGeneratedAPIClientsPHP/KalturaClientBase.php new file mode 100644 index 000000000..1c494cc41 --- /dev/null +++ b/KalturaGeneratedAPIClientsPHP/KalturaClientBase.php @@ -0,0 +1,1487 @@ +. +// +// @ignore +// =================================================================================================== + +/** + * @package Kaltura + * @subpackage Client + */ +class MultiRequestSubResult implements ArrayAccess +{ + function __construct($value) + { + $this->value = $value; + } + + function __toString() + { + return '{' . $this->value . '}'; + } + + function __get($name) + { + return new MultiRequestSubResult($this->value . ':' . $name); + } + + public function offsetExists($offset) + { + return true; + } + + public function offsetGet($offset) + { + return new MultiRequestSubResult($this->value . ':' . $offset); + } + + public function offsetSet($offset, $value) + { + } + + public function offsetUnset($offset) + { + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaNull +{ + private static $instance; + + private function __construct() + { + + } + + public static function getInstance() + { + if (!isset(self::$instance)) { + $c = __CLASS__; + self::$instance = new $c(); + } + return self::$instance; + } + + function __toString() + { + return ''; + } + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaClientBase +{ + const KALTURA_SERVICE_FORMAT_JSON = 1; + const KALTURA_SERVICE_FORMAT_XML = 2; + const KALTURA_SERVICE_FORMAT_PHP = 3; + + // KS V2 constants + const RANDOM_SIZE = 16; + + const FIELD_EXPIRY = '_e'; + const FIELD_TYPE = '_t'; + const FIELD_USER = '_u'; + + const METHOD_POST = 'POST'; + const METHOD_GET = 'GET'; + + /** + * @var KalturaConfiguration + */ + protected $config; + + /** + * @var array + */ + protected $clientConfiguration = array(); + + /** + * @var array + */ + protected $requestConfiguration = array(); + + /** + * @var boolean + */ + private $shouldLog = false; + + /** + * @var bool + */ + private $isMultiRequest = false; + + /** + * @var unknown_type + */ + private $callsQueue = array(); + + /** + * Array of all plugin services + * + * @var array + */ + protected $pluginServices = array(); + + /** + * @var Array of response headers + */ + private $responseHeaders = array(); + + /** + * path to save served results + * @var string + */ + protected $destinationPath = null; + + /** + * return served results without unserializing them + * @var boolean + */ + protected $returnServedResult = null; + + public function __get($serviceName) + { + if(isset($this->pluginServices[$serviceName])) + return $this->pluginServices[$serviceName]; + + return null; + } + + /** + * Kaltura client constructor + * + * @param KalturaConfiguration $config + */ + public function __construct(KalturaConfiguration $config) + { + $this->config = $config; + + $logger = $this->config->getLogger(); + if ($logger) + { + $this->shouldLog = true; + } + + // load all plugins + $pluginsFolder = realpath(dirname(__FILE__)) . '/KalturaPlugins'; + if(is_dir($pluginsFolder)) + { + $dir = dir($pluginsFolder); + while (false !== $fileName = $dir->read()) + { + $matches = null; + if(preg_match('/^([^.]+).php$/', $fileName, $matches)) + { + require_once("$pluginsFolder/$fileName"); + + $pluginClass = $matches[1]; + if(!class_exists($pluginClass) || !in_array('IKalturaClientPlugin', class_implements($pluginClass))) + continue; + + $plugin = call_user_func(array($pluginClass, 'get'), $this); + if(!($plugin instanceof IKalturaClientPlugin)) + continue; + + $pluginName = $plugin->getName(); + $services = $plugin->getServices(); + foreach($services as $serviceName => $service) + { + $service->setClient($this); + $this->pluginServices[$serviceName] = $service; + } + } + } + } + } + + /* Store response headers into array */ + public function readHeader($ch, $string) + { + array_push($this->responseHeaders, $string); + return strlen($string); + } + + /* Retrive response headers */ + public function getResponseHeaders() + { + return $this->responseHeaders; + } + + public function getServeUrl() + { + if (count($this->callsQueue) != 1) + return null; + + $params = array(); + $files = array(); + $this->log("service url: [" . $this->config->getServiceUrl() . "]"); + + // append the basic params + $this->addParam($params, "format", $this->config->format); + + foreach($this->clientConfiguration as $param => $value) + { + $this->addParam($params, $param, $value); + } + + $call = $this->callsQueue[0]; + $this->resetRequest(); + + $params = array_merge($params, $call->params); + $signature = $this->signature($params); + $this->addParam($params, "kalsig", $signature); + + $url = $this->config->getServiceUrl() . "/api_v3/service/{$call->service}/action/{$call->action}"; + $url .= '?' . http_build_query($params); + $this->log("Returned url [$url]"); + return $url; + } + + public function queueServiceActionCall($service, $action, $params = array(), $files = array()) + { + foreach($this->requestConfiguration as $param => $value) + { + $this->addParam($params, $param, $value); + } + + $call = new KalturaServiceActionCall($service, $action, $params, $files); + $this->callsQueue[] = $call; + } + + protected function resetRequest() + { + $this->destinationPath = null; + $this->returnServedResult = false; + $this->isMultiRequest = false; + $this->callsQueue = array(); + } + + /** + * Call all API service that are in queue + * + * @return unknown + */ + public function doQueue() + { + if($this->isMultiRequest && ($this->destinationPath || $this->returnServedResult)) + { + $this->resetRequest(); + throw new KalturaClientException("Downloading files is not supported as part of multi-request.", KalturaClientException::ERROR_DOWNLOAD_IN_MULTIREQUEST); + } + + if (count($this->callsQueue) == 0) + { + $this->resetRequest(); + return null; + } + + $startTime = microtime(true); + + $params = array(); + $files = array(); + $this->log("service url: [" . $this->config->getServiceUrl() . "]"); + + // append the basic params + $this->addParam($params, "format", $this->config->format); + $this->addParam($params, "ignoreNull", true); + + foreach($this->clientConfiguration as $param => $value) + { + $this->addParam($params, $param, $value); + } + + $url = $this->config->getServiceUrl()."/api_v3/service"; + if ($this->isMultiRequest) + { + $url .= "/multirequest"; + $i = 0; + foreach ($this->callsQueue as $call) + { + $callParams = $call->getParamsForMultiRequest($i); + $callFiles = $call->getFilesForMultiRequest($i); + $params = array_merge($params, $callParams); + $files = array_merge($files, $callFiles); + $i++; + } + } + else + { + $call = $this->callsQueue[0]; + $url .= "/{$call->service}/action/{$call->action}"; + $params = array_merge($params, $call->params); + $files = $call->files; + } + + $signature = $this->signature($params); + $this->addParam($params, "kalsig", $signature); + + try + { + list($postResult, $error) = $this->doHttpRequest($url, $params, $files); + } + catch(Exception $e) + { + $this->resetRequest(); + throw $e; + } + + if ($error) + { + $this->resetRequest(); + throw new KalturaClientException($error, KalturaClientException::ERROR_GENERIC); + } + else + { + // print server debug info to log + $serverName = null; + $serverSession = null; + foreach ($this->responseHeaders as $curHeader) + { + $splittedHeader = explode(':', $curHeader, 2); + if ($splittedHeader[0] == 'X-Me') + $serverName = trim($splittedHeader[1]); + else if ($splittedHeader[0] == 'X-Kaltura-Session') + $serverSession = trim($splittedHeader[1]); + } + if (!is_null($serverName) || !is_null($serverSession)) + $this->log("server: [{$serverName}], session: [{$serverSession}]"); + + $this->log("result (serialized): " . $postResult); + + if($this->returnServedResult) + { + $result = $postResult; + } + elseif($this->destinationPath) + { + if(!$postResult) + { + $this->resetRequest(); + throw new KalturaClientException("failed to download file", KalturaClientException::ERROR_READ_FAILED); + } + } + elseif ($this->config->format == self::KALTURA_SERVICE_FORMAT_PHP) + { + $result = @unserialize($postResult); + + if ($result === false && serialize(false) !== $postResult) + { + $this->resetRequest(); + throw new KalturaClientException("failed to unserialize server result\n$postResult", KalturaClientException::ERROR_UNSERIALIZE_FAILED); + } + $dump = print_r($result, true); + $this->log("result (object dump): " . $dump); + } + elseif ($this->config->format == self::KALTURA_SERVICE_FORMAT_JSON) + { + $result = json_decode($postResult); + if(is_null($result) && strtolower($postResult) !== 'null') + { + $this->resetRequest(); + throw new KalturaClientException("failed to unserialize server result\n$postResult", KalturaClientException::ERROR_UNSERIALIZE_FAILED); + } + $result = $this->jsObjectToClientObject($result); + $dump = print_r($result, true); + $this->log("result (object dump): " . $dump); + } + else + { + $this->resetRequest(); + throw new KalturaClientException("unsupported format: $postResult", KalturaClientException::ERROR_FORMAT_NOT_SUPPORTED); + } + } + $this->resetRequest(); + + $endTime = microtime (true); + + $this->log("execution time for [".$url."]: [" . ($endTime - $startTime) . "]"); + + return $result; + } + + protected static function getFirstLines(&$string, $numbOfLines) + { + $stringAsArrayOfLines = explode(PHP_EOL,$string); + $stringAsArrayOfLines = array_slice($stringAsArrayOfLines, 0, $numbOfLines); + $string = implode (PHP_EOL, $stringAsArrayOfLines); + } + + /** + * Sorts array recursively + * + * @param array $params + * @param int $flags + * @return boolean + */ + protected function ksortRecursive(&$array, $flags = null) + { + ksort($array, $flags); + foreach($array as &$arr) { + if(is_array($arr)) + $this->ksortRecursive($arr, $flags); + } + return true; + } + + /** + * Sign array of parameters + * + * @param array $params + * @return string + */ + private function signature($params) + { + $this->ksortRecursive($params); + return md5($this->jsonEncode($params)); + } + + /** + * Send http request by using curl (if available) or php stream_context + * + * @param string $url + * @param parameters $params + * @return array of result and error + */ + protected function doHttpRequest($url, $params = array(), $files = array()) + { + if (function_exists('curl_init')) + return $this->doCurl($url, $params, $files); + + if($this->destinationPath || $this->returnServedResult) + throw new KalturaClientException("Downloading files is not supported with stream context http request, please use curl.", KalturaClientException::ERROR_DOWNLOAD_NOT_SUPPORTED); + + return $this->doPostRequest($url, $params, $files); + } + + /** + * Curl HTTP POST Request + * + * @param string $url + * @param array $params + * @param array $files + * @return array of result and error + */ + private function doCurl($url, $params = array(), $files = array()) + { + $requestHeaders = $this->config->requestHeaders; + + $params = $this->jsonEncode($params); + $this->log("curl: $url"); + $this->log("post: $params"); + if($this->config->format == self::KALTURA_SERVICE_FORMAT_JSON) + { + $requestHeaders[] = 'Accept: application/json'; + } + + $this->responseHeaders = array(); + $cookies = array(); + $ch = curl_init(); + curl_setopt($ch, CURLOPT_URL, $url); + if($this->config->method == self::METHOD_POST) { + curl_setopt($ch, CURLOPT_POST, 1); + if (count($files) > 0) + { + $params = array('json' => $params); + foreach ($files as $key => $file) { + // The usage of the @filename API for file uploading is + // deprecated since PHP 5.5. CURLFile must be used instead. + if (PHP_VERSION_ID >= 50500) { + $params[$key] = new \CURLFile($file); + } else { + $params[$key] = "@" . $file; // let curl know its a file + } + } + curl_setopt($ch, CURLOPT_POSTFIELDS, $params); + } + else + { + $requestHeaders[] = 'Content-Type: application/json'; + curl_setopt($ch, CURLOPT_POSTFIELDS, $params); + } + } + curl_setopt($ch, CURLOPT_ENCODING, 'gzip,deflate'); + curl_setopt($ch, CURLOPT_USERAGENT, $this->config->userAgent); + if (count($files) > 0) + curl_setopt($ch, CURLOPT_TIMEOUT, 0); + else + curl_setopt($ch, CURLOPT_TIMEOUT, $this->config->curlTimeout); + + if ($this->config->startZendDebuggerSession === true) + { + $zendDebuggerParams = $this->getZendDebuggerParams($url); + $cookies = array_merge($cookies, $zendDebuggerParams); + } + + if (count($cookies) > 0) + { + $cookiesStr = http_build_query($cookies, null, '; '); + curl_setopt($ch, CURLOPT_COOKIE, $cookiesStr); + } + + if (isset($this->config->proxyHost)) { + curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, true); + curl_setopt($ch, CURLOPT_PROXY, $this->config->proxyHost); + if (isset($this->config->proxyPort)) { + curl_setopt($ch, CURLOPT_PROXYPORT, $this->config->proxyPort); + } + if (isset($this->config->proxyUser)) { + curl_setopt($ch, CURLOPT_PROXYUSERPWD, $this->config->proxyUser.':'.$this->config->proxyPassword); + } + if (isset($this->config->proxyType) && $this->config->proxyType === 'SOCKS5') { + curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5); + } + } + + // Set SSL verification + if(!$this->getConfig()->verifySSL) + { + curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); + curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); + } + elseif($this->getConfig()->sslCertificatePath) + { + curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true); + curl_setopt($ch, CURLOPT_CAINFO, $this->getConfig()->sslCertificatePath); + } + + // Set custom headers + curl_setopt($ch, CURLOPT_HTTPHEADER, $requestHeaders); + + // Save response headers + curl_setopt($ch, CURLOPT_HEADERFUNCTION, array($this, 'readHeader') ); + + $destinationResource = null; + if($this->destinationPath) + { + $destinationResource = fopen($this->destinationPath, "wb"); + curl_setopt($ch, CURLOPT_FILE, $destinationResource); + } + else + { + curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); + } + + $result = curl_exec($ch); + + if($destinationResource) + fclose($destinationResource); + + $curlError = curl_error($ch); + curl_close($ch); + return array($result, $curlError); + } + + /** + * HTTP stream context request + * + * @param string $url + * @param array $params + * @return array of result and error + */ + private function doPostRequest($url, $params = array(), $files = array()) + { + if (count($files) > 0) + throw new KalturaClientException("Uploading files is not supported with stream context http request, please use curl.", KalturaClientException::ERROR_UPLOAD_NOT_SUPPORTED); + + $formattedData = http_build_query($params , "", "&"); + $this->log("post: $url?$formattedData"); + + $params = array('http' => array( + "method" => "POST", + "User-Agent: " . $this->config->userAgent . "\r\n". + "Accept-language: en\r\n". + "Content-type: application/x-www-form-urlencoded\r\n", + "content" => $formattedData + )); + + if (isset($this->config->proxyType) && $this->config->proxyType === 'SOCKS5') { + throw new KalturaClientException("Cannot use SOCKS5 without curl installed.", KalturaClientException::ERROR_CONNECTION_FAILED); + } + if (isset($this->config->proxyHost)) { + $proxyhost = 'tcp://' . $this->config->proxyHost; + if (isset($this->config->proxyPort)) { + $proxyhost = $proxyhost . ":" . $this->config->proxyPort; + } + $params['http']['proxy'] = $proxyhost; + $params['http']['request_fulluri'] = true; + if (isset($this->config->proxyUser)) { + $auth = base64_encode($this->config->proxyUser.':'.$this->config->proxyPassword); + $params['http']['header'] = 'Proxy-Authorization: Basic ' . $auth; + } + } + + $ctx = stream_context_create($params); + $fp = @fopen($url, 'rb', false, $ctx); + if (!$fp) { + $phpErrorMsg = ""; + throw new KalturaClientException("Problem with $url, $phpErrorMsg", KalturaClientException::ERROR_CONNECTION_FAILED); + } + $response = @stream_get_contents($fp); + if ($response === false) { + throw new KalturaClientException("Problem reading data from $url, $phpErrorMsg", KalturaClientException::ERROR_READ_FAILED); + } + return array($response, ''); + } + + /** + * @param boolean $returnServedResult + */ + public function setReturnServedResult($returnServedResult) + { + $this->returnServedResult = $returnServedResult; + } + + /** + * @return boolean + */ + public function getReturnServedResult() + { + return $this->returnServedResult; + } + + /** + * @param string $destinationPath + */ + public function setDestinationPath($destinationPath) + { + $this->destinationPath = $destinationPath; + } + + /** + * @return string + */ + public function getDestinationPath() + { + return $this->destinationPath; + } + + /** + * @return KalturaConfiguration + */ + public function getConfig() + { + return $this->config; + } + + /** + * @param KalturaConfiguration $config + */ + public function setConfig(KalturaConfiguration $config) + { + $this->config = $config; + + $logger = $this->config->getLogger(); + if ($logger instanceof IKalturaLogger) + { + $this->shouldLog = true; + } + } + + public function setClientConfiguration(KalturaClientConfiguration $configuration) + { + $params = get_class_vars('KalturaClientConfiguration'); + foreach($params as $param => $value) + { + if(is_null($configuration->$param)) + { + if(isset($this->clientConfiguration[$param])) + { + unset($this->clientConfiguration[$param]); + } + } + else + { + $this->clientConfiguration[$param] = $configuration->$param; + } + } + } + + public function setRequestConfiguration(KalturaRequestConfiguration $configuration) + { + $params = get_class_vars('KalturaRequestConfiguration'); + foreach($params as $param => $value) + { + if(is_null($configuration->$param)) + { + if(isset($this->requestConfiguration[$param])) + { + unset($this->requestConfiguration[$param]); + } + } + else + { + $this->requestConfiguration[$param] = $configuration->$param; + } + } + } + + /** + * Add parameter to array of parameters that is passed by reference + * + * @param array $params + * @param string $paramName + * @param string $paramValue + */ + public function addParam(array &$params, $paramName, $paramValue) + { + if ($paramValue === null) + return; + + if ($paramValue instanceof KalturaNull) { + $params[$paramName . '__null'] = ''; + return; + } + + if(is_object($paramValue) && $paramValue instanceof KalturaObjectBase) + { + $params[$paramName] = array( + 'objectType' => get_class($paramValue) + ); + + foreach($paramValue as $prop => $val) + $this->addParam($params[$paramName], $prop, $val); + + return; + } + + if(is_bool($paramValue)) + { + $params[$paramName] = $paramValue; + return; + } + + if(!is_array($paramValue)) + { + $params[$paramName] = (string)$paramValue; + return; + } + + $params[$paramName] = array(); + if ($paramValue) + { + foreach($paramValue as $subParamName => $subParamValue) + $this->addParam($params[$paramName], $subParamName, $subParamValue); + } + else + { + $params[$paramName]['-'] = ''; + } + } + + /** + * @param mixed $value + * @return mixed + */ + public function jsObjectToClientObject($value) + { + if(is_array($value)) + { + foreach($value as &$item) + { + $item = $this->jsObjectToClientObject($item); + } + } + + if(is_object($value)) + { + if(isset($value->message) && isset($value->code)) + { + if($this->isMultiRequest) + { + if(isset($value->args)) + { + $value->args = (array) $value->args; + } + return (array) $value; + } + throw new KalturaException($value->message, $value->code, $value->args); + } + + if(!isset($value->objectType)) + { + if (isset($value->result)) + { + $value = $this->jsObjectToClientObject($value->result); + } + else if (isset($value->error)) + { + $this->jsObjectToClientObject($value->error); + } + else + { + throw new KalturaClientException("Response format not supported - objectType is required for all objects", KalturaClientException::ERROR_FORMAT_NOT_SUPPORTED); + } + } + + $objectType = $value->objectType; + $object = new $objectType(); + $attributes = get_object_vars($value); + foreach($attributes as $attribute => $attributeValue) + { + if($attribute === 'objectType') + { + continue; + } + + $object->$attribute = $this->jsObjectToClientObject($attributeValue); + } + + $value = $object; + } + + return $value; + } + + /** + * Encodes objects + * @param mixed $value + * @return string + */ + public function jsonEncode($value) + { + return json_encode($this->unsetNull($value)); + } + + protected function unsetNull($object) + { + if(!is_array($object) && !is_object($object)) + return $object; + + if(is_object($object) && $object instanceof MultiRequestSubResult) + return "$object"; + + $array = (array) $object; + foreach($array as $key => $value) + { + if(is_null($value)) + { + unset($array[$key]); + } + else + { + $array[$key] = $this->unsetNull($value); + } + } + + if(is_object($object)) + $array['objectType'] = get_class($object); + + return $array; + } + + /** + * Validate the result object and throw exception if its an error + * + * @param object $resultObject + */ + public function throwExceptionIfError($resultObject) + { + if ($this->isError($resultObject)) + { + throw new KalturaException($resultObject["message"], $resultObject["code"], $resultObject["args"]); + } + } + + /** + * Checks whether the result object is an error + * + * @param object $resultObject + */ + public function isError($resultObject) + { + return (is_array($resultObject) && isset($resultObject["message"]) && isset($resultObject["code"])); + } + + /** + * Validate that the passed object type is of the expected type + * + * @param any $resultObject + * @param string $objectType + */ + public function validateObjectType($resultObject, $objectType) + { + $knownNativeTypes = array("boolean", "integer", "double", "string"); + if (is_null($resultObject) || + ( in_array(gettype($resultObject) ,$knownNativeTypes) && + in_array($objectType, $knownNativeTypes) ) ) + { + return;// we do not check native simple types + } + else if ( is_object($resultObject) ) + { + if (!($resultObject instanceof $objectType)) + { + throw new KalturaClientException("Invalid object type - not instance of $objectType", KalturaClientException::ERROR_INVALID_OBJECT_TYPE); + } + } + else if(class_exists($objectType) && is_subclass_of($objectType, 'KalturaEnumBase')) + { + $enum = new ReflectionClass($objectType); + $values = array_map('strval', $enum->getConstants()); + if(!in_array($resultObject, $values)) + { + throw new KalturaClientException("Invalid enum value", KalturaClientException::ERROR_INVALID_ENUM_VALUE); + } + } + else if(gettype($resultObject) !== $objectType) + { + throw new KalturaClientException("Invalid object type", KalturaClientException::ERROR_INVALID_OBJECT_TYPE); + } + } + + + public function startMultiRequest() + { + $this->isMultiRequest = true; + } + + public function doMultiRequest() + { + return $this->doQueue(); + } + + public function isMultiRequest() + { + return $this->isMultiRequest; + } + + public function getMultiRequestQueueSize() + { + return count($this->callsQueue); + } + + public function getMultiRequestResult() + { + return new MultiRequestSubResult($this->getMultiRequestQueueSize() . ':result'); + } + + /** + * @param string $msg + */ + protected function log($msg) + { + if ($this->shouldLog) + { + if(isset($this->config->max_print)) + { + self::getFirstLines($msg, $this->config->max_print); + } + $this->config->getLogger()->log($msg); + } + } + + /** + * Return a list of parameter used to a new start debug on the destination server api + * @link http://kb.zend.com/index.php?View=entry&EntryID=434 + * @param $url + */ + protected function getZendDebuggerParams($url) + { + $params = array(); + $passThruParams = array('debug_host', + 'debug_fastfile', + 'debug_port', + 'start_debug', + 'send_debug_header', + 'send_sess_end', + 'debug_jit', + 'debug_stop', + 'use_remote'); + + foreach($passThruParams as $param) + { + if (isset($_COOKIE[$param])) + $params[$param] = $_COOKIE[$param]; + } + + $params['original_url'] = $url; + $params['debug_session_id'] = microtime(true); // to create a new debug session + + return $params; + } + + public function generateSession($adminSecretForSigning, $userId, $type, $partnerId, $expiry = 86400, $privileges = '') + { + $rand = rand(0, 32000); + $expiry = time()+$expiry; + $fields = array ( + $partnerId , + $partnerId , + $expiry , + $type, + $rand , + $userId , + $privileges + ); + $info = implode ( ";" , $fields ); + + $signature = $this->hash ( $adminSecretForSigning , $info ); + $strToHash = $signature . "|" . $info ; + $encoded_str = base64_encode( $strToHash ); + + return $encoded_str; + } + + public static function generateSessionV2($adminSecretForSigning, $userId, $type, $partnerId, $expiry, $privileges) + { + // build fields array + $fields = array(); + foreach (explode(',', $privileges) as $privilege) + { + $privilege = trim($privilege); + if (!$privilege) + continue; + if ($privilege == '*') + $privilege = 'all:*'; + $splittedPrivilege = explode(':', $privilege, 2); + if (count($splittedPrivilege) > 1) + $fields[$splittedPrivilege[0]] = $splittedPrivilege[1]; + else + $fields[$splittedPrivilege[0]] = ''; + } + $fields[self::FIELD_EXPIRY] = time() + $expiry; + $fields[self::FIELD_TYPE] = $type; + $fields[self::FIELD_USER] = $userId; + + // build fields string + $fieldsStr = http_build_query($fields, '', '&'); + $rand = ''; + for ($i = 0; $i < self::RANDOM_SIZE; $i++) + $rand .= chr(rand(0, 0xff)); + $fieldsStr = $rand . $fieldsStr; + $fieldsStr = sha1($fieldsStr, true) . $fieldsStr; + + // encrypt and encode + $encryptedFields = self::aesEncrypt($adminSecretForSigning, $fieldsStr); + $decodedKs = "v2|{$partnerId}|" . $encryptedFields; + return str_replace(array('+', '/'), array('-', '_'), base64_encode($decodedKs)); + } + + protected static function aesEncrypt($key, $message) + { + $iv = str_repeat("\0", 16); // no need for an IV since we add a random string to the message anyway + $key = substr(sha1($key, true), 0, 16); + if (function_exists('mcrypt_encrypt')) { + return mcrypt_encrypt( + MCRYPT_RIJNDAEL_128, + $key, + $message, + MCRYPT_MODE_CBC, + $iv + ); + }else { + // Pad with null byte to be compatible with mcrypt PKCS#5 padding + // See http://thefsb.tumblr.com/post/110749271235/using-opensslendecrypt-in-php-instead-of as reference + $blockSize = 16; + if (strlen($message) % $blockSize) { + $padLength = $blockSize - strlen($message) % $blockSize; + $message .= str_repeat("\0", $padLength); + } + return openssl_encrypt( + $message, + 'AES-128-CBC', + $key, + OPENSSL_RAW_DATA | OPENSSL_ZERO_PADDING, + $iv + ); + } + } + + private function hash ( $salt , $str ) + { + return sha1($salt.$str); + } + + /** + * @return KalturaNull + */ + public static function getKalturaNullValue() + { + + return KalturaNull::getInstance(); + } + +} + +/** + * @package Kaltura + * @subpackage Client + */ +interface IKalturaClientPlugin +{ + /** + * @return KalturaClientPlugin + */ + public static function get(KalturaClient $client); + + /** + * @return array + */ + public function getServices(); + + /** + * @return string + */ + public function getName(); +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaClientPlugin implements IKalturaClientPlugin +{ + protected function __construct(KalturaClient $client) + { + + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaServiceActionCall +{ + /** + * @var string + */ + public $service; + + /** + * @var string + */ + public $action; + + + /** + * @var array + */ + public $params; + + /** + * @var array + */ + public $files; + + /** + * Contruct new Kaltura service action call, if params array contain sub arrays (for objects), it will be flattened + * + * @param string $service + * @param string $action + * @param array $params + * @param array $files + */ + public function __construct($service, $action, $params = array(), $files = array()) + { + $this->service = $service; + $this->action = $action; + $this->params = $this->parseParams($params); + $this->files = $files; + } + + /** + * Parse params array and sub arrays (for objects) + * + * @param array $params + */ + public function parseParams(array $params) + { + $newParams = array(); + foreach($params as $key => $val) + { + if (is_array($val)) + { + $newParams[$key] = $this->parseParams($val); + } + else + { + $newParams[$key] = $val; + } + } + return $newParams; + } + + /** + * Return the parameters for a multi request + * + * @param int $multiRequestIndex + */ + public function getParamsForMultiRequest($multiRequestIndex) + { + $multiRequestParams = array(); + $multiRequestParams[$multiRequestIndex]['service'] = $this->service; + $multiRequestParams[$multiRequestIndex]['action'] = $this->action; + foreach($this->params as $key => $val) + { + $multiRequestParams[$multiRequestIndex][$key] = $val; + } + return $multiRequestParams; + } + + /** + * Return the parameters for a multi request + * + * @param int $multiRequestIndex + */ + public function getFilesForMultiRequest($multiRequestIndex) + { + $multiRequestParams = array(); + foreach($this->files as $key => $val) + { + $multiRequestParams["$multiRequestIndex:$key"] = $val; + } + return $multiRequestParams; + } +} + +/** + * Abstract base class for all client services + * + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaServiceBase +{ + /** + * @var KalturaClient + */ + protected $client; + + /** + * Initialize the service keeping reference to the KalturaClient + * + * @param KalturaClient $client + */ + public function __construct(KalturaClient $client = null) + { + $this->client = $client; + } + + /** + * @param KalturaClient $client + */ + public function setClient(KalturaClient $client) + { + $this->client = $client; + } +} + +/** + * Abstract base class for all client enums + * + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaEnumBase +{ +} + +/** + * Abstract base class for all client objects + * + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaObjectBase +{ + /** + * @var array + */ + public $relatedObjects; + + public function __construct($params = array()) + { + foreach ($params as $key => $value) + { + if (!property_exists($this, $key)) + throw new KalturaClientException("property [{$key}] does not exist on object [".get_class($this)."]", KalturaClientException::ERROR_INVALID_OBJECT_FIELD); + $this->$key = $value; + } + } + + protected function addIfNotNull(&$params, $paramName, $paramValue) + { + if ($paramValue !== null) + { + if($paramValue instanceof KalturaObjectBase) + { + $params[$paramName] = $paramValue->toParams(); + } + else + { + $params[$paramName] = $paramValue; + } + } + } + + public function toParams() + { + $params = array(); + $params["objectType"] = get_class($this); + foreach($this as $prop => $val) + { + $this->addIfNotNull($params, $prop, $val); + } + return $params; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaException extends Exception +{ + private $arguments; + + public function __construct($message, $code, $arguments) + { + $this->code = $code; + $this->arguments = $arguments; + + parent::__construct($message); + } + + /** + * @return array + */ + public function getArguments() + { + return $this->arguments; + } + + /** + * @return string + */ + public function getArgument($argument) + { + if($this->arguments && isset($this->arguments[$argument])) + { + return $this->arguments[$argument]; + } + + return null; + } +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaClientException extends Exception +{ + const ERROR_GENERIC = -1; + const ERROR_UNSERIALIZE_FAILED = -2; + const ERROR_FORMAT_NOT_SUPPORTED = -3; + const ERROR_UPLOAD_NOT_SUPPORTED = -4; + const ERROR_CONNECTION_FAILED = -5; + const ERROR_READ_FAILED = -6; + const ERROR_INVALID_PARTNER_ID = -7; + const ERROR_INVALID_OBJECT_TYPE = -8; + const ERROR_INVALID_OBJECT_FIELD = -9; + const ERROR_DOWNLOAD_NOT_SUPPORTED = -10; + const ERROR_DOWNLOAD_IN_MULTIREQUEST = -11; + const ERROR_ACTION_IN_MULTIREQUEST = -12; + const ERROR_INVALID_ENUM_VALUE = -13; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConfiguration +{ + private $logger; + + public $serviceUrl = "http://www.kaltura.com/"; + public $format = KalturaClientBase::KALTURA_SERVICE_FORMAT_PHP; + public $curlTimeout = 120; + public $userAgent = ''; + public $startZendDebuggerSession = false; + public $proxyHost = null; + public $proxyPort = null; + public $proxyType = 'HTTP'; + public $proxyUser = null; + public $proxyPassword = ''; + public $verifySSL = true; + public $sslCertificatePath = null; + public $requestHeaders = array(); + public $method = KalturaClientBase::METHOD_POST; + + + public function setServiceUrl ($serviceUrl) + { + $this->serviceUrl = $serviceUrl; + } + + public function getServiceUrl () + { + return $this->serviceUrl; + } + + + /** + * Set logger to get kaltura client debug logs + * + * @param IKalturaLogger $log + */ + public function setLogger(IKalturaLogger $log) + { + $this->logger = $log; + } + + /** + * Gets the logger (Internal client use) + * + * @return IKalturaLogger + */ + public function getLogger() + { + return $this->logger; + } +} + +/** + * Implement to get Kaltura Client logs + * + * @package Kaltura + * @subpackage Client + */ +interface IKalturaLogger +{ + function log($msg); +} + + diff --git a/KalturaGeneratedAPIClientsPHP/KalturaEnums.php b/KalturaGeneratedAPIClientsPHP/KalturaEnums.php new file mode 100644 index 000000000..96c46943f --- /dev/null +++ b/KalturaGeneratedAPIClientsPHP/KalturaEnums.php @@ -0,0 +1,5313 @@ +. +// +// @ignore +// =================================================================================================== + +/** + * @package Kaltura + * @subpackage Client + */ +require_once(dirname(__FILE__) . "/KalturaClientBase.php"); + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAppTokenStatus extends KalturaEnumBase +{ + const DISABLED = 1; + const ACTIVE = 2; + const DELETED = 3; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAppearInListType extends KalturaEnumBase +{ + const PARTNER_ONLY = 1; + const CATEGORY_MEMBERS_ONLY = 3; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAssetParamsDeletePolicy extends KalturaEnumBase +{ + const KEEP = 0; + const DELETE = 1; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAssetParamsOrigin extends KalturaEnumBase +{ + const CONVERT = 0; + const INGEST = 1; + const CONVERT_WHEN_MISSING = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBatchJobErrorTypes extends KalturaEnumBase +{ + const APP = 0; + const RUNTIME = 1; + const HTTP = 2; + const CURL = 3; + const KALTURA_API = 4; + const KALTURA_CLIENT = 5; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBatchJobStatus extends KalturaEnumBase +{ + const PENDING = 0; + const QUEUED = 1; + const PROCESSING = 2; + const PROCESSED = 3; + const MOVEFILE = 4; + const FINISHED = 5; + const FAILED = 6; + const ABORTED = 7; + const ALMOST_DONE = 8; + const RETRY = 9; + const FATAL = 10; + const DONT_PROCESS = 11; + const FINISHED_PARTIALLY = 12; + const SUSPEND = 13; + const SUSPEND_ALMOST_DONE = 14; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBitRateMode extends KalturaEnumBase +{ + const CBR = 1; + const VBR = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryEntryStatus extends KalturaEnumBase +{ + const PENDING = 1; + const ACTIVE = 2; + const DELETED = 3; + const REJECTED = 4; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryStatus extends KalturaEnumBase +{ + const UPDATING = 1; + const ACTIVE = 2; + const DELETED = 3; + const PURGED = 4; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryUserPermissionLevel extends KalturaEnumBase +{ + const MANAGER = 0; + const MODERATOR = 1; + const CONTRIBUTOR = 2; + const MEMBER = 3; + const NONE = 4; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryUserStatus extends KalturaEnumBase +{ + const ACTIVE = 1; + const PENDING = 2; + const NOT_ACTIVE = 3; + const DELETED = 4; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaChinaCacheAlgorithmType extends KalturaEnumBase +{ + const SHA1 = 1; + const SHA256 = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCommercialUseType extends KalturaEnumBase +{ + const NON_COMMERCIAL_USE = 0; + const COMMERCIAL_USE = 1; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaContributionPolicyType extends KalturaEnumBase +{ + const ALL = 1; + const MEMBERS_WITH_CONTRIBUTION_PERMISSION = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaControlPanelCommandStatus extends KalturaEnumBase +{ + const PENDING = 1; + const HANDLED = 2; + const DONE = 3; + const FAILED = 4; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaControlPanelCommandTargetType extends KalturaEnumBase +{ + const DATA_CENTER = 1; + const SCHEDULER = 2; + const JOB_TYPE = 3; + const JOB = 4; + const BATCH = 5; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaControlPanelCommandType extends KalturaEnumBase +{ + const KILL = 4; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCountryRestrictionType extends KalturaEnumBase +{ + const RESTRICT_COUNTRY_LIST = 0; + const ALLOW_COUNTRY_LIST = 1; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDVRStatus extends KalturaEnumBase +{ + const DISABLED = 0; + const ENABLED = 1; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryStatus extends KalturaEnumBase +{ + const ACTIVE = 0; + const DELETED = 1; + const STAGING_IN = 2; + const STAGING_OUT = 3; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDirectoryRestrictionType extends KalturaEnumBase +{ + const DONT_DISPLAY = 0; + const DISPLAY_WITH_LINK = 1; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEditorType extends KalturaEnumBase +{ + const SIMPLE = 1; + const ADVANCED = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEffectType extends KalturaEnumBase +{ + const VIDEO_FADE_IN = 1; + const VIDEO_FADE_OUT = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEmailIngestionProfileStatus extends KalturaEnumBase +{ + const INACTIVE = 0; + const ACTIVE = 1; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryDisplayInSearchType extends KalturaEnumBase +{ + const SYSTEM = -1; + const NONE = 0; + const PARTNER_ONLY = 1; + const KALTURA_NETWORK = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryModerationStatus extends KalturaEnumBase +{ + const PENDING_MODERATION = 1; + const APPROVED = 2; + const REJECTED = 3; + const DELETED = 4; + const FLAGGED_FOR_REVIEW = 5; + const AUTO_APPROVED = 6; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryServerNodeRecordingStatus extends KalturaEnumBase +{ + const STOPPED = 0; + const ON_GOING = 1; + const DONE = 2; + const DISMISSED = 3; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryServerNodeStatus extends KalturaEnumBase +{ + const ERROR = -1; + const STOPPED = 0; + const PLAYABLE = 1; + const BROADCASTING = 2; + const AUTHENTICATED = 3; + const MARKED_FOR_DELETION = 4; + const TASK_PENDING = 5; + const TASK_QUEUED = 6; + const TASK_PROCESSING = 7; + const TASK_UPLOADING = 8; + const TASK_FINISHED = 9; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFeatureStatusType extends KalturaEnumBase +{ + const LOCK_CATEGORY = 1; + const CATEGORY = 2; + const CATEGORY_ENTRY = 3; + const ENTRY = 4; + const CATEGORY_USER = 5; + const USER = 6; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFlavorAssetStatus extends KalturaEnumBase +{ + const ERROR = -1; + const QUEUED = 0; + const CONVERTING = 1; + const READY = 2; + const DELETED = 3; + const NOT_APPLICABLE = 4; + const TEMP = 5; + const WAIT_FOR_CONVERT = 6; + const IMPORTING = 7; + const VALIDATING = 8; + const EXPORTING = 9; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFlavorReadyBehaviorType extends KalturaEnumBase +{ + const NO_IMPACT = 0; + const INHERIT_FLAVOR_PARAMS = 0; + const REQUIRED = 1; + const OPTIONAL = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGender extends KalturaEnumBase +{ + const UNKNOWN = 0; + const MALE = 1; + const FEMALE = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGroupUserCreationMode extends KalturaEnumBase +{ + const MANUAL = 1; + const AUTOMATIC = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGroupUserRole extends KalturaEnumBase +{ + const MEMBER = 1; + const MANAGER = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGroupUserStatus extends KalturaEnumBase +{ + const ACTIVE = 0; + const DELETED = 1; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaInheritanceType extends KalturaEnumBase +{ + const INHERIT = 1; + const MANUAL = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaIpAddressRestrictionType extends KalturaEnumBase +{ + const RESTRICT_LIST = 0; + const ALLOW_LIST = 1; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLicenseType extends KalturaEnumBase +{ + const UNKNOWN = -1; + const NONE = 0; + const COPYRIGHTED = 1; + const PUBLIC_DOMAIN = 2; + const CREATIVECOMMONS_ATTRIBUTION = 3; + const CREATIVECOMMONS_ATTRIBUTION_SHARE_ALIKE = 4; + const CREATIVECOMMONS_ATTRIBUTION_NO_DERIVATIVES = 5; + const CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL = 6; + const CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL_SHARE_ALIKE = 7; + const CREATIVECOMMONS_ATTRIBUTION_NON_COMMERCIAL_NO_DERIVATIVES = 8; + const GFDL = 9; + const GPL = 10; + const AFFERO_GPL = 11; + const LGPL = 12; + const BSD = 13; + const APACHE = 14; + const MOZILLA = 15; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLimitFlavorsRestrictionType extends KalturaEnumBase +{ + const RESTRICT_LIST = 0; + const ALLOW_LIST = 1; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLivePublishStatus extends KalturaEnumBase +{ + const DISABLED = 0; + const ENABLED = 1; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveReportExportType extends KalturaEnumBase +{ + const PARTNER_TOTAL_ALL = 1; + const PARTNER_TOTAL_LIVE = 2; + const ENTRY_TIME_LINE_ALL = 11; + const ENTRY_TIME_LINE_LIVE = 12; + const LOCATION_ALL = 21; + const LOCATION_LIVE = 22; + const SYNDICATION_ALL = 31; + const SYNDICATION_LIVE = 32; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStatsEventType extends KalturaEnumBase +{ + const LIVE = 1; + const DVR = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamBroadcastStatus extends KalturaEnumBase +{ + const OFFLINE = 1; + const PREVIEW = 2; + const LIVE = 3; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMailJobStatus extends KalturaEnumBase +{ + const PENDING = 1; + const SENT = 2; + const ERROR = 3; + const QUEUED = 4; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaType extends KalturaEnumBase +{ + const VIDEO = 1; + const IMAGE = 2; + const AUDIO = 5; + const LIVE_STREAM_FLASH = 201; + const LIVE_STREAM_WINDOWS_MEDIA = 202; + const LIVE_STREAM_REAL_MEDIA = 203; + const LIVE_STREAM_QUICKTIME = 204; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaModerationFlagType extends KalturaEnumBase +{ + const SEXUAL_CONTENT = 1; + const VIOLENT_REPULSIVE = 2; + const HARMFUL_DANGEROUS = 3; + const SPAM_COMMERCIALS = 4; + const COPYRIGHT = 5; + const TERMS_OF_USE_VIOLATION = 6; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMrssExtensionMode extends KalturaEnumBase +{ + const APPEND = 1; + const REPLACE = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaNotificationObjectType extends KalturaEnumBase +{ + const ENTRY = 1; + const KSHOW = 2; + const USER = 3; + const BATCH_JOB = 4; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaNotificationStatus extends KalturaEnumBase +{ + const PENDING = 1; + const SENT = 2; + const ERROR = 3; + const SHOULD_RESEND = 4; + const ERROR_RESENDING = 5; + const SENT_SYNCH = 6; + const QUEUED = 7; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaNotificationType extends KalturaEnumBase +{ + const ENTRY_ADD = 1; + const ENTR_UPDATE_PERMISSIONS = 2; + const ENTRY_DELETE = 3; + const ENTRY_BLOCK = 4; + const ENTRY_UPDATE = 5; + const ENTRY_UPDATE_THUMBNAIL = 6; + const ENTRY_UPDATE_MODERATION = 7; + const USER_ADD = 21; + const USER_BANNED = 26; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaNullableBoolean extends KalturaEnumBase +{ + const NULL_VALUE = -1; + const FALSE_VALUE = 0; + const TRUE_VALUE = 1; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPartnerAuthenticationType extends KalturaEnumBase +{ + const PASSWORD_ONLY = 0; + const TWO_FACTOR_AUTH = 1; + const SSO = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPartnerGroupType extends KalturaEnumBase +{ + const PUBLISHER = 1; + const VAR_GROUP = 2; + const GROUP = 3; + const TEMPLATE = 4; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPartnerStatus extends KalturaEnumBase +{ + const DELETED = 0; + const ACTIVE = 1; + const BLOCKED = 2; + const FULL_BLOCK = 3; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPartnerType extends KalturaEnumBase +{ + const KMC = 1; + const WIKI = 100; + const WORDPRESS = 101; + const DRUPAL = 102; + const DEKIWIKI = 103; + const MOODLE = 104; + const COMMUNITY_EDITION = 105; + const JOOMLA = 106; + const BLACKBOARD = 107; + const SAKAI = 108; + const ADMIN_CONSOLE = 109; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPermissionStatus extends KalturaEnumBase +{ + const ACTIVE = 1; + const BLOCKED = 2; + const DELETED = 3; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPermissionType extends KalturaEnumBase +{ + const NORMAL = 1; + const SPECIAL_FEATURE = 2; + const PLUGIN = 3; + const PARTNER_GROUP = 4; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlaylistType extends KalturaEnumBase +{ + const STATIC_LIST = 3; + const DYNAMIC = 10; + const EXTERNAL = 101; + const PATH = 102; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPrivacyType extends KalturaEnumBase +{ + const ALL = 1; + const AUTHENTICATED_USERS = 2; + const MEMBERS_ONLY = 3; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaRecordStatus extends KalturaEnumBase +{ + const DISABLED = 0; + const APPENDED = 1; + const PER_SESSION = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaRecordingStatus extends KalturaEnumBase +{ + const STOPPED = 0; + const PAUSED = 1; + const ACTIVE = 2; + const DISABLED = 3; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReportExportItemType extends KalturaEnumBase +{ + const TABLE = 1; + const TOTAL = 2; + const GRAPH = 3; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaResponseProfileStatus extends KalturaEnumBase +{ + const DISABLED = 1; + const ENABLED = 2; + const DELETED = 3; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaResponseProfileType extends KalturaEnumBase +{ + const INCLUDE_FIELDS = 1; + const EXCLUDE_FIELDS = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaResponseType extends KalturaEnumBase +{ + const RESPONSE_TYPE_JSON = 1; + const RESPONSE_TYPE_XML = 2; + const RESPONSE_TYPE_PHP = 3; + const RESPONSE_TYPE_PHP_ARRAY = 4; + const RESPONSE_TYPE_HTML = 7; + const RESPONSE_TYPE_MRSS = 8; + const RESPONSE_TYPE_JSONP = 9; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSchedulerStatusType extends KalturaEnumBase +{ + const RUNNING_BATCHES_COUNT = 1; + const RUNNING_BATCHES_CPU = 2; + const RUNNING_BATCHES_MEMORY = 3; + const RUNNING_BATCHES_NETWORK = 4; + const RUNNING_BATCHES_DISC_IO = 5; + const RUNNING_BATCHES_DISC_SPACE = 6; + const RUNNING_BATCHES_IS_RUNNING = 7; + const RUNNING_BATCHES_LAST_EXECUTION_TIME = 8; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSearchOperatorType extends KalturaEnumBase +{ + const SEARCH_AND = 1; + const SEARCH_OR = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSearchProviderType extends KalturaEnumBase +{ + const FLICKR = 3; + const YOUTUBE = 4; + const MYSPACE = 7; + const PHOTOBUCKET = 8; + const JAMENDO = 9; + const CCMIXTER = 10; + const NYPL = 11; + const CURRENT = 12; + const MEDIA_COMMONS = 13; + const KALTURA = 20; + const KALTURA_USER_CLIPS = 21; + const ARCHIVE_ORG = 22; + const KALTURA_PARTNER = 23; + const METACAFE = 24; + const SEARCH_PROXY = 28; + const PARTNER_SPECIFIC = 100; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaServerNodeStatus extends KalturaEnumBase +{ + const ACTIVE = 1; + const DISABLED = 2; + const DELETED = 3; + const NOT_REGISTERED = 4; + const NOT_OPERATIONAL = 5; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSessionType extends KalturaEnumBase +{ + const USER = 0; + const ADMIN = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSiteRestrictionType extends KalturaEnumBase +{ + const RESTRICT_SITE_LIST = 0; + const ALLOW_SITE_LIST = 1; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStatsEventType extends KalturaEnumBase +{ + const WIDGET_LOADED = 1; + const MEDIA_LOADED = 2; + const PLAY = 3; + const PLAY_REACHED_25 = 4; + const PLAY_REACHED_50 = 5; + const PLAY_REACHED_75 = 6; + const PLAY_REACHED_100 = 7; + const OPEN_EDIT = 8; + const OPEN_VIRAL = 9; + const OPEN_DOWNLOAD = 10; + const OPEN_REPORT = 11; + const BUFFER_START = 12; + const BUFFER_END = 13; + const OPEN_FULL_SCREEN = 14; + const CLOSE_FULL_SCREEN = 15; + const REPLAY = 16; + const SEEK = 17; + const OPEN_UPLOAD = 18; + const SAVE_PUBLISH = 19; + const CLOSE_EDITOR = 20; + const PRE_BUMPER_PLAYED = 21; + const POST_BUMPER_PLAYED = 22; + const BUMPER_CLICKED = 23; + const PREROLL_STARTED = 24; + const MIDROLL_STARTED = 25; + const POSTROLL_STARTED = 26; + const OVERLAY_STARTED = 27; + const PREROLL_CLICKED = 28; + const MIDROLL_CLICKED = 29; + const POSTROLL_CLICKED = 30; + const OVERLAY_CLICKED = 31; + const PREROLL_25 = 32; + const PREROLL_50 = 33; + const PREROLL_75 = 34; + const MIDROLL_25 = 35; + const MIDROLL_50 = 36; + const MIDROLL_75 = 37; + const POSTROLL_25 = 38; + const POSTROLL_50 = 39; + const POSTROLL_75 = 40; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStatsFeatureType extends KalturaEnumBase +{ + const NONE = 0; + const RELATED = 1; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStatsKmcEventType extends KalturaEnumBase +{ + const CONTENT_PAGE_VIEW = 1001; + const CONTENT_ADD_PLAYLIST = 1010; + const CONTENT_EDIT_PLAYLIST = 1011; + const CONTENT_DELETE_PLAYLIST = 1012; + const CONTENT_EDIT_ENTRY = 1013; + const CONTENT_CHANGE_THUMBNAIL = 1014; + const CONTENT_ADD_TAGS = 1015; + const CONTENT_REMOVE_TAGS = 1016; + const CONTENT_ADD_ADMIN_TAGS = 1017; + const CONTENT_REMOVE_ADMIN_TAGS = 1018; + const CONTENT_DOWNLOAD = 1019; + const CONTENT_APPROVE_MODERATION = 1020; + const CONTENT_REJECT_MODERATION = 1021; + const CONTENT_BULK_UPLOAD = 1022; + const CONTENT_ADMIN_KCW_UPLOAD = 1023; + const ACCOUNT_CHANGE_PARTNER_INFO = 1030; + const ACCOUNT_CHANGE_LOGIN_INFO = 1031; + const ACCOUNT_CONTACT_US_USAGE = 1032; + const ACCOUNT_UPDATE_SERVER_SETTINGS = 1033; + const ACCOUNT_ACCOUNT_OVERVIEW = 1034; + const ACCOUNT_ACCESS_CONTROL = 1035; + const ACCOUNT_TRANSCODING_SETTINGS = 1036; + const ACCOUNT_ACCOUNT_UPGRADE = 1037; + const ACCOUNT_SAVE_SERVER_SETTINGS = 1038; + const ACCOUNT_ACCESS_CONTROL_DELETE = 1039; + const ACCOUNT_SAVE_TRANSCODING_SETTINGS = 1040; + const LOGIN = 1041; + const DASHBOARD_IMPORT_CONTENT = 1042; + const DASHBOARD_UPDATE_CONTENT = 1043; + const DASHBOARD_ACCOUNT_CONTACT_US = 1044; + const DASHBOARD_VIEW_REPORTS = 1045; + const DASHBOARD_EMBED_PLAYER = 1046; + const DASHBOARD_EMBED_PLAYLIST = 1047; + const DASHBOARD_CUSTOMIZE_PLAYERS = 1048; + const APP_STUDIO_NEW_PLAYER_SINGLE_VIDEO = 1050; + const APP_STUDIO_NEW_PLAYER_PLAYLIST = 1051; + const APP_STUDIO_NEW_PLAYER_MULTI_TAB_PLAYLIST = 1052; + const APP_STUDIO_EDIT_PLAYER_SINGLE_VIDEO = 1053; + const APP_STUDIO_EDIT_PLAYER_PLAYLIST = 1054; + const APP_STUDIO_EDIT_PLAYER_MULTI_TAB_PLAYLIST = 1055; + const APP_STUDIO_DUPLICATE_PLAYER = 1056; + const CONTENT_CONTENT_GO_TO_PAGE = 1057; + const CONTENT_DELETE_ITEM = 1058; + const CONTENT_DELETE_MIX = 1059; + const REPORTS_AND_ANALYTICS_BANDWIDTH_USAGE_TAB = 1070; + const REPORTS_AND_ANALYTICS_CONTENT_REPORTS_TAB = 1071; + const REPORTS_AND_ANALYTICS_USERS_AND_COMMUNITY_REPORTS_TAB = 1072; + const REPORTS_AND_ANALYTICS_TOP_CONTRIBUTORS = 1073; + const REPORTS_AND_ANALYTICS_MAP_OVERLAYS = 1074; + const REPORTS_AND_ANALYTICS_TOP_SYNDICATIONS = 1075; + const REPORTS_AND_ANALYTICS_TOP_CONTENT = 1076; + const REPORTS_AND_ANALYTICS_CONTENT_DROPOFF = 1077; + const REPORTS_AND_ANALYTICS_CONTENT_INTERACTIONS = 1078; + const REPORTS_AND_ANALYTICS_CONTENT_CONTRIBUTIONS = 1079; + const REPORTS_AND_ANALYTICS_VIDEO_DRILL_DOWN = 1080; + const REPORTS_AND_ANALYTICS_CONTENT_DRILL_DOWN_INTERACTION = 1081; + const REPORTS_AND_ANALYTICS_CONTENT_CONTRIBUTIONS_DRILLDOWN = 1082; + const REPORTS_AND_ANALYTICS_VIDEO_DRILL_DOWN_DROPOFF = 1083; + const REPORTS_AND_ANALYTICS_MAP_OVERLAYS_DRILLDOWN = 1084; + const REPORTS_AND_ANALYTICS_TOP_SYNDICATIONS_DRILL_DOWN = 1085; + const REPORTS_AND_ANALYTICS_BANDWIDTH_USAGE_VIEW_MONTHLY = 1086; + const REPORTS_AND_ANALYTICS_BANDWIDTH_USAGE_VIEW_YEARLY = 1087; + const CONTENT_ENTRY_DRILLDOWN = 1088; + const CONTENT_OPEN_PREVIEW_AND_EMBED = 1089; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStorageProfileDeliveryStatus extends KalturaEnumBase +{ + const ACTIVE = 1; + const BLOCKED = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStorageProfileReadyBehavior extends KalturaEnumBase +{ + const NO_IMPACT = 0; + const REQUIRED = 1; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStorageProfileStatus extends KalturaEnumBase +{ + const DISABLED = 1; + const AUTOMATIC = 2; + const MANUAL = 3; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSyndicationFeedStatus extends KalturaEnumBase +{ + const DELETED = -1; + const ACTIVE = 1; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSyndicationFeedType extends KalturaEnumBase +{ + const GOOGLE_VIDEO = 1; + const YAHOO = 2; + const ITUNES = 3; + const TUBE_MOGUL = 4; + const KALTURA = 5; + const KALTURA_XSLT = 6; + const ROKU_DIRECT_PUBLISHER = 7; + const OPERA_TV_SNAP = 8; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaThumbAssetStatus extends KalturaEnumBase +{ + const ERROR = -1; + const QUEUED = 0; + const CAPTURING = 1; + const READY = 2; + const DELETED = 3; + const IMPORTING = 7; + const EXPORTING = 9; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaThumbCropType extends KalturaEnumBase +{ + const RESIZE = 1; + const RESIZE_WITH_PADDING = 2; + const CROP = 3; + const CROP_FROM_TOP = 4; + const RESIZE_WITH_FORCE = 5; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUiConfCreationMode extends KalturaEnumBase +{ + const WIZARD = 2; + const ADVANCED = 3; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUiConfObjType extends KalturaEnumBase +{ + const PLAYER = 1; + const CONTRIBUTION_WIZARD = 2; + const SIMPLE_EDITOR = 3; + const ADVANCED_EDITOR = 4; + const PLAYLIST = 5; + const APP_STUDIO = 6; + const KRECORD = 7; + const PLAYER_V3 = 8; + const KMC_ACCOUNT = 9; + const KMC_ANALYTICS = 10; + const KMC_CONTENT = 11; + const KMC_DASHBOARD = 12; + const KMC_LOGIN = 13; + const PLAYER_SL = 14; + const CLIENTSIDE_ENCODER = 15; + const KMC_GENERAL = 16; + const KMC_ROLES_AND_PERMISSIONS = 17; + const CLIPPER = 18; + const KSR = 19; + const KUPLOAD = 20; + const WEBCASTING = 21; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUpdateMethodType extends KalturaEnumBase +{ + const MANUAL = 0; + const AUTOMATIC = 1; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUploadErrorCode extends KalturaEnumBase +{ + const NO_ERROR = 0; + const GENERAL_ERROR = 1; + const PARTIAL_UPLOAD = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUploadTokenStatus extends KalturaEnumBase +{ + const PENDING = 0; + const PARTIAL_UPLOAD = 1; + const FULL_UPLOAD = 2; + const CLOSED = 3; + const TIMED_OUT = 4; + const DELETED = 5; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserAgentRestrictionType extends KalturaEnumBase +{ + const RESTRICT_LIST = 0; + const ALLOW_LIST = 1; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserJoinPolicyType extends KalturaEnumBase +{ + const AUTO_JOIN = 1; + const REQUEST_TO_JOIN = 2; + const NOT_ALLOWED = 3; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserMode extends KalturaEnumBase +{ + const NONE = 0; + const PROTECTED_USER = 1; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserRoleStatus extends KalturaEnumBase +{ + const ACTIVE = 1; + const BLOCKED = 2; + const DELETED = 3; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserStatus extends KalturaEnumBase +{ + const BLOCKED = 0; + const ACTIVE = 1; + const DELETED = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserType extends KalturaEnumBase +{ + const USER = 0; + const GROUP = 1; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaViewMode extends KalturaEnumBase +{ + const PREVIEW = 0; + const ALLOW_ALL = 1; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaWidgetSecurityType extends KalturaEnumBase +{ + const NONE = 1; + const TIMEHASH = 2; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAccessControlOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const CREATED_AT_DESC = "-createdAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAccessControlProfileOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAdminUserOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const ID_ASC = "+id"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const ID_DESC = "-id"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAkamaiUniversalStreamType extends KalturaEnumBase +{ + const HD_IPHONE_IPAD_LIVE = "HD iPhone/iPad Live"; + const UNIVERSAL_STREAMING_LIVE = "Universal Streaming Live"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAmazonS3StorageProfileFilesPermissionLevel extends KalturaEnumBase +{ + const ACL_AUTHENTICATED_READ = "authenticated-read"; + const ACL_PRIVATE = "private"; + const ACL_PUBLIC_READ = "public-read"; + const ACL_PUBLIC_READ_WRITE = "public-read-write"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAmazonS3StorageProfileOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaApiActionPermissionItemOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const ID_ASC = "+id"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const ID_DESC = "-id"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaApiParameterPermissionItemAction extends KalturaEnumBase +{ + const USAGE = "all"; + const INSERT = "insert"; + const READ = "read"; + const UPDATE = "update"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaApiParameterPermissionItemOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const ID_ASC = "+id"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const ID_DESC = "-id"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAppTokenHashType extends KalturaEnumBase +{ + const MD5 = "MD5"; + const SHA1 = "SHA1"; + const SHA256 = "SHA256"; + const SHA512 = "SHA512"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAppTokenOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAssetOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const DELETED_AT_ASC = "+deletedAt"; + const SIZE_ASC = "+size"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const DELETED_AT_DESC = "-deletedAt"; + const SIZE_DESC = "-size"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAssetParamsOrderBy extends KalturaEnumBase +{ +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAssetParamsOutputOrderBy extends KalturaEnumBase +{ +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAssetType extends KalturaEnumBase +{ + const ATTACHMENT = "attachment.Attachment"; + const CAPTION = "caption.Caption"; + const DOCUMENT = "document.Document"; + const IMAGE = "document.Image"; + const PDF = "document.PDF"; + const SWF = "document.SWF"; + const TIMED_THUMB_ASSET = "thumbCuePoint.timedThumb"; + const TRANSCRIPT = "transcript.Transcript"; + const WIDEVINE_FLAVOR = "widevine.WidevineFlavor"; + const FLAVOR = "1"; + const THUMBNAIL = "2"; + const LIVE = "3"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAudioCodec extends KalturaEnumBase +{ + const NONE = ""; + const AAC = "aac"; + const AACHE = "aache"; + const AC3 = "ac3"; + const AMRNB = "amrnb"; + const COPY = "copy"; + const EAC3 = "eac3"; + const MP3 = "mp3"; + const MPEG2 = "mpeg2"; + const PCM = "pcm"; + const VORBIS = "vorbis"; + const WMA = "wma"; + const WMAPRO = "wmapro"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBaseEntryCloneOptions extends KalturaEnumBase +{ + const AD_CUE_POINTS = "adCuePoint.AD_CUE_POINTS"; + const ANNOTATION_CUE_POINTS = "annotation.ANNOTATION_CUE_POINTS"; + const CODE_CUE_POINTS = "codeCuePoint.CODE_CUE_POINTS"; + const THUMB_CUE_POINTS = "thumbCuePoint.THUMB_CUE_POINTS"; + const USERS = "1"; + const CATEGORIES = "2"; + const CHILD_ENTRIES = "3"; + const ACCESS_CONTROL = "4"; + const METADATA = "5"; + const FLAVORS = "6"; + const CAPTIONS = "7"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBaseEntryCompareAttribute extends KalturaEnumBase +{ + const ACCESS_CONTROL_ID = "accessControlId"; + const CREATED_AT = "createdAt"; + const END_DATE = "endDate"; + const MODERATION_COUNT = "moderationCount"; + const MODERATION_STATUS = "moderationStatus"; + const PARTNER_ID = "partnerId"; + const PARTNER_SORT_VALUE = "partnerSortValue"; + const RANK = "rank"; + const REPLACEMENT_STATUS = "replacementStatus"; + const START_DATE = "startDate"; + const STATUS = "status"; + const TOTAL_RANK = "totalRank"; + const TYPE = "type"; + const UPDATED_AT = "updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBaseEntryMatchAttribute extends KalturaEnumBase +{ + const ADMIN_TAGS = "adminTags"; + const CATEGORIES_IDS = "categoriesIds"; + const CREATOR_ID = "creatorId"; + const DESCRIPTION = "description"; + const GROUP_ID = "groupId"; + const ID = "id"; + const NAME = "name"; + const REFERENCE_ID = "referenceId"; + const REPLACED_ENTRY_ID = "replacedEntryId"; + const REPLACING_ENTRY_ID = "replacingEntryId"; + const SEARCH_TEXT = "searchText"; + const TAGS = "tags"; + const USER_ID = "userId"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBaseEntryOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const END_DATE_ASC = "+endDate"; + const MODERATION_COUNT_ASC = "+moderationCount"; + const NAME_ASC = "+name"; + const PARTNER_SORT_VALUE_ASC = "+partnerSortValue"; + const RANK_ASC = "+rank"; + const RECENT_ASC = "+recent"; + const START_DATE_ASC = "+startDate"; + const TOTAL_RANK_ASC = "+totalRank"; + const UPDATED_AT_ASC = "+updatedAt"; + const WEIGHT_ASC = "+weight"; + const CREATED_AT_DESC = "-createdAt"; + const END_DATE_DESC = "-endDate"; + const MODERATION_COUNT_DESC = "-moderationCount"; + const NAME_DESC = "-name"; + const PARTNER_SORT_VALUE_DESC = "-partnerSortValue"; + const RANK_DESC = "-rank"; + const RECENT_DESC = "-recent"; + const START_DATE_DESC = "-startDate"; + const TOTAL_RANK_DESC = "-totalRank"; + const UPDATED_AT_DESC = "-updatedAt"; + const WEIGHT_DESC = "-weight"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBaseSyndicationFeedOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const NAME_ASC = "+name"; + const PLAYLIST_ID_ASC = "+playlistId"; + const TYPE_ASC = "+type"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const NAME_DESC = "-name"; + const PLAYLIST_ID_DESC = "-playlistId"; + const TYPE_DESC = "-type"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBaseUserOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const ID_ASC = "+id"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const ID_DESC = "-id"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBatchJobObjectType extends KalturaEnumBase +{ + const ENTRY_DISTRIBUTION = "contentDistribution.EntryDistribution"; + const DROP_FOLDER_FILE = "dropFolderXmlBulkUpload.DropFolderFile"; + const METADATA = "metadata.Metadata"; + const METADATA_PROFILE = "metadata.MetadataProfile"; + const SCHEDULED_TASK_PROFILE = "scheduledTask.ScheduledTaskProfile"; + const ENTRY = "1"; + const CATEGORY = "2"; + const FILE_SYNC = "3"; + const ASSET = "4"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBatchJobOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const ESTIMATED_EFFORT_ASC = "+estimatedEffort"; + const EXECUTION_ATTEMPTS_ASC = "+executionAttempts"; + const FINISH_TIME_ASC = "+finishTime"; + const LOCK_VERSION_ASC = "+lockVersion"; + const PRIORITY_ASC = "+priority"; + const QUEUE_TIME_ASC = "+queueTime"; + const STATUS_ASC = "+status"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const ESTIMATED_EFFORT_DESC = "-estimatedEffort"; + const EXECUTION_ATTEMPTS_DESC = "-executionAttempts"; + const FINISH_TIME_DESC = "-finishTime"; + const LOCK_VERSION_DESC = "-lockVersion"; + const PRIORITY_DESC = "-priority"; + const QUEUE_TIME_DESC = "-queueTime"; + const STATUS_DESC = "-status"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBatchJobType extends KalturaEnumBase +{ + const CONVERT = "0"; + const CONVERT_CAPTION_ASSET = "caption.convertcaptionasset"; + const PARSE_MULTI_LANGUAGE_CAPTION_ASSET = "caption.parsemultilanguagecaptionasset"; + const PARSE_CAPTION_ASSET = "captionSearch.parseCaptionAsset"; + const DISTRIBUTION_DELETE = "contentDistribution.DistributionDelete"; + const DISTRIBUTION_DISABLE = "contentDistribution.DistributionDisable"; + const DISTRIBUTION_ENABLE = "contentDistribution.DistributionEnable"; + const DISTRIBUTION_FETCH_REPORT = "contentDistribution.DistributionFetchReport"; + const DISTRIBUTION_SUBMIT = "contentDistribution.DistributionSubmit"; + const DISTRIBUTION_SYNC = "contentDistribution.DistributionSync"; + const DISTRIBUTION_UPDATE = "contentDistribution.DistributionUpdate"; + const DROP_FOLDER_CONTENT_PROCESSOR = "dropFolder.DropFolderContentProcessor"; + const DROP_FOLDER_WATCHER = "dropFolder.DropFolderWatcher"; + const EVENT_NOTIFICATION_HANDLER = "eventNotification.EventNotificationHandler"; + const INTEGRATION = "integration.Integration"; + const ENTRY_VENDOR_TASK_CSV = "reach.EntryVendorTasksCsv"; + const SYNC_REACH_CREDIT_TASK = "reach.SyncReachCreditTask"; + const SCHEDULED_TASK = "scheduledTask.ScheduledTask"; + const INDEX_TAGS = "tagSearch.IndexTagsByPrivacyContext"; + const TAG_RESOLVE = "tagSearch.TagResolve"; + const VIRUS_SCAN = "virusScan.VirusScan"; + const WIDEVINE_REPOSITORY_SYNC = "widevine.WidevineRepositorySync"; + const IMPORT = "1"; + const DELETE = "2"; + const FLATTEN = "3"; + const BULKUPLOAD = "4"; + const DVDCREATOR = "5"; + const DOWNLOAD = "6"; + const OOCONVERT = "7"; + const CONVERT_PROFILE = "10"; + const POSTCONVERT = "11"; + const EXTRACT_MEDIA = "14"; + const MAIL = "15"; + const NOTIFICATION = "16"; + const CLEANUP = "17"; + const SCHEDULER_HELPER = "18"; + const BULKDOWNLOAD = "19"; + const DB_CLEANUP = "20"; + const PROVISION_PROVIDE = "21"; + const CONVERT_COLLECTION = "22"; + const STORAGE_EXPORT = "23"; + const PROVISION_DELETE = "24"; + const STORAGE_DELETE = "25"; + const EMAIL_INGESTION = "26"; + const METADATA_IMPORT = "27"; + const METADATA_TRANSFORM = "28"; + const FILESYNC_IMPORT = "29"; + const CAPTURE_THUMB = "30"; + const DELETE_FILE = "31"; + const INDEX = "32"; + const MOVE_CATEGORY_ENTRIES = "33"; + const COPY = "34"; + const CONCAT = "35"; + const CONVERT_LIVE_SEGMENT = "36"; + const COPY_PARTNER = "37"; + const VALIDATE_LIVE_MEDIA_SERVERS = "38"; + const SYNC_CATEGORY_PRIVACY_CONTEXT = "39"; + const LIVE_REPORT_EXPORT = "40"; + const RECALCULATE_CACHE = "41"; + const LIVE_TO_VOD = "42"; + const COPY_CAPTIONS = "43"; + const CHUNKED_ENCODE_JOB_SCHEDULER = "44"; + const SERVER_NODE_MONITOR = "45"; + const USERS_CSV = "46"; + const CLIP_CONCAT = "47"; + const COPY_CUE_POINTS = "48"; + const EXPORT_CSV = "49"; + const REPORT_EXPORT = "50"; + const LIVE_ENTRY_ARCHIVE = "51"; + const STORAGE_UPDATE = "52"; + const STORAGE_PERIODIC_EXPORT = "53"; + const STORAGE_PERIODIC_PURGE = "54"; + const STORAGE_PERIODIC_DELETE_LOCAL = "55"; + const REACH_JOB_CLEANER = "56"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadAction extends KalturaEnumBase +{ + const CANCEL = "scheduleBulkUpload.CANCEL"; + const ADD = "1"; + const UPDATE = "2"; + const DELETE = "3"; + const REPLACE = "4"; + const TRANSFORM_XSLT = "5"; + const ADD_OR_UPDATE = "6"; + const ACTIVATE = "7"; + const REJECT = "8"; + const UPDATE_STATUS = "9"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadObjectType extends KalturaEnumBase +{ + const JOB = "bulkUploadFilter.JOB"; + const SCHEDULE_EVENT = "scheduleBulkUpload.SCHEDULE_EVENT"; + const SCHEDULE_RESOURCE = "scheduleBulkUpload.SCHEDULE_RESOURCE"; + const ENTRY = "1"; + const CATEGORY = "2"; + const USER = "3"; + const CATEGORY_USER = "4"; + const CATEGORY_ENTRY = "5"; + const USER_ENTRY = "6"; + const VENDOR_CATALOG_ITEM = "7"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadOrderBy extends KalturaEnumBase +{ +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadResultStatus extends KalturaEnumBase +{ + const ERROR = "1"; + const OK = "2"; + const IN_PROGRESS = "3"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadType extends KalturaEnumBase +{ + const CSV = "bulkUploadCsv.CSV"; + const FILTER = "bulkUploadFilter.FILTER"; + const XML = "bulkUploadXml.XML"; + const DROP_FOLDER_XML = "dropFolderXmlBulkUpload.DROP_FOLDER_XML"; + const ICAL = "scheduleBulkUpload.ICAL"; + const DROP_FOLDER_ICAL = "scheduleDropFolder.DROP_FOLDER_ICAL"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryEntryAdvancedOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const CREATED_AT_DESC = "-createdAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryEntryOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const CREATED_AT_DESC = "-createdAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryIdentifierField extends KalturaEnumBase +{ + const FULL_NAME = "fullName"; + const ID = "id"; + const REFERENCE_ID = "referenceId"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const DEPTH_ASC = "+depth"; + const DIRECT_ENTRIES_COUNT_ASC = "+directEntriesCount"; + const DIRECT_SUB_CATEGORIES_COUNT_ASC = "+directSubCategoriesCount"; + const ENTRIES_COUNT_ASC = "+entriesCount"; + const FULL_NAME_ASC = "+fullName"; + const MEMBERS_COUNT_ASC = "+membersCount"; + const NAME_ASC = "+name"; + const PARTNER_SORT_VALUE_ASC = "+partnerSortValue"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const DEPTH_DESC = "-depth"; + const DIRECT_ENTRIES_COUNT_DESC = "-directEntriesCount"; + const DIRECT_SUB_CATEGORIES_COUNT_DESC = "-directSubCategoriesCount"; + const ENTRIES_COUNT_DESC = "-entriesCount"; + const FULL_NAME_DESC = "-fullName"; + const MEMBERS_COUNT_DESC = "-membersCount"; + const NAME_DESC = "-name"; + const PARTNER_SORT_VALUE_DESC = "-partnerSortValue"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryUserOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCloneComponentSelectorType extends KalturaEnumBase +{ + const INCLUDE_COMPONENT = "0"; + const EXCLUDE_COMPONENT = "1"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConditionType extends KalturaEnumBase +{ + const EVENT_NOTIFICATION_FIELD = "eventNotification.BooleanField"; + const EVENT_NOTIFICATION_OBJECT_CHANGED = "eventNotification.ObjectChanged"; + const METADATA_FIELD_CHANGED = "metadata.FieldChanged"; + const METADATA_FIELD_COMPARE = "metadata.FieldCompare"; + const METADATA_FIELD_MATCH = "metadata.FieldMatch"; + const EVENT_CATEGORY_ENTRY = "reach.CategoryEntry"; + const AUTHENTICATED = "1"; + const COUNTRY = "2"; + const IP_ADDRESS = "3"; + const SITE = "4"; + const USER_AGENT = "5"; + const FIELD_MATCH = "6"; + const FIELD_COMPARE = "7"; + const ASSET_PROPERTIES_COMPARE = "8"; + const USER_ROLE = "9"; + const GEO_DISTANCE = "10"; + const OR_OPERATOR = "11"; + const HASH = "12"; + const DELIVERY_PROFILE = "13"; + const ACTIVE_EDGE_VALIDATE = "14"; + const ANONYMOUS_IP = "15"; + const ASSET_TYPE = "16"; + const BOOLEAN = "17"; + const HTTP_HEADER = "18"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConfMapsSourceLocation extends KalturaEnumBase +{ + const FS = "FileSystem"; + const DB = "database"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaContainerFormat extends KalturaEnumBase +{ + const _3GP = "3gp"; + const APPLEHTTP = "applehttp"; + const AVI = "avi"; + const BIF = "bif"; + const BMP = "bmp"; + const COPY = "copy"; + const FLV = "flv"; + const HLS = "hls"; + const ISMA = "isma"; + const ISMV = "ismv"; + const JPG = "jpg"; + const M2TS = "m2ts"; + const M4V = "m4v"; + const MKV = "mkv"; + const MOV = "mov"; + const MP3 = "mp3"; + const MP4 = "mp4"; + const MPEG = "mpeg"; + const MPEGTS = "mpegts"; + const MXF = "mxf"; + const OGG = "ogg"; + const OGV = "ogv"; + const PDF = "pdf"; + const PNG = "png"; + const SWF = "swf"; + const WAV = "wav"; + const WEBM = "webm"; + const WMA = "wma"; + const WMV = "wmv"; + const WVM = "wvm"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaContextType extends KalturaEnumBase +{ + const PLAY = "1"; + const DOWNLOAD = "2"; + const THUMBNAIL = "3"; + const METADATA = "4"; + const EXPORT = "5"; + const SERVE = "6"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaControlPanelCommandOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConversionProfileAssetParamsOrderBy extends KalturaEnumBase +{ +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConversionProfileOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const CREATED_AT_DESC = "-createdAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConversionProfileStatus extends KalturaEnumBase +{ + const DISABLED = "1"; + const ENABLED = "2"; + const DELETED = "3"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConversionProfileType extends KalturaEnumBase +{ + const MEDIA = "1"; + const LIVE_STREAM = "2"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDataEntryCompareAttribute extends KalturaEnumBase +{ + const ACCESS_CONTROL_ID = "accessControlId"; + const CREATED_AT = "createdAt"; + const END_DATE = "endDate"; + const MODERATION_COUNT = "moderationCount"; + const MODERATION_STATUS = "moderationStatus"; + const PARTNER_ID = "partnerId"; + const PARTNER_SORT_VALUE = "partnerSortValue"; + const RANK = "rank"; + const REPLACEMENT_STATUS = "replacementStatus"; + const START_DATE = "startDate"; + const STATUS = "status"; + const TOTAL_RANK = "totalRank"; + const TYPE = "type"; + const UPDATED_AT = "updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDataEntryMatchAttribute extends KalturaEnumBase +{ + const ADMIN_TAGS = "adminTags"; + const CATEGORIES_IDS = "categoriesIds"; + const CREATOR_ID = "creatorId"; + const DESCRIPTION = "description"; + const GROUP_ID = "groupId"; + const ID = "id"; + const NAME = "name"; + const REFERENCE_ID = "referenceId"; + const REPLACED_ENTRY_ID = "replacedEntryId"; + const REPLACING_ENTRY_ID = "replacingEntryId"; + const SEARCH_TEXT = "searchText"; + const TAGS = "tags"; + const USER_ID = "userId"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDataEntryOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const END_DATE_ASC = "+endDate"; + const MODERATION_COUNT_ASC = "+moderationCount"; + const NAME_ASC = "+name"; + const PARTNER_SORT_VALUE_ASC = "+partnerSortValue"; + const RANK_ASC = "+rank"; + const RECENT_ASC = "+recent"; + const START_DATE_ASC = "+startDate"; + const TOTAL_RANK_ASC = "+totalRank"; + const UPDATED_AT_ASC = "+updatedAt"; + const WEIGHT_ASC = "+weight"; + const CREATED_AT_DESC = "-createdAt"; + const END_DATE_DESC = "-endDate"; + const MODERATION_COUNT_DESC = "-moderationCount"; + const NAME_DESC = "-name"; + const PARTNER_SORT_VALUE_DESC = "-partnerSortValue"; + const RANK_DESC = "-rank"; + const RECENT_DESC = "-recent"; + const START_DATE_DESC = "-startDate"; + const TOTAL_RANK_DESC = "-totalRank"; + const UPDATED_AT_DESC = "-updatedAt"; + const WEIGHT_DESC = "-weight"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileAkamaiAppleHttpManifestOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileAkamaiHdsOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileAkamaiHttpOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileGenericAppleHttpOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileGenericHdsOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileGenericHttpOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileGenericRtmpOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileGenericSilverLightOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileLiveAppleHttpOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileRtmpOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileType extends KalturaEnumBase +{ + const EDGE_CAST_HTTP = "edgeCast.EDGE_CAST_HTTP"; + const EDGE_CAST_RTMP = "edgeCast.EDGE_CAST_RTMP"; + const KONTIKI_HTTP = "kontiki.KONTIKI_HTTP"; + const VELOCIX_HDS = "velocix.VELOCIX_HDS"; + const VELOCIX_HLS = "velocix.VELOCIX_HLS"; + const APPLE_HTTP = "1"; + const HDS = "3"; + const HTTP = "4"; + const RTMP = "5"; + const RTSP = "6"; + const SILVER_LIGHT = "7"; + const AKAMAI_HLS_DIRECT = "10"; + const AKAMAI_HLS_MANIFEST = "11"; + const AKAMAI_HD = "12"; + const AKAMAI_HDS = "13"; + const AKAMAI_HTTP = "14"; + const AKAMAI_RTMP = "15"; + const AKAMAI_RTSP = "16"; + const AKAMAI_SS = "17"; + const GENERIC_HLS = "21"; + const GENERIC_HDS = "23"; + const GENERIC_HTTP = "24"; + const GENERIC_HLS_MANIFEST = "25"; + const GENERIC_HDS_MANIFEST = "26"; + const GENERIC_SS = "27"; + const GENERIC_RTMP = "28"; + const LEVEL3_HLS = "31"; + const LEVEL3_HTTP = "34"; + const LEVEL3_RTMP = "35"; + const LIMELIGHT_HTTP = "44"; + const LIMELIGHT_RTMP = "45"; + const LOCAL_PATH_APPLE_HTTP = "51"; + const LOCAL_PATH_HDS = "53"; + const LOCAL_PATH_HTTP = "54"; + const LOCAL_PATH_RTMP = "55"; + const VOD_PACKAGER_HLS = "61"; + const VOD_PACKAGER_HDS = "63"; + const VOD_PACKAGER_MSS = "67"; + const VOD_PACKAGER_DASH = "68"; + const VOD_PACKAGER_HLS_MANIFEST = "69"; + const LIVE_HLS = "1001"; + const LIVE_HDS = "1002"; + const LIVE_DASH = "1003"; + const LIVE_RTMP = "1005"; + const LIVE_HLS_TO_MULTICAST = "1006"; + const LIVE_PACKAGER_HLS = "1007"; + const LIVE_PACKAGER_HDS = "1008"; + const LIVE_PACKAGER_DASH = "1009"; + const LIVE_PACKAGER_MSS = "1010"; + const LIVE_AKAMAI_HDS = "1013"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryServerNodeOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const HEARTBEAT_TIME_ASC = "+heartbeatTime"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const HEARTBEAT_TIME_DESC = "-heartbeatTime"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDocumentEntryCompareAttribute extends KalturaEnumBase +{ + const ACCESS_CONTROL_ID = "accessControlId"; + const CREATED_AT = "createdAt"; + const END_DATE = "endDate"; + const MODERATION_COUNT = "moderationCount"; + const MODERATION_STATUS = "moderationStatus"; + const PARTNER_ID = "partnerId"; + const PARTNER_SORT_VALUE = "partnerSortValue"; + const RANK = "rank"; + const REPLACEMENT_STATUS = "replacementStatus"; + const START_DATE = "startDate"; + const STATUS = "status"; + const TOTAL_RANK = "totalRank"; + const TYPE = "type"; + const UPDATED_AT = "updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDocumentEntryMatchAttribute extends KalturaEnumBase +{ + const ADMIN_TAGS = "adminTags"; + const CATEGORIES_IDS = "categoriesIds"; + const CREATOR_ID = "creatorId"; + const DESCRIPTION = "description"; + const GROUP_ID = "groupId"; + const ID = "id"; + const NAME = "name"; + const REFERENCE_ID = "referenceId"; + const REPLACED_ENTRY_ID = "replacedEntryId"; + const REPLACING_ENTRY_ID = "replacingEntryId"; + const SEARCH_TEXT = "searchText"; + const TAGS = "tags"; + const USER_ID = "userId"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDrmSchemeName extends KalturaEnumBase +{ + const PLAYREADY_CENC = "drm.PLAYREADY_CENC"; + const WIDEVINE_CENC = "drm.WIDEVINE_CENC"; + const FAIRPLAY = "fairplay.FAIRPLAY"; + const PLAYREADY = "playReady.PLAYREADY"; + const WIDEVINE = "widevine.WIDEVINE"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDurationType extends KalturaEnumBase +{ + const LONG = "long"; + const MEDIUM = "medium"; + const NOT_AVAILABLE = "notavailable"; + const SHORT = "short"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaESearchLanguage extends KalturaEnumBase +{ + const ARABIC = "Arabic"; + const BASQUE = "Basque"; + const BRAZILIAN = "Brazilian"; + const BULGARIAN = "Bulgarian"; + const CATALAN = "Catalan"; + const CHINESE = "Chinese"; + const CZECH = "Czech"; + const DANISH = "Danish"; + const DUTCH = "Dutch"; + const ENGLISH = "English"; + const FINNISH = "Finnish"; + const FRENCH = "French"; + const GALICIAN = "Galician"; + const GERMAN = "German"; + const GREEK = "Greek"; + const HINDI = "Hindi"; + const HUNGRIAN = "Hungarian"; + const INDONESIAN = "Indonesian"; + const ITALIAN = "Italian"; + const JAPANESE = "Japanese"; + const KOREAN = "Korean"; + const LATVIAN = "Latvian"; + const LITHUANIAN = "Lithuanian"; + const NORWEGIAN = "Norwegian"; + const PERSIAN = "Persian"; + const PORTUGUESE = "Prtuguese"; + const ROMANIAN = "Romanian"; + const RUSSIAN = "Russian"; + const SORANI = "Sorani"; + const SPANISH = "Spanish"; + const SWEDISH = "Swedish"; + const THAI = "Thai"; + const TURKISH = "Turkish"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEdgeServerNodeOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const HEARTBEAT_TIME_ASC = "+heartbeatTime"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const HEARTBEAT_TIME_DESC = "-heartbeatTime"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryApplication extends KalturaEnumBase +{ + const KMC = "0"; + const KMS = "1"; + const KAF = "2"; + const PITCH = "3"; + const KMS_GO = "4"; + const WEBCAST_APP = "5"; + const PERSONAL_CAPTURE = "6"; + const KALTURA_MEETING = "7"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryIdentifierField extends KalturaEnumBase +{ + const ID = "id"; + const REFERENCE_ID = "referenceId"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryReplacementStatus extends KalturaEnumBase +{ + const NONE = "0"; + const APPROVED_BUT_NOT_READY = "1"; + const READY_BUT_NOT_APPROVED = "2"; + const NOT_READY_AND_NOT_APPROVED = "3"; + const FAILED = "4"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryServerNodeOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryServerNodeType extends KalturaEnumBase +{ + const LIVE_PRIMARY = "0"; + const LIVE_BACKUP = "1"; + const LIVE_CLIPPING_TASK = "2"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryStatus extends KalturaEnumBase +{ + const ERROR_IMPORTING = "-2"; + const ERROR_CONVERTING = "-1"; + const IMPORT = "0"; + const INFECTED = "virusScan.Infected"; + const SCAN_FAILURE = "virusScan.ScanFailure"; + const PRECONVERT = "1"; + const READY = "2"; + const DELETED = "3"; + const PENDING = "4"; + const MODERATE = "5"; + const BLOCKED = "6"; + const NO_CONTENT = "7"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryType extends KalturaEnumBase +{ + const AUTOMATIC = "-1"; + const CONFERENCE_ENTRY_SERVER = "conference.CONFERENCE_ENTRY_SERVER"; + const EXTERNAL_MEDIA = "externalMedia.externalMedia"; + const SIP_ENTRY_SERVER = "sip.SIP_ENTRY_SERVER"; + const MEDIA_CLIP = "1"; + const MIX = "2"; + const PLAYLIST = "5"; + const DATA = "6"; + const LIVE_STREAM = "7"; + const LIVE_CHANNEL = "8"; + const DOCUMENT = "10"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaExternalMediaEntryCompareAttribute extends KalturaEnumBase +{ + const ACCESS_CONTROL_ID = "accessControlId"; + const CREATED_AT = "createdAt"; + const END_DATE = "endDate"; + const LAST_PLAYED_AT = "lastPlayedAt"; + const MEDIA_DATE = "mediaDate"; + const MEDIA_TYPE = "mediaType"; + const MODERATION_COUNT = "moderationCount"; + const MODERATION_STATUS = "moderationStatus"; + const MS_DURATION = "msDuration"; + const PARTNER_ID = "partnerId"; + const PARTNER_SORT_VALUE = "partnerSortValue"; + const PLAYS = "plays"; + const RANK = "rank"; + const REPLACEMENT_STATUS = "replacementStatus"; + const START_DATE = "startDate"; + const STATUS = "status"; + const TOTAL_RANK = "totalRank"; + const TYPE = "type"; + const UPDATED_AT = "updatedAt"; + const VIEWS = "views"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaExternalMediaEntryMatchAttribute extends KalturaEnumBase +{ + const ADMIN_TAGS = "adminTags"; + const CATEGORIES_IDS = "categoriesIds"; + const CREATOR_ID = "creatorId"; + const DESCRIPTION = "description"; + const DURATION_TYPE = "durationType"; + const FLAVOR_PARAMS_IDS = "flavorParamsIds"; + const GROUP_ID = "groupId"; + const ID = "id"; + const NAME = "name"; + const REFERENCE_ID = "referenceId"; + const REPLACED_ENTRY_ID = "replacedEntryId"; + const REPLACING_ENTRY_ID = "replacingEntryId"; + const SEARCH_TEXT = "searchText"; + const TAGS = "tags"; + const USER_ID = "userId"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFileAssetObjectType extends KalturaEnumBase +{ + const UI_CONF = "2"; + const ENTRY = "3"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFileAssetOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFileAssetStatus extends KalturaEnumBase +{ + const PENDING = "0"; + const UPLOADING = "1"; + const READY = "2"; + const DELETED = "3"; + const ERROR = "4"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFileSyncObjectType extends KalturaEnumBase +{ + const DISTRIBUTION_PROFILE = "contentDistribution.DistributionProfile"; + const ENTRY_DISTRIBUTION = "contentDistribution.EntryDistribution"; + const GENERIC_DISTRIBUTION_ACTION = "contentDistribution.GenericDistributionAction"; + const EMAIL_NOTIFICATION_TEMPLATE = "emailNotification.EmailNotificationTemplate"; + const HTTP_NOTIFICATION_TEMPLATE = "httpNotification.HttpNotificationTemplate"; + const ENTRY = "1"; + const UICONF = "2"; + const BATCHJOB = "3"; + const ASSET = "4"; + const FLAVOR_ASSET = "4"; + const METADATA = "5"; + const METADATA_PROFILE = "6"; + const SYNDICATION_FEED = "7"; + const CONVERSION_PROFILE = "8"; + const FILE_ASSET = "9"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFlavorAssetOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const DELETED_AT_ASC = "+deletedAt"; + const SIZE_ASC = "+size"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const DELETED_AT_DESC = "-deletedAt"; + const SIZE_DESC = "-size"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFlavorParamsOrderBy extends KalturaEnumBase +{ +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFlavorParamsOutputOrderBy extends KalturaEnumBase +{ +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGenericSyndicationFeedOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const NAME_ASC = "+name"; + const PLAYLIST_ID_ASC = "+playlistId"; + const TYPE_ASC = "+type"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const NAME_DESC = "-name"; + const PLAYLIST_ID_DESC = "-playlistId"; + const TYPE_DESC = "-type"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGenericXsltSyndicationFeedOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const NAME_ASC = "+name"; + const PLAYLIST_ID_ASC = "+playlistId"; + const TYPE_ASC = "+type"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const NAME_DESC = "-name"; + const PLAYLIST_ID_DESC = "-playlistId"; + const TYPE_DESC = "-type"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGeoCoderType extends KalturaEnumBase +{ + const KALTURA = "1"; + const MAX_MIND = "2"; + const DIGITAL_ELEMENT = "3"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGoogleSyndicationFeedAdultValues extends KalturaEnumBase +{ + const NO = "No"; + const YES = "Yes"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGoogleVideoSyndicationFeedOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const NAME_ASC = "+name"; + const PLAYLIST_ID_ASC = "+playlistId"; + const TYPE_ASC = "+type"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const NAME_DESC = "-name"; + const PLAYLIST_ID_DESC = "-playlistId"; + const TYPE_DESC = "-type"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGroupUserOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaITunesSyndicationFeedAdultValues extends KalturaEnumBase +{ + const CLEAN = "clean"; + const NO = "no"; + const YES = "yes"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaITunesSyndicationFeedCategories extends KalturaEnumBase +{ + const ARTS = "Arts"; + const ARTS_DESIGN = "Arts/Design"; + const ARTS_FASHION_BEAUTY = "Arts/Fashion & Beauty"; + const ARTS_FOOD = "Arts/Food"; + const ARTS_LITERATURE = "Arts/Literature"; + const ARTS_PERFORMING_ARTS = "Arts/Performing Arts"; + const ARTS_VISUAL_ARTS = "Arts/Visual Arts"; + const BUSINESS = "Business"; + const BUSINESS_BUSINESS_NEWS = "Business/Business News"; + const BUSINESS_CAREERS = "Business/Careers"; + const BUSINESS_INVESTING = "Business/Investing"; + const BUSINESS_MANAGEMENT_MARKETING = "Business/Management & Marketing"; + const BUSINESS_SHOPPING = "Business/Shopping"; + const COMEDY = "Comedy"; + const EDUCATION = "Education"; + const EDUCATION_TECHNOLOGY = "Education/Education Technology"; + const EDUCATION_HIGHER_EDUCATION = "Education/Higher Education"; + const EDUCATION_K_12 = "Education/K-12"; + const EDUCATION_LANGUAGE_COURSES = "Education/Language Courses"; + const EDUCATION_TRAINING = "Education/Training"; + const GAMES_HOBBIES = "Games & Hobbies"; + const GAMES_HOBBIES_AUTOMOTIVE = "Games & Hobbies/Automotive"; + const GAMES_HOBBIES_AVIATION = "Games & Hobbies/Aviation"; + const GAMES_HOBBIES_HOBBIES = "Games & Hobbies/Hobbies"; + const GAMES_HOBBIES_OTHER_GAMES = "Games & Hobbies/Other Games"; + const GAMES_HOBBIES_VIDEO_GAMES = "Games & Hobbies/Video Games"; + const GOVERNMENT_ORGANIZATIONS = "Government & Organizations"; + const GOVERNMENT_ORGANIZATIONS_LOCAL = "Government & Organizations/Local"; + const GOVERNMENT_ORGANIZATIONS_NATIONAL = "Government & Organizations/National"; + const GOVERNMENT_ORGANIZATIONS_NON_PROFIT = "Government & Organizations/Non-Profit"; + const GOVERNMENT_ORGANIZATIONS_REGIONAL = "Government & Organizations/Regional"; + const HEALTH = "Health"; + const HEALTH_ALTERNATIVE_HEALTH = "Health/Alternative Health"; + const HEALTH_FITNESS_NUTRITION = "Health/Fitness & Nutrition"; + const HEALTH_SELF_HELP = "Health/Self-Help"; + const HEALTH_SEXUALITY = "Health/Sexuality"; + const KIDS_FAMILY = "Kids & Family"; + const MUSIC = "Music"; + const NEWS_POLITICS = "News & Politics"; + const RELIGION_SPIRITUALITY = "Religion & Spirituality"; + const RELIGION_SPIRITUALITY_BUDDHISM = "Religion & Spirituality/Buddhism"; + const RELIGION_SPIRITUALITY_CHRISTIANITY = "Religion & Spirituality/Christianity"; + const RELIGION_SPIRITUALITY_HINDUISM = "Religion & Spirituality/Hinduism"; + const RELIGION_SPIRITUALITY_ISLAM = "Religion & Spirituality/Islam"; + const RELIGION_SPIRITUALITY_JUDAISM = "Religion & Spirituality/Judaism"; + const RELIGION_SPIRITUALITY_OTHER = "Religion & Spirituality/Other"; + const RELIGION_SPIRITUALITY_SPIRITUALITY = "Religion & Spirituality/Spirituality"; + const SCIENCE_MEDICINE = "Science & Medicine"; + const SCIENCE_MEDICINE_MEDICINE = "Science & Medicine/Medicine"; + const SCIENCE_MEDICINE_NATURAL_SCIENCES = "Science & Medicine/Natural Sciences"; + const SCIENCE_MEDICINE_SOCIAL_SCIENCES = "Science & Medicine/Social Sciences"; + const SOCIETY_CULTURE = "Society & Culture"; + const SOCIETY_CULTURE_HISTORY = "Society & Culture/History"; + const SOCIETY_CULTURE_PERSONAL_JOURNALS = "Society & Culture/Personal Journals"; + const SOCIETY_CULTURE_PHILOSOPHY = "Society & Culture/Philosophy"; + const SOCIETY_CULTURE_PLACES_TRAVEL = "Society & Culture/Places & Travel"; + const SPORTS_RECREATION = "Sports & Recreation"; + const SPORTS_RECREATION_AMATEUR = "Sports & Recreation/Amateur"; + const SPORTS_RECREATION_COLLEGE_HIGH_SCHOOL = "Sports & Recreation/College & High School"; + const SPORTS_RECREATION_OUTDOOR = "Sports & Recreation/Outdoor"; + const SPORTS_RECREATION_PROFESSIONAL = "Sports & Recreation/Professional"; + const TV_FILM = "TV & Film"; + const TECHNOLOGY = "Technology"; + const TECHNOLOGY_GADGETS = "Technology/Gadgets"; + const TECHNOLOGY_PODCASTING = "Technology/Podcasting"; + const TECHNOLOGY_SOFTWARE_HOW_TO = "Technology/Software How-To"; + const TECHNOLOGY_TECH_NEWS = "Technology/Tech News"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaITunesSyndicationFeedOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const NAME_ASC = "+name"; + const PLAYLIST_ID_ASC = "+playlistId"; + const TYPE_ASC = "+type"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const NAME_DESC = "-name"; + const PLAYLIST_ID_DESC = "-playlistId"; + const TYPE_DESC = "-type"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLanguage extends KalturaEnumBase +{ + const ABQ = "Abaza"; + const AB = "Abkhazian"; + const ABE = "Abnaki Western"; + const ABU = "Abure"; + const ACN = "Achang"; + const ACE = "Achinese"; + const ACT = "Achterhooks"; + const ACV = "Achumawi"; + const ADJ = "Adioukrou"; + const ADY = "Adyghe; Adygei"; + const ADT = "Adynyamathanha"; + const AAL = "Afade"; + const AA = "Afar"; + const AF = "Afrikaans"; + const AGQ = "Aghem"; + const AGX = "Aghul"; + const AGU = "Aguacateco"; + const AGR = "Aguaruna"; + const AIN = "Ainu (Japan)"; + const AKK = "Akkadian"; + const AKL = "Aklanon"; + const AKU = "Akum"; + const AKZ = "Alabama"; + const SQ = "Albanian"; + const ALN = "Albanian (Gheg)"; + const ALS = "Albanian (Tosk)"; + const ALE = "Aleut"; + const ALG = "Algonquian languages"; + const ALQ = "Algonquin"; + const ALT = "Altai (Southern)"; + const AM = "Amharic"; + const RME = "Angloromani"; + const APJ = "Apache (Jicarilla)"; + const APW = "Apache (Western)"; + const AR = "Arabic"; + const ARB = "Arabic (standard)"; + const B_T = "Arabic Tunisian Spoken"; + const ARC = "Aramaic"; + const SAM = "Aramaic Samaritan"; + const ARP = "Arapaho"; + const ARN = "Araucanian"; + const ARI = "Arikara"; + const HY = "Armenian"; + const RUP = "Aromanian"; + const AS_ = "Assamese"; + const ASB = "Assiniboine"; + const AII = "Assyrian Neo-Aramaic"; + const AST = "Asturian"; + const ATH = "Athapascan languages"; + const ATJ = "Atikamekw"; + const AWA = "Awadhi"; + const AY = "Aymara"; + const AZ = "Azerbaijani"; + const BCR = "Babine"; + const BFQ = "Badaga"; + const BDJ = "Bai"; + const BAN = "Balinese"; + const BCC = "Balochi Southern"; + const BFT = "Balti"; + const BAL = "Baluchi"; + const BAS = "Basa (Cameroon)"; + const BA = "Bashkir"; + const EU = "Basque"; + const BAR = "Bavarian"; + const BEA = "Beaver"; + const BEJ = "Beja"; + const BEM = "Bemba (Zambia)"; + const BN = "Bengali (Bangla)"; + const BEW = "Betawi"; + const KAP = "Bezhta"; + const BHB = "Bhili"; + const BHO = "Bhojpuri"; + const DZ = "Bhutani"; + const BH = "Bihari"; + const BIK = "Bikol"; + const BIN = "Bini"; + const BPY = "Bishnupriya Manipuri"; + const BI = "Bislama"; + const BR = "Breton"; + const BUG = "Buginese"; + const BG = "Bulgarian"; + const BUA = "Buriat"; + const MY = "Burmese"; + const BE = "Byelorussian (Belarusian)"; + const CAD = "Caddo"; + const KM = "Cambodian"; + const YUE = "Cantonese"; + const CRX = "Carrier"; + const CAF = "Carrier Southern"; + const CA = "Catalan"; + const CHC = "Catawba"; + const CAY = "Cayuga"; + const CEB = "Cebuano"; + const CHG = "Chagatai"; + const CLD = "Chaldean Neo-Aramaic"; + const CHR = "Cherokee"; + const CHY = "Cheyenne"; + const CIC = "Chickasaw"; + const CLC = "Chilcotin"; + const ZH = "Chinese"; + const CHN = "Chinook jargon"; + const CHP = "Chipewyan"; + const CIW = "Chippewa"; + const CHO = "Choctaw"; + const CAA = "Chor"; + const CKT = "Chukot"; + const CIM = "Cimbrian"; + const CLM = "Clallam Klallam"; + const COJ = "Cochimi"; + const COC = "Cocopa"; + const KSH = "Colognian"; + const COM = "Comanche"; + const SWB = "Comorian"; + const COO = "Comox"; + const COP = "Coptic"; + const CO = "Corsican"; + const CR = "Cree"; + const MUS = "Creek"; + const CRH = "Crimean Tatar"; + const HR = "Croatian"; + const CUP = "Cupeo"; + const CS = "Czech"; + const DAK = "Dakota"; + const DA = "Danish"; + const DAR = "Dargwa"; + const PRD = "Dari (Persian)"; + const GBZ = "Dari Zoroastrian"; + const DHV = "Dehu"; + const DEL = "Delaware"; + const DIN = "Dinka"; + const DOI = "Dogri (generic)"; + const DGR = "Dogrib"; + const DLG = "Dolgan"; + const DOH = "Dong"; + const DUA = "Duala"; + const DNG = "Dungan"; + const NL = "Dutch"; + const DYU = "Dyula"; + const EEE = "E"; + const EGL = "Emilian"; + const EN = "English"; + const EN_US = "English (American)"; + const EN_GB = "English (British)"; + const ENM = "English Middle (1100-1500)"; + const MYV = "Erzya"; + const EO = "Esperanto"; + const ET = "Estonian"; + const EVE = "Even"; + const EVN = "Evenki"; + const FO = "Faeroese"; + const FAX = "Fala"; + const FAN = "Fang (Equatorial Guinea)"; + const FA = "Farsi"; + const FJ = "Fiji"; + const FIL = "Filipino"; + const FI = "Finnish"; + const FIT = "Finnish (Tornedalen)"; + const FON = "Fon"; + const FRP = "Franco-Prove"; + const FRK = "Frankish"; + const FR = "French"; + const FR_CA = "French (Canada)"; + const FY = "Frisian"; + const FRR = "Frisian Northern"; + const FUR = "Friulian"; + const FVR = "Fur"; + const GAA = "Ga"; + const GV = "Gaelic (Manx)"; + const GD = "Gaelic (Scottish)"; + const GAG = "Gagauz"; + const GL = "Galician"; + const GAN = "Gan"; + const GEZ = "Geez"; + const KA = "Georgian"; + const DE = "German"; + const GEH = "German Hutterite"; + const PDC = "German Pennsylvania"; + const GIL = "Gilbertese"; + const NIV = "Gilyak Nivkh"; + const GIT = "Gitxsan"; + const EL = "Greek"; + const GRC = "Greek Ancient (to 1453)"; + const KL = "Greenlandic"; + const GN = "Guarani"; + const GU = "Gujarati"; + const GWI = "Gwichin"; + const HAI = "Haida"; + const HNN = "Hainanese"; + const HAS = "Haisla"; + const HAK = "Hakka"; + const HUR = "Halkomelem"; + const HAA = "Han"; + const HNI = "Hani"; + const HA = "Hausa"; + const HAW = "Hawaiian"; + const IW = "Hebrew"; + const HE = "Hebrew"; + const HEI = "Heiltsuk"; + const HID = "Hidatsa"; + const HIL = "Hiligaynon"; + const HI = "Hindi"; + const HMN = "Hmong"; + const HKK = "Hokkien"; + const HOP = "Hopi"; + const CZH = "Huizhou Chinese"; + const HU = "Hungarian"; + const IS = "Icelandic"; + const KPO = "Ikposo"; + const ILO = "Iloko"; + const SMN = "Inari Sami"; + const IN = "Indonesian"; + const ID = "Indonesian"; + const IZH = "Ingrian"; + const INH = "Ingush"; + const IA = "Interlingua"; + const IE = "Interlingue"; + const IKT = "Inuinnaqtun"; + const IU = "Inuktitut"; + const IK = "Inupiak"; + const GA = "Irish"; + const IRO = "Iroquoian languages"; + const IT = "Italian"; + const ITL = "Itelmen"; + const JA = "Japanese"; + const JV = "Javanese"; + const CJY = "Jinyu Chinese"; + const KAJ = "Jju"; + const JCT = "Judeo-Crimean Tatar"; + const JGE = "Judeo-Georgian"; + const JUT = "Jutish"; + const KBD = "Kabardian"; + const KEA = "Kabuverdianu"; + const KAB = "Kabyle"; + const KFR = "Kachchi"; + const KJV = "Kaikavian literary language (Kajkavian)"; + const XAL = "Kalmyk Oirat"; + const KN = "Kannada"; + const KSK = "Kansa"; + const KRC = "Karachay-Balkar"; + const KIM = "Karagas"; + const KDR = "Karaim"; + const KAA = "Karakalpak"; + const KRL = "Karelian"; + const KS = "Kashmiri"; + const CSB = "Kashubian"; + const KKZ = "Kaska"; + const KAW = "Kawi"; + const KK = "Kazakh"; + const KJH = "Khakas"; + const KLJ = "Khalaj Turkic"; + const KCA = "Khanty"; + const KHA = "Khasi"; + const KXM = "Khmer Northern"; + const KIC = "Kickapoo"; + const RW = "Kinyarwanda (Ruanda)"; + const KIO = "Kiowa"; + const KY = "Kirghiz"; + const RN = "Kirundi (Rundi)"; + const TLH = "Klingon tlhIngan-Hol"; + const KFA = "Kodava"; + const KOI = "Komi-Permyak"; + const KOK = "Konkani (generic)"; + const KNN = "Konkani (specific)"; + const GOM = "Konkani Goan"; + const KO = "Korean"; + const KPY = "Koryak"; + const KOS = "Kosraean"; + const AVK = "Kotava"; + const KPE = "Kpelle"; + const DIH = "Kumiai"; + const KUM = "Kumyk"; + const KU = "Kurdish"; + const KUT = "Kutenai"; + const KWK = "Kwakiutl"; + const GDM = "Laal"; + const LLD = "Ladin"; + const LAD = "Ladino"; + const LAH = "Lahnda"; + const LHU = "Lahu"; + const LBE = "Lak"; + const LKI = "Laki"; + const LKT = "Lakota"; + const LO = "Laothian"; + const LA = "Latin"; + const LV = "Latvian (Lettish)"; + const LZZ = "Laz"; + const LEZ = "Lezghian"; + const LIJ = "Ligurian"; + const LIL = "Lillooet"; + const LIF = "Limbu"; + const LI = "Limburgish ( Limburger)"; + const LN = "Lingala"; + const LT = "Lithuanian"; + const JBO = "Lojban"; + const LOM = "Loma (Liberia)"; + const LMO = "Lombard"; + const NDS = "Low German Low Saxon"; + const LOZ = "Lozi"; + const LUA = "Luba-Lulua"; + const LUQ = "Lucumi"; + const LUD = "Ludian"; + const SMJ = "Lule Sami"; + const LUN = "Lunda"; + const LUO = "Luo (Kenya and Tanzania)"; + const LUT = "Lushootseed"; + const LB = "Luxembourgish (Letzeburgesch)"; + const MK = "Macedonian"; + const MAD = "Madurese"; + const MAG = "Magahi"; + const MAI = "Maithili"; + const MG = "Malagasy"; + const MS = "Malay"; + const ML = "Malayalam"; + const PQM = "Malecite-Passamaquoddy"; + const MT = "Maltese"; + const MNC = "Manchu"; + const MID = "Mandaic"; + const MHQ = "Mandan"; + const CMN = "Mandarin Chinese"; + const MNS = "Mansi"; + const MI = "Maori"; + const MRW = "Maranao"; + const MR = "Marathi"; + const CHM = "Mari (Russia)"; + const MWR = "Marwari"; + const MAS = "Masai"; + const MFY = "Mayo"; + const MNI = "Meitei"; + const MEN = "Mende (Sierra Leone)"; + const MEZ = "Menominee"; + const CRG = "Michif"; + const MIC = "Micmac"; + const MNP = "Min Bei Chinese"; + const CDO = "Min Dong Chinese"; + const MIN = "Minangkabau"; + const XMF = "Mingrelian"; + const MWL = "Mirandese"; + const MOH = "Mohawk"; + const MDF = "Moksha"; + const MO = "Moldavian"; + const MNW = "Mon"; + const MN = "Mongolian"; + const MOE = "Montagnais"; + const MFE = "Morisyen"; + const MOS = "Mossi"; + const MXI = "Mozarabic"; + const MU = "Multilingual"; + const MTQ = "Muong"; + const NAQ = "Nama (Namibia)"; + const GLD = "Nanai"; + const NSK = "Naskapi"; + const NA = "Nauru"; + const NAP = "Neapolitan"; + const NE = "Nepali"; + const NEW_ = "Newari Nepal Bhasa"; + const NIO = "Nganasan"; + const NCG = "Nisgaa"; + const NIU = "Niuean"; + const ZXX = "No linguistic content"; + const NOG = "Nogai"; + const NON = "Norse Old"; + const NSO = "Northern Sotho Pedi Sepedi"; + const NO = "Norwegian"; + const NOV = "Novial"; + const NYM = "Nyamwezi"; + const NYO = "Nyoro"; + const NYS = "Nyungah"; + const OC = "Occitan"; + const OJC = "Ojibwa Central"; + const OJG = "Ojibwa Eastern"; + const OJB = "Ojibwa Northwestern"; + const OJS = "Ojibwa Severn"; + const OJW = "Ojibwa Western"; + const OJ = "Ojibwe, Ojibwa"; + const OKA = "Okanagan"; + const RYU = "Okinawan Central"; + const ANG = "Old English"; + const ONE = "Oneida"; + const ONO = "Onondaga"; + const OR_ = "Oriya"; + const OM = "Oromo (Afan, Galla)"; + const OTW = "Ottawa"; + const PPI = "Paipai"; + const PAU = "Palauan"; + const PAM = "Pampanga"; + const PAG = "Pangasinan"; + const PAP = "Papiamento"; + const PS = "Pashto (Pushto)"; + const PRP = "Persian"; + const PRS = "Persian (Dari)"; + const PFL = "Pfaelzisch"; + const PCD = "Picard"; + const PMS = "Piedmontese"; + const MYP = "Pirah"; + const PIH = "Pitcairn-Norfolk"; + const PDT = "Plautdietsch"; + const PL = "Polish"; + const PNT = "Pontic"; + const PT = "Portuguese"; + const PT_BR = "Portuguese (Brazil)"; + const POT = "Potawatomi"; + const PRG = "Prussian"; + const FUC = "Pulaar"; + const PA = "Punjabi"; + const QXQ = "Qashqai"; + const ALC = "Qawasqar"; + const QU = "Quechua"; + const QUC = "Quich Central"; + const RAP = "Rapanui"; + const RAR = "Rarotongan"; + const QTZ = "Reserved for local use."; + const RM = "Rhaeto-Romance"; + const RGN = "Romagnol"; + const RMF = "Romani Kalo Finnish"; + const RMO = "Romani Sinte"; + const RO = "Romanian"; + const RUO = "Romanian Istro"; + const RUQ = "Romanian Megleno"; + const ROM = "Romany"; + const RCF = "Runion Creole French"; + const RU = "Russian"; + const RUE = "Rusyn"; + const ACF = "Saint Lucian Creole French"; + const SAH = "Sakha"; + const SLR = "Salar"; + const STR = "Salish Straits"; + const SAL = "Salishan languages"; + const SJD = "Sami Kildin"; + const SMI = "Sami languages"; + const SM = "Samoan"; + const SG = "Sangro"; + const SA = "Sanskrit"; + const SAT = "Santali"; + const SRM = "Saramaccan"; + const SDC = "Sardinian Sassarese"; + const STQ = "Saterland Frisian"; + const SXU = "Saxon Upper"; + const SCO = "Scots"; + const SEC = "Sechelt"; + const TRV = "Seediq"; + const SEK = "Sekani"; + const SEL = "Selkup"; + const SEE = "Seneca"; + const SR = "Serbian"; + const SH = "Serbo-Croatian"; + const SEI = "Seri"; + const ST = "Sesotho"; + const TN = "Setswana"; + const SJW = "Shawnee"; + const SN = "Shona"; + const CJS = "Shor"; + const SHH = "Shoshoni"; + const SHS = "Shuswap"; + const SCN = "Sicilian"; + const SID = "Sidamo"; + const BLA = "Siksika"; + const SZL = "Silesian"; + const SD = "Sindhi"; + const SI = "Sinhalese"; + const SS = "Siswati"; + const SMS = "Skolt Sami"; + const SCS = "Slavey North"; + const XSL = "Slavey South"; + const SK = "Slovak"; + const SL = "Slovenian"; + const SO = "Somali"; + const SNK = "Soninke"; + const DSB = "Sorbian Lower"; + const HSB = "Sorbian Upper"; + const SMA = "Southern Sami"; + const TCE = "Southern Tutchone"; + const ES = "Spanish"; + const ES_XL = "Spanish (Latin America)"; + const SRN = "Sranan"; + const STO = "Stoney"; + const XSV = "Sudovian"; + const SUX = "Sumerian"; + const SU = "Sundanese"; + const SVA = "Svan"; + const SWG = "Swabian"; + const SW = "Swahili (Kiswahili)"; + const SV = "Swedish"; + const SWL = "Swedish Sign Language"; + const GSW = "Swiss German Alemannic Alsatian"; + const SYR = "Syriac"; + const TAB = "Tabassaran"; + const SHY = "Tachawit"; + const SHI = "Tachelhit"; + const TL = "Tagalog"; + const TBW = "Tagbanwa"; + const TGX = "Tagish"; + const THT = "Tahltan"; + const TDD = "Tai Na"; + const ZH_TW = "Taiwanese Mandarin"; + const TG = "Tajik"; + const TLY = "Talysh"; + const TTQ = "Tamajaq Tawallammat"; + const TAQ = "Tamasheq"; + const TZM = "Tamazight Central Atlas"; + const TA = "Tamil"; + const TAR = "Tarahumara Central"; + const TTT = "Tat Muslim"; + const TT = "Tatar"; + const TE = "Telugu"; + const TEO = "Teo Chew"; + const TET = "Tetum"; + const TH = "Thai"; + const NOD = "Thai (Northern)"; + const TTS = "Thai Northeastern"; + const THP = "Thompson"; + const BO = "Tibetan"; + const TIG = "Tigre"; + const TI = "Tigrinya"; + const TLI = "Tlingit"; + const TCX = "Toda"; + const OOD = "Tohono Oodham"; + const TPI = "Tok Pisin"; + const TO = "Tonga"; + const TOG = "Tonga (Nyasa)"; + const DDO = "Tsez"; + const TSI = "Tsimshian"; + const TS = "Tsonga"; + const TCY = "Tulu"; + const TUM = "Tumbuka"; + const MZB = "Tumzabt"; + const TPN = "Tupinamb"; + const TUV = "Turkana"; + const TR = "Turkish"; + const OTA = "Turkish Ottoman"; + const TK = "Turkmen"; + const TUS = "Tuscarora"; + const TVL = "Tuvalu"; + const TYV = "Tuvinian"; + const TW = "Twi"; + const UBY = "Ubykh"; + const UDI = "Udi"; + const UDM = "Udmurt"; + const UG = "Uighur"; + const UK = "Ukrainian"; + const UN = "Undefined"; + const UR = "Urdu"; + const UUM = "Urum"; + const UZ = "Uzbek"; + const VEC = "Venetian"; + const VEP = "Veps"; + const VI = "Vietnamese"; + const VO = "Volapuk"; + const VOR = "Voro"; + const VOT = "Votic"; + const VRO = "Vro"; + const AUC = "Waorani"; + const WAR = "Waray (Philippines)"; + const CY = "Welsh"; + const PES = "Western Farsi"; + const AMW = "Western Neo-Aramaic"; + const WIY = "Wiyot"; + const WO = "Wolof"; + const WUU = "Wu Chinese"; + const WYM = "Wymysorys"; + const XH = "Xhosa"; + const AME = "Yanesha"; + const JI = "Yiddish"; + const YI = "Yiddish"; + const YO = "Yoruba"; + const ZAI = "Zapotec Isthmus"; + const DJE = "Zarma"; + const ZU = "Zulu"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLanguageCode extends KalturaEnumBase +{ + const AA = "aa"; + const AB = "ab"; + const AF = "af"; + const ALG = "alg"; + const AM = "am"; + const AR = "ar"; + const AS_ = "as"; + const ATH = "ath"; + const AY = "ay"; + const AZ = "az"; + const BA = "ba"; + const BE = "be"; + const BG = "bg"; + const BH = "bh"; + const BI = "bi"; + const BLA = "bla"; + const BN = "bn"; + const BO = "bo"; + const BR = "br"; + const CA = "ca"; + const CO = "co"; + const CR = "cr"; + const CRG = "crg"; + const CS = "cs"; + const CY = "cy"; + const DA = "da"; + const DE = "de"; + const DZ = "dz"; + const EL = "el"; + const EN = "en"; + const EN_GB = "en_gb"; + const EN_US = "en_us"; + const EO = "eo"; + const ES = "es"; + const ES_XL = "es_xl"; + const ET = "et"; + const EU = "eu"; + const FA = "fa"; + const FI = "fi"; + const FJ = "fj"; + const FO = "fo"; + const FR = "fr"; + const FR_CA = "fr_ca"; + const FY = "fy"; + const GA = "ga"; + const GD = "gd"; + const GL = "gl"; + const GN = "gn"; + const GU = "gu"; + const GV = "gv"; + const HA = "ha"; + const HE = "he"; + const HI = "hi"; + const HR = "hr"; + const HU = "hu"; + const HY = "hy"; + const IA = "ia"; + const ID = "id"; + const IE = "ie"; + const IK = "ik"; + const IKT = "ikt"; + const IN = "in"; + const IRO = "iro"; + const IS = "is"; + const IT = "it"; + const IU = "iu"; + const IW = "iw"; + const JA = "ja"; + const JI = "ji"; + const JV = "jv"; + const KA = "ka"; + const KK = "kk"; + const KL = "kl"; + const KM = "km"; + const KN = "kn"; + const KO = "ko"; + const KS = "ks"; + const KU = "ku"; + const KY = "ky"; + const LA = "la"; + const LB = "lb"; + const LI = "li"; + const LN = "ln"; + const LO = "lo"; + const LT = "lt"; + const LV = "lv"; + const MG = "mg"; + const MI = "mi"; + const MIC = "mic"; + const MK = "mk"; + const ML = "ml"; + const MN = "mn"; + const MO = "mo"; + const MOE = "moe"; + const MR = "mr"; + const MS = "ms"; + const MT = "mt"; + const MU = "mu"; + const MY = "my"; + const NA = "na"; + const NE = "ne"; + const NL = "nl"; + const NO = "no"; + const OC = "oc"; + const OJ = "oj"; + const OJS = "ojs"; + const OJW = "ojw"; + const OKA = "oka"; + const OM = "om"; + const OR_ = "or"; + const PA = "pa"; + const PL = "pl"; + const PS = "ps"; + const PT = "pt"; + const PT_BR = "pt_br"; + const QU = "qu"; + const RM = "rm"; + const RN = "rn"; + const RO = "ro"; + const RU = "ru"; + const RW = "rw"; + const SA = "sa"; + const SAL = "sal"; + const SD = "sd"; + const SG = "sg"; + const SH = "sh"; + const SI = "si"; + const SK = "sk"; + const SL = "sl"; + const SM = "sm"; + const SMI = "smi"; + const SN = "sn"; + const SO = "so"; + const SQ = "sq"; + const SR = "sr"; + const SS = "ss"; + const ST = "st"; + const SU = "su"; + const SV = "sv"; + const SW = "sw"; + const TA = "ta"; + const TCE = "tce"; + const TE = "te"; + const TG = "tg"; + const TH = "th"; + const TI = "ti"; + const TK = "tk"; + const TL = "tl"; + const TN = "tn"; + const TO = "to"; + const TR = "tr"; + const TS = "ts"; + const TT = "tt"; + const TW = "tw"; + const UG = "ug"; + const UK = "uk"; + const UN = "un"; + const UR = "ur"; + const UZ = "uz"; + const VI = "vi"; + const VO = "vo"; + const WO = "wo"; + const XH = "xh"; + const YI = "yi"; + const YO = "yo"; + const ZH = "zh"; + const ZH_TW = "zh_tw"; + const ZU = "zu"; + const ZXX = "zxx"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveAssetOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const DELETED_AT_ASC = "+deletedAt"; + const SIZE_ASC = "+size"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const DELETED_AT_DESC = "-deletedAt"; + const SIZE_DESC = "-size"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveChannelCompareAttribute extends KalturaEnumBase +{ + const ACCESS_CONTROL_ID = "accessControlId"; + const CREATED_AT = "createdAt"; + const END_DATE = "endDate"; + const LAST_PLAYED_AT = "lastPlayedAt"; + const MEDIA_DATE = "mediaDate"; + const MEDIA_TYPE = "mediaType"; + const MODERATION_COUNT = "moderationCount"; + const MODERATION_STATUS = "moderationStatus"; + const MS_DURATION = "msDuration"; + const PARTNER_ID = "partnerId"; + const PARTNER_SORT_VALUE = "partnerSortValue"; + const PLAYS = "plays"; + const RANK = "rank"; + const REPLACEMENT_STATUS = "replacementStatus"; + const START_DATE = "startDate"; + const STATUS = "status"; + const TOTAL_RANK = "totalRank"; + const TYPE = "type"; + const UPDATED_AT = "updatedAt"; + const VIEWS = "views"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveChannelMatchAttribute extends KalturaEnumBase +{ + const ADMIN_TAGS = "adminTags"; + const CATEGORIES_IDS = "categoriesIds"; + const CREATOR_ID = "creatorId"; + const DESCRIPTION = "description"; + const DURATION_TYPE = "durationType"; + const FLAVOR_PARAMS_IDS = "flavorParamsIds"; + const GROUP_ID = "groupId"; + const ID = "id"; + const NAME = "name"; + const REFERENCE_ID = "referenceId"; + const REPLACED_ENTRY_ID = "replacedEntryId"; + const REPLACING_ENTRY_ID = "replacingEntryId"; + const SEARCH_TEXT = "searchText"; + const TAGS = "tags"; + const USER_ID = "userId"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveChannelOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const DURATION_ASC = "+duration"; + const END_DATE_ASC = "+endDate"; + const FIRST_BROADCAST_ASC = "+firstBroadcast"; + const LAST_BROADCAST_ASC = "+lastBroadcast"; + const LAST_PLAYED_AT_ASC = "+lastPlayedAt"; + const MEDIA_TYPE_ASC = "+mediaType"; + const MODERATION_COUNT_ASC = "+moderationCount"; + const NAME_ASC = "+name"; + const PARTNER_SORT_VALUE_ASC = "+partnerSortValue"; + const PLAYS_ASC = "+plays"; + const RANK_ASC = "+rank"; + const RECENT_ASC = "+recent"; + const START_DATE_ASC = "+startDate"; + const TOTAL_RANK_ASC = "+totalRank"; + const UPDATED_AT_ASC = "+updatedAt"; + const VIEWS_ASC = "+views"; + const WEIGHT_ASC = "+weight"; + const CREATED_AT_DESC = "-createdAt"; + const DURATION_DESC = "-duration"; + const END_DATE_DESC = "-endDate"; + const FIRST_BROADCAST_DESC = "-firstBroadcast"; + const LAST_BROADCAST_DESC = "-lastBroadcast"; + const LAST_PLAYED_AT_DESC = "-lastPlayedAt"; + const MEDIA_TYPE_DESC = "-mediaType"; + const MODERATION_COUNT_DESC = "-moderationCount"; + const NAME_DESC = "-name"; + const PARTNER_SORT_VALUE_DESC = "-partnerSortValue"; + const PLAYS_DESC = "-plays"; + const RANK_DESC = "-rank"; + const RECENT_DESC = "-recent"; + const START_DATE_DESC = "-startDate"; + const TOTAL_RANK_DESC = "-totalRank"; + const UPDATED_AT_DESC = "-updatedAt"; + const VIEWS_DESC = "-views"; + const WEIGHT_DESC = "-weight"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveChannelSegmentOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const START_TIME_ASC = "+startTime"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const START_TIME_DESC = "-startTime"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveChannelSegmentStatus extends KalturaEnumBase +{ + const ACTIVE = "2"; + const DELETED = "3"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveChannelSegmentTriggerType extends KalturaEnumBase +{ + const CHANNEL_RELATIVE = "1"; + const ABSOLUTE_TIME = "2"; + const SEGMENT_START_RELATIVE = "3"; + const SEGMENT_END_RELATIVE = "4"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveChannelSegmentType extends KalturaEnumBase +{ + const VIDEO_AND_AUDIO = "1"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveEntryCompareAttribute extends KalturaEnumBase +{ + const ACCESS_CONTROL_ID = "accessControlId"; + const CREATED_AT = "createdAt"; + const END_DATE = "endDate"; + const LAST_PLAYED_AT = "lastPlayedAt"; + const MEDIA_DATE = "mediaDate"; + const MEDIA_TYPE = "mediaType"; + const MODERATION_COUNT = "moderationCount"; + const MODERATION_STATUS = "moderationStatus"; + const MS_DURATION = "msDuration"; + const PARTNER_ID = "partnerId"; + const PARTNER_SORT_VALUE = "partnerSortValue"; + const PLAYS = "plays"; + const RANK = "rank"; + const REPLACEMENT_STATUS = "replacementStatus"; + const START_DATE = "startDate"; + const STATUS = "status"; + const TOTAL_RANK = "totalRank"; + const TYPE = "type"; + const UPDATED_AT = "updatedAt"; + const VIEWS = "views"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveEntryMatchAttribute extends KalturaEnumBase +{ + const ADMIN_TAGS = "adminTags"; + const CATEGORIES_IDS = "categoriesIds"; + const CREATOR_ID = "creatorId"; + const DESCRIPTION = "description"; + const DURATION_TYPE = "durationType"; + const FLAVOR_PARAMS_IDS = "flavorParamsIds"; + const GROUP_ID = "groupId"; + const ID = "id"; + const NAME = "name"; + const REFERENCE_ID = "referenceId"; + const REPLACED_ENTRY_ID = "replacedEntryId"; + const REPLACING_ENTRY_ID = "replacingEntryId"; + const SEARCH_TEXT = "searchText"; + const TAGS = "tags"; + const USER_ID = "userId"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveEntryOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const DURATION_ASC = "+duration"; + const END_DATE_ASC = "+endDate"; + const FIRST_BROADCAST_ASC = "+firstBroadcast"; + const LAST_BROADCAST_ASC = "+lastBroadcast"; + const LAST_PLAYED_AT_ASC = "+lastPlayedAt"; + const MEDIA_TYPE_ASC = "+mediaType"; + const MODERATION_COUNT_ASC = "+moderationCount"; + const NAME_ASC = "+name"; + const PARTNER_SORT_VALUE_ASC = "+partnerSortValue"; + const PLAYS_ASC = "+plays"; + const RANK_ASC = "+rank"; + const RECENT_ASC = "+recent"; + const START_DATE_ASC = "+startDate"; + const TOTAL_RANK_ASC = "+totalRank"; + const UPDATED_AT_ASC = "+updatedAt"; + const VIEWS_ASC = "+views"; + const WEIGHT_ASC = "+weight"; + const CREATED_AT_DESC = "-createdAt"; + const DURATION_DESC = "-duration"; + const END_DATE_DESC = "-endDate"; + const FIRST_BROADCAST_DESC = "-firstBroadcast"; + const LAST_BROADCAST_DESC = "-lastBroadcast"; + const LAST_PLAYED_AT_DESC = "-lastPlayedAt"; + const MEDIA_TYPE_DESC = "-mediaType"; + const MODERATION_COUNT_DESC = "-moderationCount"; + const NAME_DESC = "-name"; + const PARTNER_SORT_VALUE_DESC = "-partnerSortValue"; + const PLAYS_DESC = "-plays"; + const RANK_DESC = "-rank"; + const RECENT_DESC = "-recent"; + const START_DATE_DESC = "-startDate"; + const TOTAL_RANK_DESC = "-totalRank"; + const UPDATED_AT_DESC = "-updatedAt"; + const VIEWS_DESC = "-views"; + const WEIGHT_DESC = "-weight"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveParamsOrderBy extends KalturaEnumBase +{ +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveReportOrderBy extends KalturaEnumBase +{ + const NAME_ASC = "+name"; + const AUDIENCE_DESC = "-audience"; + const EVENT_TIME_DESC = "-eventTime"; + const PLAYS_DESC = "-plays"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveReportType extends KalturaEnumBase +{ + const ENTRY_GEO_TIME_LINE = "ENTRY_GEO_TIME_LINE"; + const ENTRY_SYNDICATION_TOTAL = "ENTRY_SYNDICATION_TOTAL"; + const ENTRY_TIME_LINE = "ENTRY_TIME_LINE"; + const ENTRY_TOTAL = "ENTRY_TOTAL"; + const PARTNER_TOTAL = "PARTNER_TOTAL"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamAdminEntryCompareAttribute extends KalturaEnumBase +{ + const ACCESS_CONTROL_ID = "accessControlId"; + const CREATED_AT = "createdAt"; + const END_DATE = "endDate"; + const LAST_PLAYED_AT = "lastPlayedAt"; + const MEDIA_DATE = "mediaDate"; + const MEDIA_TYPE = "mediaType"; + const MODERATION_COUNT = "moderationCount"; + const MODERATION_STATUS = "moderationStatus"; + const MS_DURATION = "msDuration"; + const PARTNER_ID = "partnerId"; + const PARTNER_SORT_VALUE = "partnerSortValue"; + const PLAYS = "plays"; + const RANK = "rank"; + const REPLACEMENT_STATUS = "replacementStatus"; + const START_DATE = "startDate"; + const STATUS = "status"; + const TOTAL_RANK = "totalRank"; + const TYPE = "type"; + const UPDATED_AT = "updatedAt"; + const VIEWS = "views"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamAdminEntryMatchAttribute extends KalturaEnumBase +{ + const ADMIN_TAGS = "adminTags"; + const CATEGORIES_IDS = "categoriesIds"; + const CREATOR_ID = "creatorId"; + const DESCRIPTION = "description"; + const DURATION_TYPE = "durationType"; + const FLAVOR_PARAMS_IDS = "flavorParamsIds"; + const GROUP_ID = "groupId"; + const ID = "id"; + const NAME = "name"; + const REFERENCE_ID = "referenceId"; + const REPLACED_ENTRY_ID = "replacedEntryId"; + const REPLACING_ENTRY_ID = "replacingEntryId"; + const SEARCH_TEXT = "searchText"; + const TAGS = "tags"; + const USER_ID = "userId"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamAdminEntryOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const DURATION_ASC = "+duration"; + const END_DATE_ASC = "+endDate"; + const FIRST_BROADCAST_ASC = "+firstBroadcast"; + const LAST_BROADCAST_ASC = "+lastBroadcast"; + const LAST_PLAYED_AT_ASC = "+lastPlayedAt"; + const MEDIA_TYPE_ASC = "+mediaType"; + const MODERATION_COUNT_ASC = "+moderationCount"; + const NAME_ASC = "+name"; + const PARTNER_SORT_VALUE_ASC = "+partnerSortValue"; + const PLAYS_ASC = "+plays"; + const RANK_ASC = "+rank"; + const RECENT_ASC = "+recent"; + const START_DATE_ASC = "+startDate"; + const TOTAL_RANK_ASC = "+totalRank"; + const UPDATED_AT_ASC = "+updatedAt"; + const VIEWS_ASC = "+views"; + const WEIGHT_ASC = "+weight"; + const CREATED_AT_DESC = "-createdAt"; + const DURATION_DESC = "-duration"; + const END_DATE_DESC = "-endDate"; + const FIRST_BROADCAST_DESC = "-firstBroadcast"; + const LAST_BROADCAST_DESC = "-lastBroadcast"; + const LAST_PLAYED_AT_DESC = "-lastPlayedAt"; + const MEDIA_TYPE_DESC = "-mediaType"; + const MODERATION_COUNT_DESC = "-moderationCount"; + const NAME_DESC = "-name"; + const PARTNER_SORT_VALUE_DESC = "-partnerSortValue"; + const PLAYS_DESC = "-plays"; + const RANK_DESC = "-rank"; + const RECENT_DESC = "-recent"; + const START_DATE_DESC = "-startDate"; + const TOTAL_RANK_DESC = "-totalRank"; + const UPDATED_AT_DESC = "-updatedAt"; + const VIEWS_DESC = "-views"; + const WEIGHT_DESC = "-weight"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamEntryCompareAttribute extends KalturaEnumBase +{ + const ACCESS_CONTROL_ID = "accessControlId"; + const CREATED_AT = "createdAt"; + const END_DATE = "endDate"; + const LAST_PLAYED_AT = "lastPlayedAt"; + const MEDIA_DATE = "mediaDate"; + const MEDIA_TYPE = "mediaType"; + const MODERATION_COUNT = "moderationCount"; + const MODERATION_STATUS = "moderationStatus"; + const MS_DURATION = "msDuration"; + const PARTNER_ID = "partnerId"; + const PARTNER_SORT_VALUE = "partnerSortValue"; + const PLAYS = "plays"; + const RANK = "rank"; + const REPLACEMENT_STATUS = "replacementStatus"; + const START_DATE = "startDate"; + const STATUS = "status"; + const TOTAL_RANK = "totalRank"; + const TYPE = "type"; + const UPDATED_AT = "updatedAt"; + const VIEWS = "views"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamEntryMatchAttribute extends KalturaEnumBase +{ + const ADMIN_TAGS = "adminTags"; + const CATEGORIES_IDS = "categoriesIds"; + const CREATOR_ID = "creatorId"; + const DESCRIPTION = "description"; + const DURATION_TYPE = "durationType"; + const FLAVOR_PARAMS_IDS = "flavorParamsIds"; + const GROUP_ID = "groupId"; + const ID = "id"; + const NAME = "name"; + const REFERENCE_ID = "referenceId"; + const REPLACED_ENTRY_ID = "replacedEntryId"; + const REPLACING_ENTRY_ID = "replacingEntryId"; + const SEARCH_TEXT = "searchText"; + const TAGS = "tags"; + const USER_ID = "userId"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamEntryOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const DURATION_ASC = "+duration"; + const END_DATE_ASC = "+endDate"; + const FIRST_BROADCAST_ASC = "+firstBroadcast"; + const LAST_BROADCAST_ASC = "+lastBroadcast"; + const LAST_PLAYED_AT_ASC = "+lastPlayedAt"; + const MEDIA_TYPE_ASC = "+mediaType"; + const MODERATION_COUNT_ASC = "+moderationCount"; + const NAME_ASC = "+name"; + const PARTNER_SORT_VALUE_ASC = "+partnerSortValue"; + const PLAYS_ASC = "+plays"; + const RANK_ASC = "+rank"; + const RECENT_ASC = "+recent"; + const START_DATE_ASC = "+startDate"; + const TOTAL_RANK_ASC = "+totalRank"; + const UPDATED_AT_ASC = "+updatedAt"; + const VIEWS_ASC = "+views"; + const WEIGHT_ASC = "+weight"; + const CREATED_AT_DESC = "-createdAt"; + const DURATION_DESC = "-duration"; + const END_DATE_DESC = "-endDate"; + const FIRST_BROADCAST_DESC = "-firstBroadcast"; + const LAST_BROADCAST_DESC = "-lastBroadcast"; + const LAST_PLAYED_AT_DESC = "-lastPlayedAt"; + const MEDIA_TYPE_DESC = "-mediaType"; + const MODERATION_COUNT_DESC = "-moderationCount"; + const NAME_DESC = "-name"; + const PARTNER_SORT_VALUE_DESC = "-partnerSortValue"; + const PLAYS_DESC = "-plays"; + const RANK_DESC = "-rank"; + const RECENT_DESC = "-recent"; + const START_DATE_DESC = "-startDate"; + const TOTAL_RANK_DESC = "-totalRank"; + const UPDATED_AT_DESC = "-updatedAt"; + const VIEWS_DESC = "-views"; + const WEIGHT_DESC = "-weight"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMailType extends KalturaEnumBase +{ + const MAIL_TYPE_KALTURA_NEWSLETTER = "10"; + const MAIL_TYPE_ADDED_TO_FAVORITES = "11"; + const MAIL_TYPE_ADDED_TO_CLIP_FAVORITES = "12"; + const MAIL_TYPE_NEW_COMMENT_IN_PROFILE = "13"; + const MAIL_TYPE_CLIP_ADDED_YOUR_KALTURA = "20"; + const MAIL_TYPE_VIDEO_ADDED = "21"; + const MAIL_TYPE_ROUGHCUT_CREATED = "22"; + const MAIL_TYPE_ADDED_KALTURA_TO_YOUR_FAVORITES = "23"; + const MAIL_TYPE_NEW_COMMENT_IN_KALTURA = "24"; + const MAIL_TYPE_CLIP_ADDED = "30"; + const MAIL_TYPE_VIDEO_CREATED = "31"; + const MAIL_TYPE_ADDED_KALTURA_TO_HIS_FAVORITES = "32"; + const MAIL_TYPE_NEW_COMMENT_IN_KALTURA_YOU_CONTRIBUTED = "33"; + const MAIL_TYPE_CLIP_CONTRIBUTED = "40"; + const MAIL_TYPE_ROUGHCUT_CREATED_SUBSCRIBED = "41"; + const MAIL_TYPE_ADDED_KALTURA_TO_HIS_FAVORITES_SUBSCRIBED = "42"; + const MAIL_TYPE_NEW_COMMENT_IN_KALTURA_YOU_SUBSCRIBED = "43"; + const MAIL_TYPE_REGISTER_CONFIRM = "50"; + const MAIL_TYPE_PASSWORD_RESET = "51"; + const MAIL_TYPE_LOGIN_MAIL_RESET = "52"; + const MAIL_TYPE_REGISTER_CONFIRM_VIDEO_SERVICE = "54"; + const MAIL_TYPE_VIDEO_READY = "60"; + const MAIL_TYPE_VIDEO_IS_READY = "62"; + const MAIL_TYPE_BULK_DOWNLOAD_READY = "63"; + const MAIL_TYPE_BULKUPLOAD_FINISHED = "64"; + const MAIL_TYPE_BULKUPLOAD_FAILED = "65"; + const MAIL_TYPE_BULKUPLOAD_ABORTED = "66"; + const MAIL_TYPE_NOTIFY_ERR = "70"; + const MAIL_TYPE_ACCOUNT_UPGRADE_CONFIRM = "80"; + const MAIL_TYPE_VIDEO_SERVICE_NOTICE = "81"; + const MAIL_TYPE_VIDEO_SERVICE_NOTICE_LIMIT_REACHED = "82"; + const MAIL_TYPE_VIDEO_SERVICE_NOTICE_ACCOUNT_LOCKED = "83"; + const MAIL_TYPE_VIDEO_SERVICE_NOTICE_ACCOUNT_DELETED = "84"; + const MAIL_TYPE_VIDEO_SERVICE_NOTICE_UPGRADE_OFFER = "85"; + const MAIL_TYPE_ACCOUNT_REACTIVE_CONFIRM = "86"; + const MAIL_TYPE_EXTENDED_FREE_TRIAL_ENDS_WARNING = "87"; + const MAIL_TYPE_SYSTEM_USER_RESET_PASSWORD = "110"; + const MAIL_TYPE_SYSTEM_USER_RESET_PASSWORD_SUCCESS = "111"; + const MAIL_TYPE_SYSTEM_USER_NEW_PASSWORD = "112"; + const MAIL_TYPE_SYSTEM_USER_CREDENTIALS_SAVED = "113"; + const MAIL_TYPE_LIVE_REPORT_EXPORT_SUCCESS = "130"; + const MAIL_TYPE_LIVE_REPORT_EXPORT_FAILURE = "131"; + const MAIL_TYPE_LIVE_REPORT_EXPORT_ABORT = "132"; + const MAIL_TYPE_USERS_CSV = "133"; + const MAIL_TYPE_OBJECTS_CSV = "135"; + const MAIL_TYPE_REPORT_EXPORT_SUCCESS = "136"; + const MAIL_TYPE_REPORT_EXPORT_FAILURE = "137"; + const MAIL_TYPE_REPORT_EXPORT_ABORT = "138"; + const MAIL_TYPE_SIP_FAILURE = "139"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMatchConditionType extends KalturaEnumBase +{ + const MATCH_ANY = "1"; + const MATCH_ALL = "2"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaEntryCompareAttribute extends KalturaEnumBase +{ + const ACCESS_CONTROL_ID = "accessControlId"; + const CREATED_AT = "createdAt"; + const END_DATE = "endDate"; + const LAST_PLAYED_AT = "lastPlayedAt"; + const MEDIA_DATE = "mediaDate"; + const MEDIA_TYPE = "mediaType"; + const MODERATION_COUNT = "moderationCount"; + const MODERATION_STATUS = "moderationStatus"; + const MS_DURATION = "msDuration"; + const PARTNER_ID = "partnerId"; + const PARTNER_SORT_VALUE = "partnerSortValue"; + const PLAYS = "plays"; + const RANK = "rank"; + const REPLACEMENT_STATUS = "replacementStatus"; + const START_DATE = "startDate"; + const STATUS = "status"; + const TOTAL_RANK = "totalRank"; + const TYPE = "type"; + const UPDATED_AT = "updatedAt"; + const VIEWS = "views"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaEntryMatchAttribute extends KalturaEnumBase +{ + const ADMIN_TAGS = "adminTags"; + const CATEGORIES_IDS = "categoriesIds"; + const CREATOR_ID = "creatorId"; + const DESCRIPTION = "description"; + const DURATION_TYPE = "durationType"; + const FLAVOR_PARAMS_IDS = "flavorParamsIds"; + const GROUP_ID = "groupId"; + const ID = "id"; + const NAME = "name"; + const REFERENCE_ID = "referenceId"; + const REPLACED_ENTRY_ID = "replacedEntryId"; + const REPLACING_ENTRY_ID = "replacingEntryId"; + const SEARCH_TEXT = "searchText"; + const TAGS = "tags"; + const USER_ID = "userId"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaEntryOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const DURATION_ASC = "+duration"; + const END_DATE_ASC = "+endDate"; + const LAST_PLAYED_AT_ASC = "+lastPlayedAt"; + const MEDIA_TYPE_ASC = "+mediaType"; + const MODERATION_COUNT_ASC = "+moderationCount"; + const NAME_ASC = "+name"; + const PARTNER_SORT_VALUE_ASC = "+partnerSortValue"; + const PLAYS_ASC = "+plays"; + const RANK_ASC = "+rank"; + const RECENT_ASC = "+recent"; + const START_DATE_ASC = "+startDate"; + const TOTAL_RANK_ASC = "+totalRank"; + const UPDATED_AT_ASC = "+updatedAt"; + const VIEWS_ASC = "+views"; + const WEIGHT_ASC = "+weight"; + const CREATED_AT_DESC = "-createdAt"; + const DURATION_DESC = "-duration"; + const END_DATE_DESC = "-endDate"; + const LAST_PLAYED_AT_DESC = "-lastPlayedAt"; + const MEDIA_TYPE_DESC = "-mediaType"; + const MODERATION_COUNT_DESC = "-moderationCount"; + const NAME_DESC = "-name"; + const PARTNER_SORT_VALUE_DESC = "-partnerSortValue"; + const PLAYS_DESC = "-plays"; + const RANK_DESC = "-rank"; + const RECENT_DESC = "-recent"; + const START_DATE_DESC = "-startDate"; + const TOTAL_RANK_DESC = "-totalRank"; + const UPDATED_AT_DESC = "-updatedAt"; + const VIEWS_DESC = "-views"; + const WEIGHT_DESC = "-weight"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaFlavorParamsOrderBy extends KalturaEnumBase +{ +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaFlavorParamsOutputOrderBy extends KalturaEnumBase +{ +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaInfoOrderBy extends KalturaEnumBase +{ +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaParserType extends KalturaEnumBase +{ + const MEDIAINFO = "0"; + const FFMPEG = "1"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaServerNodeOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const HEARTBEAT_TIME_ASC = "+heartbeatTime"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const HEARTBEAT_TIME_DESC = "-heartbeatTime"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMixEntryCompareAttribute extends KalturaEnumBase +{ + const ACCESS_CONTROL_ID = "accessControlId"; + const CREATED_AT = "createdAt"; + const END_DATE = "endDate"; + const LAST_PLAYED_AT = "lastPlayedAt"; + const MODERATION_COUNT = "moderationCount"; + const MODERATION_STATUS = "moderationStatus"; + const MS_DURATION = "msDuration"; + const PARTNER_ID = "partnerId"; + const PARTNER_SORT_VALUE = "partnerSortValue"; + const PLAYS = "plays"; + const RANK = "rank"; + const REPLACEMENT_STATUS = "replacementStatus"; + const START_DATE = "startDate"; + const STATUS = "status"; + const TOTAL_RANK = "totalRank"; + const TYPE = "type"; + const UPDATED_AT = "updatedAt"; + const VIEWS = "views"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMixEntryMatchAttribute extends KalturaEnumBase +{ + const ADMIN_TAGS = "adminTags"; + const CATEGORIES_IDS = "categoriesIds"; + const CREATOR_ID = "creatorId"; + const DESCRIPTION = "description"; + const DURATION_TYPE = "durationType"; + const GROUP_ID = "groupId"; + const ID = "id"; + const NAME = "name"; + const REFERENCE_ID = "referenceId"; + const REPLACED_ENTRY_ID = "replacedEntryId"; + const REPLACING_ENTRY_ID = "replacingEntryId"; + const SEARCH_TEXT = "searchText"; + const TAGS = "tags"; + const USER_ID = "userId"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMixEntryOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const DURATION_ASC = "+duration"; + const END_DATE_ASC = "+endDate"; + const LAST_PLAYED_AT_ASC = "+lastPlayedAt"; + const MODERATION_COUNT_ASC = "+moderationCount"; + const NAME_ASC = "+name"; + const PARTNER_SORT_VALUE_ASC = "+partnerSortValue"; + const PLAYS_ASC = "+plays"; + const RANK_ASC = "+rank"; + const RECENT_ASC = "+recent"; + const START_DATE_ASC = "+startDate"; + const TOTAL_RANK_ASC = "+totalRank"; + const UPDATED_AT_ASC = "+updatedAt"; + const VIEWS_ASC = "+views"; + const WEIGHT_ASC = "+weight"; + const CREATED_AT_DESC = "-createdAt"; + const DURATION_DESC = "-duration"; + const END_DATE_DESC = "-endDate"; + const LAST_PLAYED_AT_DESC = "-lastPlayedAt"; + const MODERATION_COUNT_DESC = "-moderationCount"; + const NAME_DESC = "-name"; + const PARTNER_SORT_VALUE_DESC = "-partnerSortValue"; + const PLAYS_DESC = "-plays"; + const RANK_DESC = "-rank"; + const RECENT_DESC = "-recent"; + const START_DATE_DESC = "-startDate"; + const TOTAL_RANK_DESC = "-totalRank"; + const UPDATED_AT_DESC = "-updatedAt"; + const VIEWS_DESC = "-views"; + const WEIGHT_DESC = "-weight"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaModerationFlagStatus extends KalturaEnumBase +{ + const PENDING = "1"; + const MODERATED = "2"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaModerationObjectType extends KalturaEnumBase +{ + const ENTRY = "2"; + const USER = "3"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPartnerOrderBy extends KalturaEnumBase +{ + const ADMIN_EMAIL_ASC = "+adminEmail"; + const ADMIN_NAME_ASC = "+adminName"; + const CREATED_AT_ASC = "+createdAt"; + const ID_ASC = "+id"; + const NAME_ASC = "+name"; + const STATUS_ASC = "+status"; + const WEBSITE_ASC = "+website"; + const ADMIN_EMAIL_DESC = "-adminEmail"; + const ADMIN_NAME_DESC = "-adminName"; + const CREATED_AT_DESC = "-createdAt"; + const ID_DESC = "-id"; + const NAME_DESC = "-name"; + const STATUS_DESC = "-status"; + const WEBSITE_DESC = "-website"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPermissionItemOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const ID_ASC = "+id"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const ID_DESC = "-id"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPermissionItemType extends KalturaEnumBase +{ + const API_ACTION_ITEM = "kApiActionPermissionItem"; + const API_PARAMETER_ITEM = "kApiParameterPermissionItem"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPermissionOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const ID_ASC = "+id"; + const NAME_ASC = "+name"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const ID_DESC = "-id"; + const NAME_DESC = "-name"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlayableEntryCompareAttribute extends KalturaEnumBase +{ + const ACCESS_CONTROL_ID = "accessControlId"; + const CREATED_AT = "createdAt"; + const END_DATE = "endDate"; + const LAST_PLAYED_AT = "lastPlayedAt"; + const MODERATION_COUNT = "moderationCount"; + const MODERATION_STATUS = "moderationStatus"; + const MS_DURATION = "msDuration"; + const PARTNER_ID = "partnerId"; + const PARTNER_SORT_VALUE = "partnerSortValue"; + const PLAYS = "plays"; + const RANK = "rank"; + const REPLACEMENT_STATUS = "replacementStatus"; + const START_DATE = "startDate"; + const STATUS = "status"; + const TOTAL_RANK = "totalRank"; + const TYPE = "type"; + const UPDATED_AT = "updatedAt"; + const VIEWS = "views"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlayableEntryMatchAttribute extends KalturaEnumBase +{ + const ADMIN_TAGS = "adminTags"; + const CATEGORIES_IDS = "categoriesIds"; + const CREATOR_ID = "creatorId"; + const DESCRIPTION = "description"; + const DURATION_TYPE = "durationType"; + const GROUP_ID = "groupId"; + const ID = "id"; + const NAME = "name"; + const REFERENCE_ID = "referenceId"; + const REPLACED_ENTRY_ID = "replacedEntryId"; + const REPLACING_ENTRY_ID = "replacingEntryId"; + const SEARCH_TEXT = "searchText"; + const TAGS = "tags"; + const USER_ID = "userId"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlayableEntryOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const DURATION_ASC = "+duration"; + const END_DATE_ASC = "+endDate"; + const LAST_PLAYED_AT_ASC = "+lastPlayedAt"; + const MODERATION_COUNT_ASC = "+moderationCount"; + const NAME_ASC = "+name"; + const PARTNER_SORT_VALUE_ASC = "+partnerSortValue"; + const PLAYS_ASC = "+plays"; + const RANK_ASC = "+rank"; + const RECENT_ASC = "+recent"; + const START_DATE_ASC = "+startDate"; + const TOTAL_RANK_ASC = "+totalRank"; + const UPDATED_AT_ASC = "+updatedAt"; + const VIEWS_ASC = "+views"; + const WEIGHT_ASC = "+weight"; + const CREATED_AT_DESC = "-createdAt"; + const DURATION_DESC = "-duration"; + const END_DATE_DESC = "-endDate"; + const LAST_PLAYED_AT_DESC = "-lastPlayedAt"; + const MODERATION_COUNT_DESC = "-moderationCount"; + const NAME_DESC = "-name"; + const PARTNER_SORT_VALUE_DESC = "-partnerSortValue"; + const PLAYS_DESC = "-plays"; + const RANK_DESC = "-rank"; + const RECENT_DESC = "-recent"; + const START_DATE_DESC = "-startDate"; + const TOTAL_RANK_DESC = "-totalRank"; + const UPDATED_AT_DESC = "-updatedAt"; + const VIEWS_DESC = "-views"; + const WEIGHT_DESC = "-weight"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlaybackProtocol extends KalturaEnumBase +{ + const APPLE_HTTP = "applehttp"; + const APPLE_HTTP_TO_MC = "applehttp_to_mc"; + const AUTO = "auto"; + const DOWNLOAD = "download"; + const AKAMAI_HD = "hdnetwork"; + const AKAMAI_HDS = "hdnetworkmanifest"; + const HDS = "hds"; + const HLS = "hls"; + const HTTP = "http"; + const MPEG_DASH = "mpegdash"; + const MULTICAST_SL = "multicast_silverlight"; + const RTMP = "rtmp"; + const RTSP = "rtsp"; + const SILVER_LIGHT = "sl"; + const URL = "url"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlaylistCompareAttribute extends KalturaEnumBase +{ + const ACCESS_CONTROL_ID = "accessControlId"; + const CREATED_AT = "createdAt"; + const END_DATE = "endDate"; + const MODERATION_COUNT = "moderationCount"; + const MODERATION_STATUS = "moderationStatus"; + const PARTNER_ID = "partnerId"; + const PARTNER_SORT_VALUE = "partnerSortValue"; + const RANK = "rank"; + const REPLACEMENT_STATUS = "replacementStatus"; + const START_DATE = "startDate"; + const STATUS = "status"; + const TOTAL_RANK = "totalRank"; + const TYPE = "type"; + const UPDATED_AT = "updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlaylistMatchAttribute extends KalturaEnumBase +{ + const ADMIN_TAGS = "adminTags"; + const CATEGORIES_IDS = "categoriesIds"; + const CREATOR_ID = "creatorId"; + const DESCRIPTION = "description"; + const GROUP_ID = "groupId"; + const ID = "id"; + const NAME = "name"; + const REFERENCE_ID = "referenceId"; + const REPLACED_ENTRY_ID = "replacedEntryId"; + const REPLACING_ENTRY_ID = "replacingEntryId"; + const SEARCH_TEXT = "searchText"; + const TAGS = "tags"; + const USER_ID = "userId"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlaylistOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const END_DATE_ASC = "+endDate"; + const MODERATION_COUNT_ASC = "+moderationCount"; + const NAME_ASC = "+name"; + const PARTNER_SORT_VALUE_ASC = "+partnerSortValue"; + const RANK_ASC = "+rank"; + const RECENT_ASC = "+recent"; + const START_DATE_ASC = "+startDate"; + const TOTAL_RANK_ASC = "+totalRank"; + const UPDATED_AT_ASC = "+updatedAt"; + const WEIGHT_ASC = "+weight"; + const CREATED_AT_DESC = "-createdAt"; + const END_DATE_DESC = "-endDate"; + const MODERATION_COUNT_DESC = "-moderationCount"; + const NAME_DESC = "-name"; + const PARTNER_SORT_VALUE_DESC = "-partnerSortValue"; + const RANK_DESC = "-rank"; + const RECENT_DESC = "-recent"; + const START_DATE_DESC = "-startDate"; + const TOTAL_RANK_DESC = "-totalRank"; + const UPDATED_AT_DESC = "-updatedAt"; + const WEIGHT_DESC = "-weight"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaQuizUserEntryOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReportInterval extends KalturaEnumBase +{ + const DAYS = "days"; + const HOURS = "hours"; + const MINUTES = "minutes"; + const MONTHS = "months"; + const TEN_MINUTES = "ten_minutes"; + const TEN_SECONDS = "ten_seconds"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReportOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const CREATED_AT_DESC = "-createdAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReportType extends KalturaEnumBase +{ + const QUIZ = "quiz.QUIZ"; + const QUIZ_AGGREGATE_BY_QUESTION = "quiz.QUIZ_AGGREGATE_BY_QUESTION"; + const QUIZ_USER_AGGREGATE_BY_QUESTION = "quiz.QUIZ_USER_AGGREGATE_BY_QUESTION"; + const QUIZ_USER_PERCENTAGE = "quiz.QUIZ_USER_PERCENTAGE"; + const TOP_CONTENT = "1"; + const CONTENT_DROPOFF = "2"; + const CONTENT_INTERACTIONS = "3"; + const MAP_OVERLAY = "4"; + const TOP_CONTRIBUTORS = "5"; + const TOP_SYNDICATION = "6"; + const CONTENT_CONTRIBUTIONS = "7"; + const USER_ENGAGEMENT = "11"; + const SPECIFIC_USER_ENGAGEMENT = "12"; + const USER_TOP_CONTENT = "13"; + const USER_CONTENT_DROPOFF = "14"; + const USER_CONTENT_INTERACTIONS = "15"; + const APPLICATIONS = "16"; + const USER_USAGE = "17"; + const SPECIFIC_USER_USAGE = "18"; + const VAR_USAGE = "19"; + const TOP_CREATORS = "20"; + const PLATFORMS = "21"; + const OPERATING_SYSTEM = "22"; + const BROWSERS = "23"; + const LIVE = "24"; + const TOP_PLAYBACK_CONTEXT = "25"; + const VPAAS_USAGE = "26"; + const ENTRY_USAGE = "27"; + const REACH_USAGE = "28"; + const TOP_CUSTOM_VAR1 = "29"; + const MAP_OVERLAY_CITY = "30"; + const OPERATING_SYSTEM_FAMILIES = "32"; + const BROWSERS_FAMILIES = "33"; + const USER_ENGAGEMENT_TIMELINE = "34"; + const UNIQUE_USERS_PLAY = "35"; + const MAP_OVERLAY_COUNTRY = "36"; + const MAP_OVERLAY_REGION = "37"; + const TOP_CONTENT_CREATOR = "38"; + const TOP_CONTENT_CONTRIBUTORS = "39"; + const APP_DOMAIN_UNIQUE_ACTIVE_USERS = "40"; + const TOP_SOURCES = "41"; + const VPAAS_USAGE_MULTI = "42"; + const PERCENTILES = "43"; + const CONTENT_REPORT_REASONS = "44"; + const PLAYER_RELATED_INTERACTIONS = "45"; + const PLAYBACK_RATE = "46"; + const TOP_USER_CONTENT = "47"; + const USER_HIGHLIGHTS = "48"; + const USER_INTERACTIVE_VIDEO = "49"; + const INTERACTIVE_VIDEO_TOP_NODES = "50"; + const LATEST_PLAYED_ENTRIES = "51"; + const CATEGORY_HIGHLIGHTS = "52"; + const SUB_CATEGORIES = "53"; + const INTERACTIVE_VIDEO_NODE_TOP_HOTSPOTS = "54"; + const INTERCATIVE_VIDEO_NODE_SWITCH_TOP_HOTSPOTS = "55"; + const INTERACTIVE_VIDEO_HOTSPOT_CLICKED_PERCENTILES = "56"; + const INTERACTIVE_VIDEO_NODE_SWITCH_HOTSPOT_CLICKED_PERCENTILES = "57"; + const TOP_CUSTOM_VAR2 = "58"; + const TOP_CUSTOM_VAR3 = "59"; + const PARTNER_USAGE = "201"; + const MAP_OVERLAY_COUNTRY_REALTIME = "10001"; + const MAP_OVERLAY_REGION_REALTIME = "10002"; + const MAP_OVERLAY_CITY_REALTIME = "10003"; + const PLATFORMS_REALTIME = "10004"; + const USERS_OVERVIEW_REALTIME = "10005"; + const QOS_OVERVIEW_REALTIME = "10006"; + const DISCOVERY_REALTIME = "10007"; + const ENTRY_LEVEL_USERS_DISCOVERY_REALTIME = "10008"; + const ENTRY_LEVEL_USERS_STATUS_REALTIME = "10009"; + const PLATFORMS_DISCOVERY_REALTIME = "10010"; + const PLAYBACK_TYPE_REALTIME = "10011"; + const CONTENT_REALTIME = "10012"; + const DISCOVERY_VIEW_REALTIME = "10013"; + const TOP_ENDED_BROADCAST_ENTRIES = "10014"; + const TOP_LIVE_NOW_ENTRIES = "10015"; + const CONTENT_DROPOFF_VPAAS = "20001"; + const TOP_SYNDICATION_VPAAS = "20002"; + const USER_TOP_CONTENT_VPAAS = "20003"; + const USER_USAGE_VPAAS = "20004"; + const PLATFORMS_VPAAS = "20005"; + const OPERATING_SYSTEM_VPAAS = "20006"; + const BROWSERS_VPAAS = "20007"; + const OPERATING_SYSTEM_FAMILIES_VPAAS = "20008"; + const BROWSERS_FAMILIES_VPAAS = "20009"; + const USER_ENGAGEMENT_TIMELINE_VPAAS = "20010"; + const UNIQUE_USERS_PLAY_VPAAS = "20011"; + const MAP_OVERLAY_COUNTRY_VPAAS = "20012"; + const MAP_OVERLAY_REGION_VPAAS = "20013"; + const MAP_OVERLAY_CITY_VPAAS = "20014"; + const TOP_CONTENT_CREATOR_VPAAS = "20015"; + const TOP_CONTENT_CONTRIBUTORS_VPAAS = "20016"; + const TOP_SOURCES_VPAAS = "20017"; + const CONTENT_REPORT_REASONS_VPAAS = "20018"; + const PLAYER_RELATED_INTERACTIONS_VPAAS = "20019"; + const PLAYBACK_RATE_VPAAS = "20020"; + const PARTNER_USAGE_VPAAS = "20021"; + const TOP_PLAYBACK_CONTEXT_VPAAS = "20022"; + const QOE_OVERVIEW = "30001"; + const QOE_EXPERIENCE = "30002"; + const QOE_EXPERIENCE_PLATFORMS = "30003"; + const QOE_EXPERIENCE_COUNTRY = "30004"; + const QOE_EXPERIENCE_REGION = "30005"; + const QOE_EXPERIENCE_CITY = "30006"; + const QOE_EXPERIENCE_BROWSERS_FAMILIES = "30007"; + const QOE_EXPERIENCE_BROWSERS = "30008"; + const QOE_EXPERIENCE_OPERATING_SYSTEM_FAMILIES = "30009"; + const QOE_EXPERIENCE_OPERATING_SYSTEM = "30010"; + const QOE_EXPERIENCE_PLAYER_VERSION = "30011"; + const QOE_EXPERIENCE_ENTRY = "30012"; + const QOE_EXPERIENCE_ISP = "30013"; + const QOE_ENGAGEMENT = "30014"; + const QOE_ENGAGEMENT_PLATFORMS = "30015"; + const QOE_ENGAGEMENT_COUNTRY = "30016"; + const QOE_ENGAGEMENT_REGION = "30017"; + const QOE_ENGAGEMENT_CITY = "30018"; + const QOE_ENGAGEMENT_BROWSERS_FAMILIES = "30019"; + const QOE_ENGAGEMENT_BROWSERS = "30020"; + const QOE_ENGAGEMENT_OPERATING_SYSTEM_FAMILIES = "30021"; + const QOE_ENGAGEMENT_OPERATING_SYSTEM = "30022"; + const QOE_ENGAGEMENT_PLAYER_VERSION = "30023"; + const QOE_ENGAGEMENT_ENTRY = "30024"; + const QOE_ENGAGEMENT_ISP = "30025"; + const QOE_STREAM_QUALITY = "30026"; + const QOE_STREAM_QUALITY_PLATFORMS = "30027"; + const QOE_STREAM_QUALITY_COUNTRY = "30028"; + const QOE_STREAM_QUALITY_REGION = "30029"; + const QOE_STREAM_QUALITY_CITY = "30030"; + const QOE_STREAM_QUALITY_BROWSERS_FAMILIES = "30031"; + const QOE_STREAM_QUALITY_BROWSERS = "30032"; + const QOE_STREAM_QUALITY_OPERATING_SYSTEM_FAMILIES = "30033"; + const QOE_STREAM_QUALITY_OPERATING_SYSTEM = "30034"; + const QOE_STREAM_QUALITY_PLAYER_VERSION = "30035"; + const QOE_STREAM_QUALITY_ENTRY = "30036"; + const QOE_STREAM_QUALITY_ISP = "30037"; + const QOE_ERROR_TRACKING = "30038"; + const QOE_ERROR_TRACKING_CODES = "30039"; + const QOE_ERROR_TRACKING_PLATFORMS = "30040"; + const QOE_ERROR_TRACKING_BROWSERS_FAMILIES = "30041"; + const QOE_ERROR_TRACKING_BROWSERS = "30042"; + const QOE_ERROR_TRACKING_OPERATING_SYSTEM_FAMILIES = "30043"; + const QOE_ERROR_TRACKING_OPERATING_SYSTEM = "30044"; + const QOE_ERROR_TRACKING_PLAYER_VERSION = "30045"; + const QOE_ERROR_TRACKING_ENTRY = "30046"; + const QOE_VOD_SESSION_FLOW = "30047"; + const QOE_LIVE_SESSION_FLOW = "30048"; + const QOE_EXPERIENCE_CUSTOM_VAR1 = "30049"; + const QOE_EXPERIENCE_CUSTOM_VAR2 = "30050"; + const QOE_EXPERIENCE_CUSTOM_VAR3 = "30051"; + const QOE_ENGAGEMENT_CUSTOM_VAR1 = "30052"; + const QOE_ENGAGEMENT_CUSTOM_VAR2 = "30053"; + const QOE_ENGAGEMENT_CUSTOM_VAR3 = "30054"; + const QOE_STREAM_QUALITY_CUSTOM_VAR1 = "30055"; + const QOE_STREAM_QUALITY_CUSTOM_VAR2 = "30056"; + const QOE_STREAM_QUALITY_CUSTOM_VAR3 = "30057"; + const QOE_ERROR_TRACKING_CUSTOM_VAR1 = "30058"; + const QOE_ERROR_TRACKING_CUSTOM_VAR2 = "30059"; + const QOE_ERROR_TRACKING_CUSTOM_VAR3 = "30060"; + const QOE_EXPERIENCE_APPLICATION_VERSION = "30061"; + const QOE_ENGAGEMENT_APPLICATION_VERSION = "30062"; + const QOE_STREAM_QUALITY_APPLICATION_VERSION = "30063"; + const QOE_ERROR_TRACKING_APPLICATION_VERSION = "30064"; + const HIGHLIGHTS_WEBCAST = "40001"; + const ENGAGEMENT_WEBCAST = "40002"; + const QUALITY_WEBCAST = "40003"; + const MAP_OVERLAY_COUNTRY_WEBCAST = "40004"; + const MAP_OVERLAY_REGION_WEBCAST = "40005"; + const MAP_OVERLAY_CITY_WEBCAST = "40006"; + const PLATFORMS_WEBCAST = "40007"; + const TOP_DOMAINS_WEBCAST = "40008"; + const TOP_USERS_WEBCAST = "40009"; + const ENGAGEMENT_BREAKDOWN_WEBCAST = "40010"; + const ENGAGMENT_TIMELINE_WEBCAST = "40011"; + const ENGAGEMENT_TOOLS_WEBCAST = "40012"; + const REACTIONS_BREAKDOWN_WEBCAST = "40013"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaResetPassLinkType extends KalturaEnumBase +{ + const KMC = "1"; + const KMS = "2"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaResponseProfileOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaRuleActionType extends KalturaEnumBase +{ + const DRM_POLICY = "drm.DRM_POLICY"; + const ADD_ENTRY_VENDOR_TASK = "reach.ADD_ENTRY_VENDOR_TASK"; + const BLOCK = "1"; + const PREVIEW = "2"; + const LIMIT_FLAVORS = "3"; + const ADD_TO_STORAGE = "4"; + const LIMIT_DELIVERY_PROFILES = "5"; + const SERVE_FROM_REMOTE_SERVER = "6"; + const REQUEST_HOST_REGEX = "7"; + const LIMIT_THUMBNAIL_CAPTURE = "8"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSchemaType extends KalturaEnumBase +{ + const BULK_UPLOAD_RESULT_XML = "bulkUploadXml.bulkUploadResultXML"; + const BULK_UPLOAD_XML = "bulkUploadXml.bulkUploadXML"; + const INGEST_API = "cuePoint.ingestAPI"; + const SERVE_API = "cuePoint.serveAPI"; + const DROP_FOLDER_XML = "dropFolderXmlBulkUpload.dropFolderXml"; + const SYNDICATION = "syndication"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSearchConditionComparison extends KalturaEnumBase +{ + const EQUAL = "1"; + const GREATER_THAN = "2"; + const GREATER_THAN_OR_EQUAL = "3"; + const LESS_THAN = "4"; + const LESS_THAN_OR_EQUAL = "5"; + const NOT_EQUAL = "6"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaServerNodeOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const HEARTBEAT_TIME_ASC = "+heartbeatTime"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const HEARTBEAT_TIME_DESC = "-heartbeatTime"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaServerNodeType extends KalturaEnumBase +{ + const CONFERENCE_SERVER = "conference.CONFERENCE_SERVER"; + const LIVE_CLUSTER_MEDIA_SERVER = "liveCluster.LIVE_CLUSTER_MEDIA_SERVER"; + const SIP_SERVER = "sip.SIP_SERVER"; + const WOWZA_MEDIA_SERVER = "wowza.WOWZA_MEDIA_SERVER"; + const EDGE = "1"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSourceType extends KalturaEnumBase +{ + const LIMELIGHT_LIVE = "limeLight.LIVE_STREAM"; + const VELOCIX_LIVE = "velocix.VELOCIX_LIVE"; + const FILE = "1"; + const WEBCAM = "2"; + const URL = "5"; + const SEARCH_PROVIDER = "6"; + const AKAMAI_LIVE = "29"; + const MANUAL_LIVE_STREAM = "30"; + const AKAMAI_UNIVERSAL_LIVE = "31"; + const LIVE_STREAM = "32"; + const LIVE_CHANNEL = "33"; + const RECORDED_LIVE = "34"; + const CLIP = "35"; + const KALTURA_RECORDED_LIVE = "36"; + const LECTURE_CAPTURE = "37"; + const LIVE_STREAM_ONTEXTDATA_CAPTIONS = "42"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStorageProfileOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStorageProfileProtocol extends KalturaEnumBase +{ + const KONTIKI = "kontiki.KONTIKI"; + const KALTURA_DC = "0"; + const FTP = "1"; + const SCP = "2"; + const SFTP = "3"; + const S3 = "6"; + const LOCAL = "7"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSyndicationFeedEntriesOrderBy extends KalturaEnumBase +{ + const CREATED_AT_DESC = "-createdAt"; + const RECENT = "recent"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaTaggedObjectType extends KalturaEnumBase +{ + const ENTRY = "1"; + const CATEGORY = "2"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaThumbAssetOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const DELETED_AT_ASC = "+deletedAt"; + const SIZE_ASC = "+size"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const DELETED_AT_DESC = "-deletedAt"; + const SIZE_DESC = "-size"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaThumbParamsOrderBy extends KalturaEnumBase +{ +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaThumbParamsOutputOrderBy extends KalturaEnumBase +{ +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaTubeMogulSyndicationFeedCategories extends KalturaEnumBase +{ + const ANIMALS_AND_PETS = "Animals & Pets"; + const ARTS_AND_ANIMATION = "Arts & Animation"; + const AUTOS = "Autos"; + const COMEDY = "Comedy"; + const COMMERCIALS_PROMOTIONAL = "Commercials/Promotional"; + const ENTERTAINMENT = "Entertainment"; + const FAMILY_AND_KIDS = "Family & Kids"; + const HOW_TO_INSTRUCTIONAL_DIY = "How To/Instructional/DIY"; + const MUSIC = "Music"; + const NEWS_AND_BLOGS = "News & Blogs"; + const SCIENCE_AND_TECHNOLOGY = "Science & Technology"; + const SPORTS = "Sports"; + const TRAVEL_AND_PLACES = "Travel & Places"; + const VIDEO_GAMES = "Video Games"; + const VLOGS_PEOPLE = "Vlogs & People"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaTubeMogulSyndicationFeedOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const NAME_ASC = "+name"; + const PLAYLIST_ID_ASC = "+playlistId"; + const TYPE_ASC = "+type"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const NAME_DESC = "-name"; + const PLAYLIST_ID_DESC = "-playlistId"; + const TYPE_DESC = "-type"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUiConfOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUploadTokenOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const CREATED_AT_DESC = "-createdAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserEntryExtendedStatus extends KalturaEnumBase +{ + const PLAYBACK_COMPLETE = "viewHistory.PLAYBACK_COMPLETE"; + const PLAYBACK_STARTED = "viewHistory.PLAYBACK_STARTED"; + const VIEWED = "viewHistory.VIEWED"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserEntryOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserEntryStatus extends KalturaEnumBase +{ + const QUIZ_SUBMITTED = "quiz.3"; + const ACTIVE = "1"; + const DELETED = "2"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserEntryType extends KalturaEnumBase +{ + const QUIZ = "quiz.QUIZ"; + const REGISTRATION = "registration.REGISTRATION"; + const VIEW_HISTORY = "viewHistory.VIEW_HISTORY"; + const WATCH_LATER = "watchLater.WATCH_LATER"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserLoginDataOrderBy extends KalturaEnumBase +{ +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const ID_ASC = "+id"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const ID_DESC = "-id"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserRoleOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const ID_ASC = "+id"; + const NAME_ASC = "+name"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const ID_DESC = "-id"; + const NAME_DESC = "-name"; + const UPDATED_AT_DESC = "-updatedAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaVideoCodec extends KalturaEnumBase +{ + const NONE = ""; + const AV1 = "AV1"; + const APCH = "apch"; + const APCN = "apcn"; + const APCO = "apco"; + const APCS = "apcs"; + const COPY = "copy"; + const DNXHD = "dnxhd"; + const DV = "dv"; + const FLV = "flv"; + const H263 = "h263"; + const H264 = "h264"; + const H264B = "h264b"; + const H264H = "h264h"; + const H264M = "h264m"; + const H265 = "h265"; + const MPEG2 = "mpeg2"; + const MPEG4 = "mpeg4"; + const THEORA = "theora"; + const VP6 = "vp6"; + const VP8 = "vp8"; + const VP9 = "vp9"; + const WMV2 = "wmv2"; + const WMV3 = "wmv3"; + const WVC1A = "wvc1a"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaWidgetOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const CREATED_AT_DESC = "-createdAt"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaYahooSyndicationFeedAdultValues extends KalturaEnumBase +{ + const ADULT = "adult"; + const NON_ADULT = "nonadult"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaYahooSyndicationFeedCategories extends KalturaEnumBase +{ + const ACTION = "Action"; + const ANIMALS = "Animals"; + const ART_AND_ANIMATION = "Art & Animation"; + const COMMERCIALS = "Commercials"; + const ENTERTAINMENT_AND_TV = "Entertainment & TV"; + const FAMILY = "Family"; + const FOOD = "Food"; + const FUNNY_VIDEOS = "Funny Videos"; + const GAMES = "Games"; + const HEALTH_AND_BEAUTY = "Health & Beauty"; + const HOW_TO = "How-To"; + const MOVIES_AND_SHORTS = "Movies & Shorts"; + const MUSIC = "Music"; + const NEWS_AND_POLITICS = "News & Politics"; + const PEOPLE_AND_VLOGS = "People & Vlogs"; + const PRODUCTS_AND_TECH = "Products & Tech."; + const SCIENCE_AND_ENVIRONMENT = "Science & Environment"; + const SPORTS = "Sports"; + const TRANSPORTATION = "Transportation"; + const TRAVEL = "Travel"; +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaYahooSyndicationFeedOrderBy extends KalturaEnumBase +{ + const CREATED_AT_ASC = "+createdAt"; + const NAME_ASC = "+name"; + const PLAYLIST_ID_ASC = "+playlistId"; + const TYPE_ASC = "+type"; + const UPDATED_AT_ASC = "+updatedAt"; + const CREATED_AT_DESC = "-createdAt"; + const NAME_DESC = "-name"; + const PLAYLIST_ID_DESC = "-playlistId"; + const TYPE_DESC = "-type"; + const UPDATED_AT_DESC = "-updatedAt"; +} + diff --git a/KalturaGeneratedAPIClientsPHP/KalturaTypes.php b/KalturaGeneratedAPIClientsPHP/KalturaTypes.php new file mode 100644 index 000000000..115282b89 --- /dev/null +++ b/KalturaGeneratedAPIClientsPHP/KalturaTypes.php @@ -0,0 +1,24347 @@ +. +// +// @ignore +// =================================================================================================== + +/** + * @package Kaltura + * @subpackage Client + */ +require_once(dirname(__FILE__) . "/KalturaClientBase.php"); + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaListResponse extends KalturaObjectBase +{ + /** + * + * + * @var int + * @readonly + */ + public $totalCount = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaBaseRestriction extends KalturaObjectBase +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAccessControl extends KalturaObjectBase +{ + /** + * The id of the Access Control Profile + * + * @var int + * @readonly + */ + public $id = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * The name of the Access Control Profile + * + * @var string + */ + public $name = null; + + /** + * System name of the Access Control Profile + * + * @var string + */ + public $systemName = null; + + /** + * The description of the Access Control Profile + * + * @var string + */ + public $description = null; + + /** + * Creation date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * True if this Conversion Profile is the default + * + * @var KalturaNullableBoolean + */ + public $isDefault = null; + + /** + * Array of Access Control Restrictions + * + * @var array of KalturaBaseRestriction + */ + public $restrictions; + + /** + * Indicates that the access control profile is new and should be handled using KalturaAccessControlProfile object and accessControlProfile service + * + * @var bool + * @readonly + */ + public $containsUnsuportedRestrictions = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaContextTypeHolder extends KalturaObjectBase +{ + /** + * The type of the condition context + * + * @var KalturaContextType + */ + public $type = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAccessControlContextTypeHolder extends KalturaContextTypeHolder +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAccessControlMessage extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $message = null; + + /** + * + * + * @var string + */ + public $code = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaRuleAction extends KalturaObjectBase +{ + /** + * The type of the action + * + * @var KalturaRuleActionType + * @readonly + */ + public $type = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaCondition extends KalturaObjectBase +{ + /** + * The type of the access control condition + * + * @var KalturaConditionType + * @readonly + */ + public $type = null; + + /** + * + * + * @var string + */ + public $description = null; + + /** + * + * + * @var bool + */ + public $not = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaRule extends KalturaObjectBase +{ + /** + * Short Rule Description + * + * @var string + */ + public $description = null; + + /** + * Rule Custom Data to allow saving rule specific information + * + * @var string + */ + public $ruleData = null; + + /** + * Message to be thrown to the player in case the rule is fulfilled + * + * @var string + */ + public $message = null; + + /** + * Code to be thrown to the player in case the rule is fulfilled + * + * @var string + */ + public $code = null; + + /** + * Actions to be performed by the player in case the rule is fulfilled + * + * @var array of KalturaRuleAction + */ + public $actions; + + /** + * Conditions to validate the rule + * + * @var array of KalturaCondition + */ + public $conditions; + + /** + * Indicates what contexts should be tested by this rule + * + * @var array of KalturaContextTypeHolder + */ + public $contexts; + + /** + * Indicates that this rule is enough and no need to continue checking the rest of the rules + * + * @var bool + */ + public $stopProcessing = null; + + /** + * Indicates if we should force ks validation for admin ks users as well + * + * @var KalturaNullableBoolean + */ + public $forceAdminValidation = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAccessControlProfile extends KalturaObjectBase +{ + /** + * The id of the Access Control Profile + * + * @var int + * @readonly + */ + public $id = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * The name of the Access Control Profile + * + * @var string + */ + public $name = null; + + /** + * System name of the Access Control Profile + * + * @var string + */ + public $systemName = null; + + /** + * The description of the Access Control Profile + * + * @var string + */ + public $description = null; + + /** + * Creation time as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * Update time as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * True if this access control profile is the partner default + * + * @var KalturaNullableBoolean + */ + public $isDefault = null; + + /** + * Array of access control rules + * + * @var array of KalturaRule + */ + public $rules; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaKeyValue extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $key = null; + + /** + * + * + * @var string + */ + public $value = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAccessControlScope extends KalturaObjectBase +{ + /** + * URL to be used to test domain conditions. + * + * @var string + */ + public $referrer = null; + + /** + * IP to be used to test geographic location conditions. + * + * @var string + */ + public $ip = null; + + /** + * Kaltura session to be used to test session and user conditions. + * + * @var string + */ + public $ks = null; + + /** + * Browser or client application to be used to test agent conditions. + * + * @var string + */ + public $userAgent = null; + + /** + * Unix timestamp (In seconds) to be used to test entry scheduling, keep null to use now. + * + * @var int + */ + public $time = null; + + /** + * Indicates what contexts should be tested. No contexts means any context. + * + * @var array of KalturaAccessControlContextTypeHolder + */ + public $contexts; + + /** + * Array of hashes to pass to the access control profile scope + * + * @var array of KalturaKeyValue + */ + public $hashes; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReportFilter extends KalturaObjectBase +{ + /** + * The dimension whose values should be filtered + * + * @var string + */ + public $dimension = null; + + /** + * The (comma separated) values to include in the filter + * + * @var string + */ + public $values = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAnalyticsFilter extends KalturaObjectBase +{ + /** + * Query start time (in local time) MM/dd/yyyy HH:mi + * + * @var string + */ + public $from_time = null; + + /** + * Query end time (in local time) MM/dd/yyyy HH:mi + * + * @var string + */ + public $to_time = null; + + /** + * Comma separated metrics list + * + * @var string + */ + public $metrics = null; + + /** + * Timezone offset from UTC (in minutes) + * + * @var float + */ + public $utcOffset = null; + + /** + * Comma separated dimensions list + * + * @var string + */ + public $dimensions = null; + + /** + * Array of filters + * + * @var array of KalturaReportFilter + */ + public $filters; + + /** + * Query order by metric/dimension + * + * @var string + */ + public $orderBy = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaApiExceptionArg extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $name = null; + + /** + * + * + * @var string + */ + public $value = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAppToken extends KalturaObjectBase +{ + /** + * The id of the application token + * + * @var string + * @readonly + */ + public $id = null; + + /** + * The application token + * + * @var string + * @readonly + */ + public $token = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * Creation time as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * Update time as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * Application token status + * + * @var KalturaAppTokenStatus + * @readonly + */ + public $status = null; + + /** + * Expiry time of current token (unix timestamp in seconds) + * + * @var int + */ + public $expiry = null; + + /** + * Type of KS (Kaltura Session) that created using the current token + * + * @var KalturaSessionType + */ + public $sessionType = null; + + /** + * User id of KS (Kaltura Session) that created using the current token + * + * @var string + */ + public $sessionUserId = null; + + /** + * Expiry duration of KS (Kaltura Session) that created using the current token (in seconds) + * + * @var int + */ + public $sessionDuration = null; + + /** + * Comma separated privileges to be applied on KS (Kaltura Session) that created using the current token + * + * @var string + */ + public $sessionPrivileges = null; + + /** + * + * + * @var KalturaAppTokenHashType + */ + public $hashType = null; + + /** + * + * + * @var string + */ + public $description = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAsset extends KalturaObjectBase +{ + /** + * The ID of the Flavor Asset + * + * @var string + * @readonly + */ + public $id = null; + + /** + * The entry ID of the Flavor Asset + * + * @var string + * @readonly + */ + public $entryId = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * The version of the Flavor Asset + * + * @var int + * @readonly + */ + public $version = null; + + /** + * The size (in KBytes) of the Flavor Asset + * + * @var int + * @readonly + */ + public $size = null; + + /** + * Tags used to identify the Flavor Asset in various scenarios + * + * @var string + */ + public $tags = null; + + /** + * The file extension + * + * @var string + * @insertonly + */ + public $fileExt = null; + + /** + * + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * + * + * @var int + * @readonly + */ + public $deletedAt = null; + + /** + * System description, error message, warnings and failure cause. + * + * @var string + * @readonly + */ + public $description = null; + + /** + * Partner private data + * + * @var string + */ + public $partnerData = null; + + /** + * Partner friendly description + * + * @var string + */ + public $partnerDescription = null; + + /** + * Comma separated list of source flavor params ids + * + * @var string + */ + public $actualSourceAssetParamsIds = null; + + /** + * The size (in Bytes) of the asset + * + * @var int + * @readonly + */ + public $sizeInBytes = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaString extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $value = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAssetParams extends KalturaObjectBase +{ + /** + * The id of the Flavor Params + * + * @var int + * @readonly + */ + public $id = null; + + /** + * + * + * @var int + */ + public $partnerId = null; + + /** + * The name of the Flavor Params + * + * @var string + */ + public $name = null; + + /** + * System name of the Flavor Params + * + * @var string + */ + public $systemName = null; + + /** + * The description of the Flavor Params + * + * @var string + */ + public $description = null; + + /** + * Creation date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * True if those Flavor Params are part of system defaults + * + * @var KalturaNullableBoolean + * @readonly + */ + public $isSystemDefault = null; + + /** + * The Flavor Params tags are used to identify the flavor for different usage (e.g. web, hd, mobile) + * + * @var string + */ + public $tags = null; + + /** + * Array of partner permisison names that required for using this asset params + * + * @var array of KalturaString + */ + public $requiredPermissions; + + /** + * Id of remote storage profile that used to get the source, zero indicates Kaltura data center + * + * @var int + */ + public $sourceRemoteStorageProfileId = null; + + /** + * Comma seperated ids of remote storage profiles that the flavor distributed to, the distribution done by the conversion engine + * + * @var int + */ + public $remoteStorageProfileIds = null; + + /** + * Media parser type to be used for post-conversion validation + * + * @var KalturaMediaParserType + */ + public $mediaParserType = null; + + /** + * Comma seperated ids of source flavor params this flavor is created from + * + * @var string + */ + public $sourceAssetParamsIds = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaResource extends KalturaObjectBase +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaContentResource extends KalturaResource +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAssetParamsResourceContainer extends KalturaResource +{ + /** + * The content resource to associate with asset params + * + * @var KalturaContentResource + */ + public $resource; + + /** + * The asset params to associate with the reaource + * + * @var int + */ + public $assetParamsId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAssetServeOptions extends KalturaObjectBase +{ + /** + * + * + * @var bool + */ + public $download = null; + + /** + * + * + * @var string + */ + public $referrer = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAuthentication extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $qrCode = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaOperationAttributes extends KalturaObjectBase +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBaseEntry extends KalturaObjectBase +{ + /** + * Auto generated 10 characters alphanumeric string + * + * @var string + * @readonly + */ + public $id = null; + + /** + * Entry name (Min 1 chars) + * + * @var string + */ + public $name = null; + + /** + * Entry description + * + * @var string + */ + public $description = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * The ID of the user who is the owner of this entry + * + * @var string + */ + public $userId = null; + + /** + * The ID of the user who created this entry + * + * @var string + * @insertonly + */ + public $creatorId = null; + + /** + * Entry tags + * + * @var string + */ + public $tags = null; + + /** + * Entry admin tags can be updated only by administrators + * + * @var string + */ + public $adminTags = null; + + /** + * Comma separated list of full names of categories to which this entry belongs. Only categories that don't have entitlement (privacy context) are listed, to retrieve the full list of categories, use the categoryEntry.list action. + * + * @var string + */ + public $categories = null; + + /** + * Comma separated list of ids of categories to which this entry belongs. Only categories that don't have entitlement (privacy context) are listed, to retrieve the full list of categories, use the categoryEntry.list action. + * + * @var string + */ + public $categoriesIds = null; + + /** + * + * + * @var KalturaEntryStatus + * @readonly + */ + public $status = null; + + /** + * Entry moderation status + * + * @var KalturaEntryModerationStatus + * @readonly + */ + public $moderationStatus = null; + + /** + * Number of moderation requests waiting for this entry + * + * @var int + * @readonly + */ + public $moderationCount = null; + + /** + * The type of the entry, this is auto filled by the derived entry object + * + * @var KalturaEntryType + */ + public $type = null; + + /** + * Entry creation date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * Entry update date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * The calculated average rank. rank = totalRank / votes + * + * @var float + * @readonly + */ + public $rank = null; + + /** + * The sum of all rank values submitted to the baseEntry.anonymousRank action + * + * @var int + * @readonly + */ + public $totalRank = null; + + /** + * A count of all requests made to the baseEntry.anonymousRank action + * + * @var int + * @readonly + */ + public $votes = null; + + /** + * + * + * @var int + */ + public $groupId = null; + + /** + * Can be used to store various partner related data as a string + * + * @var string + */ + public $partnerData = null; + + /** + * Download URL for the entry + * + * @var string + * @readonly + */ + public $downloadUrl = null; + + /** + * Indexed search text for full text search + * + * @var string + * @readonly + */ + public $searchText = null; + + /** + * License type used for this entry + * + * @var KalturaLicenseType + */ + public $licenseType = null; + + /** + * Version of the entry data + * + * @var int + * @readonly + */ + public $version = null; + + /** + * Thumbnail URL + * + * @var string + * @readonly + */ + public $thumbnailUrl = null; + + /** + * The Access Control ID assigned to this entry (null when not set, send -1 to remove) + * + * @var int + */ + public $accessControlId = null; + + /** + * Entry scheduling start date (null when not set, send -1 to remove) + * + * @var int + */ + public $startDate = null; + + /** + * Entry scheduling end date (null when not set, send -1 to remove) + * + * @var int + */ + public $endDate = null; + + /** + * Entry external reference id + * + * @var string + */ + public $referenceId = null; + + /** + * ID of temporary entry that will replace this entry when it's approved and ready for replacement + * + * @var string + * @readonly + */ + public $replacingEntryId = null; + + /** + * ID of the entry that will be replaced when the replacement approved and this entry is ready + * + * @var string + * @readonly + */ + public $replacedEntryId = null; + + /** + * Status of the replacement readiness and approval + * + * @var KalturaEntryReplacementStatus + * @readonly + */ + public $replacementStatus = null; + + /** + * Can be used to store various partner related data as a numeric value + * + * @var int + */ + public $partnerSortValue = null; + + /** + * Override the default ingestion profile + * + * @var int + */ + public $conversionProfileId = null; + + /** + * IF not empty, points to an entry ID the should replace this current entry's id. + * + * @var string + */ + public $redirectEntryId = null; + + /** + * ID of source root entry, used for clipped, skipped and cropped entries that created from another entry + * + * @var string + * @readonly + */ + public $rootEntryId = null; + + /** + * ID of source root entry, used for defining entires association + * + * @var string + */ + public $parentEntryId = null; + + /** + * clipping, skipping and cropping attributes that used to create this entry + * + * @var array of KalturaOperationAttributes + */ + public $operationAttributes; + + /** + * list of user ids that are entitled to edit the entry (no server enforcement) The difference between entitledUsersEdit, entitledUsersPublish and entitledUsersView is applicative only + * + * @var string + */ + public $entitledUsersEdit = null; + + /** + * list of user ids that are entitled to publish the entry (no server enforcement) The difference between entitledUsersEdit, entitledUsersPublish and entitledUsersView is applicative only + * + * @var string + */ + public $entitledUsersPublish = null; + + /** + * list of user ids that are entitled to view the entry (no server enforcement) The difference between entitledUsersEdit, entitledUsersPublish and entitledUsersView is applicative only + * + * @var string + */ + public $entitledUsersView = null; + + /** + * Comma seperated string of the capabilities of the entry. Any capability needed can be added to this list. + * + * @var string + * @readonly + */ + public $capabilities = null; + + /** + * Template entry id + * + * @var string + * @insertonly + */ + public $templateEntryId = null; + + /** + * should we display this entry in search + * + * @var KalturaEntryDisplayInSearchType + */ + public $displayInSearch = null; + + /** + * Entry application + * + * @var KalturaEntryApplication + * @insertonly + */ + public $application = null; + + /** + * Entry application version + * + * @var string + * @insertonly + */ + public $applicationVersion = null; + + /** + * Block auto transcript on Entry + * + * @var bool + */ + public $blockAutoTranscript = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaBaseEntryCloneOptionItem extends KalturaObjectBase +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaBaseResponseProfile extends KalturaObjectBase +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaBaseSyndicationFeed extends KalturaObjectBase +{ + /** + * + * + * @var string + * @readonly + */ + public $id = null; + + /** + * + * + * @var string + * @readonly + */ + public $feedUrl = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * link a playlist that will set what content the feed will include + * if empty, all content will be included in feed + * + * @var string + */ + public $playlistId = null; + + /** + * feed name + * + * @var string + */ + public $name = null; + + /** + * feed status + * + * @var KalturaSyndicationFeedStatus + * @readonly + */ + public $status = null; + + /** + * feed type + * + * @var KalturaSyndicationFeedType + * @insertonly + */ + public $type = null; + + /** + * Base URL for each video, on the partners site + * This is required by all syndication types. + * + * @var string + */ + public $landingPage = null; + + /** + * Creation date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * allow_embed tells google OR yahoo weather to allow embedding the video on google OR yahoo video results + * or just to provide a link to the landing page. + * it is applied on the video-player_loc property in the XML (google) + * and addes media-player tag (yahoo) + * + * @var bool + */ + public $allowEmbed = null; + + /** + * Select a uiconf ID as player skin to include in the kwidget url + * + * @var int + */ + public $playerUiconfId = null; + + /** + * + * + * @var int + */ + public $flavorParamId = null; + + /** + * + * + * @var bool + */ + public $transcodeExistingContent = null; + + /** + * + * + * @var bool + */ + public $addToDefaultConversionProfile = null; + + /** + * + * + * @var string + */ + public $categories = null; + + /** + * + * + * @var int + */ + public $storageId = null; + + /** + * + * + * @var KalturaSyndicationFeedEntriesOrderBy + */ + public $entriesOrderBy = null; + + /** + * Should enforce entitlement on feed entries + * + * @var bool + */ + public $enforceEntitlement = null; + + /** + * Set privacy context for search entries that assiged to private and public categories within a category privacy context. + * + * @var string + */ + public $privacyContext = null; + + /** + * Update date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * + * + * @var bool + */ + public $useCategoryEntries = null; + + /** + * Feed content-type header value + * + * @var string + */ + public $feedContentTypeHeader = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBaseUser extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $id = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * + * + * @var string + */ + public $screenName = null; + + /** + * + * + * @var string + */ + public $fullName = null; + + /** + * + * + * @var string + */ + public $email = null; + + /** + * + * + * @var string + */ + public $country = null; + + /** + * + * + * @var string + */ + public $state = null; + + /** + * + * + * @var string + */ + public $city = null; + + /** + * + * + * @var string + */ + public $zip = null; + + /** + * + * + * @var string + */ + public $thumbnailUrl = null; + + /** + * + * + * @var string + */ + public $description = null; + + /** + * + * + * @var string + */ + public $tags = null; + + /** + * Admin tags can be updated only by using an admin session + * + * @var string + */ + public $adminTags = null; + + /** + * + * + * @var KalturaUserStatus + */ + public $status = null; + + /** + * Creation date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * Last update date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * Can be used to store various partner related data as a string + * + * @var string + */ + public $partnerData = null; + + /** + * + * + * @var int + */ + public $indexedPartnerDataInt = null; + + /** + * + * + * @var string + */ + public $indexedPartnerDataString = null; + + /** + * + * + * @var int + * @readonly + */ + public $storageSize = null; + + /** + * + * + * @var KalturaLanguageCode + */ + public $language = null; + + /** + * + * + * @var int + * @readonly + */ + public $lastLoginTime = null; + + /** + * + * + * @var int + * @readonly + */ + public $statusUpdatedAt = null; + + /** + * + * + * @var int + * @readonly + */ + public $deletedAt = null; + + /** + * + * + * @var string + */ + public $allowedPartnerIds = null; + + /** + * + * + * @var string + */ + public $allowedPartnerPackages = null; + + /** + * + * + * @var KalturaUserMode + */ + public $userMode = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaJobData extends KalturaObjectBase +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBatchHistoryData extends KalturaObjectBase +{ + /** + * + * + * @var int + */ + public $schedulerId = null; + + /** + * + * + * @var int + */ + public $workerId = null; + + /** + * + * + * @var int + */ + public $batchIndex = null; + + /** + * + * + * @var int + */ + public $timeStamp = null; + + /** + * + * + * @var string + */ + public $message = null; + + /** + * + * + * @var int + */ + public $errType = null; + + /** + * + * + * @var int + */ + public $errNumber = null; + + /** + * + * + * @var string + */ + public $hostName = null; + + /** + * + * + * @var string + */ + public $sessionId = null; + + /** + * + * + * @var string + */ + public $schedulerName = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBatchJob extends KalturaObjectBase +{ + /** + * + * + * @var int + * @readonly + */ + public $id = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * + * + * @var int + * @readonly + */ + public $deletedAt = null; + + /** + * + * + * @var int + * @readonly + */ + public $lockExpiration = null; + + /** + * + * + * @var int + * @readonly + */ + public $executionAttempts = null; + + /** + * + * + * @var int + * @readonly + */ + public $lockVersion = null; + + /** + * + * + * @var string + */ + public $entryId = null; + + /** + * + * + * @var string + */ + public $entryName = null; + + /** + * + * + * @var KalturaBatchJobType + * @readonly + */ + public $jobType = null; + + /** + * + * + * @var int + */ + public $jobSubType = null; + + /** + * + * + * @var KalturaJobData + */ + public $data; + + /** + * + * + * @var KalturaBatchJobStatus + */ + public $status = null; + + /** + * + * + * @var int + */ + public $abort = null; + + /** + * + * + * @var int + */ + public $checkAgainTimeout = null; + + /** + * + * + * @var string + */ + public $message = null; + + /** + * + * + * @var string + */ + public $description = null; + + /** + * + * + * @var int + */ + public $priority = null; + + /** + * + * + * @var array of KalturaBatchHistoryData + */ + public $history; + + /** + * The id of the bulk upload job that initiated this job + * + * @var int + */ + public $bulkJobId = null; + + /** + * + * + * @var int + */ + public $batchVersion = null; + + /** + * When one job creates another - the parent should set this parentJobId to be its own id. + * + * @var int + */ + public $parentJobId = null; + + /** + * The id of the root parent job + * + * @var int + */ + public $rootJobId = null; + + /** + * The time that the job was pulled from the queue + * + * @var int + */ + public $queueTime = null; + + /** + * The time that the job was finished or closed as failed + * + * @var int + */ + public $finishTime = null; + + /** + * + * + * @var KalturaBatchJobErrorTypes + */ + public $errType = null; + + /** + * + * + * @var int + */ + public $errNumber = null; + + /** + * + * + * @var int + */ + public $estimatedEffort = null; + + /** + * + * + * @var int + */ + public $urgency = null; + + /** + * + * + * @var int + */ + public $schedulerId = null; + + /** + * + * + * @var int + */ + public $workerId = null; + + /** + * + * + * @var int + */ + public $batchIndex = null; + + /** + * + * + * @var int + */ + public $lastSchedulerId = null; + + /** + * + * + * @var int + */ + public $lastWorkerId = null; + + /** + * + * + * @var int + */ + public $dc = null; + + /** + * + * + * @var string + */ + public $jobObjectId = null; + + /** + * + * + * @var int + */ + public $jobObjectType = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlayerDeliveryType extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $id = null; + + /** + * + * + * @var string + */ + public $label = null; + + /** + * + * + * @var array of KalturaKeyValue + */ + public $flashvars; + + /** + * + * + * @var string + */ + public $minVersion = null; + + /** + * + * + * @var bool + */ + public $enabledByDefault = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlayerEmbedCodeType extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $id = null; + + /** + * + * + * @var string + */ + public $label = null; + + /** + * + * + * @var bool + */ + public $entryOnly = null; + + /** + * + * + * @var string + */ + public $minVersion = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaESearchLanguageItem extends KalturaObjectBase +{ + /** + * + * + * @var KalturaESearchLanguage + */ + public $eSerachLanguage = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPartner extends KalturaObjectBase +{ + /** + * + * + * @var int + * @readonly + */ + public $id = null; + + /** + * + * + * @var string + */ + public $name = null; + + /** + * + * + * @var string + */ + public $website = null; + + /** + * + * + * @var string + */ + public $notificationUrl = null; + + /** + * + * + * @var int + */ + public $appearInSearch = null; + + /** + * + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * deprecated - lastName and firstName replaces this field + * + * @var string + */ + public $adminName = null; + + /** + * + * + * @var string + */ + public $adminEmail = null; + + /** + * + * + * @var string + */ + public $description = null; + + /** + * + * + * @var KalturaCommercialUseType + */ + public $commercialUse = null; + + /** + * + * + * @var string + */ + public $landingPage = null; + + /** + * + * + * @var string + */ + public $userLandingPage = null; + + /** + * + * + * @var string + */ + public $contentCategories = null; + + /** + * + * + * @var KalturaPartnerType + */ + public $type = null; + + /** + * + * + * @var string + */ + public $phone = null; + + /** + * + * + * @var string + */ + public $describeYourself = null; + + /** + * + * + * @var bool + */ + public $adultContent = null; + + /** + * + * + * @var string + */ + public $defConversionProfileType = null; + + /** + * + * + * @var int + */ + public $notify = null; + + /** + * + * + * @var KalturaPartnerStatus + * @readonly + */ + public $status = null; + + /** + * + * + * @var int + */ + public $allowQuickEdit = null; + + /** + * + * + * @var int + */ + public $mergeEntryLists = null; + + /** + * + * + * @var string + */ + public $notificationsConfig = null; + + /** + * + * + * @var string + */ + public $allowedFromEmailWhiteList = null; + + /** + * + * + * @var int + */ + public $maxUploadSize = null; + + /** + * + * + * @var int + */ + public $partnerPackage = null; + + /** + * + * + * @var string + * @readonly + */ + public $secret = null; + + /** + * + * + * @var string + * @readonly + */ + public $adminSecret = null; + + /** + * + * + * @var string + * @readonly + */ + public $cmsPassword = null; + + /** + * + * + * @var int + */ + public $allowMultiNotification = null; + + /** + * + * + * @var int + * @readonly + */ + public $adminLoginUsersQuota = null; + + /** + * + * + * @var string + */ + public $adminUserId = null; + + /** + * firstName and lastName replace the old (deprecated) adminName + * + * @var string + */ + public $firstName = null; + + /** + * lastName and firstName replace the old (deprecated) adminName + * + * @var string + */ + public $lastName = null; + + /** + * country code (2char) - this field is optional + * + * @var string + */ + public $country = null; + + /** + * state code (2char) - this field is optional + * + * @var string + */ + public $state = null; + + /** + * + * + * @var array of KalturaKeyValue + */ + public $additionalParams; + + /** + * + * + * @var int + * @readonly + */ + public $publishersQuota = null; + + /** + * + * + * @var KalturaPartnerGroupType + * @readonly + */ + public $partnerGroupType = null; + + /** + * + * + * @var bool + * @readonly + */ + public $defaultEntitlementEnforcement = null; + + /** + * + * + * @var string + * @readonly + */ + public $defaultDeliveryType = null; + + /** + * + * + * @var string + * @readonly + */ + public $defaultEmbedCodeType = null; + + /** + * + * + * @var array of KalturaPlayerDeliveryType + * @readonly + */ + public $deliveryTypes; + + /** + * + * + * @var array of KalturaPlayerEmbedCodeType + * @readonly + */ + public $embedCodeTypes; + + /** + * + * + * @var int + * @readonly + */ + public $templatePartnerId = null; + + /** + * + * + * @var bool + * @readonly + */ + public $ignoreSeoLinks = null; + + /** + * + * + * @var bool + * @readonly + */ + public $blockDirectLogin = null; + + /** + * + * + * @var string + * @readonly + */ + public $host = null; + + /** + * + * + * @var string + * @readonly + */ + public $cdnHost = null; + + /** + * + * + * @var bool + * @readonly + */ + public $isFirstLogin = null; + + /** + * + * + * @var string + * @readonly + */ + public $logoutUrl = null; + + /** + * + * + * @var int + */ + public $partnerParentId = null; + + /** + * + * + * @var string + * @readonly + */ + public $crmId = null; + + /** + * + * + * @var string + */ + public $referenceId = null; + + /** + * + * + * @var bool + * @readonly + */ + public $timeAlignedRenditions = null; + + /** + * + * + * @var int + * @readonly + */ + public $publisherEnvironmentType = null; + + /** + * + * + * @var string + * @readonly + */ + public $ovpEnvironmentUrl = null; + + /** + * + * + * @var string + * @readonly + */ + public $ottEnvironmentUrl = null; + + /** + * + * + * @var array of KalturaESearchLanguageItem + */ + public $eSearchLanguages; + + /** + * + * + * @var KalturaPartnerAuthenticationType + * @readonly + */ + public $authenticationType = null; + + /** + * + * + * @var string + * @readonly + */ + public $extendedFreeTrailExpiryReason = null; + + /** + * Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $extendedFreeTrailExpiryDate = null; + + /** + * + * + * @var int + * @readonly + */ + public $extendedFreeTrail = null; + + /** + * + * + * @var bool + * @readonly + */ + public $extendedFreeTrailEndsWarning = null; + + /** + * + * + * @var int + * @readonly + */ + public $eightyPercentWarning = null; + + /** + * + * + * @var int + * @readonly + */ + public $usageLimitWarning = null; + + /** + * + * + * @var int + * @readonly + */ + public $lastFreeTrialNotificationDay = null; + + /** + * + * + * @var int + * @readonly + */ + public $monitorUsage = null; + + /** + * + * + * @var string + */ + public $passwordStructureValidations = null; + + /** + * + * + * @var string + */ + public $passwordStructureValidationsDescription = null; + + /** + * + * + * @var int + */ + public $passReplaceFreq = null; + + /** + * + * + * @var int + */ + public $maxLoginAttempts = null; + + /** + * + * + * @var int + */ + public $loginBlockPeriod = null; + + /** + * + * + * @var int + */ + public $numPrevPassToKeep = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaValue extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $description = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBooleanValue extends KalturaValue +{ + /** + * + * + * @var bool + */ + public $value = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadPluginData extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $field = null; + + /** + * + * + * @var string + */ + public $value = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadResult extends KalturaObjectBase +{ + /** + * The id of the result + * + * @var int + * @readonly + */ + public $id = null; + + /** + * The id of the parent job + * + * @var int + */ + public $bulkUploadJobId = null; + + /** + * The index of the line in the CSV + * + * @var int + */ + public $lineIndex = null; + + /** + * + * + * @var int + */ + public $partnerId = null; + + /** + * + * + * @var KalturaBulkUploadResultStatus + */ + public $status = null; + + /** + * + * + * @var KalturaBulkUploadAction + */ + public $action = null; + + /** + * + * + * @var string + */ + public $objectId = null; + + /** + * + * + * @var int + */ + public $objectStatus = null; + + /** + * + * + * @var KalturaBulkUploadObjectType + */ + public $bulkUploadResultObjectType = null; + + /** + * The data as recieved in the csv + * + * @var string + */ + public $rowData = null; + + /** + * + * + * @var string + */ + public $partnerData = null; + + /** + * + * + * @var string + */ + public $objectErrorDescription = null; + + /** + * + * + * @var array of KalturaBulkUploadPluginData + */ + public $pluginsData; + + /** + * + * + * @var string + */ + public $errorDescription = null; + + /** + * + * + * @var string + */ + public $errorCode = null; + + /** + * + * + * @var int + */ + public $errorType = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUpload extends KalturaObjectBase +{ + /** + * + * + * @var int + */ + public $id = null; + + /** + * + * + * @var string + */ + public $uploadedBy = null; + + /** + * + * + * @var string + */ + public $uploadedByUserId = null; + + /** + * + * + * @var int + */ + public $uploadedOn = null; + + /** + * + * + * @var int + */ + public $numOfEntries = null; + + /** + * + * + * @var KalturaBatchJobStatus + */ + public $status = null; + + /** + * + * + * @var string + */ + public $logFileUrl = null; + + /** + * + * + * @var string + */ + public $csvFileUrl = null; + + /** + * + * + * @var string + */ + public $bulkFileUrl = null; + + /** + * + * + * @var KalturaBulkUploadType + */ + public $bulkUploadType = null; + + /** + * + * + * @var array of KalturaBulkUploadResult + */ + public $results; + + /** + * + * + * @var string + */ + public $error = null; + + /** + * + * + * @var KalturaBatchJobErrorTypes + */ + public $errorType = null; + + /** + * + * + * @var int + */ + public $errorNumber = null; + + /** + * + * + * @var string + */ + public $fileName = null; + + /** + * + * + * @var string + */ + public $description = null; + + /** + * + * + * @var int + */ + public $numOfObjects = null; + + /** + * + * + * @var KalturaBulkUploadObjectType + */ + public $bulkUploadObjectType = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaBulkUploadObjectData extends KalturaObjectBase +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCEError extends KalturaObjectBase +{ + /** + * + * + * @var string + * @readonly + */ + public $id = null; + + /** + * + * + * @var int + */ + public $partnerId = null; + + /** + * + * + * @var string + */ + public $browser = null; + + /** + * + * + * @var string + */ + public $serverIp = null; + + /** + * + * + * @var string + */ + public $serverOs = null; + + /** + * + * + * @var string + */ + public $phpVersion = null; + + /** + * + * + * @var string + */ + public $ceAdminEmail = null; + + /** + * + * + * @var string + */ + public $type = null; + + /** + * + * + * @var string + */ + public $description = null; + + /** + * + * + * @var string + */ + public $data = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategory extends KalturaObjectBase +{ + /** + * The id of the Category + * + * @var int + * @readonly + */ + public $id = null; + + /** + * + * + * @var int + */ + public $parentId = null; + + /** + * + * + * @var int + * @readonly + */ + public $depth = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * The name of the Category. + * The following characters are not allowed: '<', '>', ',' + * + * @var string + */ + public $name = null; + + /** + * The full name of the Category + * + * @var string + * @readonly + */ + public $fullName = null; + + /** + * The full ids of the Category + * + * @var string + * @readonly + */ + public $fullIds = null; + + /** + * Number of entries in this Category (including child categories) + * + * @var int + * @readonly + */ + public $entriesCount = null; + + /** + * Creation date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * Update date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * Category description + * + * @var string + */ + public $description = null; + + /** + * Category tags + * + * @var string + */ + public $tags = null; + + /** + * If category will be returned for list action. + * + * @var KalturaAppearInListType + */ + public $appearInList = null; + + /** + * defines the privacy of the entries that assigned to this category + * + * @var KalturaPrivacyType + */ + public $privacy = null; + + /** + * If Category members are inherited from parent category or set manualy. + * + * @var KalturaInheritanceType + */ + public $inheritanceType = null; + + /** + * Who can ask to join this category + * + * @var KalturaUserJoinPolicyType + * @readonly + */ + public $userJoinPolicy = null; + + /** + * Default permissionLevel for new users + * + * @var KalturaCategoryUserPermissionLevel + */ + public $defaultPermissionLevel = null; + + /** + * Category Owner (User id) + * + * @var string + */ + public $owner = null; + + /** + * Number of entries that belong to this category directly + * + * @var int + * @readonly + */ + public $directEntriesCount = null; + + /** + * Category external id, controlled and managed by the partner. + * + * @var string + */ + public $referenceId = null; + + /** + * who can assign entries to this category + * + * @var KalturaContributionPolicyType + */ + public $contributionPolicy = null; + + /** + * Number of active members for this category + * + * @var int + * @readonly + */ + public $membersCount = null; + + /** + * Number of pending members for this category + * + * @var int + * @readonly + */ + public $pendingMembersCount = null; + + /** + * Set privacy context for search entries that assiged to private and public categories. the entries will be private if the search context is set with those categories. + * + * @var string + */ + public $privacyContext = null; + + /** + * comma separated parents that defines a privacyContext for search + * + * @var string + * @readonly + */ + public $privacyContexts = null; + + /** + * Status + * + * @var KalturaCategoryStatus + * @readonly + */ + public $status = null; + + /** + * The category id that this category inherit its members and members permission (for contribution and join) + * + * @var int + * @readonly + */ + public $inheritedParentId = null; + + /** + * Can be used to store various partner related data as a numeric value + * + * @var int + */ + public $partnerSortValue = null; + + /** + * Can be used to store various partner related data as a string + * + * @var string + */ + public $partnerData = null; + + /** + * Enable client side applications to define how to sort the category child categories + * + * @var KalturaCategoryOrderBy + */ + public $defaultOrderBy = null; + + /** + * Number of direct children categories + * + * @var int + * @readonly + */ + public $directSubCategoriesCount = null; + + /** + * Moderation to add entries to this category by users that are not of permission level Manager or Moderator. + * + * @var KalturaNullableBoolean + */ + public $moderation = null; + + /** + * Nunber of pending moderation entries + * + * @var int + * @readonly + */ + public $pendingEntriesCount = null; + + /** + * Flag indicating that the category is an aggregation category + * + * @var KalturaNullableBoolean + */ + public $isAggregationCategory = null; + + /** + * List of aggregation channels the category belongs to + * + * @var string + */ + public $aggregationCategories = null; + + /** + * + * + * @var string + */ + public $adminTags = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryEntry extends KalturaObjectBase +{ + /** + * + * + * @var int + */ + public $categoryId = null; + + /** + * entry id + * + * @var string + */ + public $entryId = null; + + /** + * Creation date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * The full ids of the Category + * + * @var string + * @readonly + */ + public $categoryFullIds = null; + + /** + * CategroyEntry status + * + * @var KalturaCategoryEntryStatus + * @readonly + */ + public $status = null; + + /** + * CategroyEntry creator puser ID + * + * @var string + * @readonly + */ + public $creatorUserId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryUser extends KalturaObjectBase +{ + /** + * + * + * @var int + * @insertonly + */ + public $categoryId = null; + + /** + * User id + * + * @var string + * @insertonly + */ + public $userId = null; + + /** + * Partner id + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * Permission level + * + * @var KalturaCategoryUserPermissionLevel + */ + public $permissionLevel = null; + + /** + * Status + * + * @var KalturaCategoryUserStatus + * @readonly + */ + public $status = null; + + /** + * CategoryUser creation date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * CategoryUser update date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * Update method can be either manual or automatic to distinguish between manual operations (for example in KMC) on automatic - using bulk upload + * + * @var KalturaUpdateMethodType + */ + public $updateMethod = null; + + /** + * The full ids of the Category + * + * @var string + * @readonly + */ + public $categoryFullIds = null; + + /** + * Set of category-related permissions for the current category user. + * + * @var string + */ + public $permissionNames = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaClientConfiguration extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $clientTag = null; + + /** + * + * + * @var string + */ + public $apiVersion = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaClientNotification extends KalturaObjectBase +{ + /** + * The URL where the notification should be sent to + * + * @var string + */ + public $url = null; + + /** + * The serialized notification data to send + * + * @var string + */ + public $data = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaClipDescription extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $sourceEntryId = null; + + /** + * + * + * @var int + */ + public $startTime = null; + + /** + * + * + * @var int + */ + public $duration = null; + + /** + * + * + * @var int + */ + public $offsetInDestination = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaContext extends KalturaObjectBase +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaContextDataResult extends KalturaObjectBase +{ + /** + * Array of messages as received from the rules that invalidated + * + * @var array of KalturaString + */ + public $messages; + + /** + * Array of actions as received from the rules that invalidated + * + * @var array of KalturaRuleAction + */ + public $actions; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaControlPanelCommand extends KalturaObjectBase +{ + /** + * The id of the Category + * + * @var int + * @readonly + */ + public $id = null; + + /** + * Creation date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * Creator name + * + * @var string + */ + public $createdBy = null; + + /** + * Update date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * Updater name + * + * @var string + */ + public $updatedBy = null; + + /** + * Creator id + * + * @var int + */ + public $createdById = null; + + /** + * The id of the scheduler that the command refers to + * + * @var int + */ + public $schedulerId = null; + + /** + * The id of the scheduler worker that the command refers to + * + * @var int + */ + public $workerId = null; + + /** + * The id of the scheduler worker as configured in the ini file + * + * @var int + */ + public $workerConfiguredId = null; + + /** + * The name of the scheduler worker that the command refers to + * + * @var int + */ + public $workerName = null; + + /** + * The index of the batch process that the command refers to + * + * @var int + */ + public $batchIndex = null; + + /** + * The command type - stop / start / config + * + * @var KalturaControlPanelCommandType + */ + public $type = null; + + /** + * The command target type - data center / scheduler / job / job type + * + * @var KalturaControlPanelCommandTargetType + */ + public $targetType = null; + + /** + * The command status + * + * @var KalturaControlPanelCommandStatus + */ + public $status = null; + + /** + * The reason for the command + * + * @var string + */ + public $cause = null; + + /** + * Command description + * + * @var string + */ + public $description = null; + + /** + * Error description + * + * @var string + */ + public $errorDescription = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConversionAttribute extends KalturaObjectBase +{ + /** + * The id of the flavor params, set to null for source flavor + * + * @var int + */ + public $flavorParamsId = null; + + /** + * Attribute name + * + * @var string + */ + public $name = null; + + /** + * Attribute value + * + * @var string + */ + public $value = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCropDimensions extends KalturaObjectBase +{ + /** + * Crop left point + * + * @var int + */ + public $left = null; + + /** + * Crop top point + * + * @var int + */ + public $top = null; + + /** + * Crop width + * + * @var int + */ + public $width = null; + + /** + * Crop height + * + * @var int + */ + public $height = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaPluginReplacementOptionsItem extends KalturaObjectBase +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryReplacementOptions extends KalturaObjectBase +{ + /** + * If true manually created thumbnails will not be deleted on entry replacement + * + * @var int + */ + public $keepManualThumbnails = null; + + /** + * Array of plugin replacement options + * + * @var array of KalturaPluginReplacementOptionsItem + */ + public $pluginOptionItems; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConversionProfile extends KalturaObjectBase +{ + /** + * The id of the Conversion Profile + * + * @var int + * @readonly + */ + public $id = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * + * + * @var KalturaConversionProfileStatus + */ + public $status = null; + + /** + * + * + * @var KalturaConversionProfileType + * @insertonly + */ + public $type = null; + + /** + * The name of the Conversion Profile + * + * @var string + */ + public $name = null; + + /** + * System name of the Conversion Profile + * + * @var string + */ + public $systemName = null; + + /** + * Comma separated tags + * + * @var string + */ + public $tags = null; + + /** + * The description of the Conversion Profile + * + * @var string + */ + public $description = null; + + /** + * ID of the default entry to be used for template data + * + * @var string + */ + public $defaultEntryId = null; + + /** + * Creation date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * List of included flavor ids (comma separated) + * + * @var string + */ + public $flavorParamsIds = null; + + /** + * Indicates that this conversion profile is system default + * + * @var KalturaNullableBoolean + */ + public $isDefault = null; + + /** + * Indicates that this conversion profile is partner default + * + * @var bool + * @readonly + */ + public $isPartnerDefault = null; + + /** + * Cropping dimensions + * + * @var KalturaCropDimensions + */ + public $cropDimensions; + + /** + * Clipping start position (in miliseconds) + * + * @var int + */ + public $clipStart = null; + + /** + * Clipping duration (in miliseconds) + * + * @var int + */ + public $clipDuration = null; + + /** + * XSL to transform ingestion MRSS XML + * + * @var string + */ + public $xslTransformation = null; + + /** + * ID of default storage profile to be used for linked net-storage file syncs + * + * @var int + */ + public $storageProfileId = null; + + /** + * Media parser type to be used for extract media + * + * @var KalturaMediaParserType + */ + public $mediaParserType = null; + + /** + * Should calculate file conversion complexity + * + * @var KalturaNullableBoolean + */ + public $calculateComplexity = null; + + /** + * Defines the tags that should be used to define 'collective'/group/multi-flavor processing, + * like 'mbr' or 'ism' + * + * @var string + */ + public $collectionTags = null; + + /** + * JSON string with array of "condition,profile-id" pairs. + * + * @var string + */ + public $conditionalProfiles = null; + + /** + * When set, the ExtractMedia job should detect the source file GOP using this value as the max calculated period + * + * @var int + */ + public $detectGOP = null; + + /** + * XSL to transform ingestion Media Info XML + * + * @var string + */ + public $mediaInfoXslTransformation = null; + + /** + * Default replacement options to be applied to entries + * + * @var KalturaEntryReplacementOptions + */ + public $defaultReplacementOptions; + + /** + * + * + * @var KalturaLanguage + */ + public $defaultAudioLang = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConversionProfileAssetParams extends KalturaObjectBase +{ + /** + * The id of the conversion profile + * + * @var int + * @readonly + */ + public $conversionProfileId = null; + + /** + * The id of the asset params + * + * @var int + * @readonly + */ + public $assetParamsId = null; + + /** + * The ingestion origin of the asset params + * + * @var KalturaFlavorReadyBehaviorType + */ + public $readyBehavior = null; + + /** + * The ingestion origin of the asset params + * + * @var KalturaAssetParamsOrigin + */ + public $origin = null; + + /** + * Asset params system name + * + * @var string + */ + public $systemName = null; + + /** + * Starts conversion even if the decision layer reduced the configuration to comply with the source + * + * @var KalturaNullableBoolean + */ + public $forceNoneComplied = null; + + /** + * Specifies how to treat the flavor after conversion is finished + * + * @var KalturaAssetParamsDeletePolicy + */ + public $deletePolicy = null; + + /** + * + * + * @var KalturaNullableBoolean + */ + public $isEncrypted = null; + + /** + * + * + * @var float + */ + public $contentAwareness = null; + + /** + * + * + * @var int + */ + public $chunkedEncodeMode = null; + + /** + * + * + * @var KalturaNullableBoolean + */ + public $twoPass = null; + + /** + * + * + * @var string + */ + public $tags = null; + + /** + * JSON string containing an array of flavotParams field-value pairs. + * + * @var string + */ + public $overloadParams = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConvertCollectionFlavorData extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $flavorAssetId = null; + + /** + * + * + * @var int + */ + public $flavorParamsOutputId = null; + + /** + * + * + * @var int + */ + public $readyBehavior = null; + + /** + * + * + * @var int + */ + public $videoBitrate = null; + + /** + * + * + * @var int + */ + public $audioBitrate = null; + + /** + * + * + * @var string + */ + public $destFileSyncLocalPath = null; + + /** + * + * + * @var string + */ + public $destFileSyncRemoteUrl = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCoordinate extends KalturaObjectBase +{ + /** + * + * + * @var float + */ + public $latitude = null; + + /** + * + * + * @var float + */ + public $longitude = null; + + /** + * + * + * @var string + */ + public $name = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCsvAdditionalFieldInfo extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $fieldName = null; + + /** + * + * + * @var string + */ + public $xpath = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDataEntry extends KalturaBaseEntry +{ + /** + * The data of the entry + * + * @var string + */ + public $dataContent = null; + + /** + * indicator whether to return the object for get action with the dataContent field. + * + * @var bool + * @insertonly + */ + public $retrieveDataContentByGet = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlRecognizer extends KalturaObjectBase +{ + /** + * The hosts that are recognized + * + * @var string + */ + public $hosts = null; + + /** + * The URI prefix we use for security + * + * @var string + */ + public $uriPrefix = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlTokenizer extends KalturaObjectBase +{ + /** + * Window + * + * @var int + */ + public $window = null; + + /** + * key + * + * @var string + */ + public $key = null; + + /** + * + * + * @var bool + */ + public $limitIpAddress = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaSearchItem extends KalturaObjectBase +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaFilter extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $orderBy = null; + + /** + * + * + * @var KalturaSearchItem + */ + public $advancedSearch; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaRelatedFilter extends KalturaFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaAssetBaseFilter extends KalturaRelatedFilter +{ + /** + * + * + * @var string + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var string + */ + public $entryIdEqual = null; + + /** + * + * + * @var string + */ + public $entryIdIn = null; + + /** + * + * + * @var int + */ + public $partnerIdEqual = null; + + /** + * + * + * @var string + */ + public $partnerIdIn = null; + + /** + * + * + * @var int + */ + public $sizeGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $sizeLessThanOrEqual = null; + + /** + * + * + * @var string + */ + public $tagsLike = null; + + /** + * + * + * @var string + */ + public $tagsMultiLikeOr = null; + + /** + * + * + * @var string + */ + public $tagsMultiLikeAnd = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $deletedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $deletedAtLessThanOrEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAssetFilter extends KalturaAssetBaseFilter +{ + /** + * + * + * @var string + */ + public $typeIn = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfile extends KalturaObjectBase +{ + /** + * The id of the Delivery + * + * @var int + * @readonly + */ + public $id = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * The name of the Delivery + * + * @var string + */ + public $name = null; + + /** + * Delivery type + * + * @var KalturaDeliveryProfileType + */ + public $type = null; + + /** + * System name of the delivery + * + * @var string + */ + public $systemName = null; + + /** + * The description of the Delivery + * + * @var string + */ + public $description = null; + + /** + * Creation time as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * Update time as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * + * + * @var KalturaPlaybackProtocol + */ + public $streamerType = null; + + /** + * + * + * @var string + */ + public $url = null; + + /** + * the host part of the url + * + * @var string + * @readonly + */ + public $hostName = null; + + /** + * + * + * @var KalturaDeliveryStatus + */ + public $status = null; + + /** + * + * + * @var KalturaUrlRecognizer + */ + public $recognizer; + + /** + * + * + * @var KalturaUrlTokenizer + */ + public $tokenizer; + + /** + * True if this is the systemwide default for the protocol + * + * @var KalturaNullableBoolean + * @readonly + */ + public $isDefault = null; + + /** + * the object from which this object was cloned (or 0) + * + * @var int + * @readonly + */ + public $parentId = null; + + /** + * Comma separated list of supported media protocols. f.i. rtmpe + * + * @var string + */ + public $mediaProtocols = null; + + /** + * priority used for ordering similar delivery profiles + * + * @var int + */ + public $priority = null; + + /** + * Extra query string parameters that should be added to the url + * + * @var string + */ + public $extraParams = null; + + /** + * A filter that can be used to include additional assets in the URL (e.g. captions) + * + * @var KalturaAssetFilter + */ + public $supplementaryAssetsFilter; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFileSyncDescriptor extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $fileSyncLocalPath = null; + + /** + * + * + * @var string + */ + public $fileEncryptionKey = null; + + /** + * The translated path as used by the scheduler + * + * @var string + */ + public $fileSyncRemoteUrl = null; + + /** + * + * + * @var int + */ + public $fileSyncObjectSubType = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDestFileSyncDescriptor extends KalturaFileSyncDescriptor +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPager extends KalturaObjectBase +{ + /** + * The number of objects to retrieve. (Default is 30, maximum page size is 500). + * + * @var int + */ + public $pageSize = null; + + /** + * The page number for which {pageSize} of objects should be retrieved (Default is 1). + * + * @var int + */ + public $pageIndex = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFilterPager extends KalturaPager +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaResponseProfileMapping extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $parentProperty = null; + + /** + * + * + * @var string + */ + public $filterProperty = null; + + /** + * + * + * @var bool + */ + public $allowNull = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDetachedResponseProfile extends KalturaBaseResponseProfile +{ + /** + * Friendly name + * + * @var string + */ + public $name = null; + + /** + * + * + * @var KalturaResponseProfileType + */ + public $type = null; + + /** + * Comma separated fields list to be included or excluded + * + * @var string + */ + public $fields = null; + + /** + * + * + * @var KalturaRelatedFilter + */ + public $filter; + + /** + * + * + * @var KalturaFilterPager + */ + public $pager; + + /** + * + * + * @var array of KalturaDetachedResponseProfile + */ + public $relatedProfiles; + + /** + * + * + * @var array of KalturaResponseProfileMapping + */ + public $mappings; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPluginData extends KalturaObjectBase +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDrmPlaybackPluginData extends KalturaPluginData +{ + /** + * + * + * @var KalturaDrmSchemeName + */ + public $scheme = null; + + /** + * + * + * @var string + */ + public $licenseURL = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUser extends KalturaBaseUser +{ + /** + * + * + * @var KalturaUserType + */ + public $type = null; + + /** + * + * + * @var int + */ + public $dateOfBirth = null; + + /** + * + * + * @var KalturaGender + */ + public $gender = null; + + /** + * + * + * @var bool + */ + public $isAdmin = null; + + /** + * + * + * @var string + */ + public $roleIds = null; + + /** + * + * + * @var string + * @readonly + */ + public $roleNames = null; + + /** + * + * + * @var bool + * @insertonly + */ + public $isAccountOwner = null; + + /** + * + * + * @var string + * @insertonly + */ + public $password = null; + + /** + * + * + * @var string + */ + public $firstName = null; + + /** + * + * + * @var string + */ + public $lastName = null; + + /** + * + * + * @var bool + * @insertonly + */ + public $loginEnabled = null; + + /** + * + * + * @var string + */ + public $registrationInfo = null; + + /** + * + * + * @var string + */ + public $attendanceInfo = null; + + /** + * + * + * @var string + */ + public $title = null; + + /** + * + * + * @var string + */ + public $company = null; + + /** + * + * + * @var string + */ + public $ksPrivileges = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEffect extends KalturaObjectBase +{ + /** + * + * + * @var KalturaEffectType + */ + public $effectType = null; + + /** + * value + * + * @var string + */ + public $value = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEmailIngestionProfile extends KalturaObjectBase +{ + /** + * + * + * @var int + * @readonly + */ + public $id = null; + + /** + * + * + * @var string + */ + public $name = null; + + /** + * + * + * @var string + */ + public $description = null; + + /** + * + * + * @var string + */ + public $emailAddress = null; + + /** + * + * + * @var string + */ + public $mailboxId = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * + * + * @var int + */ + public $conversionProfile2Id = null; + + /** + * + * + * @var KalturaEntryModerationStatus + */ + public $moderationStatus = null; + + /** + * + * + * @var KalturaEmailIngestionProfileStatus + * @readonly + */ + public $status = null; + + /** + * + * + * @var string + * @readonly + */ + public $createdAt = null; + + /** + * + * + * @var string + */ + public $defaultCategory = null; + + /** + * + * + * @var string + */ + public $defaultUserId = null; + + /** + * + * + * @var string + */ + public $defaultTags = null; + + /** + * + * + * @var string + */ + public $defaultAdminTags = null; + + /** + * + * + * @var int + */ + public $maxAttachmentSizeKbytes = null; + + /** + * + * + * @var int + */ + public $maxAttachmentsPerMail = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStringValue extends KalturaValue +{ + /** + * + * + * @var string + */ + public $value = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaEntryServerNode extends KalturaObjectBase +{ + /** + * unique auto-generated identifier + * + * @var int + * @readonly + */ + public $id = null; + + /** + * + * + * @var string + * @readonly + */ + public $entryId = null; + + /** + * + * + * @var int + * @readonly + */ + public $serverNodeId = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * + * + * @var KalturaEntryServerNodeStatus + * @readonly + */ + public $status = null; + + /** + * + * + * @var KalturaEntryServerNodeType + * @readonly + */ + public $serverType = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaExportToCsvOptions extends KalturaObjectBase +{ + /** + * The format of the outputted date string. There are also several predefined date constants that may be used instead, so for example DATE_RSS contains the format string 'D, d M Y H:i:s'. + * https://www.php.net/manual/en/function.date.php + * + * @var string + */ + public $format = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaObjectIdentifier extends KalturaObjectBase +{ + /** + * Comma separated string of enum values denoting which features of the item need to be included in the MRSS + * + * @var string + */ + public $extendedFeatures = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaExtendingItemMrssParameter extends KalturaObjectBase +{ + /** + * XPath for the extending item + * + * @var string + */ + public $xpath = null; + + /** + * Object identifier + * + * @var KalturaObjectIdentifier + */ + public $identifier; + + /** + * Mode of extension - append to MRSS or replace the xpath content. + * + * @var KalturaMrssExtensionMode + */ + public $extensionMode = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlayableEntry extends KalturaBaseEntry +{ + /** + * Number of plays + * + * @var int + * @readonly + */ + public $plays = null; + + /** + * Number of views + * + * @var int + * @readonly + */ + public $views = null; + + /** + * The last time the entry was played + * + * @var int + * @readonly + */ + public $lastPlayedAt = null; + + /** + * The width in pixels + * + * @var int + * @readonly + */ + public $width = null; + + /** + * The height in pixels + * + * @var int + * @readonly + */ + public $height = null; + + /** + * The duration in seconds + * + * @var int + * @readonly + */ + public $duration = null; + + /** + * The duration in miliseconds + * + * @var int + */ + public $msDuration = null; + + /** + * The duration type (short for 0-4 mins, medium for 4-20 mins, long for 20+ mins) + * + * @var KalturaDurationType + * @readonly + */ + public $durationType = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStreamContainer extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $id = null; + + /** + * + * + * @var string + */ + public $type = null; + + /** + * + * + * @var int + */ + public $trackIndex = null; + + /** + * + * + * @var string + */ + public $language = null; + + /** + * + * + * @var int + */ + public $channelIndex = null; + + /** + * + * + * @var string + */ + public $label = null; + + /** + * + * + * @var string + */ + public $channelLayout = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaEntry extends KalturaPlayableEntry +{ + /** + * The media type of the entry + * + * @var KalturaMediaType + * @insertonly + */ + public $mediaType = null; + + /** + * Override the default conversion quality + * + * @var string + * @insertonly + */ + public $conversionQuality = null; + + /** + * The source type of the entry + * + * @var KalturaSourceType + * @insertonly + */ + public $sourceType = null; + + /** + * The source version of the entry + * + * @var string + * @insertonly + */ + public $sourceVersion = null; + + /** + * The search provider type used to import this entry + * + * @var KalturaSearchProviderType + * @insertonly + */ + public $searchProviderType = null; + + /** + * The ID of the media in the importing site + * + * @var string + * @insertonly + */ + public $searchProviderId = null; + + /** + * The user name used for credits + * + * @var string + */ + public $creditUserName = null; + + /** + * The URL for credits + * + * @var string + */ + public $creditUrl = null; + + /** + * The media date extracted from EXIF data (For images) as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $mediaDate = null; + + /** + * The URL used for playback. This is not the download URL. + * + * @var string + * @readonly + */ + public $dataUrl = null; + + /** + * Comma separated flavor params ids that exists for this media entry + * + * @var string + * @readonly + */ + public $flavorParamsIds = null; + + /** + * True if trim action is disabled for this entry + * + * @var KalturaNullableBoolean + * @readonly + */ + public $isTrimDisabled = null; + + /** + * Array of streams that exists on the entry + * + * @var array of KalturaStreamContainer + */ + public $streams; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFeatureStatus extends KalturaObjectBase +{ + /** + * + * + * @var KalturaFeatureStatusType + */ + public $type = null; + + /** + * + * + * @var int + */ + public $value = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFileAsset extends KalturaObjectBase +{ + /** + * + * + * @var int + * @readonly + */ + public $id = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * + * + * @var KalturaFileAssetObjectType + * @insertonly + */ + public $fileAssetObjectType = null; + + /** + * + * + * @var string + * @insertonly + */ + public $objectId = null; + + /** + * + * + * @var string + */ + public $name = null; + + /** + * + * + * @var string + */ + public $systemName = null; + + /** + * + * + * @var string + */ + public $fileExt = null; + + /** + * + * + * @var int + * @readonly + */ + public $version = null; + + /** + * + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * + * + * @var KalturaFileAssetStatus + * @readonly + */ + public $status = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFileContainer extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $filePath = null; + + /** + * + * + * @var string + */ + public $encryptionKey = null; + + /** + * + * + * @var int + */ + public $fileSize = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFlavorAsset extends KalturaAsset +{ + /** + * The Flavor Params used to create this Flavor Asset + * + * @var int + * @insertonly + */ + public $flavorParamsId = null; + + /** + * The width of the Flavor Asset + * + * @var int + * @readonly + */ + public $width = null; + + /** + * The height of the Flavor Asset + * + * @var int + * @readonly + */ + public $height = null; + + /** + * The overall bitrate (in KBits) of the Flavor Asset + * + * @var int + * @readonly + */ + public $bitrate = null; + + /** + * The frame rate (in FPS) of the Flavor Asset + * + * @var float + * @readonly + */ + public $frameRate = null; + + /** + * True if this Flavor Asset is the original source + * + * @var bool + * @readonly + */ + public $isOriginal = null; + + /** + * True if this Flavor Asset is playable in KDP + * + * @var bool + * @readonly + */ + public $isWeb = null; + + /** + * The container format + * + * @var string + * @readonly + */ + public $containerFormat = null; + + /** + * The video codec + * + * @var string + * @readonly + */ + public $videoCodecId = null; + + /** + * The status of the Flavor Asset + * + * @var KalturaFlavorAssetStatus + * @readonly + */ + public $status = null; + + /** + * The language of the flavor asset + * + * @var KalturaLanguage + */ + public $language = null; + + /** + * The label of the flavor asset + * + * @var string + */ + public $label = null; + + /** + * Is default flavor asset of the entry (This field will be taken into account selectign which audio flavor will be selected as default) + * + * @var KalturaNullableBoolean + */ + public $isDefault = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFlavorAssetUrlOptions extends KalturaObjectBase +{ + /** + * The name of the downloaded file + * + * @var string + */ + public $fileName = null; + + /** + * + * + * @var string + */ + public $referrer = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFlavorParams extends KalturaAssetParams +{ + /** + * The video codec of the Flavor Params + * + * @var KalturaVideoCodec + */ + public $videoCodec = null; + + /** + * The video bitrate (in KBits) of the Flavor Params + * + * @var int + */ + public $videoBitrate = null; + + /** + * The audio codec of the Flavor Params + * + * @var KalturaAudioCodec + */ + public $audioCodec = null; + + /** + * The audio bitrate (in KBits) of the Flavor Params + * + * @var int + */ + public $audioBitrate = null; + + /** + * The number of audio channels for "downmixing" + * + * @var int + */ + public $audioChannels = null; + + /** + * The audio sample rate of the Flavor Params + * + * @var int + */ + public $audioSampleRate = null; + + /** + * The desired width of the Flavor Params + * + * @var int + */ + public $width = null; + + /** + * The desired height of the Flavor Params + * + * @var int + */ + public $height = null; + + /** + * The frame rate of the Flavor Params + * + * @var float + */ + public $frameRate = null; + + /** + * The gop size of the Flavor Params + * + * @var int + */ + public $gopSize = null; + + /** + * The list of conversion engines (comma separated) + * + * @var string + */ + public $conversionEngines = null; + + /** + * The list of conversion engines extra params (separated with "|") + * + * @var string + */ + public $conversionEnginesExtraParams = null; + + /** + * + * + * @var bool + */ + public $twoPass = null; + + /** + * + * + * @var int + */ + public $deinterlice = null; + + /** + * + * + * @var int + */ + public $rotate = null; + + /** + * + * + * @var string + */ + public $operators = null; + + /** + * + * + * @var int + */ + public $engineVersion = null; + + /** + * The container format of the Flavor Params + * + * @var KalturaContainerFormat + */ + public $format = null; + + /** + * + * + * @var int + */ + public $aspectRatioProcessingMode = null; + + /** + * + * + * @var int + */ + public $forceFrameToMultiplication16 = null; + + /** + * + * + * @var int + */ + public $isGopInSec = null; + + /** + * + * + * @var int + */ + public $isAvoidVideoShrinkFramesizeToSource = null; + + /** + * + * + * @var int + */ + public $isAvoidVideoShrinkBitrateToSource = null; + + /** + * + * + * @var int + */ + public $isVideoFrameRateForLowBrAppleHls = null; + + /** + * + * + * @var string + */ + public $multiStream = null; + + /** + * + * + * @var float + */ + public $anamorphicPixels = null; + + /** + * + * + * @var int + */ + public $isAvoidForcedKeyFrames = null; + + /** + * + * + * @var int + */ + public $forcedKeyFramesMode = null; + + /** + * + * + * @var int + */ + public $isCropIMX = null; + + /** + * + * + * @var int + */ + public $optimizationPolicy = null; + + /** + * + * + * @var int + */ + public $maxFrameRate = null; + + /** + * + * + * @var int + */ + public $videoConstantBitrate = null; + + /** + * + * + * @var int + */ + public $videoBitrateTolerance = null; + + /** + * + * + * @var string + */ + public $watermarkData = null; + + /** + * + * + * @var string + */ + public $subtitlesData = null; + + /** + * + * + * @var int + */ + public $isEncrypted = null; + + /** + * + * + * @var float + */ + public $contentAwareness = null; + + /** + * + * + * @var int + */ + public $chunkedEncodeMode = null; + + /** + * + * + * @var int + */ + public $clipOffset = null; + + /** + * + * + * @var int + */ + public $clipDuration = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFlavorAssetWithParams extends KalturaObjectBase +{ + /** + * The Flavor Asset (Can be null when there are params without asset) + * + * @var KalturaFlavorAsset + */ + public $flavorAsset; + + /** + * The Flavor Params + * + * @var KalturaFlavorParams + */ + public $flavorParams; + + /** + * The entry id + * + * @var string + */ + public $entryId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFlavorParamsOutput extends KalturaFlavorParams +{ + /** + * + * + * @var int + */ + public $flavorParamsId = null; + + /** + * + * + * @var string + */ + public $commandLinesStr = null; + + /** + * + * + * @var string + */ + public $flavorParamsVersion = null; + + /** + * + * + * @var string + */ + public $flavorAssetId = null; + + /** + * + * + * @var string + */ + public $flavorAssetVersion = null; + + /** + * + * + * @var int + */ + public $readyBehavior = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSchedulerStatus extends KalturaObjectBase +{ + /** + * The id of the Category + * + * @var int + * @readonly + */ + public $id = null; + + /** + * The configured id of the scheduler + * + * @var int + */ + public $schedulerConfiguredId = null; + + /** + * The configured id of the job worker + * + * @var int + */ + public $workerConfiguredId = null; + + /** + * The type of the job worker. + * + * @var KalturaBatchJobType + */ + public $workerType = null; + + /** + * The status type + * + * @var KalturaSchedulerStatusType + */ + public $type = null; + + /** + * The status value + * + * @var int + */ + public $value = null; + + /** + * The id of the scheduler + * + * @var int + * @readonly + */ + public $schedulerId = null; + + /** + * The id of the worker + * + * @var int + * @readonly + */ + public $workerId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSchedulerConfig extends KalturaObjectBase +{ + /** + * The id of the Category + * + * @var int + * @readonly + */ + public $id = null; + + /** + * Creator name + * + * @var string + */ + public $createdBy = null; + + /** + * Updater name + * + * @var string + */ + public $updatedBy = null; + + /** + * Id of the control panel command that created this config item + * + * @var string + */ + public $commandId = null; + + /** + * The status of the control panel command + * + * @var string + */ + public $commandStatus = null; + + /** + * The id of the scheduler + * + * @var int + */ + public $schedulerId = null; + + /** + * The configured id of the scheduler + * + * @var int + */ + public $schedulerConfiguredId = null; + + /** + * The name of the scheduler + * + * @var string + */ + public $schedulerName = null; + + /** + * The id of the job worker + * + * @var int + */ + public $workerId = null; + + /** + * The configured id of the job worker + * + * @var int + */ + public $workerConfiguredId = null; + + /** + * The name of the job worker + * + * @var string + */ + public $workerName = null; + + /** + * The name of the variable + * + * @var string + */ + public $variable = null; + + /** + * The part of the variable + * + * @var string + */ + public $variablePart = null; + + /** + * The value of the variable + * + * @var string + */ + public $value = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSchedulerWorker extends KalturaObjectBase +{ + /** + * The id of the Worker + * + * @var int + * @readonly + */ + public $id = null; + + /** + * The id as configured in the batch config + * + * @var int + */ + public $configuredId = null; + + /** + * The id of the Scheduler + * + * @var int + */ + public $schedulerId = null; + + /** + * The id of the scheduler as configured in the batch config + * + * @var int + */ + public $schedulerConfiguredId = null; + + /** + * The worker type + * + * @var KalturaBatchJobType + */ + public $type = null; + + /** + * The friendly name of the type + * + * @var string + */ + public $typeName = null; + + /** + * The scheduler name + * + * @var string + */ + public $name = null; + + /** + * Array of the last statuses + * + * @var array of KalturaSchedulerStatus + */ + public $statuses; + + /** + * Array of the last configs + * + * @var array of KalturaSchedulerConfig + */ + public $configs; + + /** + * Array of jobs that locked to this worker + * + * @var array of KalturaBatchJob + */ + public $lockedJobs; + + /** + * Avarage time between creation and queue time + * + * @var int + */ + public $avgWait = null; + + /** + * Avarage time between queue time end finish time + * + * @var int + */ + public $avgWork = null; + + /** + * last status time + * + * @var int + */ + public $lastStatus = null; + + /** + * last status formated + * + * @var string + */ + public $lastStatusStr = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaScheduler extends KalturaObjectBase +{ + /** + * The id of the Scheduler + * + * @var int + * @readonly + */ + public $id = null; + + /** + * The id as configured in the batch config + * + * @var int + */ + public $configuredId = null; + + /** + * The scheduler name + * + * @var string + */ + public $name = null; + + /** + * The host name + * + * @var string + */ + public $host = null; + + /** + * Array of the last statuses + * + * @var array of KalturaSchedulerStatus + * @readonly + */ + public $statuses; + + /** + * Array of the last configs + * + * @var array of KalturaSchedulerConfig + * @readonly + */ + public $configs; + + /** + * Array of the workers + * + * @var array of KalturaSchedulerWorker + * @readonly + */ + public $workers; + + /** + * creation time + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * last status time + * + * @var int + * @readonly + */ + public $lastStatus = null; + + /** + * last status formated + * + * @var string + * @readonly + */ + public $lastStatusStr = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGroupUser extends KalturaObjectBase +{ + /** + * + * + * @var string + * @readonly + */ + public $id = null; + + /** + * + * + * @var string + * @insertonly + */ + public $userId = null; + + /** + * + * + * @var string + * @insertonly + */ + public $groupId = null; + + /** + * + * + * @var KalturaGroupUserStatus + * @readonly + */ + public $status = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * Creation date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * Last update date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * + * + * @var KalturaGroupUserCreationMode + * @insertonly + */ + public $creationMode = null; + + /** + * + * + * @var KalturaGroupUserRole + */ + public $userRole = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaObject extends KalturaObjectBase +{ + /** + * + * + * @var map + * @readonly + */ + public $relatedObjects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaIntegerValue extends KalturaValue +{ + /** + * + * + * @var int + */ + public $value = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBatchJobListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaBatchJob + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaInfo extends KalturaObjectBase +{ + /** + * The id of the media info + * + * @var int + * @readonly + */ + public $id = null; + + /** + * The id of the related flavor asset + * + * @var string + */ + public $flavorAssetId = null; + + /** + * The file size + * + * @var int + */ + public $fileSize = null; + + /** + * The container format + * + * @var string + */ + public $containerFormat = null; + + /** + * The container id + * + * @var string + */ + public $containerId = null; + + /** + * The container profile + * + * @var string + */ + public $containerProfile = null; + + /** + * The container duration + * + * @var int + */ + public $containerDuration = null; + + /** + * The container bit rate + * + * @var int + */ + public $containerBitRate = null; + + /** + * The video format + * + * @var string + */ + public $videoFormat = null; + + /** + * The video codec id + * + * @var string + */ + public $videoCodecId = null; + + /** + * The video duration + * + * @var int + */ + public $videoDuration = null; + + /** + * The video bit rate + * + * @var int + */ + public $videoBitRate = null; + + /** + * The video bit rate mode + * + * @var KalturaBitRateMode + */ + public $videoBitRateMode = null; + + /** + * The video width + * + * @var int + */ + public $videoWidth = null; + + /** + * The video height + * + * @var int + */ + public $videoHeight = null; + + /** + * The video frame rate + * + * @var float + */ + public $videoFrameRate = null; + + /** + * The video display aspect ratio (dar) + * + * @var float + */ + public $videoDar = null; + + /** + * + * + * @var int + */ + public $videoRotation = null; + + /** + * The audio format + * + * @var string + */ + public $audioFormat = null; + + /** + * The audio codec id + * + * @var string + */ + public $audioCodecId = null; + + /** + * The audio duration + * + * @var int + */ + public $audioDuration = null; + + /** + * The audio bit rate + * + * @var int + */ + public $audioBitRate = null; + + /** + * The audio bit rate mode + * + * @var KalturaBitRateMode + */ + public $audioBitRateMode = null; + + /** + * The number of audio channels + * + * @var int + */ + public $audioChannels = null; + + /** + * The audio sampling rate + * + * @var int + */ + public $audioSamplingRate = null; + + /** + * The audio resolution + * + * @var int + */ + public $audioResolution = null; + + /** + * The writing library + * + * @var string + */ + public $writingLib = null; + + /** + * The data as returned by the mediainfo command line + * + * @var string + */ + public $rawData = null; + + /** + * + * + * @var string + */ + public $multiStreamInfo = null; + + /** + * + * + * @var int + */ + public $scanType = null; + + /** + * + * + * @var string + */ + public $multiStream = null; + + /** + * + * + * @var int + */ + public $isFastStart = null; + + /** + * + * + * @var string + */ + public $contentStreams = null; + + /** + * + * + * @var int + */ + public $complexityValue = null; + + /** + * + * + * @var float + */ + public $maxGOP = null; + + /** + * + * + * @var string + */ + public $matrixCoefficients = null; + + /** + * + * + * @var string + */ + public $colorTransfer = null; + + /** + * + * + * @var string + */ + public $colorPrimaries = null; + + /** + * + * + * @var string + */ + public $pixelFormat = null; + + /** + * + * + * @var string + */ + public $colorSpace = null; + + /** + * + * + * @var string + */ + public $chromaSubsampling = null; + + /** + * + * + * @var int + */ + public $bitsDepth = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaInfoListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaMediaInfo + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFlavorParamsOutputListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaFlavorParamsOutput + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaThumbAsset extends KalturaAsset +{ + /** + * The Flavor Params used to create this Flavor Asset + * + * @var int + * @insertonly + */ + public $thumbParamsId = null; + + /** + * The width of the Flavor Asset + * + * @var int + * @readonly + */ + public $width = null; + + /** + * The height of the Flavor Asset + * + * @var int + * @readonly + */ + public $height = null; + + /** + * The status of the asset + * + * @var KalturaThumbAssetStatus + * @readonly + */ + public $status = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaThumbParams extends KalturaAssetParams +{ + /** + * + * + * @var KalturaThumbCropType + */ + public $cropType = null; + + /** + * + * + * @var int + */ + public $quality = null; + + /** + * + * + * @var int + */ + public $cropX = null; + + /** + * + * + * @var int + */ + public $cropY = null; + + /** + * + * + * @var int + */ + public $cropWidth = null; + + /** + * + * + * @var int + */ + public $cropHeight = null; + + /** + * + * + * @var float + */ + public $videoOffset = null; + + /** + * + * + * @var int + */ + public $width = null; + + /** + * + * + * @var int + */ + public $height = null; + + /** + * + * + * @var float + */ + public $scaleWidth = null; + + /** + * + * + * @var float + */ + public $scaleHeight = null; + + /** + * Hexadecimal value + * + * @var string + */ + public $backgroundColor = null; + + /** + * Id of the flavor params or the thumbnail params to be used as source for the thumbnail creation + * + * @var int + */ + public $sourceParamsId = null; + + /** + * The container format of the Flavor Params + * + * @var KalturaContainerFormat + */ + public $format = null; + + /** + * The image density (dpi) for example: 72 or 96 + * + * @var int + */ + public $density = null; + + /** + * Strip profiles and comments + * + * @var bool + */ + public $stripProfiles = null; + + /** + * Create thumbnail from the videoLengthpercentage second + * + * @var int + */ + public $videoOffsetInPercentage = null; + + /** + * interval in seconds for creating thumbnail + * + * @var int + */ + public $interval = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaThumbParamsOutput extends KalturaThumbParams +{ + /** + * + * + * @var int + */ + public $thumbParamsId = null; + + /** + * + * + * @var string + */ + public $thumbParamsVersion = null; + + /** + * + * + * @var string + */ + public $thumbAssetId = null; + + /** + * + * + * @var string + */ + public $thumbAssetVersion = null; + + /** + * + * + * @var int + */ + public $rotate = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaThumbParamsOutputListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaThumbParamsOutput + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamConfiguration extends KalturaObjectBase +{ + /** + * + * + * @var KalturaPlaybackProtocol + */ + public $protocol = null; + + /** + * + * + * @var string + */ + public $url = null; + + /** + * + * + * @var string + */ + public $publishUrl = null; + + /** + * + * + * @var string + */ + public $backupUrl = null; + + /** + * + * + * @var string + */ + public $streamName = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamPushPublishConfiguration extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $publishUrl = null; + + /** + * + * + * @var string + */ + public $backupPublishUrl = null; + + /** + * + * + * @var string + */ + public $port = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveEntryRecordingOptions extends KalturaObjectBase +{ + /** + * + * + * @var KalturaNullableBoolean + */ + public $shouldCopyEntitlement = null; + + /** + * + * + * @var KalturaNullableBoolean + */ + public $shouldCopyScheduling = null; + + /** + * + * + * @var KalturaNullableBoolean + */ + public $shouldCopyThumbnail = null; + + /** + * + * + * @var KalturaNullableBoolean + */ + public $shouldMakeHidden = null; + + /** + * + * + * @var KalturaNullableBoolean + */ + public $shouldAutoArchive = null; + + /** + * + * + * @var string + */ + public $nonDeletedCuePointsTags = null; + + /** + * + * + * @var string + */ + public $archiveVodSuffixTimezone = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaLiveEntry extends KalturaMediaEntry +{ + /** + * The message to be presented when the stream is offline + * + * @var string + */ + public $offlineMessage = null; + + /** + * Recording Status Enabled/Disabled + * + * @var KalturaRecordStatus + */ + public $recordStatus = null; + + /** + * DVR Status Enabled/Disabled + * + * @var KalturaDVRStatus + */ + public $dvrStatus = null; + + /** + * Window of time which the DVR allows for backwards scrubbing (in minutes) + * + * @var int + */ + public $dvrWindow = null; + + /** + * Elapsed recording time (in msec) up to the point where the live stream was last stopped (unpublished). + * + * @var int + */ + public $lastElapsedRecordingTime = null; + + /** + * Array of key value protocol->live stream url objects + * + * @var array of KalturaLiveStreamConfiguration + */ + public $liveStreamConfigurations; + + /** + * Recorded entry id + * + * @var string + */ + public $recordedEntryId = null; + + /** + * Flag denoting whether entry should be published by the media server + * + * @var KalturaLivePublishStatus + */ + public $pushPublishEnabled = null; + + /** + * Array of publish configurations + * + * @var array of KalturaLiveStreamPushPublishConfiguration + */ + public $publishConfigurations; + + /** + * The first time in which the entry was broadcast + * + * @var int + * @readonly + */ + public $firstBroadcast = null; + + /** + * The Last time in which the entry was broadcast + * + * @var int + * @readonly + */ + public $lastBroadcast = null; + + /** + * The time (unix timestamp in milliseconds) in which the entry broadcast started or 0 when the entry is off the air + * + * @var float + */ + public $currentBroadcastStartTime = null; + + /** + * + * + * @var KalturaLiveEntryRecordingOptions + */ + public $recordingOptions; + + /** + * the status of the entry of type EntryServerNodeStatus + * + * @var KalturaEntryServerNodeStatus + * @readonly + */ + public $liveStatus = null; + + /** + * The chunk duration value in milliseconds + * + * @var int + */ + public $segmentDuration = null; + + /** + * + * + * @var KalturaNullableBoolean + */ + public $explicitLive = null; + + /** + * + * + * @var KalturaViewMode + */ + public $viewMode = null; + + /** + * + * + * @var KalturaRecordingStatus + */ + public $recordingStatus = null; + + /** + * The time the last broadcast finished. + * + * @var int + * @readonly + */ + public $lastBroadcastEndTime = null; + + /** + * The time when the entry was first live with view_all + * + * @var int + */ + public $broadcastTime = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveChannel extends KalturaLiveEntry +{ + /** + * Playlist id to be played + * + * @var string + */ + public $playlistId = null; + + /** + * Indicates that the segments should be repeated for ever + * + * @var KalturaNullableBoolean + */ + public $repeat = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveChannelSegment extends KalturaObjectBase +{ + /** + * Unique identifier + * + * @var int + * @readonly + */ + public $id = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * Segment creation date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * Segment update date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * Segment name + * + * @var string + */ + public $name = null; + + /** + * Segment description + * + * @var string + */ + public $description = null; + + /** + * Segment tags + * + * @var string + */ + public $tags = null; + + /** + * Segment could be associated with the main stream, as additional stream or as overlay + * + * @var KalturaLiveChannelSegmentType + */ + public $type = null; + + /** + * + * + * @var KalturaLiveChannelSegmentStatus + * @readonly + */ + public $status = null; + + /** + * Live channel id + * + * @var string + */ + public $channelId = null; + + /** + * Entry id to be played + * + * @var string + */ + public $entryId = null; + + /** + * Segment start time trigger type + * + * @var KalturaLiveChannelSegmentTriggerType + */ + public $triggerType = null; + + /** + * Live channel segment that the trigger relates to + * + * @var int + */ + public $triggerSegmentId = null; + + /** + * Segment play start time, in mili-seconds, according to trigger type + * + * @var float + */ + public $startTime = null; + + /** + * Segment play duration time, in mili-seconds + * + * @var float + */ + public $duration = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveEntryServerNodeRecordingInfo extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $recordedEntryId = null; + + /** + * + * + * @var int + */ + public $duration = null; + + /** + * + * + * @var KalturaEntryServerNodeRecordingStatus + */ + public $recordingStatus = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveReportExportParams extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $entryIds = null; + + /** + * + * + * @var string + */ + public $recpientEmail = null; + + /** + * Time zone offset in minutes (between client to UTC) + * + * @var int + */ + public $timeZoneOffset = null; + + /** + * Optional argument that allows controlling the prefix of the exported csv url + * + * @var string + */ + public $applicationUrlTemplate = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveReportExportResponse extends KalturaObjectBase +{ + /** + * + * + * @var int + */ + public $referenceJobId = null; + + /** + * + * + * @var string + */ + public $reportEmail = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveReportInputFilter extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $entryIds = null; + + /** + * + * + * @var int + */ + public $fromTime = null; + + /** + * + * + * @var int + */ + public $toTime = null; + + /** + * + * + * @var KalturaNullableBoolean + */ + public $live = null; + + /** + * + * + * @var KalturaLiveReportOrderBy + */ + public $orderBy = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStats extends KalturaObjectBase +{ + /** + * + * + * @var int + */ + public $audience = null; + + /** + * + * + * @var int + */ + public $dvrAudience = null; + + /** + * + * + * @var float + */ + public $avgBitrate = null; + + /** + * + * + * @var int + */ + public $bufferTime = null; + + /** + * + * + * @var int + */ + public $plays = null; + + /** + * + * + * @var int + */ + public $secondsViewed = null; + + /** + * + * + * @var int + */ + public $startEvent = null; + + /** + * + * + * @var int + */ + public $timestamp = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStatsEvent extends KalturaObjectBase +{ + /** + * + * + * @var int + */ + public $partnerId = null; + + /** + * + * + * @var string + */ + public $entryId = null; + + /** + * an integer representing the type of event being sent from the player + * + * @var KalturaLiveStatsEventType + */ + public $eventType = null; + + /** + * a unique string generated by the client that will represent the client-side session: the primary component will pass it on to other components that sprout from it + * + * @var string + */ + public $sessionId = null; + + /** + * incremental sequence of the event + * + * @var int + */ + public $eventIndex = null; + + /** + * buffer time in seconds from the last 10 seconds + * + * @var int + */ + public $bufferTime = null; + + /** + * bitrate used in the last 10 seconds + * + * @var int + */ + public $bitrate = null; + + /** + * the referrer of the client + * + * @var string + */ + public $referrer = null; + + /** + * + * + * @var bool + */ + public $isLive = null; + + /** + * the event start time as string + * + * @var string + */ + public $startTime = null; + + /** + * delivery type used for this stream + * + * @var KalturaPlaybackProtocol + */ + public $deliveryType = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamBitrate extends KalturaObjectBase +{ + /** + * + * + * @var int + */ + public $bitrate = null; + + /** + * + * + * @var int + */ + public $width = null; + + /** + * + * + * @var int + */ + public $height = null; + + /** + * + * + * @var string + */ + public $tags = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamDetails extends KalturaObjectBase +{ + /** + * The status of the primary stream + * + * @var KalturaEntryServerNodeStatus + */ + public $primaryStreamStatus = null; + + /** + * The status of the secondary stream + * + * @var KalturaEntryServerNodeStatus + */ + public $secondaryStreamStatus = null; + + /** + * + * + * @var KalturaViewMode + */ + public $viewMode = null; + + /** + * + * + * @var bool + */ + public $wasBroadcast = null; + + /** + * + * + * @var KalturaLiveStreamBroadcastStatus + */ + public $broadcastStatus = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamEntry extends KalturaLiveEntry +{ + /** + * The stream id as provided by the provider + * + * @var string + * @readonly + */ + public $streamRemoteId = null; + + /** + * The backup stream id as provided by the provider + * + * @var string + * @readonly + */ + public $streamRemoteBackupId = null; + + /** + * Array of supported bitrates + * + * @var array of KalturaLiveStreamBitrate + */ + public $bitrates; + + /** + * + * + * @var string + */ + public $primaryBroadcastingUrl = null; + + /** + * + * + * @var string + */ + public $secondaryBroadcastingUrl = null; + + /** + * + * + * @var string + */ + public $primarySecuredBroadcastingUrl = null; + + /** + * + * + * @var string + */ + public $secondarySecuredBroadcastingUrl = null; + + /** + * + * + * @var string + */ + public $primaryRtspBroadcastingUrl = null; + + /** + * + * + * @var string + */ + public $secondaryRtspBroadcastingUrl = null; + + /** + * + * + * @var string + */ + public $streamName = null; + + /** + * The stream url + * + * @var string + */ + public $streamUrl = null; + + /** + * HLS URL - URL for live stream playback on mobile device + * + * @var string + */ + public $hlsStreamUrl = null; + + /** + * URL Manager to handle the live stream URL (for instance, add token) + * + * @var string + */ + public $urlManager = null; + + /** + * The broadcast primary ip + * + * @var string + */ + public $encodingIP1 = null; + + /** + * The broadcast secondary ip + * + * @var string + */ + public $encodingIP2 = null; + + /** + * The broadcast password + * + * @var string + */ + public $streamPassword = null; + + /** + * The broadcast username + * + * @var string + * @readonly + */ + public $streamUsername = null; + + /** + * The Streams primary server node id + * + * @var int + * @readonly + */ + public $primaryServerNodeId = null; + + /** + * + * + * @var string + * @readonly + */ + public $sipToken = null; + + /** + * + * + * @var KalturaSipSourceType + * @readonly + */ + public $sipSourceType = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamParams extends KalturaObjectBase +{ + /** + * Bit rate of the stream. (i.e. 900) + * + * @var int + */ + public $bitrate = null; + + /** + * flavor asset id + * + * @var string + */ + public $flavorId = null; + + /** + * Stream's width + * + * @var int + */ + public $width = null; + + /** + * Stream's height + * + * @var int + */ + public $height = null; + + /** + * Live stream's codec + * + * @var string + */ + public $codec = null; + + /** + * Live stream's farme rate + * + * @var int + */ + public $frameRate = null; + + /** + * Live stream's key frame interval + * + * @var float + */ + public $keyFrameInterval = null; + + /** + * Live stream's language + * + * @var string + */ + public $language = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaBaseEntryBaseFilter extends KalturaRelatedFilter +{ + /** + * This filter should be in use for retrieving only a specific entry (identified by its entryId). + * + * @var string + */ + public $idEqual = null; + + /** + * This filter should be in use for retrieving few specific entries (string should include comma separated list of entryId strings). + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var string + */ + public $idNotIn = null; + + /** + * This filter should be in use for retrieving specific entries. It should include only one string to search for in entry names (no wildcards, spaces are treated as part of the string). + * + * @var string + */ + public $nameLike = null; + + /** + * This filter should be in use for retrieving specific entries. It could include few (comma separated) strings for searching in entry names, while applying an OR logic to retrieve entries that contain at least one input string (no wildcards, spaces are treated as part of the string). + * + * @var string + */ + public $nameMultiLikeOr = null; + + /** + * This filter should be in use for retrieving specific entries. It could include few (comma separated) strings for searching in entry names, while applying an AND logic to retrieve entries that contain all input strings (no wildcards, spaces are treated as part of the string). + * + * @var string + */ + public $nameMultiLikeAnd = null; + + /** + * This filter should be in use for retrieving entries with a specific name. + * + * @var string + */ + public $nameEqual = null; + + /** + * This filter should be in use for retrieving only entries which were uploaded by/assigned to users of a specific Kaltura Partner (identified by Partner ID). + * + * @var int + */ + public $partnerIdEqual = null; + + /** + * This filter should be in use for retrieving only entries within Kaltura network which were uploaded by/assigned to users of few Kaltura Partners (string should include comma separated list of PartnerIDs) + * + * @var string + */ + public $partnerIdIn = null; + + /** + * This filter parameter should be in use for retrieving only entries, uploaded by/assigned to a specific user (identified by user Id). + * + * @var string + */ + public $userIdEqual = null; + + /** + * + * + * @var string + */ + public $userIdIn = null; + + /** + * + * + * @var string + */ + public $userIdNotIn = null; + + /** + * + * + * @var string + */ + public $creatorIdEqual = null; + + /** + * This filter should be in use for retrieving specific entries. It should include only one string to search for in entry tags (no wildcards, spaces are treated as part of the string). + * + * @var string + */ + public $tagsLike = null; + + /** + * This filter should be in use for retrieving specific entries. It could include few (comma separated) strings for searching in entry tags, while applying an OR logic to retrieve entries that contain at least one input string (no wildcards, spaces are treated as part of the string). + * + * @var string + */ + public $tagsMultiLikeOr = null; + + /** + * This filter should be in use for retrieving specific entries. It could include few (comma separated) strings for searching in entry tags, while applying an AND logic to retrieve entries that contain all input strings (no wildcards, spaces are treated as part of the string). + * + * @var string + */ + public $tagsMultiLikeAnd = null; + + /** + * This filter should be in use for retrieving specific entries. It should include only one string to search for in entry tags set by an ADMIN user (no wildcards, spaces are treated as part of the string). + * + * @var string + */ + public $adminTagsLike = null; + + /** + * This filter should be in use for retrieving specific entries. It could include few (comma separated) strings for searching in entry tags, set by an ADMIN user, while applying an OR logic to retrieve entries that contain at least one input string (no wildcards, spaces are treated as part of the string). + * + * @var string + */ + public $adminTagsMultiLikeOr = null; + + /** + * This filter should be in use for retrieving specific entries. It could include few (comma separated) strings for searching in entry tags, set by an ADMIN user, while applying an AND logic to retrieve entries that contain all input strings (no wildcards, spaces are treated as part of the string). + * + * @var string + */ + public $adminTagsMultiLikeAnd = null; + + /** + * + * + * @var string + */ + public $categoriesMatchAnd = null; + + /** + * All entries within these categories or their child categories. + * + * @var string + */ + public $categoriesMatchOr = null; + + /** + * + * + * @var string + */ + public $categoriesNotContains = null; + + /** + * + * + * @var string + */ + public $categoriesIdsMatchAnd = null; + + /** + * All entries of the categories, excluding their child categories. + * To include entries of the child categories, use categoryAncestorIdIn, or categoriesMatchOr. + * + * @var string + */ + public $categoriesIdsMatchOr = null; + + /** + * + * + * @var string + */ + public $categoriesIdsNotContains = null; + + /** + * + * + * @var KalturaNullableBoolean + */ + public $categoriesIdsEmpty = null; + + /** + * This filter should be in use for retrieving only entries, at a specific { + * + * @var KalturaEntryStatus + */ + public $statusEqual = null; + + /** + * This filter should be in use for retrieving only entries, not at a specific { + * + * @var KalturaEntryStatus + */ + public $statusNotEqual = null; + + /** + * This filter should be in use for retrieving only entries, at few specific { + * + * @var string + */ + public $statusIn = null; + + /** + * This filter should be in use for retrieving only entries, not at few specific { + * + * @var string + */ + public $statusNotIn = null; + + /** + * + * + * @var KalturaEntryModerationStatus + */ + public $moderationStatusEqual = null; + + /** + * + * + * @var KalturaEntryModerationStatus + */ + public $moderationStatusNotEqual = null; + + /** + * + * + * @var string + */ + public $moderationStatusIn = null; + + /** + * + * + * @var string + */ + public $moderationStatusNotIn = null; + + /** + * + * + * @var KalturaEntryType + */ + public $typeEqual = null; + + /** + * This filter should be in use for retrieving entries of few { + * + * @var string + */ + public $typeIn = null; + + /** + * This filter parameter should be in use for retrieving only entries which were created at Kaltura system after a specific time/date (standard timestamp format). + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * This filter parameter should be in use for retrieving only entries which were created at Kaltura system before a specific time/date (standard timestamp format). + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + /** + * + * + * @var float + */ + public $rankLessThanOrEqual = null; + + /** + * + * + * @var float + */ + public $rankGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $totalRankLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $totalRankGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $groupIdEqual = null; + + /** + * This filter should be in use for retrieving specific entries while search match the input string within all of the following metadata attributes: name, description, tags, adminTags. + * + * @var string + */ + public $searchTextMatchAnd = null; + + /** + * This filter should be in use for retrieving specific entries while search match the input string within at least one of the following metadata attributes: name, description, tags, adminTags. + * + * @var string + */ + public $searchTextMatchOr = null; + + /** + * + * + * @var int + */ + public $accessControlIdEqual = null; + + /** + * + * + * @var string + */ + public $accessControlIdIn = null; + + /** + * + * + * @var int + */ + public $startDateGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $startDateLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $startDateGreaterThanOrEqualOrNull = null; + + /** + * + * + * @var int + */ + public $startDateLessThanOrEqualOrNull = null; + + /** + * + * + * @var int + */ + public $endDateGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $endDateLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $endDateGreaterThanOrEqualOrNull = null; + + /** + * + * + * @var int + */ + public $endDateLessThanOrEqualOrNull = null; + + /** + * + * + * @var string + */ + public $referenceIdEqual = null; + + /** + * + * + * @var string + */ + public $referenceIdIn = null; + + /** + * + * + * @var string + */ + public $replacingEntryIdEqual = null; + + /** + * + * + * @var string + */ + public $replacingEntryIdIn = null; + + /** + * + * + * @var string + */ + public $replacedEntryIdEqual = null; + + /** + * + * + * @var string + */ + public $replacedEntryIdIn = null; + + /** + * + * + * @var KalturaEntryReplacementStatus + */ + public $replacementStatusEqual = null; + + /** + * + * + * @var string + */ + public $replacementStatusIn = null; + + /** + * + * + * @var int + */ + public $partnerSortValueGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $partnerSortValueLessThanOrEqual = null; + + /** + * + * + * @var string + */ + public $rootEntryIdEqual = null; + + /** + * + * + * @var string + */ + public $rootEntryIdIn = null; + + /** + * + * + * @var string + */ + public $parentEntryIdEqual = null; + + /** + * + * + * @var string + */ + public $entitledUsersEditMatchAnd = null; + + /** + * + * + * @var string + */ + public $entitledUsersEditMatchOr = null; + + /** + * + * + * @var string + */ + public $entitledUsersPublishMatchAnd = null; + + /** + * + * + * @var string + */ + public $entitledUsersPublishMatchOr = null; + + /** + * + * + * @var string + */ + public $entitledUsersViewMatchAnd = null; + + /** + * + * + * @var string + */ + public $entitledUsersViewMatchOr = null; + + /** + * + * + * @var string + */ + public $tagsNameMultiLikeOr = null; + + /** + * + * + * @var string + */ + public $tagsAdminTagsMultiLikeOr = null; + + /** + * + * + * @var string + */ + public $tagsAdminTagsNameMultiLikeOr = null; + + /** + * + * + * @var string + */ + public $tagsNameMultiLikeAnd = null; + + /** + * + * + * @var string + */ + public $tagsAdminTagsMultiLikeAnd = null; + + /** + * + * + * @var string + */ + public $tagsAdminTagsNameMultiLikeAnd = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBaseEntryFilter extends KalturaBaseEntryBaseFilter +{ + /** + * + * + * @var string + */ + public $freeText = null; + + /** + * + * + * @var string + */ + public $excludedFreeTextGroups = null; + + /** + * + * + * @var string + */ + public $descriptionLike = null; + + /** + * + * + * @var KalturaNullableBoolean + */ + public $isRoot = null; + + /** + * + * + * @var string + */ + public $categoriesFullNameIn = null; + + /** + * All entries within this categoy or in child categories + * + * @var string + */ + public $categoryAncestorIdIn = null; + + /** + * The id of the original entry + * + * @var string + */ + public $redirectFromEntryId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaPlayableEntryBaseFilter extends KalturaBaseEntryFilter +{ + /** + * + * + * @var int + */ + public $lastPlayedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $lastPlayedAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $lastPlayedAtLessThanOrEqualOrNull = null; + + /** + * + * + * @var int + */ + public $durationLessThan = null; + + /** + * + * + * @var int + */ + public $durationGreaterThan = null; + + /** + * + * + * @var int + */ + public $durationLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $durationGreaterThanOrEqual = null; + + /** + * + * + * @var string + */ + public $durationTypeMatchOr = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlayableEntryFilter extends KalturaPlayableEntryBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaMediaEntryBaseFilter extends KalturaPlayableEntryFilter +{ + /** + * + * + * @var KalturaMediaType + */ + public $mediaTypeEqual = null; + + /** + * + * + * @var string + */ + public $mediaTypeIn = null; + + /** + * + * + * @var KalturaSourceType + */ + public $sourceTypeEqual = null; + + /** + * + * + * @var KalturaSourceType + */ + public $sourceTypeNotEqual = null; + + /** + * + * + * @var string + */ + public $sourceTypeIn = null; + + /** + * + * + * @var string + */ + public $sourceTypeNotIn = null; + + /** + * + * + * @var int + */ + public $mediaDateGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $mediaDateLessThanOrEqual = null; + + /** + * + * + * @var string + */ + public $flavorParamsIdsMatchOr = null; + + /** + * + * + * @var string + */ + public $flavorParamsIdsMatchAnd = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaEntryFilter extends KalturaMediaEntryBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaEntryFilterForPlaylist extends KalturaMediaEntryFilter +{ + /** + * + * + * @var int + */ + public $limit = null; + + /** + * + * + * @var string + */ + public $name = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMixEntry extends KalturaPlayableEntry +{ + /** + * Indicates whether the user has submited a real thumbnail to the mix (Not the one that was generated automaticaly) + * + * @var bool + * @readonly + */ + public $hasRealThumbnail = null; + + /** + * The editor type used to edit the metadata + * + * @var KalturaEditorType + */ + public $editorType = null; + + /** + * The xml data of the mix + * + * @var string + */ + public $dataContent = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaModerationFlag extends KalturaObjectBase +{ + /** + * Moderation flag id + * + * @var int + * @readonly + */ + public $id = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * The user id that added the moderation flag + * + * @var string + * @readonly + */ + public $userId = null; + + /** + * The type of the moderation flag (entry or user) + * + * @var KalturaModerationObjectType + * @readonly + */ + public $moderationObjectType = null; + + /** + * If moderation flag is set for entry, this is the flagged entry id + * + * @var string + */ + public $flaggedEntryId = null; + + /** + * If moderation flag is set for user, this is the flagged user id + * + * @var string + */ + public $flaggedUserId = null; + + /** + * The moderation flag status + * + * @var KalturaModerationFlagStatus + * @readonly + */ + public $status = null; + + /** + * The comment that was added to the flag + * + * @var string + */ + public $comments = null; + + /** + * + * + * @var KalturaModerationFlagType + */ + public $flagType = null; + + /** + * + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * + * + * @var int + * @readonly + */ + public $updatedAt = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPartnerPublicInfo extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $analyticsUrl = null; + + /** + * + * + * @var string + */ + public $ottEnvironmentUrl = null; + + /** + * + * + * @var bool + */ + public $analyticsPersistentSessionId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPartnerStatistics extends KalturaObjectBase +{ + /** + * Package total allowed bandwidth and storage + * + * @var int + * @readonly + */ + public $packageBandwidthAndStorage = null; + + /** + * Partner total hosting in GB on the disk + * + * @var float + * @readonly + */ + public $hosting = null; + + /** + * Partner total bandwidth in GB + * + * @var float + * @readonly + */ + public $bandwidth = null; + + /** + * total usage in GB - including bandwidth and storage + * + * @var int + * @readonly + */ + public $usage = null; + + /** + * Percent of usage out of partner's package. if usage is 5GB and package is 10GB, this value will be 50 + * + * @var float + * @readonly + */ + public $usagePercent = null; + + /** + * date when partner reached the limit of his package (timestamp) + * + * @var int + * @readonly + */ + public $reachedLimitDate = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPartnerUsage extends KalturaObjectBase +{ + /** + * Partner total hosting in GB on the disk + * + * @var float + * @readonly + */ + public $hostingGB = null; + + /** + * percent of usage out of partner's package. if usageGB is 5 and package is 10GB, this value will be 50 + * + * @var float + * @readonly + */ + public $Percent = null; + + /** + * package total BW - actually this is usage, which represents BW+storage + * + * @var int + * @readonly + */ + public $packageBW = null; + + /** + * total usage in GB - including bandwidth and storage + * + * @var float + * @readonly + */ + public $usageGB = null; + + /** + * date when partner reached the limit of his package (timestamp) + * + * @var int + * @readonly + */ + public $reachedLimitDate = null; + + /** + * a semi-colon separated list of comma-separated key-values to represent a usage graph. + * keys could be 1-12 for a year view (1,1.2;2,1.1;3,0.9;...;12,1.4;) + * keys could be 1-[28,29,30,31] depending on the requested month, for a daily view in a given month (1,0.4;2,0.2;...;31,0.1;) + * + * @var string + * @readonly + */ + public $usageGraph = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPermission extends KalturaObjectBase +{ + /** + * + * + * @var int + * @readonly + */ + public $id = null; + + /** + * + * + * @var KalturaPermissionType + * @readonly + */ + public $type = null; + + /** + * + * + * @var string + */ + public $name = null; + + /** + * + * + * @var string + */ + public $friendlyName = null; + + /** + * + * + * @var string + */ + public $description = null; + + /** + * + * + * @var KalturaPermissionStatus + */ + public $status = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * + * + * @var string + */ + public $dependsOnPermissionNames = null; + + /** + * + * + * @var string + */ + public $tags = null; + + /** + * + * + * @var string + */ + public $permissionItemsIds = null; + + /** + * + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * + * + * @var string + */ + public $partnerGroup = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaPermissionItem extends KalturaObjectBase +{ + /** + * + * + * @var int + * @readonly + */ + public $id = null; + + /** + * + * + * @var KalturaPermissionItemType + * @readonly + */ + public $type = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * + * + * @var string + */ + public $tags = null; + + /** + * + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * + * + * @var int + * @readonly + */ + public $updatedAt = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlaybackSource extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $deliveryProfileId = null; + + /** + * source format according to delivery profile streamer type (applehttp, mpegdash etc.) + * + * @var string + */ + public $format = null; + + /** + * comma separated string according to deliveryProfile media protocols ('http,https' etc.) + * + * @var string + */ + public $protocols = null; + + /** + * comma separated string of flavor ids + * + * @var string + */ + public $flavorIds = null; + + /** + * + * + * @var string + */ + public $url = null; + + /** + * drm data object containing relevant license url ,scheme name and certificate + * + * @var array of KalturaDrmPlaybackPluginData + */ + public $drm; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlaybackContext extends KalturaObjectBase +{ + /** + * + * + * @var array of KalturaPlaybackSource + */ + public $sources; + + /** + * + * + * @var array of KalturaCaptionPlaybackPluginData + */ + public $playbackCaptions; + + /** + * + * + * @var array of KalturaFlavorAsset + */ + public $flavorAssets; + + /** + * Array of actions as received from the rules that invalidated + * + * @var array of KalturaRuleAction + */ + public $actions; + + /** + * Array of actions as received from the rules that invalidated + * + * @var array of KalturaAccessControlMessage + */ + public $messages; + + /** + * + * + * @var array of KalturaObject + */ + public $bumperData; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlaylist extends KalturaBaseEntry +{ + /** + * Content of the playlist - + * XML if the playlistType is dynamic + * text if the playlistType is static + * url if the playlistType is mRss + * + * @var string + */ + public $playlistContent = null; + + /** + * + * + * @var array of KalturaMediaEntryFilterForPlaylist + */ + public $filters; + + /** + * Maximum count of results to be returned in playlist execution + * + * @var int + */ + public $totalResults = null; + + /** + * Type of playlist + * + * @var KalturaPlaylistType + * @insertonly + */ + public $playlistType = null; + + /** + * Number of plays + * + * @var int + * @readonly + */ + public $plays = null; + + /** + * Number of views + * + * @var int + * @readonly + */ + public $views = null; + + /** + * The duration in seconds + * + * @var int + * @readonly + */ + public $duration = null; + + /** + * The url for this playlist + * + * @var string + * @readonly + */ + public $executeUrl = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaRemotePath extends KalturaObjectBase +{ + /** + * + * + * @var int + * @readonly + */ + public $storageProfileId = null; + + /** + * + * + * @var string + * @readonly + */ + public $uri = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlResource extends KalturaContentResource +{ + /** + * Remote URL, FTP, HTTP or HTTPS + * + * @var string + */ + public $url = null; + + /** + * Force Import Job + * + * @var bool + */ + public $forceAsyncDownload = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaRemoteStorageResource extends KalturaUrlResource +{ + /** + * ID of storage profile to be associated with the created file sync, used for file serving URL composing. + * + * @var int + */ + public $storageProfileId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReport extends KalturaObjectBase +{ + /** + * Report id + * + * @var int + * @readonly + */ + public $id = null; + + /** + * Partner id associated with the report + * + * @var int + */ + public $partnerId = null; + + /** + * Report name + * + * @var string + */ + public $name = null; + + /** + * Used to identify system reports in a friendly way + * + * @var string + */ + public $systemName = null; + + /** + * Report description + * + * @var string + */ + public $description = null; + + /** + * Report query + * + * @var string + */ + public $query = null; + + /** + * Creation date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * Last update date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $updatedAt = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReportBaseTotal extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $id = null; + + /** + * + * + * @var string + */ + public $data = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReportExportFile extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $fileId = null; + + /** + * + * + * @var string + */ + public $fileName = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReportInputBaseFilter extends KalturaObjectBase +{ + /** + * Start date as Unix timestamp (In seconds) + * + * @var int + */ + public $fromDate = null; + + /** + * End date as Unix timestamp (In seconds) + * + * @var int + */ + public $toDate = null; + + /** + * Start day as string (YYYYMMDD) + * + * @var string + */ + public $fromDay = null; + + /** + * End date as string (YYYYMMDD) + * + * @var string + */ + public $toDay = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReportInputFilter extends KalturaReportInputBaseFilter +{ + /** + * Search keywords to filter objects + * + * @var string + */ + public $keywords = null; + + /** + * Search keywords in objects tags + * + * @var bool + */ + public $searchInTags = null; + + /** + * Search keywords in objects admin tags + * + * @var bool + */ + public $searchInAdminTags = null; + + /** + * Search objects in specified categories + * + * @var string + */ + public $categories = null; + + /** + * Search objects in specified category ids + * + * @var string + */ + public $categoriesIdsIn = null; + + /** + * Filter by customVar1 + * + * @var string + */ + public $customVar1In = null; + + /** + * Filter by customVar2 + * + * @var string + */ + public $customVar2In = null; + + /** + * Filter by customVar3 + * + * @var string + */ + public $customVar3In = null; + + /** + * Filter by device + * + * @var string + */ + public $deviceIn = null; + + /** + * Filter by country + * + * @var string + */ + public $countryIn = null; + + /** + * Filter by region + * + * @var string + */ + public $regionIn = null; + + /** + * Filter by city + * + * @var string + */ + public $citiesIn = null; + + /** + * Filter by operating system family + * + * @var string + */ + public $operatingSystemFamilyIn = null; + + /** + * Filter by operating system + * + * @var string + */ + public $operatingSystemIn = null; + + /** + * Filter by browser family + * + * @var string + */ + public $browserFamilyIn = null; + + /** + * Filter by browser + * + * @var string + */ + public $browserIn = null; + + /** + * Time zone offset in minutes + * + * @var int + */ + public $timeZoneOffset = null; + + /** + * Aggregated results according to interval + * + * @var KalturaReportInterval + */ + public $interval = null; + + /** + * Filter by media types + * + * @var string + */ + public $mediaTypeIn = null; + + /** + * Filter by source types + * + * @var string + */ + public $sourceTypeIn = null; + + /** + * Filter by entry owner + * + * @var string + */ + public $ownerIdsIn = null; + + /** + * + * + * @var KalturaESearchEntryOperator + */ + public $entryOperator; + + /** + * Entry created at greater than or equal as Unix timestamp + * + * @var int + */ + public $entryCreatedAtGreaterThanOrEqual = null; + + /** + * Entry created at less than or equal as Unix timestamp + * + * @var int + */ + public $entryCreatedAtLessThanOrEqual = null; + + /** + * + * + * @var string + */ + public $entryIdIn = null; + + /** + * + * + * @var string + */ + public $playbackTypeIn = null; + + /** + * filter by playback context ids + * + * @var string + */ + public $playbackContextIdsIn = null; + + /** + * filter by root entry ids + * + * @var string + */ + public $rootEntryIdIn = null; + + /** + * filter by error code + * + * @var string + */ + public $errorCodeIn = null; + + /** + * filter by player version + * + * @var string + */ + public $playerVersionIn = null; + + /** + * filter by isp + * + * @var string + */ + public $ispIn = null; + + /** + * filter by application version + * + * @var string + */ + public $applicationVersionIn = null; + + /** + * filter by node id + * + * @var string + */ + public $nodeIdsIn = null; + + /** + * filter by categories ancestor + * + * @var string + */ + public $categoriesAncestorIdIn = null; + + /** + * filter by hotspot id + * + * @var string + */ + public $hotspotIdIn = null; + + /** + * filter by crm id + * + * @var string + */ + public $crmIdIn = null; + + /** + * filter by playlist id + * + * @var string + */ + public $playlistIdIn = null; + + /** + * filter by domain + * + * @var string + */ + public $domainIn = null; + + /** + * filter by canonical url + * + * @var string + */ + public $canonicalUrlIn = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReportResponseOptions extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $delimiter = null; + + /** + * + * + * @var bool + */ + public $skipEmptyDates = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReportExportItem extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $reportTitle = null; + + /** + * + * + * @var KalturaReportExportItemType + */ + public $action = null; + + /** + * + * + * @var KalturaReportType + */ + public $reportType = null; + + /** + * + * + * @var KalturaReportInputFilter + */ + public $filter; + + /** + * + * + * @var string + */ + public $order = null; + + /** + * + * + * @var string + */ + public $objectIds = null; + + /** + * + * + * @var KalturaReportResponseOptions + */ + public $responseOptions; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReportExportParams extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $recipientEmail = null; + + /** + * Time zone offset in minutes (between client to UTC) + * + * @var int + */ + public $timeZoneOffset = null; + + /** + * + * + * @var array of KalturaReportExportItem + */ + public $reportItems; + + /** + * + * + * @var string + */ + public $reportsItemsGroup = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReportExportResponse extends KalturaObjectBase +{ + /** + * + * + * @var int + */ + public $referenceJobId = null; + + /** + * + * + * @var string + */ + public $reportEmail = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReportGraph extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $id = null; + + /** + * + * + * @var string + */ + public $data = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReportResponse extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $columns = null; + + /** + * + * + * @var array of KalturaString + */ + public $results; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReportTable extends KalturaObjectBase +{ + /** + * + * + * @var string + * @readonly + */ + public $header = null; + + /** + * + * + * @var string + * @readonly + */ + public $data = null; + + /** + * + * + * @var int + * @readonly + */ + public $totalCount = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReportTotal extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $header = null; + + /** + * + * + * @var string + */ + public $data = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaRequestConfiguration extends KalturaObjectBase +{ + /** + * Impersonated partner id + * + * @var int + */ + public $partnerId = null; + + /** + * Kaltura API session + * + * @var string + */ + public $ks = null; + + /** + * Response profile - this attribute will be automatically unset after every API call. + * + * @var KalturaBaseResponseProfile + */ + public $responseProfile; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaResponseProfile extends KalturaDetachedResponseProfile +{ + /** + * Auto generated numeric identifier + * + * @var int + * @readonly + */ + public $id = null; + + /** + * Unique system name + * + * @var string + */ + public $systemName = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * Creation time as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * Update time as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * + * + * @var KalturaResponseProfileStatus + * @readonly + */ + public $status = null; + + /** + * + * + * @var int + * @readonly + */ + public $version = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaResponseProfileCacheRecalculateOptions extends KalturaObjectBase +{ + /** + * Maximum number of keys to recalculate + * + * @var int + */ + public $limit = null; + + /** + * Class name + * + * @var string + */ + public $cachedObjectType = null; + + /** + * + * + * @var string + */ + public $objectId = null; + + /** + * + * + * @var string + */ + public $startObjectKey = null; + + /** + * + * + * @var string + */ + public $endObjectKey = null; + + /** + * + * + * @var int + */ + public $jobCreatedAt = null; + + /** + * + * + * @var bool + */ + public $isFirstLoop = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaResponseProfileCacheRecalculateResults extends KalturaObjectBase +{ + /** + * Last recalculated id + * + * @var string + */ + public $lastObjectKey = null; + + /** + * Number of recalculated keys + * + * @var int + */ + public $recalculated = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaScope extends KalturaObjectBase +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSearch extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $keyWords = null; + + /** + * + * + * @var KalturaSearchProviderType + */ + public $searchSource = null; + + /** + * + * + * @var KalturaMediaType + */ + public $mediaType = null; + + /** + * Use this field to pass dynamic data for searching + * For example - if you set this field to "mymovies_$partner_id" + * The $partner_id will be automatically replcaed with your real partner Id + * + * @var string + */ + public $extraData = null; + + /** + * + * + * @var string + */ + public $authData = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSearchAuthData extends KalturaObjectBase +{ + /** + * The authentication data that further should be used for search + * + * @var string + */ + public $authData = null; + + /** + * Login URL when user need to sign-in and authorize the search + * + * @var string + */ + public $loginUrl = null; + + /** + * Information when there was an error + * + * @var string + */ + public $message = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSearchResult extends KalturaSearch +{ + /** + * + * + * @var string + */ + public $id = null; + + /** + * + * + * @var string + */ + public $title = null; + + /** + * + * + * @var string + */ + public $thumbUrl = null; + + /** + * + * + * @var string + */ + public $description = null; + + /** + * + * + * @var string + */ + public $tags = null; + + /** + * + * + * @var string + */ + public $url = null; + + /** + * + * + * @var string + */ + public $sourceLink = null; + + /** + * + * + * @var string + */ + public $credit = null; + + /** + * + * + * @var KalturaLicenseType + */ + public $licenseType = null; + + /** + * + * + * @var string + */ + public $flashPlaybackType = null; + + /** + * + * + * @var string + */ + public $fileExt = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSearchResultResponse extends KalturaObjectBase +{ + /** + * + * + * @var array of KalturaSearchResult + * @readonly + */ + public $objects; + + /** + * + * + * @var bool + * @readonly + */ + public $needMediaInfo = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaServerNode extends KalturaObjectBase +{ + /** + * + * + * @var int + * @readonly + */ + public $id = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * + * + * @var int + * @readonly + */ + public $heartbeatTime = null; + + /** + * serverNode name + * + * @var string + */ + public $name = null; + + /** + * serverNode uniqe system name + * + * @var string + */ + public $systemName = null; + + /** + * + * + * @var string + */ + public $description = null; + + /** + * serverNode hostName + * + * @var string + */ + public $hostName = null; + + /** + * + * + * @var KalturaServerNodeStatus + * @readonly + */ + public $status = null; + + /** + * + * + * @var KalturaServerNodeType + * @readonly + */ + public $type = null; + + /** + * serverNode tags + * + * @var string + */ + public $tags = null; + + /** + * DC where the serverNode is located + * + * @var int + * @readonly + */ + public $dc = null; + + /** + * Id of the parent serverNode + * + * @var string + */ + public $parentId = null; + + /** + * Environment + * + * @var string + */ + public $environment = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSessionInfo extends KalturaObjectBase +{ + /** + * + * + * @var string + * @readonly + */ + public $ks = null; + + /** + * + * + * @var KalturaSessionType + * @readonly + */ + public $sessionType = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * + * + * @var string + * @readonly + */ + public $userId = null; + + /** + * + * + * @var int + * @readonly + */ + public $expiry = null; + + /** + * + * + * @var string + * @readonly + */ + public $privileges = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSourceFileSyncDescriptor extends KalturaFileSyncDescriptor +{ + /** + * The translated path as used by the scheduler + * + * @var string + */ + public $actualFileSyncLocalPath = null; + + /** + * + * + * @var string + */ + public $assetId = null; + + /** + * + * + * @var int + */ + public $assetParamsId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStartWidgetSessionResponse extends KalturaObjectBase +{ + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * + * + * @var string + * @readonly + */ + public $ks = null; + + /** + * + * + * @var string + * @readonly + */ + public $userId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStatsEvent extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $clientVer = null; + + /** + * + * + * @var KalturaStatsEventType + */ + public $eventType = null; + + /** + * the client's timestamp of this event + * + * @var float + */ + public $eventTimestamp = null; + + /** + * a unique string generated by the client that will represent the client-side session: the primary component will pass it on to other components that sprout from it + * + * @var string + */ + public $sessionId = null; + + /** + * + * + * @var int + */ + public $partnerId = null; + + /** + * + * + * @var string + */ + public $entryId = null; + + /** + * the UV cookie - creates in the operational system and should be passed on ofr every event + * + * @var string + */ + public $uniqueViewer = null; + + /** + * + * + * @var string + */ + public $widgetId = null; + + /** + * + * + * @var int + */ + public $uiconfId = null; + + /** + * the partner's user id + * + * @var string + */ + public $userId = null; + + /** + * the timestamp along the video when the event happend + * + * @var int + */ + public $currentPoint = null; + + /** + * the duration of the video in milliseconds - will make it much faster than quering the db for each entry + * + * @var int + */ + public $duration = null; + + /** + * will be retrieved from the request of the user + * + * @var string + * @readonly + */ + public $userIp = null; + + /** + * the time in milliseconds the event took + * + * @var int + */ + public $processDuration = null; + + /** + * the id of the GUI control - will be used in the future to better understand what the user clicked + * + * @var string + */ + public $controlId = null; + + /** + * true if the user ever used seek in this session + * + * @var bool + */ + public $seek = null; + + /** + * timestamp of the new point on the timeline of the video after the user seeks + * + * @var int + */ + public $newPoint = null; + + /** + * the referrer of the client + * + * @var string + */ + public $referrer = null; + + /** + * will indicate if the event is thrown for the first video in the session + * + * @var bool + */ + public $isFirstInSession = null; + + /** + * kaltura application name + * + * @var string + */ + public $applicationId = null; + + /** + * + * + * @var int + */ + public $contextId = null; + + /** + * + * + * @var KalturaStatsFeatureType + */ + public $featureType = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStatsKmcEvent extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $clientVer = null; + + /** + * + * + * @var string + */ + public $kmcEventActionPath = null; + + /** + * + * + * @var KalturaStatsKmcEventType + */ + public $kmcEventType = null; + + /** + * the client's timestamp of this event + * + * @var float + */ + public $eventTimestamp = null; + + /** + * a unique string generated by the client that will represent the client-side session: the primary component will pass it on to other components that sprout from it + * + * @var string + */ + public $sessionId = null; + + /** + * + * + * @var int + */ + public $partnerId = null; + + /** + * + * + * @var string + */ + public $entryId = null; + + /** + * + * + * @var string + */ + public $widgetId = null; + + /** + * + * + * @var int + */ + public $uiconfId = null; + + /** + * the partner's user id + * + * @var string + */ + public $userId = null; + + /** + * will be retrieved from the request of the user + * + * @var string + * @readonly + */ + public $userIp = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStorageProfile extends KalturaObjectBase +{ + /** + * + * + * @var int + * @readonly + */ + public $id = null; + + /** + * + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * + * + * @var string + */ + public $name = null; + + /** + * + * + * @var string + */ + public $systemName = null; + + /** + * + * + * @var string + */ + public $desciption = null; + + /** + * + * + * @var KalturaStorageProfileStatus + */ + public $status = null; + + /** + * + * + * @var KalturaStorageProfileProtocol + */ + public $protocol = null; + + /** + * + * + * @var string + */ + public $storageUrl = null; + + /** + * + * + * @var string + */ + public $storageBaseDir = null; + + /** + * + * + * @var string + */ + public $pathPrefix = null; + + /** + * + * + * @var string + */ + public $storageUsername = null; + + /** + * + * + * @var string + */ + public $storagePassword = null; + + /** + * + * + * @var bool + */ + public $storageFtpPassiveMode = null; + + /** + * + * + * @var int + */ + public $minFileSize = null; + + /** + * + * + * @var int + */ + public $maxFileSize = null; + + /** + * + * + * @var string + */ + public $flavorParamsIds = null; + + /** + * + * + * @var int + */ + public $maxConcurrentConnections = null; + + /** + * + * + * @var string + */ + public $pathManagerClass = null; + + /** + * + * + * @var array of KalturaKeyValue + */ + public $pathManagerParams; + + /** + * No need to create enum for temp field + * + * @var int + */ + public $trigger = null; + + /** + * Delivery Priority + * + * @var int + */ + public $deliveryPriority = null; + + /** + * + * + * @var KalturaStorageProfileDeliveryStatus + */ + public $deliveryStatus = null; + + /** + * + * + * @var KalturaStorageProfileReadyBehavior + */ + public $readyBehavior = null; + + /** + * Flag sugnifying that the storage exported content should be deleted when soure entry is deleted + * + * @var int + */ + public $allowAutoDelete = null; + + /** + * Indicates to the local file transfer manager to create a link to the file instead of copying it + * + * @var bool + */ + public $createFileLink = null; + + /** + * Holds storage profile export rules + * + * @var array of KalturaRule + */ + public $rules; + + /** + * Delivery profile ids + * + * @var array of KalturaKeyValue + */ + public $deliveryProfileIds; + + /** + * + * + * @var string + */ + public $privateKey = null; + + /** + * + * + * @var string + */ + public $publicKey = null; + + /** + * + * + * @var string + */ + public $passPhrase = null; + + /** + * + * + * @var bool + */ + public $shouldExportThumbs = null; + + /** + * + * + * @var string + */ + public $packagerUrl = null; + + /** + * + * + * @var bool + */ + public $exportPeriodically = null; + + /** + * + * + * @var string + */ + public $excludedFlavorParamsIds = null; + + /** + * + * + * @var bool + */ + public $shouldExportCaptions = null; + + /** + * + * + * @var string + */ + public $excludedEntryTypes = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSyndicationFeedEntryCount extends KalturaObjectBase +{ + /** + * the total count of entries that should appear in the feed without flavor filtering + * + * @var int + */ + public $totalEntryCount = null; + + /** + * count of entries that will appear in the feed (including all relevant filters) + * + * @var int + */ + public $actualEntryCount = null; + + /** + * count of entries that requires transcoding in order to be included in feed + * + * @var int + */ + public $requireTranscodingCount = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUiConf extends KalturaObjectBase +{ + /** + * + * + * @var int + * @readonly + */ + public $id = null; + + /** + * Name of the uiConf, this is not a primary key + * + * @var string + */ + public $name = null; + + /** + * + * + * @var string + */ + public $description = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * + * + * @var KalturaUiConfObjType + */ + public $objType = null; + + /** + * + * + * @var string + * @readonly + */ + public $objTypeAsString = null; + + /** + * + * + * @var int + */ + public $width = null; + + /** + * + * + * @var int + */ + public $height = null; + + /** + * + * + * @var string + */ + public $htmlParams = null; + + /** + * + * + * @var string + */ + public $swfUrl = null; + + /** + * + * + * @var string + * @readonly + */ + public $confFilePath = null; + + /** + * + * + * @var string + */ + public $confFile = null; + + /** + * + * + * @var string + */ + public $confFileFeatures = null; + + /** + * + * + * @var string + */ + public $config = null; + + /** + * + * + * @var string + */ + public $confVars = null; + + /** + * + * + * @var bool + */ + public $useCdn = null; + + /** + * + * + * @var string + */ + public $tags = null; + + /** + * + * + * @var string + */ + public $swfUrlVersion = null; + + /** + * Entry creation date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * Entry creation date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * + * + * @var KalturaUiConfCreationMode + */ + public $creationMode = null; + + /** + * + * + * @var string + */ + public $html5Url = null; + + /** + * UiConf version + * + * @var string + * @readonly + */ + public $version = null; + + /** + * + * + * @var string + */ + public $partnerTags = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUiConfTypeInfo extends KalturaObjectBase +{ + /** + * UiConf Type + * + * @var KalturaUiConfObjType + */ + public $type = null; + + /** + * Available versions + * + * @var array of KalturaString + */ + public $versions; + + /** + * The direcotry this type is saved at + * + * @var string + */ + public $directory = null; + + /** + * Filename for this UiConf type + * + * @var string + */ + public $filename = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUploadResponse extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $uploadTokenId = null; + + /** + * + * + * @var int + */ + public $fileSize = null; + + /** + * + * + * @var KalturaUploadErrorCode + */ + public $errorCode = null; + + /** + * + * + * @var string + */ + public $errorDescription = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUploadToken extends KalturaObjectBase +{ + /** + * Upload token unique ID + * + * @var string + * @readonly + */ + public $id = null; + + /** + * Partner ID of the upload token + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * User id for the upload token + * + * @var string + * @readonly + */ + public $userId = null; + + /** + * Status of the upload token + * + * @var KalturaUploadTokenStatus + * @readonly + */ + public $status = null; + + /** + * Name of the file for the upload token, can be empty when the upload token is created and will be updated internally after the file is uploaded + * + * @var string + * @insertonly + */ + public $fileName = null; + + /** + * File size in bytes, can be empty when the upload token is created and will be updated internally after the file is uploaded + * + * @var float + * @insertonly + */ + public $fileSize = null; + + /** + * Uploaded file size in bytes, can be used to identify how many bytes were uploaded before resuming + * + * @var float + * @readonly + */ + public $uploadedFileSize = null; + + /** + * Creation date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * Last update date as Unix timestamp (In seconds) + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * Upload url - to explicitly determine to which domain to adress the uploadToken->upload call + * + * @var string + * @readonly + */ + public $uploadUrl = null; + + /** + * autoFinalize - Should the upload be finalized once the file size on disk matches the file size reproted when adding the upload token. + * + * @var KalturaNullableBoolean + * @insertonly + */ + public $autoFinalize = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaUserEntry extends KalturaObjectBase +{ + /** + * unique auto-generated identifier + * + * @var int + * @readonly + */ + public $id = null; + + /** + * + * + * @var string + * @insertonly + */ + public $entryId = null; + + /** + * + * + * @var string + * @insertonly + */ + public $userId = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * + * + * @var KalturaUserEntryStatus + * @readonly + */ + public $status = null; + + /** + * + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * + * + * @var KalturaUserEntryType + * @readonly + */ + public $type = null; + + /** + * + * + * @var KalturaUserEntryExtendedStatus + */ + public $extendedStatus = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserLoginData extends KalturaObjectBase +{ + /** + * + * + * @var string + */ + public $id = null; + + /** + * + * + * @var string + */ + public $loginEmail = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserRole extends KalturaObjectBase +{ + /** + * + * + * @var int + * @readonly + */ + public $id = null; + + /** + * + * + * @var string + */ + public $name = null; + + /** + * + * + * @var string + */ + public $systemName = null; + + /** + * + * + * @var string + */ + public $description = null; + + /** + * + * + * @var KalturaUserRoleStatus + */ + public $status = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * + * + * @var string + */ + public $permissionNames = null; + + /** + * + * + * @var string + */ + public $tags = null; + + /** + * + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * + * + * @var int + * @readonly + */ + public $updatedAt = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaWidget extends KalturaObjectBase +{ + /** + * + * + * @var string + * @readonly + */ + public $id = null; + + /** + * + * + * @var string + */ + public $sourceWidgetId = null; + + /** + * + * + * @var string + * @readonly + */ + public $rootWidgetId = null; + + /** + * + * + * @var int + * @readonly + */ + public $partnerId = null; + + /** + * + * + * @var string + */ + public $entryId = null; + + /** + * + * + * @var int + */ + public $uiConfId = null; + + /** + * + * + * @var KalturaWidgetSecurityType + */ + public $securityType = null; + + /** + * + * + * @var int + */ + public $securityPolicy = null; + + /** + * + * + * @var int + * @readonly + */ + public $createdAt = null; + + /** + * + * + * @var int + * @readonly + */ + public $updatedAt = null; + + /** + * Can be used to store various partner related data as a string + * + * @var string + */ + public $partnerData = null; + + /** + * + * + * @var string + * @readonly + */ + public $widgetHTML = null; + + /** + * Should enforce entitlement on feed entries + * + * @var bool + */ + public $enforceEntitlement = null; + + /** + * Set privacy context for search entries that assiged to private and public categories within a category privacy context. + * + * @var string + */ + public $privacyContext = null; + + /** + * Addes the HTML5 script line to the widget's embed code + * + * @var bool + */ + public $addEmbedHtml5Support = null; + + /** + * + * + * @var string + */ + public $roles = null; + + /** + * + * + * @var string + */ + public $privileges = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaBatchJobBaseFilter extends KalturaFilter +{ + /** + * + * + * @var int + */ + public $idEqual = null; + + /** + * + * + * @var int + */ + public $idGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $partnerIdEqual = null; + + /** + * + * + * @var string + */ + public $partnerIdIn = null; + + /** + * + * + * @var string + */ + public $partnerIdNotIn = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $executionAttemptsGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $executionAttemptsLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $lockVersionGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $lockVersionLessThanOrEqual = null; + + /** + * + * + * @var string + */ + public $entryIdEqual = null; + + /** + * + * + * @var KalturaBatchJobType + */ + public $jobTypeEqual = null; + + /** + * + * + * @var string + */ + public $jobTypeIn = null; + + /** + * + * + * @var string + */ + public $jobTypeNotIn = null; + + /** + * + * + * @var int + */ + public $jobSubTypeEqual = null; + + /** + * + * + * @var string + */ + public $jobSubTypeIn = null; + + /** + * + * + * @var string + */ + public $jobSubTypeNotIn = null; + + /** + * + * + * @var KalturaBatchJobStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + /** + * + * + * @var string + */ + public $statusNotIn = null; + + /** + * + * + * @var int + */ + public $priorityGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $priorityLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $priorityEqual = null; + + /** + * + * + * @var string + */ + public $priorityIn = null; + + /** + * + * + * @var string + */ + public $priorityNotIn = null; + + /** + * + * + * @var int + */ + public $batchVersionGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $batchVersionLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $batchVersionEqual = null; + + /** + * + * + * @var int + */ + public $queueTimeGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $queueTimeLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $finishTimeGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $finishTimeLessThanOrEqual = null; + + /** + * + * + * @var KalturaBatchJobErrorTypes + */ + public $errTypeEqual = null; + + /** + * + * + * @var string + */ + public $errTypeIn = null; + + /** + * + * + * @var string + */ + public $errTypeNotIn = null; + + /** + * + * + * @var int + */ + public $errNumberEqual = null; + + /** + * + * + * @var string + */ + public $errNumberIn = null; + + /** + * + * + * @var string + */ + public $errNumberNotIn = null; + + /** + * + * + * @var int + */ + public $estimatedEffortLessThan = null; + + /** + * + * + * @var int + */ + public $estimatedEffortGreaterThan = null; + + /** + * + * + * @var int + */ + public $urgencyLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $urgencyGreaterThanOrEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBatchJobFilter extends KalturaBatchJobBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAccessControlBlockAction extends KalturaRuleAction +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAccessControlLimitDeliveryProfilesAction extends KalturaRuleAction +{ + /** + * Comma separated list of delivery profile ids + * + * @var string + */ + public $deliveryProfileIds = null; + + /** + * + * + * @var bool + */ + public $isBlockedList = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAccessControlLimitFlavorsAction extends KalturaRuleAction +{ + /** + * Comma separated list of flavor ids + * + * @var string + */ + public $flavorParamsIds = null; + + /** + * + * + * @var bool + */ + public $isBlockedList = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAccessControlLimitThumbnailCaptureAction extends KalturaRuleAction +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAccessControlListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaAccessControl + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAccessControlModifyRequestHostRegexAction extends KalturaRuleAction +{ + /** + * Request host regex pattern + * + * @var string + */ + public $pattern = null; + + /** + * Request host regex replacment + * + * @var string + */ + public $replacement = null; + + /** + * serverNodeId to generate replacment host from + * + * @var int + */ + public $replacmenServerNodeId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAccessControlPreviewAction extends KalturaRuleAction +{ + /** + * + * + * @var int + */ + public $limit = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAccessControlProfileListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaAccessControlProfile + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAccessControlServeRemoteEdgeServerAction extends KalturaRuleAction +{ + /** + * Comma separated list of edge servers playBack should be done from + * + * @var string + */ + public $edgeServerIds = null; + + /** + * + * + * @var KalturaNullableBoolean + */ + public $seamlessFallbackEnabled = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAmazonS3StorageProfile extends KalturaStorageProfile +{ + /** + * + * + * @var KalturaAmazonS3StorageProfileFilesPermissionLevel + */ + public $filesPermissionInS3 = null; + + /** + * + * + * @var string + */ + public $s3Region = null; + + /** + * + * + * @var string + */ + public $sseType = null; + + /** + * + * + * @var string + */ + public $sseKmsKeyId = null; + + /** + * + * + * @var string + */ + public $signatureType = null; + + /** + * + * + * @var string + */ + public $endPoint = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaApiActionPermissionItem extends KalturaPermissionItem +{ + /** + * + * + * @var string + */ + public $service = null; + + /** + * + * + * @var string + */ + public $action = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaApiParameterPermissionItem extends KalturaPermissionItem +{ + /** + * + * + * @var string + */ + public $object = null; + + /** + * + * + * @var string + */ + public $parameter = null; + + /** + * + * + * @var KalturaApiParameterPermissionItemAction + */ + public $action = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaAppTokenBaseFilter extends KalturaFilter +{ + /** + * + * + * @var string + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + /** + * + * + * @var KalturaAppTokenStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + /** + * + * + * @var string + */ + public $sessionUserIdEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAppTokenListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaAppToken + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAssetParamsOutput extends KalturaAssetParams +{ + /** + * + * + * @var int + */ + public $assetParamsId = null; + + /** + * + * + * @var string + */ + public $assetParamsVersion = null; + + /** + * + * + * @var string + */ + public $assetId = null; + + /** + * + * + * @var string + */ + public $assetVersion = null; + + /** + * + * + * @var int + */ + public $readyBehavior = null; + + /** + * The container format of the Flavor Params + * + * @var KalturaContainerFormat + */ + public $format = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAssetPropertiesCompareCondition extends KalturaCondition +{ + /** + * Array of key/value objects that holds the property and the value to find and compare on an asset object + * + * @var array of KalturaKeyValue + */ + public $properties; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAssetTypeCondition extends KalturaCondition +{ + /** + * + * + * @var string + */ + public $assetTypes = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAssetsParamsResourceContainers extends KalturaResource +{ + /** + * Array of resources associated with asset params ids + * + * @var array of KalturaAssetParamsResourceContainer + */ + public $resources; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaAttributeCondition extends KalturaSearchItem +{ + /** + * + * + * @var string + */ + public $value = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAuthenticatedCondition extends KalturaCondition +{ + /** + * The privelege needed to remove the restriction + * + * @var array of KalturaStringValue + */ + public $privileges; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBaseEntryCloneOptionComponent extends KalturaBaseEntryCloneOptionItem +{ + /** + * + * + * @var KalturaBaseEntryCloneOptions + */ + public $itemType = null; + + /** + * condition rule (include/exclude) + * + * @var KalturaCloneComponentSelectorType + */ + public $rule = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBaseEntryListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaBaseEntry + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaBaseSyndicationFeedBaseFilter extends KalturaFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBaseSyndicationFeedListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaBaseSyndicationFeed + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBooleanEventNotificationCondition extends KalturaCondition +{ + /** + * The boolean event notification ids + * + * @var string + */ + public $booleanEventNotificationIds = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkDownloadJobData extends KalturaJobData +{ + /** + * Comma separated list of entry ids + * + * @var string + */ + public $entryIds = null; + + /** + * Flavor params id to use for conversion + * + * @var int + */ + public $flavorParamsId = null; + + /** + * The id of the requesting user + * + * @var string + */ + public $puserId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaBulkUploadBaseFilter extends KalturaFilter +{ + /** + * + * + * @var int + */ + public $uploadedOnGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $uploadedOnLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $uploadedOnEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + /** + * + * + * @var KalturaBatchJobStatus + */ + public $statusEqual = null; + + /** + * + * + * @var KalturaBulkUploadObjectType + */ + public $bulkUploadObjectTypeEqual = null; + + /** + * + * + * @var string + */ + public $bulkUploadObjectTypeIn = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadCategoryData extends KalturaBulkUploadObjectData +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadCategoryEntryData extends KalturaBulkUploadObjectData +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadCategoryUserData extends KalturaBulkUploadObjectData +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadEntryData extends KalturaBulkUploadObjectData +{ + /** + * Selected profile id for all bulk entries + * + * @var int + */ + public $conversionProfileId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadJobData extends KalturaJobData +{ + /** + * + * + * @var string + * @readonly + */ + public $userId = null; + + /** + * The screen name of the user + * + * @var string + * @readonly + */ + public $uploadedBy = null; + + /** + * Selected profile id for all bulk entries + * + * @var int + * @readonly + */ + public $conversionProfileId = null; + + /** + * Created by the API + * + * @var string + * @readonly + */ + public $resultsFileLocalPath = null; + + /** + * Created by the API + * + * @var string + * @readonly + */ + public $resultsFileUrl = null; + + /** + * Number of created entries + * + * @var int + * @readonly + */ + public $numOfEntries = null; + + /** + * Number of created objects + * + * @var int + * @readonly + */ + public $numOfObjects = null; + + /** + * The bulk upload file path + * + * @var string + * @readonly + */ + public $filePath = null; + + /** + * Type of object for bulk upload + * + * @var KalturaBulkUploadObjectType + * @readonly + */ + public $bulkUploadObjectType = null; + + /** + * Friendly name of the file, used to be recognized later in the logs. + * + * @var string + */ + public $fileName = null; + + /** + * Data pertaining to the objects being uploaded + * + * @var KalturaBulkUploadObjectData + * @readonly + */ + public $objectData; + + /** + * Type of bulk upload + * + * @var KalturaBulkUploadType + * @readonly + */ + public $type = null; + + /** + * Recipients of the email for bulk upload success/failure + * + * @var string + */ + public $emailRecipients = null; + + /** + * Number of objects that finished on error status + * + * @var int + */ + public $numOfErrorObjects = null; + + /** + * privileges for the job + * + * @var string + */ + public $privileges = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaBulkUpload + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadResultCategory extends KalturaBulkUploadResult +{ + /** + * + * + * @var string + */ + public $relativePath = null; + + /** + * + * + * @var string + */ + public $name = null; + + /** + * + * + * @var string + */ + public $referenceId = null; + + /** + * + * + * @var string + */ + public $description = null; + + /** + * + * + * @var string + */ + public $tags = null; + + /** + * + * + * @var int + */ + public $appearInList = null; + + /** + * + * + * @var int + */ + public $privacy = null; + + /** + * + * + * @var int + */ + public $inheritanceType = null; + + /** + * + * + * @var int + */ + public $userJoinPolicy = null; + + /** + * + * + * @var int + */ + public $defaultPermissionLevel = null; + + /** + * + * + * @var string + */ + public $owner = null; + + /** + * + * + * @var int + */ + public $contributionPolicy = null; + + /** + * + * + * @var int + */ + public $partnerSortValue = null; + + /** + * + * + * @var bool + */ + public $moderation = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadResultCategoryEntry extends KalturaBulkUploadResult +{ + /** + * + * + * @var int + */ + public $categoryId = null; + + /** + * + * + * @var string + */ + public $entryId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadResultCategoryUser extends KalturaBulkUploadResult +{ + /** + * + * + * @var int + */ + public $categoryId = null; + + /** + * + * + * @var string + */ + public $categoryReferenceId = null; + + /** + * + * + * @var string + */ + public $userId = null; + + /** + * + * + * @var int + */ + public $permissionLevel = null; + + /** + * + * + * @var int + */ + public $updateMethod = null; + + /** + * + * + * @var int + */ + public $requiredObjectStatus = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadResultEntry extends KalturaBulkUploadResult +{ + /** + * + * + * @var string + */ + public $entryId = null; + + /** + * + * + * @var string + */ + public $title = null; + + /** + * + * + * @var string + */ + public $description = null; + + /** + * + * + * @var string + */ + public $tags = null; + + /** + * + * + * @var string + */ + public $url = null; + + /** + * + * + * @var string + */ + public $contentType = null; + + /** + * + * + * @var int + */ + public $conversionProfileId = null; + + /** + * + * + * @var int + */ + public $accessControlProfileId = null; + + /** + * + * + * @var string + */ + public $category = null; + + /** + * + * + * @var int + */ + public $scheduleStartDate = null; + + /** + * + * + * @var int + */ + public $scheduleEndDate = null; + + /** + * + * + * @var int + */ + public $entryStatus = null; + + /** + * + * + * @var string + */ + public $thumbnailUrl = null; + + /** + * + * + * @var bool + */ + public $thumbnailSaved = null; + + /** + * + * + * @var string + */ + public $sshPrivateKey = null; + + /** + * + * + * @var string + */ + public $sshPublicKey = null; + + /** + * + * + * @var string + */ + public $sshKeyPassphrase = null; + + /** + * + * + * @var string + */ + public $creatorId = null; + + /** + * + * + * @var string + */ + public $entitledUsersEdit = null; + + /** + * + * + * @var string + */ + public $entitledUsersPublish = null; + + /** + * + * + * @var string + */ + public $ownerId = null; + + /** + * + * + * @var string + */ + public $referenceId = null; + + /** + * + * + * @var string + */ + public $templateEntryId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadResultUser extends KalturaBulkUploadResult +{ + /** + * + * + * @var string + */ + public $userId = null; + + /** + * + * + * @var string + */ + public $screenName = null; + + /** + * + * + * @var string + */ + public $email = null; + + /** + * + * + * @var string + */ + public $description = null; + + /** + * + * + * @var string + */ + public $tags = null; + + /** + * + * + * @var int + */ + public $dateOfBirth = null; + + /** + * + * + * @var string + */ + public $country = null; + + /** + * + * + * @var string + */ + public $state = null; + + /** + * + * + * @var string + */ + public $city = null; + + /** + * + * + * @var string + */ + public $zip = null; + + /** + * + * + * @var int + */ + public $gender = null; + + /** + * + * + * @var string + */ + public $firstName = null; + + /** + * + * + * @var string + */ + public $lastName = null; + + /** + * + * + * @var string + */ + public $group = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadResultUserEntry extends KalturaBulkUploadResult +{ + /** + * + * + * @var int + */ + public $userEntryId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadResultVendorCatalogItem extends KalturaBulkUploadResult +{ + /** + * + * + * @var int + */ + public $vendorCatalogItemId = null; + + /** + * + * + * @var int + */ + public $vendorPartnerId = null; + + /** + * + * + * @var string + */ + public $name = null; + + /** + * + * + * @var string + */ + public $systemName = null; + + /** + * + * + * @var KalturaVendorServiceFeature + */ + public $serviceFeature = null; + + /** + * + * + * @var KalturaVendorServiceType + */ + public $serviceType = null; + + /** + * + * + * @var KalturaVendorServiceTurnAroundTime + */ + public $turnAroundTime = null; + + /** + * + * + * @var KalturaCatalogItemLanguage + */ + public $sourceLanguage = null; + + /** + * + * + * @var KalturaCatalogItemLanguage + */ + public $targetLanguage = null; + + /** + * + * + * @var KalturaVendorCatalogItemOutputFormat + */ + public $outputFormat = null; + + /** + * + * + * @var KalturaNullableBoolean + */ + public $enableSpeakerId = null; + + /** + * + * + * @var int + */ + public $fixedPriceAddons = null; + + /** + * + * + * @var KalturaVendorCatalogItemPricing + */ + public $pricing; + + /** + * + * + * @var int + */ + public $flavorParamsId = null; + + /** + * + * + * @var int + */ + public $clearAudioFlavorParamsId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadUserData extends KalturaBulkUploadObjectData +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadVendorCatalogItemData extends KalturaBulkUploadObjectData +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCaptureThumbJobData extends KalturaJobData +{ + /** + * + * + * @var KalturaFileContainer + */ + public $fileContainer; + + /** + * The translated path as used by the scheduler + * + * @var string + */ + public $actualSrcFileSyncLocalPath = null; + + /** + * + * + * @var string + */ + public $srcFileSyncRemoteUrl = null; + + /** + * + * + * @var int + */ + public $thumbParamsOutputId = null; + + /** + * + * + * @var string + */ + public $thumbAssetId = null; + + /** + * + * + * @var string + */ + public $srcAssetId = null; + + /** + * + * + * @var string + */ + public $srcAssetEncryptionKey = null; + + /** + * + * + * @var KalturaAssetType + */ + public $srcAssetType = null; + + /** + * + * + * @var string + */ + public $thumbPath = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryEntryAdvancedFilter extends KalturaSearchItem +{ + /** + * + * + * @var string + */ + public $categoriesMatchOr = null; + + /** + * + * + * @var string + */ + public $categoryEntryStatusIn = null; + + /** + * + * + * @var KalturaCategoryEntryAdvancedOrderBy + */ + public $orderBy = null; + + /** + * + * + * @var int + */ + public $categoryIdEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryEntryListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaCategoryEntry + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryIdentifier extends KalturaObjectIdentifier +{ + /** + * Identifier of the object + * + * @var KalturaCategoryIdentifierField + */ + public $identifier = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaCategory + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryUserAdvancedFilter extends KalturaSearchItem +{ + /** + * + * + * @var string + */ + public $memberIdEq = null; + + /** + * + * + * @var string + */ + public $memberIdIn = null; + + /** + * + * + * @var string + */ + public $memberPermissionsMatchOr = null; + + /** + * + * + * @var string + */ + public $memberPermissionsMatchAnd = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryUserListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaCategoryUser + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaClipAttributes extends KalturaOperationAttributes +{ + /** + * Offset in milliseconds + * + * @var int + */ + public $offset = null; + + /** + * Duration in milliseconds + * + * @var int + */ + public $duration = null; + + /** + * global Offset In Destination in milliseconds + * + * @var int + */ + public $globalOffsetInDestination = null; + + /** + * global Offset In Destination in milliseconds + * + * @var array of KalturaEffect + */ + public $effectArray; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaClipConcatJobData extends KalturaJobData +{ + /** + * $partnerId + * + * @var int + */ + public $partnerId = null; + + /** + * $priority + * + * @var int + */ + public $priority = null; + + /** + * clip operations + * + * @var array of KalturaOperationAttributes + */ + public $operationAttributes; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaCompareCondition extends KalturaCondition +{ + /** + * Value to evaluate against the field and operator + * + * @var KalturaIntegerValue + */ + public $value; + + /** + * Comparing operator + * + * @var KalturaSearchConditionComparison + */ + public $comparison = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaDataCenterContentResource extends KalturaContentResource +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConcatAttributes extends KalturaOperationAttributes +{ + /** + * The resource to be concatenated + * + * @var KalturaDataCenterContentResource + */ + public $resource; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConcatJobData extends KalturaJobData +{ + /** + * Source files to be concatenated + * + * @var array of KalturaString + */ + public $srcFiles; + + /** + * Output file + * + * @var string + */ + public $destFilePath = null; + + /** + * Flavor asset to be ingested with the output + * + * @var string + */ + public $flavorAssetId = null; + + /** + * Clipping offset in seconds + * + * @var float + */ + public $offset = null; + + /** + * Clipping duration in seconds + * + * @var float + */ + public $duration = null; + + /** + * duration of the concated video + * + * @var float + */ + public $concatenatedDuration = null; + + /** + * Should Sort the clip parts + * + * @var bool + */ + public $shouldSort = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaControlPanelCommandBaseFilter extends KalturaFilter +{ + /** + * + * + * @var int + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdByIdEqual = null; + + /** + * + * + * @var KalturaControlPanelCommandType + */ + public $typeEqual = null; + + /** + * + * + * @var string + */ + public $typeIn = null; + + /** + * + * + * @var KalturaControlPanelCommandTargetType + */ + public $targetTypeEqual = null; + + /** + * + * + * @var string + */ + public $targetTypeIn = null; + + /** + * + * + * @var KalturaControlPanelCommandStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaControlPanelCommandListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaControlPanelCommand + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConvartableJobData extends KalturaJobData +{ + /** + * + * + * @var string + */ + public $srcFileSyncLocalPath = null; + + /** + * The translated path as used by the scheduler + * + * @var string + */ + public $actualSrcFileSyncLocalPath = null; + + /** + * + * + * @var string + */ + public $srcFileSyncRemoteUrl = null; + + /** + * + * + * @var array of KalturaSourceFileSyncDescriptor + */ + public $srcFileSyncs; + + /** + * + * + * @var int + */ + public $engineVersion = null; + + /** + * + * + * @var int + */ + public $flavorParamsOutputId = null; + + /** + * + * + * @var KalturaFlavorParamsOutput + */ + public $flavorParamsOutput; + + /** + * + * + * @var int + */ + public $mediaInfoId = null; + + /** + * + * + * @var int + */ + public $currentOperationSet = null; + + /** + * + * + * @var int + */ + public $currentOperationIndex = null; + + /** + * + * + * @var array of KalturaKeyValue + */ + public $pluginData; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConversionProfileAssetParamsListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaConversionProfileAssetParams + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConversionProfileListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaConversionProfile + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConvertLiveSegmentJobData extends KalturaJobData +{ + /** + * Live stream entry id + * + * @var string + */ + public $entryId = null; + + /** + * + * + * @var string + */ + public $assetId = null; + + /** + * Primary or secondary media server + * + * @var KalturaEntryServerNodeType + */ + public $mediaServerIndex = null; + + /** + * The index of the file within the entry + * + * @var int + */ + public $fileIndex = null; + + /** + * The recorded live media + * + * @var string + */ + public $srcFilePath = null; + + /** + * The output file + * + * @var string + */ + public $destFilePath = null; + + /** + * Duration of the live entry including all recorded segments including the current + * + * @var float + */ + public $endTime = null; + + /** + * The data output file + * + * @var string + */ + public $destDataFilePath = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConvertProfileJobData extends KalturaJobData +{ + /** + * + * + * @var string + */ + public $inputFileSyncLocalPath = null; + + /** + * The height of last created thumbnail, will be used to comapare if this thumbnail is the best we can have + * + * @var int + */ + public $thumbHeight = null; + + /** + * The bit rate of last created thumbnail, will be used to comapare if this thumbnail is the best we can have + * + * @var int + */ + public $thumbBitrate = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCopyPartnerJobData extends KalturaJobData +{ + /** + * Id of the partner to copy from + * + * @var int + */ + public $fromPartnerId = null; + + /** + * Id of the partner to copy to + * + * @var int + */ + public $toPartnerId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCountryRestriction extends KalturaBaseRestriction +{ + /** + * Country restriction type (Allow or deny) + * + * @var KalturaCountryRestrictionType + */ + public $countryRestrictionType = null; + + /** + * Comma separated list of country codes to allow to deny + * + * @var string + */ + public $countryList = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDataListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaDataEntry + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeleteFileJobData extends KalturaJobData +{ + /** + * + * + * @var string + */ + public $localFileSyncPath = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeleteJobData extends KalturaJobData +{ + /** + * The filter should return the list of objects that need to be deleted. + * + * @var KalturaFilter + */ + public $filter; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileAkamaiAppleHttpManifest extends KalturaDeliveryProfile +{ + /** + * Should we use timing parameters - clipTo / seekFrom + * + * @var bool + */ + public $supportClipping = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileAkamaiHds extends KalturaDeliveryProfile +{ + /** + * Should we use timing parameters - clipTo / seekFrom + * + * @var bool + */ + public $supportClipping = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaDeliveryProfileBaseFilter extends KalturaFilter +{ + /** + * + * + * @var int + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var int + */ + public $partnerIdEqual = null; + + /** + * + * + * @var string + */ + public $partnerIdIn = null; + + /** + * + * + * @var string + */ + public $systemNameEqual = null; + + /** + * + * + * @var string + */ + public $systemNameIn = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + /** + * + * + * @var KalturaPlaybackProtocol + */ + public $streamerTypeEqual = null; + + /** + * + * + * @var KalturaDeliveryStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileCondition extends KalturaCondition +{ + /** + * The delivery ids that are accepted by this condition + * + * @var array of KalturaIntegerValue + */ + public $deliveryProfileIds; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileGenericAppleHttp extends KalturaDeliveryProfile +{ + /** + * + * + * @var string + */ + public $pattern = null; + + /** + * rendererClass + * + * @var string + */ + public $rendererClass = null; + + /** + * Enable to make playManifest redirect to the domain of the delivery profile + * + * @var KalturaNullableBoolean + */ + public $manifestRedirect = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileGenericHds extends KalturaDeliveryProfile +{ + /** + * + * + * @var string + */ + public $pattern = null; + + /** + * rendererClass + * + * @var string + */ + public $rendererClass = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileGenericSilverLight extends KalturaDeliveryProfile +{ + /** + * + * + * @var string + */ + public $pattern = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileHttp extends KalturaDeliveryProfile +{ + /** + * + * + * @var int + */ + public $maxSize = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaDeliveryProfile + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileLiveAppleHttp extends KalturaDeliveryProfile +{ + /** + * + * + * @var bool + */ + public $disableExtraAttributes = null; + + /** + * + * + * @var bool + */ + public $forceProxy = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileLivePackager extends KalturaDeliveryProfile +{ + /** + * Domain used to sign the live url + * + * @var string + */ + public $livePackagerSigningDomain = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileRtmp extends KalturaDeliveryProfile +{ + /** + * enforceRtmpe + * + * @var bool + */ + public $enforceRtmpe = null; + + /** + * a prefix that is added to all stream urls (replaces storageProfile::rtmpPrefix) + * + * @var string + */ + public $prefix = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileVodPackagerPlayServer extends KalturaDeliveryProfile +{ + /** + * + * + * @var bool + */ + public $adStitchingEnabled = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaDeliveryServerNode extends KalturaServerNode +{ + /** + * Delivery profile ids + * + * @var array of KalturaKeyValue + */ + public $deliveryProfileIds; + + /** + * Override server node default configuration - json format + * + * @var string + */ + public $config = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDirectoryRestriction extends KalturaBaseRestriction +{ + /** + * Kaltura directory restriction type + * + * @var KalturaDirectoryRestrictionType + */ + public $directoryRestrictionType = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDrmEntryContextPluginData extends KalturaPluginData +{ + /** + * For the uDRM we give the drm context data which is a json encoding of an array containing the uDRM data + * for each flavor that is required from this getContextData request. + * + * @var string + */ + public $flavorData = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaCategoryUserBaseFilter extends KalturaRelatedFilter +{ + /** + * + * + * @var int + */ + public $categoryIdEqual = null; + + /** + * + * + * @var string + */ + public $categoryIdIn = null; + + /** + * + * + * @var string + */ + public $userIdEqual = null; + + /** + * + * + * @var string + */ + public $userIdIn = null; + + /** + * + * + * @var KalturaCategoryUserPermissionLevel + */ + public $permissionLevelEqual = null; + + /** + * + * + * @var string + */ + public $permissionLevelIn = null; + + /** + * + * + * @var KalturaCategoryUserStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + /** + * + * + * @var KalturaUpdateMethodType + */ + public $updateMethodEqual = null; + + /** + * + * + * @var string + */ + public $updateMethodIn = null; + + /** + * + * + * @var string + */ + public $categoryFullIdsStartsWith = null; + + /** + * + * + * @var string + */ + public $categoryFullIdsEqual = null; + + /** + * + * + * @var string + */ + public $permissionNamesMatchAnd = null; + + /** + * + * + * @var string + */ + public $permissionNamesMatchOr = null; + + /** + * + * + * @var string + */ + public $permissionNamesNotContains = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryUserFilter extends KalturaCategoryUserBaseFilter +{ + /** + * Return the list of categoryUser that are not inherited from parent category - only the direct categoryUsers. + * + * @var bool + */ + public $categoryDirectMembers = null; + + /** + * Free text search on user id or screen name + * + * @var string + */ + public $freeText = null; + + /** + * Return a list of categoryUser that related to the userId in this field by groups + * + * @var string + */ + public $relatedGroupsByUserId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaBaseUserBaseFilter extends KalturaRelatedFilter +{ + /** + * + * + * @var int + */ + public $partnerIdEqual = null; + + /** + * + * + * @var string + */ + public $screenNameLike = null; + + /** + * + * + * @var string + */ + public $screenNameStartsWith = null; + + /** + * + * + * @var string + */ + public $emailLike = null; + + /** + * + * + * @var string + */ + public $emailStartsWith = null; + + /** + * + * + * @var string + */ + public $tagsMultiLikeOr = null; + + /** + * + * + * @var string + */ + public $tagsMultiLikeAnd = null; + + /** + * + * + * @var KalturaUserStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaBaseUserFilter extends KalturaBaseUserBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaUserBaseFilter extends KalturaBaseUserFilter +{ + /** + * + * + * @var KalturaUserType + */ + public $typeEqual = null; + + /** + * + * + * @var string + */ + public $typeIn = null; + + /** + * + * + * @var KalturaNullableBoolean + */ + public $isAdminEqual = null; + + /** + * + * + * @var string + */ + public $firstNameStartsWith = null; + + /** + * + * + * @var string + */ + public $lastNameStartsWith = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserFilter extends KalturaUserBaseFilter +{ + /** + * + * + * @var string + */ + public $idOrScreenNameStartsWith = null; + + /** + * + * + * @var string + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var KalturaNullableBoolean + */ + public $loginEnabledEqual = null; + + /** + * + * + * @var string + */ + public $roleIdEqual = null; + + /** + * + * + * @var string + */ + public $roleIdsEqual = null; + + /** + * + * + * @var string + */ + public $roleIdsIn = null; + + /** + * + * + * @var string + */ + public $firstNameOrLastNameStartsWith = null; + + /** + * Permission names filter expression + * + * @var string + */ + public $permissionNamesMultiLikeOr = null; + + /** + * Permission names filter expression + * + * @var string + */ + public $permissionNamesMultiLikeAnd = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryContext extends KalturaContext +{ + /** + * The entry ID in the context of which the playlist should be built + * + * @var string + */ + public $entryId = null; + + /** + * Is this a redirected entry followup? + * + * @var KalturaNullableBoolean + */ + public $followEntryRedirect = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryContextDataParams extends KalturaAccessControlScope +{ + /** + * Id of the current flavor. + * + * @var string + */ + public $flavorAssetId = null; + + /** + * The tags of the flavors that should be used for playback. + * + * @var string + */ + public $flavorTags = null; + + /** + * Playback streamer type: RTMP, HTTP, appleHttps, rtsp, sl. + * + * @var string + */ + public $streamerType = null; + + /** + * Protocol of the specific media object. + * + * @var string + */ + public $mediaProtocol = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryContextDataResult extends KalturaContextDataResult +{ + /** + * + * + * @var bool + */ + public $isSiteRestricted = null; + + /** + * + * + * @var bool + */ + public $isCountryRestricted = null; + + /** + * + * + * @var bool + */ + public $isSessionRestricted = null; + + /** + * + * + * @var bool + */ + public $isIpAddressRestricted = null; + + /** + * + * + * @var bool + */ + public $isUserAgentRestricted = null; + + /** + * + * + * @var int + */ + public $previewLength = null; + + /** + * + * + * @var bool + */ + public $isScheduledNow = null; + + /** + * + * + * @var bool + */ + public $isAdmin = null; + + /** + * http/rtmp/hdnetwork + * + * @var string + */ + public $streamerType = null; + + /** + * http/https, rtmp/rtmpe + * + * @var string + */ + public $mediaProtocol = null; + + /** + * + * + * @var string + */ + public $storageProfilesXML = null; + + /** + * Array of messages as received from the access control rules that invalidated + * + * @var array of KalturaString + */ + public $accessControlMessages; + + /** + * Array of actions as received from the access control rules that invalidated + * + * @var array of KalturaRuleAction + */ + public $accessControlActions; + + /** + * Array of allowed flavor assets according to access control limitations and requested tags + * + * @var array of KalturaFlavorAsset + */ + public $flavorAssets; + + /** + * The duration of the entry in milliseconds + * + * @var int + */ + public $msDuration = null; + + /** + * Array of allowed flavor assets according to access control limitations and requested tags + * + * @var map + */ + public $pluginData; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryCuePointSearchFilter extends KalturaSearchItem +{ + /** + * + * + * @var string + */ + public $cuePointsFreeText = null; + + /** + * + * + * @var string + */ + public $cuePointTypeIn = null; + + /** + * + * + * @var int + */ + public $cuePointSubTypeEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryIdentifier extends KalturaObjectIdentifier +{ + /** + * Identifier of the object + * + * @var KalturaEntryIdentifierField + */ + public $identifier = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryLiveStats extends KalturaLiveStats +{ + /** + * + * + * @var string + */ + public $entryId = null; + + /** + * + * + * @var int + */ + public $peakAudience = null; + + /** + * + * + * @var int + */ + public $peakDvrAudience = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaEntryServerNodeBaseFilter extends KalturaFilter +{ + /** + * + * + * @var string + */ + public $entryIdEqual = null; + + /** + * + * + * @var string + */ + public $entryIdIn = null; + + /** + * + * + * @var int + */ + public $serverNodeIdEqual = null; + + /** + * + * + * @var string + */ + public $serverNodeIdIn = null; + + /** + * + * + * @var string + */ + public $serverNodeIdNotIn = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + /** + * + * + * @var KalturaEntryServerNodeStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + /** + * + * + * @var KalturaEntryServerNodeType + */ + public $serverTypeEqual = null; + + /** + * + * + * @var string + */ + public $serverTypeIn = null; + + /** + * + * + * @var string + */ + public $serverTypeNotIn = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryServerNodeListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaEntryServerNode + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaBooleanField extends KalturaBooleanValue +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaExportCsvJobData extends KalturaJobData +{ + /** + * The users name + * + * @var string + */ + public $userName = null; + + /** + * The users email + * + * @var string + */ + public $userMail = null; + + /** + * The file location + * + * @var string + */ + public $outputPath = null; + + /** + * + * + * @var string + */ + public $sharedOutputPath = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFeatureStatusListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaFeatureStatus + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFileAssetListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaFileAsset + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFlattenJobData extends KalturaJobData +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFlavorAssetListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaFlavorAsset + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFlavorParamsListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaFlavorParams + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGenericSyndicationFeed extends KalturaBaseSyndicationFeed +{ + /** + * feed description + * + * @var string + */ + public $feedDescription = null; + + /** + * feed landing page (i.e publisher website) + * + * @var string + */ + public $feedLandingPage = null; + + /** + * entry filter + * + * @var KalturaBaseEntryFilter + */ + public $entryFilter; + + /** + * page size + * + * @var int + */ + public $pageSize = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGoogleVideoSyndicationFeed extends KalturaBaseSyndicationFeed +{ + /** + * + * + * @var KalturaGoogleSyndicationFeedAdultValues + */ + public $adultContent = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGroupUserListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaGroupUser + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaHashCondition extends KalturaCondition +{ + /** + * hash name + * + * @var string + */ + public $hashName = null; + + /** + * hash secret + * + * @var string + */ + public $hashSecret = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaITunesSyndicationFeed extends KalturaBaseSyndicationFeed +{ + /** + * feed description + * + * @var string + */ + public $feedDescription = null; + + /** + * feed language + * + * @var string + */ + public $language = null; + + /** + * feed landing page (i.e publisher website) + * + * @var string + */ + public $feedLandingPage = null; + + /** + * author/publisher name + * + * @var string + */ + public $ownerName = null; + + /** + * publisher email + * + * @var string + */ + public $ownerEmail = null; + + /** + * podcast thumbnail + * + * @var string + */ + public $feedImageUrl = null; + + /** + * + * + * @var KalturaITunesSyndicationFeedCategories + * @readonly + */ + public $category = null; + + /** + * + * + * @var KalturaITunesSyndicationFeedAdultValues + */ + public $adultContent = null; + + /** + * + * + * @var string + */ + public $feedAuthor = null; + + /** + * + * + * @var bool + */ + public $enforceFeedAuthor = null; + + /** + * true in case you want to enfore the palylist order on the + * + * @var KalturaNullableBoolean + */ + public $enforceOrder = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaImportJobData extends KalturaJobData +{ + /** + * + * + * @var string + */ + public $srcFileUrl = null; + + /** + * + * + * @var string + */ + public $destFileLocalPath = null; + + /** + * + * + * @var string + */ + public $flavorAssetId = null; + + /** + * + * + * @var int + */ + public $fileSize = null; + + /** + * + * + * @var string + */ + public $destFileSharedPath = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaIndexAdvancedFilter extends KalturaSearchItem +{ + /** + * + * + * @var int + */ + public $indexIdGreaterThan = null; + + /** + * + * + * @var int + */ + public $depthGreaterThanEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaIndexJobData extends KalturaJobData +{ + /** + * The filter should return the list of objects that need to be reindexed. + * + * @var KalturaFilter + */ + public $filter; + + /** + * Indicates the last id that reindexed, used when the batch crached, to re-run from the last crash point. + * + * @var int + */ + public $lastIndexId = null; + + /** + * Indicates the last depth that reindexed, used when the batch crached, to re-run from the last crash point. + * + * @var int + */ + public $lastIndexDepth = null; + + /** + * Indicates that the object columns and attributes values should be recalculated before reindexed. + * + * @var bool + */ + public $shouldUpdate = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaIpAddressRestriction extends KalturaBaseRestriction +{ + /** + * Ip address restriction type (Allow or deny) + * + * @var KalturaIpAddressRestrictionType + */ + public $ipAddressRestrictionType = null; + + /** + * Comma separated list of ip address to allow to deny + * + * @var string + */ + public $ipAddressList = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLimitFlavorsRestriction extends KalturaBaseRestriction +{ + /** + * Limit flavors restriction type (Allow or deny) + * + * @var KalturaLimitFlavorsRestrictionType + */ + public $limitFlavorsRestrictionType = null; + + /** + * Comma separated list of flavor params ids to allow to deny + * + * @var string + */ + public $flavorParamsIds = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveChannelListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaLiveChannel + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveChannelSegmentListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaLiveChannelSegment + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveEntryArchiveJobData extends KalturaJobData +{ + /** + * + * + * @var string + */ + public $liveEntryId = null; + + /** + * + * + * @var string + */ + public $vodEntryId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveEntryServerNode extends KalturaEntryServerNode +{ + /** + * parameters of the stream we got + * + * @var array of KalturaLiveStreamParams + */ + public $streams; + + /** + * + * + * @var array of KalturaLiveEntryServerNodeRecordingInfo + */ + public $recordingInfo; + + /** + * + * + * @var bool + */ + public $isPlayableUser = null; + + /** + * + * + * @var KalturaViewMode + */ + public $viewMode = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveReportExportJobData extends KalturaJobData +{ + /** + * + * + * @var int + */ + public $timeReference = null; + + /** + * + * + * @var int + */ + public $timeZoneOffset = null; + + /** + * + * + * @var string + */ + public $entryIds = null; + + /** + * + * + * @var string + */ + public $outputPath = null; + + /** + * + * + * @var string + */ + public $recipientEmail = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStatsListResponse extends KalturaListResponse +{ + /** + * + * + * @var KalturaLiveStats + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaLiveStreamEntry + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamPushPublishRTMPConfiguration extends KalturaLiveStreamPushPublishConfiguration +{ + /** + * + * + * @var string + */ + public $userId = null; + + /** + * + * + * @var string + */ + public $password = null; + + /** + * + * + * @var string + */ + public $streamName = null; + + /** + * + * + * @var string + */ + public $applicationName = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveToVodJobData extends KalturaJobData +{ + /** + * $vod Entry Id + * + * @var string + */ + public $vodEntryId = null; + + /** + * live Entry Id + * + * @var string + */ + public $liveEntryId = null; + + /** + * total VOD Duration + * + * @var float + */ + public $totalVodDuration = null; + + /** + * last Segment Duration + * + * @var float + */ + public $lastSegmentDuration = null; + + /** + * amf Array File Path + * + * @var string + */ + public $amfArray = null; + + /** + * last live to vod sync time + * + * @var int + */ + public $lastCuePointSyncTime = null; + + /** + * last segment drift + * + * @var int + */ + public $lastSegmentDrift = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMailJobData extends KalturaJobData +{ + /** + * + * + * @var KalturaMailType + */ + public $mailType = null; + + /** + * + * + * @var int + */ + public $mailPriority = null; + + /** + * + * + * @var KalturaMailJobStatus + */ + public $status = null; + + /** + * + * + * @var string + */ + public $recipientName = null; + + /** + * + * + * @var string + */ + public $recipientEmail = null; + + /** + * kuserId + * + * @var int + */ + public $recipientId = null; + + /** + * + * + * @var string + */ + public $fromName = null; + + /** + * + * + * @var string + */ + public $fromEmail = null; + + /** + * + * + * @var string + */ + public $bodyParams = null; + + /** + * + * + * @var string + */ + public $subjectParams = null; + + /** + * + * + * @var string + */ + public $templatePath = null; + + /** + * + * + * @var KalturaLanguageCode + */ + public $language = null; + + /** + * + * + * @var int + */ + public $campaignId = null; + + /** + * + * + * @var int + */ + public $minSendDate = null; + + /** + * + * + * @var bool + */ + public $isHtml = null; + + /** + * + * + * @var string + */ + public $separator = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaMatchCondition extends KalturaCondition +{ + /** + * + * + * @var array of KalturaStringValue + */ + public $values; + + /** + * + * + * @var KalturaMatchConditionType + */ + public $matchType = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaMediaInfoBaseFilter extends KalturaFilter +{ + /** + * + * + * @var string + */ + public $flavorAssetIdEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaMediaEntry + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMixListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaMixEntry + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaModerationFlagListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaModerationFlag + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMoveCategoryEntriesJobData extends KalturaJobData +{ + /** + * Source category id + * + * @var int + */ + public $srcCategoryId = null; + + /** + * Destination category id + * + * @var int + */ + public $destCategoryId = null; + + /** + * Saves the last category id that its entries moved completely + * In case of crash the batch will restart from that point + * + * @var int + */ + public $lastMovedCategoryId = null; + + /** + * Saves the last page index of the child categories filter pager + * In case of crash the batch will restart from that point + * + * @var int + */ + public $lastMovedCategoryPageIndex = null; + + /** + * Saves the last page index of the category entries filter pager + * In case of crash the batch will restart from that point + * + * @var int + */ + public $lastMovedCategoryEntryPageIndex = null; + + /** + * All entries from all child categories will be moved as well + * + * @var bool + */ + public $moveFromChildren = null; + + /** + * Destination categories fallback ids + * + * @var string + */ + public $destCategoryFullIds = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaNotificationJobData extends KalturaJobData +{ + /** + * + * + * @var string + */ + public $userId = null; + + /** + * + * + * @var KalturaNotificationType + */ + public $type = null; + + /** + * + * + * @var string + */ + public $typeAsString = null; + + /** + * + * + * @var string + */ + public $objectId = null; + + /** + * + * + * @var KalturaNotificationStatus + */ + public $status = null; + + /** + * + * + * @var string + */ + public $data = null; + + /** + * + * + * @var int + */ + public $numberOfAttempts = null; + + /** + * + * + * @var string + */ + public $notificationResult = null; + + /** + * + * + * @var KalturaNotificationObjectType + */ + public $objType = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaObjectListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaObject + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaOrCondition extends KalturaCondition +{ + /** + * + * + * @var array of KalturaCondition + */ + public $conditions; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaPartnerBaseFilter extends KalturaFilter +{ + /** + * + * + * @var int + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var string + */ + public $idNotIn = null; + + /** + * + * + * @var string + */ + public $nameLike = null; + + /** + * + * + * @var string + */ + public $nameMultiLikeOr = null; + + /** + * + * + * @var string + */ + public $nameMultiLikeAnd = null; + + /** + * + * + * @var string + */ + public $nameEqual = null; + + /** + * + * + * @var KalturaPartnerStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + /** + * + * + * @var int + */ + public $partnerPackageEqual = null; + + /** + * + * + * @var int + */ + public $partnerPackageGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $partnerPackageLessThanOrEqual = null; + + /** + * + * + * @var string + */ + public $partnerPackageIn = null; + + /** + * + * + * @var KalturaPartnerGroupType + */ + public $partnerGroupTypeEqual = null; + + /** + * + * + * @var string + */ + public $partnerNameDescriptionWebsiteAdminNameAdminEmailLike = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $idGreaterThan = null; + + /** + * + * + * @var int + */ + public $monitorUsageEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPartnerListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaPartner + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPermissionItemListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaPermissionItem + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPermissionListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaPermission + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlaylistListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaPlaylist + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaProvisionJobData extends KalturaJobData +{ + /** + * + * + * @var string + */ + public $streamID = null; + + /** + * + * + * @var string + */ + public $backupStreamID = null; + + /** + * + * + * @var string + */ + public $rtmp = null; + + /** + * + * + * @var string + */ + public $encoderIP = null; + + /** + * + * + * @var string + */ + public $backupEncoderIP = null; + + /** + * + * + * @var string + */ + public $encoderPassword = null; + + /** + * + * + * @var string + */ + public $encoderUsername = null; + + /** + * + * + * @var int + */ + public $endDate = null; + + /** + * + * + * @var string + */ + public $returnVal = null; + + /** + * + * + * @var int + */ + public $mediaType = null; + + /** + * + * + * @var string + */ + public $primaryBroadcastingUrl = null; + + /** + * + * + * @var string + */ + public $secondaryBroadcastingUrl = null; + + /** + * + * + * @var string + */ + public $streamName = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaQuizUserEntry extends KalturaUserEntry +{ + /** + * + * + * @var float + * @readonly + */ + public $score = null; + + /** + * + * + * @var float + * @readonly + */ + public $calculatedScore = null; + + /** + * + * + * @var string + */ + public $feedback = null; + + /** + * + * + * @var int + * @readonly + */ + public $version = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaRecalculateCacheJobData extends KalturaJobData +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaRemotePathListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaRemotePath + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaReportBaseFilter extends KalturaFilter +{ + /** + * + * + * @var int + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var int + */ + public $partnerIdEqual = null; + + /** + * + * + * @var string + */ + public $partnerIdIn = null; + + /** + * + * + * @var string + */ + public $systemNameEqual = null; + + /** + * + * + * @var string + */ + public $systemNameIn = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReportExportJobData extends KalturaJobData +{ + /** + * + * + * @var string + */ + public $recipientEmail = null; + + /** + * + * + * @var array of KalturaReportExportItem + */ + public $reportItems; + + /** + * + * + * @var string + */ + public $filePaths = null; + + /** + * + * + * @var string + */ + public $reportsGroup = null; + + /** + * + * + * @var array of KalturaReportExportFile + */ + public $files; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaReportListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaReport + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaResponseProfileBaseFilter extends KalturaFilter +{ + /** + * + * + * @var int + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var string + */ + public $systemNameEqual = null; + + /** + * + * + * @var string + */ + public $systemNameIn = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + /** + * + * + * @var KalturaResponseProfileStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaResponseProfileHolder extends KalturaBaseResponseProfile +{ + /** + * Auto generated numeric identifier + * + * @var int + */ + public $id = null; + + /** + * Unique system name + * + * @var string + */ + public $systemName = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaResponseProfileListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaResponseProfile + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSchedulerListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaScheduler + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSchedulerWorkerListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaSchedulerWorker + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSearchCondition extends KalturaSearchItem +{ + /** + * + * + * @var string + */ + public $field = null; + + /** + * + * + * @var string + */ + public $value = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSearchOperator extends KalturaSearchItem +{ + /** + * + * + * @var KalturaSearchOperatorType + */ + public $type = null; + + /** + * + * + * @var array of KalturaSearchItem + */ + public $items; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaServerNodeBaseFilter extends KalturaFilter +{ + /** + * + * + * @var int + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $heartbeatTimeGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $heartbeatTimeLessThanOrEqual = null; + + /** + * + * + * @var string + */ + public $nameEqual = null; + + /** + * + * + * @var string + */ + public $nameIn = null; + + /** + * + * + * @var string + */ + public $systemNameEqual = null; + + /** + * + * + * @var string + */ + public $systemNameIn = null; + + /** + * + * + * @var string + */ + public $hostNameLike = null; + + /** + * + * + * @var string + */ + public $hostNameMultiLikeOr = null; + + /** + * + * + * @var string + */ + public $hostNameMultiLikeAnd = null; + + /** + * + * + * @var KalturaServerNodeStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + /** + * + * + * @var KalturaServerNodeType + */ + public $typeEqual = null; + + /** + * + * + * @var string + */ + public $typeIn = null; + + /** + * + * + * @var string + */ + public $tagsLike = null; + + /** + * + * + * @var string + */ + public $tagsMultiLikeOr = null; + + /** + * + * + * @var string + */ + public $tagsMultiLikeAnd = null; + + /** + * + * + * @var int + */ + public $dcEqual = null; + + /** + * + * + * @var string + */ + public $dcIn = null; + + /** + * + * + * @var string + */ + public $parentIdLike = null; + + /** + * + * + * @var string + */ + public $parentIdMultiLikeOr = null; + + /** + * + * + * @var string + */ + public $parentIdMultiLikeAnd = null; + + /** + * + * + * @var string + */ + public $environmentEqual = null; + + /** + * + * + * @var string + */ + public $environmentIn = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaServerNodeListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaServerNode + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSessionResponse extends KalturaStartWidgetSessionResponse +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSessionRestriction extends KalturaBaseRestriction +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSiteRestriction extends KalturaBaseRestriction +{ + /** + * The site restriction type (allow or deny) + * + * @var KalturaSiteRestrictionType + */ + public $siteRestrictionType = null; + + /** + * Comma separated list of sites (domains) to allow or deny + * + * @var string + */ + public $siteList = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStorageAddAction extends KalturaRuleAction +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStorageJobData extends KalturaJobData +{ + /** + * + * + * @var string + */ + public $serverUrl = null; + + /** + * + * + * @var string + */ + public $serverUsername = null; + + /** + * + * + * @var string + */ + public $serverPassword = null; + + /** + * + * + * @var string + */ + public $serverPrivateKey = null; + + /** + * + * + * @var string + */ + public $serverPublicKey = null; + + /** + * + * + * @var string + */ + public $serverPassPhrase = null; + + /** + * + * + * @var bool + */ + public $ftpPassiveMode = null; + + /** + * + * + * @var string + */ + public $srcFileSyncLocalPath = null; + + /** + * + * + * @var string + */ + public $srcFileEncryptionKey = null; + + /** + * + * + * @var string + */ + public $srcFileSyncId = null; + + /** + * + * + * @var string + */ + public $destFileSyncStoredPath = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaStorageProfileBaseFilter extends KalturaFilter +{ + /** + * + * + * @var int + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $partnerIdEqual = null; + + /** + * + * + * @var string + */ + public $partnerIdIn = null; + + /** + * + * + * @var string + */ + public $systemNameEqual = null; + + /** + * + * + * @var string + */ + public $systemNameIn = null; + + /** + * + * + * @var KalturaStorageProfileStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + /** + * + * + * @var KalturaStorageProfileProtocol + */ + public $protocolEqual = null; + + /** + * + * + * @var string + */ + public $protocolIn = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStorageProfileListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaStorageProfile + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSyncCategoryPrivacyContextJobData extends KalturaJobData +{ + /** + * category id + * + * @var int + */ + public $categoryId = null; + + /** + * Saves the last category entry creation date that was updated + * In case of crash the batch will restart from that point + * + * @var int + */ + public $lastUpdatedCategoryEntryCreatedAt = null; + + /** + * Saves the last sub category creation date that was updated + * In case of crash the batch will restart from that point + * + * @var int + */ + public $lastUpdatedCategoryCreatedAt = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaTaskEntryServerNode extends KalturaEntryServerNode +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaThumbAssetListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaThumbAsset + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaThumbParamsListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaThumbParams + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaThumbnailServeOptions extends KalturaAssetServeOptions +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaTubeMogulSyndicationFeed extends KalturaBaseSyndicationFeed +{ + /** + * + * + * @var KalturaTubeMogulSyndicationFeedCategories + * @readonly + */ + public $category = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaUiConfBaseFilter extends KalturaFilter +{ + /** + * + * + * @var int + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var string + */ + public $nameLike = null; + + /** + * + * + * @var int + */ + public $partnerIdEqual = null; + + /** + * + * + * @var string + */ + public $partnerIdIn = null; + + /** + * + * + * @var KalturaUiConfObjType + */ + public $objTypeEqual = null; + + /** + * + * + * @var string + */ + public $objTypeIn = null; + + /** + * + * + * @var string + */ + public $tagsMultiLikeOr = null; + + /** + * + * + * @var string + */ + public $tagsMultiLikeAnd = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + /** + * + * + * @var KalturaUiConfCreationMode + */ + public $creationModeEqual = null; + + /** + * + * + * @var string + */ + public $creationModeIn = null; + + /** + * + * + * @var string + */ + public $versionEqual = null; + + /** + * + * + * @var string + */ + public $versionMultiLikeOr = null; + + /** + * + * + * @var string + */ + public $versionMultiLikeAnd = null; + + /** + * + * + * @var string + */ + public $partnerTagsMultiLikeOr = null; + + /** + * + * + * @var string + */ + public $partnerTagsMultiLikeAnd = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUiConfListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaUiConf + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaUploadTokenBaseFilter extends KalturaFilter +{ + /** + * + * + * @var string + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var string + */ + public $userIdEqual = null; + + /** + * + * + * @var KalturaUploadTokenStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + /** + * + * + * @var string + */ + public $fileNameEqual = null; + + /** + * + * + * @var float + */ + public $fileSizeEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUploadTokenListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaUploadToken + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlRecognizerAkamaiG2O extends KalturaUrlRecognizer +{ + /** + * headerData + * + * @var string + */ + public $headerData = null; + + /** + * headerSign + * + * @var string + */ + public $headerSign = null; + + /** + * timeout + * + * @var int + */ + public $timeout = null; + + /** + * salt + * + * @var string + */ + public $salt = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlRecognizerKaltura extends KalturaUrlRecognizer +{ + /** + * + * + * @var string + */ + public $key = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlTokenizerAkamaiHttp extends KalturaUrlTokenizer +{ + /** + * param + * + * @var string + */ + public $paramName = null; + + /** + * + * + * @var string + */ + public $rootDir = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlTokenizerAkamaiRtmp extends KalturaUrlTokenizer +{ + /** + * profile + * + * @var string + */ + public $profile = null; + + /** + * Type + * + * @var string + */ + public $type = null; + + /** + * + * + * @var string + */ + public $aifp = null; + + /** + * + * + * @var bool + */ + public $usePrefix = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlTokenizerAkamaiRtsp extends KalturaUrlTokenizer +{ + /** + * host + * + * @var string + */ + public $host = null; + + /** + * Cp-Code + * + * @var int + */ + public $cpcode = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlTokenizerAkamaiSecureHd extends KalturaUrlTokenizer +{ + /** + * + * + * @var string + */ + public $paramName = null; + + /** + * + * + * @var string + */ + public $aclPostfix = null; + + /** + * + * + * @var string + */ + public $customPostfixes = null; + + /** + * + * + * @var string + */ + public $useCookieHosts = null; + + /** + * + * + * @var string + */ + public $rootDir = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlTokenizerBitGravity extends KalturaUrlTokenizer +{ + /** + * hashPatternRegex + * + * @var string + */ + public $hashPatternRegex = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlTokenizerChinaCache extends KalturaUrlTokenizer +{ + /** + * + * + * @var KalturaChinaCacheAlgorithmType + */ + public $algorithmId = null; + + /** + * + * + * @var int + */ + public $keyId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlTokenizerCht extends KalturaUrlTokenizer +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlTokenizerCloudFront extends KalturaUrlTokenizer +{ + /** + * + * + * @var string + */ + public $keyPairId = null; + + /** + * + * + * @var string + */ + public $rootDir = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlTokenizerKaltura extends KalturaUrlTokenizer +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlTokenizerKs extends KalturaUrlTokenizer +{ + /** + * + * + * @var bool + */ + public $usePath = null; + + /** + * + * + * @var string + */ + public $additionalUris = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlTokenizerL3 extends KalturaUrlTokenizer +{ + /** + * gen + * + * @var string + */ + public $gen = null; + + /** + * paramName + * + * @var string + */ + public $paramName = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlTokenizerLevel3 extends KalturaUrlTokenizer +{ + /** + * paramName + * + * @var string + */ + public $paramName = null; + + /** + * expiryName + * + * @var string + */ + public $expiryName = null; + + /** + * gen + * + * @var string + */ + public $gen = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlTokenizerLimeLight extends KalturaUrlTokenizer +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlTokenizerVelocix extends KalturaUrlTokenizer +{ + /** + * hdsPaths + * + * @var string + */ + public $hdsPaths = null; + + /** + * tokenParamName + * + * @var string + */ + public $paramName = null; + + /** + * secure URL prefix + * + * @var string + */ + public $authPrefix = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlTokenizerVnpt extends KalturaUrlTokenizer +{ + /** + * + * + * @var int + */ + public $tokenizationFormat = null; + + /** + * + * + * @var bool + */ + public $shouldIncludeClientIp = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUrlTokenizerWowzaSecureToken extends KalturaUrlTokenizer +{ + /** + * + * + * @var string + */ + public $paramPrefix = null; + + /** + * + * + * @var string + */ + public $hashAlgorithm = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserAgentRestriction extends KalturaBaseRestriction +{ + /** + * User agent restriction type (Allow or deny) + * + * @var KalturaUserAgentRestrictionType + */ + public $userAgentRestrictionType = null; + + /** + * A comma seperated list of user agent regular expressions + * + * @var string + */ + public $userAgentRegexList = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserEntryListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaUserEntry + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaUser + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserLoginDataListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaUserLoginData + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserRoleCondition extends KalturaCondition +{ + /** + * Comma separated list of role ids + * + * @var string + */ + public $roleIds = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserRoleListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaUserRole + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaValidateActiveEdgeCondition extends KalturaCondition +{ + /** + * Comma separated list of edge servers to validate are active + * + * @var string + */ + public $edgeServerIds = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaWidgetBaseFilter extends KalturaFilter +{ + /** + * + * + * @var string + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var string + */ + public $sourceWidgetIdEqual = null; + + /** + * + * + * @var string + */ + public $rootWidgetIdEqual = null; + + /** + * + * + * @var int + */ + public $partnerIdEqual = null; + + /** + * + * + * @var string + */ + public $entryIdEqual = null; + + /** + * + * + * @var int + */ + public $uiConfIdEqual = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + /** + * + * + * @var string + */ + public $partnerDataLike = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaWidgetListResponse extends KalturaListResponse +{ + /** + * + * + * @var array of KalturaWidget + * @readonly + */ + public $objects; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaYahooSyndicationFeed extends KalturaBaseSyndicationFeed +{ + /** + * + * + * @var KalturaYahooSyndicationFeedCategories + * @readonly + */ + public $category = null; + + /** + * + * + * @var KalturaYahooSyndicationFeedAdultValues + */ + public $adultContent = null; + + /** + * feed description + * + * @var string + */ + public $feedDescription = null; + + /** + * feed landing page (i.e publisher website) + * + * @var string + */ + public $feedLandingPage = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaAccessControlBaseFilter extends KalturaRelatedFilter +{ + /** + * + * + * @var int + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var string + */ + public $systemNameEqual = null; + + /** + * + * + * @var string + */ + public $systemNameIn = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaAccessControlProfileBaseFilter extends KalturaRelatedFilter +{ + /** + * + * + * @var int + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var string + */ + public $systemNameEqual = null; + + /** + * + * + * @var string + */ + public $systemNameIn = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAdminUser extends KalturaUser +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAkamaiProvisionJobData extends KalturaProvisionJobData +{ + /** + * + * + * @var string + */ + public $wsdlUsername = null; + + /** + * + * + * @var string + */ + public $wsdlPassword = null; + + /** + * + * + * @var string + */ + public $cpcode = null; + + /** + * + * + * @var string + */ + public $emailId = null; + + /** + * + * + * @var string + */ + public $primaryContact = null; + + /** + * + * + * @var string + */ + public $secondaryContact = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAkamaiUniversalProvisionJobData extends KalturaProvisionJobData +{ + /** + * + * + * @var int + */ + public $streamId = null; + + /** + * + * + * @var string + */ + public $systemUserName = null; + + /** + * + * + * @var string + */ + public $systemPassword = null; + + /** + * + * + * @var string + */ + public $domainName = null; + + /** + * + * + * @var KalturaDVRStatus + */ + public $dvrEnabled = null; + + /** + * + * + * @var int + */ + public $dvrWindow = null; + + /** + * + * + * @var string + */ + public $primaryContact = null; + + /** + * + * + * @var string + */ + public $secondaryContact = null; + + /** + * + * + * @var KalturaAkamaiUniversalStreamType + */ + public $streamType = null; + + /** + * + * + * @var string + */ + public $notificationEmail = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAnonymousIPCondition extends KalturaMatchCondition +{ + /** + * The ip geo coder engine to be used + * + * @var KalturaGeoCoderType + */ + public $geoCoderType = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAppTokenFilter extends KalturaAppTokenBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaAssetParamsBaseFilter extends KalturaRelatedFilter +{ + /** + * + * + * @var int + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var string + */ + public $systemNameEqual = null; + + /** + * + * + * @var string + */ + public $systemNameIn = null; + + /** + * + * + * @var KalturaNullableBoolean + */ + public $isSystemDefaultEqual = null; + + /** + * + * + * @var string + */ + public $tagsEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAssetResource extends KalturaContentResource +{ + /** + * ID of the source asset + * + * @var string + */ + public $assetId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBaseSyndicationFeedFilter extends KalturaBaseSyndicationFeedBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBulkUploadFilter extends KalturaBulkUploadBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaCategoryBaseFilter extends KalturaRelatedFilter +{ + /** + * + * + * @var int + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var string + */ + public $idNotIn = null; + + /** + * + * + * @var int + */ + public $parentIdEqual = null; + + /** + * + * + * @var string + */ + public $parentIdIn = null; + + /** + * + * + * @var int + */ + public $depthEqual = null; + + /** + * + * + * @var string + */ + public $fullNameEqual = null; + + /** + * + * + * @var string + */ + public $fullNameStartsWith = null; + + /** + * + * + * @var string + */ + public $fullNameIn = null; + + /** + * + * + * @var string + */ + public $fullIdsEqual = null; + + /** + * + * + * @var string + */ + public $fullIdsStartsWith = null; + + /** + * + * + * @var string + */ + public $fullIdsMatchOr = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + /** + * + * + * @var string + */ + public $tagsLike = null; + + /** + * + * + * @var string + */ + public $tagsMultiLikeOr = null; + + /** + * + * + * @var string + */ + public $tagsMultiLikeAnd = null; + + /** + * + * + * @var KalturaAppearInListType + */ + public $appearInListEqual = null; + + /** + * + * + * @var KalturaPrivacyType + */ + public $privacyEqual = null; + + /** + * + * + * @var string + */ + public $privacyIn = null; + + /** + * + * + * @var KalturaInheritanceType + */ + public $inheritanceTypeEqual = null; + + /** + * + * + * @var string + */ + public $inheritanceTypeIn = null; + + /** + * + * + * @var string + */ + public $referenceIdEqual = null; + + /** + * + * + * @var KalturaNullableBoolean + */ + public $referenceIdEmpty = null; + + /** + * + * + * @var KalturaContributionPolicyType + */ + public $contributionPolicyEqual = null; + + /** + * + * + * @var int + */ + public $membersCountGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $membersCountLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $pendingMembersCountGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $pendingMembersCountLessThanOrEqual = null; + + /** + * + * + * @var string + */ + public $privacyContextEqual = null; + + /** + * + * + * @var KalturaCategoryStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + /** + * + * + * @var int + */ + public $inheritedParentIdEqual = null; + + /** + * + * + * @var string + */ + public $inheritedParentIdIn = null; + + /** + * + * + * @var int + */ + public $partnerSortValueGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $partnerSortValueLessThanOrEqual = null; + + /** + * + * + * @var string + */ + public $aggregationCategoriesMultiLikeOr = null; + + /** + * + * + * @var string + */ + public $aggregationCategoriesMultiLikeAnd = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaCategoryEntryBaseFilter extends KalturaRelatedFilter +{ + /** + * + * + * @var int + */ + public $categoryIdEqual = null; + + /** + * + * + * @var string + */ + public $categoryIdIn = null; + + /** + * + * + * @var string + */ + public $entryIdEqual = null; + + /** + * + * + * @var string + */ + public $entryIdIn = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var string + */ + public $categoryFullIdsStartsWith = null; + + /** + * + * + * @var KalturaCategoryEntryStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + /** + * + * + * @var string + */ + public $creatorUserIdEqual = null; + + /** + * + * + * @var string + */ + public $creatorUserIdIn = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaClippingTaskEntryServerNode extends KalturaTaskEntryServerNode +{ + /** + * + * + * @var KalturaClipAttributes + */ + public $clipAttributes; + + /** + * + * + * @var string + */ + public $clippedEntryId = null; + + /** + * + * + * @var string + */ + public $liveEntryId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaControlPanelCommandFilter extends KalturaControlPanelCommandBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaConversionProfileAssetParamsBaseFilter extends KalturaRelatedFilter +{ + /** + * + * + * @var int + */ + public $conversionProfileIdEqual = null; + + /** + * + * + * @var string + */ + public $conversionProfileIdIn = null; + + /** + * + * + * @var int + */ + public $assetParamsIdEqual = null; + + /** + * + * + * @var string + */ + public $assetParamsIdIn = null; + + /** + * + * + * @var KalturaFlavorReadyBehaviorType + */ + public $readyBehaviorEqual = null; + + /** + * + * + * @var string + */ + public $readyBehaviorIn = null; + + /** + * + * + * @var KalturaAssetParamsOrigin + */ + public $originEqual = null; + + /** + * + * + * @var string + */ + public $originIn = null; + + /** + * + * + * @var string + */ + public $systemNameEqual = null; + + /** + * + * + * @var string + */ + public $systemNameIn = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaConversionProfileBaseFilter extends KalturaRelatedFilter +{ + /** + * + * + * @var int + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var KalturaConversionProfileStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + /** + * + * + * @var KalturaConversionProfileType + */ + public $typeEqual = null; + + /** + * + * + * @var string + */ + public $typeIn = null; + + /** + * + * + * @var string + */ + public $nameEqual = null; + + /** + * + * + * @var string + */ + public $systemNameEqual = null; + + /** + * + * + * @var string + */ + public $systemNameIn = null; + + /** + * + * + * @var string + */ + public $tagsMultiLikeOr = null; + + /** + * + * + * @var string + */ + public $tagsMultiLikeAnd = null; + + /** + * + * + * @var string + */ + public $defaultEntryIdEqual = null; + + /** + * + * + * @var string + */ + public $defaultEntryIdIn = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConvertCollectionJobData extends KalturaConvartableJobData +{ + /** + * + * + * @var string + */ + public $destDirLocalPath = null; + + /** + * + * + * @var string + */ + public $destDirRemoteUrl = null; + + /** + * + * + * @var string + */ + public $destFileName = null; + + /** + * + * + * @var string + */ + public $inputXmlLocalPath = null; + + /** + * + * + * @var string + */ + public $inputXmlRemoteUrl = null; + + /** + * + * + * @var string + */ + public $commandLinesStr = null; + + /** + * + * + * @var array of KalturaConvertCollectionFlavorData + */ + public $flavors; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConvertJobData extends KalturaConvartableJobData +{ + /** + * + * + * @var string + */ + public $destFileSyncLocalPath = null; + + /** + * + * + * @var string + */ + public $destFileSyncRemoteUrl = null; + + /** + * + * + * @var string + */ + public $logFileSyncLocalPath = null; + + /** + * + * + * @var string + */ + public $logFileSyncRemoteUrl = null; + + /** + * + * + * @var string + */ + public $flavorAssetId = null; + + /** + * + * + * @var string + */ + public $remoteMediaId = null; + + /** + * + * + * @var string + */ + public $customData = null; + + /** + * + * + * @var array of KalturaDestFileSyncDescriptor + */ + public $extraDestFileSyncs; + + /** + * + * + * @var string + */ + public $engineMessage = null; + + /** + * + * + * @var string + */ + public $destFileSyncSharedPath = null; + + /** + * + * + * @var int + */ + public $userCpu = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCountryCondition extends KalturaMatchCondition +{ + /** + * The ip geo coder engine to be used + * + * @var KalturaGeoCoderType + */ + public $geoCoderType = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileAkamaiHttp extends KalturaDeliveryProfileHttp +{ + /** + * Should we use intelliseek + * + * @var bool + */ + public $useIntelliseek = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileFilter extends KalturaDeliveryProfileBaseFilter +{ + /** + * + * + * @var KalturaNullableBoolean + */ + public $isLive = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileGenericHttp extends KalturaDeliveryProfileHttp +{ + /** + * + * + * @var string + */ + public $pattern = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileGenericRtmp extends KalturaDeliveryProfileRtmp +{ + /** + * + * + * @var string + */ + public $pattern = null; + + /** + * rendererClass + * + * @var string + */ + public $rendererClass = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileLivePackagerHls extends KalturaDeliveryProfileLivePackager +{ + /** + * + * + * @var bool + */ + public $disableExtraAttributes = null; + + /** + * + * + * @var bool + */ + public $forceProxy = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileVodPackagerHls extends KalturaDeliveryProfileVodPackagerPlayServer +{ + /** + * + * + * @var bool + */ + public $allowFairplayOffline = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEdgeServerNode extends KalturaDeliveryServerNode +{ + /** + * Delivery server playback Domain + * + * @var string + */ + public $playbackDomain = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEndUserReportInputFilter extends KalturaReportInputFilter +{ + /** + * + * + * @var string + */ + public $application = null; + + /** + * + * + * @var string + */ + public $userIds = null; + + /** + * + * + * @var string + */ + public $playbackContext = null; + + /** + * + * + * @var string + */ + public $ancestorPlaybackContext = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryIndexAdvancedFilter extends KalturaIndexAdvancedFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryReferrerLiveStats extends KalturaEntryLiveStats +{ + /** + * + * + * @var string + */ + public $referrer = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryResource extends KalturaContentResource +{ + /** + * ID of the source entry + * + * @var string + */ + public $entryId = null; + + /** + * ID of the source flavor params, set to null to use the source flavor + * + * @var int + */ + public $flavorParamsId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntryServerNodeFilter extends KalturaEntryServerNodeBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaExtractMediaJobData extends KalturaConvartableJobData +{ + /** + * + * + * @var string + */ + public $flavorAssetId = null; + + /** + * + * + * @var bool + */ + public $calculateComplexity = null; + + /** + * + * + * @var bool + */ + public $extractId3Tags = null; + + /** + * The data output file + * + * @var string + */ + public $destDataFilePath = null; + + /** + * + * + * @var int + */ + public $detectGOP = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFairPlayPlaybackPluginData extends KalturaDrmPlaybackPluginData +{ + /** + * + * + * @var string + */ + public $certificate = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaIntegerField extends KalturaIntegerValue +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFieldCompareCondition extends KalturaCompareCondition +{ + /** + * Field to evaluate + * + * @var KalturaIntegerField + */ + public $field; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaStringField extends KalturaStringValue +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFieldMatchCondition extends KalturaMatchCondition +{ + /** + * Field to evaluate + * + * @var KalturaStringField + */ + public $field; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaFileAssetBaseFilter extends KalturaRelatedFilter +{ + /** + * + * + * @var int + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var int + */ + public $partnerIdEqual = null; + + /** + * + * + * @var KalturaFileAssetObjectType + */ + public $fileAssetObjectTypeEqual = null; + + /** + * + * + * @var string + */ + public $objectIdEqual = null; + + /** + * + * + * @var string + */ + public $objectIdIn = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + /** + * + * + * @var KalturaFileAssetStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFileSyncResource extends KalturaContentResource +{ + /** + * The object type of the file sync object + * + * @var int + */ + public $fileSyncObjectType = null; + + /** + * The object sub-type of the file sync object + * + * @var int + */ + public $objectSubType = null; + + /** + * The object id of the file sync object + * + * @var string + */ + public $objectId = null; + + /** + * The version of the file sync object + * + * @var string + */ + public $version = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGenericXsltSyndicationFeed extends KalturaGenericSyndicationFeed +{ + /** + * + * + * @var string + */ + public $xslt = null; + + /** + * + * + * @var array of KalturaExtendingItemMrssParameter + */ + public $itemXpathsToExtend; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGeoDistanceCondition extends KalturaMatchCondition +{ + /** + * The ip geo coder engine to be used + * + * @var KalturaGeoCoderType + */ + public $geoCoderType = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGeoTimeLiveStats extends KalturaEntryLiveStats +{ + /** + * + * + * @var KalturaCoordinate + */ + public $city; + + /** + * + * + * @var KalturaCoordinate + */ + public $country; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaGroupUserBaseFilter extends KalturaRelatedFilter +{ + /** + * + * + * @var string + */ + public $userIdEqual = null; + + /** + * + * + * @var string + */ + public $userIdIn = null; + + /** + * + * + * @var string + */ + public $groupIdEqual = null; + + /** + * + * + * @var string + */ + public $groupIdIn = null; + + /** + * + * + * @var KalturaGroupUserStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaIpAddressCondition extends KalturaMatchCondition +{ + /** + * allow internal ips + * + * @var bool + */ + public $acceptInternalIps = null; + + /** + * http header name for extracting the ip + * + * @var string + */ + public $httpHeader = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveAsset extends KalturaFlavorAsset +{ + /** + * + * + * @var string + */ + public $multicastIP = null; + + /** + * + * + * @var int + */ + public $multicastPort = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaLiveChannelSegmentBaseFilter extends KalturaRelatedFilter +{ + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + /** + * + * + * @var KalturaLiveChannelSegmentStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + /** + * + * + * @var string + */ + public $channelIdEqual = null; + + /** + * + * + * @var string + */ + public $channelIdIn = null; + + /** + * + * + * @var float + */ + public $startTimeGreaterThanOrEqual = null; + + /** + * + * + * @var float + */ + public $startTimeLessThanOrEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveParams extends KalturaFlavorParams +{ + /** + * Suffix to be added to the stream name after the entry id {entry_id}_{stream_suffix}, e.g. for entry id 0_kjdu5jr6 and suffix 1, the stream name will be 0_kjdu5jr6_1 + * + * @var string + */ + public $streamSuffix = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaMappedObjectsCsvJobData extends KalturaExportCsvJobData +{ + /** + * The metadata profile we should look the xpath in + * + * @var int + */ + public $metadataProfileId = null; + + /** + * The xpath to look in the metadataProfileId and the wanted csv field name + * + * @var array of KalturaCsvAdditionalFieldInfo + */ + public $additionalFields; + + /** + * Array of header names and their mapped user fields + * + * @var array of KalturaKeyValue + */ + public $mappedFields; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaFlavorParams extends KalturaFlavorParams +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaInfoFilter extends KalturaMediaInfoBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaMediaServerNode extends KalturaDeliveryServerNode +{ + /** + * Media server application name + * + * @var string + */ + public $applicationName = null; + + /** + * Media server playback port configuration by protocol and format + * + * @var array of KalturaKeyValue + */ + public $mediaServerPortConfig; + + /** + * Media server playback Domain configuration by protocol and format + * + * @var array of KalturaKeyValue + */ + public $mediaServerPlaybackDomainConfig; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaOperationResource extends KalturaContentResource +{ + /** + * Only KalturaEntryResource and KalturaAssetResource are supported + * + * @var KalturaContentResource + */ + public $resource; + + /** + * + * + * @var array of KalturaOperationAttributes + */ + public $operationAttributes; + + /** + * ID of alternative asset params to be used instead of the system default flavor params + * + * @var int + */ + public $assetParamsId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPartnerFilter extends KalturaPartnerBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaPermissionBaseFilter extends KalturaRelatedFilter +{ + /** + * + * + * @var int + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var KalturaPermissionType + */ + public $typeEqual = null; + + /** + * + * + * @var string + */ + public $typeIn = null; + + /** + * + * + * @var string + */ + public $nameEqual = null; + + /** + * + * + * @var string + */ + public $nameIn = null; + + /** + * + * + * @var string + */ + public $friendlyNameLike = null; + + /** + * + * + * @var string + */ + public $descriptionLike = null; + + /** + * + * + * @var KalturaPermissionStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + /** + * + * + * @var int + */ + public $partnerIdEqual = null; + + /** + * + * + * @var string + */ + public $partnerIdIn = null; + + /** + * + * + * @var string + */ + public $dependsOnPermissionNamesMultiLikeOr = null; + + /** + * + * + * @var string + */ + public $dependsOnPermissionNamesMultiLikeAnd = null; + + /** + * + * + * @var string + */ + public $tagsMultiLikeOr = null; + + /** + * + * + * @var string + */ + public $tagsMultiLikeAnd = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaPermissionItemBaseFilter extends KalturaRelatedFilter +{ + /** + * + * + * @var int + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var KalturaPermissionItemType + */ + public $typeEqual = null; + + /** + * + * + * @var string + */ + public $typeIn = null; + + /** + * + * + * @var int + */ + public $partnerIdEqual = null; + + /** + * + * + * @var string + */ + public $partnerIdIn = null; + + /** + * + * + * @var string + */ + public $tagsMultiLikeOr = null; + + /** + * + * + * @var string + */ + public $tagsMultiLikeAnd = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlaybackContextOptions extends KalturaEntryContextDataParams +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPostConvertJobData extends KalturaConvartableJobData +{ + /** + * + * + * @var string + */ + public $flavorAssetId = null; + + /** + * + * + * @var string + */ + public $flavorAssetEncryptionKey = null; + + /** + * Indicates if a thumbnail should be created + * + * @var bool + */ + public $createThumb = null; + + /** + * The path of the created thumbnail + * + * @var string + */ + public $thumbPath = null; + + /** + * The position of the thumbnail in the media file + * + * @var int + */ + public $thumbOffset = null; + + /** + * The height of the movie, will be used to comapare if this thumbnail is the best we can have + * + * @var int + */ + public $thumbHeight = null; + + /** + * The bit rate of the movie, will be used to comapare if this thumbnail is the best we can have + * + * @var int + */ + public $thumbBitrate = null; + + /** + * + * + * @var string + */ + public $customData = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPreviewRestriction extends KalturaSessionRestriction +{ + /** + * The preview restriction length + * + * @var int + */ + public $previewLength = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaRecalculateResponseProfileCacheJobData extends KalturaRecalculateCacheJobData +{ + /** + * http / https + * + * @var string + */ + public $protocol = null; + + /** + * + * + * @var KalturaSessionType + */ + public $ksType = null; + + /** + * + * + * @var array of KalturaIntegerValue + */ + public $userRoles; + + /** + * Class name + * + * @var string + */ + public $cachedObjectType = null; + + /** + * + * + * @var string + */ + public $objectId = null; + + /** + * + * + * @var string + */ + public $startObjectKey = null; + + /** + * + * + * @var string + */ + public $endObjectKey = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaRegexCondition extends KalturaMatchCondition +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaRemoteStorageResources extends KalturaContentResource +{ + /** + * Array of remote stoage resources + * + * @var array of KalturaRemoteStorageResource + */ + public $resources; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaResponseProfileFilter extends KalturaResponseProfileBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaSearchComparableAttributeCondition extends KalturaAttributeCondition +{ + /** + * + * + * @var KalturaSearchConditionComparison + */ + public $comparison = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSearchComparableCondition extends KalturaSearchCondition +{ + /** + * + * + * @var KalturaSearchConditionComparison + */ + public $comparison = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaSearchMatchAttributeCondition extends KalturaAttributeCondition +{ + /** + * + * + * @var bool + */ + public $not = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSearchMatchCondition extends KalturaSearchCondition +{ + /** + * + * + * @var bool + */ + public $not = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaServerNodeFilter extends KalturaServerNodeBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSiteCondition extends KalturaMatchCondition +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSshImportJobData extends KalturaImportJobData +{ + /** + * + * + * @var string + */ + public $privateKey = null; + + /** + * + * + * @var string + */ + public $publicKey = null; + + /** + * + * + * @var string + */ + public $passPhrase = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStorageDeleteJobData extends KalturaStorageJobData +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStorageExportJobData extends KalturaStorageJobData +{ + /** + * + * + * @var bool + */ + public $force = null; + + /** + * + * + * @var bool + */ + public $createLink = null; + + /** + * + * + * @var string + */ + public $assetId = null; + + /** + * + * + * @var string + */ + public $externalUrl = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStorageProfileFilter extends KalturaStorageProfileBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaStringResource extends KalturaContentResource +{ + /** + * Textual content + * + * @var string + */ + public $content = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUiConfFilter extends KalturaUiConfBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUploadTokenFilter extends KalturaUploadTokenBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaUserEntryBaseFilter extends KalturaRelatedFilter +{ + /** + * + * + * @var int + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var string + */ + public $idNotIn = null; + + /** + * + * + * @var string + */ + public $entryIdEqual = null; + + /** + * + * + * @var string + */ + public $entryIdIn = null; + + /** + * + * + * @var string + */ + public $entryIdNotIn = null; + + /** + * + * + * @var string + */ + public $userIdEqual = null; + + /** + * + * + * @var string + */ + public $userIdIn = null; + + /** + * + * + * @var string + */ + public $userIdNotIn = null; + + /** + * + * + * @var KalturaUserEntryStatus + */ + public $statusEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var KalturaUserEntryType + */ + public $typeEqual = null; + + /** + * + * + * @var KalturaUserEntryExtendedStatus + */ + public $extendedStatusEqual = null; + + /** + * + * + * @var string + */ + public $extendedStatusIn = null; + + /** + * + * + * @var string + */ + public $extendedStatusNotIn = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaUserLoginDataBaseFilter extends KalturaRelatedFilter +{ + /** + * + * + * @var string + */ + public $loginEmailEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaUserRoleBaseFilter extends KalturaRelatedFilter +{ + /** + * + * + * @var int + */ + public $idEqual = null; + + /** + * + * + * @var string + */ + public $idIn = null; + + /** + * + * + * @var string + */ + public $nameEqual = null; + + /** + * + * + * @var string + */ + public $nameIn = null; + + /** + * + * + * @var string + */ + public $systemNameEqual = null; + + /** + * + * + * @var string + */ + public $systemNameIn = null; + + /** + * + * + * @var string + */ + public $descriptionLike = null; + + /** + * + * + * @var KalturaUserRoleStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + /** + * + * + * @var int + */ + public $partnerIdEqual = null; + + /** + * + * + * @var string + */ + public $partnerIdIn = null; + + /** + * + * + * @var string + */ + public $tagsMultiLikeOr = null; + + /** + * + * + * @var string + */ + public $tagsMultiLikeAnd = null; + + /** + * + * + * @var int + */ + public $createdAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $createdAtLessThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtGreaterThanOrEqual = null; + + /** + * + * + * @var int + */ + public $updatedAtLessThanOrEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaWidgetFilter extends KalturaWidgetBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAccessControlFilter extends KalturaAccessControlBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAccessControlProfileFilter extends KalturaAccessControlProfileBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAmazonS3StorageExportJobData extends KalturaStorageExportJobData +{ + /** + * + * + * @var KalturaAmazonS3StorageProfileFilesPermissionLevel + */ + public $filesPermissionInS3 = null; + + /** + * + * + * @var string + */ + public $s3Region = null; + + /** + * + * + * @var string + */ + public $sseType = null; + + /** + * + * + * @var string + */ + public $sseKmsKeyId = null; + + /** + * + * + * @var string + */ + public $signatureType = null; + + /** + * + * + * @var string + */ + public $endPoint = null; + + /** + * + * + * @var string + */ + public $storageClass = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaAmazonS3StorageProfileBaseFilter extends KalturaStorageProfileFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAnonymousIPContextField extends KalturaStringField +{ + /** + * The ip geo coder engine to be used + * + * @var KalturaGeoCoderType + */ + public $geoCoderType = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAssetParamsFilter extends KalturaAssetParamsBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBaseEntryCompareAttributeCondition extends KalturaSearchComparableAttributeCondition +{ + /** + * + * + * @var KalturaBaseEntryCompareAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBaseEntryMatchAttributeCondition extends KalturaSearchMatchAttributeCondition +{ + /** + * + * + * @var KalturaBaseEntryMatchAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaBatchJobFilterExt extends KalturaBatchJobFilter +{ + /** + * + * + * @var string + */ + public $jobTypeAndSubTypeIn = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryEntryFilter extends KalturaCategoryEntryBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCategoryFilter extends KalturaCategoryBaseFilter +{ + /** + * + * + * @var string + */ + public $freeText = null; + + /** + * + * + * @var string + */ + public $membersIn = null; + + /** + * + * + * @var string + */ + public $nameOrReferenceIdStartsWith = null; + + /** + * + * + * @var string + */ + public $managerEqual = null; + + /** + * + * + * @var string + */ + public $memberEqual = null; + + /** + * + * + * @var string + */ + public $fullNameStartsWithIn = null; + + /** + * not includes the category itself (only sub categories) + * + * @var string + */ + public $ancestorIdIn = null; + + /** + * + * + * @var string + */ + public $idOrInheritedParentIdIn = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaConstantXsltSyndicationFeed extends KalturaGenericXsltSyndicationFeed +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConversionProfileFilter extends KalturaConversionProfileBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaConversionProfileAssetParamsFilter extends KalturaConversionProfileAssetParamsBaseFilter +{ + /** + * + * + * @var KalturaConversionProfileFilter + */ + public $conversionProfileIdFilter; + + /** + * + * + * @var KalturaAssetParamsFilter + */ + public $assetParamsIdFilter; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCoordinatesContextField extends KalturaStringField +{ + /** + * The ip geo coder engine to be used + * + * @var KalturaGeoCoderType + */ + public $geoCoderType = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaCountryContextField extends KalturaStringField +{ + /** + * The ip geo coder engine to be used + * + * @var KalturaGeoCoderType + */ + public $geoCoderType = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDataEntryCompareAttributeCondition extends KalturaSearchComparableAttributeCondition +{ + /** + * + * + * @var KalturaDataEntryCompareAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDataEntryMatchAttributeCondition extends KalturaSearchMatchAttributeCondition +{ + /** + * + * + * @var KalturaDataEntryMatchAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaDeliveryProfileAkamaiAppleHttpManifestBaseFilter extends KalturaDeliveryProfileFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaDeliveryProfileAkamaiHdsBaseFilter extends KalturaDeliveryProfileFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaDeliveryProfileAkamaiHttpBaseFilter extends KalturaDeliveryProfileFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaDeliveryProfileGenericAppleHttpBaseFilter extends KalturaDeliveryProfileFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaDeliveryProfileGenericHdsBaseFilter extends KalturaDeliveryProfileFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaDeliveryProfileGenericHttpBaseFilter extends KalturaDeliveryProfileFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaDeliveryProfileGenericSilverLightBaseFilter extends KalturaDeliveryProfileFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaDeliveryProfileLiveAppleHttpBaseFilter extends KalturaDeliveryProfileFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaDeliveryProfileRtmpBaseFilter extends KalturaDeliveryProfileFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaDeliveryServerNodeBaseFilter extends KalturaServerNodeFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDocumentEntryCompareAttributeCondition extends KalturaSearchComparableAttributeCondition +{ + /** + * + * + * @var KalturaDocumentEntryCompareAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDocumentEntryMatchAttributeCondition extends KalturaSearchMatchAttributeCondition +{ + /** + * + * + * @var KalturaDocumentEntryMatchAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEntriesCsvJobData extends KalturaMappedObjectsCsvJobData +{ + /** + * The filter should return the list of entries that need to be specified in the csv. + * + * @var KalturaBaseEntryFilter + */ + public $filter; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEvalBooleanField extends KalturaBooleanField +{ + /** + * PHP code + * + * @var string + */ + public $code = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEvalStringField extends KalturaStringField +{ + /** + * PHP code + * + * @var string + */ + public $code = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaExternalMediaEntryCompareAttributeCondition extends KalturaSearchComparableAttributeCondition +{ + /** + * + * + * @var KalturaExternalMediaEntryCompareAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaExternalMediaEntryMatchAttributeCondition extends KalturaSearchMatchAttributeCondition +{ + /** + * + * + * @var KalturaExternalMediaEntryMatchAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFileAssetFilter extends KalturaFileAssetBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaGenericDataCenterContentResource extends KalturaDataCenterContentResource +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaGenericSyndicationFeedBaseFilter extends KalturaBaseSyndicationFeedFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaGoogleVideoSyndicationFeedBaseFilter extends KalturaBaseSyndicationFeedFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGroupUserFilter extends KalturaGroupUserBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaHttpHeaderCondition extends KalturaRegexCondition +{ + /** + * header name + * + * @var string + */ + public $headerName = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaITunesSyndicationFeedBaseFilter extends KalturaBaseSyndicationFeedFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaIpAddressContextField extends KalturaStringField +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveChannelCompareAttributeCondition extends KalturaSearchComparableAttributeCondition +{ + /** + * + * + * @var KalturaLiveChannelCompareAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveChannelMatchAttributeCondition extends KalturaSearchMatchAttributeCondition +{ + /** + * + * + * @var KalturaLiveChannelMatchAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveChannelSegmentFilter extends KalturaLiveChannelSegmentBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveEntryCompareAttributeCondition extends KalturaSearchComparableAttributeCondition +{ + /** + * + * + * @var KalturaLiveEntryCompareAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveEntryMatchAttributeCondition extends KalturaSearchMatchAttributeCondition +{ + /** + * + * + * @var KalturaLiveEntryMatchAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaLiveEntryServerNodeBaseFilter extends KalturaEntryServerNodeFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamAdminEntryCompareAttributeCondition extends KalturaSearchComparableAttributeCondition +{ + /** + * + * + * @var KalturaLiveStreamAdminEntryCompareAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamAdminEntryMatchAttributeCondition extends KalturaSearchMatchAttributeCondition +{ + /** + * + * + * @var KalturaLiveStreamAdminEntryMatchAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamEntryCompareAttributeCondition extends KalturaSearchComparableAttributeCondition +{ + /** + * + * + * @var KalturaLiveStreamEntryCompareAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamEntryMatchAttributeCondition extends KalturaSearchMatchAttributeCondition +{ + /** + * + * + * @var KalturaLiveStreamEntryMatchAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaEntryCompareAttributeCondition extends KalturaSearchComparableAttributeCondition +{ + /** + * + * + * @var KalturaMediaEntryCompareAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaEntryMatchAttributeCondition extends KalturaSearchMatchAttributeCondition +{ + /** + * + * + * @var KalturaMediaEntryMatchAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaFlavorParamsOutput extends KalturaFlavorParamsOutput +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMixEntryCompareAttributeCondition extends KalturaSearchComparableAttributeCondition +{ + /** + * + * + * @var KalturaMixEntryCompareAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMixEntryMatchAttributeCondition extends KalturaSearchMatchAttributeCondition +{ + /** + * + * + * @var KalturaMixEntryMatchAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaObjectIdField extends KalturaStringField +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPermissionFilter extends KalturaPermissionBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPermissionItemFilter extends KalturaPermissionItemBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlayableEntryCompareAttributeCondition extends KalturaSearchComparableAttributeCondition +{ + /** + * + * + * @var KalturaPlayableEntryCompareAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlayableEntryMatchAttributeCondition extends KalturaSearchMatchAttributeCondition +{ + /** + * + * + * @var KalturaPlayableEntryMatchAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlaylistCompareAttributeCondition extends KalturaSearchComparableAttributeCondition +{ + /** + * + * + * @var KalturaPlaylistCompareAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlaylistMatchAttributeCondition extends KalturaSearchMatchAttributeCondition +{ + /** + * + * + * @var KalturaPlaylistMatchAttribute + */ + public $attribute = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaSshUrlResource extends KalturaUrlResource +{ + /** + * SSH private key + * + * @var string + */ + public $privateKey = null; + + /** + * SSH public key + * + * @var string + */ + public $publicKey = null; + + /** + * Passphrase for SSH keys + * + * @var string + */ + public $keyPassphrase = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaTimeContextField extends KalturaIntegerField +{ + /** + * Time offset in seconds since current time + * + * @var int + */ + public $offset = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaTubeMogulSyndicationFeedBaseFilter extends KalturaBaseSyndicationFeedFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserAgentCondition extends KalturaRegexCondition +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserAgentContextField extends KalturaStringField +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserEmailContextField extends KalturaStringField +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserEntryFilter extends KalturaUserEntryBaseFilter +{ + /** + * + * + * @var KalturaNullableBoolean + */ + public $userIdEqualCurrent = null; + + /** + * + * + * @var KalturaNullableBoolean + */ + public $isAnonymous = null; + + /** + * + * + * @var string + */ + public $privacyContextEqual = null; + + /** + * + * + * @var string + */ + public $privacyContextIn = null; + + /** + * + * + * @var int + */ + public $partnerId = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserLoginDataFilter extends KalturaUserLoginDataBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUserRoleFilter extends KalturaUserRoleBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUsersCsvJobData extends KalturaMappedObjectsCsvJobData +{ + /** + * The filter should return the list of users that need to be specified in the csv. + * + * @var KalturaUserFilter + */ + public $filter; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaWebcamTokenResource extends KalturaDataCenterContentResource +{ + /** + * Token that returned from media server such as FMS or red5. + * + * @var string + */ + public $token = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaYahooSyndicationFeedBaseFilter extends KalturaBaseSyndicationFeedFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAmazonS3StorageProfileFilter extends KalturaAmazonS3StorageProfileBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaApiActionPermissionItemBaseFilter extends KalturaPermissionItemFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaApiParameterPermissionItemBaseFilter extends KalturaPermissionItemFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaAssetParamsOutputBaseFilter extends KalturaAssetParamsFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaDataEntryBaseFilter extends KalturaBaseEntryFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileAkamaiAppleHttpManifestFilter extends KalturaDeliveryProfileAkamaiAppleHttpManifestBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileAkamaiHdsFilter extends KalturaDeliveryProfileAkamaiHdsBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileAkamaiHttpFilter extends KalturaDeliveryProfileAkamaiHttpBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileGenericAppleHttpFilter extends KalturaDeliveryProfileGenericAppleHttpBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileGenericHdsFilter extends KalturaDeliveryProfileGenericHdsBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileGenericHttpFilter extends KalturaDeliveryProfileGenericHttpBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileGenericSilverLightFilter extends KalturaDeliveryProfileGenericSilverLightBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileLiveAppleHttpFilter extends KalturaDeliveryProfileLiveAppleHttpBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileRtmpFilter extends KalturaDeliveryProfileRtmpBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryServerNodeFilter extends KalturaDeliveryServerNodeBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaFlavorAssetBaseFilter extends KalturaAssetFilter +{ + /** + * + * + * @var int + */ + public $flavorParamsIdEqual = null; + + /** + * + * + * @var string + */ + public $flavorParamsIdIn = null; + + /** + * + * + * @var KalturaFlavorAssetStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + /** + * + * + * @var string + */ + public $statusNotIn = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaFlavorParamsBaseFilter extends KalturaAssetParamsFilter +{ + /** + * + * + * @var KalturaContainerFormat + */ + public $formatEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGenericSyndicationFeedFilter extends KalturaGenericSyndicationFeedBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGoogleVideoSyndicationFeedFilter extends KalturaGoogleVideoSyndicationFeedBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaITunesSyndicationFeedFilter extends KalturaITunesSyndicationFeedBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveEntryServerNodeFilter extends KalturaLiveEntryServerNodeBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaOperaSyndicationFeed extends KalturaConstantXsltSyndicationFeed +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaPlaylistBaseFilter extends KalturaBaseEntryFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaQuizUserEntryBaseFilter extends KalturaUserEntryFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaRokuSyndicationFeed extends KalturaConstantXsltSyndicationFeed +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaServerFileResource extends KalturaGenericDataCenterContentResource +{ + /** + * Full path to the local file + * + * @var string + */ + public $localFilePath = null; + + /** + * Should keep original file (false = mv, true = cp) + * + * @var bool + */ + public $keepOriginalFile = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaThumbAssetBaseFilter extends KalturaAssetFilter +{ + /** + * + * + * @var int + */ + public $thumbParamsIdEqual = null; + + /** + * + * + * @var string + */ + public $thumbParamsIdIn = null; + + /** + * + * + * @var KalturaThumbAssetStatus + */ + public $statusEqual = null; + + /** + * + * + * @var string + */ + public $statusIn = null; + + /** + * + * + * @var string + */ + public $statusNotIn = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaThumbParamsBaseFilter extends KalturaAssetParamsFilter +{ + /** + * + * + * @var KalturaContainerFormat + */ + public $formatEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaTubeMogulSyndicationFeedFilter extends KalturaTubeMogulSyndicationFeedBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaUploadedFileTokenResource extends KalturaGenericDataCenterContentResource +{ + /** + * Token that returned from upload.upload action or uploadToken.add action. + * + * @var string + */ + public $token = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaYahooSyndicationFeedFilter extends KalturaYahooSyndicationFeedBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaApiActionPermissionItemFilter extends KalturaApiActionPermissionItemBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaApiParameterPermissionItemFilter extends KalturaApiParameterPermissionItemBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAssetParamsOutputFilter extends KalturaAssetParamsOutputBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDataEntryFilter extends KalturaDataEntryBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaDeliveryProfileGenericRtmpBaseFilter extends KalturaDeliveryProfileRtmpFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaEdgeServerNodeBaseFilter extends KalturaDeliveryServerNodeFilter +{ + /** + * + * + * @var string + */ + public $playbackDomainLike = null; + + /** + * + * + * @var string + */ + public $playbackDomainMultiLikeOr = null; + + /** + * + * + * @var string + */ + public $playbackDomainMultiLikeAnd = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFlavorAssetFilter extends KalturaFlavorAssetBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFlavorParamsFilter extends KalturaFlavorParamsBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaGenericXsltSyndicationFeedBaseFilter extends KalturaGenericSyndicationFeedFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamAdminEntry extends KalturaLiveStreamEntry +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaMediaServerNodeBaseFilter extends KalturaDeliveryServerNodeFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaPlaylistFilter extends KalturaPlaylistBaseFilter +{ + /** + * + * + * @var KalturaPlaylistType + */ + public $playListTypeEqual = null; + + /** + * + * + * @var string + */ + public $playListTypeIn = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaThumbAssetFilter extends KalturaThumbAssetBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaThumbParamsFilter extends KalturaThumbParamsBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaAdminUserBaseFilter extends KalturaUserFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaDeliveryProfileGenericRtmpFilter extends KalturaDeliveryProfileGenericRtmpBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaEdgeServerNodeFilter extends KalturaEdgeServerNodeBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaFlavorParamsOutputBaseFilter extends KalturaFlavorParamsFilter +{ + /** + * + * + * @var int + */ + public $flavorParamsIdEqual = null; + + /** + * + * + * @var string + */ + public $flavorParamsVersionEqual = null; + + /** + * + * + * @var string + */ + public $flavorAssetIdEqual = null; + + /** + * + * + * @var string + */ + public $flavorAssetVersionEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaGenericXsltSyndicationFeedFilter extends KalturaGenericXsltSyndicationFeedBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaLiveAssetBaseFilter extends KalturaFlavorAssetFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaLiveParamsBaseFilter extends KalturaFlavorParamsFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaMediaFlavorParamsBaseFilter extends KalturaFlavorParamsFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaServerNodeFilter extends KalturaMediaServerNodeBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaMixEntryBaseFilter extends KalturaPlayableEntryFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaThumbParamsOutputBaseFilter extends KalturaThumbParamsFilter +{ + /** + * + * + * @var int + */ + public $thumbParamsIdEqual = null; + + /** + * + * + * @var string + */ + public $thumbParamsVersionEqual = null; + + /** + * + * + * @var string + */ + public $thumbAssetIdEqual = null; + + /** + * + * + * @var string + */ + public $thumbAssetVersionEqual = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaAdminUserFilter extends KalturaAdminUserBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaFlavorParamsOutputFilter extends KalturaFlavorParamsOutputBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveAssetFilter extends KalturaLiveAssetBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveParamsFilter extends KalturaLiveParamsBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaFlavorParamsFilter extends KalturaMediaFlavorParamsBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMixEntryFilter extends KalturaMixEntryBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaThumbParamsOutputFilter extends KalturaThumbParamsOutputBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaLiveEntryBaseFilter extends KalturaMediaEntryFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaMediaFlavorParamsOutputBaseFilter extends KalturaFlavorParamsOutputFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveEntryFilter extends KalturaLiveEntryBaseFilter +{ + /** + * + * + * @var KalturaNullableBoolean + */ + public $isLive = null; + + /** + * + * + * @var KalturaNullableBoolean + */ + public $isRecordedEntryIdEmpty = null; + + /** + * + * + * @var string + */ + public $hasMediaServerHostname = null; + + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaMediaFlavorParamsOutputFilter extends KalturaMediaFlavorParamsOutputBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaLiveChannelBaseFilter extends KalturaLiveEntryFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaLiveStreamEntryBaseFilter extends KalturaLiveEntryFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveChannelFilter extends KalturaLiveChannelBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamEntryFilter extends KalturaLiveStreamEntryBaseFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +abstract class KalturaLiveStreamAdminEntryBaseFilter extends KalturaLiveStreamEntryFilter +{ + +} + +/** + * @package Kaltura + * @subpackage Client + */ +class KalturaLiveStreamAdminEntryFilter extends KalturaLiveStreamAdminEntryBaseFilter +{ + +} + diff --git a/KalturaGeneratedAPIClientsPHP/get-kaltura-playlist.php b/KalturaGeneratedAPIClientsPHP/get-kaltura-playlist.php new file mode 100644 index 000000000..0e55ee240 --- /dev/null +++ b/KalturaGeneratedAPIClientsPHP/get-kaltura-playlist.php @@ -0,0 +1,38 @@ +setServiceUrl('https://www.kaltura.com'); +$client = new KalturaClient($config); + +$loginId = "{USER_EMAIL}"; +$password = "{PASSWORD}"; +$partnerId = ""; +$expiry = 86400; +$privileges = "*"; +$otp = ""; +$page_size = $_GET['pageSize']; +$page_index = $_GET['pageIndex']; +$search_text = $_GET['searchText']; + +try { + $ks = $client->user->loginByLoginId($loginId, $password, $partnerId, $expiry, $privileges, $otp); + // var_dump($ks); + $client->setKS($ks); + + $filter = new KalturaMediaEntryFilter(); + $filter->searchTextMatchOr = $search_text; + $pager = new KalturaFilterPager(); + $pager->pageSize = $page_size; + $pager->pageIndex = $page_index; + + + try { + $result = $client->media->listAction($filter, $pager); + echo json_encode(array("results" => $result)); + } catch (Exception $e) { + echo json_encode(array("error" => $e->getMessage())); + } +} catch (Exception $e) { + echo json_encode(array("error" => $e->getMessage())); +} diff --git a/advance-interactive-video-readme.md b/advance-interactive-video-readme.md new file mode 100644 index 000000000..387dad7c1 --- /dev/null +++ b/advance-interactive-video-readme.md @@ -0,0 +1,17 @@ +# Advance Interactive Video + +## Installation + +To install the additional features such as the Kaltura, Youtube and Vimeo Pro playlist follow the below instructions. + +``` +# For Kaltura integration:- + +Please Enter your Kaltura Credentials like 'secret', partnerId, expiry, privileges and sessionType inside KalturaGeneratedAPIClientsPHP/GetKalturaMediaEntry.php. + +#For Youtube and Vimeo Pro Integration:- + +Open src/scripts/config.js file and add your youtube API key +and channel Id. Whereas, for Vimeo pro you need to add token and channel ID. + +``` \ No newline at end of file diff --git a/library.json b/library.json index 1fab7cfa4..d9785c30d 100644 --- a/library.json +++ b/library.json @@ -20,11 +20,20 @@ "preloadedJs": [ { "path": "dist/h5p-interactive-video.js" + }, + { + "path": "src/scripts/custom-integration.js" + }, + { + "path": "src/scripts/config.js" } ], "preloadedCss": [ { "path": "dist/h5p-interactive-video.css" + }, + { + "path": "src/styles/modal.css" } ], "preloadedDependencies": [ diff --git a/package-lock.json b/package-lock.json index 8a2f9fc30..501c43b75 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,8 +1,7453 @@ { "name": "h5p-interactive-video", "version": "1.17.0", - "lockfileVersion": 1, + "lockfileVersion": 2, "requires": true, + "packages": { + "": { + "version": "1.17.0", + "license": "MIT", + "devDependencies": { + "babel-cli": "^6.26.0", + "babel-core": "^6.26.3", + "babel-loader": "^7.1.0", + "babel-plugin-transform-object-assign": "^6.22.0", + "babel-plugin-transform-object-rest-spread": "^6.23.0", + "babel-preset-latest": "^6.22.0", + "cross-env": "^5.0.1", + "css-loader": "^3.4.2", + "extract-text-webpack-plugin": "^2.1.2", + "file-loader": "^0.11.2", + "h5p-lib-controls": "0.0.14", + "resolve-url-loader": "^2.1.0", + "style-loader": "^0.18.2", + "webpack": "^3.0.0" + } + }, + "node_modules/acorn": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.0.3.tgz", + "integrity": "sha1-xGDfCEkUY/AozLguqzcwvwEIez0=", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-dynamic-import": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-2.0.2.tgz", + "integrity": "sha1-x1K9IQvvZ5UBtsbLf8hPj0cVjMQ=", + "dev": true, + "dependencies": { + "acorn": "^4.0.3" + } + }, + "node_modules/acorn-dynamic-import/node_modules/acorn": { + "version": "4.0.13", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz", + "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/adjust-sourcemap-loader": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/adjust-sourcemap-loader/-/adjust-sourcemap-loader-1.1.0.tgz", + "integrity": "sha1-QS2SQE62HkETY1ASy6U6M9AI4OI=", + "dev": true, + "dependencies": { + "assert": "^1.3.0", + "camelcase": "^1.2.1", + "loader-utils": "^1.0.2", + "lodash.assign": "^4.0.1", + "lodash.defaults": "^3.1.2", + "object-path": "^0.9.2", + "regex-parser": "^2.2.1" + } + }, + "node_modules/adjust-sourcemap-loader/node_modules/camelcase": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", + "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/adjust-sourcemap-loader/node_modules/lodash.defaults": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-3.1.2.tgz", + "integrity": "sha1-xzCLGNv4vJNy1wGnNJPGEZK9Liw=", + "dev": true, + "dependencies": { + "lodash.assign": "^3.0.0", + "lodash.restparam": "^3.0.0" + } + }, + "node_modules/adjust-sourcemap-loader/node_modules/lodash.defaults/node_modules/lodash.assign": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-3.2.0.tgz", + "integrity": "sha1-POnwI0tLIiPilrj6CsH+6OvKZPo=", + "dev": true, + "dependencies": { + "lodash._baseassign": "^3.0.0", + "lodash._createassigner": "^3.0.0", + "lodash.keys": "^3.0.0" + } + }, + "node_modules/ajv": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.2.0.tgz", + "integrity": "sha1-wXNQJMXaLvdcwZBxMHPUTwmL9IY=", + "dev": true, + "dependencies": { + "co": "^4.6.0", + "fast-deep-equal": "^0.1.0", + "json-schema-traverse": "^0.3.0", + "json-stable-stringify": "^1.0.1" + } + }, + "node_modules/ajv-keywords": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-2.1.0.tgz", + "integrity": "sha1-opbhf3v658HOT34N5T0pyzIWLfA=", + "dev": true + }, + "node_modules/align-text": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", + "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", + "dev": true, + "dependencies": { + "kind-of": "^3.0.2", + "longest": "^1.0.1", + "repeat-string": "^1.5.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/amdefine": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", + "dev": true, + "engines": { + "node": ">=0.4.2" + } + }, + "node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/anymatch": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz", + "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==", + "dev": true, + "optional": true, + "dependencies": { + "micromatch": "^2.1.5", + "normalize-path": "^2.0.0" + } + }, + "node_modules/arr-diff": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", + "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", + "dev": true, + "optional": true, + "dependencies": { + "arr-flatten": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/array-unique": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", + "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/asn1.js": { + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.9.1.tgz", + "integrity": "sha1-SLokC0WpKA6UdImQull9IWYX/UA=", + "dev": true, + "dependencies": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "node_modules/assert": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/assert/-/assert-1.4.1.tgz", + "integrity": "sha1-mZEtWRg2tab1s0XA8H7vwI/GXZE=", + "dev": true, + "dependencies": { + "util": "0.10.3" + } + }, + "node_modules/assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/async": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/async/-/async-2.5.0.tgz", + "integrity": "sha512-e+lJAJeNWuPCNyxZKOBdaJGyLGHugXVQtrAwtuAe2vhxTYxFTKE73p8JuTmdH0qdQZtDvI4dhJwjZc5zsfIsYw==", + "dev": true, + "dependencies": { + "lodash": "^4.14.0" + } + }, + "node_modules/async-each": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz", + "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=", + "dev": true, + "optional": true + }, + "node_modules/atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "dev": true, + "optional": true, + "bin": { + "atob": "bin/atob.js" + }, + "engines": { + "node": ">= 4.5.0" + } + }, + "node_modules/babel-cli": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-cli/-/babel-cli-6.26.0.tgz", + "integrity": "sha1-UCq1SHTX24itALiHoGODzgPQAvE=", + "dev": true, + "dependencies": { + "babel-core": "^6.26.0", + "babel-polyfill": "^6.26.0", + "babel-register": "^6.26.0", + "babel-runtime": "^6.26.0", + "chokidar": "^1.6.1", + "commander": "^2.11.0", + "convert-source-map": "^1.5.0", + "fs-readdir-recursive": "^1.0.0", + "glob": "^7.1.2", + "lodash": "^4.17.4", + "output-file-sync": "^1.1.2", + "path-is-absolute": "^1.0.1", + "slash": "^1.0.0", + "source-map": "^0.5.6", + "v8flags": "^2.1.1" + }, + "bin": { + "babel": "bin/babel.js", + "babel-doctor": "bin/babel-doctor.js", + "babel-external-helpers": "bin/babel-external-helpers.js", + "babel-node": "bin/babel-node.js" + }, + "optionalDependencies": { + "chokidar": "^1.6.1" + } + }, + "node_modules/babel-cli/node_modules/babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, + "dependencies": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "node_modules/babel-cli/node_modules/regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha1-vgWtf5v30i4Fb5cmzuUBf78Z4uk=", + "dev": true + }, + "node_modules/babel-core": { + "version": "6.26.3", + "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz", + "integrity": "sha1-suLwnjQtDwyI4vAuBneUEl51wgc=", + "dev": true, + "dependencies": { + "babel-code-frame": "^6.26.0", + "babel-generator": "^6.26.0", + "babel-helpers": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-register": "^6.26.0", + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "convert-source-map": "^1.5.1", + "debug": "^2.6.9", + "json5": "^0.5.1", + "lodash": "^4.17.4", + "minimatch": "^3.0.4", + "path-is-absolute": "^1.0.1", + "private": "^0.1.8", + "slash": "^1.0.0", + "source-map": "^0.5.7" + } + }, + "node_modules/babel-core/node_modules/babel-code-frame": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", + "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", + "dev": true, + "dependencies": { + "chalk": "^1.1.3", + "esutils": "^2.0.2", + "js-tokens": "^3.0.2" + } + }, + "node_modules/babel-core/node_modules/babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, + "dependencies": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "node_modules/babel-core/node_modules/babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" + } + }, + "node_modules/babel-core/node_modules/convert-source-map": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.1.tgz", + "integrity": "sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU=", + "dev": true + }, + "node_modules/babel-core/node_modules/js-tokens": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", + "dev": true + }, + "node_modules/babel-core/node_modules/private": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", + "integrity": "sha1-I4Hts2ifelPWUxkAYPz4ItLzaP8=", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/babel-core/node_modules/regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha1-vgWtf5v30i4Fb5cmzuUBf78Z4uk=", + "dev": true + }, + "node_modules/babel-core/node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/babel-generator": { + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", + "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", + "dev": true, + "dependencies": { + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "detect-indent": "^4.0.0", + "jsesc": "^1.3.0", + "lodash": "^4.17.4", + "source-map": "^0.5.7", + "trim-right": "^1.0.1" + } + }, + "node_modules/babel-generator/node_modules/babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, + "dependencies": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "node_modules/babel-generator/node_modules/babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" + } + }, + "node_modules/babel-generator/node_modules/jsesc": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", + "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + } + }, + "node_modules/babel-generator/node_modules/regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", + "dev": true + }, + "node_modules/babel-generator/node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/babel-helper-builder-binary-assignment-operator-visitor": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz", + "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=", + "dev": true, + "dependencies": { + "babel-helper-explode-assignable-expression": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "node_modules/babel-helper-call-delegate": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz", + "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=", + "dev": true, + "dependencies": { + "babel-helper-hoist-variables": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "node_modules/babel-helper-define-map": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz", + "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=", + "dev": true, + "dependencies": { + "babel-helper-function-name": "^6.24.1", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "lodash": "^4.17.4" + } + }, + "node_modules/babel-helper-define-map/node_modules/babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, + "dependencies": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "node_modules/babel-helper-define-map/node_modules/babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" + } + }, + "node_modules/babel-helper-define-map/node_modules/regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", + "dev": true + }, + "node_modules/babel-helper-explode-assignable-expression": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz", + "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "node_modules/babel-helper-function-name": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz", + "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=", + "dev": true, + "dependencies": { + "babel-helper-get-function-arity": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "node_modules/babel-helper-get-function-arity": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz", + "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "node_modules/babel-helper-hoist-variables": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz", + "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "node_modules/babel-helper-optimise-call-expression": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz", + "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "node_modules/babel-helper-regex": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz", + "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "lodash": "^4.17.4" + } + }, + "node_modules/babel-helper-regex/node_modules/babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, + "dependencies": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "node_modules/babel-helper-regex/node_modules/babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" + } + }, + "node_modules/babel-helper-regex/node_modules/regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", + "dev": true + }, + "node_modules/babel-helper-remap-async-to-generator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz", + "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=", + "dev": true, + "dependencies": { + "babel-helper-function-name": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "node_modules/babel-helper-replace-supers": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz", + "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=", + "dev": true, + "dependencies": { + "babel-helper-optimise-call-expression": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "node_modules/babel-helpers": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", + "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "node_modules/babel-loader": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-7.1.1.tgz", + "integrity": "sha1-uHE0yLEuPkwqlOBUYIW8aAorhIg=", + "dev": true, + "dependencies": { + "find-cache-dir": "^1.0.0", + "loader-utils": "^1.0.2", + "mkdirp": "^0.5.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/babel-loader/node_modules/find-cache-dir": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-1.0.0.tgz", + "integrity": "sha1-kojj6ePMN0hxfTnq3hfPcfww7m8=", + "dev": true, + "dependencies": { + "commondir": "^1.0.1", + "make-dir": "^1.0.0", + "pkg-dir": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/babel-loader/node_modules/pkg-dir": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", + "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", + "dev": true, + "dependencies": { + "find-up": "^2.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/babel-messages": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", + "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/babel-plugin-check-es2015-constants": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz", + "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/babel-plugin-syntax-async-functions": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz", + "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=", + "dev": true + }, + "node_modules/babel-plugin-syntax-exponentiation-operator": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz", + "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4=", + "dev": true + }, + "node_modules/babel-plugin-syntax-object-rest-spread": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz", + "integrity": "sha1-/WU28rzhODb/o6VFjEkDpZe7O/U=", + "dev": true + }, + "node_modules/babel-plugin-syntax-trailing-function-commas": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz", + "integrity": "sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM=", + "dev": true + }, + "node_modules/babel-plugin-transform-async-to-generator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz", + "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=", + "dev": true, + "dependencies": { + "babel-helper-remap-async-to-generator": "^6.24.1", + "babel-plugin-syntax-async-functions": "^6.8.0", + "babel-runtime": "^6.22.0" + } + }, + "node_modules/babel-plugin-transform-es2015-arrow-functions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz", + "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/babel-plugin-transform-es2015-block-scoped-functions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz", + "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/babel-plugin-transform-es2015-block-scoping": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz", + "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "lodash": "^4.17.4" + } + }, + "node_modules/babel-plugin-transform-es2015-block-scoping/node_modules/babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, + "dependencies": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "node_modules/babel-plugin-transform-es2015-block-scoping/node_modules/babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" + } + }, + "node_modules/babel-plugin-transform-es2015-block-scoping/node_modules/regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", + "dev": true + }, + "node_modules/babel-plugin-transform-es2015-classes": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz", + "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=", + "dev": true, + "dependencies": { + "babel-helper-define-map": "^6.24.1", + "babel-helper-function-name": "^6.24.1", + "babel-helper-optimise-call-expression": "^6.24.1", + "babel-helper-replace-supers": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "node_modules/babel-plugin-transform-es2015-computed-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz", + "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "node_modules/babel-plugin-transform-es2015-destructuring": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz", + "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/babel-plugin-transform-es2015-duplicate-keys": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz", + "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "node_modules/babel-plugin-transform-es2015-for-of": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz", + "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/babel-plugin-transform-es2015-function-name": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz", + "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=", + "dev": true, + "dependencies": { + "babel-helper-function-name": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "node_modules/babel-plugin-transform-es2015-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz", + "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/babel-plugin-transform-es2015-modules-amd": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz", + "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=", + "dev": true, + "dependencies": { + "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "node_modules/babel-plugin-transform-es2015-modules-commonjs": { + "version": "6.26.2", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz", + "integrity": "sha512-CV9ROOHEdrjcwhIaJNBGMBCodN+1cfkwtM1SbUHmvyy35KGT7fohbpOxkE2uLz1o6odKK2Ck/tz47z+VqQfi9Q==", + "dev": true, + "dependencies": { + "babel-plugin-transform-strict-mode": "^6.24.1", + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-types": "^6.26.0" + } + }, + "node_modules/babel-plugin-transform-es2015-modules-commonjs/node_modules/babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, + "dependencies": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "node_modules/babel-plugin-transform-es2015-modules-commonjs/node_modules/babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" + } + }, + "node_modules/babel-plugin-transform-es2015-modules-commonjs/node_modules/regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", + "dev": true + }, + "node_modules/babel-plugin-transform-es2015-modules-systemjs": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz", + "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=", + "dev": true, + "dependencies": { + "babel-helper-hoist-variables": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "node_modules/babel-plugin-transform-es2015-modules-umd": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz", + "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=", + "dev": true, + "dependencies": { + "babel-plugin-transform-es2015-modules-amd": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "node_modules/babel-plugin-transform-es2015-object-super": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz", + "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=", + "dev": true, + "dependencies": { + "babel-helper-replace-supers": "^6.24.1", + "babel-runtime": "^6.22.0" + } + }, + "node_modules/babel-plugin-transform-es2015-parameters": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz", + "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=", + "dev": true, + "dependencies": { + "babel-helper-call-delegate": "^6.24.1", + "babel-helper-get-function-arity": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "node_modules/babel-plugin-transform-es2015-shorthand-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz", + "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "node_modules/babel-plugin-transform-es2015-spread": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz", + "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/babel-plugin-transform-es2015-sticky-regex": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz", + "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=", + "dev": true, + "dependencies": { + "babel-helper-regex": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "node_modules/babel-plugin-transform-es2015-template-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz", + "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/babel-plugin-transform-es2015-typeof-symbol": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz", + "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/babel-plugin-transform-es2015-unicode-regex": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz", + "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=", + "dev": true, + "dependencies": { + "babel-helper-regex": "^6.24.1", + "babel-runtime": "^6.22.0", + "regexpu-core": "^2.0.0" + } + }, + "node_modules/babel-plugin-transform-exponentiation-operator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz", + "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=", + "dev": true, + "dependencies": { + "babel-helper-builder-binary-assignment-operator-visitor": "^6.24.1", + "babel-plugin-syntax-exponentiation-operator": "^6.8.0", + "babel-runtime": "^6.22.0" + } + }, + "node_modules/babel-plugin-transform-object-assign": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-object-assign/-/babel-plugin-transform-object-assign-6.22.0.tgz", + "integrity": "sha1-+Z0vZvGgsNSY40bFNZaEdAyqILo=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/babel-plugin-transform-object-rest-spread": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.23.0.tgz", + "integrity": "sha1-h11ryb52HFiirj/u5dxIldjH+SE=", + "dev": true, + "dependencies": { + "babel-plugin-syntax-object-rest-spread": "^6.8.0", + "babel-runtime": "^6.22.0" + } + }, + "node_modules/babel-plugin-transform-regenerator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.24.1.tgz", + "integrity": "sha1-uNowWtQ8PJm0hI5P5AN7dw0jxBg=", + "dev": true, + "dependencies": { + "regenerator-transform": "0.9.11" + } + }, + "node_modules/babel-plugin-transform-strict-mode": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz", + "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "node_modules/babel-polyfill": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz", + "integrity": "sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.26.0", + "core-js": "^2.5.0", + "regenerator-runtime": "^0.10.5" + } + }, + "node_modules/babel-polyfill/node_modules/babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, + "dependencies": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "node_modules/babel-polyfill/node_modules/babel-runtime/node_modules/regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha1-vgWtf5v30i4Fb5cmzuUBf78Z4uk=", + "dev": true + }, + "node_modules/babel-polyfill/node_modules/core-js": { + "version": "2.5.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz", + "integrity": "sha1-+XJgj/DOrWi4QaFqky0LGDeRgU4=", + "dev": true + }, + "node_modules/babel-preset-es2015": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-es2015/-/babel-preset-es2015-6.24.1.tgz", + "integrity": "sha1-1EBQ1rwsn+6nAqrzjXJ6AhBTiTk=", + "dev": true, + "dependencies": { + "babel-plugin-check-es2015-constants": "^6.22.0", + "babel-plugin-transform-es2015-arrow-functions": "^6.22.0", + "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0", + "babel-plugin-transform-es2015-block-scoping": "^6.24.1", + "babel-plugin-transform-es2015-classes": "^6.24.1", + "babel-plugin-transform-es2015-computed-properties": "^6.24.1", + "babel-plugin-transform-es2015-destructuring": "^6.22.0", + "babel-plugin-transform-es2015-duplicate-keys": "^6.24.1", + "babel-plugin-transform-es2015-for-of": "^6.22.0", + "babel-plugin-transform-es2015-function-name": "^6.24.1", + "babel-plugin-transform-es2015-literals": "^6.22.0", + "babel-plugin-transform-es2015-modules-amd": "^6.24.1", + "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", + "babel-plugin-transform-es2015-modules-systemjs": "^6.24.1", + "babel-plugin-transform-es2015-modules-umd": "^6.24.1", + "babel-plugin-transform-es2015-object-super": "^6.24.1", + "babel-plugin-transform-es2015-parameters": "^6.24.1", + "babel-plugin-transform-es2015-shorthand-properties": "^6.24.1", + "babel-plugin-transform-es2015-spread": "^6.22.0", + "babel-plugin-transform-es2015-sticky-regex": "^6.24.1", + "babel-plugin-transform-es2015-template-literals": "^6.22.0", + "babel-plugin-transform-es2015-typeof-symbol": "^6.22.0", + "babel-plugin-transform-es2015-unicode-regex": "^6.24.1", + "babel-plugin-transform-regenerator": "^6.24.1" + } + }, + "node_modules/babel-preset-es2016": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-es2016/-/babel-preset-es2016-6.24.1.tgz", + "integrity": "sha1-+QC/k+LrwNJ235uKtZck6/2Vn4s=", + "dev": true, + "dependencies": { + "babel-plugin-transform-exponentiation-operator": "^6.24.1" + } + }, + "node_modules/babel-preset-es2017": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-es2017/-/babel-preset-es2017-6.24.1.tgz", + "integrity": "sha1-WXvq37n38gi8/YoS6bKym4svFNE=", + "dev": true, + "dependencies": { + "babel-plugin-syntax-trailing-function-commas": "^6.22.0", + "babel-plugin-transform-async-to-generator": "^6.24.1" + } + }, + "node_modules/babel-preset-latest": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-latest/-/babel-preset-latest-6.24.1.tgz", + "integrity": "sha1-Z33gaRVKdIXC0lxXfAL2JLhbheg=", + "dev": true, + "dependencies": { + "babel-preset-es2015": "^6.24.1", + "babel-preset-es2016": "^6.24.1", + "babel-preset-es2017": "^6.24.1" + } + }, + "node_modules/babel-register": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz", + "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=", + "dev": true, + "dependencies": { + "babel-core": "^6.26.0", + "babel-runtime": "^6.26.0", + "core-js": "^2.5.0", + "home-or-tmp": "^2.0.0", + "lodash": "^4.17.4", + "mkdirp": "^0.5.1", + "source-map-support": "^0.4.15" + } + }, + "node_modules/babel-register/node_modules/babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, + "dependencies": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "node_modules/babel-register/node_modules/core-js": { + "version": "2.5.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz", + "integrity": "sha1-+XJgj/DOrWi4QaFqky0LGDeRgU4=", + "dev": true + }, + "node_modules/babel-register/node_modules/regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha1-vgWtf5v30i4Fb5cmzuUBf78Z4uk=", + "dev": true + }, + "node_modules/babel-register/node_modules/source-map-support": { + "version": "0.4.18", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", + "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", + "dev": true, + "dependencies": { + "source-map": "^0.5.6" + } + }, + "node_modules/babel-runtime": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.23.0.tgz", + "integrity": "sha1-CpSJ8UTecO+zzkMArM2zKeL8VDs=", + "dev": true, + "dependencies": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.10.0" + } + }, + "node_modules/babel-template": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", + "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "lodash": "^4.17.4" + } + }, + "node_modules/babel-template/node_modules/babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, + "dependencies": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "node_modules/babel-template/node_modules/babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" + } + }, + "node_modules/babel-template/node_modules/regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", + "dev": true + }, + "node_modules/babel-traverse": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", + "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", + "dev": true, + "dependencies": { + "babel-code-frame": "^6.26.0", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "debug": "^2.6.8", + "globals": "^9.18.0", + "invariant": "^2.2.2", + "lodash": "^4.17.4" + } + }, + "node_modules/babel-traverse/node_modules/babel-code-frame": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", + "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", + "dev": true, + "dependencies": { + "chalk": "^1.1.3", + "esutils": "^2.0.2", + "js-tokens": "^3.0.2" + } + }, + "node_modules/babel-traverse/node_modules/babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, + "dependencies": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "node_modules/babel-traverse/node_modules/babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" + } + }, + "node_modules/babel-traverse/node_modules/js-tokens": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", + "dev": true + }, + "node_modules/babel-traverse/node_modules/regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", + "dev": true + }, + "node_modules/babel-types": { + "version": "6.25.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.25.0.tgz", + "integrity": "sha1-cK+ySNVmDl0Y+BHZHIMDtUE0oY4=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.22.0", + "esutils": "^2.0.2", + "lodash": "^4.2.0", + "to-fast-properties": "^1.0.1" + } + }, + "node_modules/babylon": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", + "dev": true, + "bin": { + "babylon": "bin/babylon.js" + } + }, + "node_modules/balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true + }, + "node_modules/base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "dev": true, + "optional": true, + "dependencies": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/base/node_modules/define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "optional": true, + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/base/node_modules/is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "optional": true, + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/base/node_modules/is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "optional": true, + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/base/node_modules/is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "optional": true, + "dependencies": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/base/node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/base/node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/base64-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.2.1.tgz", + "integrity": "sha512-dwVUVIXsBZXwTuwnXI9RK8sBmgq09NDHzyR9SAph9eqk76gKK2JSQmZARC2zRC81JC2QTtxD0ARU5qTS25gIGw==", + "dev": true + }, + "node_modules/big.js": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.1.3.tgz", + "integrity": "sha1-TK2iGTZS6zyp7I5VyQFWacmAaXg=", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/binary-extensions": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.8.0.tgz", + "integrity": "sha1-SOyNFt9Dd+rl+liEaCSAr02Vx3Q=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/bn.js": { + "version": "4.11.7", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.7.tgz", + "integrity": "sha512-LxFiV5mefv0ley0SzqkOPR1bC4EbpPx8LkOz5vMe/Yi15t5hzwgO/G+tc7wOtL4PZTYjwHu8JnEiSLumuSjSfA==", + "dev": true + }, + "node_modules/brace-expansion": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz", + "integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "1.8.5", + "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", + "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", + "dev": true, + "optional": true, + "dependencies": { + "expand-range": "^1.8.1", + "preserve": "^0.2.0", + "repeat-element": "^1.1.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=", + "dev": true + }, + "node_modules/browserify-aes": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.0.6.tgz", + "integrity": "sha1-Xncl297x/Vkw1OurSFZ85FHEigo=", + "dev": true, + "dependencies": { + "buffer-xor": "^1.0.2", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.0", + "inherits": "^2.0.1" + } + }, + "node_modules/browserify-cipher": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.0.tgz", + "integrity": "sha1-mYgkSHS/XtTijalWZtzWasj8Njo=", + "dev": true, + "dependencies": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "node_modules/browserify-des": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.0.tgz", + "integrity": "sha1-2qJ3cXRwki7S/hhZQRihdUOXId0=", + "dev": true, + "dependencies": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1" + } + }, + "node_modules/browserify-rsa": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz", + "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=", + "dev": true, + "dependencies": { + "bn.js": "^4.1.0", + "randombytes": "^2.0.1" + } + }, + "node_modules/browserify-sign": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.4.tgz", + "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=", + "dev": true, + "dependencies": { + "bn.js": "^4.1.1", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.2", + "elliptic": "^6.0.0", + "inherits": "^2.0.1", + "parse-asn1": "^5.0.0" + } + }, + "node_modules/browserify-zlib": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.1.4.tgz", + "integrity": "sha1-uzX4pRn2AOD6a4SFJByXnQFB+y0=", + "dev": true, + "dependencies": { + "pako": "~0.2.0" + } + }, + "node_modules/buffer": { + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", + "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=", + "dev": true, + "dependencies": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4", + "isarray": "^1.0.0" + } + }, + "node_modules/buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=", + "dev": true + }, + "node_modules/builtin-modules": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", + "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/builtin-status-codes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", + "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=", + "dev": true + }, + "node_modules/cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "dev": true, + "optional": true, + "dependencies": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/cache-base/node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/center-align": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", + "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", + "dev": true, + "dependencies": { + "align-text": "^0.1.3", + "lazy-cache": "^1.0.3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "dependencies": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/chalk/node_modules/supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/chokidar": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz", + "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=", + "dev": true, + "optional": true, + "dependencies": { + "anymatch": "^1.3.0", + "async-each": "^1.0.0", + "fsevents": "^1.0.0", + "glob-parent": "^2.0.0", + "inherits": "^2.0.1", + "is-binary-path": "^1.0.0", + "is-glob": "^2.0.0", + "path-is-absolute": "^1.0.0", + "readdirp": "^2.0.0" + } + }, + "node_modules/cipher-base": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.3.tgz", + "integrity": "sha1-7qvxlEGc6QDaMBjCB9IS8qbfCgc=", + "dev": true, + "dependencies": { + "inherits": "^2.0.1" + } + }, + "node_modules/class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "dev": true, + "optional": true, + "dependencies": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/class-utils/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "optional": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/class-utils/node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/cliui": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", + "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", + "dev": true, + "dependencies": { + "center-align": "^0.1.1", + "right-align": "^0.1.1", + "wordwrap": "0.0.2" + } + }, + "node_modules/co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", + "dev": true, + "engines": { + "iojs": ">= 1.0.0", + "node": ">= 0.12.0" + } + }, + "node_modules/code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/collection-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", + "dev": true, + "optional": true, + "dependencies": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "node_modules/commander": { + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz", + "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==", + "dev": true + }, + "node_modules/commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "dev": true + }, + "node_modules/component-emitter": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", + "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", + "dev": true, + "optional": true + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "node_modules/console-browserify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz", + "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=", + "dev": true, + "dependencies": { + "date-now": "^0.1.4" + } + }, + "node_modules/constants-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", + "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=", + "dev": true + }, + "node_modules/convert-source-map": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.0.tgz", + "integrity": "sha1-ms1whRxtXf3ZPZKC5e35SgP/RrU=", + "dev": true + }, + "node_modules/copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/core-js": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.4.1.tgz", + "integrity": "sha1-TekR5mew6ukSTjQlS1OupvxhjT4=", + "dev": true + }, + "node_modules/core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true + }, + "node_modules/create-ecdh": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.0.tgz", + "integrity": "sha1-iIxyNZbN92EvZJgjPuvXo1MBc30=", + "dev": true, + "dependencies": { + "bn.js": "^4.1.0", + "elliptic": "^6.0.0" + } + }, + "node_modules/create-hash": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.1.3.tgz", + "integrity": "sha1-YGBCrIuSYnUPSDyt2rD1gZFy2P0=", + "dev": true, + "dependencies": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "sha.js": "^2.4.0" + } + }, + "node_modules/create-hmac": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.6.tgz", + "integrity": "sha1-rLniIaThe9sHbpBlfEK5PjcmzwY=", + "dev": true, + "dependencies": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "node_modules/cross-env": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-5.1.6.tgz", + "integrity": "sha512-VWTDq+G4v383SzgRS7jsAVWqEWF0aKZpDz1GVjhONvPRgHB1LnxP2sXUVFKbykHkPSnfRKS8YdiDevWFwZmQ9g==", + "dev": true, + "dependencies": { + "cross-spawn": "^5.1.0", + "is-windows": "^1.0.0" + }, + "bin": { + "cross-env": "dist/bin/cross-env.js", + "cross-env-shell": "dist/bin/cross-env-shell.js" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/cross-spawn": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", + "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", + "dev": true, + "dependencies": { + "lru-cache": "^4.0.1", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "node_modules/crypto-browserify": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.11.0.tgz", + "integrity": "sha1-NlKgkGq5sqfgw85mpAjpV6JIVSI=", + "dev": true, + "dependencies": { + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0" + }, + "engines": { + "node": "*" + } + }, + "node_modules/css": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/css/-/css-2.2.3.tgz", + "integrity": "sha512-0W171WccAjQGGTKLhw4m2nnl0zPHUlTO/I8td4XzJgIB8Hg3ZZx71qT4G4eX8OVsSiaAKiUMy73E3nsbPlg2DQ==", + "dev": true, + "dependencies": { + "inherits": "^2.0.1", + "source-map": "^0.1.38", + "source-map-resolve": "^0.5.1", + "urix": "^0.1.0" + } + }, + "node_modules/css-loader": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-3.4.2.tgz", + "integrity": "sha512-jYq4zdZT0oS0Iykt+fqnzVLRIeiPWhka+7BqPn+oSIpWJAHak5tmB/WZrJ2a21JhCeFyNnnlroSl8c+MtVndzA==", + "dev": true, + "dependencies": { + "camelcase": "^5.3.1", + "cssesc": "^3.0.0", + "icss-utils": "^4.1.1", + "loader-utils": "^1.2.3", + "normalize-path": "^3.0.0", + "postcss": "^7.0.23", + "postcss-modules-extract-imports": "^2.0.0", + "postcss-modules-local-by-default": "^3.0.2", + "postcss-modules-scope": "^2.1.1", + "postcss-modules-values": "^3.0.0", + "postcss-value-parser": "^4.0.2", + "schema-utils": "^2.6.0" + }, + "engines": { + "node": ">= 8.9.0" + } + }, + "node_modules/css-loader/node_modules/ajv": { + "version": "6.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.0.tgz", + "integrity": "sha512-D6gFiFA0RRLyUbvijN74DWAjXSFxWKaWP7mldxkVhyhAV3+SWA9HEJPHQ2c9soIeTFJqcSdFDGFgdqs1iUU2Hw==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "node_modules/css-loader/node_modules/ajv-keywords": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.4.1.tgz", + "integrity": "sha512-RO1ibKvd27e6FEShVFfPALuHI3WjSVNeK5FIsmme/LYRNxjKuNj+Dt7bucLa6NdSv3JcVTyMlm9kGR84z1XpaQ==", + "dev": true + }, + "node_modules/css-loader/node_modules/big.js": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", + "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/css-loader/node_modules/emojis-list": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", + "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/css-loader/node_modules/fast-deep-equal": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz", + "integrity": "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA==", + "dev": true + }, + "node_modules/css-loader/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/css-loader/node_modules/json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/css-loader/node_modules/loader-utils": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", + "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", + "dev": true, + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^1.0.1" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/css-loader/node_modules/minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + }, + "node_modules/css-loader/node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/css-loader/node_modules/schema-utils": { + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.6.4.tgz", + "integrity": "sha512-VNjcaUxVnEeun6B2fiiUDjXXBtD4ZSH7pdbfIu1pOFwgptDPLMo/z9jr4sUfsjFVPqDCEin/F7IYlq7/E6yDbQ==", + "dev": true, + "dependencies": { + "ajv": "^6.10.2", + "ajv-keywords": "^3.4.1" + }, + "engines": { + "node": ">= 8.9.0" + } + }, + "node_modules/css/node_modules/atob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.1.tgz", + "integrity": "sha1-ri1acpR38onWDdf5amMUoi3Wwio=", + "dev": true, + "bin": { + "atob": "bin/atob.js" + }, + "engines": { + "node": ">= 4.5.0" + } + }, + "node_modules/css/node_modules/source-map": { + "version": "0.1.43", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz", + "integrity": "sha1-wkvBRspRfBRx9drL4lcbK3+eM0Y=", + "dev": true, + "dependencies": { + "amdefine": ">=0.0.4" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/css/node_modules/source-map-resolve": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", + "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", + "dev": true, + "dependencies": { + "atob": "^2.1.1", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "node_modules/css/node_modules/source-map-url": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", + "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", + "dev": true + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "dev": true, + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/d": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz", + "integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=", + "dev": true, + "dependencies": { + "es5-ext": "^0.10.9" + } + }, + "node_modules/date-now": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz", + "integrity": "sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=", + "dev": true + }, + "node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", + "dev": true, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "optional": true, + "dependencies": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/define-property/node_modules/is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "optional": true, + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/define-property/node_modules/is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "optional": true, + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/define-property/node_modules/is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "optional": true, + "dependencies": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/define-property/node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/define-property/node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/des.js": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.0.tgz", + "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=", + "dev": true, + "dependencies": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "node_modules/detect-indent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", + "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", + "dev": true, + "dependencies": { + "repeating": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/diffie-hellman": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.2.tgz", + "integrity": "sha1-tYNXOScM/ias9jIJn97SoH8gnl4=", + "dev": true, + "dependencies": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + } + }, + "node_modules/domain-browser": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.1.7.tgz", + "integrity": "sha1-hnqksJP6oF8d4IwG9NeyH9+GmLw=", + "dev": true, + "engines": { + "node": ">=0.4", + "npm": ">=1.2" + } + }, + "node_modules/elliptic": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz", + "integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==", + "dev": true, + "dependencies": { + "bn.js": "^4.4.0", + "brorand": "^1.0.1", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.0" + } + }, + "node_modules/emojis-list": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz", + "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k=", + "dev": true, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/enhanced-resolve": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-3.1.0.tgz", + "integrity": "sha1-n0tib1dyRe3PSyrYPYbhf09CHew=", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.2", + "memory-fs": "^0.4.0", + "object-assign": "^4.0.1", + "tapable": "^0.2.5" + }, + "engines": { + "node": ">=4.3.0 <5.0.0 || >=5.10" + } + }, + "node_modules/errno": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.4.tgz", + "integrity": "sha1-uJbiOp5ei6M4cfyZar02NfyaHH0=", + "dev": true, + "dependencies": { + "prr": "~0.0.0" + }, + "bin": { + "errno": "cli.js" + } + }, + "node_modules/error-ex": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.1.tgz", + "integrity": "sha1-+FWobOYa3E6GIcPNoh56dhLDqNw=", + "dev": true, + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/es5-ext": { + "version": "0.10.23", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.23.tgz", + "integrity": "sha1-dXi1G+l0IHpUh4IbVlOMIk5Oezg=", + "dev": true, + "dependencies": { + "es6-iterator": "2", + "es6-symbol": "~3.1" + } + }, + "node_modules/es6-iterator": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.1.tgz", + "integrity": "sha1-jjGcnwRTv1ddN0lAplWSDlnKVRI=", + "dev": true, + "dependencies": { + "d": "1", + "es5-ext": "^0.10.14", + "es6-symbol": "^3.1" + } + }, + "node_modules/es6-map": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/es6-map/-/es6-map-0.1.5.tgz", + "integrity": "sha1-kTbgUD3MBqMBaQ8LsU/042TpSfA=", + "dev": true, + "dependencies": { + "d": "1", + "es5-ext": "~0.10.14", + "es6-iterator": "~2.0.1", + "es6-set": "~0.1.5", + "es6-symbol": "~3.1.1", + "event-emitter": "~0.3.5" + } + }, + "node_modules/es6-set": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/es6-set/-/es6-set-0.1.5.tgz", + "integrity": "sha1-0rPsXU2ADO2BjbU40ol02wpzzLE=", + "dev": true, + "dependencies": { + "d": "1", + "es5-ext": "~0.10.14", + "es6-iterator": "~2.0.1", + "es6-symbol": "3.1.1", + "event-emitter": "~0.3.5" + } + }, + "node_modules/es6-symbol": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz", + "integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=", + "dev": true, + "dependencies": { + "d": "1", + "es5-ext": "~0.10.14" + } + }, + "node_modules/es6-weak-map": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.2.tgz", + "integrity": "sha1-XjqzIlH/0VOKH45f+hNXdy+S2W8=", + "dev": true, + "dependencies": { + "d": "1", + "es5-ext": "^0.10.14", + "es6-iterator": "^2.0.1", + "es6-symbol": "^3.1.1" + } + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/escope": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/escope/-/escope-3.6.0.tgz", + "integrity": "sha1-4Bl16BJ4GhY6ba392AOY3GTIicM=", + "dev": true, + "dependencies": { + "es6-map": "^0.1.3", + "es6-weak-map": "^2.0.1", + "esrecurse": "^4.1.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/esrecurse": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.0.tgz", + "integrity": "sha1-+pVo2Y04I/mkHZHpAtyrnqblsWM=", + "dev": true, + "dependencies": { + "estraverse": "^4.1.0", + "object-assign": "^4.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/estraverse": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", + "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/esutils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", + "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/event-emitter": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", + "integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=", + "dev": true, + "dependencies": { + "d": "1", + "es5-ext": "~0.10.14" + } + }, + "node_modules/events": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", + "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=", + "dev": true, + "engines": { + "node": ">=0.4.x" + } + }, + "node_modules/evp_bytestokey": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.0.tgz", + "integrity": "sha1-SXtmrZ/vZc18CKYYCCS6FHa2blM=", + "dev": true, + "dependencies": { + "create-hash": "^1.1.1" + } + }, + "node_modules/expand-brackets": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", + "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", + "dev": true, + "optional": true, + "dependencies": { + "is-posix-bracket": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/expand-range": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", + "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", + "dev": true, + "optional": true, + "dependencies": { + "fill-range": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "dev": true, + "optional": true, + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extend-shallow/node_modules/is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "optional": true, + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extglob": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", + "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", + "dev": true, + "optional": true, + "dependencies": { + "is-extglob": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/extract-text-webpack-plugin": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/extract-text-webpack-plugin/-/extract-text-webpack-plugin-2.1.2.tgz", + "integrity": "sha1-dW7076gVXDaBgz+8NNpTuUF0bWw=", + "dev": true, + "dependencies": { + "async": "^2.1.2", + "loader-utils": "^1.0.2", + "schema-utils": "^0.3.0", + "webpack-sources": "^1.0.1" + }, + "engines": { + "node": ">=4.3.0 < 5.0.0 || >= 5.10" + } + }, + "node_modules/fast-deep-equal": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-0.1.0.tgz", + "integrity": "sha1-XG9FmaumszPuM0Li7ZeGcvEAH40=", + "dev": true + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "node_modules/file-loader": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-0.11.2.tgz", + "integrity": "sha512-N+uhF3mswIFeziHQjGScJ/yHXYt3DiLBeC+9vWW+WjUBiClMSOlV1YrXQi+7KM2aA3Rn4Bybgv+uXFQbfkzpvg==", + "dev": true, + "dependencies": { + "loader-utils": "^1.0.2" + } + }, + "node_modules/filename-regex": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz", + "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fill-range": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz", + "integrity": "sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==", + "dev": true, + "optional": true, + "dependencies": { + "is-number": "^2.1.0", + "isobject": "^2.0.0", + "randomatic": "^3.0.0", + "repeat-element": "^1.1.2", + "repeat-string": "^1.5.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/for-own": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", + "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", + "dev": true, + "optional": true, + "dependencies": { + "for-in": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fragment-cache": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", + "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", + "dev": true, + "optional": true, + "dependencies": { + "map-cache": "^0.2.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fs-readdir-recursive": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", + "integrity": "sha1-4y/AMKLM7kSmtTcTCNpUvgs5fSc=", + "dev": true + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "node_modules/fsevents": { + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.9.tgz", + "integrity": "sha512-oeyj2H3EjjonWcFjD5NvZNE9Rqe4UW+nQBU2HNeKw0koVLEFIhtyETyAakeAM3de7Z/SW5kcA+fZUait9EApnw==", + "bundleDependencies": [ + "abbrev", + "ansi-regex", + "aproba", + "are-we-there-yet", + "balanced-match", + "brace-expansion", + "chownr", + "code-point-at", + "concat-map", + "console-control-strings", + "core-util-is", + "debug", + "deep-extend", + "delegates", + "detect-libc", + "fs-minipass", + "fs.realpath", + "gauge", + "glob", + "has-unicode", + "iconv-lite", + "ignore-walk", + "inflight", + "inherits", + "ini", + "is-fullwidth-code-point", + "isarray", + "minimatch", + "minimist", + "minipass", + "minizlib", + "mkdirp", + "ms", + "needle", + "node-pre-gyp", + "nopt", + "npm-bundled", + "npm-packlist", + "npmlog", + "number-is-nan", + "object-assign", + "once", + "os-homedir", + "os-tmpdir", + "osenv", + "path-is-absolute", + "process-nextick-args", + "rc", + "readable-stream", + "rimraf", + "safe-buffer", + "safer-buffer", + "sax", + "semver", + "set-blocking", + "signal-exit", + "string-width", + "string_decoder", + "strip-ansi", + "strip-json-comments", + "tar", + "util-deprecate", + "wide-align", + "wrappy", + "yallist" + ], + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "dependencies": { + "nan": "^2.12.1", + "node-pre-gyp": "^0.12.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/fsevents/node_modules/abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/are-we-there-yet": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + } + }, + "node_modules/fsevents/node_modules/balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/fsevents/node_modules/chownr": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz", + "integrity": "sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/fsevents/node_modules/deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/fsevents/node_modules/delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "optional": true, + "bin": { + "detect-libc": "bin/detect-libc.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/fsevents/node_modules/fs-minipass": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.5.tgz", + "integrity": "sha512-JhBl0skXjUPCFH7x6x61gQxrKyXsxB5gcgePLZCwfyCGGsTISMoIeObbrvVeP6Xmyaudw4TT43qV2Gz+iyd2oQ==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "minipass": "^2.2.1" + } + }, + "node_modules/fsevents/node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + } + }, + "node_modules/fsevents/node_modules/glob": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + } + }, + "node_modules/fsevents/node_modules/has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/ignore-walk": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.1.tgz", + "integrity": "sha512-DTVlMx3IYPe0/JJcYP7Gxg7ttZZu3IInhuEhbchuqneY9wWe5Ojy2mXLBaQFUQmo0AW2r3qG7m1mg86js+gnlQ==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "minimatch": "^3.0.4" + } + }, + "node_modules/fsevents/node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/fsevents/node_modules/inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/ini": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "engines": { + "node": "*" + } + }, + "node_modules/fsevents/node_modules/is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "number-is-nan": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/fsevents/node_modules/minimist": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/minipass": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.3.5.tgz", + "integrity": "sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "node_modules/fsevents/node_modules/minizlib": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.2.1.tgz", + "integrity": "sha512-7+4oTUOWKg7AuL3vloEWekXY2/D20cevzsrNT2kGWm+39J9hGTCBv8VI5Pm5lXZ/o3/mdR4f8rflAPhnQb8mPA==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "minipass": "^2.2.1" + } + }, + "node_modules/fsevents/node_modules/mkdirp": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "minimist": "0.0.8" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/fsevents/node_modules/ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/needle": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/needle/-/needle-2.3.0.tgz", + "integrity": "sha512-QBZu7aAFR0522EyaXZM0FZ9GLpq6lvQ3uq8gteiDUp7wKdy0lSd2hPlgFwVuW1CBkfEs9PfDQsQzZghLs/psdg==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "debug": "^4.1.0", + "iconv-lite": "^0.4.4", + "sax": "^1.2.4" + }, + "bin": { + "needle": "bin/needle" + }, + "engines": { + "node": ">= 4.4.x" + } + }, + "node_modules/fsevents/node_modules/node-pre-gyp": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.12.0.tgz", + "integrity": "sha512-4KghwV8vH5k+g2ylT+sLTjy5wmUOb9vPhnM8NHvRf9dHmnW/CndrFXy2aRPaPST6dugXSdHXfeaHQm77PIz/1A==", + "dev": true, + "inBundle": true, + "license": "BSD-3-Clause", + "optional": true, + "dependencies": { + "detect-libc": "^1.0.2", + "mkdirp": "^0.5.1", + "needle": "^2.2.1", + "nopt": "^4.0.1", + "npm-packlist": "^1.1.6", + "npmlog": "^4.0.2", + "rc": "^1.2.7", + "rimraf": "^2.6.1", + "semver": "^5.3.0", + "tar": "^4" + }, + "bin": { + "node-pre-gyp": "bin/node-pre-gyp" + } + }, + "node_modules/fsevents/node_modules/nopt": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz", + "integrity": "sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "abbrev": "1", + "osenv": "^0.1.4" + }, + "bin": { + "nopt": "bin/nopt.js" + } + }, + "node_modules/fsevents/node_modules/npm-bundled": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.6.tgz", + "integrity": "sha512-8/JCaftHwbd//k6y2rEWp6k1wxVfpFzB6t1p825+cUb7Ym2XQfhwIC5KwhrvzZRJu+LtDE585zVaS32+CGtf0g==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/npm-packlist": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.1.tgz", + "integrity": "sha512-+TcdO7HJJ8peiiYhvPxsEDhF3PJFGUGRcFsGve3vxvxdcpO2Z4Z7rkosRM0kWj6LfbK/P0gu3dzk5RU1ffvFcw==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "ignore-walk": "^3.0.1", + "npm-bundled": "^1.0.1" + } + }, + "node_modules/fsevents/node_modules/npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, + "node_modules/fsevents/node_modules/number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/fsevents/node_modules/os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/osenv": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" + } + }, + "node_modules/fsevents/node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/process-nextick-args": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "dev": true, + "inBundle": true, + "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", + "optional": true, + "dependencies": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "bin": { + "rc": "cli.js" + } + }, + "node_modules/fsevents/node_modules/rc/node_modules/minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/readable-stream": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/fsevents/node_modules/rimraf": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", + "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "node_modules/fsevents/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/semver": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz", + "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/fsevents/node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/signal-exit": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/fsevents/node_modules/string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fsevents/node_modules/tar": { + "version": "4.4.8", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.8.tgz", + "integrity": "sha512-LzHF64s5chPQQS0IYBn9IN5h3i98c12bo4NCO7e0sGM2llXQ3p2FGC5sdENN4cTW48O915Sh+x+EXx7XW96xYQ==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "chownr": "^1.1.1", + "fs-minipass": "^1.2.5", + "minipass": "^2.3.4", + "minizlib": "^1.1.1", + "mkdirp": "^0.5.0", + "safe-buffer": "^5.1.2", + "yallist": "^3.0.2" + }, + "engines": { + "node": ">=4.5" + } + }, + "node_modules/fsevents/node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true + }, + "node_modules/fsevents/node_modules/wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true, + "dependencies": { + "string-width": "^1.0.2 || 2" + } + }, + "node_modules/fsevents/node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/fsevents/node_modules/yallist": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz", + "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==", + "dev": true, + "inBundle": true, + "license": "ISC", + "optional": true + }, + "node_modules/get-caller-file": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.2.tgz", + "integrity": "sha1-9wLmMSfn4jHBYKgMFVSstw1QR+U=", + "dev": true + }, + "node_modules/get-value": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", + "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + } + }, + "node_modules/glob-base": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", + "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", + "dev": true, + "optional": true, + "dependencies": { + "glob-parent": "^2.0.0", + "is-glob": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/glob-parent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", + "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", + "dev": true, + "optional": true, + "dependencies": { + "is-glob": "^2.0.0" + } + }, + "node_modules/globals": { + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", + "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/h5p-lib-controls": { + "version": "0.0.14", + "resolved": "https://registry.npmjs.org/h5p-lib-controls/-/h5p-lib-controls-0.0.14.tgz", + "integrity": "sha512-tmE0evNiUEui+jzhUPc0zyYVKv0Cz0qRMA/WtCg1dhjHmu397OzeIhg42A708sDBN3Cp5l+enAtd+Gdftewu2w==", + "dev": true + }, + "node_modules/has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "dev": true, + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/has-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", + "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", + "dev": true, + "optional": true, + "dependencies": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-value/node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-values": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", + "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", + "dev": true, + "optional": true, + "dependencies": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-values/node_modules/is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "optional": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-values/node_modules/is-number/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "optional": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-values/node_modules/kind-of": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", + "dev": true, + "optional": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/hash-base": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-2.0.2.tgz", + "integrity": "sha1-ZuodhW206KVHDK32/OI65SRO8uE=", + "dev": true, + "dependencies": { + "inherits": "^2.0.1" + } + }, + "node_modules/hash.js": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.2.tgz", + "integrity": "sha512-SsNl8Ro2uz5xUTRYq8ysWzX8B7jCj7pLvX3opktaI6ZrTT2YElqjFVJXHJZe+5Aby20c9UC7elCjJDe1dhTaAw==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.0" + } + }, + "node_modules/hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", + "dev": true, + "dependencies": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/home-or-tmp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", + "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", + "dev": true, + "dependencies": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/hosted-git-info": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.5.0.tgz", + "integrity": "sha512-pNgbURSuab90KbTqvRPsseaTxOJCZBD0a7t+haSN33piP9cCM4l0CqdzAif2hUqm716UovKB2ROmiabGAKVXyg==", + "dev": true + }, + "node_modules/https-browserify": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-0.0.1.tgz", + "integrity": "sha1-P5E2XKvmC3ftDruiS0VOPgnZWoI=", + "dev": true + }, + "node_modules/icss-utils": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-4.1.1.tgz", + "integrity": "sha512-4aFq7wvWyMHKgxsH8QQtGpvbASCf+eM3wPRLI6R+MgAnTCZ6STYsRvttLvRWK0Nfif5piF394St3HeJDaljGPA==", + "dev": true, + "dependencies": { + "postcss": "^7.0.14" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/ieee754": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.8.tgz", + "integrity": "sha1-vjPUCsEO8ZJnAfbwii2G+/0a0+Q=", + "dev": true + }, + "node_modules/indexes-of": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz", + "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=", + "dev": true + }, + "node_modules/indexof": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz", + "integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=", + "dev": true + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true + }, + "node_modules/interpret": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.0.3.tgz", + "integrity": "sha1-y8NcYu7uc/Gat7EKgBURQBr8D5A=", + "dev": true + }, + "node_modules/invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "dev": true, + "dependencies": { + "loose-envify": "^1.0.0" + } + }, + "node_modules/invert-kv": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", + "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "optional": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "node_modules/is-binary-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", + "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", + "dev": true, + "optional": true, + "dependencies": { + "binary-extensions": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-buffer": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.5.tgz", + "integrity": "sha1-Hzsm72E7IUuIy8ojzGwB2Hlh7sw=", + "dev": true + }, + "node_modules/is-builtin-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", + "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", + "dev": true, + "dependencies": { + "builtin-modules": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "optional": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "optional": true, + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-descriptor/node_modules/kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-dotfile": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", + "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-equal-shallow": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", + "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", + "dev": true, + "optional": true, + "dependencies": { + "is-primitive": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-finite": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", + "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", + "dev": true, + "dependencies": { + "number-is-nan": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "dev": true, + "optional": true, + "dependencies": { + "is-extglob": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", + "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", + "dev": true, + "optional": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "optional": true, + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-plain-object/node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-posix-bracket": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz", + "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-primitive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz", + "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-utf8": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", + "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", + "dev": true + }, + "node_modules/is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "node_modules/isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "optional": true, + "dependencies": { + "isarray": "1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/js-tokens": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.1.tgz", + "integrity": "sha1-COnxMkhKLEWjCQfp3E1VZ7fxFNc=", + "dev": true + }, + "node_modules/jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + } + }, + "node_modules/json-loader": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/json-loader/-/json-loader-0.5.4.tgz", + "integrity": "sha1-i6oTZaYy9Yo8RtIBdfxgAsluN94=", + "dev": true + }, + "node_modules/json-schema-traverse": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", + "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=", + "dev": true + }, + "node_modules/json-stable-stringify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", + "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=", + "dev": true, + "dependencies": { + "jsonify": "~0.0.0" + } + }, + "node_modules/json5": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", + "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=", + "dev": true, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/jsonify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", + "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=", + "dev": true + }, + "node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/lazy-cache": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", + "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/lcid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", + "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", + "dev": true, + "dependencies": { + "invert-kv": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/loader-runner": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.3.0.tgz", + "integrity": "sha1-9IKuqC1UPgeSFwDVpG7yb9rGuKI=", + "dev": true, + "engines": { + "node": ">=4.3.0 <5.0.0 || >=5.10" + } + }, + "node_modules/loader-utils": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz", + "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", + "dev": true, + "dependencies": { + "big.js": "^3.1.3", + "emojis-list": "^2.0.0", + "json5": "^0.5.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/lodash": { + "version": "4.17.19", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz", + "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==", + "dev": true + }, + "node_modules/lodash._baseassign": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz", + "integrity": "sha1-jDigmVAPIVrQnlnxci/QxSv+Ck4=", + "dev": true, + "dependencies": { + "lodash._basecopy": "^3.0.0", + "lodash.keys": "^3.0.0" + } + }, + "node_modules/lodash._basecopy": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz", + "integrity": "sha1-jaDmqHbPNEwK2KVIghEd08XHyjY=", + "dev": true + }, + "node_modules/lodash._bindcallback": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz", + "integrity": "sha1-5THCdkTPi1epnhftlbNcdIeJOS4=", + "dev": true + }, + "node_modules/lodash._createassigner": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/lodash._createassigner/-/lodash._createassigner-3.1.1.tgz", + "integrity": "sha1-g4pbri/aymOsIt7o4Z+k5taXCxE=", + "dev": true, + "dependencies": { + "lodash._bindcallback": "^3.0.0", + "lodash._isiterateecall": "^3.0.0", + "lodash.restparam": "^3.0.0" + } + }, + "node_modules/lodash._getnative": { + "version": "3.9.1", + "resolved": "https://registry.npmjs.org/lodash._getnative/-/lodash._getnative-3.9.1.tgz", + "integrity": "sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U=", + "dev": true + }, + "node_modules/lodash._isiterateecall": { + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz", + "integrity": "sha1-UgOte6Ql+uhCRg5pbbnPPmqsBXw=", + "dev": true + }, + "node_modules/lodash.assign": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz", + "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=", + "dev": true + }, + "node_modules/lodash.defaults": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", + "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=", + "dev": true + }, + "node_modules/lodash.isarguments": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", + "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo=", + "dev": true + }, + "node_modules/lodash.isarray": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/lodash.isarray/-/lodash.isarray-3.0.4.tgz", + "integrity": "sha1-eeTriMNqgSKvhvhEqpvNhRtfu1U=", + "dev": true + }, + "node_modules/lodash.keys": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz", + "integrity": "sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo=", + "dev": true, + "dependencies": { + "lodash._getnative": "^3.0.0", + "lodash.isarguments": "^3.0.0", + "lodash.isarray": "^3.0.0" + } + }, + "node_modules/lodash.restparam": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/lodash.restparam/-/lodash.restparam-3.6.1.tgz", + "integrity": "sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU=", + "dev": true + }, + "node_modules/longest": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", + "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/loose-envify": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", + "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", + "dev": true, + "dependencies": { + "js-tokens": "^3.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/lru-cache": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz", + "integrity": "sha512-fFEhvcgzuIoJVUF8fYr5KR0YqxD238zgObTps31YdADwPPAp82a4M8TrckkWyx7ekNlf9aBcVn81cFwwXngrJA==", + "dev": true, + "dependencies": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "node_modules/make-dir": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.0.0.tgz", + "integrity": "sha1-l6ARdR6R3YfPre9Ygy67BJNt6Xg=", + "dev": true, + "dependencies": { + "pify": "^2.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/map-cache": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/map-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", + "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", + "dev": true, + "optional": true, + "dependencies": { + "object-visit": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/math-random": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/math-random/-/math-random-1.0.4.tgz", + "integrity": "sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A==", + "dev": true, + "optional": true + }, + "node_modules/memory-fs": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", + "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", + "dev": true, + "dependencies": { + "errno": "^0.1.3", + "readable-stream": "^2.0.1" + } + }, + "node_modules/micromatch": { + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", + "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", + "dev": true, + "optional": true, + "dependencies": { + "arr-diff": "^2.0.0", + "array-unique": "^0.2.1", + "braces": "^1.8.2", + "expand-brackets": "^0.1.4", + "extglob": "^0.3.1", + "filename-regex": "^2.0.0", + "is-extglob": "^1.0.0", + "is-glob": "^2.0.1", + "kind-of": "^3.0.2", + "normalize-path": "^2.0.1", + "object.omit": "^2.0.0", + "parse-glob": "^3.0.4", + "regex-cache": "^0.4.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/miller-rabin": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.0.tgz", + "integrity": "sha1-SmL7HUKTPAVYOYL0xxb2+55sbT0=", + "dev": true, + "dependencies": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + }, + "bin": { + "miller-rabin": "bin/miller-rabin" + } + }, + "node_modules/minimalistic-assert": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz", + "integrity": "sha1-cCvi3aazf0g2vLP121ZkG2Sh09M=", + "dev": true + }, + "node_modules/minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=", + "dev": true + }, + "node_modules/minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "dev": true + }, + "node_modules/mixin-deep": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", + "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", + "dev": true, + "optional": true, + "dependencies": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/mixin-deep/node_modules/is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "optional": true, + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "dev": true, + "dependencies": { + "minimist": "^1.2.5" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/nan": { + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz", + "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==", + "dev": true, + "optional": true + }, + "node_modules/nanomatch": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", + "dev": true, + "optional": true, + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/nanomatch/node_modules/arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/nanomatch/node_modules/array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/nanomatch/node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/neo-async": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz", + "integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==", + "dev": true + }, + "node_modules/node-libs-browser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.0.0.tgz", + "integrity": "sha1-o6WeyXAkmFtG6Vg3lkb5bEthZkY=", + "dev": true, + "dependencies": { + "assert": "^1.1.1", + "browserify-zlib": "^0.1.4", + "buffer": "^4.3.0", + "console-browserify": "^1.1.0", + "constants-browserify": "^1.0.0", + "crypto-browserify": "^3.11.0", + "domain-browser": "^1.1.1", + "events": "^1.0.0", + "https-browserify": "0.0.1", + "os-browserify": "^0.2.0", + "path-browserify": "0.0.0", + "process": "^0.11.0", + "punycode": "^1.2.4", + "querystring-es3": "^0.2.0", + "readable-stream": "^2.0.5", + "stream-browserify": "^2.0.1", + "stream-http": "^2.3.1", + "string_decoder": "^0.10.25", + "timers-browserify": "^2.0.2", + "tty-browserify": "0.0.0", + "url": "^0.11.0", + "util": "^0.10.3", + "vm-browserify": "0.0.4" + } + }, + "node_modules/node-libs-browser/node_modules/string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + }, + "node_modules/normalize-package-data": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", + "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", + "dev": true, + "dependencies": { + "hosted-git-info": "^2.1.4", + "is-builtin-module": "^1.0.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "optional": true, + "dependencies": { + "remove-trailing-separator": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", + "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", + "dev": true, + "optional": true, + "dependencies": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-copy/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "optional": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-path": { + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/object-path/-/object-path-0.9.2.tgz", + "integrity": "sha1-D9mnT8X60a45aLWGvaXGMr1sBaU=", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/object-visit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", + "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", + "dev": true, + "optional": true, + "dependencies": { + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-visit/node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object.omit": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", + "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", + "dev": true, + "optional": true, + "dependencies": { + "for-own": "^0.1.4", + "is-extendable": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object.pick": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", + "dev": true, + "optional": true, + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object.pick/node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/os-browserify": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.2.1.tgz", + "integrity": "sha1-Y/xMzuXS13Y9Jrv4YBB45sLgBE8=", + "dev": true + }, + "node_modules/os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/os-locale": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", + "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", + "dev": true, + "dependencies": { + "lcid": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/output-file-sync": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/output-file-sync/-/output-file-sync-1.1.2.tgz", + "integrity": "sha1-0KM+7+YaIF+suQCS6CZZjVJFznY=", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.4", + "mkdirp": "^0.5.1", + "object-assign": "^4.1.0" + } + }, + "node_modules/p-limit": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.1.0.tgz", + "integrity": "sha1-sH/y2aXYi+yAYDWJWiurZqJ5iLw=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pako": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz", + "integrity": "sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU=", + "dev": true + }, + "node_modules/parse-asn1": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.0.tgz", + "integrity": "sha1-N8T5t+06tlx0gXtfJICTf7+XxxI=", + "dev": true, + "dependencies": { + "asn1.js": "^4.0.0", + "browserify-aes": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3" + } + }, + "node_modules/parse-glob": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", + "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", + "dev": true, + "optional": true, + "dependencies": { + "glob-base": "^0.3.0", + "is-dotfile": "^1.0.0", + "is-extglob": "^1.0.0", + "is-glob": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "dependencies": { + "error-ex": "^1.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pascalcase": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", + "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-browserify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.0.tgz", + "integrity": "sha1-oLhwcpquIUAFt9UDLsLLuw+0RRo=", + "dev": true + }, + "node_modules/path-dirname": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", + "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=", + "dev": true, + "optional": true + }, + "node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pbkdf2": { + "version": "3.0.12", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.12.tgz", + "integrity": "sha1-vjZ4XFBn6kjYBv+SMojF91C2uKI=", + "dev": true, + "dependencies": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/picomatch": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", + "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", + "dev": true, + "optional": true, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "dev": true, + "dependencies": { + "pinkie": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/posix-character-classes": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", + "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/postcss": { + "version": "7.0.27", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.27.tgz", + "integrity": "sha512-WuQETPMcW9Uf1/22HWUWP9lgsIC+KEHg2kozMflKjbeUtw9ujvFX6QmIfozaErDkmLWS9WEnEdEe6Uo9/BNTdQ==", + "dev": true, + "dependencies": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/postcss-modules-extract-imports": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz", + "integrity": "sha512-LaYLDNS4SG8Q5WAWqIJgdHPJrDDr/Lv775rMBFUbgjTz6j34lUznACHcdRWroPvXANP2Vj7yNK57vp9eFqzLWQ==", + "dev": true, + "dependencies": { + "postcss": "^7.0.5" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/postcss-modules-local-by-default": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-3.0.2.tgz", + "integrity": "sha512-jM/V8eqM4oJ/22j0gx4jrp63GSvDH6v86OqyTHHUvk4/k1vceipZsaymiZ5PvocqZOl5SFHiFJqjs3la0wnfIQ==", + "dev": true, + "dependencies": { + "icss-utils": "^4.1.1", + "postcss": "^7.0.16", + "postcss-selector-parser": "^6.0.2", + "postcss-value-parser": "^4.0.0" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/postcss-modules-scope": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-2.1.1.tgz", + "integrity": "sha512-OXRUPecnHCg8b9xWvldG/jUpRIGPNRka0r4D4j0ESUU2/5IOnpsjfPPmDprM3Ih8CgZ8FXjWqaniK5v4rWt3oQ==", + "dev": true, + "dependencies": { + "postcss": "^7.0.6", + "postcss-selector-parser": "^6.0.0" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/postcss-modules-values": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-3.0.0.tgz", + "integrity": "sha512-1//E5jCBrZ9DmRX+zCtmQtRSV6PV42Ix7Bzj9GbwJceduuf7IqP8MgeTXuRDHOWj2m0VzZD5+roFWDuU8RQjcg==", + "dev": true, + "dependencies": { + "icss-utils": "^4.0.0", + "postcss": "^7.0.6" + } + }, + "node_modules/postcss-selector-parser": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.2.tgz", + "integrity": "sha512-36P2QR59jDTOAiIkqEprfJDsoNrvwFei3eCqKd1Y0tUsBimsq39BLp7RD+JWny3WgB1zGhJX8XVePwm9k4wdBg==", + "dev": true, + "dependencies": { + "cssesc": "^3.0.0", + "indexes-of": "^1.0.1", + "uniq": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.0.3.tgz", + "integrity": "sha512-N7h4pG+Nnu5BEIzyeaaIYWs0LI5XC40OrRh5L60z0QjFsqGWcHcbkBvpe1WYpcIS9yQ8sOi/vIPt1ejQCrMVrg==", + "dev": true + }, + "node_modules/postcss/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss/node_modules/chalk/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/postcss/node_modules/supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/preserve": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", + "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/private": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/private/-/private-0.1.7.tgz", + "integrity": "sha1-aM5eih7woju1cMwoU3tTMqumPvE=", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", + "dev": true, + "engines": { + "node": ">= 0.6.0" + } + }, + "node_modules/process-nextick-args": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", + "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=", + "dev": true + }, + "node_modules/prr": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/prr/-/prr-0.0.0.tgz", + "integrity": "sha1-GoS4WQgyVQFBGFPQCB7j+obikmo=", + "dev": true + }, + "node_modules/pseudomap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", + "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", + "dev": true + }, + "node_modules/public-encrypt": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.0.tgz", + "integrity": "sha1-OfaZ86RlYN1eusvKaTyvfGXBjMY=", + "dev": true, + "dependencies": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1" + } + }, + "node_modules/punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", + "dev": true + }, + "node_modules/querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", + "dev": true, + "engines": { + "node": ">=0.4.x" + } + }, + "node_modules/querystring-es3": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", + "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", + "dev": true, + "engines": { + "node": ">=0.4.x" + } + }, + "node_modules/randomatic": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.1.tgz", + "integrity": "sha512-TuDE5KxZ0J461RVjrJZCJc+J+zCkTb1MbH9AQUq68sMhOMcy9jLcb3BrZKgp9q9Ncltdg4QVqWrH02W2EFFVYw==", + "dev": true, + "optional": true, + "dependencies": { + "is-number": "^4.0.0", + "kind-of": "^6.0.0", + "math-random": "^1.0.1" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/randomatic/node_modules/is-number": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", + "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/randomatic/node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/randombytes": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.5.tgz", + "integrity": "sha512-8T7Zn1AhMsQ/HI1SjcCfT/t4ii3eAqco3yOcSzS4mozsOz69lHLsoMXmF9nZgnFanYscnSlUSgs8uZyKzpE6kg==", + "dev": true, + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/readable-stream": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.2.tgz", + "integrity": "sha1-WgTfBeT1f+Pw3Gj90R3FyXx+b00=", + "dev": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~1.0.6", + "safe-buffer": "~5.1.0", + "string_decoder": "~1.0.0", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/readdirp": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.1.0.tgz", + "integrity": "sha1-TtCtBg3zBzMAxIRANz9y0cxkLXg=", + "dev": true, + "optional": true, + "dependencies": { + "graceful-fs": "^4.1.2", + "minimatch": "^3.0.2", + "readable-stream": "^2.0.2", + "set-immediate-shim": "^1.0.1" + }, + "engines": { + "node": ">=0.6" + } + }, + "node_modules/regenerate": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.3.2.tgz", + "integrity": "sha1-0ZQcZ7rUN+G+dkM63Vs4X5WxkmA=", + "dev": true + }, + "node_modules/regenerator-runtime": { + "version": "0.10.5", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz", + "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=", + "dev": true + }, + "node_modules/regenerator-transform": { + "version": "0.9.11", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.9.11.tgz", + "integrity": "sha1-On0GdSDLe3F2dp61/4aGkb7+EoM=", + "dev": true, + "dependencies": { + "babel-runtime": "^6.18.0", + "babel-types": "^6.19.0", + "private": "^0.1.6" + } + }, + "node_modules/regex-cache": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz", + "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==", + "dev": true, + "optional": true, + "dependencies": { + "is-equal-shallow": "^0.1.3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/regex-not": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", + "dev": true, + "optional": true, + "dependencies": { + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/regex-parser": { + "version": "2.2.7", + "resolved": "https://registry.npmjs.org/regex-parser/-/regex-parser-2.2.7.tgz", + "integrity": "sha1-vQkOCRgYSazEVFfnZfe+KmP1DvE=", + "dev": true + }, + "node_modules/regexpu-core": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz", + "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=", + "dev": true, + "dependencies": { + "regenerate": "^1.2.1", + "regjsgen": "^0.2.0", + "regjsparser": "^0.1.4" + } + }, + "node_modules/regjsgen": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz", + "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=", + "dev": true + }, + "node_modules/regjsparser": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", + "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=", + "dev": true, + "dependencies": { + "jsesc": "~0.5.0" + }, + "bin": { + "regjsparser": "bin/parser" + } + }, + "node_modules/remove-trailing-separator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", + "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=", + "dev": true, + "optional": true + }, + "node_modules/repeat-element": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", + "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", + "dev": true, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/repeating": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", + "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", + "dev": true, + "dependencies": { + "is-finite": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-main-filename": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", + "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", + "dev": true + }, + "node_modules/resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", + "dev": true + }, + "node_modules/resolve-url-loader": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/resolve-url-loader/-/resolve-url-loader-2.1.0.tgz", + "integrity": "sha1-J8lcwWpDU5I/29wtuvXu8iIyxHc=", + "dev": true, + "dependencies": { + "adjust-sourcemap-loader": "^1.1.0", + "camelcase": "^4.0.0", + "convert-source-map": "^1.1.1", + "loader-utils": "^1.0.0", + "lodash.defaults": "^4.0.0", + "rework": "^1.0.1", + "rework-visit": "^1.0.0", + "source-map": "^0.5.6", + "urix": "^0.1.0" + } + }, + "node_modules/resolve-url-loader/node_modules/camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/ret": { + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/rework": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/rework/-/rework-1.0.1.tgz", + "integrity": "sha1-MIBqhBNCtUUQqkEQhQzUhTQUSqc=", + "dev": true, + "dependencies": { + "convert-source-map": "^0.3.3", + "css": "^2.0.0" + } + }, + "node_modules/rework-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/rework-visit/-/rework-visit-1.0.0.tgz", + "integrity": "sha1-mUWygD8hni96ygCtuLyfZA+ELJo=", + "dev": true + }, + "node_modules/rework/node_modules/convert-source-map": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-0.3.5.tgz", + "integrity": "sha1-8dgClQr33SYxof6+BZZVDIarMZA=", + "dev": true + }, + "node_modules/right-align": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", + "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", + "dev": true, + "dependencies": { + "align-text": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ripemd160": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.1.tgz", + "integrity": "sha1-D0WEKVxTo2KK9+bXmsohzlfRxuc=", + "dev": true, + "dependencies": { + "hash-base": "^2.0.0", + "inherits": "^2.0.1" + } + }, + "node_modules/safe-buffer": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", + "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==", + "dev": true + }, + "node_modules/safe-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", + "dev": true, + "optional": true, + "dependencies": { + "ret": "~0.1.10" + } + }, + "node_modules/schema-utils": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.3.0.tgz", + "integrity": "sha1-9YdyIs4+kx7a4DnxfrNxbnE3+M8=", + "dev": true, + "dependencies": { + "ajv": "^5.0.0" + }, + "engines": { + "node": ">= 4.3 < 5.0.0 || >= 5.10" + } + }, + "node_modules/semver": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", + "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true + }, + "node_modules/set-immediate-shim": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz", + "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/set-value": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", + "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", + "dev": true, + "optional": true, + "dependencies": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/set-value/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "optional": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=", + "dev": true + }, + "node_modules/sha.js": { + "version": "2.4.8", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.8.tgz", + "integrity": "sha1-NwaMLEdra69ALRSknGf1l5IfY08=", + "dev": true, + "dependencies": { + "inherits": "^2.0.1" + }, + "bin": { + "sha.js": "bin.js" + } + }, + "node_modules/shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "dev": true, + "dependencies": { + "shebang-regex": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/slash": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", + "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "dev": true, + "optional": true, + "dependencies": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "dev": true, + "optional": true, + "dependencies": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node/node_modules/define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "optional": true, + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node/node_modules/is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "optional": true, + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node/node_modules/is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "optional": true, + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node/node_modules/is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "optional": true, + "dependencies": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node/node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-node/node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon-util": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "dev": true, + "optional": true, + "dependencies": { + "kind-of": "^3.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "optional": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/snapdragon/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "optional": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz", + "integrity": "sha1-dc449SvwczxafwwRjYEzSiu19BI=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-resolve": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", + "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", + "dev": true, + "optional": true, + "dependencies": { + "atob": "^2.1.2", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "node_modules/source-map-url": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", + "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", + "dev": true, + "optional": true + }, + "node_modules/spdx-correct": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-1.0.2.tgz", + "integrity": "sha1-SzBz2TP/UfORLwOsVRlJikFQ20A=", + "dev": true, + "dependencies": { + "spdx-license-ids": "^1.0.2" + } + }, + "node_modules/spdx-expression-parse": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz", + "integrity": "sha1-m98vIOH0DtRH++JzJmGR/O1RYmw=", + "dev": true + }, + "node_modules/spdx-license-ids": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz", + "integrity": "sha1-yd96NCRZSt5r0RkA1ZZpbcBrrFc=", + "dev": true + }, + "node_modules/split-string": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "dev": true, + "optional": true, + "dependencies": { + "extend-shallow": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/static-extend": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", + "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", + "dev": true, + "optional": true, + "dependencies": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/static-extend/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "optional": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stream-browserify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz", + "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=", + "dev": true, + "dependencies": { + "inherits": "~2.0.1", + "readable-stream": "^2.0.2" + } + }, + "node_modules/stream-http": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.7.2.tgz", + "integrity": "sha512-c0yTD2rbQzXtSsFSVhtpvY/vS6u066PcXOX9kBB3mSO76RiUQzL340uJkGBWnlBg4/HZzqiUXtaVA7wcRcJgEw==", + "dev": true, + "dependencies": { + "builtin-status-codes": "^3.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.2.6", + "to-arraybuffer": "^1.0.0", + "xtend": "^4.0.0" + } + }, + "node_modules/string_decoder": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", + "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/style-loader": { + "version": "0.18.2", + "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.18.2.tgz", + "integrity": "sha512-WPpJPZGUxWYHWIUMNNOYqql7zh85zGmr84FdTVWq52WTIkqlW9xSxD3QYWi/T31cqn9UNSsietVEgGn2aaSCzw==", + "dev": true, + "dependencies": { + "loader-utils": "^1.0.2", + "schema-utils": "^0.3.0" + }, + "engines": { + "node": ">= 0.12.0" + } + }, + "node_modules/supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "dev": true, + "dependencies": { + "has-flag": "^1.0.0" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/supports-color/node_modules/has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/tapable": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-0.2.6.tgz", + "integrity": "sha1-IGvo4YiGC1FEJTdebxrom/sB/Y0=", + "dev": true, + "engines": { + "node": ">=0.6" + } + }, + "node_modules/timers-browserify": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.2.tgz", + "integrity": "sha1-q0iDz1l9zVCvIRNJoA+8pWrIa4Y=", + "dev": true, + "dependencies": { + "setimmediate": "^1.0.4" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/to-arraybuffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", + "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=", + "dev": true + }, + "node_modules/to-fast-properties": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", + "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-object-path": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", + "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", + "dev": true, + "optional": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-regex": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", + "dev": true, + "optional": true, + "dependencies": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "optional": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/to-regex-range/node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/trim-right": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", + "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/tty-browserify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", + "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=", + "dev": true + }, + "node_modules/uglify-js": { + "version": "2.8.29", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz", + "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=", + "dev": true, + "dependencies": { + "source-map": "~0.5.1", + "uglify-to-browserify": "~1.0.0", + "yargs": "~3.10.0" + }, + "bin": { + "uglifyjs": "bin/uglifyjs" + }, + "engines": { + "node": ">=0.8.0" + }, + "optionalDependencies": { + "uglify-to-browserify": "~1.0.0" + } + }, + "node_modules/uglify-js/node_modules/camelcase": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", + "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/uglify-js/node_modules/yargs": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", + "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", + "dev": true, + "dependencies": { + "camelcase": "^1.0.2", + "cliui": "^2.1.0", + "decamelize": "^1.0.0", + "window-size": "0.1.0" + } + }, + "node_modules/uglify-to-browserify": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", + "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=", + "dev": true, + "optional": true + }, + "node_modules/uglifyjs-webpack-plugin": { + "version": "0.4.6", + "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-0.4.6.tgz", + "integrity": "sha1-uVH0q7a9YX5m9j64kUmOORdj4wk=", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "source-map": "^0.5.6", + "uglify-js": "^2.8.29", + "webpack-sources": "^1.0.1" + }, + "engines": { + "node": ">=4.3.0 <5.0.0 || >=5.10" + } + }, + "node_modules/union-value": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", + "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", + "dev": true, + "optional": true, + "dependencies": { + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^2.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/uniq": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", + "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=", + "dev": true + }, + "node_modules/unset-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", + "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", + "dev": true, + "optional": true, + "dependencies": { + "has-value": "^0.3.1", + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unset-value/node_modules/has-value": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", + "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", + "dev": true, + "optional": true, + "dependencies": { + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unset-value/node_modules/has-value/node_modules/isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "optional": true, + "dependencies": { + "isarray": "1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unset-value/node_modules/has-values": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", + "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unset-value/node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/upath": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz", + "integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==", + "dev": true, + "optional": true, + "engines": { + "node": ">=4", + "yarn": "*" + } + }, + "node_modules/uri-js": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", + "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "dev": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/uri-js/node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", + "dev": true + }, + "node_modules/url": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", + "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", + "dev": true, + "dependencies": { + "punycode": "1.3.2", + "querystring": "0.2.0" + } + }, + "node_modules/url/node_modules/punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", + "dev": true + }, + "node_modules/use": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/user-home": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/user-home/-/user-home-1.1.1.tgz", + "integrity": "sha1-K1viOjK2Onyd640PKNSFcko98ZA=", + "dev": true, + "bin": { + "user-home": "cli.js" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/util": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", + "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", + "dev": true, + "dependencies": { + "inherits": "2.0.1" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true + }, + "node_modules/util/node_modules/inherits": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", + "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", + "dev": true + }, + "node_modules/v8flags": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-2.1.1.tgz", + "integrity": "sha1-qrGh+jDUX4jdMhFIh1rALAtV5bQ=", + "dev": true, + "dependencies": { + "user-home": "^1.1.1" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/validate-npm-package-license": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz", + "integrity": "sha1-KAS6vnEq0zeUWaz74kdGqywwP7w=", + "dev": true, + "dependencies": { + "spdx-correct": "~1.0.0", + "spdx-expression-parse": "~1.0.0" + } + }, + "node_modules/vm-browserify": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-0.0.4.tgz", + "integrity": "sha1-XX6kW7755Kb/ZflUOOCofDV9WnM=", + "dev": true, + "dependencies": { + "indexof": "0.0.1" + } + }, + "node_modules/watchpack": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.7.2.tgz", + "integrity": "sha512-ymVbbQP40MFTp+cNMvpyBpBtygHnPzPkHqoIwRRj/0B8KhqQwV8LaKjtbaxF2lK4vl8zN9wCxS46IFCU5K4W0g==", + "dev": true, + "dependencies": { + "chokidar": "^3.4.0", + "graceful-fs": "^4.1.2", + "neo-async": "^2.5.0", + "watchpack-chokidar2": "^2.0.0" + }, + "optionalDependencies": { + "chokidar": "^3.4.0", + "watchpack-chokidar2": "^2.0.0" + } + }, + "node_modules/watchpack-chokidar2": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/watchpack-chokidar2/-/watchpack-chokidar2-2.0.0.tgz", + "integrity": "sha512-9TyfOyN/zLUbA288wZ8IsMZ+6cbzvsNyEzSBp6e/zkifi6xxbl8SmQ/CxQq32k8NNqrdVEVUVSEf56L4rQ/ZxA==", + "dev": true, + "optional": true, + "dependencies": { + "chokidar": "^2.1.8" + }, + "engines": { + "node": "<8.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/anymatch": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", + "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", + "dev": true, + "optional": true, + "dependencies": { + "micromatch": "^3.1.4", + "normalize-path": "^2.1.1" + } + }, + "node_modules/watchpack-chokidar2/node_modules/anymatch/node_modules/normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "optional": true, + "dependencies": { + "remove-trailing-separator": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "optional": true, + "dependencies": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/braces/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "optional": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/chokidar": { + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz", + "integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==", + "dev": true, + "optional": true, + "dependencies": { + "anymatch": "^2.0.0", + "async-each": "^1.0.1", + "braces": "^2.3.2", + "fsevents": "^1.2.7", + "glob-parent": "^3.1.0", + "inherits": "^2.0.3", + "is-binary-path": "^1.0.0", + "is-glob": "^4.0.0", + "normalize-path": "^3.0.0", + "path-is-absolute": "^1.0.0", + "readdirp": "^2.2.1", + "upath": "^1.1.1" + } + }, + "node_modules/watchpack-chokidar2/node_modules/expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "dev": true, + "optional": true, + "dependencies": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/expand-brackets/node_modules/define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "optional": true, + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/expand-brackets/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "optional": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/expand-brackets/node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "optional": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/expand-brackets/node_modules/is-accessor-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "optional": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/expand-brackets/node_modules/is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "optional": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/expand-brackets/node_modules/is-data-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "optional": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/expand-brackets/node_modules/is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "optional": true, + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/expand-brackets/node_modules/kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dev": true, + "optional": true, + "dependencies": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/extglob/node_modules/define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "optional": true, + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/extglob/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "optional": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "optional": true, + "dependencies": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/fill-range/node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "optional": true, + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", + "dev": true, + "optional": true, + "dependencies": { + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/glob-parent/node_modules/is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "optional": true, + "dependencies": { + "is-extglob": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "optional": true, + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "optional": true, + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "optional": true, + "dependencies": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/is-glob": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", + "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", + "dev": true, + "optional": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "optional": true, + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/is-number/node_modules/kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "optional": true, + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "optional": true, + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack-chokidar2/node_modules/readdirp": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", + "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", + "dev": true, + "optional": true, + "dependencies": { + "graceful-fs": "^4.1.11", + "micromatch": "^3.1.10", + "readable-stream": "^2.0.2" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/watchpack-chokidar2/node_modules/to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "optional": true, + "dependencies": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack/node_modules/anymatch": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", + "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", + "dev": true, + "optional": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/watchpack/node_modules/binary-extensions": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.0.0.tgz", + "integrity": "sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow==", + "dev": true, + "optional": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/watchpack/node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "optional": true, + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/watchpack/node_modules/chokidar": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.0.tgz", + "integrity": "sha512-aXAaho2VJtisB/1fg1+3nlLJqGOuewTzQpd/Tz0yTg2R0e4IGtshYvtjowyEumcBv2z+y4+kc75Mz7j5xJskcQ==", + "dev": true, + "optional": true, + "dependencies": { + "anymatch": "~3.1.1", + "braces": "~3.0.2", + "fsevents": "~2.1.2", + "glob-parent": "~5.1.0", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.4.0" + }, + "engines": { + "node": ">= 8.10.0" + } + }, + "node_modules/watchpack/node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "optional": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/watchpack/node_modules/fsevents": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz", + "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==", + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/watchpack/node_modules/glob-parent": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz", + "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==", + "dev": true, + "optional": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/watchpack/node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "optional": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/watchpack/node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack/node_modules/is-glob": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", + "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", + "dev": true, + "optional": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack/node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack/node_modules/readdirp": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.4.0.tgz", + "integrity": "sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ==", + "dev": true, + "optional": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/webpack": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-3.0.0.tgz", + "integrity": "sha1-7pvOvyEkf3FTy0EBaMq0XjpZ1Nc=", + "dev": true, + "dependencies": { + "acorn": "^5.0.0", + "acorn-dynamic-import": "^2.0.0", + "ajv": "^5.1.5", + "ajv-keywords": "^2.0.0", + "async": "^2.1.2", + "enhanced-resolve": "^3.0.0", + "escope": "^3.6.0", + "interpret": "^1.0.0", + "json-loader": "^0.5.4", + "json5": "^0.5.1", + "loader-runner": "^2.3.0", + "loader-utils": "^1.1.0", + "memory-fs": "~0.4.1", + "mkdirp": "~0.5.0", + "node-libs-browser": "^2.0.0", + "source-map": "^0.5.3", + "supports-color": "^3.1.0", + "tapable": "~0.2.5", + "uglifyjs-webpack-plugin": "^0.4.4", + "watchpack": "^1.3.1", + "webpack-sources": "^1.0.1", + "yargs": "^6.0.0" + }, + "bin": { + "webpack": "bin/webpack.js" + }, + "engines": { + "node": ">=4.3.0 <5.0.0 || >=5.10" + } + }, + "node_modules/webpack-sources": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.0.1.tgz", + "integrity": "sha512-05tMxipUCwHqYaVS8xc7sYPTly8PzXayRCB4dTxLhWTqlKUiwH6ezmEe0OSreL1c30LAuA3Zqmc+uEBUGFJDjw==", + "dev": true, + "dependencies": { + "source-list-map": "^2.0.0", + "source-map": "~0.5.3" + } + }, + "node_modules/webpack-sources/node_modules/source-list-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.0.tgz", + "integrity": "sha512-I2UmuJSRr/T8jisiROLU3A3ltr+swpniSmNPI4Ml3ZCX6tVnDsuZzK7F2hl5jTqbZBWCEKlj5HRQiPExXLgE8A==", + "dev": true + }, + "node_modules/which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "node_modules/which-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz", + "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=", + "dev": true + }, + "node_modules/window-size": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", + "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/wordwrap": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", + "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/wrap-ansi": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", + "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", + "dev": true, + "dependencies": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/wrap-ansi/node_modules/is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "dependencies": { + "number-is-nan": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/wrap-ansi/node_modules/string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "node_modules/xtend": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", + "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=", + "dev": true, + "engines": { + "node": ">=0.4" + } + }, + "node_modules/y18n": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", + "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", + "dev": true + }, + "node_modules/yallist": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", + "dev": true + }, + "node_modules/yargs": { + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-6.6.0.tgz", + "integrity": "sha1-eC7CHvQDNF+DCoCMo9UTr1YGUgg=", + "dev": true, + "dependencies": { + "camelcase": "^3.0.0", + "cliui": "^3.2.0", + "decamelize": "^1.1.1", + "get-caller-file": "^1.0.1", + "os-locale": "^1.4.0", + "read-pkg-up": "^1.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^1.0.2", + "which-module": "^1.0.0", + "y18n": "^3.2.1", + "yargs-parser": "^4.2.0" + } + }, + "node_modules/yargs-parser": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-4.2.1.tgz", + "integrity": "sha1-KczqwNxPA8bIe0qfIX3RjJ90hxw=", + "dev": true, + "dependencies": { + "camelcase": "^3.0.0" + } + }, + "node_modules/yargs-parser/node_modules/camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yargs/node_modules/camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yargs/node_modules/cliui": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", + "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", + "dev": true, + "dependencies": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wrap-ansi": "^2.0.0" + } + }, + "node_modules/yargs/node_modules/find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "dev": true, + "dependencies": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yargs/node_modules/is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "dependencies": { + "number-is-nan": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yargs/node_modules/load-json-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yargs/node_modules/path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "dev": true, + "dependencies": { + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yargs/node_modules/path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yargs/node_modules/read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "dev": true, + "dependencies": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yargs/node_modules/read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "dev": true, + "dependencies": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yargs/node_modules/string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yargs/node_modules/strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "dev": true, + "dependencies": { + "is-utf8": "^0.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + } + }, "dependencies": { "acorn": { "version": "5.0.3", @@ -1986,7 +9431,8 @@ }, "minimist": { "version": "1.2.0", - "resolved": "", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "dev": true }, "normalize-path": { @@ -2506,24 +9952,32 @@ "dependencies": { "abbrev": { "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "bundled": true, "dev": true, "optional": true }, "ansi-regex": { "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", "bundled": true, "dev": true, "optional": true }, "aproba": { "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", "bundled": true, "dev": true, "optional": true }, "are-we-there-yet": { "version": "1.1.5", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", "bundled": true, "dev": true, "optional": true, @@ -2534,12 +9988,16 @@ }, "balanced-match": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", "bundled": true, "dev": true, "optional": true }, "brace-expansion": { "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "bundled": true, "dev": true, "optional": true, @@ -2550,36 +10008,48 @@ }, "chownr": { "version": "1.1.1", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz", + "integrity": "sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g==", "bundled": true, "dev": true, "optional": true }, "code-point-at": { "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", "bundled": true, "dev": true, "optional": true }, "concat-map": { "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "bundled": true, "dev": true, "optional": true }, "console-control-strings": { "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", "bundled": true, "dev": true, "optional": true }, "core-util-is": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", "bundled": true, "dev": true, "optional": true }, "debug": { "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", "bundled": true, "dev": true, "optional": true, @@ -2589,24 +10059,32 @@ }, "deep-extend": { "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", "bundled": true, "dev": true, "optional": true }, "delegates": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", "bundled": true, "dev": true, "optional": true }, "detect-libc": { "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", "bundled": true, "dev": true, "optional": true }, "fs-minipass": { "version": "1.2.5", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.5.tgz", + "integrity": "sha512-JhBl0skXjUPCFH7x6x61gQxrKyXsxB5gcgePLZCwfyCGGsTISMoIeObbrvVeP6Xmyaudw4TT43qV2Gz+iyd2oQ==", "bundled": true, "dev": true, "optional": true, @@ -2616,12 +10094,16 @@ }, "fs.realpath": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "bundled": true, "dev": true, "optional": true }, "gauge": { "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", "bundled": true, "dev": true, "optional": true, @@ -2638,6 +10120,8 @@ }, "glob": { "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", "bundled": true, "dev": true, "optional": true, @@ -2652,12 +10136,16 @@ }, "has-unicode": { "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", "bundled": true, "dev": true, "optional": true }, "iconv-lite": { "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "bundled": true, "dev": true, "optional": true, @@ -2667,6 +10155,8 @@ }, "ignore-walk": { "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.1.tgz", + "integrity": "sha512-DTVlMx3IYPe0/JJcYP7Gxg7ttZZu3IInhuEhbchuqneY9wWe5Ojy2mXLBaQFUQmo0AW2r3qG7m1mg86js+gnlQ==", "bundled": true, "dev": true, "optional": true, @@ -2676,6 +10166,8 @@ }, "inflight": { "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "bundled": true, "dev": true, "optional": true, @@ -2686,18 +10178,24 @@ }, "inherits": { "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", "bundled": true, "dev": true, "optional": true }, "ini": { "version": "1.3.5", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", "bundled": true, "dev": true, "optional": true }, "is-fullwidth-code-point": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", "bundled": true, "dev": true, "optional": true, @@ -2707,12 +10205,16 @@ }, "isarray": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", "bundled": true, "dev": true, "optional": true }, "minimatch": { "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "bundled": true, "dev": true, "optional": true, @@ -2722,12 +10224,16 @@ }, "minimist": { "version": "0.0.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", "bundled": true, "dev": true, "optional": true }, "minipass": { "version": "2.3.5", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.3.5.tgz", + "integrity": "sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA==", "bundled": true, "dev": true, "optional": true, @@ -2738,6 +10244,8 @@ }, "minizlib": { "version": "1.2.1", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.2.1.tgz", + "integrity": "sha512-7+4oTUOWKg7AuL3vloEWekXY2/D20cevzsrNT2kGWm+39J9hGTCBv8VI5Pm5lXZ/o3/mdR4f8rflAPhnQb8mPA==", "bundled": true, "dev": true, "optional": true, @@ -2747,6 +10255,8 @@ }, "mkdirp": { "version": "0.5.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", "bundled": true, "dev": true, "optional": true, @@ -2756,12 +10266,16 @@ }, "ms": { "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", "bundled": true, "dev": true, "optional": true }, "needle": { "version": "2.3.0", + "resolved": "https://registry.npmjs.org/needle/-/needle-2.3.0.tgz", + "integrity": "sha512-QBZu7aAFR0522EyaXZM0FZ9GLpq6lvQ3uq8gteiDUp7wKdy0lSd2hPlgFwVuW1CBkfEs9PfDQsQzZghLs/psdg==", "bundled": true, "dev": true, "optional": true, @@ -2773,6 +10287,8 @@ }, "node-pre-gyp": { "version": "0.12.0", + "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.12.0.tgz", + "integrity": "sha512-4KghwV8vH5k+g2ylT+sLTjy5wmUOb9vPhnM8NHvRf9dHmnW/CndrFXy2aRPaPST6dugXSdHXfeaHQm77PIz/1A==", "bundled": true, "dev": true, "optional": true, @@ -2791,6 +10307,8 @@ }, "nopt": { "version": "4.0.1", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz", + "integrity": "sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=", "bundled": true, "dev": true, "optional": true, @@ -2801,12 +10319,16 @@ }, "npm-bundled": { "version": "1.0.6", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.6.tgz", + "integrity": "sha512-8/JCaftHwbd//k6y2rEWp6k1wxVfpFzB6t1p825+cUb7Ym2XQfhwIC5KwhrvzZRJu+LtDE585zVaS32+CGtf0g==", "bundled": true, "dev": true, "optional": true }, "npm-packlist": { "version": "1.4.1", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.1.tgz", + "integrity": "sha512-+TcdO7HJJ8peiiYhvPxsEDhF3PJFGUGRcFsGve3vxvxdcpO2Z4Z7rkosRM0kWj6LfbK/P0gu3dzk5RU1ffvFcw==", "bundled": true, "dev": true, "optional": true, @@ -2817,6 +10339,8 @@ }, "npmlog": { "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", "bundled": true, "dev": true, "optional": true, @@ -2829,18 +10353,24 @@ }, "number-is-nan": { "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", "bundled": true, "dev": true, "optional": true }, "object-assign": { "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", "bundled": true, "dev": true, "optional": true }, "once": { "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "bundled": true, "dev": true, "optional": true, @@ -2850,18 +10380,24 @@ }, "os-homedir": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", "bundled": true, "dev": true, "optional": true }, "os-tmpdir": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", "bundled": true, "dev": true, "optional": true }, "osenv": { "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", "bundled": true, "dev": true, "optional": true, @@ -2872,18 +10408,24 @@ }, "path-is-absolute": { "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "bundled": true, "dev": true, "optional": true }, "process-nextick-args": { "version": "2.0.0", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", "bundled": true, "dev": true, "optional": true }, "rc": { "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", "bundled": true, "dev": true, "optional": true, @@ -2896,6 +10438,8 @@ "dependencies": { "minimist": { "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "bundled": true, "dev": true, "optional": true @@ -2904,6 +10448,8 @@ }, "readable-stream": { "version": "2.3.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", "bundled": true, "dev": true, "optional": true, @@ -2919,6 +10465,8 @@ }, "rimraf": { "version": "2.6.3", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", + "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", "bundled": true, "dev": true, "optional": true, @@ -2928,62 +10476,80 @@ }, "safe-buffer": { "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "bundled": true, "dev": true, "optional": true }, "safer-buffer": { "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "bundled": true, "dev": true, "optional": true }, "sax": { "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", "bundled": true, "dev": true, "optional": true }, "semver": { "version": "5.7.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz", + "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==", "bundled": true, "dev": true, "optional": true }, "set-blocking": { "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", "bundled": true, "dev": true, "optional": true }, "signal-exit": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", "bundled": true, "dev": true, "optional": true }, - "string-width": { - "version": "1.0.2", + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "bundled": true, "dev": true, "optional": true, "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "safe-buffer": "~5.1.0" } }, - "string_decoder": { - "version": "1.1.1", + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "bundled": true, "dev": true, "optional": true, "requires": { - "safe-buffer": "~5.1.0" + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" } }, "strip-ansi": { "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "bundled": true, "dev": true, "optional": true, @@ -2993,12 +10559,16 @@ }, "strip-json-comments": { "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", "bundled": true, "dev": true, "optional": true }, "tar": { "version": "4.4.8", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.8.tgz", + "integrity": "sha512-LzHF64s5chPQQS0IYBn9IN5h3i98c12bo4NCO7e0sGM2llXQ3p2FGC5sdENN4cTW48O915Sh+x+EXx7XW96xYQ==", "bundled": true, "dev": true, "optional": true, @@ -3014,12 +10584,16 @@ }, "util-deprecate": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "bundled": true, "dev": true, "optional": true }, "wide-align": { "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", "bundled": true, "dev": true, "optional": true, @@ -3029,12 +10603,16 @@ }, "wrappy": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", "bundled": true, "dev": true, "optional": true }, "yallist": { "version": "3.0.3", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz", + "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==", "bundled": true, "dev": true, "optional": true diff --git a/src/scripts/config.js b/src/scripts/config.js new file mode 100644 index 000000000..3630bfca0 --- /dev/null +++ b/src/scripts/config.js @@ -0,0 +1,14 @@ + +const YoutubeConfig = { + 'channelId' : 'YOUTUBE_CHANNEL_ID', + 'maxResults' : '', // Set The video search limit (optional) + 'key' : 'YOUTUBE_API_KEY', + 'order' : 'date', // can be searchSortUnspecified, date, rating, viewCount, relevance, title, videoCount + 'part' : 'snippet', +} + +const VimeoConfig = { + 'bearerToken' : 'VIMEO_TOKKEN', + 'channelId' : 'CHANNEL_ID', // NUMBERS ONLY + 'perPage' : 5 +} \ No newline at end of file diff --git a/src/scripts/custom-integration.js b/src/scripts/custom-integration.js new file mode 100644 index 000000000..8582b51f8 --- /dev/null +++ b/src/scripts/custom-integration.js @@ -0,0 +1,485 @@ +H5PEditor.widgets.interactiveVideo = H5PEditor.InteractiveVideo = (function ( + $ +) { + setTimeout(() => { + var $wrapper = $("body .h5peditor") + .children() + .find(".content") + .children(".field-name-files") + .children(".h5p-dialog-anchor"); + var dialogUrlInputWraper = $wrapper.find(".h5p-file-url-wrapper"); + var playlistButton = + '
' + + '
'; + dialogUrlInputWraper.append(playlistButton); + + var playlistModalWraper = + '"; + // var inputUrlWraper = $wrapper.children().children().find(".h5p-dialog-box"); + $(".h5p-add-dialog-table").append(playlistModalWraper); + + var $loadPlaylist = dialogUrlInputWraper.find(".loadPlaylist"); + $loadPlaylist.click(function () { + var modal = document.getElementById("playlistContent"); + modal.style.display = "block"; + // Get the element that closes the modal + var span = document.getElementsByClassName("close")[0]; + + // When the user clicks on (x), close the modal + span.onclick = function () { + modal.style.display = "none"; + }; + // When the user clicks anywhere outside of the modal, close it + window.onclick = function (event) { + if (event.target == modal) { + modal.style.display = "none"; + } + }; + var totalVideoCount; + async function getPlaylistData(pageSize, pageIndex, searchText) { + let getDirectory = window.H5PIntegration.loadedJs; + let fullDirectoryPath; + getDirectory.forEach(function(value, index) { + if(value.includes("custom-integration.js")) { + fullDirectoryPath = value; + return false; + } + }); + let h5pDirectoryPath = fullDirectoryPath.split("src"); + $.ajax({ + type: "GET", + dataType: "json", + data: { + pageSize: pageSize, + pageIndex: pageIndex, + searchText: searchText, + }, + url: h5pDirectoryPath[0] + "KalturaGeneratedAPIClientsPHP/GetKalturaMediaEntry.php", + success: function (data) { + // data = $.parseJSON(data); + // console.log(data); + if (data.results) { + var results = data.results; + totalVideoCount = results.totalCount; + document.getElementById("modalContent").innerHTML = ""; + results.objects.forEach(function (item, index) { + var node = + '
' + + '' + + '' + + item.name + + "" + + "
"; + document.getElementById("modalContent").innerHTML += node; + }); + + $(document).on("click", ".play-list-video", function () { + $(".h5p-file-url").val($(this).data("url")); + $(".modal").css("display", "none"); + }); + } else { + console.log(data.error); + } + }, + }); + } + + function addPagination(perPageItem, videoCountNumber, listWraper) { + //Pagination JS + //how much items per page to show + var show_per_page = perPageItem; + //getting the amount of elements inside pagingBox div + var number_of_items = videoCountNumber; + //calculate the number of pages we are going to have + var number_of_pages = Math.ceil(number_of_items / show_per_page); + + //set the value of our hidden input fields + $("#current_page").val(0); + $("#show_per_page").val(show_per_page); + + //now when we got all we need for the navigation let's make it ' + + var navigation_html = + '
  • Prev
  • '; + var current_link = 0; + // while (number_of_pages > current_link) { + // navigation_html += + // '
  • ' + + // (current_link + 1) + + // "
  • "; + // current_link++; + // } + navigation_html += + '
  • Next
  • '; + $("#" + listWraper).html(navigation_html); + //add active class to the first page link + $("#" + listWraper + " .page_item:first").addClass("active"); + //hide all the elements inside pagingBox div + $("#modalContent").children().css("display", "none"); + //and show the first n (show_per_page) elements + $("#modalContent") + .children() + .slice(0, show_per_page) + .css("display", "inline-block"); + //Pagination JS + } + function go_to_page(page_num, listWraper) { + //get the number of items shown per page + var show_per_page = parseInt($("#show_per_page").val()); + //get the element number where to start the slice from + start_from = page_num * show_per_page; + //get the element number where to end the slice + end_on = start_from + show_per_page; + //hide all children elements of pagingBox div, get specific items and show them + $("#modalContent") + .children() + .css("display", "none") + .slice(start_from, end_on) + .css("display", "inline-block"); + /*get the page link that has longdesc attribute of the current page and add active class to it + and remove that class from previously active page link*/ + $("#" + listWraper + " .page_item[longdesc=" + page_num + "]") + .addClass("active") + .siblings(".active") + .removeClass("active"); + //update the current page input field + $("#current_page").val(page_num); + } + var youtubeNextPageFlag; + var youtubePrevFlag; + function handlePagination(perPageItem, videoCountNumber, listWraper) { + addPagination(perPageItem, videoCountNumber, listWraper); + $(document).on( + "click", + "#" + listWraper + " .previous_link", + function () { + new_page = parseInt($("#current_page").val()) - 1; + //if there is an item before the current active link run the function + // if ($(".active").prev("#" + listWraper + " .page_item").length == true) { + go_to_page(new_page, listWraper); + var listIndex = new_page + 1; + if (listWraper == "page_navigation") { + if ($("#input-playlist").val() == "") { + getPlaylistData(5, listIndex, ""); + } + if ($("#input-playlist").val() != "") { + var searchText = $("#input-playlist").val(); + getPlaylistData(5, listIndex, searchText); + } + } + if (listWraper == "youtube_navigation") { + youtubeNextPageFlag ? (youtubePrevFlag = true) : ""; + if ($("#youtubeSearchInput").val() != "") { + handleYoutubePlaylist( + youtubePrevPageToken, + $("#youtubeSearchInput").val() + ); + } else { + handleYoutubePlaylist(youtubePrevPageToken); + } + } + if (listWraper == "vimeo_navigation") { + handleVimeoPlaylist(vimeoPrevPage); + } + // } + } + ); + + $(document).on("click", "#" + listWraper + " .page_item", function () { + var pageNumber = $(this).attr("longdesc"); + var listIndex = $(this).text(); + go_to_page(pageNumber, listWraper); + if (listWraper == "page_navigation") { + if ($("#input-playlist").val() == "") { + getPlaylistData(5, listIndex, ""); + } + if ($("#input-playlist").val() != "") { + var searchText = $("#input-playlist").val(); + getPlaylistData(5, listIndex, searchText); + } + } + if (listWraper == "youtube_navigation") { + youtubeNextPageFlag = true; + handleYoutubePlaylist(); + } + }); + + $(document).on("click", "#" + listWraper + " .next_link", function () { + new_page = parseInt($("#current_page").val()) + 1; + //if there is an item after the current active link run the function + // if ($(".active").next("#" + listWraper + " .page_item").length == true) { + go_to_page(new_page, listWraper); + var listIndex = new_page + 1; + if (listWraper == "page_navigation") { + if ($("#input-playlist").val() == "") { + getPlaylistData(5, listIndex, ""); + } + if ($("#input-playlist").val() != "") { + var searchText = $("#input-playlist").val(); + getPlaylistData(5, listIndex, searchText); + } + } + if (listWraper == "youtube_navigation") { + youtubeNextPageFlag = true; + if ($("#youtubeSearchInput").val() != "") { + handleYoutubePlaylist( + youtubeNextPageToken, + $("#youtubeSearchInput").val() + ); + } else { + handleYoutubePlaylist(youtubeNextPageToken); + } + } + if (listWraper == "vimeo_navigation") { + handleVimeoPlaylist(vimeoNextPage); + } + // } + }); + } + + getPlaylistData(5, 0, ""); + setTimeout(function () { + handlePagination(5, totalVideoCount, "page_navigation"); + }, 3000); + $(document).on("keyup", "#input-playlist", function () { + var searchText = $(this).val(); + getPlaylistData(5, 0, searchText); + setTimeout(function () { + handlePagination(5, totalVideoCount, "page_navigation"); + }, 3000); + }); + + $(document).on("click", "#kaltura", function () { + getPlaylistData(5, 0, ""); + setTimeout(function () { + $(".kaltura-pagination").html(""); + handlePagination(5, totalVideoCount, "page_navigation"); + }, 3000); + $(document).on("keyup", "#input-playlist", function () { + var searchText = $(this).val(); + getPlaylistData(5, 0, searchText); + setTimeout(function () { + handlePagination(5, totalVideoCount, "page_navigation"); + }, 3000); + }); + }); + + function createYoutubeHTML(items) { + $("#youtubePlaylistWraper").html(""); + items.forEach(function (item, key) { + var youtubeNode = + '
    ' + + '' + + '' + + item.snippet.title + + "" + + "
    "; + $("#youtubePlaylistWraper").append(youtubeNode); + }); + } + var youtubeNextPageToken, youtubePrevPageToken, youtubeVideoCount; + function getYoutubePlaylist(url) { + $.ajax({ + type: "GET", + dataType: "jsonp", + url: url, + success: function (data) { + youtubeVideoCount = data.pageInfo.totalResults; + createYoutubeHTML(data.items); + youtubeNextPageToken = data.nextPageToken; + youtubePrevPageToken = data.prevPageToken; + }, + }); + } + + function handleYoutubePlaylist(pageToken, searchText) { + if (searchText == undefined) { + searchText = ""; + } + if (pageToken) { + var youtubePlaylistUrl = + `https://www.googleapis.com/youtube/v3/search?` + + `order=${YoutubeConfig.order}&part=${YoutubeConfig.part}&channelId=` + + `${YoutubeConfig.channelId}&pageToken=${pageToken}&q=${searchText}&key=${YoutubeConfig.key}`; + } else { + var youtubePlaylistUrl = + `https://www.googleapis.com/youtube/v3/search?` + + `order=${YoutubeConfig.order}&part=${YoutubeConfig.part}&channelId=` + + `${YoutubeConfig.channelId}&q=${searchText}&key=${YoutubeConfig.key}`; + } + getYoutubePlaylist(youtubePlaylistUrl); + } + + $(document).on("click", "#youtube", function () { + var youtubePromise = new Promise(function (resolve, reject) { + handleYoutubePlaylist(); + setTimeout(function () { + youtubeVideoCount ? resolve() : ""; + }, 3000); + }); + youtubePromise.then(function () { + $(".pagination").html(""); + handlePagination(5, youtubeVideoCount, "youtube_navigation"); + }); + }); + + $(document).on("keyup", "#youtubeSearchInput", function () { + var searchText = $(this).val(); + handleYoutubePlaylist("", searchText); + }); + + $(document).on("click", ".youtube-play-list-thumbnail", function () { + var youtubeVideId = $(this).data("url"); + var youtubeVideoUrl = `https://www.youtube.com/watch?v=${youtubeVideId}`; + $(".h5p-file-url").val(youtubeVideoUrl); + $(".modal").css("display", "none"); + }); + + $(document).on("click", "#vimeo", function () { + var vimeoPromise = new Promise(function (resolve, reject) { + handleVimeoPlaylist(); + setTimeout(function () { + vimeoVideoCount ? resolve() : ""; + }, 3000); + }); + vimeoPromise.then(function () { + $(".pagination").html(""); + handlePagination( + VimeoConfig.perPage, + vimeoVideoCount, + "vimeo_navigation" + ); + }); + }); + + function handleVimeoPlaylist(pageURL, searchText) { + if (pageURL === undefined || searchText === "") { + pageURL = `/channels/${VimeoConfig.channelId}/videos?per_page=${VimeoConfig.perPage}&page=1`; + } + if (pageURL === "" && searchText) { + pageURL = `/channels/${VimeoConfig.channelId}/videos?per_page=${VimeoConfig.perPage}&query=${searchText}`; + } + if (pageURL === null) { + return false; + } + getVimeoPlaylist(pageURL); + } + + var vimeoVideoCount, vimeoPrevPage, vimeoNextPage; + function getVimeoPlaylist(pageURL) { + vimeoUrl = `https://api.vimeo.com${pageURL}`; + $.ajax({ + type: "GET", + url: vimeoUrl, + dataType: "json", + headers: { + Authorization: "Bearer " + VimeoConfig.bearerToken, + }, + success: function (data) { + console.log(data); + vimeoVideoCount = data.total; + vimeoPrevPage = data.paging.previous; + vimeoNextPage = data.paging.next; + generateVimeoPlaylistHTML(data.data); + }, + }); + } + + function generateVimeoPlaylistHTML(items) { + $("#vimeoPlaylistWraper").html(""); + items.forEach(function (item, key) { + var vimeoNode = + '
    ' + + '' + + '' + + item.name + + "" + + "
    "; + $("#vimeoPlaylistWraper").append(vimeoNode); + }); + } + + $(document).on("keyup", "#vimeoSearchInput", function () { + var searchText = $(this).val(); + handleVimeoPlaylist("", searchText); + }); + + $(document).on("click", ".vimeo-play-list-thumbnail", function () { + var vimeoVideId = $(this).data("url"); + var vimeoVideoUrl = `https://player.vimeo.com${vimeoVideId}`; + $(".h5p-file-url").val(vimeoVideoUrl); + $(".modal").css("display", "none"); + }); + }); + }, 2000); +})(H5P.jQuery); diff --git a/src/scripts/endscreen.js b/src/scripts/endscreen.js index deff7750a..cb016fb69 100644 --- a/src/scripts/endscreen.js +++ b/src/scripts/endscreen.js @@ -150,7 +150,39 @@ class Endscreen extends H5P.EventDispatcher { * submissions basically mean a new attempt of the parent (IV). * This is subject to being changed. */ + + + + + + + this.parent.triggerXAPIScored(this.parent.getUsersScore(), this.parent.getUsersMaxScore(), 'completed'); + for (const iv_interaction of this.parent.interactions) { + if(typeof iv_interaction.getLastXAPIVerb() != "undefined") { + console.log(iv_interaction.getLastXAPIVerb()); + + } + else{ + //this.parent.triggerXAPIScored(this.parent.getUsersScore(), this.parent.getUsersMaxScore(), 'skipped'); + const customProgressedEvent = this.parent.createXAPIEventTemplate('skipped'); + //console.log(iv_interaction.content.metadata.title); + //console.log('Updated 170'); + //console.log(iv_interaction.getMetadata()); + var metaDataArr = iv_interaction.getMetadata(); + if (customProgressedEvent.data.statement.object) { + customProgressedEvent.data.statement.object.definition['name'] = {'en-US': metaDataArr.title}; + //console.log(customProgressedEvent); + //section.instance.triggerXAPIScored(0,1,customProgressedEvent); + this.parent.trigger(customProgressedEvent); + } + } + } + + if( typeof this.parent.contentData.standalone !== undefined && this.parent.contentData.standalone){ + this.parent.triggerXAPIScored(this.parent.getUsersScore(), this.parent.getUsersMaxScore(), 'submitted-curriki'); + } + } /** diff --git a/src/scripts/interaction.js b/src/scripts/interaction.js index 0fec24809..e380f0634 100644 --- a/src/scripts/interaction.js +++ b/src/scripts/interaction.js @@ -323,7 +323,7 @@ function Interaction(parameters, player, previousState) { if (event.which === 32) { goto({data: parameters.goto.time}); } - }).attr('href', '#') + }).attr('href', 'javascript:void(0)') // default href = '#' .attr('tabindex', '0'); } else { // URL diff --git a/src/scripts/interactive-video.js b/src/scripts/interactive-video.js index bb32b347a..121a612de 100644 --- a/src/scripts/interactive-video.js +++ b/src/scripts/interactive-video.js @@ -335,6 +335,11 @@ function InteractiveVideo(params, id, contentData) { self.seek(loopTime); } + // If there are no tasks in the interactions or summary, trigger completed verb + if (!self.isTask) { + this.parent.triggerXAPIScored(1, 1, 'completed'); + } + break; } case H5P.Video.PLAYING: @@ -1653,6 +1658,9 @@ InteractiveVideo.prototype.addBookmark = function (id, tenth) { * @returns {H5P.jQuery} */ InteractiveVideo.prototype.addEndscreen = function (id, tenth) { + if(typeof this.parent !== 'undefined'){ + return false; + } var self = this; var endscreen = self.options.assets.endscreens[id]; @@ -3443,6 +3451,8 @@ InteractiveVideo.prototype.findNextInteractionToShow = function (time, index) { InteractiveVideo.prototype.findNextInteractionToHide = function (time) { let candidate; for (var i = 0; i < this.visibleInteractions.length; i++) { + if(this.interactions[this.visibleInteractions[i]] === undefined) ///check if interations are 0 then return back + return candidate; const duration = this.interactions[this.visibleInteractions[i]].getDuration(); if (candidate === undefined || duration.to < this.interactions[this.visibleInteractions[candidate]].getDuration().to) { candidate = i; @@ -3808,6 +3818,14 @@ InteractiveVideo.prototype.getXAPIData = function () { }; }; +InteractiveVideo.prototype.getAnswerGiven = function () { + var self = this; + const answeredTotal = self.interactions + .map (interaction => interaction.getProgress() || 0) + .reduce((a, b) => a + b, 0); + return answeredTotal; +}; + /** * Add the question itself to the definition part of an xAPIEvent */ diff --git a/src/styles/modal.css b/src/styles/modal.css new file mode 100644 index 000000000..c2b6a2cdb --- /dev/null +++ b/src/styles/modal.css @@ -0,0 +1,247 @@ +.modal { + display: none; /* Hidden by default */ + position: fixed; /* Stay in place */ + z-index: 2; /* Sit on top */ + padding-top: 100px; /* Location of the box */ + left: 0; + top: 200px; + width: 100%; /* Full width */ + height: 100%; /* Full height */ + overflow: auto; /* Enable scroll if needed */ + background-color: rgb(0,0,0); /* Fallback color */ + background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ + } + + /* Modal Content */ + .modal-content { + background-color: #fefefe; + margin: auto; + padding: 20px; + border: 1px solid #888; + max-width: 800px; + height: 300px; + overflow: auto; + } + + /* The Close Button */ + .close { + color: #aaaaaa; + float: right; + font-size: 28px; + font-weight: bold; + } + + .close:hover, + .close:focus { + color: #000; + text-decoration: none; + cursor: pointer; + } + + .hide-playlist { + display: none; + } + + .hide-playlist-search { + display: none; + } + + .modal-content nav .pagination { + list-style: none; + display: flex; + } + + .modal-content nav .pagination .page-item { + margin-left: 5px; + } + + + .h5p-playlist-button { + margin-left: 15px; +} + +/* Tabs */ + + +.tabset { + margin-bottom: 20px; + margin-top: 10px; + min-width: 320px; + /* max-width: 500px; */ +} + +.tabset section { + background: #fff; + color: #373737; + backface-visibility: hidden; + overflow: hidden; +} +.tabset > section { + display: none; +} +input[name="tabset"] { + display: none; +} +.tabset label { + display: inline-block; + padding: 15px 25px; + font-weight: 600; + text-align: center; + border-bottom: 1px solid transparent; + transition: all .3s ease-out 0.1s; +} +.tabset label:hover { + color: #fff; + cursor: pointer; +} +input[name="tabset"]:checked + label { + background: #ffffff; + color: #fd7034; + border-bottom: 1px solid; +} + +#kaltura:checked ~ section#kalturaPlaylist, +#youtube:checked ~ section#youtubePlaylist, +#vimeo:checked ~ section#vimeoPlaylist { + display: block; + animation-name: inUp; + animation-timing-function: ease-in-out; + animation-duration: .6s; +} + + + +.loadPlaylist { + background-color: #0a78d1; + color: #fff; + border-color: #0a78d1; + font-family: Open Sans,sans-serif; + font-size: .95em; + font-weight: 600; + text-align: center; + text-decoration: none; + line-height: 1em; + display: inline-block; + cursor: pointer; + border: 2px solid transparent; + transition: background-color .35s ease; + padding: .65em 1.5em; + border-radius: 1.375em; +} + +.loadPlaylist:hover { + background-color: #096ab9; + border-color: #096ab9; +} + + +.h5p-add-dialog-table .h5p-file-url-wrapper { + display: flex; +} + + +.h5p-add-dialog-table .h5p-file-url-wrapper input.h5peditor-text { + width: 316px; + font-size: 15px; + border-radius: 1.375em !important; +} + +.loadPlaylist { + background-color: #0a78d1; + color: #fff; + border-color: #0a78d1; + font-family: Open Sans,sans-serif; + font-size: 14px; + font-weight: 600; + text-align: center; + text-decoration: none; + line-height: 1em; + display: inline-block; + cursor: pointer; + border: 2px solid transparent; + transition: background-color .35s ease; + padding: 10px 13px; + border-radius: 1.375em; +} + +.h5p-playlist-button-wrapper { + margin-left: 15px; +} + +#playlistContent .play-lists { + overflow: hidden; + text-align: center; + margin-top: 25px; +} + +#playlistContent .play-lists .play-item { + width: 30%; + display: inline-block; + padding: 0 10px; + margin: 20px 0; + vertical-align: top; +} + +#playlistContent .play-lists .play-item img { + height: 135px; + width: 100%; + object-fit: cover; +} + +#playlistContent .modal-content { + padding: 30px; + position: relative; +} + +#playlistContent .modal-content .search-playlist { + text-align: center; +} + +#playlistContent .modal-content .search-playlist input { + height: 32px; + font-size: 15px; + text-transform: capitalize; + padding-left: 15px; + border-radius: 50px; +} + +#playlistContent .modal-content .search-playlist input:focus { + outline: none; +} + + +#playlistContent .modal-content .close { + position: absolute; + right: 48px; + top: 28px; +} + +.modal-content nav .pagination { + align-items: center; + justify-content: center; + margin-top: 30px; +} + +.modal-content nav .pagination .page-item .page-link { + background: #0a78d1; + color: #fff; + padding: 2px 9px; + border-radius: 50px; + text-align: center; + transition: 0.3s all; +} + +.modal-content nav .pagination .page-item.active .page-link { + background: #dd0505; +} + +.modal-content nav .pagination .page-item { + margin: 0 4px; +} + + +#playlistContent .play-lists .play-item .kaltura-video-title { + font-weight: 600; + margin-top: 5px; + display: block; +} \ No newline at end of file