Skip to content

Commit 532ccf1

Browse files
SDK version 20.4.0.64 generated
1 parent 987ac4e commit 532ccf1

File tree

6 files changed

+44
-3
lines changed

6 files changed

+44
-3
lines changed

doc/DeleteEmailThreadAccountRq.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7+
**folder** | **string** | Specifies account folder to get thread from (required for some account types, such as EWS) | [optional] [default to undefined]
78

89
Parent class: [AccountBaseRequest](AccountBaseRequest.md)
910

doc/EmailApi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2035,6 +2035,7 @@ new GetEmailThreadRequest(
20352035
threadId,
20362036
firstAccount,
20372037
secondAccount=secondAccount,
2038+
folder=folder,
20382039
storage=storage,
20392040
storageFolder=storageFolder)
20402041
```
@@ -2044,6 +2045,7 @@ Name | Type | Description | Notes
20442045
**threadId** | **string**| Thread identifier |
20452046
**firstAccount** | **string**| Email account |
20462047
**secondAccount** | **string**| Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) | [optional]
2048+
**folder** | **string**| Specifies account folder to get thread from (required for some account types, such as EWS) | [optional]
20472049
**storage** | **string**| Storage name where account file(s) located | [optional]
20482050
**storageFolder** | **string**| Folder in storage where account file(s) located | [optional]
20492051

doc/EmailThreadReadFlagRq.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**isRead** | **boolean** | Read flag to set. \"true\" by default | [default to undefined]
8+
**folder** | **string** | Specifies account folder to get thread from (required for some account types, such as EWS) | [optional] [default to undefined]
89

910
Parent class: [AccountBaseRequest](AccountBaseRequest.md)
1011

src/api.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3576,6 +3576,10 @@ export class EmailApi {
35763576
queryParameters.secondAccount = ObjectSerializer.serialize(requestObj.secondAccount, "string");
35773577
}
35783578

3579+
if (requestObj.folder !== undefined) {
3580+
queryParameters.folder = ObjectSerializer.serialize(requestObj.folder, "string");
3581+
}
3582+
35793583
if (requestObj.storage !== undefined) {
35803584
queryParameters.storage = ObjectSerializer.serialize(requestObj.storage, "string");
35813585
}

src/model/model.ts

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7324,7 +7324,11 @@ export class DeleteEmailThreadAccountRq extends AccountBaseRequest {
73247324
* Attribute type map
73257325
*/
73267326
public static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
7327-
];
7327+
{
7328+
name: "folder",
7329+
baseName: "folder",
7330+
type: "string",
7331+
} ];
73287332

73297333
/**
73307334
* Returns attribute type map
@@ -7333,21 +7337,29 @@ export class DeleteEmailThreadAccountRq extends AccountBaseRequest {
73337337
return super.getAttributeTypeMap().concat(DeleteEmailThreadAccountRq.attributeTypeMap);
73347338
}
73357339

7340+
/**
7341+
* Specifies account folder to get thread from (required for some account types, such as EWS)
7342+
*/
7343+
public folder: string;
7344+
73367345

73377346
/**
73387347
* Delete thread request
73397348
* @param firstAccount First account storage file name
73407349
* @param secondAccount Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP)
73417350
* @param storageFolder Storage folder location of account files
7351+
* @param folder Specifies account folder to get thread from (required for some account types, such as EWS)
73427352
*/
73437353
public constructor(
73447354
firstAccount?: string,
73457355
secondAccount?: string,
7346-
storageFolder?: StorageFolderLocation) {
7356+
storageFolder?: StorageFolderLocation,
7357+
folder?: string) {
73477358
super();
73487359
this.firstAccount = firstAccount;
73497360
this.secondAccount = secondAccount;
73507361
this.storageFolder = storageFolder;
7362+
this.folder = folder;
73517363
}
73527364
}
73537365

@@ -7847,6 +7859,11 @@ export class EmailThreadReadFlagRq extends AccountBaseRequest {
78477859
name: "isRead",
78487860
baseName: "isRead",
78497861
type: "boolean",
7862+
},
7863+
{
7864+
name: "folder",
7865+
baseName: "folder",
7866+
type: "string",
78507867
} ];
78517868

78527869
/**
@@ -7861,24 +7878,32 @@ export class EmailThreadReadFlagRq extends AccountBaseRequest {
78617878
*/
78627879
public isRead: boolean;
78637880

7881+
/**
7882+
* Specifies account folder to get thread from (required for some account types, such as EWS)
7883+
*/
7884+
public folder: string;
7885+
78647886

78657887
/**
78667888
* Request to mark all messages in thread as read or unread
78677889
* @param firstAccount First account storage file name
78687890
* @param secondAccount Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP)
78697891
* @param storageFolder Storage folder location of account files
78707892
* @param isRead Read flag to set. \"true\" by default
7893+
* @param folder Specifies account folder to get thread from (required for some account types, such as EWS)
78717894
*/
78727895
public constructor(
78737896
firstAccount?: string,
78747897
secondAccount?: string,
78757898
storageFolder?: StorageFolderLocation,
7876-
isRead?: boolean) {
7899+
isRead?: boolean,
7900+
folder?: string) {
78777901
super();
78787902
this.firstAccount = firstAccount;
78797903
this.secondAccount = secondAccount;
78807904
this.storageFolder = storageFolder;
78817905
this.isRead = isRead;
7906+
this.folder = folder;
78827907
}
78837908
}
78847909

src/model/requests/requests.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2561,6 +2561,11 @@ export class GetEmailThreadRequest {
25612561
*/
25622562
public secondAccount: string;
25632563

2564+
/**
2565+
* Specifies account folder to get thread from (required for some account types, such as EWS)
2566+
*/
2567+
public folder: string;
2568+
25642569
/**
25652570
* Storage name where account file(s) located
25662571
*/
@@ -2576,19 +2581,22 @@ export class GetEmailThreadRequest {
25762581
* @param threadId Thread identifier
25772582
* @param firstAccount Email account
25782583
* @param secondAccount Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP)
2584+
* @param folder Specifies account folder to get thread from (required for some account types, such as EWS)
25792585
* @param storage Storage name where account file(s) located
25802586
* @param storageFolder Folder in storage where account file(s) located
25812587
*/
25822588
public constructor(
25832589
threadId?: string,
25842590
firstAccount?: string,
25852591
secondAccount?: string,
2592+
folder?: string,
25862593
storage?: string,
25872594
storageFolder?: string) {
25882595

25892596
this.threadId = threadId;
25902597
this.firstAccount = firstAccount;
25912598
this.secondAccount = secondAccount;
2599+
this.folder = folder;
25922600
this.storage = storage;
25932601
this.storageFolder = storageFolder;
25942602
}

0 commit comments

Comments
 (0)