ru
.
pavkin
.
todoist
.
api
.
core
dto
package
dto
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
dto
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Type Members
case class
AccessToken
(
access_token:
String
,
token_type:
String
)
extends
Product
with
Serializable
case class
AddFilter
(
name:
String
,
query:
String
,
color:
Int
,
order:
Option
[
Int
] =
None
)
extends
Product
with
Serializable
case class
AddLabel
(
name:
String
,
color:
Option
[
Int
] =
None
,
item_order:
Option
[
Int
] =
None
)
extends
Product
with
Serializable
case class
AddNote
[
T
]
(
content:
String
,
item_id:
T
,
uids_to_notify:
List
[
Int
] =
Nil
)
(
implicit
evidence$1:
IsResourceId
[
T
]
)
extends
Product
with
Serializable
case class
AddProject
(
name:
String
,
color:
Option
[
Int
] =
None
,
indent:
Option
[
Int
] =
None
,
item_order:
Option
[
Int
] =
None
)
extends
Product
with
Serializable
case class
AddReminder
[
T
]
(
item_id:
T
,
type:
String
,
notify_uid:
Option
[
Int
] =
None
,
service:
Option
[
String
] =
None
,
date_string:
Option
[
String
] =
None
,
date_lang:
Option
[
String
] =
None
,
due_date_utc:
Option
[
String
] =
None
,
minute_offset:
Option
[
Int
] =
None
,
name:
Option
[
String
] =
None
,
loc_lat:
Option
[
String
] =
None
,
loc_long:
Option
[
String
] =
None
,
loc_trigger:
Option
[
String
] =
None
,
radius:
Option
[
Int
] =
None
)
(
implicit
evidence$1:
IsResourceId
[
T
]
)
extends
Product
with
Serializable
case class
AddTask
[
T
]
(
content:
String
,
project_id:
T
,
date_string:
Option
[
String
] =
None
,
date_lang:
Option
[
String
] =
None
,
due_date_utc:
Option
[
String
] =
None
,
priority:
Option
[
Int
] =
None
,
indent:
Option
[
Int
] =
None
,
item_order:
Option
[
Int
] =
None
,
day_order:
Option
[
Int
] =
None
,
collapsed:
Option
[
Int
] =
None
,
labels:
List
[
Int
] =
Nil
,
assigned_by_uid:
Option
[
Int
] =
None
,
responsible_uid:
Option
[
Int
] =
None
)
(
implicit
evidence$1:
IsResourceId
[
T
]
)
extends
Product
with
Serializable
case class
AddTaskToInbox
(
content:
String
,
date_string:
Option
[
String
] =
None
,
date_lang:
Option
[
String
] =
None
,
due_date_utc:
Option
[
String
] =
None
,
priority:
Option
[
Int
] =
None
,
indent:
Option
[
Int
] =
None
,
item_order:
Option
[
Int
] =
None
,
day_order:
Option
[
Int
] =
None
,
collapsed:
Option
[
Int
] =
None
,
labels:
List
[
Int
] =
Nil
)
extends
Product
with
Serializable
case class
AllResources
(
Projects:
Option
[
List
[
Project
]]
,
Labels:
Option
[
List
[
Label
]]
,
Items:
Option
[
List
[
Task
]]
,
Notes:
Option
[
List
[
Note
]]
,
Filters:
Option
[
List
[
Filter
]]
,
Reminders:
Option
[
List
[
Reminder
]]
,
User:
Option
[
User
]
)
extends
Product
with
Serializable
case class
CommandResult
(
status:
RawCommandStatus
)
extends
Product
with
Serializable
case class
FileAttachment
(
file_name:
String
,
file_size:
Long
,
file_type:
String
,
file_url:
String
,
upload_state:
Option
[
String
]
)
extends
Product
with
Serializable
case class
Filter
(
id:
Int
,
name:
String
,
query:
String
,
color:
Int
,
item_order:
Int
,
is_deleted:
Int
)
extends
Product
with
Serializable
type
Item
=
Task
case class
Label
(
id:
Int
,
uid:
Int
,
name:
String
,
color:
Int
,
item_order:
Int
,
is_deleted:
Int
)
extends
Product
with
Serializable
case class
MoveTasks
(
project_items:
Map
[
String
,
List
[
Int
]]
,
to_project:
Int
)
extends
Product
with
Serializable
case class
MultipleIdCommand
[
T
]
(
ids:
List
[
T
]
)
(
implicit
evidence$1:
IsResourceId
[
T
]
)
extends
Product
with
Serializable
case class
Note
(
id:
Int
,
posted_uid:
Int
,
item_id:
Int
,
project_id:
Int
,
content:
String
,
file_attachment:
Option
[
FileAttachment
]
,
uids_to_notify:
Option
[
List
[
Int
]]
,
is_deleted:
Int
,
is_archived:
Int
,
posted:
String
)
extends
Product
with
Serializable
case class
Project
(
id:
Int
,
user_id:
Int
,
name:
String
,
color:
Int
,
indent:
Int
,
item_order:
Int
,
collapsed:
Int
,
shared:
Boolean
,
is_deleted:
Int
,
is_archived:
Int
,
archived_date:
Option
[
String
]
,
archived_timestamp:
Int
,
inbox_project:
Option
[
Boolean
]
,
team_inbox:
Option
[
Boolean
]
)
extends
Product
with
Serializable
case class
RawCommand
[
A
]
(
type:
String
,
uuid:
UUID
,
args:
A
)
extends
Product
with
Serializable
case class
RawCommandError
(
error_code:
Int
,
error:
String
)
extends
Product
with
Serializable
case class
RawCommandResult
(
SyncStatus:
RawRequestStatus
,
TempIdMapping:
Option
[
TempIdMapping
]
)
extends
Product
with
Serializable
type
RawCommandStatus
=
:+:
[
String
,
:+:
[
RawCommandError
,
:+:
[
RawMultipleItemCommandStatus
,
CNil
]]]
type
RawItemStatus
=
:+:
[
String
,
:+:
[
RawCommandError
,
CNil
]]
type
RawMultipleItemCommandStatus
=
Map
[
String
,
RawItemStatus
]
type
RawRequestStatus
=
Map
[
String
,
RawCommandStatus
]
case class
RawTempIdCommand
[
A
]
(
type:
String
,
uuid:
UUID
,
args:
A
,
temp_id:
UUID
)
extends
Product
with
Serializable
case class
Reminder
(
id:
Int
,
notify_uid:
Int
,
item_id:
Int
,
service:
Option
[
String
]
,
type:
String
,
date_string:
Option
[
String
]
,
date_lang:
Option
[
String
]
,
due_date_utc:
Option
[
String
]
,
mm_offset:
Option
[
Int
]
,
minute_offset:
Option
[
Int
]
,
name:
Option
[
String
]
,
loc_lat:
Option
[
String
]
,
loc_long:
Option
[
String
]
,
loc_trigger:
Option
[
String
]
,
radius:
Option
[
Int
]
,
is_deleted:
Int
)
extends
Product
with
Serializable
case class
SingleIdCommand
[
T
]
(
id:
T
)
(
implicit
evidence$1:
IsResourceId
[
T
]
)
extends
Product
with
Serializable
case class
Task
(
id:
Int
,
user_id:
Int
,
project_id:
Int
,
content:
String
,
date_string:
Option
[
String
]
,
date_lang:
String
,
due_date_utc:
Option
[
String
]
,
priority:
Int
,
indent:
Int
,
item_order:
Int
,
day_order:
Int
,
collapsed:
Int
,
labels:
List
[
Int
]
,
assigned_by_uid:
Option
[
Int
] =
None
,
responsible_uid:
Option
[
Int
] =
None
,
checked:
Int
,
in_history:
Int
,
is_deleted:
Int
,
is_archived:
Int
,
date_added:
String
)
extends
Product
with
Serializable
sealed
trait
TempIdCommandResult
extends
AnyRef
case class
TempIdFailure
(
underlying:
RawCommandError
)
extends
TempIdCommandResult
with
Product
with
Serializable
type
TempIdMapping
=
Map
[
String
,
Int
]
case class
TempIdSuccess
(
realId:
Int
)
extends
TempIdCommandResult
with
Product
with
Serializable
case class
TimeZoneOffset
(
gmtString:
String
,
hours:
Int
,
minutes:
Int
)
extends
Product
with
Serializable
case class
UpdateFilter
[
T
]
(
id:
T
,
name:
Option
[
String
] =
None
,
query:
Option
[
String
] =
None
,
color:
Option
[
Int
] =
None
,
order:
Option
[
Int
] =
None
)
(
implicit
evidence$1:
IsResourceId
[
T
]
)
extends
Product
with
Serializable
case class
UpdateLabel
[
T
]
(
id:
T
,
name:
Option
[
String
] =
None
,
color:
Option
[
Int
] =
None
,
item_order:
Option
[
Int
] =
None
)
(
implicit
evidence$1:
IsResourceId
[
T
]
)
extends
Product
with
Serializable
case class
UpdateNote
[
T
]
(
id:
T
,
content:
Option
[
String
] =
None
)
(
implicit
evidence$1:
IsResourceId
[
T
]
)
extends
Product
with
Serializable
case class
UpdateProject
[
T
]
(
id:
T
,
name:
Option
[
String
] =
None
,
color:
Option
[
Int
] =
None
,
indent:
Option
[
Int
] =
None
,
item_order:
Option
[
Int
] =
None
,
collapsed:
Option
[
Int
] =
None
)
(
implicit
evidence$1:
IsResourceId
[
T
]
)
extends
Product
with
Serializable
case class
UpdateTask
[
T
]
(
id:
T
,
content:
Option
[
String
] =
None
,
date_string:
Option
[
String
] =
None
,
date_lang:
Option
[
String
] =
None
,
due_date_utc:
Option
[
String
] =
None
,
priority:
Option
[
Int
] =
None
,
indent:
Option
[
Int
] =
None
,
item_order:
Option
[
Int
] =
None
,
day_order:
Option
[
Int
] =
None
,
collapsed:
Option
[
Int
] =
None
,
labels:
List
[
Int
] =
Nil
,
assigned_by_uid:
Option
[
Int
] =
None
,
responsible_uid:
Option
[
Int
] =
None
)
(
implicit
evidence$1:
IsResourceId
[
T
]
)
extends
Product
with
Serializable
case class
User
(
id:
Int
,
email:
String
,
full_name:
String
,
inbox_project:
Int
,
timezone:
String
,
tz_offset:
TimeZoneOffset
,
start_page:
String
,
start_day:
Int
,
next_week:
Int
,
time_format:
Int
,
date_format:
Int
,
sort_order:
Int
,
has_push_reminders:
Boolean
,
default_reminder:
Option
[
String
]
,
auto_reminder:
Option
[
Int
]
,
mobile_number:
Option
[
String
]
,
mobile_host:
Option
[
String
]
,
completed_count:
Int
,
completed_today:
Int
,
karma:
Double
,
karma_trend:
String
,
is_premium:
Boolean
,
premium_until:
Option
[
String
]
,
is_biz_admin:
Boolean
,
business_account_id:
Option
[
Int
]
,
image_id:
Option
[
String
]
,
beta:
Int
,
is_dummy:
Int
,
join_date:
String
,
theme:
Int
,
avatar_small:
Option
[
String
]
,
avatar_medium:
Option
[
String
]
,
avatar_big:
Option
[
String
]
,
avatar_s640:
Option
[
String
]
)
extends
Product
with
Serializable
Inherited from
AnyRef
Inherited from
Any
Ungrouped