@@ -65,9 +65,11 @@ export interface ParsedMessage {
65
65
Part : Part
66
66
Headers ?: { [ key : string ] : string [ ] | null }
67
67
ViewMode : ViewMode
68
- Texts ?: string [ ] | null // Text parts, can be empty.
68
+ Texts ?: string [ ] | null // Contents of text parts, can be empty.
69
69
HasHTML : boolean // Whether there is an HTML part. The webclient renders HTML message parts through an iframe and a separate request with strict CSP headers to prevent script execution and loading of external resources, which isn't possible when loading in iframe with inline HTML because not all browsers support the iframe csp attribute.
70
70
ListReplyAddress ?: MessageAddress | null // From List-Post.
71
+ TextPaths ?: ( number [ ] | null ) [ ] | null // Paths to text parts.
72
+ HTMLPath ?: number [ ] | null // Path to HTML part.
71
73
}
72
74
73
75
// Part represents a whole mail message, or a part of a multipart message. It
@@ -594,7 +596,7 @@ export const types: TypenameMap = {
594
596
"Filter" : { "Name" :"Filter" , "Docs" :"" , "Fields" :[ { "Name" :"MailboxID" , "Docs" :"" , "Typewords" :[ "int64" ] } , { "Name" :"MailboxChildrenIncluded" , "Docs" :"" , "Typewords" :[ "bool" ] } , { "Name" :"MailboxName" , "Docs" :"" , "Typewords" :[ "string" ] } , { "Name" :"Words" , "Docs" :"" , "Typewords" :[ "[]" , "string" ] } , { "Name" :"From" , "Docs" :"" , "Typewords" :[ "[]" , "string" ] } , { "Name" :"To" , "Docs" :"" , "Typewords" :[ "[]" , "string" ] } , { "Name" :"Oldest" , "Docs" :"" , "Typewords" :[ "nullable" , "timestamp" ] } , { "Name" :"Newest" , "Docs" :"" , "Typewords" :[ "nullable" , "timestamp" ] } , { "Name" :"Subject" , "Docs" :"" , "Typewords" :[ "[]" , "string" ] } , { "Name" :"Attachments" , "Docs" :"" , "Typewords" :[ "AttachmentType" ] } , { "Name" :"Labels" , "Docs" :"" , "Typewords" :[ "[]" , "string" ] } , { "Name" :"Headers" , "Docs" :"" , "Typewords" :[ "[]" , "[]" , "string" ] } , { "Name" :"SizeMin" , "Docs" :"" , "Typewords" :[ "int64" ] } , { "Name" :"SizeMax" , "Docs" :"" , "Typewords" :[ "int64" ] } ] } ,
595
597
"NotFilter" : { "Name" :"NotFilter" , "Docs" :"" , "Fields" :[ { "Name" :"Words" , "Docs" :"" , "Typewords" :[ "[]" , "string" ] } , { "Name" :"From" , "Docs" :"" , "Typewords" :[ "[]" , "string" ] } , { "Name" :"To" , "Docs" :"" , "Typewords" :[ "[]" , "string" ] } , { "Name" :"Subject" , "Docs" :"" , "Typewords" :[ "[]" , "string" ] } , { "Name" :"Attachments" , "Docs" :"" , "Typewords" :[ "AttachmentType" ] } , { "Name" :"Labels" , "Docs" :"" , "Typewords" :[ "[]" , "string" ] } ] } ,
596
598
"Page" : { "Name" :"Page" , "Docs" :"" , "Fields" :[ { "Name" :"AnchorMessageID" , "Docs" :"" , "Typewords" :[ "int64" ] } , { "Name" :"Count" , "Docs" :"" , "Typewords" :[ "int32" ] } , { "Name" :"DestMessageID" , "Docs" :"" , "Typewords" :[ "int64" ] } ] } ,
597
- "ParsedMessage" : { "Name" :"ParsedMessage" , "Docs" :"" , "Fields" :[ { "Name" :"ID" , "Docs" :"" , "Typewords" :[ "int64" ] } , { "Name" :"Part" , "Docs" :"" , "Typewords" :[ "Part" ] } , { "Name" :"Headers" , "Docs" :"" , "Typewords" :[ "{}" , "[]" , "string" ] } , { "Name" :"ViewMode" , "Docs" :"" , "Typewords" :[ "ViewMode" ] } , { "Name" :"Texts" , "Docs" :"" , "Typewords" :[ "[]" , "string" ] } , { "Name" :"HasHTML" , "Docs" :"" , "Typewords" :[ "bool" ] } , { "Name" :"ListReplyAddress" , "Docs" :"" , "Typewords" :[ "nullable" , "MessageAddress" ] } ] } ,
599
+ "ParsedMessage" : { "Name" :"ParsedMessage" , "Docs" :"" , "Fields" :[ { "Name" :"ID" , "Docs" :"" , "Typewords" :[ "int64" ] } , { "Name" :"Part" , "Docs" :"" , "Typewords" :[ "Part" ] } , { "Name" :"Headers" , "Docs" :"" , "Typewords" :[ "{}" , "[]" , "string" ] } , { "Name" :"ViewMode" , "Docs" :"" , "Typewords" :[ "ViewMode" ] } , { "Name" :"Texts" , "Docs" :"" , "Typewords" :[ "[]" , "string" ] } , { "Name" :"HasHTML" , "Docs" :"" , "Typewords" :[ "bool" ] } , { "Name" :"ListReplyAddress" , "Docs" :"" , "Typewords" :[ "nullable" , "MessageAddress" ] } , { "Name" : "TextPaths" , "Docs" : "" , "Typewords" : [ "[]" , "[]" , "int32" ] } , { "Name" : "HTMLPath" , "Docs" : "" , "Typewords" : [ "[]" , "int32" ] } ] } ,
598
600
"Part" : { "Name" :"Part" , "Docs" :"" , "Fields" :[ { "Name" :"BoundaryOffset" , "Docs" :"" , "Typewords" :[ "int64" ] } , { "Name" :"HeaderOffset" , "Docs" :"" , "Typewords" :[ "int64" ] } , { "Name" :"BodyOffset" , "Docs" :"" , "Typewords" :[ "int64" ] } , { "Name" :"EndOffset" , "Docs" :"" , "Typewords" :[ "int64" ] } , { "Name" :"RawLineCount" , "Docs" :"" , "Typewords" :[ "int64" ] } , { "Name" :"DecodedSize" , "Docs" :"" , "Typewords" :[ "int64" ] } , { "Name" :"MediaType" , "Docs" :"" , "Typewords" :[ "string" ] } , { "Name" :"MediaSubType" , "Docs" :"" , "Typewords" :[ "string" ] } , { "Name" :"ContentTypeParams" , "Docs" :"" , "Typewords" :[ "{}" , "string" ] } , { "Name" :"ContentID" , "Docs" :"" , "Typewords" :[ "string" ] } , { "Name" :"ContentDescription" , "Docs" :"" , "Typewords" :[ "string" ] } , { "Name" :"ContentTransferEncoding" , "Docs" :"" , "Typewords" :[ "string" ] } , { "Name" :"Envelope" , "Docs" :"" , "Typewords" :[ "nullable" , "Envelope" ] } , { "Name" :"Parts" , "Docs" :"" , "Typewords" :[ "[]" , "Part" ] } , { "Name" :"Message" , "Docs" :"" , "Typewords" :[ "nullable" , "Part" ] } ] } ,
599
601
"Envelope" : { "Name" :"Envelope" , "Docs" :"" , "Fields" :[ { "Name" :"Date" , "Docs" :"" , "Typewords" :[ "timestamp" ] } , { "Name" :"Subject" , "Docs" :"" , "Typewords" :[ "string" ] } , { "Name" :"From" , "Docs" :"" , "Typewords" :[ "[]" , "Address" ] } , { "Name" :"Sender" , "Docs" :"" , "Typewords" :[ "[]" , "Address" ] } , { "Name" :"ReplyTo" , "Docs" :"" , "Typewords" :[ "[]" , "Address" ] } , { "Name" :"To" , "Docs" :"" , "Typewords" :[ "[]" , "Address" ] } , { "Name" :"CC" , "Docs" :"" , "Typewords" :[ "[]" , "Address" ] } , { "Name" :"BCC" , "Docs" :"" , "Typewords" :[ "[]" , "Address" ] } , { "Name" :"InReplyTo" , "Docs" :"" , "Typewords" :[ "string" ] } , { "Name" :"MessageID" , "Docs" :"" , "Typewords" :[ "string" ] } ] } ,
600
602
"Address" : { "Name" :"Address" , "Docs" :"" , "Fields" :[ { "Name" :"Name" , "Docs" :"" , "Typewords" :[ "string" ] } , { "Name" :"User" , "Docs" :"" , "Typewords" :[ "string" ] } , { "Name" :"Host" , "Docs" :"" , "Typewords" :[ "string" ] } ] } ,
0 commit comments