Skip to content

Commit 1a58671

Browse files
SDK version 21.3.0.132 generated
1 parent 4ffb748 commit 1a58671

File tree

5 files changed

+29
-9
lines changed

5 files changed

+29
-9
lines changed

README.md

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

26-
## What's new in version 20.12
26+
## Enhancements in Version 21.3
2727

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

32-
Some [SDK reference documentation](https://docs.aspose.cloud/email/reference-api/) improvements were made.
33-
34-
See [Release notes](https://docs.aspose.cloud/email/aspose-email-cloud-20-12-release-notes/).
31+
See [Release notes](https://docs.aspose.cloud/email/aspose-email-cloud-21-3-release-notes/).
3532

3633
## How to use the SDK?
3734
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)