w
This commit is contained in:
@@ -9,6 +9,7 @@ from typing import TypedDict
|
||||
|
||||
class Email(TypedDict, total=False):
|
||||
"""An email message."""
|
||||
|
||||
subject: str
|
||||
sender: str
|
||||
sender_name: str
|
||||
@@ -35,6 +36,7 @@ class Email(TypedDict, total=False):
|
||||
|
||||
class CalendarEvent(TypedDict, total=False):
|
||||
"""A calendar event / meeting."""
|
||||
|
||||
subject: str
|
||||
start: str
|
||||
end: str
|
||||
@@ -54,6 +56,7 @@ class CalendarEvent(TypedDict, total=False):
|
||||
|
||||
class Person(TypedDict, total=False):
|
||||
"""A person from the Exchange directory."""
|
||||
|
||||
name: str
|
||||
email: str
|
||||
mailbox_type: str
|
||||
@@ -73,6 +76,7 @@ class Person(TypedDict, total=False):
|
||||
|
||||
class Folder(TypedDict, total=False):
|
||||
"""A mail folder."""
|
||||
|
||||
name: str
|
||||
id: str
|
||||
total_count: int
|
||||
@@ -82,6 +86,7 @@ class Folder(TypedDict, total=False):
|
||||
|
||||
class FreeSlot(TypedDict):
|
||||
"""A free time slot."""
|
||||
|
||||
date: str
|
||||
start: str
|
||||
end: str
|
||||
@@ -90,6 +95,7 @@ class FreeSlot(TypedDict):
|
||||
|
||||
class Availability(TypedDict, total=False):
|
||||
"""Availability data for a single attendee."""
|
||||
|
||||
email: str
|
||||
busy_slots: int
|
||||
free_slots: int
|
||||
@@ -98,6 +104,7 @@ class Availability(TypedDict, total=False):
|
||||
|
||||
class MeetingResult(TypedDict, total=False):
|
||||
"""Result of creating/updating a meeting."""
|
||||
|
||||
success: bool
|
||||
subject: str
|
||||
date: str
|
||||
|
||||
Reference in New Issue
Block a user