ElasticEmail 4.0.16 → 4.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ElasticEmail.gemspec +3 -3
- data/README.md +7 -12
- data/VERSION +1 -1
- data/docs/ContactsApi.md +2 -78
- data/docs/EmailsApi.md +1 -1
- data/docs/MessageAttachment.md +1 -1
- data/docs/SuppressionsApi.md +12 -12
- data/docs/VerificationsApi.md +4 -4
- data/lib/ElasticEmail/api/campaigns_api.rb +2 -2
- data/lib/ElasticEmail/api/contacts_api.rb +7 -73
- data/lib/ElasticEmail/api/emails_api.rb +2 -2
- data/lib/ElasticEmail/api/events_api.rb +9 -9
- data/lib/ElasticEmail/api/files_api.rb +2 -2
- data/lib/ElasticEmail/api/inbound_route_api.rb +2 -2
- data/lib/ElasticEmail/api/lists_api.rb +2 -2
- data/lib/ElasticEmail/api/security_api.rb +2 -2
- data/lib/ElasticEmail/api/segments_api.rb +2 -2
- data/lib/ElasticEmail/api/statistics_api.rb +2 -2
- data/lib/ElasticEmail/api/sub_accounts_api.rb +2 -2
- data/lib/ElasticEmail/api/suppressions_api.rb +26 -26
- data/lib/ElasticEmail/api/templates_api.rb +2 -2
- data/lib/ElasticEmail/api/verifications_api.rb +10 -10
- data/lib/ElasticEmail/api_client.rb +5 -3
- data/lib/ElasticEmail/api_error.rb +2 -2
- data/lib/ElasticEmail/configuration.rb +4 -3
- data/lib/ElasticEmail/models/access_level.rb +13 -8
- data/lib/ElasticEmail/models/account_status_enum.rb +8 -6
- data/lib/ElasticEmail/models/api_key.rb +3 -2
- data/lib/ElasticEmail/models/api_key_payload.rb +3 -2
- data/lib/ElasticEmail/models/body_content_type.rb +8 -5
- data/lib/ElasticEmail/models/body_part.rb +3 -2
- data/lib/ElasticEmail/models/campaign.rb +3 -2
- data/lib/ElasticEmail/models/campaign_options.rb +3 -2
- data/lib/ElasticEmail/models/campaign_recipient.rb +3 -2
- data/lib/ElasticEmail/models/campaign_status.rb +8 -5
- data/lib/ElasticEmail/models/campaign_template.rb +3 -2
- data/lib/ElasticEmail/models/channel_log_status_summary.rb +3 -2
- data/lib/ElasticEmail/models/compression_format.rb +8 -5
- data/lib/ElasticEmail/models/consent_data.rb +3 -2
- data/lib/ElasticEmail/models/consent_tracking.rb +8 -5
- data/lib/ElasticEmail/models/contact.rb +3 -2
- data/lib/ElasticEmail/models/contact_activity.rb +3 -2
- data/lib/ElasticEmail/models/contact_hist_event_type.rb +2 -2
- data/lib/ElasticEmail/models/contact_history.rb +3 -2
- data/lib/ElasticEmail/models/contact_payload.rb +3 -2
- data/lib/ElasticEmail/models/contact_source.rb +8 -5
- data/lib/ElasticEmail/models/contact_status.rb +8 -5
- data/lib/ElasticEmail/models/contact_update_payload.rb +3 -2
- data/lib/ElasticEmail/models/contacts_list.rb +3 -2
- data/lib/ElasticEmail/models/delivery_optimization_type.rb +8 -5
- data/lib/ElasticEmail/models/email_content.rb +3 -2
- data/lib/ElasticEmail/models/email_data.rb +3 -2
- data/lib/ElasticEmail/models/email_message_data.rb +3 -2
- data/lib/ElasticEmail/models/email_recipient.rb +3 -2
- data/lib/ElasticEmail/models/email_send.rb +3 -2
- data/lib/ElasticEmail/models/email_status.rb +3 -2
- data/lib/ElasticEmail/models/email_transactional_message_data.rb +3 -2
- data/lib/ElasticEmail/models/email_validation_result.rb +3 -2
- data/lib/ElasticEmail/models/email_validation_status.rb +8 -5
- data/lib/ElasticEmail/models/email_view.rb +3 -2
- data/lib/ElasticEmail/models/emails_payload.rb +3 -2
- data/lib/ElasticEmail/models/encoding_type.rb +8 -5
- data/lib/ElasticEmail/models/event_type.rb +8 -5
- data/lib/ElasticEmail/models/events_order_by.rb +8 -5
- data/lib/ElasticEmail/models/export_file_formats.rb +8 -5
- data/lib/ElasticEmail/models/export_link.rb +3 -2
- data/lib/ElasticEmail/models/export_status.rb +8 -5
- data/lib/ElasticEmail/models/file_info.rb +3 -2
- data/lib/ElasticEmail/models/file_payload.rb +3 -2
- data/lib/ElasticEmail/models/file_upload_result.rb +3 -2
- data/lib/ElasticEmail/models/inbound_payload.rb +3 -2
- data/lib/ElasticEmail/models/inbound_route.rb +3 -2
- data/lib/ElasticEmail/models/inbound_route_action_type.rb +8 -5
- data/lib/ElasticEmail/models/inbound_route_filter_type.rb +8 -5
- data/lib/ElasticEmail/models/list_payload.rb +3 -2
- data/lib/ElasticEmail/models/list_update_payload.rb +3 -2
- data/lib/ElasticEmail/models/log_job_status.rb +8 -5
- data/lib/ElasticEmail/models/log_status_summary.rb +3 -2
- data/lib/ElasticEmail/models/merge_email_payload.rb +3 -2
- data/lib/ElasticEmail/models/message_attachment.rb +8 -2
- data/lib/ElasticEmail/models/message_category.rb +8 -5
- data/lib/ElasticEmail/models/new_api_key.rb +3 -2
- data/lib/ElasticEmail/models/new_smtp_credentials.rb +3 -2
- data/lib/ElasticEmail/models/options.rb +3 -2
- data/lib/ElasticEmail/models/recipient_event.rb +3 -2
- data/lib/ElasticEmail/models/segment.rb +3 -2
- data/lib/ElasticEmail/models/segment_payload.rb +3 -2
- data/lib/ElasticEmail/models/smtp_credentials.rb +3 -2
- data/lib/ElasticEmail/models/smtp_credentials_payload.rb +3 -2
- data/lib/ElasticEmail/models/sort_order_item.rb +3 -2
- data/lib/ElasticEmail/models/split_optimization_type.rb +8 -5
- data/lib/ElasticEmail/models/split_options.rb +3 -2
- data/lib/ElasticEmail/models/sub_account_info.rb +3 -2
- data/lib/ElasticEmail/models/subaccount_email_credits_payload.rb +3 -2
- data/lib/ElasticEmail/models/subaccount_email_settings.rb +3 -2
- data/lib/ElasticEmail/models/subaccount_email_settings_payload.rb +3 -2
- data/lib/ElasticEmail/models/subaccount_payload.rb +3 -2
- data/lib/ElasticEmail/models/subaccount_settings_info.rb +3 -2
- data/lib/ElasticEmail/models/subaccount_settings_info_payload.rb +3 -2
- data/lib/ElasticEmail/models/suppression.rb +3 -2
- data/lib/ElasticEmail/models/template.rb +3 -2
- data/lib/ElasticEmail/models/template_payload.rb +3 -2
- data/lib/ElasticEmail/models/template_scope.rb +8 -5
- data/lib/ElasticEmail/models/template_type.rb +8 -5
- data/lib/ElasticEmail/models/transactional_recipient.rb +3 -2
- data/lib/ElasticEmail/models/utm.rb +3 -2
- data/lib/ElasticEmail/models/verification_file_result.rb +3 -2
- data/lib/ElasticEmail/models/verification_file_result_details.rb +3 -2
- data/lib/ElasticEmail/models/verification_status.rb +8 -5
- data/lib/ElasticEmail/version.rb +3 -3
- data/lib/ElasticEmail.rb +2 -4
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +7 -13
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://app.elasticemail.com/marketing/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -21,6 +21,10 @@ module ElasticEmail
|
|
21
21
|
VERIFIED = "Verified".freeze
|
22
22
|
ERROR = "Error".freeze
|
23
23
|
|
24
|
+
def self.all_vars
|
25
|
+
@all_vars ||= [PROCESSING, READY, EXPIRED, VERIFIED, ERROR].freeze
|
26
|
+
end
|
27
|
+
|
24
28
|
# Builds the enum from string
|
25
29
|
# @param [String] The enum value in the form of the string
|
26
30
|
# @return [String] The enum value
|
@@ -32,9 +36,8 @@ module ElasticEmail
|
|
32
36
|
# @param [String] The enum value in the form of the string
|
33
37
|
# @return [String] The enum value
|
34
38
|
def build_from_hash(value)
|
35
|
-
|
36
|
-
raise "Invalid ENUM value #{value} for class #VerificationStatus"
|
37
|
-
value
|
39
|
+
return value if VerificationStatus.all_vars.include?(value)
|
40
|
+
raise "Invalid ENUM value #{value} for class #VerificationStatus"
|
38
41
|
end
|
39
42
|
end
|
40
43
|
end
|
data/lib/ElasticEmail/version.rb
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://app.elasticemail.com/marketing/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module ElasticEmail
|
14
|
-
VERSION = '4.0.
|
14
|
+
VERSION = '4.0.21'
|
15
15
|
end
|
data/lib/ElasticEmail.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://app.elasticemail.com/marketing/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -34,8 +34,6 @@ require 'ElasticEmail/models/consent_data'
|
|
34
34
|
require 'ElasticEmail/models/consent_tracking'
|
35
35
|
require 'ElasticEmail/models/contact'
|
36
36
|
require 'ElasticEmail/models/contact_activity'
|
37
|
-
require 'ElasticEmail/models/contact_hist_event_type'
|
38
|
-
require 'ElasticEmail/models/contact_history'
|
39
37
|
require 'ElasticEmail/models/contact_payload'
|
40
38
|
require 'ElasticEmail/models/contact_source'
|
41
39
|
require 'ElasticEmail/models/contact_status'
|
data/spec/api_client_spec.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://app.elasticemail.com/marketing/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
data/spec/configuration_spec.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://app.elasticemail.com/marketing/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
data/spec/spec_helper.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Elastic Email REST API
|
3
3
|
|
4
|
-
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/
|
4
|
+
#This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://app.elasticemail.com/marketing/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: support@elasticemail.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ElasticEmail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ElasticEmail
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -50,16 +50,10 @@ dependencies:
|
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: 3.6.0
|
53
|
-
description:
|
54
|
-
easily manage their data with this resource-based
|
55
|
-
|
56
|
-
|
57
|
-
request. To start using this API, you will need your Access Token (available
|
58
|
-
<a target="_blank" href="https://elasticemail.com/account#/settings/new/manage-api">here</a>).
|
59
|
-
Remember to keep it safe. Required access levels are listed in the given request’s
|
60
|
-
description. This is the documentation for REST API. If you’d like to read our
|
61
|
-
legacy documentation regarding Web API v2 click <a target="_blank" href="https://api.elasticemail.com/public/help">here</a>. Downloadable
|
62
|
-
library clients can be found in our Github repository <a target="_blank" href="https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme">here</a>
|
53
|
+
description: The C# library for the Elastic Email REST API. This API is based on the
|
54
|
+
REST API architecture, allowing the user to easily manage their data with this resource-based
|
55
|
+
approach. To start using this API, you will need your Access Token. Remember to
|
56
|
+
keep it safe.
|
63
57
|
email:
|
64
58
|
- contact@elasticemail.com
|
65
59
|
executables: []
|
@@ -395,7 +389,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
395
389
|
- !ruby/object:Gem::Version
|
396
390
|
version: '0'
|
397
391
|
requirements: []
|
398
|
-
rubygems_version: 3.
|
392
|
+
rubygems_version: 3.3.5
|
399
393
|
signing_key:
|
400
394
|
specification_version: 4
|
401
395
|
summary: Elastic Email REST API Ruby Gem
|