summaryrefslogtreecommitdiff
path: root/service/app/leap
diff options
context:
space:
mode:
authorDuda Dornelles <ddornell@thoughtworks.com>2014-08-01 13:47:28 -0300
committerDuda Dornelles <ddornell@thoughtworks.com>2014-08-01 13:47:28 -0300
commitdbbbdc638d140b6b861a4ec386aaabf6bc7e1bdd (patch)
treea115c5e8bff3c1f5026aee28ecd4bbbe5ce75d25 /service/app/leap
parent0666ea46470a10334178a355a3895423f9906908 (diff)
Pixelated user agent REST api without implementation
Diffstat (limited to 'service/app/leap')
-rw-r--r--service/app/leap/__init__.py3
-rw-r--r--service/app/leap/client.py63
-rw-r--r--service/app/leap/mailconverter.py21
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()
+
+