todoist#

class platypush.message.response.todoist.TodoistCollaborator(data: Dict[str, Any], *args, **kwargs)[source]#

Bases: Mapping

__init__(data: Dict[str, Any], *args, **kwargs)[source]#
class platypush.message.response.todoist.TodoistCollaboratorsResponse(collaborators: List[TodoistCollaborator], **kwargs)[source]#

Bases: TodoistResponse

__init__(collaborators: List[TodoistCollaborator], **kwargs)[source]#
Parameters:
  • target (str) – Target

  • origin (str) – Origin

  • output – Output

  • errors – Errors

  • id (str) – Message ID this response refers to

  • timestamp (float) – Message timestamp

class platypush.message.response.todoist.TodoistFilter(color: int, id: int, is_deleted: bool, is_favorite: bool, item_order: int, name: str, query: str, legacy_id: int | None = None, *args, **kwargs)[source]#

Bases: Mapping

__init__(color: int, id: int, is_deleted: bool, is_favorite: bool, item_order: int, name: str, query: str, legacy_id: int | None = None, *args, **kwargs)[source]#
class platypush.message.response.todoist.TodoistFiltersResponse(filters: List[TodoistFilter], **kwargs)[source]#

Bases: TodoistResponse

__init__(filters: List[TodoistFilter], **kwargs)[source]#
Parameters:
  • target (str) – Target

  • origin (str) – Origin

  • output – Output

  • errors – Errors

  • id (str) – Message ID this response refers to

  • timestamp (float) – Message timestamp

class platypush.message.response.todoist.TodoistItem(content: str, id: int, checked: bool, priority: int, child_order: int, collapsed: bool, day_order: int, date_added: datetime, in_history: bool, is_deleted: bool, user_id: int, has_more_notes: bool = False, project_id: int | None = None, parent_id: int | None = None, responsible_uid: int | None = None, date_completed: datetime | None = None, assigned_by_uid: int | None = None, due: Dict[str, Any] | None = None, labels: List[str] | None = None, legacy_project_id: int | None = None, section_id: int | None = None, sync_id: int | None = None, *args, **kwargs)[source]#

Bases: Mapping

__init__(content: str, id: int, checked: bool, priority: int, child_order: int, collapsed: bool, day_order: int, date_added: datetime, in_history: bool, is_deleted: bool, user_id: int, has_more_notes: bool = False, project_id: int | None = None, parent_id: int | None = None, responsible_uid: int | None = None, date_completed: datetime | None = None, assigned_by_uid: int | None = None, due: Dict[str, Any] | None = None, labels: List[str] | None = None, legacy_project_id: int | None = None, section_id: int | None = None, sync_id: int | None = None, *args, **kwargs)[source]#
class platypush.message.response.todoist.TodoistItemsResponse(items: List[TodoistItem], **kwargs)[source]#

Bases: TodoistResponse

__init__(items: List[TodoistItem], **kwargs)[source]#
Parameters:
  • target (str) – Target

  • origin (str) – Origin

  • output – Output

  • errors – Errors

  • id (str) – Message ID this response refers to

  • timestamp (float) – Message timestamp

class platypush.message.response.todoist.TodoistLiveNotification(id: int, is_deleted: bool, created: str, is_unread: bool, notification_key: str, notification_type: str, completed_last_month: int | None = None, karma_level: int | None = None, promo_img: str | None = None, completed_tasks: int | None = None, *args, **kwargs)[source]#

Bases: Mapping

__init__(id: int, is_deleted: bool, created: str, is_unread: bool, notification_key: str, notification_type: str, completed_last_month: int | None = None, karma_level: int | None = None, promo_img: str | None = None, completed_tasks: int | None = None, *args, **kwargs)[source]#
class platypush.message.response.todoist.TodoistLiveNotificationsResponse(notifications: List[TodoistLiveNotification], **kwargs)[source]#

Bases: TodoistResponse

__init__(notifications: List[TodoistLiveNotification], **kwargs)[source]#
Parameters:
  • target (str) – Target

  • origin (str) – Origin

  • output – Output

  • errors – Errors

  • id (str) – Message ID this response refers to

  • timestamp (float) – Message timestamp

class platypush.message.response.todoist.TodoistNote(data: Dict[str, Any], *args, **kwargs)[source]#

Bases: Mapping

__init__(data: Dict[str, Any], *args, **kwargs)[source]#
class platypush.message.response.todoist.TodoistNotesResponse(notes: List[TodoistCollaborator], **kwargs)[source]#

Bases: TodoistResponse

__init__(notes: List[TodoistCollaborator], **kwargs)[source]#
Parameters:
  • target (str) – Target

  • origin (str) – Origin

  • output – Output

  • errors – Errors

  • id (str) – Message ID this response refers to

  • timestamp (float) – Message timestamp

class platypush.message.response.todoist.TodoistProject(child_order: int, collapsed: int, color: int, has_more_notes: bool, id: int, is_archived: bool, is_deleted: bool, is_favorite: bool, name: str, shared: bool, inbox_project: bool | None = None, legacy_id: int | None = None, parent_id: int | None = None, *args, **kwargs)[source]#

Bases: Mapping

__init__(child_order: int, collapsed: int, color: int, has_more_notes: bool, id: int, is_archived: bool, is_deleted: bool, is_favorite: bool, name: str, shared: bool, inbox_project: bool | None = None, legacy_id: int | None = None, parent_id: int | None = None, *args, **kwargs)[source]#
class platypush.message.response.todoist.TodoistProjectNote(data: Dict[str, Any], *args, **kwargs)[source]#

Bases: Mapping

__init__(data: Dict[str, Any], *args, **kwargs)[source]#
class platypush.message.response.todoist.TodoistProjectNotesResponse(notes: List[TodoistCollaborator], **kwargs)[source]#

Bases: TodoistResponse

__init__(notes: List[TodoistCollaborator], **kwargs)[source]#
Parameters:
  • target (str) – Target

  • origin (str) – Origin

  • output – Output

  • errors – Errors

  • id (str) – Message ID this response refers to

  • timestamp (float) – Message timestamp

class platypush.message.response.todoist.TodoistProjectsResponse(projects: List[TodoistProject], **kwargs)[source]#

Bases: TodoistResponse

__init__(projects: List[TodoistProject], **kwargs)[source]#
Parameters:
  • target (str) – Target

  • origin (str) – Origin

  • output – Output

  • errors – Errors

  • id (str) – Message ID this response refers to

  • timestamp (float) – Message timestamp

class platypush.message.response.todoist.TodoistReminder(data: Dict[str, Any], *args, **kwargs)[source]#

Bases: Mapping

__init__(data: Dict[str, Any], *args, **kwargs)[source]#
class platypush.message.response.todoist.TodoistRemindersResponse(reminders: List[TodoistReminder], **kwargs)[source]#

Bases: TodoistResponse

__init__(reminders: List[TodoistReminder], **kwargs)[source]#
Parameters:
  • target (str) – Target

  • origin (str) – Origin

  • output – Output

  • errors – Errors

  • id (str) – Message ID this response refers to

  • timestamp (float) – Message timestamp

class platypush.message.response.todoist.TodoistResponse(target=None, origin=None, id=None, output=None, errors=None, timestamp=None, logging_level=20)[source]#

Bases: Response

class platypush.message.response.todoist.TodoistUserResponse(auto_reminder: int | None = None, avatar_big: str | None = None, avatar_medium: str | None = None, avatar_s640: str | None = None, avatar_small: str | None = None, business_account_id: int | None = None, daily_goal: int | None = None, date_format: str | None = None, dateist_inline_disabled: bool | None = None, dateist_lang: str | None = None, days_off: List[int] | None = None, default_reminder: str | None = None, email: str | None = None, features: Dict[str, Any] | None = None, full_name: str | None = None, id: int | None = None, image_id: str | None = None, inbox_project: int | None = None, is_biz_admin: bool | None = None, is_premium: bool | None = None, join_date: datetime | None = None, karma: float | None = None, karma_trend: str | None = None, lang: str | None = None, legacy_inbox_project: int | None = None, mobile_host: str | None = None, mobile_number: str | None = None, next_week: int | None = None, premium_until: datetime | None = None, share_limit: int | None = None, sort_order: int | None = None, start_day: int | None = None, start_page: str | None = None, theme: int | None = None, time_format: int | None = None, token: str | None = None, tz_info: Dict[str, Any] | None = None, unique_prefix: int | None = None, websocket_url: str | None = None, weekly_goal: int | None = None, **kwargs)[source]#

Bases: TodoistResponse

__init__(auto_reminder: int | None = None, avatar_big: str | None = None, avatar_medium: str | None = None, avatar_s640: str | None = None, avatar_small: str | None = None, business_account_id: int | None = None, daily_goal: int | None = None, date_format: str | None = None, dateist_inline_disabled: bool | None = None, dateist_lang: str | None = None, days_off: List[int] | None = None, default_reminder: str | None = None, email: str | None = None, features: Dict[str, Any] | None = None, full_name: str | None = None, id: int | None = None, image_id: str | None = None, inbox_project: int | None = None, is_biz_admin: bool | None = None, is_premium: bool | None = None, join_date: datetime | None = None, karma: float | None = None, karma_trend: str | None = None, lang: str | None = None, legacy_inbox_project: int | None = None, mobile_host: str | None = None, mobile_number: str | None = None, next_week: int | None = None, premium_until: datetime | None = None, share_limit: int | None = None, sort_order: int | None = None, start_day: int | None = None, start_page: str | None = None, theme: int | None = None, time_format: int | None = None, token: str | None = None, tz_info: Dict[str, Any] | None = None, unique_prefix: int | None = None, websocket_url: str | None = None, weekly_goal: int | None = None, **kwargs)[source]#
Parameters:
  • target (str) – Target

  • origin (str) – Origin

  • output – Output

  • errors – Errors

  • id (str) – Message ID this response refers to

  • timestamp (float) – Message timestamp