ElasticEmail 4.0.11 → 4.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (165) hide show
  1. checksums.yaml +4 -4
  2. data/ElasticEmail.gemspec +3 -3
  3. data/README.md +12 -9
  4. data/VERSION +1 -1
  5. data/docs/ApiKeyPayload.md +2 -2
  6. data/docs/BodyPart.md +1 -1
  7. data/docs/Campaign.md +4 -4
  8. data/docs/CampaignOptions.md +2 -2
  9. data/docs/CampaignTemplate.md +2 -2
  10. data/docs/CampaignsApi.md +2 -2
  11. data/docs/ConsentData.md +1 -1
  12. data/docs/Contact.md +3 -3
  13. data/docs/ContactHistory.md +1 -1
  14. data/docs/ContactPayload.md +2 -2
  15. data/docs/ContactsApi.md +3 -3
  16. data/docs/EmailContent.md +2 -2
  17. data/docs/EmailData.md +2 -2
  18. data/docs/EmailMessageData.md +3 -3
  19. data/docs/EmailRecipient.md +1 -1
  20. data/docs/EmailStatus.md +1 -1
  21. data/docs/EmailTransactionalMessageData.md +3 -3
  22. data/docs/EmailsApi.md +3 -3
  23. data/docs/EmailsPayload.md +2 -2
  24. data/docs/EventsApi.md +7 -7
  25. data/docs/FilePayload.md +1 -1
  26. data/docs/FilesApi.md +1 -1
  27. data/docs/InboundPayload.md +4 -4
  28. data/docs/InboundRoute.md +2 -2
  29. data/docs/InboundRouteApi.md +3 -3
  30. data/docs/ListPayload.md +2 -2
  31. data/docs/ListsApi.md +1 -1
  32. data/docs/MergeEmailPayload.md +3 -3
  33. data/docs/MessageAttachment.md +4 -4
  34. data/docs/NewSmtpCredentials.md +1 -1
  35. data/docs/Options.md +1 -1
  36. data/docs/RecipientEvent.md +2 -2
  37. data/docs/SecurityApi.md +4 -4
  38. data/docs/SegmentPayload.md +2 -2
  39. data/docs/SegmentsApi.md +2 -2
  40. data/docs/SmtpCredentials.md +1 -1
  41. data/docs/SmtpCredentialsPayload.md +1 -1
  42. data/docs/SortOrderItem.md +2 -2
  43. data/docs/SplitOptions.md +1 -1
  44. data/docs/SubAccountInfo.md +2 -2
  45. data/docs/SubAccountsApi.md +2 -2
  46. data/docs/SubaccountEmailCreditsPayload.md +1 -1
  47. data/docs/SubaccountEmailSettings.md +3 -1
  48. data/docs/SubaccountEmailSettingsPayload.md +3 -1
  49. data/docs/SubaccountPayload.md +3 -3
  50. data/docs/SubaccountSettingsInfo.md +1 -1
  51. data/docs/SubaccountSettingsInfoPayload.md +1 -1
  52. data/docs/Template.md +2 -2
  53. data/docs/TemplatePayload.md +2 -2
  54. data/docs/TemplatesApi.md +2 -2
  55. data/docs/TransactionalRecipient.md +1 -1
  56. data/docs/VerificationFileResult.md +2 -2
  57. data/docs/VerificationFileResultDetails.md +2 -2
  58. data/docs/VerificationsApi.md +80 -9
  59. data/lib/ElasticEmail/api/campaigns_api.rb +10 -4
  60. data/lib/ElasticEmail/api/contacts_api.rb +20 -8
  61. data/lib/ElasticEmail/api/emails_api.rb +14 -5
  62. data/lib/ElasticEmail/api/events_api.rb +9 -9
  63. data/lib/ElasticEmail/api/files_api.rb +6 -3
  64. data/lib/ElasticEmail/api/inbound_route_api.rb +14 -5
  65. data/lib/ElasticEmail/api/lists_api.rb +18 -6
  66. data/lib/ElasticEmail/api/security_api.rb +18 -6
  67. data/lib/ElasticEmail/api/segments_api.rb +10 -4
  68. data/lib/ElasticEmail/api/statistics_api.rb +2 -2
  69. data/lib/ElasticEmail/api/sub_accounts_api.rb +14 -5
  70. data/lib/ElasticEmail/api/suppressions_api.rb +26 -8
  71. data/lib/ElasticEmail/api/templates_api.rb +10 -4
  72. data/lib/ElasticEmail/api/verifications_api.rb +73 -9
  73. data/lib/ElasticEmail/api_client.rb +5 -5
  74. data/lib/ElasticEmail/api_error.rb +2 -2
  75. data/lib/ElasticEmail/configuration.rb +4 -3
  76. data/lib/ElasticEmail/models/access_level.rb +3 -2
  77. data/lib/ElasticEmail/models/account_status_enum.rb +2 -2
  78. data/lib/ElasticEmail/models/api_key.rb +2 -2
  79. data/lib/ElasticEmail/models/api_key_payload.rb +12 -2
  80. data/lib/ElasticEmail/models/body_content_type.rb +2 -2
  81. data/lib/ElasticEmail/models/body_part.rb +9 -3
  82. data/lib/ElasticEmail/models/campaign.rb +14 -5
  83. data/lib/ElasticEmail/models/campaign_options.rb +4 -4
  84. data/lib/ElasticEmail/models/campaign_recipient.rb +2 -2
  85. data/lib/ElasticEmail/models/campaign_status.rb +2 -2
  86. data/lib/ElasticEmail/models/campaign_template.rb +2 -3
  87. data/lib/ElasticEmail/models/channel_log_status_summary.rb +2 -2
  88. data/lib/ElasticEmail/models/compression_format.rb +2 -2
  89. data/lib/ElasticEmail/models/consent_data.rb +4 -3
  90. data/lib/ElasticEmail/models/consent_tracking.rb +2 -2
  91. data/lib/ElasticEmail/models/contact.rb +6 -5
  92. data/lib/ElasticEmail/models/contact_activity.rb +2 -2
  93. data/lib/ElasticEmail/models/contact_hist_event_type.rb +2 -2
  94. data/lib/ElasticEmail/models/contact_history.rb +4 -3
  95. data/lib/ElasticEmail/models/contact_payload.rb +9 -3
  96. data/lib/ElasticEmail/models/contact_source.rb +2 -2
  97. data/lib/ElasticEmail/models/contact_status.rb +2 -2
  98. data/lib/ElasticEmail/models/contact_update_payload.rb +2 -2
  99. data/lib/ElasticEmail/models/contacts_list.rb +2 -2
  100. data/lib/ElasticEmail/models/delivery_optimization_type.rb +2 -2
  101. data/lib/ElasticEmail/models/email_content.rb +2 -3
  102. data/lib/ElasticEmail/models/email_data.rb +2 -4
  103. data/lib/ElasticEmail/models/email_message_data.rb +8 -5
  104. data/lib/ElasticEmail/models/email_recipient.rb +8 -3
  105. data/lib/ElasticEmail/models/email_send.rb +2 -2
  106. data/lib/ElasticEmail/models/email_status.rb +4 -3
  107. data/lib/ElasticEmail/models/email_transactional_message_data.rb +7 -5
  108. data/lib/ElasticEmail/models/email_validation_result.rb +2 -2
  109. data/lib/ElasticEmail/models/email_validation_status.rb +2 -2
  110. data/lib/ElasticEmail/models/email_view.rb +2 -2
  111. data/lib/ElasticEmail/models/emails_payload.rb +3 -3
  112. data/lib/ElasticEmail/models/encoding_type.rb +2 -2
  113. data/lib/ElasticEmail/models/event_type.rb +2 -2
  114. data/lib/ElasticEmail/models/events_order_by.rb +2 -2
  115. data/lib/ElasticEmail/models/export_file_formats.rb +2 -2
  116. data/lib/ElasticEmail/models/export_link.rb +2 -2
  117. data/lib/ElasticEmail/models/export_status.rb +2 -2
  118. data/lib/ElasticEmail/models/file_info.rb +2 -2
  119. data/lib/ElasticEmail/models/file_payload.rb +7 -2
  120. data/lib/ElasticEmail/models/file_upload_result.rb +2 -2
  121. data/lib/ElasticEmail/models/inbound_payload.rb +26 -4
  122. data/lib/ElasticEmail/models/inbound_route.rb +6 -4
  123. data/lib/ElasticEmail/models/inbound_route_action_type.rb +2 -2
  124. data/lib/ElasticEmail/models/inbound_route_filter_type.rb +2 -2
  125. data/lib/ElasticEmail/models/list_payload.rb +8 -3
  126. data/lib/ElasticEmail/models/list_update_payload.rb +2 -2
  127. data/lib/ElasticEmail/models/log_job_status.rb +2 -2
  128. data/lib/ElasticEmail/models/log_status_summary.rb +2 -2
  129. data/lib/ElasticEmail/models/merge_email_payload.rb +7 -5
  130. data/lib/ElasticEmail/models/message_attachment.rb +10 -3
  131. data/lib/ElasticEmail/models/message_category.rb +2 -2
  132. data/lib/ElasticEmail/models/new_api_key.rb +2 -2
  133. data/lib/ElasticEmail/models/new_smtp_credentials.rb +4 -3
  134. data/lib/ElasticEmail/models/options.rb +4 -3
  135. data/lib/ElasticEmail/models/recipient_event.rb +6 -4
  136. data/lib/ElasticEmail/models/segment.rb +2 -2
  137. data/lib/ElasticEmail/models/segment_payload.rb +12 -2
  138. data/lib/ElasticEmail/models/smtp_credentials.rb +4 -3
  139. data/lib/ElasticEmail/models/smtp_credentials_payload.rb +7 -2
  140. data/lib/ElasticEmail/models/sort_order_item.rb +13 -2
  141. data/lib/ElasticEmail/models/split_optimization_type.rb +2 -2
  142. data/lib/ElasticEmail/models/split_options.rb +4 -3
  143. data/lib/ElasticEmail/models/sub_account_info.rb +4 -4
  144. data/lib/ElasticEmail/models/subaccount_email_credits_payload.rb +7 -2
  145. data/lib/ElasticEmail/models/subaccount_email_settings.rb +16 -6
  146. data/lib/ElasticEmail/models/subaccount_email_settings_payload.rb +16 -6
  147. data/lib/ElasticEmail/models/subaccount_payload.rb +12 -3
  148. data/lib/ElasticEmail/models/subaccount_settings_info.rb +2 -3
  149. data/lib/ElasticEmail/models/subaccount_settings_info_payload.rb +2 -3
  150. data/lib/ElasticEmail/models/suppression.rb +2 -2
  151. data/lib/ElasticEmail/models/template.rb +6 -4
  152. data/lib/ElasticEmail/models/template_payload.rb +9 -3
  153. data/lib/ElasticEmail/models/template_scope.rb +2 -2
  154. data/lib/ElasticEmail/models/template_type.rb +2 -2
  155. data/lib/ElasticEmail/models/transactional_recipient.rb +7 -2
  156. data/lib/ElasticEmail/models/utm.rb +2 -2
  157. data/lib/ElasticEmail/models/verification_file_result.rb +4 -4
  158. data/lib/ElasticEmail/models/verification_file_result_details.rb +4 -4
  159. data/lib/ElasticEmail/models/verification_status.rb +2 -2
  160. data/lib/ElasticEmail/version.rb +3 -3
  161. data/lib/ElasticEmail.rb +2 -2
  162. data/spec/api_client_spec.rb +4 -4
  163. data/spec/configuration_spec.rb +2 -2
  164. data/spec/spec_helper.rb +2 -2
  165. metadata +10 -9
@@ -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. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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>
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/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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: 5.0.1
9
+ OpenAPI Generator version: 5.4.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.
@@ -95,12 +94,22 @@ module ElasticEmail
95
94
  # @return Array for valid properties with the reasons
96
95
  def list_invalid_properties
97
96
  invalid_properties = Array.new
97
+ if @email.nil?
98
+ invalid_properties.push('invalid value for "email", email cannot be nil.')
99
+ end
100
+
101
+ if @password.nil?
102
+ invalid_properties.push('invalid value for "password", password cannot be nil.')
103
+ end
104
+
98
105
  invalid_properties
99
106
  end
100
107
 
101
108
  # Check to see if the all the properties in the model are valid
102
109
  # @return true if the model is valid
103
110
  def valid?
111
+ return false if @email.nil?
112
+ return false if @password.nil?
104
113
  true
105
114
  end
106
115
 
@@ -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. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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>
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/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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: 5.0.1
9
+ OpenAPI Generator version: 5.4.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.
@@ -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. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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>
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/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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: 5.0.1
9
+ OpenAPI Generator version: 5.4.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.
@@ -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. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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>
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/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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: 5.0.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12
 
@@ -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. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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>
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/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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: 5.0.1
9
+ OpenAPI Generator version: 5.4.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
 
@@ -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. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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>
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/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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: 5.0.1
9
+ OpenAPI Generator version: 5.4.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
 
@@ -97,12 +98,17 @@ module ElasticEmail
97
98
  # @return Array for valid properties with the reasons
98
99
  def list_invalid_properties
99
100
  invalid_properties = Array.new
101
+ if @name.nil?
102
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
103
+ end
104
+
100
105
  invalid_properties
101
106
  end
102
107
 
103
108
  # Check to see if the all the properties in the model are valid
104
109
  # @return true if the model is valid
105
110
  def valid?
111
+ return false if @name.nil?
106
112
  true
107
113
  end
108
114
 
@@ -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. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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>
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/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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: 5.0.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12
 
@@ -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. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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>
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/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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: 5.0.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12
 
@@ -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. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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>
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/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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: 5.0.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12
 
@@ -92,12 +92,17 @@ module ElasticEmail
92
92
  # @return Array for valid properties with the reasons
93
93
  def list_invalid_properties
94
94
  invalid_properties = Array.new
95
+ if @to.nil?
96
+ invalid_properties.push('invalid value for "to", to cannot be nil.')
97
+ end
98
+
95
99
  invalid_properties
96
100
  end
97
101
 
98
102
  # Check to see if the all the properties in the model are valid
99
103
  # @return true if the model is valid
100
104
  def valid?
105
+ return false if @to.nil?
101
106
  true
102
107
  end
103
108
 
@@ -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. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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>
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/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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: 5.0.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12
 
@@ -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. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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>
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/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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: 5.0.1
9
+ OpenAPI Generator version: 5.4.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')
@@ -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. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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>
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/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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: 5.0.1
9
+ OpenAPI Generator version: 5.4.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')
@@ -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. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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>
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/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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: 5.0.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12
 
@@ -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. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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>
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/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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: 5.0.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12
 
13
13
  module ElasticEmail
14
- VERSION = '4.0.11'
14
+ VERSION = '4.0.16'
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. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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>
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/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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: 5.0.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12
 
@@ -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. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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>
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/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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: 5.0.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12
 
@@ -197,8 +197,8 @@ describe ElasticEmail::ApiClient do
197
197
  let(:api_client) { ElasticEmail::ApiClient.new }
198
198
 
199
199
  it 'works' do
200
- expect(api_client.select_header_content_type(nil)).to eq('application/json')
201
- expect(api_client.select_header_content_type([])).to eq('application/json')
200
+ expect(api_client.select_header_content_type(nil)).to be_nil
201
+ expect(api_client.select_header_content_type([])).to be_nil
202
202
 
203
203
  expect(api_client.select_header_content_type(['application/json'])).to eq('application/json')
204
204
  expect(api_client.select_header_content_type(['application/xml', 'application/json; charset=UTF8'])).to eq('application/json; charset=UTF8')
@@ -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. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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>
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/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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: 5.0.1
9
+ OpenAPI Generator version: 5.4.0
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. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://elasticemail.com/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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>
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/account#/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. This is the documentation for REST API. If you’d like to read our legacy documentation regarding Web API v2 click <a target=\"_blank\" href=\"https://api.elasticemail.com/public/help\">here</a>. 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: 5.0.1
9
+ OpenAPI Generator version: 5.4.0
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.11
4
+ version: 4.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - ElasticEmail
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-25 00:00:00.000000000 Z
11
+ date: 2022-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -52,12 +52,13 @@ dependencies:
52
52
  version: 3.6.0
53
53
  description: This API is based on the REST API architecture, allowing the user to
54
54
  easily manage their data with this resource-based approach. Every API call is
55
- established on which specific request type (GET, POST, PUT, DELETE) will be used. To
56
- start using this API, you will need your Access Token (available <a target="_blank"
57
- href="https://elasticemail.com/account#/settings/new/manage-api">here</a>). Remember
58
- to keep it safe. Required access levels are listed in the given request’s description. This
59
- is the documentation for REST API. If you’d like to read our legacy documentation
60
- regarding Web API v2 click <a target="_blank" href="https://api.elasticemail.com/public/help">here</a>. Downloadable
55
+ established on which specific request type (GET, POST, PUT, DELETE) will be used. The
56
+ API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per
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
61
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>
62
63
  email:
63
64
  - contact@elasticemail.com
@@ -394,7 +395,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
394
395
  - !ruby/object:Gem::Version
395
396
  version: '0'
396
397
  requirements: []
397
- rubygems_version: 3.1.2
398
+ rubygems_version: 3.2.5
398
399
  signing_key:
399
400
  specification_version: 4
400
401
  summary: Elastic Email REST API Ruby Gem