UNPKG

@kaltura-ng/kaltura-client

Version:
50 lines 3.19 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 { KalturaEmailNotificationFormat } from './KalturaEmailNotificationFormat'; import { KalturaEmailNotificationRecipientProvider } from './KalturaEmailNotificationRecipientProvider'; import { KalturaEmailNotificationTemplatePriority } from './KalturaEmailNotificationTemplatePriority'; import { KalturaKeyValue } from './KalturaKeyValue'; import { KalturaEventNotificationTemplate } from './KalturaEventNotificationTemplate'; var KalturaEmailNotificationTemplate = (function (_super) { __extends(KalturaEmailNotificationTemplate, _super); function KalturaEmailNotificationTemplate(data) { var _this = _super.call(this, data) || this; if (typeof _this.customHeaders === 'undefined') _this.customHeaders = []; return _this; } KalturaEmailNotificationTemplate.prototype._getMetadata = function () { var result = _super.prototype._getMetadata.call(this); Object.assign(result.properties, { objectType: { type: 'c', default: 'KalturaEmailNotificationTemplate' }, format: { type: 'es', subTypeConstructor: KalturaEmailNotificationFormat, subType: 'KalturaEmailNotificationFormat' }, subject: { type: 's' }, body: { type: 's' }, fromEmail: { type: 's' }, fromName: { type: 's' }, to: { type: 'o', subTypeConstructor: KalturaEmailNotificationRecipientProvider, subType: 'KalturaEmailNotificationRecipientProvider' }, cc: { type: 'o', subTypeConstructor: KalturaEmailNotificationRecipientProvider, subType: 'KalturaEmailNotificationRecipientProvider' }, bcc: { type: 'o', subTypeConstructor: KalturaEmailNotificationRecipientProvider, subType: 'KalturaEmailNotificationRecipientProvider' }, replyTo: { type: 'o', subTypeConstructor: KalturaEmailNotificationRecipientProvider, subType: 'KalturaEmailNotificationRecipientProvider' }, priority: { type: 'en', subTypeConstructor: KalturaEmailNotificationTemplatePriority, subType: 'KalturaEmailNotificationTemplatePriority' }, confirmReadingTo: { type: 's' }, hostname: { type: 's' }, messageID: { type: 's' }, customHeaders: { type: 'a', subTypeConstructor: KalturaKeyValue, subType: 'KalturaKeyValue' } }); return result; }; return KalturaEmailNotificationTemplate; }(KalturaEventNotificationTemplate)); export { KalturaEmailNotificationTemplate }; KalturaTypesFactory.registerType('KalturaEmailNotificationTemplate', KalturaEmailNotificationTemplate); //# sourceMappingURL=KalturaEmailNotificationTemplate.js.map