UNPKG

@kaltura-ng/kaltura-client

Version:
100 lines 5.42 kB
var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); import { KalturaTypesFactory } from '../kaltura-types-factory'; import { KalturaCommercialUseType } from './KalturaCommercialUseType'; import { KalturaPartnerType } from './KalturaPartnerType'; import { KalturaPartnerStatus } from './KalturaPartnerStatus'; import { KalturaKeyValue } from './KalturaKeyValue'; import { KalturaPartnerGroupType } from './KalturaPartnerGroupType'; import { KalturaPlayerDeliveryType } from './KalturaPlayerDeliveryType'; import { KalturaPlayerEmbedCodeType } from './KalturaPlayerEmbedCodeType'; import { KalturaESearchLanguageItem } from './KalturaESearchLanguageItem'; import { KalturaObjectBase } from '../kaltura-object-base'; var KalturaPartner = (function (_super) { __extends(KalturaPartner, _super); function KalturaPartner(data) { var _this = _super.call(this, data) || this; if (typeof _this.additionalParams === 'undefined') _this.additionalParams = []; if (typeof _this.deliveryTypes === 'undefined') _this.deliveryTypes = []; if (typeof _this.embedCodeTypes === 'undefined') _this.embedCodeTypes = []; if (typeof _this.eSearchLanguages === 'undefined') _this.eSearchLanguages = []; return _this; } KalturaPartner.prototype._getMetadata = function () { var result = _super.prototype._getMetadata.call(this); Object.assign(result.properties, { objectType: { type: 'c', default: 'KalturaPartner' }, id: { type: 'n', readOnly: true }, name: { type: 's' }, website: { type: 's' }, notificationUrl: { type: 's' }, appearInSearch: { type: 'n' }, createdAt: { type: 'd', readOnly: true }, adminName: { type: 's' }, adminEmail: { type: 's' }, description: { type: 's' }, commercialUse: { type: 'en', subTypeConstructor: KalturaCommercialUseType, subType: 'KalturaCommercialUseType' }, landingPage: { type: 's' }, userLandingPage: { type: 's' }, contentCategories: { type: 's' }, type: { type: 'en', subTypeConstructor: KalturaPartnerType, subType: 'KalturaPartnerType' }, phone: { type: 's' }, describeYourself: { type: 's' }, adultContent: { type: 'b' }, defConversionProfileType: { type: 's' }, notify: { type: 'n' }, status: { type: 'en', readOnly: true, subTypeConstructor: KalturaPartnerStatus, subType: 'KalturaPartnerStatus' }, allowQuickEdit: { type: 'n' }, mergeEntryLists: { type: 'n' }, notificationsConfig: { type: 's' }, maxUploadSize: { type: 'n' }, partnerPackage: { type: 'n' }, secret: { type: 's', readOnly: true }, adminSecret: { type: 's', readOnly: true }, cmsPassword: { type: 's', readOnly: true }, allowMultiNotification: { type: 'n' }, adminLoginUsersQuota: { type: 'n', readOnly: true }, adminUserId: { type: 's' }, firstName: { type: 's' }, lastName: { type: 's' }, country: { type: 's' }, state: { type: 's' }, additionalParams: { type: 'a', subTypeConstructor: KalturaKeyValue, subType: 'KalturaKeyValue' }, publishersQuota: { type: 'n', readOnly: true }, partnerGroupType: { type: 'en', readOnly: true, subTypeConstructor: KalturaPartnerGroupType, subType: 'KalturaPartnerGroupType' }, defaultEntitlementEnforcement: { type: 'b', readOnly: true }, defaultDeliveryType: { type: 's', readOnly: true }, defaultEmbedCodeType: { type: 's', readOnly: true }, deliveryTypes: { type: 'a', readOnly: true, subTypeConstructor: KalturaPlayerDeliveryType, subType: 'KalturaPlayerDeliveryType' }, embedCodeTypes: { type: 'a', readOnly: true, subTypeConstructor: KalturaPlayerEmbedCodeType, subType: 'KalturaPlayerEmbedCodeType' }, templatePartnerId: { type: 'n', readOnly: true }, ignoreSeoLinks: { type: 'b', readOnly: true }, host: { type: 's', readOnly: true }, cdnHost: { type: 's', readOnly: true }, isFirstLogin: { type: 'b', readOnly: true }, logoutUrl: { type: 's', readOnly: true }, partnerParentId: { type: 'n' }, crmId: { type: 's', readOnly: true }, referenceId: { type: 's' }, timeAlignedRenditions: { type: 'b', readOnly: true }, eSearchLanguages: { type: 'a', subTypeConstructor: KalturaESearchLanguageItem, subType: 'KalturaESearchLanguageItem' } }); return result; }; return KalturaPartner; }(KalturaObjectBase)); export { KalturaPartner }; KalturaTypesFactory.registerType('KalturaPartner', KalturaPartner); //# sourceMappingURL=KalturaPartner.js.map