Skip to content

Commit ecbb04b

Browse files
committed
Version 20.4.0.80 generated
1 parent 532ccf1 commit ecbb04b

File tree

10 files changed

+79
-51
lines changed

10 files changed

+79
-51
lines changed

doc/DeleteEmailThreadAccountRq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +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]
7+
**folderId** | **string** | Specifies account folder to get thread from (required for some account types, such as EWS). Use folder Id from ListEmailFolders (MailServerFolder.Id). For IMAP folder Id is always same as folder name. | [optional] [default to undefined]
88

99
Parent class: [AccountBaseRequest](AccountBaseRequest.md)
1010

doc/EmailAddress.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**preferred** | **boolean** | Defines whether email address is preferred. | [default to undefined]
1010
**routingType** | **string** | A routing type for an email. | [optional] [default to undefined]
1111
**address** | **string** | Email address. | [optional] [default to undefined]
12+
**originalAddressString** | **string** | The original e-mail address string | [optional] [default to undefined]
1213

1314

1415

doc/EmailApi.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2035,7 +2035,7 @@ new GetEmailThreadRequest(
20352035
threadId,
20362036
firstAccount,
20372037
secondAccount=secondAccount,
2038-
folder=folder,
2038+
folderId=folderId,
20392039
storage=storage,
20402040
storageFolder=storageFolder)
20412041
```
@@ -2045,7 +2045,7 @@ Name | Type | Description | Notes
20452045
**threadId** | **string**| Thread identifier |
20462046
**firstAccount** | **string**| Email account |
20472047
**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]
2048+
**folderId** | **string**| Specifies account folder to get thread from (required for some account types, such as EWS). Use folder Id from ListEmailFolders (MailServerFolder.Id). For IMAP folder Id is always same as folder name. | [optional]
20492049
**storage** | **string**| Storage name where account file(s) located | [optional]
20502050
**storageFolder** | **string**| Folder in storage where account file(s) located | [optional]
20512051

@@ -2377,7 +2377,7 @@ Get message threads from folder. All messages are partly fetched (without email
23772377
### Request Parameters
23782378
```typescript
23792379
new ListEmailThreadsRequest(
2380-
folder,
2380+
folderId,
23812381
firstAccount,
23822382
secondAccount=secondAccount,
23832383
storage=storage,
@@ -2388,7 +2388,7 @@ new ListEmailThreadsRequest(
23882388

23892389
Name | Type | Description | Notes
23902390
------------- | ------------- | ------------- | -------------
2391-
**folder** | **string**| A folder in email account |
2391+
**folderId** | **string**| A folder id in email account. Use folder Id from ListEmailFolders (MailServerFolder.Id). For IMAP folder Id is always same as folder name. |
23922392
**firstAccount** | **string**| Email account |
23932393
**secondAccount** | **string**| Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) | [optional]
23942394
**storage** | **string**| Storage name where account file(s) located | [optional]
@@ -2673,7 +2673,7 @@ new SaveEmailModelRequest(
26732673
Name | Type | Description | Notes
26742674
------------- | ------------- | ------------- | -------------
26752675
**format** | **string**| File format. Enum, available values: Eml, Msg, MsgUnicode, Mhtml, Html |
2676-
**name** | **string**| iCalendar file name in storage. |
2676+
**name** | **string**| Email document file name in storage. |
26772677
**rq** | [**StorageModelRqOfEmailDto**](StorageModelRqOfEmailDto.md)| Calendar properties update request. |
26782678

26792679
[[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)

doc/EmailThreadReadFlagRq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +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]
8+
**folderId** | **string** | Specifies account folder to get thread from (required for some account types, such as EWS). Use folder Id from ListEmailFolders (MailServerFolder.Id). For IMAP folder Id is always same as folder name. | [optional] [default to undefined]
99

1010
Parent class: [AccountBaseRequest](AccountBaseRequest.md)
1111

doc/MailAddress.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
**displayName** | **string** | Display name | [optional] [default to undefined]
88
**address** | **string** | Address | [optional] [default to undefined]
99
**participationStatus** | **string** | Identifies the participation status for the calendar user. Enum, available values: NeedsAction, Accepted, Declined, Tentative, Delegated | [default to undefined]
10+
**originalAddressString** | **string** | The original e-mail address string | [optional] [default to undefined]
1011

1112

1213

doc/MoveEmailThreadRq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**destinationFolder** | **string** | Email account folder to move thread to | [optional] [default to undefined]
7+
**destinationFolderId** | **string** | Email account folder id to move thread to. Use folder Id from ListEmailFolders (MailServerFolder.Id). For IMAP folder Id is always same as folder name. | [optional] [default to undefined]
88

99
Parent class: [AccountBaseRequest](AccountBaseRequest.md)
1010

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@
5353
"typescript": "^3.7.2",
5454
"uuid": "^3.3.3"
5555
}
56-
}
56+
}

src/api.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3576,8 +3576,8 @@ 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");
3579+
if (requestObj.folderId !== undefined) {
3580+
queryParameters.folderId = ObjectSerializer.serialize(requestObj.folderId, "string");
35813581
}
35823582

35833583
if (requestObj.storage !== undefined) {
@@ -4158,18 +4158,18 @@ export class EmailApi {
41584158
const headerParams: any = {};
41594159
const formParams: any = {};
41604160

4161-
// verify required parameter 'requestObj.folder' is not null or undefined
4162-
if (requestObj.folder === null || requestObj.folder === undefined) {
4163-
throw new Error('Required parameter "requestObj.folder" was null or undefined when calling listEmailThreads.');
4161+
// verify required parameter 'requestObj.folderId' is not null or undefined
4162+
if (requestObj.folderId === null || requestObj.folderId === undefined) {
4163+
throw new Error('Required parameter "requestObj.folderId" was null or undefined when calling listEmailThreads.');
41644164
}
41654165

41664166
// verify required parameter 'requestObj.firstAccount' is not null or undefined
41674167
if (requestObj.firstAccount === null || requestObj.firstAccount === undefined) {
41684168
throw new Error('Required parameter "requestObj.firstAccount" was null or undefined when calling listEmailThreads.');
41694169
}
41704170

4171-
if (requestObj.folder !== undefined) {
4172-
queryParameters.folder = ObjectSerializer.serialize(requestObj.folder, "string");
4171+
if (requestObj.folderId !== undefined) {
4172+
queryParameters.folderId = ObjectSerializer.serialize(requestObj.folderId, "string");
41734173
}
41744174

41754175
if (requestObj.firstAccount !== undefined) {

src/model/model.ts

Lines changed: 49 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3001,6 +3001,11 @@ export class EmailAddress {
30013001
name: "address",
30023002
baseName: "address",
30033003
type: "string",
3004+
},
3005+
{
3006+
name: "originalAddressString",
3007+
baseName: "originalAddressString",
3008+
type: "string",
30043009
} ];
30053010

30063011
/**
@@ -3035,6 +3040,11 @@ export class EmailAddress {
30353040
*/
30363041
public address: string;
30373042

3043+
/**
3044+
* The original e-mail address string
3045+
*/
3046+
public originalAddressString: string;
3047+
30383048

30393049
/**
30403050
* Email address.
@@ -3043,19 +3053,22 @@ export class EmailAddress {
30433053
* @param preferred Defines whether email address is preferred.
30443054
* @param routingType A routing type for an email.
30453055
* @param address Email address.
3056+
* @param originalAddressString The original e-mail address string
30463057
*/
30473058
public constructor(
30483059
category?: EnumWithCustomOfEmailAddressCategory,
30493060
displayName?: string,
30503061
preferred?: boolean,
30513062
routingType?: string,
3052-
address?: string) {
3063+
address?: string,
3064+
originalAddressString?: string) {
30533065

30543066
this.category = category;
30553067
this.displayName = displayName;
30563068
this.preferred = preferred;
30573069
this.routingType = routingType;
30583070
this.address = address;
3071+
this.originalAddressString = originalAddressString;
30593072
}
30603073
}
30613074

@@ -5340,6 +5353,11 @@ export class MailAddress {
53405353
name: "participationStatus",
53415354
baseName: "participationStatus",
53425355
type: "string",
5356+
},
5357+
{
5358+
name: "originalAddressString",
5359+
baseName: "originalAddressString",
5360+
type: "string",
53435361
} ];
53445362

53455363
/**
@@ -5364,21 +5382,29 @@ export class MailAddress {
53645382
*/
53655383
public participationStatus: string;
53665384

5385+
/**
5386+
* The original e-mail address string
5387+
*/
5388+
public originalAddressString: string;
5389+
53675390

53685391
/**
53695392
* Represents the address of a message.
53705393
* @param displayName Display name
53715394
* @param address Address
53725395
* @param participationStatus Identifies the participation status for the calendar user. Enum, available values: NeedsAction, Accepted, Declined, Tentative, Delegated
5396+
* @param originalAddressString The original e-mail address string
53735397
*/
53745398
public constructor(
53755399
displayName?: string,
53765400
address?: string,
5377-
participationStatus?: string) {
5401+
participationStatus?: string,
5402+
originalAddressString?: string) {
53785403

53795404
this.displayName = displayName;
53805405
this.address = address;
53815406
this.participationStatus = participationStatus;
5407+
this.originalAddressString = originalAddressString;
53825408
}
53835409
}
53845410

@@ -7325,8 +7351,8 @@ export class DeleteEmailThreadAccountRq extends AccountBaseRequest {
73257351
*/
73267352
public static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
73277353
{
7328-
name: "folder",
7329-
baseName: "folder",
7354+
name: "folderId",
7355+
baseName: "folderId",
73307356
type: "string",
73317357
} ];
73327358

@@ -7338,28 +7364,28 @@ export class DeleteEmailThreadAccountRq extends AccountBaseRequest {
73387364
}
73397365

73407366
/**
7341-
* Specifies account folder to get thread from (required for some account types, such as EWS)
7367+
* Specifies account folder to get thread from (required for some account types, such as EWS). Use folder Id from ListEmailFolders (MailServerFolder.Id). For IMAP folder Id is always same as folder name.
73427368
*/
7343-
public folder: string;
7369+
public folderId: string;
73447370

73457371

73467372
/**
73477373
* Delete thread request
73487374
* @param firstAccount First account storage file name
73497375
* @param secondAccount Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP)
73507376
* @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)
7377+
* @param folderId Specifies account folder to get thread from (required for some account types, such as EWS). Use folder Id from ListEmailFolders (MailServerFolder.Id). For IMAP folder Id is always same as folder name.
73527378
*/
73537379
public constructor(
73547380
firstAccount?: string,
73557381
secondAccount?: string,
73567382
storageFolder?: StorageFolderLocation,
7357-
folder?: string) {
7383+
folderId?: string) {
73587384
super();
73597385
this.firstAccount = firstAccount;
73607386
this.secondAccount = secondAccount;
73617387
this.storageFolder = storageFolder;
7362-
this.folder = folder;
7388+
this.folderId = folderId;
73637389
}
73647390
}
73657391

@@ -7861,8 +7887,8 @@ export class EmailThreadReadFlagRq extends AccountBaseRequest {
78617887
type: "boolean",
78627888
},
78637889
{
7864-
name: "folder",
7865-
baseName: "folder",
7890+
name: "folderId",
7891+
baseName: "folderId",
78667892
type: "string",
78677893
} ];
78687894

@@ -7879,9 +7905,9 @@ export class EmailThreadReadFlagRq extends AccountBaseRequest {
78797905
public isRead: boolean;
78807906

78817907
/**
7882-
* Specifies account folder to get thread from (required for some account types, such as EWS)
7908+
* Specifies account folder to get thread from (required for some account types, such as EWS). Use folder Id from ListEmailFolders (MailServerFolder.Id). For IMAP folder Id is always same as folder name.
78837909
*/
7884-
public folder: string;
7910+
public folderId: string;
78857911

78867912

78877913
/**
@@ -7890,20 +7916,20 @@ export class EmailThreadReadFlagRq extends AccountBaseRequest {
78907916
* @param secondAccount Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP)
78917917
* @param storageFolder Storage folder location of account files
78927918
* @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)
7919+
* @param folderId Specifies account folder to get thread from (required for some account types, such as EWS). Use folder Id from ListEmailFolders (MailServerFolder.Id). For IMAP folder Id is always same as folder name.
78947920
*/
78957921
public constructor(
78967922
firstAccount?: string,
78977923
secondAccount?: string,
78987924
storageFolder?: StorageFolderLocation,
78997925
isRead?: boolean,
7900-
folder?: string) {
7926+
folderId?: string) {
79017927
super();
79027928
this.firstAccount = firstAccount;
79037929
this.secondAccount = secondAccount;
79047930
this.storageFolder = storageFolder;
79057931
this.isRead = isRead;
7906-
this.folder = folder;
7932+
this.folderId = folderId;
79077933
}
79087934
}
79097935

@@ -8270,8 +8296,8 @@ export class MoveEmailThreadRq extends AccountBaseRequest {
82708296
*/
82718297
public static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
82728298
{
8273-
name: "destinationFolder",
8274-
baseName: "destinationFolder",
8299+
name: "destinationFolderId",
8300+
baseName: "destinationFolderId",
82758301
type: "string",
82768302
} ];
82778303

@@ -8283,28 +8309,28 @@ export class MoveEmailThreadRq extends AccountBaseRequest {
82838309
}
82848310

82858311
/**
8286-
* Email account folder to move thread to
8312+
* Email account folder id to move thread to. Use folder Id from ListEmailFolders (MailServerFolder.Id). For IMAP folder Id is always same as folder name.
82878313
*/
8288-
public destinationFolder: string;
8314+
public destinationFolderId: string;
82898315

82908316

82918317
/**
82928318
* Email thread move request
82938319
* @param firstAccount First account storage file name
82948320
* @param secondAccount Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP)
82958321
* @param storageFolder Storage folder location of account files
8296-
* @param destinationFolder Email account folder to move thread to
8322+
* @param destinationFolderId Email account folder id to move thread to. Use folder Id from ListEmailFolders (MailServerFolder.Id). For IMAP folder Id is always same as folder name.
82978323
*/
82988324
public constructor(
82998325
firstAccount?: string,
83008326
secondAccount?: string,
83018327
storageFolder?: StorageFolderLocation,
8302-
destinationFolder?: string) {
8328+
destinationFolderId?: string) {
83038329
super();
83048330
this.firstAccount = firstAccount;
83058331
this.secondAccount = secondAccount;
83068332
this.storageFolder = storageFolder;
8307-
this.destinationFolder = destinationFolder;
8333+
this.destinationFolderId = destinationFolderId;
83088334
}
83098335
}
83108336

0 commit comments

Comments
 (0)