Skip to content

Commit 748b738

Browse files
Merge branch 'develop' into master
2 parents 752f94b + 1a58671 commit 748b738

File tree

5 files changed

+29
-30
lines changed

5 files changed

+29
-30
lines changed

README.md

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -22,36 +22,12 @@ Aspose.Email Cloud is a REST API for creating email applications that work with
2222
- Email configuration discovery.
2323
- Disposable email address detection.
2424

25-
## Enhancements in Version 20.12
25+
## Enhancements in Version 21.3
2626

27-
Aspose.Email Cloud 20.12.0 comes with SDK breaking changes:
28-
- AppKey renamed to ClientSecret.
29-
- AppSID renamed to ClientId.
27+
- IMAP native threads support added to the built-in Email client.
28+
- New field ClientThreadMoveRequest.SourceFolder added to specify a folder to move a thread from.
3029

31-
Some [SDK reference documentation](https://docs.aspose.cloud/email/reference-api/) improvements were made.
32-
33-
## Enhancements in Version 20.10
34-
35-
- All SDK functions are divided into groups (Email, Calendar, Contact, Client, Ai, Mapi, etc.).
36-
- Unified file API provided for supported file types (Save, Get, Convert, AsFile, FromFile, AsMapi/AsDto).
37-
- HierarchicalObject based API is removed.
38-
- All models are stored in one folder/namespace.
39-
- The request models are simplified
40-
41-
## Enhancements in Version 20.9
42-
- Lets developers manipulate different emails' formats such as Outlook MSG, EML, VCard, and iCalendar files.
43-
- Supports AI functions:
44-
- Business card recognition.
45-
- The Name API for parsing and handling personal names.
46-
- Has a built-in email client. This client provides:
47-
- Unified REST API for different email protocols: IMAP, POP3, SMTP, EWS, WebDav.
48-
- Virtual multi-account.
49-
- Message threads (POP3 accounts are also supported).
50-
- Email configuration discovery.
51-
- Disposable email address detection.
52-
53-
54-
See [Release notes](https://docs.aspose.cloud/email/release-notes/).
30+
See [Release notes](https://docs.aspose.cloud/email/aspose-email-cloud-21-3-release-notes/).
5531

5632
## How to use the SDK?
5733
The complete source code is available in the [GIT repository](https://github.com/aspose-email-cloud/aspose-email-cloud-node/tree/master/src).

doc/ClientThreadApi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ See parameter model documentation at [ClientThreadMoveRequest](ClientThreadMoveR
302302
```typescript
303303
let request = Models.clientThreadMoveRequest()
304304
.destinationFolder('INBOX/SubFolder')
305+
.sourceFolder('INBOX')
305306
.threadId('5')
306307
.accountLocation(Models.storageFileLocation()
307308
.fileName('email.account')
@@ -328,6 +329,7 @@ const api = new EmailCloud(clientSecret, clientId);
328329
// Prepare parameters:
329330
let request = Models.clientThreadMoveRequest()
330331
.destinationFolder('INBOX/SubFolder')
332+
.sourceFolder('INBOX')
331333
.threadId('5')
332334
.accountLocation(Models.storageFileLocation()
333335
.fileName('email.account')

doc/ClientThreadMoveRequest.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Email client move thread request.
66
Name | Type | Description | Notes
77
---- | ---- | ----------- | -----
88
**destinationFolder** | **string** | Email account folder to move thread to. | [default to undefined]
9+
**sourceFolder** | **string** | Email account folder to move thread from. | [optional] [default to undefined]
910

1011
Parent class: [ClientThreadBaseRequest](ClientThreadBaseRequest.md)
1112

@@ -14,6 +15,7 @@ Name | Type | Description | Notes
1415
```typescript
1516
let clientThreadMoveRequest = Models.clientThreadMoveRequest()
1617
.destinationFolder('INBOX/SubFolder')
18+
.sourceFolder('INBOX')
1719
.threadId('5')
1820
.accountLocation(Models.storageFileLocation()
1921
.fileName('email.account')

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@asposecloud/aspose-email-cloud",
3-
"version": "20.12.0",
3+
"version": "21.3.0",
44
"description": "Aspose.Email Cloud Node.js SDK",
55
"homepage": "https://products.aspose.cloud/email",
66
"author": {

src/model/client-thread-move-request.ts

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ export class ClientThreadMoveRequest extends model.ClientThreadBaseRequest {
3838
name: "destinationFolder",
3939
baseName: "destinationFolder",
4040
type: "string",
41+
},
42+
{
43+
name: "sourceFolder",
44+
baseName: "sourceFolder",
45+
type: "string",
4146
} ];
4247

4348
/**
@@ -51,23 +56,30 @@ export class ClientThreadMoveRequest extends model.ClientThreadBaseRequest {
5156
* Email account folder to move thread to.
5257
*/
5358
public destinationFolder: string;
59+
/**
60+
* Email account folder to move thread from.
61+
*/
62+
public sourceFolder: string;
5463

5564
/**
5665
* Email client move thread request.
5766
* @param accountLocation Email client account configuration location on storage.
5867
* @param threadId Thread identifier.
5968
* @param destinationFolder Email account folder to move thread to.
69+
* @param sourceFolder Email account folder to move thread from.
6070
*/
6171
public constructor(
6272

6373
accountLocation?: model.StorageFileLocation,
6474
threadId?: string,
65-
destinationFolder?: string
75+
destinationFolder?: string,
76+
sourceFolder?: string
6677
) {
6778
super();
6879
this.accountLocation = accountLocation;
6980
this.threadId = threadId;
7081
this.destinationFolder = destinationFolder;
82+
this.sourceFolder = sourceFolder;
7183

7284
}
7385
}
@@ -109,5 +121,12 @@ export class ClientThreadMoveRequestBuilder {
109121
this.model.destinationFolder = destinationFolder;
110122
return this;
111123
}
124+
/**
125+
* Email account folder to move thread from.
126+
*/
127+
public sourceFolder(sourceFolder: string): ClientThreadMoveRequestBuilder {
128+
this.model.sourceFolder = sourceFolder;
129+
return this;
130+
}
112131
}
113132

0 commit comments

Comments
 (0)