aspose_email_cloud 19.11.0 → 19.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aspose-email-cloud.rb +43 -1
- data/lib/aspose-email-cloud/api/email_api.rb +221 -100
- data/lib/aspose-email-cloud/api_client.rb +4 -3
- data/lib/aspose-email-cloud/configuration.rb +4 -0
- data/lib/aspose-email-cloud/models/account_base_request.rb +123 -113
- data/lib/aspose-email-cloud/models/add_attachment_request.rb +86 -82
- data/lib/aspose-email-cloud/models/ai_bcr_base64_image.rb +228 -0
- data/lib/aspose-email-cloud/models/ai_bcr_base64_rq.rb +225 -0
- data/lib/aspose-email-cloud/models/ai_bcr_image.rb +215 -0
- data/lib/aspose-email-cloud/models/ai_bcr_image_storage_file.rb +228 -0
- data/lib/aspose-email-cloud/models/ai_bcr_ocr_data.rb +253 -0
- data/lib/aspose-email-cloud/models/ai_bcr_ocr_data_part.rb +297 -0
- data/lib/aspose-email-cloud/models/ai_bcr_options.rb +223 -0
- data/lib/aspose-email-cloud/models/ai_bcr_parse_storage_rq.rb +248 -0
- data/lib/aspose-email-cloud/models/ai_bcr_rq.rb +210 -0
- data/lib/aspose-email-cloud/models/ai_bcr_storage_image_rq.rb +230 -0
- data/lib/aspose-email-cloud/models/ai_name_component.rb +264 -0
- data/lib/aspose-email-cloud/models/ai_name_cultural_context.rb +267 -0
- data/lib/aspose-email-cloud/models/ai_name_extracted.rb +230 -0
- data/lib/aspose-email-cloud/models/ai_name_extracted_component.rb +228 -0
- data/lib/aspose-email-cloud/models/ai_name_formatted.rb +223 -0
- data/lib/aspose-email-cloud/models/ai_name_gender_hypothesis.rb +233 -0
- data/lib/aspose-email-cloud/models/ai_name_match_result.rb +230 -0
- data/lib/aspose-email-cloud/models/ai_name_mismatch.rb +246 -0
- data/lib/aspose-email-cloud/models/ai_name_parsed_match_rq.rb +263 -0
- data/lib/aspose-email-cloud/models/ai_name_parsed_rq.rb +243 -0
- data/lib/aspose-email-cloud/models/ai_name_weighted.rb +228 -0
- data/lib/aspose-email-cloud/models/ai_name_weighted_variants.rb +225 -0
- data/lib/aspose-email-cloud/models/append_email_account_base_request.rb +178 -163
- data/lib/aspose-email-cloud/models/append_email_base_request.rb +196 -179
- data/lib/aspose-email-cloud/models/append_email_mime_base_request.rb +215 -198
- data/lib/aspose-email-cloud/models/base_object.rb +9 -5
- data/lib/aspose-email-cloud/models/create_email_request.rb +91 -87
- data/lib/aspose-email-cloud/models/create_folder_base_request.rb +173 -160
- data/lib/aspose-email-cloud/models/delete_folder_base_request.rb +178 -165
- data/lib/aspose-email-cloud/models/delete_message_base_request.rb +178 -165
- data/lib/aspose-email-cloud/models/disc_usage.rb +96 -92
- data/lib/aspose-email-cloud/models/email_account_request.rb +257 -205
- data/lib/aspose-email-cloud/models/email_document.rb +93 -89
- data/lib/aspose-email-cloud/models/email_document_response.rb +73 -71
- data/lib/aspose-email-cloud/models/email_properties.rb +93 -88
- data/lib/aspose-email-cloud/models/email_property.rb +128 -119
- data/lib/aspose-email-cloud/models/email_property_response.rb +73 -71
- data/lib/aspose-email-cloud/models/error.rb +112 -104
- data/lib/aspose-email-cloud/models/error_details.rb +91 -87
- data/lib/aspose-email-cloud/models/file_version.rb +166 -152
- data/lib/aspose-email-cloud/models/file_versions.rb +75 -73
- data/lib/aspose-email-cloud/models/files_list.rb +75 -73
- data/lib/aspose-email-cloud/models/files_upload_result.rb +90 -86
- data/lib/aspose-email-cloud/models/hierarchical_object.rb +13 -7
- data/lib/aspose-email-cloud/models/hierarchical_object_request.rb +91 -87
- data/lib/aspose-email-cloud/models/hierarchical_object_response.rb +86 -82
- data/lib/aspose-email-cloud/models/indexed_hierarchical_object.rb +17 -9
- data/lib/aspose-email-cloud/models/indexed_primitive_object.rb +17 -9
- data/lib/aspose-email-cloud/models/link.rb +112 -104
- data/lib/aspose-email-cloud/models/list_response_of_ai_bcr_ocr_data.rb +211 -0
- data/lib/aspose-email-cloud/models/list_response_of_ai_name_component.rb +211 -0
- data/lib/aspose-email-cloud/models/list_response_of_ai_name_extracted.rb +211 -0
- data/lib/aspose-email-cloud/models/list_response_of_ai_name_gender_hypothesis.rb +211 -0
- data/lib/aspose-email-cloud/models/list_response_of_hierarchical_object.rb +211 -0
- data/lib/aspose-email-cloud/models/list_response_of_hierarchical_object_response.rb +74 -71
- data/lib/aspose-email-cloud/models/list_response_of_mail_server_folder.rb +74 -71
- data/lib/aspose-email-cloud/models/list_response_of_storage_file_location.rb +211 -0
- data/lib/aspose-email-cloud/models/list_response_of_string.rb +74 -71
- data/lib/aspose-email-cloud/models/mail_server_folder.rb +86 -82
- data/lib/aspose-email-cloud/models/mime_response.rb +73 -71
- data/lib/aspose-email-cloud/models/object_exist.rb +96 -92
- data/lib/aspose-email-cloud/models/primitive_object.rb +13 -7
- data/lib/aspose-email-cloud/models/requests/add_calendar_attachment_request_data.rb +4 -4
- data/lib/aspose-email-cloud/models/requests/add_contact_attachment_request_data.rb +6 -11
- data/lib/aspose-email-cloud/models/requests/add_email_attachment_request_data.rb +4 -4
- data/lib/aspose-email-cloud/models/requests/add_mapi_attachment_request_data.rb +4 -4
- data/lib/aspose-email-cloud/models/requests/ai_bcr_ocr_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/ai_bcr_ocr_storage_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/ai_bcr_parse_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/ai_bcr_parse_storage_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_complete_request_data.rb +91 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_expand_parsed_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_expand_request_data.rb +91 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_format_parsed_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_format_request_data.rb +94 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_genderize_parsed_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_genderize_request_data.rb +91 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_match_parsed_request_data.rb +75 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_match_request_data.rb +99 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_parse_email_address_request_data.rb +91 -0
- data/lib/aspose-email-cloud/models/requests/ai_name_parse_request_data.rb +91 -0
- data/lib/aspose-email-cloud/models/requests/append_email_message_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/append_mime_message_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/copy_file_request_data.rb +5 -5
- data/lib/aspose-email-cloud/models/requests/copy_folder_request_data.rb +4 -4
- data/lib/aspose-email-cloud/models/requests/create_calendar_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/requests/create_contact_request_data.rb +5 -10
- data/lib/aspose-email-cloud/models/requests/create_email_folder_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/create_email_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/requests/create_folder_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/create_mapi_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/requests/delete_calendar_property_request_data.rb +5 -5
- data/lib/aspose-email-cloud/models/requests/delete_contact_property_request_data.rb +7 -12
- data/lib/aspose-email-cloud/models/requests/delete_email_folder_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/delete_email_message_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/delete_file_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/requests/delete_folder_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/requests/delete_mapi_attachment_request_data.rb +4 -4
- data/lib/aspose-email-cloud/models/requests/delete_mapi_properties_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/requests/download_file_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/requests/fetch_email_message_request_data.rb +7 -7
- data/lib/aspose-email-cloud/models/requests/get_calendar_attachment_request_data.rb +5 -5
- data/lib/aspose-email-cloud/models/requests/get_calendar_list_request_data.rb +5 -5
- data/lib/aspose-email-cloud/models/requests/get_calendar_request_data.rb +4 -4
- data/lib/aspose-email-cloud/models/requests/get_contact_attachment_request_data.rb +7 -12
- data/lib/aspose-email-cloud/models/requests/get_contact_list_request_data.rb +7 -12
- data/lib/aspose-email-cloud/models/requests/get_contact_properties_request_data.rb +6 -11
- data/lib/aspose-email-cloud/models/requests/get_disc_usage_request_data.rb +1 -1
- data/lib/aspose-email-cloud/models/requests/get_email_attachment_request_data.rb +5 -5
- data/lib/aspose-email-cloud/models/requests/get_email_property_request_data.rb +5 -5
- data/lib/aspose-email-cloud/models/requests/get_email_request_data.rb +4 -4
- data/lib/aspose-email-cloud/models/requests/get_file_versions_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/get_files_list_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/get_mapi_attachment_request_data.rb +5 -5
- data/lib/aspose-email-cloud/models/requests/get_mapi_attachments_request_data.rb +4 -4
- data/lib/aspose-email-cloud/models/requests/get_mapi_list_request_data.rb +5 -5
- data/lib/aspose-email-cloud/models/requests/get_mapi_properties_request_data.rb +4 -4
- data/lib/aspose-email-cloud/models/requests/list_email_folders_request_data.rb +7 -7
- data/lib/aspose-email-cloud/models/requests/list_email_messages_request_data.rb +10 -10
- data/lib/aspose-email-cloud/models/requests/move_file_request_data.rb +5 -5
- data/lib/aspose-email-cloud/models/requests/move_folder_request_data.rb +4 -4
- data/lib/aspose-email-cloud/models/requests/object_exists_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/requests/save_mail_account_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/save_mail_o_auth_account_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/send_email_mime_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/send_email_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/set_email_property_request_data.rb +5 -5
- data/lib/aspose-email-cloud/models/requests/set_email_read_flag_request_data.rb +2 -2
- data/lib/aspose-email-cloud/models/requests/storage_exists_request_data.rb +1 -1
- data/lib/aspose-email-cloud/models/requests/update_calendar_properties_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/requests/update_contact_properties_request_data.rb +5 -10
- data/lib/aspose-email-cloud/models/requests/update_mapi_properties_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/requests/upload_file_request_data.rb +3 -3
- data/lib/aspose-email-cloud/models/save_email_account_request.rb +294 -240
- data/lib/aspose-email-cloud/models/save_o_auth_email_account_request.rb +368 -310
- data/lib/aspose-email-cloud/models/send_email_base_request.rb +141 -130
- data/lib/aspose-email-cloud/models/send_email_mime_base_request.rb +160 -149
- data/lib/aspose-email-cloud/models/set_email_property_request.rb +91 -87
- data/lib/aspose-email-cloud/models/set_message_read_flag_account_base_request.rb +178 -165
- data/lib/aspose-email-cloud/models/storage_exist.rb +78 -76
- data/lib/aspose-email-cloud/models/storage_file.rb +135 -125
- data/lib/aspose-email-cloud/models/storage_file_location.rb +123 -117
- data/lib/aspose-email-cloud/models/storage_folder_location.rb +86 -82
- data/lib/aspose-email-cloud/models/value_response.rb +73 -71
- data/lib/aspose-email-cloud/version.rb +1 -1
- metadata +45 -3
- data/lib/aspose-email-cloud/models/contact_format.rb +0 -45
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d31a692ef9f2f963c38dc34d7d541109cd01e0a9e7fa098b408a0458fb36af66
|
4
|
+
data.tar.gz: 15c95c328ea2a662394a3004ef01d70c1b4a0e3257b3da3ad02deed707c7fccb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0265de083457e840ffbc51cd9a2d496c6102df8b011fcac202638565aa3f176fcd4a1a8984597d081cabc1474f96912890279f560ebc598bbc3127f5ed7713a
|
7
|
+
data.tar.gz: 19803109d67c19664b2bf8e8ceea1750b5ff9ae22b18d291c14f4fb0e09bec433364026abcf2471ba7cd8fa36ae51a27b19218eb9697e3893ef2aa1c11155d04
|
data/lib/aspose-email-cloud.rb
CHANGED
@@ -33,8 +33,23 @@ require_relative './aspose-email-cloud/configuration'
|
|
33
33
|
# Models
|
34
34
|
require_relative './aspose-email-cloud/models/account_base_request'
|
35
35
|
require_relative './aspose-email-cloud/models/add_attachment_request'
|
36
|
+
require_relative './aspose-email-cloud/models/ai_bcr_image'
|
37
|
+
require_relative './aspose-email-cloud/models/ai_bcr_ocr_data'
|
38
|
+
require_relative './aspose-email-cloud/models/ai_bcr_ocr_data_part'
|
39
|
+
require_relative './aspose-email-cloud/models/ai_bcr_options'
|
40
|
+
require_relative './aspose-email-cloud/models/ai_bcr_rq'
|
41
|
+
require_relative './aspose-email-cloud/models/ai_name_component'
|
42
|
+
require_relative './aspose-email-cloud/models/ai_name_cultural_context'
|
43
|
+
require_relative './aspose-email-cloud/models/ai_name_extracted'
|
44
|
+
require_relative './aspose-email-cloud/models/ai_name_extracted_component'
|
45
|
+
require_relative './aspose-email-cloud/models/ai_name_formatted'
|
46
|
+
require_relative './aspose-email-cloud/models/ai_name_gender_hypothesis'
|
47
|
+
require_relative './aspose-email-cloud/models/ai_name_match_result'
|
48
|
+
require_relative './aspose-email-cloud/models/ai_name_mismatch'
|
49
|
+
require_relative './aspose-email-cloud/models/ai_name_parsed_rq'
|
50
|
+
require_relative './aspose-email-cloud/models/ai_name_weighted'
|
51
|
+
require_relative './aspose-email-cloud/models/ai_name_weighted_variants'
|
36
52
|
require_relative './aspose-email-cloud/models/base_object'
|
37
|
-
require_relative './aspose-email-cloud/models/contact_format'
|
38
53
|
require_relative './aspose-email-cloud/models/create_email_request'
|
39
54
|
require_relative './aspose-email-cloud/models/disc_usage'
|
40
55
|
require_relative './aspose-email-cloud/models/email_account_request'
|
@@ -51,8 +66,14 @@ require_relative './aspose-email-cloud/models/files_upload_result'
|
|
51
66
|
require_relative './aspose-email-cloud/models/hierarchical_object_request'
|
52
67
|
require_relative './aspose-email-cloud/models/hierarchical_object_response'
|
53
68
|
require_relative './aspose-email-cloud/models/link'
|
69
|
+
require_relative './aspose-email-cloud/models/list_response_of_ai_bcr_ocr_data'
|
70
|
+
require_relative './aspose-email-cloud/models/list_response_of_ai_name_component'
|
71
|
+
require_relative './aspose-email-cloud/models/list_response_of_ai_name_extracted'
|
72
|
+
require_relative './aspose-email-cloud/models/list_response_of_ai_name_gender_hypothesis'
|
73
|
+
require_relative './aspose-email-cloud/models/list_response_of_hierarchical_object'
|
54
74
|
require_relative './aspose-email-cloud/models/list_response_of_hierarchical_object_response'
|
55
75
|
require_relative './aspose-email-cloud/models/list_response_of_mail_server_folder'
|
76
|
+
require_relative './aspose-email-cloud/models/list_response_of_storage_file_location'
|
56
77
|
require_relative './aspose-email-cloud/models/list_response_of_string'
|
57
78
|
require_relative './aspose-email-cloud/models/mail_server_folder'
|
58
79
|
require_relative './aspose-email-cloud/models/mime_response'
|
@@ -62,6 +83,11 @@ require_relative './aspose-email-cloud/models/storage_exist'
|
|
62
83
|
require_relative './aspose-email-cloud/models/storage_file'
|
63
84
|
require_relative './aspose-email-cloud/models/storage_folder_location'
|
64
85
|
require_relative './aspose-email-cloud/models/value_response'
|
86
|
+
require_relative './aspose-email-cloud/models/ai_bcr_base64_image'
|
87
|
+
require_relative './aspose-email-cloud/models/ai_bcr_base64_rq'
|
88
|
+
require_relative './aspose-email-cloud/models/ai_bcr_image_storage_file'
|
89
|
+
require_relative './aspose-email-cloud/models/ai_bcr_storage_image_rq'
|
90
|
+
require_relative './aspose-email-cloud/models/ai_name_parsed_match_rq'
|
65
91
|
require_relative './aspose-email-cloud/models/append_email_account_base_request'
|
66
92
|
require_relative './aspose-email-cloud/models/create_folder_base_request'
|
67
93
|
require_relative './aspose-email-cloud/models/delete_folder_base_request'
|
@@ -77,6 +103,7 @@ require_relative './aspose-email-cloud/models/send_email_base_request'
|
|
77
103
|
require_relative './aspose-email-cloud/models/send_email_mime_base_request'
|
78
104
|
require_relative './aspose-email-cloud/models/set_message_read_flag_account_base_request'
|
79
105
|
require_relative './aspose-email-cloud/models/storage_file_location'
|
106
|
+
require_relative './aspose-email-cloud/models/ai_bcr_parse_storage_rq'
|
80
107
|
require_relative './aspose-email-cloud/models/append_email_base_request'
|
81
108
|
require_relative './aspose-email-cloud/models/append_email_mime_base_request'
|
82
109
|
|
@@ -89,6 +116,21 @@ require_relative './aspose-email-cloud/models/requests/add_calendar_attachment_r
|
|
89
116
|
require_relative './aspose-email-cloud/models/requests/add_contact_attachment_request_data.rb'
|
90
117
|
require_relative './aspose-email-cloud/models/requests/add_email_attachment_request_data.rb'
|
91
118
|
require_relative './aspose-email-cloud/models/requests/add_mapi_attachment_request_data.rb'
|
119
|
+
require_relative './aspose-email-cloud/models/requests/ai_bcr_ocr_request_data.rb'
|
120
|
+
require_relative './aspose-email-cloud/models/requests/ai_bcr_ocr_storage_request_data.rb'
|
121
|
+
require_relative './aspose-email-cloud/models/requests/ai_bcr_parse_request_data.rb'
|
122
|
+
require_relative './aspose-email-cloud/models/requests/ai_bcr_parse_storage_request_data.rb'
|
123
|
+
require_relative './aspose-email-cloud/models/requests/ai_name_complete_request_data.rb'
|
124
|
+
require_relative './aspose-email-cloud/models/requests/ai_name_expand_parsed_request_data.rb'
|
125
|
+
require_relative './aspose-email-cloud/models/requests/ai_name_expand_request_data.rb'
|
126
|
+
require_relative './aspose-email-cloud/models/requests/ai_name_format_parsed_request_data.rb'
|
127
|
+
require_relative './aspose-email-cloud/models/requests/ai_name_format_request_data.rb'
|
128
|
+
require_relative './aspose-email-cloud/models/requests/ai_name_genderize_parsed_request_data.rb'
|
129
|
+
require_relative './aspose-email-cloud/models/requests/ai_name_genderize_request_data.rb'
|
130
|
+
require_relative './aspose-email-cloud/models/requests/ai_name_match_parsed_request_data.rb'
|
131
|
+
require_relative './aspose-email-cloud/models/requests/ai_name_match_request_data.rb'
|
132
|
+
require_relative './aspose-email-cloud/models/requests/ai_name_parse_email_address_request_data.rb'
|
133
|
+
require_relative './aspose-email-cloud/models/requests/ai_name_parse_request_data.rb'
|
92
134
|
require_relative './aspose-email-cloud/models/requests/append_email_message_request_data.rb'
|
93
135
|
require_relative './aspose-email-cloud/models/requests/append_mime_message_request_data.rb'
|
94
136
|
require_relative './aspose-email-cloud/models/requests/copy_file_request_data.rb'
|
@@ -42,8 +42,8 @@ module AsposeEmailCloud
|
|
42
42
|
@api_client = ApiClient.new(app_key, app_sid, base_url, api_version, debug)
|
43
43
|
end
|
44
44
|
|
45
|
-
# Adds an attachment to iCalendar file
|
46
|
-
# @param [
|
45
|
+
# Adds an attachment to iCalendar file
|
46
|
+
# @param [AddCalendarAttachmentRequestData] request Request object.
|
47
47
|
# @return [nil]
|
48
48
|
def add_calendar_attachment(request)
|
49
49
|
http_request = request.to_http_info(@api_client)
|
@@ -51,8 +51,8 @@ module AsposeEmailCloud
|
|
51
51
|
nil
|
52
52
|
end
|
53
53
|
|
54
|
-
# Add attachment to contact document
|
55
|
-
# @param [
|
54
|
+
# Add attachment to contact document
|
55
|
+
# @param [AddContactAttachmentRequestData] request Request object.
|
56
56
|
# @return [nil]
|
57
57
|
def add_contact_attachment(request)
|
58
58
|
http_request = request.to_http_info(@api_client)
|
@@ -60,16 +60,16 @@ module AsposeEmailCloud
|
|
60
60
|
nil
|
61
61
|
end
|
62
62
|
|
63
|
-
# Adds an attachment to Email document
|
64
|
-
# @param [
|
63
|
+
# Adds an attachment to Email document
|
64
|
+
# @param [AddEmailAttachmentRequestData] request Request object.
|
65
65
|
# @return [EmailDocumentResponse]
|
66
66
|
def add_email_attachment(request)
|
67
67
|
http_request = request.to_http_info(@api_client)
|
68
68
|
make_request(http_request, :POST, 'EmailDocumentResponse')
|
69
69
|
end
|
70
70
|
|
71
|
-
# Add attachment to document
|
72
|
-
# @param [
|
71
|
+
# Add attachment to document
|
72
|
+
# @param [AddMapiAttachmentRequestData] request Request object.
|
73
73
|
# @return [nil]
|
74
74
|
def add_mapi_attachment(request)
|
75
75
|
http_request = request.to_http_info(@api_client)
|
@@ -77,16 +77,136 @@ module AsposeEmailCloud
|
|
77
77
|
nil
|
78
78
|
end
|
79
79
|
|
80
|
-
#
|
81
|
-
# @param [
|
80
|
+
# Ocr images
|
81
|
+
# @param [AiBcrOcrRequestData] request Request object.
|
82
|
+
# @return [ListResponseOfAiBcrOcrData]
|
83
|
+
def ai_bcr_ocr(request)
|
84
|
+
http_request = request.to_http_info(@api_client)
|
85
|
+
make_request(http_request, :POST, 'ListResponseOfAiBcrOcrData')
|
86
|
+
end
|
87
|
+
|
88
|
+
# Ocr images from storage
|
89
|
+
# @param [AiBcrOcrStorageRequestData] request Request object.
|
90
|
+
# @return [ListResponseOfAiBcrOcrData]
|
91
|
+
def ai_bcr_ocr_storage(request)
|
92
|
+
http_request = request.to_http_info(@api_client)
|
93
|
+
make_request(http_request, :POST, 'ListResponseOfAiBcrOcrData')
|
94
|
+
end
|
95
|
+
|
96
|
+
# Parse images to vCard properties
|
97
|
+
# @param [AiBcrParseRequestData] request Request object.
|
98
|
+
# @return [ListResponseOfHierarchicalObject]
|
99
|
+
def ai_bcr_parse(request)
|
100
|
+
http_request = request.to_http_info(@api_client)
|
101
|
+
make_request(http_request, :POST, 'ListResponseOfHierarchicalObject')
|
102
|
+
end
|
103
|
+
|
104
|
+
# Parse images from storage to vCard files
|
105
|
+
# @param [AiBcrParseStorageRequestData] request Request object.
|
106
|
+
# @return [ListResponseOfStorageFileLocation]
|
107
|
+
def ai_bcr_parse_storage(request)
|
108
|
+
http_request = request.to_http_info(@api_client)
|
109
|
+
make_request(http_request, :POST, 'ListResponseOfStorageFileLocation')
|
110
|
+
end
|
111
|
+
|
112
|
+
# The call proposes k most probable names for given starting characters
|
113
|
+
# @param [AiNameCompleteRequestData] request Request object.
|
114
|
+
# @return [AiNameWeightedVariants]
|
115
|
+
def ai_name_complete(request)
|
116
|
+
http_request = request.to_http_info(@api_client)
|
117
|
+
make_request(http_request, :GET, 'AiNameWeightedVariants')
|
118
|
+
end
|
119
|
+
|
120
|
+
# Expands a person's name into a list of possible alternatives using options for expanding instructions
|
121
|
+
# @param [AiNameExpandRequestData] request Request object.
|
122
|
+
# @return [AiNameWeightedVariants]
|
123
|
+
def ai_name_expand(request)
|
124
|
+
http_request = request.to_http_info(@api_client)
|
125
|
+
make_request(http_request, :GET, 'AiNameWeightedVariants')
|
126
|
+
end
|
127
|
+
|
128
|
+
# Expands a person's parsed name into a list of possible alternatives using options for expanding instructions
|
129
|
+
# @param [AiNameExpandParsedRequestData] request Request object.
|
130
|
+
# @return [AiNameWeightedVariants]
|
131
|
+
def ai_name_expand_parsed(request)
|
132
|
+
http_request = request.to_http_info(@api_client)
|
133
|
+
make_request(http_request, :POST, 'AiNameWeightedVariants')
|
134
|
+
end
|
135
|
+
|
136
|
+
# Formats a person's name in correct case and name order using options for formatting instructions
|
137
|
+
# @param [AiNameFormatRequestData] request Request object.
|
138
|
+
# @return [AiNameFormatted]
|
139
|
+
def ai_name_format(request)
|
140
|
+
http_request = request.to_http_info(@api_client)
|
141
|
+
make_request(http_request, :GET, 'AiNameFormatted')
|
142
|
+
end
|
143
|
+
|
144
|
+
# Formats a person's parsed name in correct case and name order using options for formatting instructions
|
145
|
+
# @param [AiNameFormatParsedRequestData] request Request object.
|
146
|
+
# @return [AiNameFormatted]
|
147
|
+
def ai_name_format_parsed(request)
|
148
|
+
http_request = request.to_http_info(@api_client)
|
149
|
+
make_request(http_request, :POST, 'AiNameFormatted')
|
150
|
+
end
|
151
|
+
|
152
|
+
# Detect person's gender from name string
|
153
|
+
# @param [AiNameGenderizeRequestData] request Request object.
|
154
|
+
# @return [ListResponseOfAiNameGenderHypothesis]
|
155
|
+
def ai_name_genderize(request)
|
156
|
+
http_request = request.to_http_info(@api_client)
|
157
|
+
make_request(http_request, :GET, 'ListResponseOfAiNameGenderHypothesis')
|
158
|
+
end
|
159
|
+
|
160
|
+
# Detect person's gender from parsed name
|
161
|
+
# @param [AiNameGenderizeParsedRequestData] request Request object.
|
162
|
+
# @return [ListResponseOfAiNameGenderHypothesis]
|
163
|
+
def ai_name_genderize_parsed(request)
|
164
|
+
http_request = request.to_http_info(@api_client)
|
165
|
+
make_request(http_request, :POST, 'ListResponseOfAiNameGenderHypothesis')
|
166
|
+
end
|
167
|
+
|
168
|
+
# Compare people's names. Uses options for comparing instructions
|
169
|
+
# @param [AiNameMatchRequestData] request Request object.
|
170
|
+
# @return [AiNameMatchResult]
|
171
|
+
def ai_name_match(request)
|
172
|
+
http_request = request.to_http_info(@api_client)
|
173
|
+
make_request(http_request, :GET, 'AiNameMatchResult')
|
174
|
+
end
|
175
|
+
|
176
|
+
# Compare people's parsed names and attributes. Uses options for comparing instructions
|
177
|
+
# @param [AiNameMatchParsedRequestData] request Request object.
|
178
|
+
# @return [AiNameMatchResult]
|
179
|
+
def ai_name_match_parsed(request)
|
180
|
+
http_request = request.to_http_info(@api_client)
|
181
|
+
make_request(http_request, :POST, 'AiNameMatchResult')
|
182
|
+
end
|
183
|
+
|
184
|
+
# Parse name to components
|
185
|
+
# @param [AiNameParseRequestData] request Request object.
|
186
|
+
# @return [ListResponseOfAiNameComponent]
|
187
|
+
def ai_name_parse(request)
|
188
|
+
http_request = request.to_http_info(@api_client)
|
189
|
+
make_request(http_request, :GET, 'ListResponseOfAiNameComponent')
|
190
|
+
end
|
191
|
+
|
192
|
+
# Parse person's name out of an email address
|
193
|
+
# @param [AiNameParseEmailAddressRequestData] request Request object.
|
194
|
+
# @return [ListResponseOfAiNameExtracted]
|
195
|
+
def ai_name_parse_email_address(request)
|
196
|
+
http_request = request.to_http_info(@api_client)
|
197
|
+
make_request(http_request, :GET, 'ListResponseOfAiNameExtracted')
|
198
|
+
end
|
199
|
+
|
200
|
+
# Adds an email from *.eml file to specified folder in email account
|
201
|
+
# @param [AppendEmailMessageRequestData] request Request object.
|
82
202
|
# @return [EmailPropertyResponse]
|
83
203
|
def append_email_message(request)
|
84
204
|
http_request = request.to_http_info(@api_client)
|
85
205
|
make_request(http_request, :PUT, 'EmailPropertyResponse')
|
86
206
|
end
|
87
207
|
|
88
|
-
# Adds an email from MIME to specified folder in email account
|
89
|
-
# @param [
|
208
|
+
# Adds an email from MIME to specified folder in email account
|
209
|
+
# @param [AppendMimeMessageRequestData] request Request object.
|
90
210
|
# @return [ValueResponse]
|
91
211
|
def append_mime_message(request)
|
92
212
|
http_request = request.to_http_info(@api_client)
|
@@ -94,7 +214,7 @@ module AsposeEmailCloud
|
|
94
214
|
end
|
95
215
|
|
96
216
|
# Copy file
|
97
|
-
# @param [
|
217
|
+
# @param [CopyFileRequestData] request Request object.
|
98
218
|
# @return [nil]
|
99
219
|
def copy_file(request)
|
100
220
|
http_request = request.to_http_info(@api_client)
|
@@ -103,7 +223,7 @@ module AsposeEmailCloud
|
|
103
223
|
end
|
104
224
|
|
105
225
|
# Copy folder
|
106
|
-
# @param [
|
226
|
+
# @param [CopyFolderRequestData] request Request object.
|
107
227
|
# @return [nil]
|
108
228
|
def copy_folder(request)
|
109
229
|
http_request = request.to_http_info(@api_client)
|
@@ -111,8 +231,8 @@ module AsposeEmailCloud
|
|
111
231
|
nil
|
112
232
|
end
|
113
233
|
|
114
|
-
# Create calendar file
|
115
|
-
# @param [
|
234
|
+
# Create calendar file
|
235
|
+
# @param [CreateCalendarRequestData] request Request object.
|
116
236
|
# @return [nil]
|
117
237
|
def create_calendar(request)
|
118
238
|
http_request = request.to_http_info(@api_client)
|
@@ -120,8 +240,8 @@ module AsposeEmailCloud
|
|
120
240
|
nil
|
121
241
|
end
|
122
242
|
|
123
|
-
# Create contact document
|
124
|
-
# @param [
|
243
|
+
# Create contact document
|
244
|
+
# @param [CreateContactRequestData] request Request object.
|
125
245
|
# @return [nil]
|
126
246
|
def create_contact(request)
|
127
247
|
http_request = request.to_http_info(@api_client)
|
@@ -129,16 +249,16 @@ module AsposeEmailCloud
|
|
129
249
|
nil
|
130
250
|
end
|
131
251
|
|
132
|
-
# Create an email document
|
133
|
-
# @param [
|
252
|
+
# Create an email document
|
253
|
+
# @param [CreateEmailRequestData] request Request object.
|
134
254
|
# @return [EmailDocumentResponse]
|
135
255
|
def create_email(request)
|
136
256
|
http_request = request.to_http_info(@api_client)
|
137
257
|
make_request(http_request, :PUT, 'EmailDocumentResponse')
|
138
258
|
end
|
139
259
|
|
140
|
-
# Create new folder in email account
|
141
|
-
# @param [
|
260
|
+
# Create new folder in email account
|
261
|
+
# @param [CreateEmailFolderRequestData] request Request object.
|
142
262
|
# @return [nil]
|
143
263
|
def create_email_folder(request)
|
144
264
|
http_request = request.to_http_info(@api_client)
|
@@ -147,7 +267,7 @@ module AsposeEmailCloud
|
|
147
267
|
end
|
148
268
|
|
149
269
|
# Create the folder
|
150
|
-
# @param [
|
270
|
+
# @param [CreateFolderRequestData] request Request object.
|
151
271
|
# @return [nil]
|
152
272
|
def create_folder(request)
|
153
273
|
http_request = request.to_http_info(@api_client)
|
@@ -155,8 +275,8 @@ module AsposeEmailCloud
|
|
155
275
|
nil
|
156
276
|
end
|
157
277
|
|
158
|
-
# Create new document
|
159
|
-
# @param [
|
278
|
+
# Create new document
|
279
|
+
# @param [CreateMapiRequestData] request Request object.
|
160
280
|
# @return [nil]
|
161
281
|
def create_mapi(request)
|
162
282
|
http_request = request.to_http_info(@api_client)
|
@@ -164,8 +284,8 @@ module AsposeEmailCloud
|
|
164
284
|
nil
|
165
285
|
end
|
166
286
|
|
167
|
-
# Deletes indexed property by index and name. To delete Reminder attachment, use path ReminderAttachment/{ReminderIndex}/{AttachmentIndex}
|
168
|
-
# @param [
|
287
|
+
# Deletes indexed property by index and name. To delete Reminder attachment, use path ReminderAttachment/{ReminderIndex}/{AttachmentIndex}
|
288
|
+
# @param [DeleteCalendarPropertyRequestData] request Request object.
|
169
289
|
# @return [nil]
|
170
290
|
def delete_calendar_property(request)
|
171
291
|
http_request = request.to_http_info(@api_client)
|
@@ -173,8 +293,8 @@ module AsposeEmailCloud
|
|
173
293
|
nil
|
174
294
|
end
|
175
295
|
|
176
|
-
# Delete property from indexed property list
|
177
|
-
# @param [
|
296
|
+
# Delete property from indexed property list
|
297
|
+
# @param [DeleteContactPropertyRequestData] request Request object.
|
178
298
|
# @return [nil]
|
179
299
|
def delete_contact_property(request)
|
180
300
|
http_request = request.to_http_info(@api_client)
|
@@ -182,8 +302,8 @@ module AsposeEmailCloud
|
|
182
302
|
nil
|
183
303
|
end
|
184
304
|
|
185
|
-
# Delete a folder in email account
|
186
|
-
# @param [
|
305
|
+
# Delete a folder in email account
|
306
|
+
# @param [DeleteEmailFolderRequestData] request Request object.
|
187
307
|
# @return [nil]
|
188
308
|
def delete_email_folder(request)
|
189
309
|
http_request = request.to_http_info(@api_client)
|
@@ -191,8 +311,8 @@ module AsposeEmailCloud
|
|
191
311
|
nil
|
192
312
|
end
|
193
313
|
|
194
|
-
# Delete message from email account by id
|
195
|
-
# @param [
|
314
|
+
# Delete message from email account by id
|
315
|
+
# @param [DeleteEmailMessageRequestData] request Request object.
|
196
316
|
# @return [nil]
|
197
317
|
def delete_email_message(request)
|
198
318
|
http_request = request.to_http_info(@api_client)
|
@@ -201,7 +321,7 @@ module AsposeEmailCloud
|
|
201
321
|
end
|
202
322
|
|
203
323
|
# Delete file
|
204
|
-
# @param [
|
324
|
+
# @param [DeleteFileRequestData] request Request object.
|
205
325
|
# @return [nil]
|
206
326
|
def delete_file(request)
|
207
327
|
http_request = request.to_http_info(@api_client)
|
@@ -210,7 +330,7 @@ module AsposeEmailCloud
|
|
210
330
|
end
|
211
331
|
|
212
332
|
# Delete folder
|
213
|
-
# @param [
|
333
|
+
# @param [DeleteFolderRequestData] request Request object.
|
214
334
|
# @return [nil]
|
215
335
|
def delete_folder(request)
|
216
336
|
http_request = request.to_http_info(@api_client)
|
@@ -218,8 +338,8 @@ module AsposeEmailCloud
|
|
218
338
|
nil
|
219
339
|
end
|
220
340
|
|
221
|
-
# Remove attachment from document
|
222
|
-
# @param [
|
341
|
+
# Remove attachment from document
|
342
|
+
# @param [DeleteMapiAttachmentRequestData] request Request object.
|
223
343
|
# @return [nil]
|
224
344
|
def delete_mapi_attachment(request)
|
225
345
|
http_request = request.to_http_info(@api_client)
|
@@ -227,8 +347,8 @@ module AsposeEmailCloud
|
|
227
347
|
nil
|
228
348
|
end
|
229
349
|
|
230
|
-
# Delete document properties
|
231
|
-
# @param [
|
350
|
+
# Delete document properties
|
351
|
+
# @param [DeleteMapiPropertiesRequestData] request Request object.
|
232
352
|
# @return [nil]
|
233
353
|
def delete_mapi_properties(request)
|
234
354
|
http_request = request.to_http_info(@api_client)
|
@@ -237,63 +357,63 @@ module AsposeEmailCloud
|
|
237
357
|
end
|
238
358
|
|
239
359
|
# Download file
|
240
|
-
# @param [
|
360
|
+
# @param [DownloadFileRequestData] request Request object.
|
241
361
|
# @return [File]
|
242
362
|
def download_file(request)
|
243
363
|
http_request = request.to_http_info(@api_client)
|
244
364
|
make_request(http_request, :GET, 'File')
|
245
365
|
end
|
246
366
|
|
247
|
-
# Fetch message mime from email account
|
248
|
-
# @param [
|
367
|
+
# Fetch message mime from email account
|
368
|
+
# @param [FetchEmailMessageRequestData] request Request object.
|
249
369
|
# @return [MimeResponse]
|
250
370
|
def fetch_email_message(request)
|
251
371
|
http_request = request.to_http_info(@api_client)
|
252
372
|
make_request(http_request, :GET, 'MimeResponse')
|
253
373
|
end
|
254
374
|
|
255
|
-
# Get calendar file properties
|
256
|
-
# @param [
|
375
|
+
# Get calendar file properties
|
376
|
+
# @param [GetCalendarRequestData] request Request object.
|
257
377
|
# @return [HierarchicalObject]
|
258
378
|
def get_calendar(request)
|
259
379
|
http_request = request.to_http_info(@api_client)
|
260
380
|
make_request(http_request, :GET, 'HierarchicalObject')
|
261
381
|
end
|
262
382
|
|
263
|
-
# Get iCalendar document attachment by name
|
264
|
-
# @param [
|
383
|
+
# Get iCalendar document attachment by name
|
384
|
+
# @param [GetCalendarAttachmentRequestData] request Request object.
|
265
385
|
# @return [File]
|
266
386
|
def get_calendar_attachment(request)
|
267
387
|
http_request = request.to_http_info(@api_client)
|
268
388
|
make_request(http_request, :GET, 'File')
|
269
389
|
end
|
270
390
|
|
271
|
-
# Get iCalendar files list in folder on storage
|
272
|
-
# @param [
|
391
|
+
# Get iCalendar files list in folder on storage
|
392
|
+
# @param [GetCalendarListRequestData] request Request object.
|
273
393
|
# @return [ListResponseOfHierarchicalObjectResponse]
|
274
394
|
def get_calendar_list(request)
|
275
395
|
http_request = request.to_http_info(@api_client)
|
276
396
|
make_request(http_request, :GET, 'ListResponseOfHierarchicalObjectResponse')
|
277
397
|
end
|
278
398
|
|
279
|
-
# Get attachment file by name
|
280
|
-
# @param [
|
399
|
+
# Get attachment file by name
|
400
|
+
# @param [GetContactAttachmentRequestData] request Request object.
|
281
401
|
# @return [File]
|
282
402
|
def get_contact_attachment(request)
|
283
403
|
http_request = request.to_http_info(@api_client)
|
284
404
|
make_request(http_request, :GET, 'File')
|
285
405
|
end
|
286
406
|
|
287
|
-
# Get contact list from storage folder
|
288
|
-
# @param [
|
407
|
+
# Get contact list from storage folder
|
408
|
+
# @param [GetContactListRequestData] request Request object.
|
289
409
|
# @return [ListResponseOfHierarchicalObjectResponse]
|
290
410
|
def get_contact_list(request)
|
291
411
|
http_request = request.to_http_info(@api_client)
|
292
412
|
make_request(http_request, :GET, 'ListResponseOfHierarchicalObjectResponse')
|
293
413
|
end
|
294
414
|
|
295
|
-
# Get contact document properties
|
296
|
-
# @param [
|
415
|
+
# Get contact document properties
|
416
|
+
# @param [GetContactPropertiesRequestData] request Request object.
|
297
417
|
# @return [HierarchicalObject]
|
298
418
|
def get_contact_properties(request)
|
299
419
|
http_request = request.to_http_info(@api_client)
|
@@ -301,31 +421,31 @@ module AsposeEmailCloud
|
|
301
421
|
end
|
302
422
|
|
303
423
|
# Get disc usage
|
304
|
-
# @param [
|
424
|
+
# @param [GetDiscUsageRequestData] request Request object.
|
305
425
|
# @return [DiscUsage]
|
306
426
|
def get_disc_usage(request)
|
307
427
|
http_request = request.to_http_info(@api_client)
|
308
428
|
make_request(http_request, :GET, 'DiscUsage')
|
309
429
|
end
|
310
430
|
|
311
|
-
# Get email document
|
312
|
-
# @param [
|
431
|
+
# Get email document
|
432
|
+
# @param [GetEmailRequestData] request Request object.
|
313
433
|
# @return [EmailDocument]
|
314
434
|
def get_email(request)
|
315
435
|
http_request = request.to_http_info(@api_client)
|
316
436
|
make_request(http_request, :GET, 'EmailDocument')
|
317
437
|
end
|
318
438
|
|
319
|
-
# Get email attachment by name
|
320
|
-
# @param [
|
439
|
+
# Get email attachment by name
|
440
|
+
# @param [GetEmailAttachmentRequestData] request Request object.
|
321
441
|
# @return [File]
|
322
442
|
def get_email_attachment(request)
|
323
443
|
http_request = request.to_http_info(@api_client)
|
324
444
|
make_request(http_request, :GET, 'File')
|
325
445
|
end
|
326
446
|
|
327
|
-
# Get an email document property by its name
|
328
|
-
# @param [
|
447
|
+
# Get an email document property by its name
|
448
|
+
# @param [GetEmailPropertyRequestData] request Request object.
|
329
449
|
# @return [EmailPropertyResponse]
|
330
450
|
def get_email_property(request)
|
331
451
|
http_request = request.to_http_info(@api_client)
|
@@ -333,7 +453,7 @@ module AsposeEmailCloud
|
|
333
453
|
end
|
334
454
|
|
335
455
|
# Get file versions
|
336
|
-
# @param [
|
456
|
+
# @param [GetFileVersionsRequestData] request Request object.
|
337
457
|
# @return [FileVersions]
|
338
458
|
def get_file_versions(request)
|
339
459
|
http_request = request.to_http_info(@api_client)
|
@@ -341,56 +461,56 @@ module AsposeEmailCloud
|
|
341
461
|
end
|
342
462
|
|
343
463
|
# Get all files and folders within a folder
|
344
|
-
# @param [
|
464
|
+
# @param [GetFilesListRequestData] request Request object.
|
345
465
|
# @return [FilesList]
|
346
466
|
def get_files_list(request)
|
347
467
|
http_request = request.to_http_info(@api_client)
|
348
468
|
make_request(http_request, :GET, 'FilesList')
|
349
469
|
end
|
350
470
|
|
351
|
-
# Get document attachment as file stream
|
352
|
-
# @param [
|
471
|
+
# Get document attachment as file stream
|
472
|
+
# @param [GetMapiAttachmentRequestData] request Request object.
|
353
473
|
# @return [File]
|
354
474
|
def get_mapi_attachment(request)
|
355
475
|
http_request = request.to_http_info(@api_client)
|
356
476
|
make_request(http_request, :GET, 'File')
|
357
477
|
end
|
358
478
|
|
359
|
-
# Get document attachment list
|
360
|
-
# @param [
|
479
|
+
# Get document attachment list
|
480
|
+
# @param [GetMapiAttachmentsRequestData] request Request object.
|
361
481
|
# @return [ListResponseOfString]
|
362
482
|
def get_mapi_attachments(request)
|
363
483
|
http_request = request.to_http_info(@api_client)
|
364
484
|
make_request(http_request, :GET, 'ListResponseOfString')
|
365
485
|
end
|
366
486
|
|
367
|
-
# Get document list from storage folder
|
368
|
-
# @param [
|
487
|
+
# Get document list from storage folder
|
488
|
+
# @param [GetMapiListRequestData] request Request object.
|
369
489
|
# @return [ListResponseOfHierarchicalObjectResponse]
|
370
490
|
def get_mapi_list(request)
|
371
491
|
http_request = request.to_http_info(@api_client)
|
372
492
|
make_request(http_request, :GET, 'ListResponseOfHierarchicalObjectResponse')
|
373
493
|
end
|
374
494
|
|
375
|
-
# Get document properties
|
376
|
-
# @param [
|
495
|
+
# Get document properties
|
496
|
+
# @param [GetMapiPropertiesRequestData] request Request object.
|
377
497
|
# @return [HierarchicalObjectResponse]
|
378
498
|
def get_mapi_properties(request)
|
379
499
|
http_request = request.to_http_info(@api_client)
|
380
500
|
make_request(http_request, :GET, 'HierarchicalObjectResponse')
|
381
501
|
end
|
382
502
|
|
383
|
-
# Get folders list in email account
|
384
|
-
# @param [
|
503
|
+
# Get folders list in email account
|
504
|
+
# @param [ListEmailFoldersRequestData] request Request object.
|
385
505
|
# @return [ListResponseOfMailServerFolder]
|
386
506
|
def list_email_folders(request)
|
387
507
|
http_request = request.to_http_info(@api_client)
|
388
508
|
make_request(http_request, :GET, 'ListResponseOfMailServerFolder')
|
389
509
|
end
|
390
510
|
|
391
|
-
# Get messages from folder, filtered by query
|
392
|
-
# The query string should have the following view.
|
393
|
-
# @param [
|
511
|
+
# Get messages from folder, filtered by query
|
512
|
+
# The query string should have the following view. The example of a simple expression: '<Field name>' <Comparison operator> '<Field value>', where <Field Name> - the name of a message field through which filtering is made, <Comparison operator> - comparison operators, as their name implies, allow to compare message field and specified value, <Field value> - value to be compared with a message field. The number of simple expressions can make a compound one, ex.: (<Simple expression 1> & <Simple expression 2>) | <Simple expression 3>, where \"&\" - logical-AND operator, \"|\" - logical-OR operator At present the following values are allowed as a field name (<Field name>): \"To\" - represents a TO field of message, \"Text\" - represents string in the header or body of the message, \"Bcc\" - represents a BCC field of message, \"Body\" - represents a string in the body of message, \"Cc\" - represents a CC field of message, \"From\" - represents a From field of message, \"Subject\" - represents a string in the subject of message, \"InternalDate\" - represents an internal date of message, \"SentDate\" - represents a sent date of message Additionally, the following field names are allowed for IMAP-protocol: \"Answered\" - represents an /Answered flag of message \"Seen\" - represents a /Seen flag of message \"Flagged\" - represents a /Flagged flag of message \"Draft\" - represents a /Draft flag of message \"Deleted\" - represents a Deleted/ flag of message \"Recent\" - represents a Deleted/ flag of message \"MessageSize\" - represents a size (in bytes) of message Additionally, the following field names are allowed for Exchange: \"IsRead\" - Indicates whether the message has been read \"HasAttachment\" - Indicates whether or not the message has attachments \"IsSubmitted\" - Indicates whether the message has been submitted to the Outbox \"ContentClass\" - represents a content class of item Additionally, the following field names are allowed for pst/ost files: \"MessageClass\" - Represents a message class \"ContainerClass\" - Represents a folder container class \"Importance\" - Represents a message importance \"MessageSize\" - represents a size (in bytes) of message \"FolderName\" - represents a folder name \"ContentsCount\" - represents a total number of items in the folder \"UnreadContentsCount\" - represents the number of unread items in the folder. \"Subfolders\" - Indicates whether or not the folder has subfolders \"Read\" - the message is marked as having been read \"HasAttachment\" - the message has at least one attachment \"Unsent\" - the message is still being composed \"Unmodified\" - the message has not been modified since it was first saved (if unsent) or it was delivered (if sent) \"FromMe\" - the user receiving the message was also the user who sent the message \"Resend\" - the message includes a request for a resend operation with a non-delivery report \"NotifyRead\" - the user who sent the message has requested notification when a recipient first reads it \"NotifyUnread\" - the user who sent the message has requested notification when a recipient deletes it before reading or the Message object expires \"EverRead\" - the message has been read at least once The field value (<Field value>) can take the following values: For text fields - any string, For date type fields - the string of \"d-MMM-yyy\" format, ex. \"10-Feb-2009\", For flags (fields of boolean type) - either \"True\", or \"False\"
|
513
|
+
# @param [ListEmailMessagesRequestData] request Request object.
|
394
514
|
# @return [ListResponseOfString]
|
395
515
|
def list_email_messages(request)
|
396
516
|
http_request = request.to_http_info(@api_client)
|
@@ -398,7 +518,7 @@ module AsposeEmailCloud
|
|
398
518
|
end
|
399
519
|
|
400
520
|
# Move file
|
401
|
-
# @param [
|
521
|
+
# @param [MoveFileRequestData] request Request object.
|
402
522
|
# @return [nil]
|
403
523
|
def move_file(request)
|
404
524
|
http_request = request.to_http_info(@api_client)
|
@@ -407,7 +527,7 @@ module AsposeEmailCloud
|
|
407
527
|
end
|
408
528
|
|
409
529
|
# Move folder
|
410
|
-
# @param [
|
530
|
+
# @param [MoveFolderRequestData] request Request object.
|
411
531
|
# @return [nil]
|
412
532
|
def move_folder(request)
|
413
533
|
http_request = request.to_http_info(@api_client)
|
@@ -416,15 +536,15 @@ module AsposeEmailCloud
|
|
416
536
|
end
|
417
537
|
|
418
538
|
# Check if file or folder exists
|
419
|
-
# @param [
|
539
|
+
# @param [ObjectExistsRequestData] request Request object.
|
420
540
|
# @return [ObjectExist]
|
421
541
|
def object_exists(request)
|
422
542
|
http_request = request.to_http_info(@api_client)
|
423
543
|
make_request(http_request, :GET, 'ObjectExist')
|
424
544
|
end
|
425
545
|
|
426
|
-
# Create email account file (*.account) with login/password authentication
|
427
|
-
# @param [
|
546
|
+
# Create email account file (*.account) with login/password authentication
|
547
|
+
# @param [SaveMailAccountRequestData] request Request object.
|
428
548
|
# @return [nil]
|
429
549
|
def save_mail_account(request)
|
430
550
|
http_request = request.to_http_info(@api_client)
|
@@ -432,8 +552,8 @@ module AsposeEmailCloud
|
|
432
552
|
nil
|
433
553
|
end
|
434
554
|
|
435
|
-
# Create email account file (*.account) with OAuth
|
436
|
-
# @param [
|
555
|
+
# Create email account file (*.account) with OAuth
|
556
|
+
# @param [SaveMailOAuthAccountRequestData] request Request object.
|
437
557
|
# @return [nil]
|
438
558
|
def save_mail_o_auth_account(request)
|
439
559
|
http_request = request.to_http_info(@api_client)
|
@@ -441,8 +561,8 @@ module AsposeEmailCloud
|
|
441
561
|
nil
|
442
562
|
end
|
443
563
|
|
444
|
-
# Send an email from *.eml file located on storage
|
445
|
-
# @param [
|
564
|
+
# Send an email from *.eml file located on storage
|
565
|
+
# @param [SendEmailRequestData] request Request object.
|
446
566
|
# @return [nil]
|
447
567
|
def send_email(request)
|
448
568
|
http_request = request.to_http_info(@api_client)
|
@@ -450,8 +570,8 @@ module AsposeEmailCloud
|
|
450
570
|
nil
|
451
571
|
end
|
452
572
|
|
453
|
-
# Send an email specified by MIME in request
|
454
|
-
# @param [
|
573
|
+
# Send an email specified by MIME in request
|
574
|
+
# @param [SendEmailMimeRequestData] request Request object.
|
455
575
|
# @return [nil]
|
456
576
|
def send_email_mime(request)
|
457
577
|
http_request = request.to_http_info(@api_client)
|
@@ -459,16 +579,16 @@ module AsposeEmailCloud
|
|
459
579
|
nil
|
460
580
|
end
|
461
581
|
|
462
|
-
# Set email document property value
|
463
|
-
# @param [
|
582
|
+
# Set email document property value
|
583
|
+
# @param [SetEmailPropertyRequestData] request Request object.
|
464
584
|
# @return [EmailPropertyResponse]
|
465
585
|
def set_email_property(request)
|
466
586
|
http_request = request.to_http_info(@api_client)
|
467
587
|
make_request(http_request, :PUT, 'EmailPropertyResponse')
|
468
588
|
end
|
469
589
|
|
470
|
-
# Sets \"Message is read\" flag
|
471
|
-
# @param [
|
590
|
+
# Sets \"Message is read\" flag
|
591
|
+
# @param [SetEmailReadFlagRequestData] request Request object.
|
472
592
|
# @return [nil]
|
473
593
|
def set_email_read_flag(request)
|
474
594
|
http_request = request.to_http_info(@api_client)
|
@@ -477,15 +597,15 @@ module AsposeEmailCloud
|
|
477
597
|
end
|
478
598
|
|
479
599
|
# Check if storage exists
|
480
|
-
# @param [
|
600
|
+
# @param [StorageExistsRequestData] request Request object.
|
481
601
|
# @return [StorageExist]
|
482
602
|
def storage_exists(request)
|
483
603
|
http_request = request.to_http_info(@api_client)
|
484
604
|
make_request(http_request, :GET, 'StorageExist')
|
485
605
|
end
|
486
606
|
|
487
|
-
# Update calendar file properties
|
488
|
-
# @param [
|
607
|
+
# Update calendar file properties
|
608
|
+
# @param [UpdateCalendarPropertiesRequestData] request Request object.
|
489
609
|
# @return [nil]
|
490
610
|
def update_calendar_properties(request)
|
491
611
|
http_request = request.to_http_info(@api_client)
|
@@ -493,8 +613,8 @@ module AsposeEmailCloud
|
|
493
613
|
nil
|
494
614
|
end
|
495
615
|
|
496
|
-
# Update contact document properties
|
497
|
-
# @param [
|
616
|
+
# Update contact document properties
|
617
|
+
# @param [UpdateContactPropertiesRequestData] request Request object.
|
498
618
|
# @return [nil]
|
499
619
|
def update_contact_properties(request)
|
500
620
|
http_request = request.to_http_info(@api_client)
|
@@ -502,8 +622,8 @@ module AsposeEmailCloud
|
|
502
622
|
nil
|
503
623
|
end
|
504
624
|
|
505
|
-
# Update document properties
|
506
|
-
# @param [
|
625
|
+
# Update document properties
|
626
|
+
# @param [UpdateMapiPropertiesRequestData] request Request object.
|
507
627
|
# @return [nil]
|
508
628
|
def update_mapi_properties(request)
|
509
629
|
http_request = request.to_http_info(@api_client)
|
@@ -512,7 +632,7 @@ module AsposeEmailCloud
|
|
512
632
|
end
|
513
633
|
|
514
634
|
# Upload file
|
515
|
-
# @param [
|
635
|
+
# @param [UploadFileRequestData] request Request object.
|
516
636
|
# @return [FilesUploadResult]
|
517
637
|
def upload_file(request)
|
518
638
|
http_request = request.to_http_info(@api_client)
|
@@ -566,7 +686,8 @@ module AsposeEmailCloud
|
|
566
686
|
data = @api_client.call_api(:POST, request_url,
|
567
687
|
header_params: header_params,
|
568
688
|
form_params: form_params,
|
569
|
-
return_type: 'Object'
|
689
|
+
return_type: 'Object',
|
690
|
+
host: @api_client.config.auth_url)
|
570
691
|
access_token = data[0]['access_token'.to_sym]
|
571
692
|
|
572
693
|
@api_client.config.base_path = base_path
|