ElasticEmail 4.0.13 → 4.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ElasticEmail.gemspec +1 -1
- data/README.md +4 -4
- data/VERSION +1 -1
- data/docs/BodyPart.md +1 -1
- data/docs/Campaign.md +3 -3
- data/docs/CampaignOptions.md +2 -2
- data/docs/CampaignTemplate.md +1 -1
- data/docs/ConsentData.md +1 -1
- data/docs/Contact.md +3 -3
- data/docs/ContactHistory.md +1 -1
- data/docs/ContactPayload.md +1 -1
- data/docs/ContactsApi.md +2 -2
- data/docs/EmailContent.md +1 -1
- data/docs/EmailData.md +2 -2
- data/docs/EmailMessageData.md +3 -3
- data/docs/EmailStatus.md +1 -1
- data/docs/EmailTransactionalMessageData.md +3 -3
- data/docs/EventsApi.md +7 -7
- data/docs/InboundPayload.md +2 -2
- data/docs/InboundRoute.md +2 -2
- data/docs/MergeEmailPayload.md +3 -3
- data/docs/NewSmtpCredentials.md +1 -1
- data/docs/Options.md +1 -1
- data/docs/RecipientEvent.md +2 -2
- data/docs/SmtpCredentials.md +1 -1
- data/docs/SplitOptions.md +1 -1
- data/docs/SubAccountInfo.md +2 -2
- data/docs/SubaccountPayload.md +1 -1
- data/docs/SubaccountSettingsInfo.md +1 -1
- data/docs/SubaccountSettingsInfoPayload.md +1 -1
- data/docs/Template.md +2 -2
- data/docs/TemplatePayload.md +1 -1
- data/docs/VerificationFileResult.md +2 -2
- data/docs/VerificationFileResultDetails.md +2 -2
- data/lib/ElasticEmail/api/campaigns_api.rb +9 -3
- data/lib/ElasticEmail/api/contacts_api.rb +19 -7
- data/lib/ElasticEmail/api/emails_api.rb +13 -4
- data/lib/ElasticEmail/api/events_api.rb +8 -8
- data/lib/ElasticEmail/api/files_api.rb +5 -2
- data/lib/ElasticEmail/api/inbound_route_api.rb +13 -4
- data/lib/ElasticEmail/api/lists_api.rb +17 -5
- data/lib/ElasticEmail/api/security_api.rb +17 -5
- data/lib/ElasticEmail/api/segments_api.rb +9 -3
- data/lib/ElasticEmail/api/statistics_api.rb +1 -1
- data/lib/ElasticEmail/api/sub_accounts_api.rb +13 -4
- data/lib/ElasticEmail/api/suppressions_api.rb +25 -7
- data/lib/ElasticEmail/api/templates_api.rb +9 -3
- data/lib/ElasticEmail/api/verifications_api.rb +5 -2
- data/lib/ElasticEmail/api_client.rb +4 -4
- data/lib/ElasticEmail/api_error.rb +1 -1
- data/lib/ElasticEmail/configuration.rb +3 -2
- 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 +3 -2
- data/lib/ElasticEmail/models/campaign.rb +3 -4
- data/lib/ElasticEmail/models/campaign_options.rb +3 -3
- 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 -2
- 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 +3 -2
- data/lib/ElasticEmail/models/consent_tracking.rb +1 -1
- data/lib/ElasticEmail/models/contact.rb +5 -4
- 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 +3 -2
- data/lib/ElasticEmail/models/contact_payload.rb +3 -2
- 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 -2
- data/lib/ElasticEmail/models/email_data.rb +1 -3
- data/lib/ElasticEmail/models/email_message_data.rb +2 -4
- data/lib/ElasticEmail/models/email_recipient.rb +2 -2
- data/lib/ElasticEmail/models/email_send.rb +1 -1
- data/lib/ElasticEmail/models/email_status.rb +3 -2
- data/lib/ElasticEmail/models/email_transactional_message_data.rb +1 -4
- 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 +5 -3
- data/lib/ElasticEmail/models/inbound_route.rb +5 -3
- 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 -4
- 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 +3 -2
- data/lib/ElasticEmail/models/options.rb +3 -2
- data/lib/ElasticEmail/models/recipient_event.rb +5 -3
- data/lib/ElasticEmail/models/segment.rb +1 -1
- data/lib/ElasticEmail/models/segment_payload.rb +1 -1
- data/lib/ElasticEmail/models/smtp_credentials.rb +3 -2
- 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 +3 -2
- data/lib/ElasticEmail/models/sub_account_info.rb +3 -3
- data/lib/ElasticEmail/models/subaccount_email_credits_payload.rb +1 -1
- data/lib/ElasticEmail/models/subaccount_email_settings.rb +1 -1
- data/lib/ElasticEmail/models/subaccount_email_settings_payload.rb +1 -1
- data/lib/ElasticEmail/models/subaccount_payload.rb +1 -2
- data/lib/ElasticEmail/models/subaccount_settings_info.rb +1 -2
- data/lib/ElasticEmail/models/subaccount_settings_info_payload.rb +1 -2
- data/lib/ElasticEmail/models/suppression.rb +1 -1
- data/lib/ElasticEmail/models/template.rb +5 -3
- data/lib/ElasticEmail/models/template_payload.rb +3 -2
- 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 +3 -3
- data/lib/ElasticEmail/models/verification_file_result_details.rb +3 -3
- 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 +3 -3
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +2 -2
@@ -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.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -20,13 +20,11 @@ module ElasticEmail
|
|
20
20
|
# Name of this route
|
21
21
|
attr_accessor :name
|
22
22
|
|
23
|
-
# Type of the filter
|
24
23
|
attr_accessor :filter_type
|
25
24
|
|
26
25
|
# Filter of the inbound data
|
27
26
|
attr_accessor :filter
|
28
27
|
|
29
|
-
# Type of action to take
|
30
28
|
attr_accessor :action_type
|
31
29
|
|
32
30
|
# URL address or Email to notify about the inbound
|
@@ -97,6 +95,8 @@ module ElasticEmail
|
|
97
95
|
|
98
96
|
if attributes.key?(:'filter_type')
|
99
97
|
self.filter_type = attributes[:'filter_type']
|
98
|
+
else
|
99
|
+
self.filter_type = 'EmailAddress'
|
100
100
|
end
|
101
101
|
|
102
102
|
if attributes.key?(:'filter')
|
@@ -105,6 +105,8 @@ module ElasticEmail
|
|
105
105
|
|
106
106
|
if attributes.key?(:'action_type')
|
107
107
|
self.action_type = attributes[:'action_type']
|
108
|
+
else
|
109
|
+
self.action_type = 'ForwardToEmail'
|
108
110
|
end
|
109
111
|
|
110
112
|
if attributes.key?(:'action_parameter')
|
@@ -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.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -15,13 +15,10 @@ require 'time'
|
|
15
15
|
|
16
16
|
module ElasticEmail
|
17
17
|
class MergeEmailPayload
|
18
|
-
# CSV file containing recipients with optional merge fields
|
19
18
|
attr_accessor :merge_file
|
20
19
|
|
21
|
-
# Proper e-mail content
|
22
20
|
attr_accessor :content
|
23
21
|
|
24
|
-
# E-mail configuration
|
25
22
|
attr_accessor :options
|
26
23
|
|
27
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -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.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -19,7 +19,6 @@ module ElasticEmail
|
|
19
19
|
# Unique token to be used in the system
|
20
20
|
attr_accessor :token
|
21
21
|
|
22
|
-
# Access level of this Smtp Credential.
|
23
22
|
attr_accessor :access_level
|
24
23
|
|
25
24
|
# Name of the key.
|
@@ -97,6 +96,8 @@ module ElasticEmail
|
|
97
96
|
|
98
97
|
if attributes.key?(:'access_level')
|
99
98
|
self.access_level = attributes[:'access_level']
|
99
|
+
else
|
100
|
+
self.access_level = 'None'
|
100
101
|
end
|
101
102
|
|
102
103
|
if attributes.key?(:'name')
|
@@ -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.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -25,7 +25,6 @@ module ElasticEmail
|
|
25
25
|
# Name of selected channel.
|
26
26
|
attr_accessor :channel_name
|
27
27
|
|
28
|
-
# 0 for None, 1 for Raw7Bit, 2 for Raw8Bit, 3 for QuotedPrintable, 4 for Base64 (Default), 5 for Uue note that you can also provide the text version such as \"Raw7Bit\" for value 1. NOTE: Base64 or QuotedPrintable is recommended if you are validating your domain(s) with DKIM.
|
29
28
|
attr_accessor :encoding
|
30
29
|
|
31
30
|
# Should the opens be tracked? If no value has been provided, Account's default setting will be used.
|
@@ -99,6 +98,8 @@ module ElasticEmail
|
|
99
98
|
|
100
99
|
if attributes.key?(:'encoding')
|
101
100
|
self.encoding = attributes[:'encoding']
|
101
|
+
else
|
102
|
+
self.encoding = 'UserProvided'
|
102
103
|
end
|
103
104
|
|
104
105
|
if attributes.key?(:'track_opens')
|
@@ -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.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -31,7 +31,6 @@ module ElasticEmail
|
|
31
31
|
# Default subject of email.
|
32
32
|
attr_accessor :subject
|
33
33
|
|
34
|
-
# Type of an Event
|
35
34
|
attr_accessor :event_type
|
36
35
|
|
37
36
|
# Creation date
|
@@ -40,7 +39,6 @@ module ElasticEmail
|
|
40
39
|
# Name of selected channel.
|
41
40
|
attr_accessor :channel_name
|
42
41
|
|
43
|
-
# Message category
|
44
42
|
attr_accessor :message_category
|
45
43
|
|
46
44
|
# Date of next try
|
@@ -142,6 +140,8 @@ module ElasticEmail
|
|
142
140
|
|
143
141
|
if attributes.key?(:'event_type')
|
144
142
|
self.event_type = attributes[:'event_type']
|
143
|
+
else
|
144
|
+
self.event_type = 'Submission'
|
145
145
|
end
|
146
146
|
|
147
147
|
if attributes.key?(:'event_date')
|
@@ -154,6 +154,8 @@ module ElasticEmail
|
|
154
154
|
|
155
155
|
if attributes.key?(:'message_category')
|
156
156
|
self.message_category = attributes[:'message_category']
|
157
|
+
else
|
158
|
+
self.message_category = 'Unknown'
|
157
159
|
end
|
158
160
|
|
159
161
|
if attributes.key?(:'next_try_on')
|
@@ -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.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -16,7 +16,6 @@ require 'time'
|
|
16
16
|
module ElasticEmail
|
17
17
|
# SMTP Credentials info
|
18
18
|
class SmtpCredentials
|
19
|
-
# Access level of this Smtp Credential.
|
20
19
|
attr_accessor :access_level
|
21
20
|
|
22
21
|
# Name of the key.
|
@@ -88,6 +87,8 @@ module ElasticEmail
|
|
88
87
|
|
89
88
|
if attributes.key?(:'access_level')
|
90
89
|
self.access_level = attributes[:'access_level']
|
90
|
+
else
|
91
|
+
self.access_level = 'None'
|
91
92
|
end
|
92
93
|
|
93
94
|
if attributes.key?(:'name')
|
@@ -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.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -16,7 +16,6 @@ require 'time'
|
|
16
16
|
module ElasticEmail
|
17
17
|
# Optional A/X split campaign options
|
18
18
|
class SplitOptions
|
19
|
-
# Type of results by which to determine the winner template (content)
|
20
19
|
attr_accessor :optimize_for
|
21
20
|
|
22
21
|
# For how long should the results be measured until determining the winner template (content)
|
@@ -66,6 +65,8 @@ module ElasticEmail
|
|
66
65
|
|
67
66
|
if attributes.key?(:'optimize_for')
|
68
67
|
self.optimize_for = attributes[:'optimize_for']
|
68
|
+
else
|
69
|
+
self.optimize_for = 'Opens'
|
69
70
|
end
|
70
71
|
|
71
72
|
if attributes.key?(:'optimize_period_minutes')
|
@@ -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.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -22,7 +22,6 @@ module ElasticEmail
|
|
22
22
|
# Proper email address.
|
23
23
|
attr_accessor :email
|
24
24
|
|
25
|
-
# SubAccount settings
|
26
25
|
attr_accessor :settings
|
27
26
|
|
28
27
|
# Date of last activity on Account
|
@@ -37,7 +36,6 @@ module ElasticEmail
|
|
37
36
|
# Numeric reputation
|
38
37
|
attr_accessor :reputation
|
39
38
|
|
40
|
-
# Account's current status.
|
41
39
|
attr_accessor :status
|
42
40
|
|
43
41
|
# How many contacts this SubAccount has stored
|
@@ -129,6 +127,8 @@ module ElasticEmail
|
|
129
127
|
|
130
128
|
if attributes.key?(:'status')
|
131
129
|
self.status = attributes[:'status']
|
130
|
+
else
|
131
|
+
self.status = 'Disabled'
|
132
132
|
end
|
133
133
|
|
134
134
|
if attributes.key?(:'contacts_count')
|
@@ -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.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -25,7 +25,6 @@ module ElasticEmail
|
|
25
25
|
# True, if you want to send activation email to this Account to confirm the creation of a new SubAccount. Otherwise, false (SubAccount will immediately be Active).
|
26
26
|
attr_accessor :send_activation
|
27
27
|
|
28
|
-
# SubAccount settings
|
29
28
|
attr_accessor :settings
|
30
29
|
|
31
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -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.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -16,7 +16,6 @@ require 'time'
|
|
16
16
|
module ElasticEmail
|
17
17
|
# SubAccount settings
|
18
18
|
class SubaccountSettingsInfo
|
19
|
-
# Settings related to sending emails
|
20
19
|
attr_accessor :email
|
21
20
|
|
22
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -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.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -16,7 +16,6 @@ require 'time'
|
|
16
16
|
module ElasticEmail
|
17
17
|
# SubAccount settings
|
18
18
|
class SubaccountSettingsInfoPayload
|
19
|
-
# Settings related to sending emails
|
20
19
|
attr_accessor :email
|
21
20
|
|
22
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -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.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -16,7 +16,6 @@ require 'time'
|
|
16
16
|
module ElasticEmail
|
17
17
|
# Template info
|
18
18
|
class Template
|
19
|
-
# How the template should be edited
|
20
19
|
attr_accessor :template_type
|
21
20
|
|
22
21
|
# Template name
|
@@ -31,7 +30,6 @@ module ElasticEmail
|
|
31
30
|
# Email content of this template
|
32
31
|
attr_accessor :body
|
33
32
|
|
34
|
-
# Visibility of a template
|
35
33
|
attr_accessor :template_scope
|
36
34
|
|
37
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -86,6 +84,8 @@ module ElasticEmail
|
|
86
84
|
|
87
85
|
if attributes.key?(:'template_type')
|
88
86
|
self.template_type = attributes[:'template_type']
|
87
|
+
else
|
88
|
+
self.template_type = 'RawHTML'
|
89
89
|
end
|
90
90
|
|
91
91
|
if attributes.key?(:'name')
|
@@ -108,6 +108,8 @@ module ElasticEmail
|
|
108
108
|
|
109
109
|
if attributes.key?(:'template_scope')
|
110
110
|
self.template_scope = attributes[:'template_scope']
|
111
|
+
else
|
112
|
+
self.template_scope = 'Personal'
|
111
113
|
end
|
112
114
|
end
|
113
115
|
|
@@ -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.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -25,7 +25,6 @@ module ElasticEmail
|
|
25
25
|
# Email content of this template
|
26
26
|
attr_accessor :body
|
27
27
|
|
28
|
-
# Visibility of a template
|
29
28
|
attr_accessor :template_scope
|
30
29
|
|
31
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -90,6 +89,8 @@ module ElasticEmail
|
|
90
89
|
|
91
90
|
if attributes.key?(:'template_scope')
|
92
91
|
self.template_scope = attributes[:'template_scope']
|
92
|
+
else
|
93
|
+
self.template_scope = 'Personal'
|
93
94
|
end
|
94
95
|
end
|
95
96
|
|
@@ -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.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -22,10 +22,8 @@ module ElasticEmail
|
|
22
22
|
# Origin file name
|
23
23
|
attr_accessor :filename
|
24
24
|
|
25
|
-
# In what state does this verification result currently is
|
26
25
|
attr_accessor :verification_status
|
27
26
|
|
28
|
-
# How many emails were detected in the file for verification
|
29
27
|
attr_accessor :file_upload_result
|
30
28
|
|
31
29
|
# Date of creation in YYYY-MM-DDThh:ii:ss format
|
@@ -94,6 +92,8 @@ module ElasticEmail
|
|
94
92
|
|
95
93
|
if attributes.key?(:'verification_status')
|
96
94
|
self.verification_status = attributes[:'verification_status']
|
95
|
+
else
|
96
|
+
self.verification_status = 'Processing'
|
97
97
|
end
|
98
98
|
|
99
99
|
if attributes.key?(:'file_upload_result')
|
@@ -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.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -25,10 +25,8 @@ module ElasticEmail
|
|
25
25
|
# Origin file name
|
26
26
|
attr_accessor :filename
|
27
27
|
|
28
|
-
# In what state does this verification result currently is
|
29
28
|
attr_accessor :verification_status
|
30
29
|
|
31
|
-
# How many emails were detected in the file for verification
|
32
30
|
attr_accessor :file_upload_result
|
33
31
|
|
34
32
|
# Date of creation in YYYY-MM-DDThh:ii:ss format
|
@@ -105,6 +103,8 @@ module ElasticEmail
|
|
105
103
|
|
106
104
|
if attributes.key?(:'verification_status')
|
107
105
|
self.verification_status = attributes[:'verification_status']
|
106
|
+
else
|
107
|
+
self.verification_status = 'Processing'
|
108
108
|
end
|
109
109
|
|
110
110
|
if attributes.key?(:'file_upload_result')
|
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.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module ElasticEmail
|
14
|
-
VERSION = '4.0.
|
14
|
+
VERSION = '4.0.15'
|
15
15
|
end
|