mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
WIP :D
This commit is contained in:
1 parent
b83a890f48
commit
a9b824d026
3 files changed
+55
-4
No files matched your search
+21
-3
@@ -1,10 +1,15 @@
|
||||
export interface IEmailPhoneAction {
|
||||
path: string;
|
||||
href: string;
|
||||
label: string;
|
||||
deleteEmail?: boolean;
|
||||
closePhone?: boolean;
|
||||
}
|
||||
|
||||
export interface IEmailExternalAction {
|
||||
eventName: string;
|
||||
args: Array<string | number>;
|
||||
callbackEvent: string;
|
||||
callbackArg: string | number | boolean | void;
|
||||
label: string;
|
||||
deleteEmail?: boolean;
|
||||
closePhone?: boolean;
|
||||
}
|
||||
|
||||
@@ -36,6 +41,19 @@ export interface EmailMessageInput {
|
||||
receivers: string;
|
||||
}
|
||||
|
||||
export interface SendEmailToIdentifierInput {
|
||||
identifier: string;
|
||||
provider: string;
|
||||
subject: string;
|
||||
body: string;
|
||||
phoneActions: IEmailPhoneAction[];
|
||||
externalActions: IEmailExternalAction[];
|
||||
}
|
||||
|
||||
export enum GlobalEmailEvents {
|
||||
SEND_EMAIL_TO_IDENTIFIER = 'npwd:sendEmailToIdentifier',
|
||||
}
|
||||
|
||||
export enum EmailEvents {
|
||||
FETCH_INBOX = 'npwd:fetchEmailInbox',
|
||||
FETCH_INBOX_SUCCESS = 'npwd:fetchEmailInboxSuccess',
|
||||
|
||||
Reference in new issue
Block a user