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.
Files changed (142) hide show
  1. checksums.yaml +4 -4
  2. data/ElasticEmail.gemspec +1 -1
  3. data/README.md +4 -4
  4. data/VERSION +1 -1
  5. data/docs/BodyPart.md +1 -1
  6. data/docs/Campaign.md +3 -3
  7. data/docs/CampaignOptions.md +2 -2
  8. data/docs/CampaignTemplate.md +1 -1
  9. data/docs/ConsentData.md +1 -1
  10. data/docs/Contact.md +3 -3
  11. data/docs/ContactHistory.md +1 -1
  12. data/docs/ContactPayload.md +1 -1
  13. data/docs/ContactsApi.md +2 -2
  14. data/docs/EmailContent.md +1 -1
  15. data/docs/EmailData.md +2 -2
  16. data/docs/EmailMessageData.md +3 -3
  17. data/docs/EmailStatus.md +1 -1
  18. data/docs/EmailTransactionalMessageData.md +3 -3
  19. data/docs/EventsApi.md +7 -7
  20. data/docs/InboundPayload.md +2 -2
  21. data/docs/InboundRoute.md +2 -2
  22. data/docs/MergeEmailPayload.md +3 -3
  23. data/docs/NewSmtpCredentials.md +1 -1
  24. data/docs/Options.md +1 -1
  25. data/docs/RecipientEvent.md +2 -2
  26. data/docs/SmtpCredentials.md +1 -1
  27. data/docs/SplitOptions.md +1 -1
  28. data/docs/SubAccountInfo.md +2 -2
  29. data/docs/SubaccountPayload.md +1 -1
  30. data/docs/SubaccountSettingsInfo.md +1 -1
  31. data/docs/SubaccountSettingsInfoPayload.md +1 -1
  32. data/docs/Template.md +2 -2
  33. data/docs/TemplatePayload.md +1 -1
  34. data/docs/VerificationFileResult.md +2 -2
  35. data/docs/VerificationFileResultDetails.md +2 -2
  36. data/lib/ElasticEmail/api/campaigns_api.rb +9 -3
  37. data/lib/ElasticEmail/api/contacts_api.rb +19 -7
  38. data/lib/ElasticEmail/api/emails_api.rb +13 -4
  39. data/lib/ElasticEmail/api/events_api.rb +8 -8
  40. data/lib/ElasticEmail/api/files_api.rb +5 -2
  41. data/lib/ElasticEmail/api/inbound_route_api.rb +13 -4
  42. data/lib/ElasticEmail/api/lists_api.rb +17 -5
  43. data/lib/ElasticEmail/api/security_api.rb +17 -5
  44. data/lib/ElasticEmail/api/segments_api.rb +9 -3
  45. data/lib/ElasticEmail/api/statistics_api.rb +1 -1
  46. data/lib/ElasticEmail/api/sub_accounts_api.rb +13 -4
  47. data/lib/ElasticEmail/api/suppressions_api.rb +25 -7
  48. data/lib/ElasticEmail/api/templates_api.rb +9 -3
  49. data/lib/ElasticEmail/api/verifications_api.rb +5 -2
  50. data/lib/ElasticEmail/api_client.rb +4 -4
  51. data/lib/ElasticEmail/api_error.rb +1 -1
  52. data/lib/ElasticEmail/configuration.rb +3 -2
  53. data/lib/ElasticEmail/models/access_level.rb +1 -1
  54. data/lib/ElasticEmail/models/account_status_enum.rb +1 -1
  55. data/lib/ElasticEmail/models/api_key.rb +1 -1
  56. data/lib/ElasticEmail/models/api_key_payload.rb +1 -1
  57. data/lib/ElasticEmail/models/body_content_type.rb +1 -1
  58. data/lib/ElasticEmail/models/body_part.rb +3 -2
  59. data/lib/ElasticEmail/models/campaign.rb +3 -4
  60. data/lib/ElasticEmail/models/campaign_options.rb +3 -3
  61. data/lib/ElasticEmail/models/campaign_recipient.rb +1 -1
  62. data/lib/ElasticEmail/models/campaign_status.rb +1 -1
  63. data/lib/ElasticEmail/models/campaign_template.rb +1 -2
  64. data/lib/ElasticEmail/models/channel_log_status_summary.rb +1 -1
  65. data/lib/ElasticEmail/models/compression_format.rb +1 -1
  66. data/lib/ElasticEmail/models/consent_data.rb +3 -2
  67. data/lib/ElasticEmail/models/consent_tracking.rb +1 -1
  68. data/lib/ElasticEmail/models/contact.rb +5 -4
  69. data/lib/ElasticEmail/models/contact_activity.rb +1 -1
  70. data/lib/ElasticEmail/models/contact_hist_event_type.rb +1 -1
  71. data/lib/ElasticEmail/models/contact_history.rb +3 -2
  72. data/lib/ElasticEmail/models/contact_payload.rb +3 -2
  73. data/lib/ElasticEmail/models/contact_source.rb +1 -1
  74. data/lib/ElasticEmail/models/contact_status.rb +1 -1
  75. data/lib/ElasticEmail/models/contact_update_payload.rb +1 -1
  76. data/lib/ElasticEmail/models/contacts_list.rb +1 -1
  77. data/lib/ElasticEmail/models/delivery_optimization_type.rb +1 -1
  78. data/lib/ElasticEmail/models/email_content.rb +1 -2
  79. data/lib/ElasticEmail/models/email_data.rb +1 -3
  80. data/lib/ElasticEmail/models/email_message_data.rb +2 -4
  81. data/lib/ElasticEmail/models/email_recipient.rb +2 -2
  82. data/lib/ElasticEmail/models/email_send.rb +1 -1
  83. data/lib/ElasticEmail/models/email_status.rb +3 -2
  84. data/lib/ElasticEmail/models/email_transactional_message_data.rb +1 -4
  85. data/lib/ElasticEmail/models/email_validation_result.rb +1 -1
  86. data/lib/ElasticEmail/models/email_validation_status.rb +1 -1
  87. data/lib/ElasticEmail/models/email_view.rb +1 -1
  88. data/lib/ElasticEmail/models/emails_payload.rb +1 -1
  89. data/lib/ElasticEmail/models/encoding_type.rb +1 -1
  90. data/lib/ElasticEmail/models/event_type.rb +1 -1
  91. data/lib/ElasticEmail/models/events_order_by.rb +1 -1
  92. data/lib/ElasticEmail/models/export_file_formats.rb +1 -1
  93. data/lib/ElasticEmail/models/export_link.rb +1 -1
  94. data/lib/ElasticEmail/models/export_status.rb +1 -1
  95. data/lib/ElasticEmail/models/file_info.rb +1 -1
  96. data/lib/ElasticEmail/models/file_payload.rb +1 -1
  97. data/lib/ElasticEmail/models/file_upload_result.rb +1 -1
  98. data/lib/ElasticEmail/models/inbound_payload.rb +5 -3
  99. data/lib/ElasticEmail/models/inbound_route.rb +5 -3
  100. data/lib/ElasticEmail/models/inbound_route_action_type.rb +1 -1
  101. data/lib/ElasticEmail/models/inbound_route_filter_type.rb +1 -1
  102. data/lib/ElasticEmail/models/list_payload.rb +1 -1
  103. data/lib/ElasticEmail/models/list_update_payload.rb +1 -1
  104. data/lib/ElasticEmail/models/log_job_status.rb +1 -1
  105. data/lib/ElasticEmail/models/log_status_summary.rb +1 -1
  106. data/lib/ElasticEmail/models/merge_email_payload.rb +1 -4
  107. data/lib/ElasticEmail/models/message_attachment.rb +1 -1
  108. data/lib/ElasticEmail/models/message_category.rb +1 -1
  109. data/lib/ElasticEmail/models/new_api_key.rb +1 -1
  110. data/lib/ElasticEmail/models/new_smtp_credentials.rb +3 -2
  111. data/lib/ElasticEmail/models/options.rb +3 -2
  112. data/lib/ElasticEmail/models/recipient_event.rb +5 -3
  113. data/lib/ElasticEmail/models/segment.rb +1 -1
  114. data/lib/ElasticEmail/models/segment_payload.rb +1 -1
  115. data/lib/ElasticEmail/models/smtp_credentials.rb +3 -2
  116. data/lib/ElasticEmail/models/smtp_credentials_payload.rb +1 -1
  117. data/lib/ElasticEmail/models/sort_order_item.rb +1 -1
  118. data/lib/ElasticEmail/models/split_optimization_type.rb +1 -1
  119. data/lib/ElasticEmail/models/split_options.rb +3 -2
  120. data/lib/ElasticEmail/models/sub_account_info.rb +3 -3
  121. data/lib/ElasticEmail/models/subaccount_email_credits_payload.rb +1 -1
  122. data/lib/ElasticEmail/models/subaccount_email_settings.rb +1 -1
  123. data/lib/ElasticEmail/models/subaccount_email_settings_payload.rb +1 -1
  124. data/lib/ElasticEmail/models/subaccount_payload.rb +1 -2
  125. data/lib/ElasticEmail/models/subaccount_settings_info.rb +1 -2
  126. data/lib/ElasticEmail/models/subaccount_settings_info_payload.rb +1 -2
  127. data/lib/ElasticEmail/models/suppression.rb +1 -1
  128. data/lib/ElasticEmail/models/template.rb +5 -3
  129. data/lib/ElasticEmail/models/template_payload.rb +3 -2
  130. data/lib/ElasticEmail/models/template_scope.rb +1 -1
  131. data/lib/ElasticEmail/models/template_type.rb +1 -1
  132. data/lib/ElasticEmail/models/transactional_recipient.rb +1 -1
  133. data/lib/ElasticEmail/models/utm.rb +1 -1
  134. data/lib/ElasticEmail/models/verification_file_result.rb +3 -3
  135. data/lib/ElasticEmail/models/verification_file_result_details.rb +3 -3
  136. data/lib/ElasticEmail/models/verification_status.rb +1 -1
  137. data/lib/ElasticEmail/version.rb +2 -2
  138. data/lib/ElasticEmail.rb +1 -1
  139. data/spec/api_client_spec.rb +3 -3
  140. data/spec/configuration_spec.rb +1 -1
  141. data/spec/spec_helper.rb +1 -1
  142. 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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -21,13 +21,10 @@ module ElasticEmail
21
21
  # Campaign name
22
22
  attr_accessor :name
23
23
 
24
- # Campaign status
25
24
  attr_accessor :status
26
25
 
27
- # Recipients this campaign should be sent to
28
26
  attr_accessor :recipients
29
27
 
30
- # Campaign sending options
31
28
  attr_accessor :options
32
29
 
33
30
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -90,6 +87,8 @@ module ElasticEmail
90
87
 
91
88
  if attributes.key?(:'status')
92
89
  self.status = attributes[:'status']
90
+ else
91
+ self.status = 'Deleted'
93
92
  end
94
93
 
95
94
  if attributes.key?(:'recipients')
@@ -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.2.1
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
  # Different send options for a Campaign
18
18
  class CampaignOptions
19
- # How to order email delivery - by recipients' engagement score or by the time they open the most of the emails that were sent to them
20
19
  attr_accessor :delivery_optimization
21
20
 
22
21
  # Should the opens be tracked? If no value has been provided, Account's default setting will be used.
@@ -28,7 +27,6 @@ module ElasticEmail
28
27
  # Date when this Campaign is scheduled to be sent on
29
28
  attr_accessor :schedule_for
30
29
 
31
- # Optional options for A/X split campaigns. Will be ignored if only one template content was provided
32
30
  attr_accessor :split_options
33
31
 
34
32
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -84,6 +82,8 @@ module ElasticEmail
84
82
 
85
83
  if attributes.key?(:'delivery_optimization')
86
84
  self.delivery_optimization = attributes[:'delivery_optimization']
85
+ else
86
+ self.delivery_optimization = 'None'
87
87
  end
88
88
 
89
89
  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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -34,7 +34,6 @@ module ElasticEmail
34
34
  # Names of previously uploaded files that should be sent as downloadable attachments
35
35
  attr_accessor :attach_files
36
36
 
37
- # Utm marketing data to be attached to every link in this e-mail.
38
37
  attr_accessor :utm
39
38
 
40
39
  # 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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -21,7 +21,6 @@ module ElasticEmail
21
21
  # Date of consent to send this contact(s) your email. If not provided current date is used for consent.
22
22
  attr_accessor :consent_date
23
23
 
24
- # Does the contant consent to have their tracking data stored.
25
24
  attr_accessor :consent_tracking
26
25
 
27
26
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -79,6 +78,8 @@ module ElasticEmail
79
78
 
80
79
  if attributes.key?(:'consent_tracking')
81
80
  self.consent_tracking = attributes[:'consent_tracking']
81
+ else
82
+ self.consent_tracking = 'Unknown'
82
83
  end
83
84
  end
84
85
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -19,7 +19,6 @@ module ElasticEmail
19
19
  # Proper email address.
20
20
  attr_accessor :email
21
21
 
22
- # Status of the given resource
23
22
  attr_accessor :status
24
23
 
25
24
  # First name.
@@ -33,7 +32,6 @@ module ElasticEmail
33
32
 
34
33
  attr_accessor :consent
35
34
 
36
- # From where was this contact added
37
35
  attr_accessor :source
38
36
 
39
37
  # Date of creation in YYYY-MM-DDThh:ii:ss format
@@ -45,7 +43,6 @@ module ElasticEmail
45
43
  # Date of last status change.
46
44
  attr_accessor :status_change_date
47
45
 
48
- # Contact's email statistics and activity
49
46
  attr_accessor :activity
50
47
 
51
48
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -116,6 +113,8 @@ module ElasticEmail
116
113
 
117
114
  if attributes.key?(:'status')
118
115
  self.status = attributes[:'status']
116
+ else
117
+ self.status = 'Transactional'
119
118
  end
120
119
 
121
120
  if attributes.key?(:'first_name')
@@ -138,6 +137,8 @@ module ElasticEmail
138
137
 
139
138
  if attributes.key?(:'source')
140
139
  self.source = attributes[:'source']
140
+ else
141
+ self.source = 'DeliveryApi'
141
142
  end
142
143
 
143
144
  if attributes.key?(:'date_added')
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -15,7 +15,6 @@ require 'time'
15
15
 
16
16
  module ElasticEmail
17
17
  class ContactHistory
18
- # Type of event occured on this Contact.
19
18
  attr_accessor :event_type
20
19
 
21
20
  # Formatted date of event.
@@ -90,6 +89,8 @@ module ElasticEmail
90
89
 
91
90
  if attributes.key?(:'event_type')
92
91
  self.event_type = attributes[:'event_type']
92
+ else
93
+ self.event_type = 'Opened'
93
94
  end
94
95
 
95
96
  if attributes.key?(:'event_date')
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -18,7 +18,6 @@ module ElasticEmail
18
18
  # Proper email address.
19
19
  attr_accessor :email
20
20
 
21
- # Status of the given resource
22
21
  attr_accessor :status
23
22
 
24
23
  # First name.
@@ -88,6 +87,8 @@ module ElasticEmail
88
87
 
89
88
  if attributes.key?(:'status')
90
89
  self.status = attributes[:'status']
90
+ else
91
+ self.status = 'Transactional'
91
92
  end
92
93
 
93
94
  if attributes.key?(:'first_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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -49,7 +49,6 @@ module ElasticEmail
49
49
  # Names of previously uploaded files that should be sent as downloadable attachments
50
50
  attr_accessor :attach_files
51
51
 
52
- # Utm marketing data to be attached to every link in this e-mail.
53
52
  attr_accessor :utm
54
53
 
55
54
  # 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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -15,13 +15,11 @@ require 'time'
15
15
 
16
16
  module ElasticEmail
17
17
  class EmailData
18
- # Email details
19
18
  attr_accessor :preview
20
19
 
21
20
  # Attachments sent with the email
22
21
  attr_accessor :attachments
23
22
 
24
- # Status of the given resource
25
23
  attr_accessor :status
26
24
 
27
25
  # 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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -16,13 +16,11 @@ require 'time'
16
16
  module ElasticEmail
17
17
  # Email data
18
18
  class EmailMessageData
19
- # List of recipients (visible to others)
19
+ # List of recipients
20
20
  attr_accessor :recipients
21
21
 
22
- # Proper e-mail content
23
22
  attr_accessor :content
24
23
 
25
- # E-mail configuration
26
24
  attr_accessor :options
27
25
 
28
26
  # 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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module ElasticEmail
17
- # List of recipients (visible to others)
17
+ # List of recipients
18
18
  class EmailRecipient
19
19
  # Proper email address.
20
20
  attr_accessor :email
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -25,7 +25,6 @@ module ElasticEmail
25
25
  # Date the email was submitted.
26
26
  attr_accessor :date
27
27
 
28
- # Value of email's status
29
28
  attr_accessor :status
30
29
 
31
30
  # Name of email's status
@@ -130,6 +129,8 @@ module ElasticEmail
130
129
 
131
130
  if attributes.key?(:'status')
132
131
  self.status = attributes[:'status']
132
+ else
133
+ self.status = 'All'
133
134
  end
134
135
 
135
136
  if attributes.key?(:'status_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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -16,13 +16,10 @@ require 'time'
16
16
  module ElasticEmail
17
17
  # Email data
18
18
  class EmailTransactionalMessageData
19
- # List of transactional recipients
20
19
  attr_accessor :recipients
21
20
 
22
- # Proper e-mail content
23
21
  attr_accessor :content
24
22
 
25
- # E-mail configuration
26
23
  attr_accessor :options
27
24
 
28
25
  # 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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -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.2.1
9
+ OpenAPI Generator version: 5.3.0
10
10
 
11
11
  =end
12
12
 
@@ -21,10 +21,8 @@ module ElasticEmail
21
21
  # Name of this route
22
22
  attr_accessor :name
23
23
 
24
- # Type of the filter
25
24
  attr_accessor :filter_type
26
25
 
27
- # Type of action to take
28
26
  attr_accessor :action_type
29
27
 
30
28
  # Email to forward the inbound to
@@ -93,10 +91,14 @@ module ElasticEmail
93
91
 
94
92
  if attributes.key?(:'filter_type')
95
93
  self.filter_type = attributes[:'filter_type']
94
+ else
95
+ self.filter_type = 'EmailAddress'
96
96
  end
97
97
 
98
98
  if attributes.key?(:'action_type')
99
99
  self.action_type = attributes[:'action_type']
100
+ else
101
+ self.action_type = 'ForwardToEmail'
100
102
  end
101
103
 
102
104
  if attributes.key?(:'email_address')