diff options
Diffstat (limited to 'service/app/leap')
-rw-r--r-- | service/app/leap/__init__.py | 3 | ||||
-rw-r--r-- | service/app/leap/client.py | 63 | ||||
-rw-r--r-- | service/app/leap/mailconverter.py | 21 |
3 files changed, 87 insertions, 0 deletions
diff --git a/service/app/leap/__init__.py b/service/app/leap/__init__.py new file mode 100644 index 00000000..b836e508 --- /dev/null +++ b/service/app/leap/__init__.py @@ -0,0 +1,3 @@ +from client import Client +from mailconverter import MailConverter + diff --git a/service/app/leap/client.py b/service/app/leap/client.py new file mode 100644 index 00000000..5f9020fd --- /dev/null +++ b/service/app/leap/client.py @@ -0,0 +1,63 @@ +class Client: + + def __init__(self, account): + pass + + + def mails(self, query): + raise NotImplementedError() + + + def drafts(self): + raise NotImplementedError() + + + def mail(self, mail_id): + raise NotImplementedError() + + + def thread(self, thread_id): + raise NotImplementedError() + + + def mark_as_read(self, mail_id): + raise NotImplementedError() + + + def tags_for_thread(self, thread): + raise NotImplementedError() + + + def add_tag_to_thread(self, thread_id, tag): + raise NotImplementedError() + + + def remove_tag_from_thread(self, thread_id, tag): + raise NotImplementedError() + + + def delete_mail(self, mail_id): + raise NotImplementedError() + + + def save_draft(self, draft): + raise NotImplementedError() + + + def send_draft(self, draft): + raise NotImplementedError() + + + def draft_reply_for(self, mail_id): + raise NotImplementedError() + + + def all_tags(self): + raise NotImplementedError() + + + def all_contacts(self, query): + raise NotImplementedError() + + + diff --git a/service/app/leap/mailconverter.py b/service/app/leap/mailconverter.py new file mode 100644 index 00000000..e05b2c30 --- /dev/null +++ b/service/app/leap/mailconverter.py @@ -0,0 +1,21 @@ +class MailConverter: + + def __init__(self, client): + pass + + def from_mail(self, inbox_mail): + raise NotImplementedError() + + + def to_mail(self, pixelated_mail, account): + raise NotImplementedError() + + + def from_tag(self, inbox_tag): + raise NotImplementedError() + + + def from_contact(self, inbox_contact): + raise NotImplementedError() + + |