Skip to content

Commit

Permalink
Merge pull request #8 from aspose-email-cloud/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Marat-Gumerov authored Mar 16, 2020
2 parents 18f85bb + f4ff206 commit c725cdc
Show file tree
Hide file tree
Showing 36 changed files with 6,002 additions and 1,039 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"description": "This repository contains Aspose Cloud SDK for PHP source code. Aspose Cloud SDK for PHP lets PHP developers convert and process a variety of file formats in the cloud quickly and easily.",
"name": "aspose/aspose-email-cloud",
"type": "library",
"version": "20.2.0",
"version": "20.2.1",
"license": "MIT",
"keywords": [
"aspose",
Expand Down
2 changes: 1 addition & 1 deletion doc/EmailAccountConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**protocol_type** | **string** | Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav |
**host** | **string** | Email account host. | [optional]
**port** | **int** | Port. | [optional]
**socket_type** | **string** | Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto |
**socket_type** | **string** | Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto |
**authentication_types** | **string[]** | Supported authentication types. Items: Email account authentication types. Enum, available values: NoAuth, OAuth2, PasswordCleartext, PasswordEncrypted, SmtpAfterPop, ClientIpAddress | [optional]
**extra_info** | [**\Aspose\Email\Model\NameValuePair[]**](NameValuePair.md) | Extra account information. | [optional]
**is_validated** | **bool** | Determines that configuration validated. Set to false if validation skipped. |
Expand Down
2 changes: 1 addition & 1 deletion doc/EmailAccountRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
**host** | **string** | Email account host |
**port** | **int** | Email account port |
**login** | **string** | Email account login |
**security_options** | **string** | Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto |
**security_options** | **string** | Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto |
**protocol_type** | **string** | Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav |
**description** | **string** | Email account description | [optional]
**storage_file** | [**\Aspose\Email\Model\StorageFileLocation**](StorageFileLocation.md) | A storage file location info to store email account |
Expand Down
128 changes: 128 additions & 0 deletions doc/EmailApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ Method | HTTP request | Description
[**getEmail**](EmailApi.md#getEmail) | **GET** /email/{fileName} | Get email document
[**getEmailAsFile**](EmailApi.md#getEmailAsFile) | **GET** /email/{fileName}/as-file/{format} | Converts email document from storage to specified format and returns as file
[**getEmailAttachment**](EmailApi.md#getEmailAttachment) | **GET** /email/{fileName}/attachments/{attachment} | Get email attachment by name
[**getEmailClientAccount**](EmailApi.md#getEmailClientAccount) | **GET** /email/client/email-client-account | Get email client account from storage
[**getEmailClientMultiAccount**](EmailApi.md#getEmailClientMultiAccount) | **GET** /email/client/multi-account | Get email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\".
[**getEmailModel**](EmailApi.md#getEmailModel) | **GET** /email/model/{format}/{name} | Get email document.
[**getEmailModelList**](EmailApi.md#getEmailModelList) | **GET** /email/model/{format} | Get email list from storage folder.
[**getEmailProperty**](EmailApi.md#getEmailProperty) | **GET** /email/{fileName}/properties/{propertyName} | Get an email document property by its name
Expand All @@ -76,6 +78,7 @@ Method | HTTP request | Description
[**getMapiAttachments**](EmailApi.md#getMapiAttachments) | **GET** /email/Mapi/{name}/attachments | Get document attachment list
[**getMapiList**](EmailApi.md#getMapiList) | **GET** /email/Mapi | Get document list from storage folder
[**getMapiProperties**](EmailApi.md#getMapiProperties) | **GET** /email/Mapi/{name}/properties | Get document properties
[**isEmailAddressDisposable**](EmailApi.md#isEmailAddressDisposable) | **GET** /email/disposable/isDisposable/{address} | Check email address is disposable
[**listEmailFolders**](EmailApi.md#listEmailFolders) | **GET** /email/client/ListFolders | Get folders list in email account
[**listEmailMessages**](EmailApi.md#listEmailMessages) | **GET** /email/client/ListMessages | Get messages from folder, filtered by query
[**listEmailModels**](EmailApi.md#listEmailModels) | **GET** /email/client/ListMessagesModel | Get messages from folder, filtered by query
Expand All @@ -84,6 +87,8 @@ Method | HTTP request | Description
[**objectExists**](EmailApi.md#objectExists) | **GET** /email/storage/exist/{path} | Check if file or folder exists
[**saveCalendarModel**](EmailApi.md#saveCalendarModel) | **PUT** /email/CalendarModel/{name} | Save iCalendar
[**saveContactModel**](EmailApi.md#saveContactModel) | **PUT** /email/ContactModel/{format}/{name} | Save contact.
[**saveEmailClientAccount**](EmailApi.md#saveEmailClientAccount) | **PUT** /email/client/email-client-account | Create email client account file (*.account) with any of supported credentials
[**saveEmailClientMultiAccount**](EmailApi.md#saveEmailClientMultiAccount) | **PUT** /email/client/multi-account | Create email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\".
[**saveEmailModel**](EmailApi.md#saveEmailModel) | **PUT** /email/model/{format}/{name} | Save email document.
[**saveMailAccount**](EmailApi.md#saveMailAccount) | **POST** /email/client/SaveMailAccount | Create email account file (*.account) with login/password authentication
[**saveMailOAuthAccount**](EmailApi.md#saveMailOAuthAccount) | **POST** /email/client/SaveMailOAuthAccount | Create email account file (*.account) with OAuth
Expand Down Expand Up @@ -1804,6 +1809,60 @@ Name | Type | Description | Notes

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

# **getEmailClientAccount**
```php
function \Aspose\Email\Model\EmailClientAccount getEmailClientAccount(Requests\GetEmailClientAccountRequest $request)
```
Get email client account from storage

### Return type

[**\Aspose\Email\Model\EmailClientAccount**](EmailClientAccount.md)

### Request parameters
```php
new Aspose\Email\Model\Requests\GetEmailClientAccountRequest(
$name,
$folder,
$storage)
```


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**name** | **string**| File name on storage |
**folder** | **string**| Folder on storage |
**storage** | **string**| Storage name |

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

# **getEmailClientMultiAccount**
```php
function \Aspose\Email\Model\EmailClientMultiAccount getEmailClientMultiAccount(Requests\GetEmailClientMultiAccountRequest $request)
```
Get email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\".

### Return type

[**\Aspose\Email\Model\EmailClientMultiAccount**](EmailClientMultiAccount.md)

### Request parameters
```php
new Aspose\Email\Model\Requests\GetEmailClientMultiAccountRequest(
$name,
$folder,
$storage)
```


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**name** | **string**| File name on storage |
**folder** | **string**| Folder on storage |
**storage** | **string**| Storage name |

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

# **getEmailModel**
```php
function \Aspose\Email\Model\EmailDto getEmailModel(Requests\GetEmailModelRequest $request)
Expand Down Expand Up @@ -2055,6 +2114,29 @@ Name | Type | Description | Notes

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

# **isEmailAddressDisposable**
```php
function \Aspose\Email\Model\ValueTOfBoolean isEmailAddressDisposable(Requests\IsEmailAddressDisposableRequest $request)
```
Check email address is disposable

### Return type

[**\Aspose\Email\Model\ValueTOfBoolean**](ValueTOfBoolean.md)

### Request parameters
```php
new Aspose\Email\Model\Requests\IsEmailAddressDisposableRequest(
$address)
```


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**address** | **string**| An email address to check |

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

# **listEmailFolders**
```php
function \Aspose\Email\Model\ListResponseOfMailServerFolder listEmailFolders(Requests\ListEmailFoldersRequest $request)
Expand Down Expand Up @@ -2299,6 +2381,52 @@ Name | Type | Description | Notes

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

# **saveEmailClientAccount**
```php
function saveEmailClientAccount(Requests\SaveEmailClientAccountRequest $request)
```
Create email client account file (*.account) with any of supported credentials

### Return type

void (empty response body)

### Request parameters
```php
new Aspose\Email\Model\Requests\SaveEmailClientAccountRequest(
$request)
```


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**request** | [**\Aspose\Email\Model\StorageFileRqOfEmailClientAccount**](StorageFileRqOfEmailClientAccount.md)| Email account information |

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

# **saveEmailClientMultiAccount**
```php
function saveEmailClientMultiAccount(Requests\SaveEmailClientMultiAccountRequest $request)
```
Create email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\".

### Return type

void (empty response body)

### Request parameters
```php
new Aspose\Email\Model\Requests\SaveEmailClientMultiAccountRequest(
$request)
```


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**request** | [**\Aspose\Email\Model\StorageFileRqOfEmailClientMultiAccount**](StorageFileRqOfEmailClientMultiAccount.md)| Email accounts information |

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

# **saveEmailModel**
```php
function saveEmailModel(Requests\SaveEmailModelRequest $request)
Expand Down
16 changes: 16 additions & 0 deletions doc/EmailClientAccount.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# EmailClientAccount

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**host** | **string** | Mail server host name or IP address |
**port** | **int** | Mail server port |
**security_options** | **string** | Email account security mode Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto |
**protocol_type** | **string** | Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav |
**credentials** | [**\Aspose\Email\Model\EmailClientAccountCredentials**](EmailClientAccountCredentials.md) | Email client account credentials |



[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)


13 changes: 13 additions & 0 deletions doc/EmailClientAccountCredentials.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# EmailClientAccountCredentials

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**login** | **string** | Email client account login |
**discriminator** | **string** | |



[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)


15 changes: 15 additions & 0 deletions doc/EmailClientAccountOauthCredentials.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# EmailClientAccountOauthCredentials

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**client_id** | **string** | The client ID obtained from the Google Cloud Console during application registration. |
**client_secret** | **string** | The client secret obtained during application registration. |
**refresh_token** | **string** | OAuth 2.0 refresh token |
**request_url** | **string** | The url to obtain access token. If not specified, will try to discover from email client account host. | [optional]

Parent class: [EmailClientAccountCredentials](EmailClientAccountCredentials.md)

[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)


12 changes: 12 additions & 0 deletions doc/EmailClientAccountPasswordCredentials.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# EmailClientAccountPasswordCredentials

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**password** | **string** | Email client account password |

Parent class: [EmailClientAccountCredentials](EmailClientAccountCredentials.md)

[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)


13 changes: 13 additions & 0 deletions doc/EmailClientMultiAccount.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# EmailClientMultiAccount

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**receive_accounts** | [**\Aspose\Email\Model\EmailClientAccount[]**](EmailClientAccount.md) | Email client receive accounts |
**send_account** | [**\Aspose\Email\Model\EmailClientAccount**](EmailClientAccount.md) | Email client send account | [optional]



[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)


4 changes: 2 additions & 2 deletions doc/NameValuePair.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | **string** | | [optional]
**name** | **string** | | [optional]
**name** | **string** | Property name | [optional]
**value** | **string** | Property value | [optional]



Expand Down
13 changes: 13 additions & 0 deletions doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ Class | Method | HTTP request | Description
*EmailApi* | [**getEmail**](EmailApi.md#getemail) | **GET** /email/{fileName} | Get email document
*EmailApi* | [**getEmailAsFile**](EmailApi.md#getemailasfile) | **GET** /email/{fileName}/as-file/{format} | Converts email document from storage to specified format and returns as file
*EmailApi* | [**getEmailAttachment**](EmailApi.md#getemailattachment) | **GET** /email/{fileName}/attachments/{attachment} | Get email attachment by name
*EmailApi* | [**getEmailClientAccount**](EmailApi.md#getemailclientaccount) | **GET** /email/client/email-client-account | Get email client account from storage
*EmailApi* | [**getEmailClientMultiAccount**](EmailApi.md#getemailclientmultiaccount) | **GET** /email/client/multi-account | Get email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\".
*EmailApi* | [**getEmailModel**](EmailApi.md#getemailmodel) | **GET** /email/model/{format}/{name} | Get email document.
*EmailApi* | [**getEmailModelList**](EmailApi.md#getemailmodellist) | **GET** /email/model/{format} | Get email list from storage folder.
*EmailApi* | [**getEmailProperty**](EmailApi.md#getemailproperty) | **GET** /email/{fileName}/properties/{propertyName} | Get an email document property by its name
Expand All @@ -76,6 +78,7 @@ Class | Method | HTTP request | Description
*EmailApi* | [**getMapiAttachments**](EmailApi.md#getmapiattachments) | **GET** /email/Mapi/{name}/attachments | Get document attachment list
*EmailApi* | [**getMapiList**](EmailApi.md#getmapilist) | **GET** /email/Mapi | Get document list from storage folder
*EmailApi* | [**getMapiProperties**](EmailApi.md#getmapiproperties) | **GET** /email/Mapi/{name}/properties | Get document properties
*EmailApi* | [**isEmailAddressDisposable**](EmailApi.md#isemailaddressdisposable) | **GET** /email/disposable/isDisposable/{address} | Check email address is disposable
*EmailApi* | [**listEmailFolders**](EmailApi.md#listemailfolders) | **GET** /email/client/ListFolders | Get folders list in email account
*EmailApi* | [**listEmailMessages**](EmailApi.md#listemailmessages) | **GET** /email/client/ListMessages | Get messages from folder, filtered by query
*EmailApi* | [**listEmailModels**](EmailApi.md#listemailmodels) | **GET** /email/client/ListMessagesModel | Get messages from folder, filtered by query
Expand All @@ -84,6 +87,8 @@ Class | Method | HTTP request | Description
*EmailApi* | [**objectExists**](EmailApi.md#objectexists) | **GET** /email/storage/exist/{path} | Check if file or folder exists
*EmailApi* | [**saveCalendarModel**](EmailApi.md#savecalendarmodel) | **PUT** /email/CalendarModel/{name} | Save iCalendar
*EmailApi* | [**saveContactModel**](EmailApi.md#savecontactmodel) | **PUT** /email/ContactModel/{format}/{name} | Save contact.
*EmailApi* | [**saveEmailClientAccount**](EmailApi.md#saveemailclientaccount) | **PUT** /email/client/email-client-account | Create email client account file (*.account) with any of supported credentials
*EmailApi* | [**saveEmailClientMultiAccount**](EmailApi.md#saveemailclientmultiaccount) | **PUT** /email/client/multi-account | Create email client multi account file (*.multi.account). Will respond error if file extension is not \".multi.account\".
*EmailApi* | [**saveEmailModel**](EmailApi.md#saveemailmodel) | **PUT** /email/model/{format}/{name} | Save email document.
*EmailApi* | [**saveMailAccount**](EmailApi.md#savemailaccount) | **POST** /email/client/SaveMailAccount | Create email account file (*.account) with login/password authentication
*EmailApi* | [**saveMailOAuthAccount**](EmailApi.md#savemailoauthaccount) | **POST** /email/client/SaveMailOAuthAccount | Create email account file (*.account) with OAuth
Expand Down Expand Up @@ -136,6 +141,9 @@ Class | Method | HTTP request | Description
- [EmailAccountConfig](EmailAccountConfig.md)
- [EmailAccountRequest](EmailAccountRequest.md)
- [EmailAddress](EmailAddress.md)
- [EmailClientAccount](EmailClientAccount.md)
- [EmailClientAccountCredentials](EmailClientAccountCredentials.md)
- [EmailClientMultiAccount](EmailClientMultiAccount.md)
- [EmailDocument](EmailDocument.md)
- [EmailDocumentResponse](EmailDocumentResponse.md)
- [EmailDto](EmailDto.md)
Expand Down Expand Up @@ -185,6 +193,8 @@ Class | Method | HTTP request | Description
- [SetEmailPropertyRequest](SetEmailPropertyRequest.md)
- [StorageExist](StorageExist.md)
- [StorageFile](StorageFile.md)
- [StorageFileRqOfEmailClientAccount](StorageFileRqOfEmailClientAccount.md)
- [StorageFileRqOfEmailClientMultiAccount](StorageFileRqOfEmailClientMultiAccount.md)
- [StorageFolderLocation](StorageFolderLocation.md)
- [StorageModelOfCalendarDto](StorageModelOfCalendarDto.md)
- [StorageModelOfContactDto](StorageModelOfContactDto.md)
Expand All @@ -194,6 +204,7 @@ Class | Method | HTTP request | Description
- [StorageModelRqOfEmailDto](StorageModelRqOfEmailDto.md)
- [Url](Url.md)
- [ValueResponse](ValueResponse.md)
- [ValueTOfBoolean](ValueTOfBoolean.md)
- [AiBcrBase64Image](AiBcrBase64Image.md)
- [AiBcrBase64Rq](AiBcrBase64Rq.md)
- [AiBcrImageStorageFile](AiBcrImageStorageFile.md)
Expand All @@ -211,6 +222,8 @@ Class | Method | HTTP request | Description
- [DiscoverEmailConfigOauth](DiscoverEmailConfigOauth.md)
- [DiscoverEmailConfigPassword](DiscoverEmailConfigPassword.md)
- [EmailAccountConfigList](EmailAccountConfigList.md)
- [EmailClientAccountOauthCredentials](EmailClientAccountOauthCredentials.md)
- [EmailClientAccountPasswordCredentials](EmailClientAccountPasswordCredentials.md)
- [EmailDtoList](EmailDtoList.md)
- [FileVersion](FileVersion.md)
- [HierarchicalObject](HierarchicalObject.md)
Expand Down
Loading

0 comments on commit c725cdc

Please sign in to comment.