mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-28 16:01:18 -05:00
31 lines
580 B
Go
31 lines
580 B
Go
package jmap
|
|
|
|
type WellKnownJmap struct {
|
|
ApiUrl string `json:"apiUrl"`
|
|
PrimaryAccounts map[string]string `json:"primaryAccounts"`
|
|
}
|
|
|
|
type JmapFolder struct {
|
|
Id string
|
|
Name string
|
|
Role string
|
|
TotalEmails int
|
|
UnreadEmails int
|
|
TotalThreads int
|
|
UnreadThreads int
|
|
}
|
|
type JmapFolders struct {
|
|
Folders []JmapFolder
|
|
state string
|
|
}
|
|
|
|
type JmapCommandResponse struct {
|
|
MethodResponses [][]any `json:"methodResponses"`
|
|
SessionState string `json:"sessionState"`
|
|
}
|
|
|
|
type Emails struct {
|
|
Emails []Email
|
|
State string
|
|
}
|