ElasticEmail 4.0.15 → 4.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ElasticEmail.gemspec +1 -1
- data/README.md +4 -4
- data/VERSION +1 -1
- data/docs/SubaccountEmailSettings.md +3 -1
- data/docs/SubaccountEmailSettingsPayload.md +3 -1
- data/lib/ElasticEmail/api/campaigns_api.rb +1 -1
- data/lib/ElasticEmail/api/contacts_api.rb +1 -1
- data/lib/ElasticEmail/api/emails_api.rb +1 -1
- data/lib/ElasticEmail/api/events_api.rb +1 -1
- data/lib/ElasticEmail/api/files_api.rb +1 -1
- data/lib/ElasticEmail/api/inbound_route_api.rb +1 -1
- data/lib/ElasticEmail/api/lists_api.rb +1 -1
- data/lib/ElasticEmail/api/security_api.rb +1 -1
- data/lib/ElasticEmail/api/segments_api.rb +1 -1
- data/lib/ElasticEmail/api/statistics_api.rb +1 -1
- data/lib/ElasticEmail/api/sub_accounts_api.rb +1 -1
- data/lib/ElasticEmail/api/suppressions_api.rb +1 -1
- data/lib/ElasticEmail/api/templates_api.rb +1 -1
- data/lib/ElasticEmail/api/verifications_api.rb +1 -1
- data/lib/ElasticEmail/api_client.rb +1 -1
- data/lib/ElasticEmail/api_error.rb +1 -1
- data/lib/ElasticEmail/configuration.rb +1 -1
- data/lib/ElasticEmail/models/access_level.rb +1 -1
- data/lib/ElasticEmail/models/account_status_enum.rb +1 -1
- data/lib/ElasticEmail/models/api_key.rb +1 -1
- data/lib/ElasticEmail/models/api_key_payload.rb +1 -1
- data/lib/ElasticEmail/models/body_content_type.rb +1 -1
- data/lib/ElasticEmail/models/body_part.rb +1 -1
- data/lib/ElasticEmail/models/campaign.rb +1 -1
- data/lib/ElasticEmail/models/campaign_options.rb +1 -1
- data/lib/ElasticEmail/models/campaign_recipient.rb +1 -1
- data/lib/ElasticEmail/models/campaign_status.rb +1 -1
- data/lib/ElasticEmail/models/campaign_template.rb +1 -1
- data/lib/ElasticEmail/models/channel_log_status_summary.rb +1 -1
- data/lib/ElasticEmail/models/compression_format.rb +1 -1
- data/lib/ElasticEmail/models/consent_data.rb +1 -1
- data/lib/ElasticEmail/models/consent_tracking.rb +1 -1
- data/lib/ElasticEmail/models/contact.rb +1 -1
- data/lib/ElasticEmail/models/contact_activity.rb +1 -1
- data/lib/ElasticEmail/models/contact_hist_event_type.rb +1 -1
- data/lib/ElasticEmail/models/contact_history.rb +1 -1
- data/lib/ElasticEmail/models/contact_payload.rb +1 -1
- data/lib/ElasticEmail/models/contact_source.rb +1 -1
- data/lib/ElasticEmail/models/contact_status.rb +1 -1
- data/lib/ElasticEmail/models/contact_update_payload.rb +1 -1
- data/lib/ElasticEmail/models/contacts_list.rb +1 -1
- data/lib/ElasticEmail/models/delivery_optimization_type.rb +1 -1
- data/lib/ElasticEmail/models/email_content.rb +1 -1
- data/lib/ElasticEmail/models/email_data.rb +1 -1
- data/lib/ElasticEmail/models/email_message_data.rb +1 -1
- data/lib/ElasticEmail/models/email_recipient.rb +1 -1
- data/lib/ElasticEmail/models/email_send.rb +1 -1
- data/lib/ElasticEmail/models/email_status.rb +1 -1
- data/lib/ElasticEmail/models/email_transactional_message_data.rb +1 -1
- data/lib/ElasticEmail/models/email_validation_result.rb +1 -1
- data/lib/ElasticEmail/models/email_validation_status.rb +1 -1
- data/lib/ElasticEmail/models/email_view.rb +1 -1
- data/lib/ElasticEmail/models/emails_payload.rb +1 -1
- data/lib/ElasticEmail/models/encoding_type.rb +1 -1
- data/lib/ElasticEmail/models/event_type.rb +1 -1
- data/lib/ElasticEmail/models/events_order_by.rb +1 -1
- data/lib/ElasticEmail/models/export_file_formats.rb +1 -1
- data/lib/ElasticEmail/models/export_link.rb +1 -1
- data/lib/ElasticEmail/models/export_status.rb +1 -1
- data/lib/ElasticEmail/models/file_info.rb +1 -1
- data/lib/ElasticEmail/models/file_payload.rb +1 -1
- data/lib/ElasticEmail/models/file_upload_result.rb +1 -1
- data/lib/ElasticEmail/models/inbound_payload.rb +1 -1
- data/lib/ElasticEmail/models/inbound_route.rb +1 -1
- data/lib/ElasticEmail/models/inbound_route_action_type.rb +1 -1
- data/lib/ElasticEmail/models/inbound_route_filter_type.rb +1 -1
- data/lib/ElasticEmail/models/list_payload.rb +1 -1
- data/lib/ElasticEmail/models/list_update_payload.rb +1 -1
- data/lib/ElasticEmail/models/log_job_status.rb +1 -1
- data/lib/ElasticEmail/models/log_status_summary.rb +1 -1
- data/lib/ElasticEmail/models/merge_email_payload.rb +1 -1
- data/lib/ElasticEmail/models/message_attachment.rb +1 -1
- data/lib/ElasticEmail/models/message_category.rb +1 -1
- data/lib/ElasticEmail/models/new_api_key.rb +1 -1
- data/lib/ElasticEmail/models/new_smtp_credentials.rb +1 -1
- data/lib/ElasticEmail/models/options.rb +1 -1
- data/lib/ElasticEmail/models/recipient_event.rb +1 -1
- data/lib/ElasticEmail/models/segment.rb +1 -1
- data/lib/ElasticEmail/models/segment_payload.rb +1 -1
- data/lib/ElasticEmail/models/smtp_credentials.rb +1 -1
- data/lib/ElasticEmail/models/smtp_credentials_payload.rb +1 -1
- data/lib/ElasticEmail/models/sort_order_item.rb +1 -1
- data/lib/ElasticEmail/models/split_optimization_type.rb +1 -1
- data/lib/ElasticEmail/models/split_options.rb +1 -1
- data/lib/ElasticEmail/models/sub_account_info.rb +1 -1
- data/lib/ElasticEmail/models/subaccount_email_credits_payload.rb +1 -1
- data/lib/ElasticEmail/models/subaccount_email_settings.rb +15 -5
- data/lib/ElasticEmail/models/subaccount_email_settings_payload.rb +15 -5
- data/lib/ElasticEmail/models/subaccount_payload.rb +1 -1
- data/lib/ElasticEmail/models/subaccount_settings_info.rb +1 -1
- data/lib/ElasticEmail/models/subaccount_settings_info_payload.rb +1 -1
- data/lib/ElasticEmail/models/suppression.rb +1 -1
- data/lib/ElasticEmail/models/template.rb +1 -1
- data/lib/ElasticEmail/models/template_payload.rb +1 -1
- data/lib/ElasticEmail/models/template_scope.rb +1 -1
- data/lib/ElasticEmail/models/template_type.rb +1 -1
- data/lib/ElasticEmail/models/transactional_recipient.rb +1 -1
- data/lib/ElasticEmail/models/utm.rb +1 -1
- data/lib/ElasticEmail/models/verification_file_result.rb +1 -1
- data/lib/ElasticEmail/models/verification_file_result_details.rb +1 -1
- data/lib/ElasticEmail/models/verification_status.rb +1 -1
- data/lib/ElasticEmail/version.rb +2 -2
- data/lib/ElasticEmail.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +3 -3
@@ -6,7 +6,7 @@
|
|
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: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -37,6 +37,8 @@ module ElasticEmail
|
|
37
37
|
# Name of your custom IP Pool to be used in the sending process
|
38
38
|
attr_accessor :pool_name
|
39
39
|
|
40
|
+
attr_accessor :valid_sender_domain_only
|
41
|
+
|
40
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
43
|
def self.attribute_map
|
42
44
|
{
|
@@ -46,7 +48,8 @@ module ElasticEmail
|
|
46
48
|
:'daily_send_limit' => :'DailySendLimit',
|
47
49
|
:'max_contacts' => :'MaxContacts',
|
48
50
|
:'enable_private_ip_purchase' => :'EnablePrivateIPPurchase',
|
49
|
-
:'pool_name' => :'PoolName'
|
51
|
+
:'pool_name' => :'PoolName',
|
52
|
+
:'valid_sender_domain_only' => :'ValidSenderDomainOnly'
|
50
53
|
}
|
51
54
|
end
|
52
55
|
|
@@ -64,13 +67,15 @@ module ElasticEmail
|
|
64
67
|
:'daily_send_limit' => :'Integer',
|
65
68
|
:'max_contacts' => :'Integer',
|
66
69
|
:'enable_private_ip_purchase' => :'Boolean',
|
67
|
-
:'pool_name' => :'String'
|
70
|
+
:'pool_name' => :'String',
|
71
|
+
:'valid_sender_domain_only' => :'Boolean'
|
68
72
|
}
|
69
73
|
end
|
70
74
|
|
71
75
|
# List of attributes with nullable: true
|
72
76
|
def self.openapi_nullable
|
73
77
|
Set.new([
|
78
|
+
:'valid_sender_domain_only'
|
74
79
|
])
|
75
80
|
end
|
76
81
|
|
@@ -116,6 +121,10 @@ module ElasticEmail
|
|
116
121
|
if attributes.key?(:'pool_name')
|
117
122
|
self.pool_name = attributes[:'pool_name']
|
118
123
|
end
|
124
|
+
|
125
|
+
if attributes.key?(:'valid_sender_domain_only')
|
126
|
+
self.valid_sender_domain_only = attributes[:'valid_sender_domain_only']
|
127
|
+
end
|
119
128
|
end
|
120
129
|
|
121
130
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -142,7 +151,8 @@ module ElasticEmail
|
|
142
151
|
daily_send_limit == o.daily_send_limit &&
|
143
152
|
max_contacts == o.max_contacts &&
|
144
153
|
enable_private_ip_purchase == o.enable_private_ip_purchase &&
|
145
|
-
pool_name == o.pool_name
|
154
|
+
pool_name == o.pool_name &&
|
155
|
+
valid_sender_domain_only == o.valid_sender_domain_only
|
146
156
|
end
|
147
157
|
|
148
158
|
# @see the `==` method
|
@@ -154,7 +164,7 @@ module ElasticEmail
|
|
154
164
|
# Calculates hash code according to all attributes.
|
155
165
|
# @return [Integer] Hash code
|
156
166
|
def hash
|
157
|
-
[monthly_refill_credits, requires_email_credits, email_size_limit, daily_send_limit, max_contacts, enable_private_ip_purchase, pool_name].hash
|
167
|
+
[monthly_refill_credits, requires_email_credits, email_size_limit, daily_send_limit, max_contacts, enable_private_ip_purchase, pool_name, valid_sender_domain_only].hash
|
158
168
|
end
|
159
169
|
|
160
170
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
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: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -34,6 +34,8 @@ module ElasticEmail
|
|
34
34
|
# Name of your custom IP Pool to be used in the sending process
|
35
35
|
attr_accessor :pool_name
|
36
36
|
|
37
|
+
attr_accessor :valid_sender_domain_only
|
38
|
+
|
37
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
40
|
def self.attribute_map
|
39
41
|
{
|
@@ -42,7 +44,8 @@ module ElasticEmail
|
|
42
44
|
:'daily_send_limit' => :'DailySendLimit',
|
43
45
|
:'max_contacts' => :'MaxContacts',
|
44
46
|
:'enable_private_ip_purchase' => :'EnablePrivateIPPurchase',
|
45
|
-
:'pool_name' => :'PoolName'
|
47
|
+
:'pool_name' => :'PoolName',
|
48
|
+
:'valid_sender_domain_only' => :'ValidSenderDomainOnly'
|
46
49
|
}
|
47
50
|
end
|
48
51
|
|
@@ -59,13 +62,15 @@ module ElasticEmail
|
|
59
62
|
:'daily_send_limit' => :'Integer',
|
60
63
|
:'max_contacts' => :'Integer',
|
61
64
|
:'enable_private_ip_purchase' => :'Boolean',
|
62
|
-
:'pool_name' => :'String'
|
65
|
+
:'pool_name' => :'String',
|
66
|
+
:'valid_sender_domain_only' => :'Boolean'
|
63
67
|
}
|
64
68
|
end
|
65
69
|
|
66
70
|
# List of attributes with nullable: true
|
67
71
|
def self.openapi_nullable
|
68
72
|
Set.new([
|
73
|
+
:'valid_sender_domain_only'
|
69
74
|
])
|
70
75
|
end
|
71
76
|
|
@@ -107,6 +112,10 @@ module ElasticEmail
|
|
107
112
|
if attributes.key?(:'pool_name')
|
108
113
|
self.pool_name = attributes[:'pool_name']
|
109
114
|
end
|
115
|
+
|
116
|
+
if attributes.key?(:'valid_sender_domain_only')
|
117
|
+
self.valid_sender_domain_only = attributes[:'valid_sender_domain_only']
|
118
|
+
end
|
110
119
|
end
|
111
120
|
|
112
121
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -132,7 +141,8 @@ module ElasticEmail
|
|
132
141
|
daily_send_limit == o.daily_send_limit &&
|
133
142
|
max_contacts == o.max_contacts &&
|
134
143
|
enable_private_ip_purchase == o.enable_private_ip_purchase &&
|
135
|
-
pool_name == o.pool_name
|
144
|
+
pool_name == o.pool_name &&
|
145
|
+
valid_sender_domain_only == o.valid_sender_domain_only
|
136
146
|
end
|
137
147
|
|
138
148
|
# @see the `==` method
|
@@ -144,7 +154,7 @@ module ElasticEmail
|
|
144
154
|
# Calculates hash code according to all attributes.
|
145
155
|
# @return [Integer] Hash code
|
146
156
|
def hash
|
147
|
-
[requires_email_credits, email_size_limit, daily_send_limit, max_contacts, enable_private_ip_purchase, pool_name].hash
|
157
|
+
[requires_email_credits, email_size_limit, daily_send_limit, max_contacts, enable_private_ip_purchase, pool_name, valid_sender_domain_only].hash
|
148
158
|
end
|
149
159
|
|
150
160
|
# Builds the object from hash
|
data/lib/ElasticEmail/version.rb
CHANGED
@@ -6,10 +6,10 @@
|
|
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: 5.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module ElasticEmail
|
14
|
-
VERSION = '4.0.
|
14
|
+
VERSION = '4.0.16'
|
15
15
|
end
|
data/lib/ElasticEmail.rb
CHANGED
data/spec/api_client_spec.rb
CHANGED