You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/EmailApi.md
+59-3Lines changed: 59 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1085,6 +1085,33 @@ Name | Type | Description | Notes
1085
1085
1086
1086
[[Back to top]](#)[[Back to API list]](README.md#documentation-for-api-endpoints)[[Back to Model list]](README.md#documentation-for-models)[[Back to README]](README.md)
[[Back to top]](#)[[Back to API list]](README.md#documentation-for-api-endpoints)[[Back to Model list]](README.md#documentation-for-models)[[Back to README]](README.md)
1114
+
1088
1115
<aname="deletefile"></a>
1089
1116
# **deleteFile**
1090
1117
@@ -2308,8 +2335,8 @@ The query string should have the following view. The example of a simple ex
**folder** | **string**| A folder in email account |
2322
-
**queryString** | **string**| A MailQuery search string |
2323
2349
**firstAccount** | **string**| Email account |
2350
+
**queryString** | **string**| A MailQuery search string | [optional]
2324
2351
**secondAccount** | **string**| Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) | [optional]
2325
2352
**storage** | **string**| Storage name where account file(s) located | [optional]
2326
2353
**storageFolder** | **string**| Folder in storage where account file(s) located | [optional]
@@ -2349,7 +2376,8 @@ new ListEmailThreadsRequest(
2349
2376
secondAccount=secondAccount,
2350
2377
storage=storage,
2351
2378
storageFolder=storageFolder,
2352
-
updateFolderCache=updateFolderCache)
2379
+
updateFolderCache=updateFolderCache,
2380
+
messagesCacheLimit=messagesCacheLimit)
2353
2381
```
2354
2382
2355
2383
Name | Type | Description | Notes
@@ -2360,6 +2388,7 @@ Name | Type | Description | Notes
2360
2388
**storage** | **string**| Storage name where account file(s) located | [optional]
2361
2389
**storageFolder** | **string**| Folder in storage where account file(s) located | [optional]
2362
2390
**updateFolderCache** | **boolean**| This parameter is only used in accounts with CacheFile. If true - get new messages and update threads cache for given folder. If false, get only threads from cache without any calls to an email account | [optional][default to true]
2391
+
**messagesCacheLimit** | **number**| Limit messages cache size if CacheFile is used. Ignored in accounts without limits support | [optional][default to 200]
2363
2392
2364
2393
[[Back to top]](#)[[Back to API list]](README.md#documentation-for-api-endpoints)[[Back to Model list]](README.md#documentation-for-models)[[Back to README]](README.md)
2365
2394
@@ -2770,6 +2799,33 @@ Name | Type | Description | Notes
2770
2799
2771
2800
[[Back to top]](#)[[Back to API list]](README.md#documentation-for-api-endpoints)[[Back to Model list]](README.md#documentation-for-models)[[Back to README]](README.md)
**request** | [**EmailThreadReadFlagRq**](EmailThreadReadFlagRq.md)| Email account specifier and IsRead flag |
2826
+
2827
+
[[Back to top]](#)[[Back to API list]](README.md#documentation-for-api-endpoints)[[Back to Model list]](README.md#documentation-for-models)[[Back to README]](README.md)
*EmailApi* | [**deleteContactProperty**](EmailApi.md#deletecontactproperty) | **DELETE** /email/Contact/{format}/{name}/properties/{memberName}/{index} | Delete property from indexed property list
44
44
*EmailApi* | [**deleteEmailFolder**](EmailApi.md#deleteemailfolder) | **DELETE** /email/client/DeleteFolder | Delete a folder in email account
45
45
*EmailApi* | [**deleteEmailMessage**](EmailApi.md#deleteemailmessage) | **DELETE** /email/client/DeleteMessage | Delete message from email account by id
46
+
*EmailApi* | [**deleteEmailThread**](EmailApi.md#deleteemailthread) | **DELETE** /email/client/threads/{threadId} | Delete thread by id. All messages from thread will also be deleted
*EmailApi* | [**sendEmailModel**](EmailApi.md#sendemailmodel) | **POST** /email/client/SendModel | Send an email specified by model in request
101
102
*EmailApi* | [**setEmailProperty**](EmailApi.md#setemailproperty) | **PUT** /email/{fileName}/properties/{propertyName} | Set email document property value
102
103
*EmailApi* | [**setEmailReadFlag**](EmailApi.md#setemailreadflag) | **POST** /email/client/SetReadFlag | Sets \"Message is read\" flag
104
+
*EmailApi* | [**setEmailThreadReadFlag**](EmailApi.md#setemailthreadreadflag) | **PUT** /email/client/threads/{threadId}/read-flag | Mar all messages in thread as read or unread
0 commit comments