Still WIP :)

This commit is contained in:
J Francisco Rader committed 2021-03-30 02:08:53 -03:00
1 parent a9b824d026
commit 0ffafbc950
8 files changed
+475 -246

No files matched your search

+6
View File
@@ -23,6 +23,7 @@ export interface IEmailMessage {
sender: string;
sendDate: number;
body: string;
hasActions: boolean;
phoneActions?: Array<IEmailPhoneAction>;
externalActions?: Array<IEmailExternalAction>;
}
@@ -39,6 +40,8 @@ export interface EmailMessageInput {
parent_id?: number;
body: string;
receivers: string;
phoneActions?: IEmailPhoneAction[];
externalActions?: IEmailExternalAction[];
}
export interface SendEmailToIdentifierInput {
@@ -61,4 +64,7 @@ export enum EmailEvents {
SEND_EMAIL = 'npwd:sendEmail',
SEND_EMAIL_SUCCESS = 'npwd:sendEmailSuccess',
SEND_EMAIL_ERROR = 'npwd:sendEmailError',
FETCH_MESSAGE_ACTIONS = 'npwd:fetchEmailMessageActions',
FETCH_MESSAGE_ACTIONS_SUCCESS = 'npwd:fetchEmailMessageActionsSuccess',
FETCH_MESSAGE_ACTIONS_ERROR = 'npwd:fetchEmailMessageActionsError',
}