Skip to content

Commit

Permalink
Merge pull request #16 from aspose-email-cloud/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Marat-Gumerov authored Oct 27, 2020
2 parents 047731f + d0ad4fd commit fe0833e
Show file tree
Hide file tree
Showing 299 changed files with 25,826 additions and 3,543 deletions.
4 changes: 2 additions & 2 deletions Api/AiBcrApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ internal AiBcrApi(ApiInvoker apiInvoker, Configuration configuration)
this.configuration = configuration;
this.apiInvoker = apiInvoker;
}

/// <summary>
/// Parse images to vCard document models
/// </summary>
Expand Down Expand Up @@ -102,7 +102,7 @@ public async Task<ContactList> ParseAsync(AiBcrParseRequest request) =>
await Task.Run(() => Parse(request));
#endif


/// <summary>
/// Parse images from storage to vCard files
/// </summary>
Expand Down
22 changes: 11 additions & 11 deletions Api/AiNameApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ internal AiNameApi(ApiInvoker apiInvoker, Configuration configuration)
this.configuration = configuration;
this.apiInvoker = apiInvoker;
}

/// <summary>
/// The call proposes k most probable names for given starting characters.
/// </summary>
Expand Down Expand Up @@ -97,7 +97,7 @@ public async Task<AiNameWeightedVariants> CompleteAsync(AiNameCompleteRequest re
await Task.Run(() => Complete(request));
#endif


/// <summary>
/// Expands a person&#39;s name into a list of possible alternatives using options for expanding instructions.
/// </summary>
Expand Down Expand Up @@ -140,7 +140,7 @@ public async Task<AiNameWeightedVariants> ExpandAsync(AiNameExpandRequest reques
await Task.Run(() => Expand(request));
#endif


/// <summary>
/// Expands a person&#39;s parsed name into a list of possible alternatives using options for expanding instructions.
/// </summary>
Expand Down Expand Up @@ -179,7 +179,7 @@ await Task.Run(() => ExpandParsed(request
));
#endif


/// <summary>
/// Formats a person&#39;s name in correct case and name order using options for formatting instructions.
/// </summary>
Expand Down Expand Up @@ -223,7 +223,7 @@ public async Task<AiNameFormatted> FormatAsync(AiNameFormatRequest request) =>
await Task.Run(() => Format(request));
#endif


/// <summary>
/// Formats a person&#39;s parsed name in correct case and name order using options for formatting instructions.
/// </summary>
Expand Down Expand Up @@ -262,7 +262,7 @@ await Task.Run(() => FormatParsed(request
));
#endif


/// <summary>
/// Detect person&#39;s gender from name string.
/// </summary>
Expand Down Expand Up @@ -305,7 +305,7 @@ public async Task<AiNameGenderHypothesisList> GenderizeAsync(AiNameGenderizeRequ
await Task.Run(() => Genderize(request));
#endif


/// <summary>
/// Detect person&#39;s gender from parsed name.
/// </summary>
Expand Down Expand Up @@ -344,7 +344,7 @@ await Task.Run(() => GenderizeParsed(request
));
#endif


/// <summary>
/// Compare people&#39;s names. Uses options for comparing instructions.
/// </summary>
Expand Down Expand Up @@ -395,7 +395,7 @@ public async Task<AiNameMatchResult> MatchAsync(AiNameMatchRequest request) =>
await Task.Run(() => Match(request));
#endif


/// <summary>
/// Compare people&#39;s parsed names and attributes. Uses options for comparing instructions.
/// </summary>
Expand Down Expand Up @@ -434,7 +434,7 @@ await Task.Run(() => MatchParsed(request
));
#endif


/// <summary>
/// Parse name to components.
/// </summary>
Expand Down Expand Up @@ -477,7 +477,7 @@ public async Task<AiNameComponentList> ParseAsync(AiNameParseRequest request) =>
await Task.Run(() => Parse(request));
#endif


/// <summary>
/// Parse person&#39;s name out of an email address.
/// </summary>
Expand Down
20 changes: 10 additions & 10 deletions Api/CalendarApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ internal CalendarApi(ApiInvoker apiInvoker, Configuration configuration)
this.configuration = configuration;
this.apiInvoker = apiInvoker;
}

/// <summary>
/// Convert iCalendar to AlternateView
/// </summary>
Expand Down Expand Up @@ -93,7 +93,7 @@ await Task.Run(() => AsAlternate(request
));
#endif


/// <summary>
/// Converts calendar model to specified format and returns as file.
/// </summary>
Expand Down Expand Up @@ -133,7 +133,7 @@ await Task.Run(() => AsFile(request
));
#endif


/// <summary>
/// Converts CalendarDto to MapiCalendarDto.
/// </summary>
Expand Down Expand Up @@ -172,7 +172,7 @@ await Task.Run(() => AsMapi(calendarDto
));
#endif


/// <summary>
/// Converts calendar document to specified format and returns as file.
/// </summary>
Expand Down Expand Up @@ -226,7 +226,7 @@ public System.IO.Stream Convert(CalendarConvertRequest request)
await Task.Run(() => Convert(request));
#endif


/// <summary>
/// Converts calendar document to a model representation.
/// </summary>
Expand Down Expand Up @@ -271,7 +271,7 @@ public async Task<CalendarDto> FromFileAsync(CalendarFromFileRequest request) =>
await Task.Run(() => FromFile(request));
#endif


/// <summary>
/// Get calendar file from storage.
/// </summary>
Expand Down Expand Up @@ -311,7 +311,7 @@ public async Task<CalendarDto> GetAsync(CalendarGetRequest request) =>
await Task.Run(() => Get(request));
#endif


/// <summary>
/// Get iCalendar from storage as AlternateView
/// </summary>
Expand Down Expand Up @@ -360,7 +360,7 @@ public async Task<AlternateView> GetAsAlternateAsync(CalendarGetAsAlternateReque
await Task.Run(() => GetAsAlternate(request));
#endif


/// <summary>
/// Converts calendar document from storage to specified format and returns as file.
/// </summary>
Expand Down Expand Up @@ -410,7 +410,7 @@ public System.IO.Stream GetAsFile(CalendarGetAsFileRequest request)
await Task.Run(() => GetAsFile(request));
#endif


/// <summary>
/// Get iCalendar list from storage folder.
/// </summary>
Expand Down Expand Up @@ -451,7 +451,7 @@ public async Task<CalendarStorageList> GetListAsync(CalendarGetListRequest reque
await Task.Run(() => GetList(request));
#endif


/// <summary>
/// Save iCalendar
/// </summary>
Expand Down
8 changes: 4 additions & 4 deletions Api/ClientAccountApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ internal ClientAccountApi(ApiInvoker apiInvoker, Configuration configuration)
this.configuration = configuration;
this.apiInvoker = apiInvoker;
}

/// <summary>
/// Get email client account from storage.
/// </summary>
Expand Down Expand Up @@ -94,7 +94,7 @@ public async Task<EmailClientAccount> GetAsync(ClientAccountGetRequest request)
await Task.Run(() => Get(request));
#endif


/// <summary>
/// Get email client multi account file (*.multi.account). Will respond error if file extension is not \&quot;.multi.account\&quot;.
/// </summary>
Expand Down Expand Up @@ -134,7 +134,7 @@ public async Task<EmailClientMultiAccount> GetMultiAsync(ClientAccountGetMultiRe
await Task.Run(() => GetMulti(request));
#endif


/// <summary>
/// Create/update email client account file (*.account) with credentials
/// </summary>
Expand Down Expand Up @@ -170,7 +170,7 @@ await Task.Run(() => Save(request
));
#endif


/// <summary>
/// Create email client multi account file (*.multi.account). Will respond error if file extension is not \&quot;.multi.account\&quot;.
/// </summary>
Expand Down
6 changes: 3 additions & 3 deletions Api/ClientFolderApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ internal ClientFolderApi(ApiInvoker apiInvoker, Configuration configuration)
this.configuration = configuration;
this.apiInvoker = apiInvoker;
}

/// <summary>
/// Create new folder in email account
/// </summary>
Expand Down Expand Up @@ -90,7 +90,7 @@ await Task.Run(() => Create(request
));
#endif


/// <summary>
/// Delete a folder in email account
/// </summary>
Expand Down Expand Up @@ -126,7 +126,7 @@ await Task.Run(() => Delete(request
));
#endif


/// <summary>
/// Get folders list in email account
/// </summary>
Expand Down
20 changes: 10 additions & 10 deletions Api/ClientMessageApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ internal ClientMessageApi(ApiInvoker apiInvoker, Configuration configuration)
this.configuration = configuration;
this.apiInvoker = apiInvoker;
}

/// <summary>
/// Add email message to specified folder in email account.
/// </summary>
Expand Down Expand Up @@ -93,7 +93,7 @@ await Task.Run(() => Append(request
));
#endif


/// <summary>
/// Add email message from file to specified folder in email account.
/// </summary>
Expand Down Expand Up @@ -151,7 +151,7 @@ public async Task<ValueTOfString> AppendFileAsync(ClientMessageAppendFileRequest
await Task.Run(() => AppendFile(request));
#endif


/// <summary>
/// Delete message.
/// </summary>
Expand Down Expand Up @@ -187,7 +187,7 @@ await Task.Run(() => Delete(request
));
#endif


/// <summary>
/// Fetch message from email account
/// </summary>
Expand Down Expand Up @@ -238,7 +238,7 @@ public async Task<MailMessageBase> FetchAsync(ClientMessageFetchRequest request)
await Task.Run(() => Fetch(request));
#endif


/// <summary>
/// Fetch message as file from email account
/// </summary>
Expand Down Expand Up @@ -290,7 +290,7 @@ public System.IO.Stream FetchFile(ClientMessageFetchFileRequest request)
await Task.Run(() => FetchFile(request));
#endif


/// <summary>
/// Get messages from folder, filtered by query The query string should have the following view. The example of a simple expression: &#39;&lt;Field name&gt;&#39; &lt;Comparison operator&gt; &#39;&lt;Field value&gt;&#39;, where &amp;lt;Field Name&amp;gt; - the name of a message field through which filtering is made, &amp;lt;Comparison operator&amp;gt; - comparison operators, as their name implies, allow to compare message field and specified value, &amp;lt;Field value&amp;gt; - value to be compared with a message field. The number of simple expressions can make a compound one, ex.: (&lt;Simple expression 1&gt; &amp; &lt;Simple expression 2&gt;) | &lt;Simple expression 3 &gt;, where \&quot;&amp;amp;\&quot; - logical-AND operator, \&quot;|\&quot; - logical-OR operator At present the following values are allowed as a field name (&lt;Field name&gt;): \&quot;To\&quot; - represents a TO field of message, \&quot;Text\&quot; - represents string in the header or body of the message, \&quot;Bcc\&quot; - represents a BCC field of message, \&quot;Body\&quot; - represents a string in the body of message, \&quot;Cc\&quot; - represents a CC field of message, \&quot;From\&quot; - represents a From field of message, \&quot;Subject\&quot; - represents a string in the subject of message, \&quot;InternalDate\&quot; - represents an internal date of message, \&quot;SentDate\&quot; - represents a sent date of message Additionally, the following field names are allowed for IMAP-protocol: \&quot;Answered\&quot; - represents an /Answered flag of message \&quot;Seen\&quot; - represents a /Seen flag of message \&quot;Flagged\&quot; - represents a /Flagged flag of message \&quot;Draft\&quot; - represents a /Draft flag of message \&quot;Deleted\&quot; - represents a Deleted/ flag of message \&quot;Recent\&quot; - represents a Deleted/ flag of message \&quot;MessageSize\&quot; - represents a size (in bytes) of message Additionally, the following field names are allowed for Exchange: \&quot;IsRead\&quot; - Indicates whether the message has been read \&quot;HasAttachment\&quot; - Indicates whether or not the message has attachments \&quot;IsSubmitted\&quot; - Indicates whether the message has been submitted to the Outbox \&quot;ContentClass\&quot; - represents a content class of item Additionally, the following field names are allowed for pst/ost files: \&quot;MessageClass\&quot; - Represents a message class \&quot;ContainerClass\&quot; - Represents a folder container class \&quot;Importance\&quot; - Represents a message importance \&quot;MessageSize\&quot; - represents a size (in bytes) of message \&quot;FolderName\&quot; - represents a folder name \&quot;ContentsCount\&quot; - represents a total number of items in the folder \&quot;UnreadContentsCount\&quot; - represents the number of unread items in the folder. \&quot;Subfolders\&quot; - Indicates whether or not the folder has subfolders \&quot;Read\&quot; - the message is marked as having been read \&quot;HasAttachment\&quot; - the message has at least one attachment \&quot;Unsent\&quot; - the message is still being composed \&quot;Unmodified\&quot; - the message has not been modified since it was first saved (if unsent) or it was delivered (if sent) \&quot;FromMe\&quot; - the user receiving the message was also the user who sent the message \&quot;Resend\&quot; - the message includes a request for a resend operation with a non-delivery report \&quot;NotifyRead\&quot; - the user who sent the message has requested notification when a recipient first reads it \&quot;NotifyUnread\&quot; - the user who sent the message has requested notification when a recipient deletes it before reading or the Message object expires \&quot;EverRead\&quot; - the message has been read at least once The field value (&lt;Field value&gt;) can take the following values: For text fields - any string, For date type fields - the string of \&quot;d-MMM-yyy\&quot; format, ex. \&quot;10-Feb-2009\&quot;, For flags (fields of boolean type) - either \&quot;True\&quot;, or \&quot;False\&quot;
/// </summary>
Expand Down Expand Up @@ -342,7 +342,7 @@ public async Task<MailMessageBaseList> ListAsync(ClientMessageListRequest reques
await Task.Run(() => List(request));
#endif


/// <summary>
/// Move message to another folder.
/// </summary>
Expand Down Expand Up @@ -378,7 +378,7 @@ await Task.Run(() => Move(request
));
#endif


/// <summary>
/// Send an email specified by model in request.
/// </summary>
Expand Down Expand Up @@ -414,7 +414,7 @@ await Task.Run(() => Send(request
));
#endif


/// <summary>
/// Send an email file.
/// </summary>
Expand Down Expand Up @@ -467,7 +467,7 @@ public async Task SendFileAsync(ClientMessageSendFileRequest request) =>
await Task.Run(() => SendFile(request));
#endif


/// <summary>
/// Mark message as read or unread.
/// </summary>
Expand Down
Loading

0 comments on commit fe0833e

Please sign in to comment.