Skip to content

Commit 37bfaf2

Browse files
Merge pull request #6 from aspose-email-cloud/develop
Develop 20.2
2 parents 9781448 + 6b37dbb commit 37bfaf2

14 files changed

+2212
-11
lines changed

doc/DiscoverEmailConfigOauth.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
# DiscoverEmailConfigOauth
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**clientId** | **string** | OAuth client id. | [default to undefined]
8+
**clientSecret** | **string** | OAuth client secret. | [default to undefined]
9+
**refreshToken** | **string** | OAuth refresh token. | [default to undefined]
10+
**requestUrl** | **string** | The url to obtain access token. If not specified, will be discovered from email configuration. | [optional] [default to undefined]
11+
12+
Parent class: [DiscoverEmailConfigRq](DiscoverEmailConfigRq.md)
13+
14+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)

doc/DiscoverEmailConfigPassword.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
# DiscoverEmailConfigPassword
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**password** | **string** | Email account password. | [default to undefined]
8+
9+
Parent class: [DiscoverEmailConfigRq](DiscoverEmailConfigRq.md)
10+
11+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)

doc/DiscoverEmailConfigRq.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
# DiscoverEmailConfigRq
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**address** | **string** | Email address to discover. | [default to undefined]
8+
**fastProcessing** | **boolean** | Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned. | [default to undefined]
9+
**login** | **string** | Email account login. If not specified, address used as a login. | [optional] [default to undefined]
10+
11+
12+
13+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)

doc/EmailAccountConfig.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
# EmailAccountConfig
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**displayName** | **string** | Email account display name | [optional] [default to undefined]
8+
**protocolType** | **string** | Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav | [default to undefined]
9+
**host** | **string** | Email account host. | [optional] [default to undefined]
10+
**port** | **number** | Port. | [optional] [default to undefined]
11+
**socketType** | **string** | Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto | [default to undefined]
12+
**authenticationTypes** | **Array<string>** | Supported authentication types. Items: Email account authentication types. Enum, available values: NoAuth, OAuth2, PasswordCleartext, PasswordEncrypted, SmtpAfterPop, ClientIpAddress | [optional] [default to undefined]
13+
**extraInfo** | [**Array<NameValuePair>**](NameValuePair.md) | Extra account information. | [optional] [default to undefined]
14+
**isValidated** | **boolean** | Determines that configuration validated. Set to false if validation skipped. | [default to undefined]
15+
16+
17+
18+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)

doc/EmailAccountConfigList.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
# EmailAccountConfigList
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
8+
Parent class: [ListResponseOfEmailAccountConfig](ListResponseOfEmailAccountConfig.md)
9+
10+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)

doc/EmailApi.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,6 +1199,83 @@ Name | Type | Description | Notes
11991199

12001200
[[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)
12011201

1202+
<a name="discoveremailconfig"></a>
1203+
# **discoverEmailConfig**
1204+
1205+
```typescript
1206+
public async discoverEmailConfig(requestObj: DiscoverEmailConfigRequest) : Promise<{response: RequestResponse, body: EmailAccountConfigList; }>
1207+
```
1208+
1209+
Discover email accounts by email address. Does not validate discovered accounts.
1210+
1211+
### Return type
1212+
1213+
`Promise<{response: RequestResponse, body: EmailAccountConfigList; }>`
1214+
1215+
### Request Parameters
1216+
```typescript
1217+
new DiscoverEmailConfigRequest(
1218+
address,
1219+
fastProcessing=fastProcessing)
1220+
```
1221+
1222+
Name | Type | Description | Notes
1223+
------------- | ------------- | ------------- | -------------
1224+
**address** | **string**| Email address |
1225+
**fastProcessing** | **boolean**| Turns on fast processing. All discover systems will run in parallel. First discovered result will be returned | [optional] [default to false]
1226+
1227+
[[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)
1228+
1229+
<a name="discoveremailconfigoauth"></a>
1230+
# **discoverEmailConfigOauth**
1231+
1232+
```typescript
1233+
public async discoverEmailConfigOauth(requestObj: DiscoverEmailConfigOauthRequest) : Promise<{response: RequestResponse, body: EmailAccountConfigList; }>
1234+
```
1235+
1236+
Discover email accounts by email address. Validates discovered accounts using OAuth 2.0.
1237+
1238+
### Return type
1239+
1240+
`Promise<{response: RequestResponse, body: EmailAccountConfigList; }>`
1241+
1242+
### Request Parameters
1243+
```typescript
1244+
new DiscoverEmailConfigOauthRequest(
1245+
rq)
1246+
```
1247+
1248+
Name | Type | Description | Notes
1249+
------------- | ------------- | ------------- | -------------
1250+
**rq** | [**DiscoverEmailConfigOauth**](DiscoverEmailConfigOauth.md)| Discover email configuration request. |
1251+
1252+
[[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)
1253+
1254+
<a name="discoveremailconfigpassword"></a>
1255+
# **discoverEmailConfigPassword**
1256+
1257+
```typescript
1258+
public async discoverEmailConfigPassword(requestObj: DiscoverEmailConfigPasswordRequest) : Promise<{response: RequestResponse, body: EmailAccountConfigList; }>
1259+
```
1260+
1261+
Discover email accounts by email address. Validates discovered accounts using login and password.
1262+
1263+
### Return type
1264+
1265+
`Promise<{response: RequestResponse, body: EmailAccountConfigList; }>`
1266+
1267+
### Request Parameters
1268+
```typescript
1269+
new DiscoverEmailConfigPasswordRequest(
1270+
rq)
1271+
```
1272+
1273+
Name | Type | Description | Notes
1274+
------------- | ------------- | ------------- | -------------
1275+
**rq** | [**DiscoverEmailConfigPassword**](DiscoverEmailConfigPassword.md)| Discover email configuration request. |
1276+
1277+
[[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)
1278+
12021279
<a name="downloadfile"></a>
12031280
# **downloadFile**
12041281

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
# ListResponseOfEmailAccountConfig
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**value** | [**Array&lt;EmailAccountConfig&gt;**](EmailAccountConfig.md) | | [optional] [default to undefined]
8+
9+
10+
11+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)

doc/NameValuePair.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
# NameValuePair
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**value** | **string** | | [optional] [default to undefined]
8+
**name** | **string** | | [optional] [default to undefined]
9+
10+
11+
12+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)

doc/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ Class | Method | HTTP request | Description
4747
*EmailApi* | [**deleteFolder**](EmailApi.md#deletefolder) | **DELETE** /email/storage/folder/{path} | Delete folder
4848
*EmailApi* | [**deleteMapiAttachment**](EmailApi.md#deletemapiattachment) | **DELETE** /email/Mapi/{name}/attachments/{attachment} | Remove attachment from document
4949
*EmailApi* | [**deleteMapiProperties**](EmailApi.md#deletemapiproperties) | **DELETE** /email/Mapi/{name}/properties | Delete document properties
50+
*EmailApi* | [**discoverEmailConfig**](EmailApi.md#discoveremailconfig) | **GET** /email/config/discover | Discover email accounts by email address. Does not validate discovered accounts.
51+
*EmailApi* | [**discoverEmailConfigOauth**](EmailApi.md#discoveremailconfigoauth) | **POST** /email/config/discover/oauth | Discover email accounts by email address. Validates discovered accounts using OAuth 2.0.
52+
*EmailApi* | [**discoverEmailConfigPassword**](EmailApi.md#discoveremailconfigpassword) | **POST** /email/config/discover/password | Discover email accounts by email address. Validates discovered accounts using login and password.
5053
*EmailApi* | [**downloadFile**](EmailApi.md#downloadfile) | **GET** /email/storage/file/{path} | Download file
5154
*EmailApi* | [**fetchEmailMessage**](EmailApi.md#fetchemailmessage) | **GET** /email/client/Fetch | Fetch message mime from email account
5255
*EmailApi* | [**fetchEmailModel**](EmailApi.md#fetchemailmodel) | **GET** /email/client/FetchModel | Fetch message model from email account
@@ -130,6 +133,8 @@ Class | Method | HTTP request | Description
130133
- [CreateEmailRequest](CreateEmailRequest.md)
131134
- [CustomerEvent](CustomerEvent.md)
132135
- [DiscUsage](DiscUsage.md)
136+
- [DiscoverEmailConfigRq](DiscoverEmailConfigRq.md)
137+
- [EmailAccountConfig](EmailAccountConfig.md)
133138
- [EmailAccountRequest](EmailAccountRequest.md)
134139
- [EmailAddress](EmailAddress.md)
135140
- [EmailDocument](EmailDocument.md)
@@ -158,6 +163,7 @@ Class | Method | HTTP request | Description
158163
- [ListResponseOfAiNameExtracted](ListResponseOfAiNameExtracted.md)
159164
- [ListResponseOfAiNameGenderHypothesis](ListResponseOfAiNameGenderHypothesis.md)
160165
- [ListResponseOfContactDto](ListResponseOfContactDto.md)
166+
- [ListResponseOfEmailAccountConfig](ListResponseOfEmailAccountConfig.md)
161167
- [ListResponseOfEmailDto](ListResponseOfEmailDto.md)
162168
- [ListResponseOfHierarchicalObject](ListResponseOfHierarchicalObject.md)
163169
- [ListResponseOfHierarchicalObjectResponse](ListResponseOfHierarchicalObjectResponse.md)
@@ -171,6 +177,7 @@ Class | Method | HTTP request | Description
171177
- [MailServerFolder](MailServerFolder.md)
172178
- [MimeResponse](MimeResponse.md)
173179
- [ModelError](ModelError.md)
180+
- [NameValuePair](NameValuePair.md)
174181
- [ObjectExist](ObjectExist.md)
175182
- [PhoneNumber](PhoneNumber.md)
176183
- [PostalAddress](PostalAddress.md)
@@ -202,6 +209,9 @@ Class | Method | HTTP request | Description
202209
- [CreateFolderBaseRequest](CreateFolderBaseRequest.md)
203210
- [DeleteFolderBaseRequest](DeleteFolderBaseRequest.md)
204211
- [DeleteMessageBaseRequest](DeleteMessageBaseRequest.md)
212+
- [DiscoverEmailConfigOauth](DiscoverEmailConfigOauth.md)
213+
- [DiscoverEmailConfigPassword](DiscoverEmailConfigPassword.md)
214+
- [EmailAccountConfigList](EmailAccountConfigList.md)
205215
- [EmailDtoList](EmailDtoList.md)
206216
- [FileVersion](FileVersion.md)
207217
- [HierarchicalObject](HierarchicalObject.md)

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.1.0",
3+
"version": "20.1.1",
44
"description": "Aspose.Email Cloud Node.js SDK",
55
"homepage": "https://products.aspose.cloud/email",
66
"author": {

0 commit comments

Comments
 (0)