Skip to content

Commit fe0833e

Browse files
Merge pull request #16 from aspose-email-cloud/develop
Develop
2 parents 047731f + d0ad4fd commit fe0833e

File tree

299 files changed

+25826
-3543
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

299 files changed

+25826
-3543
lines changed

Api/AiBcrApi.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ internal AiBcrApi(ApiInvoker apiInvoker, Configuration configuration)
5454
this.configuration = configuration;
5555
this.apiInvoker = apiInvoker;
5656
}
57-
57+
5858
/// <summary>
5959
/// Parse images to vCard document models
6060
/// </summary>
@@ -102,7 +102,7 @@ public async Task<ContactList> ParseAsync(AiBcrParseRequest request) =>
102102
await Task.Run(() => Parse(request));
103103
#endif
104104

105-
105+
106106
/// <summary>
107107
/// Parse images from storage to vCard files
108108
/// </summary>

Api/AiNameApi.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ internal AiNameApi(ApiInvoker apiInvoker, Configuration configuration)
5454
this.configuration = configuration;
5555
this.apiInvoker = apiInvoker;
5656
}
57-
57+
5858
/// <summary>
5959
/// The call proposes k most probable names for given starting characters.
6060
/// </summary>
@@ -97,7 +97,7 @@ public async Task<AiNameWeightedVariants> CompleteAsync(AiNameCompleteRequest re
9797
await Task.Run(() => Complete(request));
9898
#endif
9999

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

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

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

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

265-
265+
266266
/// <summary>
267267
/// Detect person&#39;s gender from name string.
268268
/// </summary>
@@ -305,7 +305,7 @@ public async Task<AiNameGenderHypothesisList> GenderizeAsync(AiNameGenderizeRequ
305305
await Task.Run(() => Genderize(request));
306306
#endif
307307

308-
308+
309309
/// <summary>
310310
/// Detect person&#39;s gender from parsed name.
311311
/// </summary>
@@ -344,7 +344,7 @@ await Task.Run(() => GenderizeParsed(request
344344
));
345345
#endif
346346

347-
347+
348348
/// <summary>
349349
/// Compare people&#39;s names. Uses options for comparing instructions.
350350
/// </summary>
@@ -395,7 +395,7 @@ public async Task<AiNameMatchResult> MatchAsync(AiNameMatchRequest request) =>
395395
await Task.Run(() => Match(request));
396396
#endif
397397

398-
398+
399399
/// <summary>
400400
/// Compare people&#39;s parsed names and attributes. Uses options for comparing instructions.
401401
/// </summary>
@@ -434,7 +434,7 @@ await Task.Run(() => MatchParsed(request
434434
));
435435
#endif
436436

437-
437+
438438
/// <summary>
439439
/// Parse name to components.
440440
/// </summary>
@@ -477,7 +477,7 @@ public async Task<AiNameComponentList> ParseAsync(AiNameParseRequest request) =>
477477
await Task.Run(() => Parse(request));
478478
#endif
479479

480-
480+
481481
/// <summary>
482482
/// Parse person&#39;s name out of an email address.
483483
/// </summary>

Api/CalendarApi.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ internal CalendarApi(ApiInvoker apiInvoker, Configuration configuration)
5454
this.configuration = configuration;
5555
this.apiInvoker = apiInvoker;
5656
}
57-
57+
5858
/// <summary>
5959
/// Convert iCalendar to AlternateView
6060
/// </summary>
@@ -93,7 +93,7 @@ await Task.Run(() => AsAlternate(request
9393
));
9494
#endif
9595

96-
96+
9797
/// <summary>
9898
/// Converts calendar model to specified format and returns as file.
9999
/// </summary>
@@ -133,7 +133,7 @@ await Task.Run(() => AsFile(request
133133
));
134134
#endif
135135

136-
136+
137137
/// <summary>
138138
/// Converts CalendarDto to MapiCalendarDto.
139139
/// </summary>
@@ -172,7 +172,7 @@ await Task.Run(() => AsMapi(calendarDto
172172
));
173173
#endif
174174

175-
175+
176176
/// <summary>
177177
/// Converts calendar document to specified format and returns as file.
178178
/// </summary>
@@ -226,7 +226,7 @@ public System.IO.Stream Convert(CalendarConvertRequest request)
226226
await Task.Run(() => Convert(request));
227227
#endif
228228

229-
229+
230230
/// <summary>
231231
/// Converts calendar document to a model representation.
232232
/// </summary>
@@ -271,7 +271,7 @@ public async Task<CalendarDto> FromFileAsync(CalendarFromFileRequest request) =>
271271
await Task.Run(() => FromFile(request));
272272
#endif
273273

274-
274+
275275
/// <summary>
276276
/// Get calendar file from storage.
277277
/// </summary>
@@ -311,7 +311,7 @@ public async Task<CalendarDto> GetAsync(CalendarGetRequest request) =>
311311
await Task.Run(() => Get(request));
312312
#endif
313313

314-
314+
315315
/// <summary>
316316
/// Get iCalendar from storage as AlternateView
317317
/// </summary>
@@ -360,7 +360,7 @@ public async Task<AlternateView> GetAsAlternateAsync(CalendarGetAsAlternateReque
360360
await Task.Run(() => GetAsAlternate(request));
361361
#endif
362362

363-
363+
364364
/// <summary>
365365
/// Converts calendar document from storage to specified format and returns as file.
366366
/// </summary>
@@ -410,7 +410,7 @@ public System.IO.Stream GetAsFile(CalendarGetAsFileRequest request)
410410
await Task.Run(() => GetAsFile(request));
411411
#endif
412412

413-
413+
414414
/// <summary>
415415
/// Get iCalendar list from storage folder.
416416
/// </summary>
@@ -451,7 +451,7 @@ public async Task<CalendarStorageList> GetListAsync(CalendarGetListRequest reque
451451
await Task.Run(() => GetList(request));
452452
#endif
453453

454-
454+
455455
/// <summary>
456456
/// Save iCalendar
457457
/// </summary>

Api/ClientAccountApi.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ internal ClientAccountApi(ApiInvoker apiInvoker, Configuration configuration)
5454
this.configuration = configuration;
5555
this.apiInvoker = apiInvoker;
5656
}
57-
57+
5858
/// <summary>
5959
/// Get email client account from storage.
6060
/// </summary>
@@ -94,7 +94,7 @@ public async Task<EmailClientAccount> GetAsync(ClientAccountGetRequest request)
9494
await Task.Run(() => Get(request));
9595
#endif
9696

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

137-
137+
138138
/// <summary>
139139
/// Create/update email client account file (*.account) with credentials
140140
/// </summary>
@@ -170,7 +170,7 @@ await Task.Run(() => Save(request
170170
));
171171
#endif
172172

173-
173+
174174
/// <summary>
175175
/// Create email client multi account file (*.multi.account). Will respond error if file extension is not \&quot;.multi.account\&quot;.
176176
/// </summary>

Api/ClientFolderApi.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ internal ClientFolderApi(ApiInvoker apiInvoker, Configuration configuration)
5454
this.configuration = configuration;
5555
this.apiInvoker = apiInvoker;
5656
}
57-
57+
5858
/// <summary>
5959
/// Create new folder in email account
6060
/// </summary>
@@ -90,7 +90,7 @@ await Task.Run(() => Create(request
9090
));
9191
#endif
9292

93-
93+
9494
/// <summary>
9595
/// Delete a folder in email account
9696
/// </summary>
@@ -126,7 +126,7 @@ await Task.Run(() => Delete(request
126126
));
127127
#endif
128128

129-
129+
130130
/// <summary>
131131
/// Get folders list in email account
132132
/// </summary>

Api/ClientMessageApi.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ internal ClientMessageApi(ApiInvoker apiInvoker, Configuration configuration)
5454
this.configuration = configuration;
5555
this.apiInvoker = apiInvoker;
5656
}
57-
57+
5858
/// <summary>
5959
/// Add email message to specified folder in email account.
6060
/// </summary>
@@ -93,7 +93,7 @@ await Task.Run(() => Append(request
9393
));
9494
#endif
9595

96-
96+
9797
/// <summary>
9898
/// Add email message from file to specified folder in email account.
9999
/// </summary>
@@ -151,7 +151,7 @@ public async Task<ValueTOfString> AppendFileAsync(ClientMessageAppendFileRequest
151151
await Task.Run(() => AppendFile(request));
152152
#endif
153153

154-
154+
155155
/// <summary>
156156
/// Delete message.
157157
/// </summary>
@@ -187,7 +187,7 @@ await Task.Run(() => Delete(request
187187
));
188188
#endif
189189

190-
190+
191191
/// <summary>
192192
/// Fetch message from email account
193193
/// </summary>
@@ -238,7 +238,7 @@ public async Task<MailMessageBase> FetchAsync(ClientMessageFetchRequest request)
238238
await Task.Run(() => Fetch(request));
239239
#endif
240240

241-
241+
242242
/// <summary>
243243
/// Fetch message as file from email account
244244
/// </summary>
@@ -290,7 +290,7 @@ public System.IO.Stream FetchFile(ClientMessageFetchFileRequest request)
290290
await Task.Run(() => FetchFile(request));
291291
#endif
292292

293-
293+
294294
/// <summary>
295295
/// 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;
296296
/// </summary>
@@ -342,7 +342,7 @@ public async Task<MailMessageBaseList> ListAsync(ClientMessageListRequest reques
342342
await Task.Run(() => List(request));
343343
#endif
344344

345-
345+
346346
/// <summary>
347347
/// Move message to another folder.
348348
/// </summary>
@@ -378,7 +378,7 @@ await Task.Run(() => Move(request
378378
));
379379
#endif
380380

381-
381+
382382
/// <summary>
383383
/// Send an email specified by model in request.
384384
/// </summary>
@@ -414,7 +414,7 @@ await Task.Run(() => Send(request
414414
));
415415
#endif
416416

417-
417+
418418
/// <summary>
419419
/// Send an email file.
420420
/// </summary>
@@ -467,7 +467,7 @@ public async Task SendFileAsync(ClientMessageSendFileRequest request) =>
467467
await Task.Run(() => SendFile(request));
468468
#endif
469469

470-
470+
471471
/// <summary>
472472
/// Mark message as read or unread.
473473
/// </summary>

0 commit comments

Comments
 (0)