@datalayer/core
Version:
**Datalayer Core**
42 lines (41 loc) • 989 B
TypeScript
export declare class Outbound implements IOutbound {
id: string;
subType: string;
name: string;
description: string;
tags: Array<string>;
status: string;
emailSubject: string;
emailContent: string;
senderUid: string;
senderDisplayName: string;
recipients: Array<string>;
creationDate?: Date;
lastUpdateDate?: Date;
launchedDate?: Date;
constructor(u: any);
}
/**
* Convert the raw user object to {@link IOutbound}.
*
* @param u Raw user object from DB
* @returns Outbound
*/
export declare function asOutbound(u: any): IOutbound;
export type IOutbound = {
id: string;
subType: string;
name: string;
description: string;
tags: Array<string>;
status: string;
emailSubject: string;
emailContent: string;
senderUid: string;
senderDisplayName: string;
recipients: Array<string>;
creationDate?: Date;
lastUpdateDate?: Date;
launchedDate?: Date;
};
export default IOutbound;