nylas
Version:
A NodeJS wrapper for the Nylas REST API for email, contacts, and calendar.
19 lines (18 loc) • 446 B
TypeScript
/**
* Interface representing a request to compose a message.
*/
export interface ComposeMessageRequest {
/**
* The prompt that smart compose will use to generate a message suggestion.
*/
prompt: string;
}
/**
* Interface representing a response to a message composition request.
*/
export interface ComposeMessageResponse {
/**
* The message suggestion generated by smart compose.
*/
suggestion: string;
}