@datalayer/core
Version:
[](https://datalayer.io)
44 lines (43 loc) • 1.02 kB
TypeScript
export declare class Outbound implements IOutbound {
id: string;
uid: 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;
uid: 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;