export default EventSource; /** * The EventSource model module. * @module model/EventSource */ declare class EventSource { /** * Initializes the fields of this object. * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). * Only for internal use. */ static initialize(obj: any): void; /** * Constructs a EventSource from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @param {EventSource} [obj] Optional instance to populate. * @returns {EventSource} The populated EventSource instance. */ static constructFromObject(data: Partial, obj?: EventSource): EventSource; /** * Validates the JSON data with respect to EventSource. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @returns {boolean} to indicate whether the JSON data is valid with respect to EventSource. */ static validateJSON(data: Partial): boolean; channel: (keyof typeof EventSource.ChannelEnum) | undefined; user: EventSourceUser | undefined; api_key: EventSourceApiKey | undefined; } declare namespace EventSource { namespace ChannelEnum { let USER_PORTAL: string; let API: string; let CLIENT_API: string; let INTERNAL: string; } } import EventSourceUser from './EventSourceUser'; import EventSourceApiKey from './EventSourceApiKey';