ElasticEmail 4.0.11 → 4.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ElasticEmail.gemspec +3 -3
- data/README.md +12 -9
- data/VERSION +1 -1
- data/docs/ApiKeyPayload.md +2 -2
- data/docs/BodyPart.md +1 -1
- data/docs/Campaign.md +4 -4
- data/docs/CampaignOptions.md +2 -2
- data/docs/CampaignTemplate.md +2 -2
- data/docs/CampaignsApi.md +2 -2
- data/docs/ConsentData.md +1 -1
- data/docs/Contact.md +3 -3
- data/docs/ContactHistory.md +1 -1
- data/docs/ContactPayload.md +2 -2
- data/docs/ContactsApi.md +3 -3
- data/docs/EmailContent.md +2 -2
- data/docs/EmailData.md +2 -2
- data/docs/EmailMessageData.md +3 -3
- data/docs/EmailRecipient.md +1 -1
- data/docs/EmailStatus.md +1 -1
- data/docs/EmailTransactionalMessageData.md +3 -3
- data/docs/EmailsApi.md +3 -3
- data/docs/EmailsPayload.md +2 -2
- data/docs/EventsApi.md +7 -7
- data/docs/FilePayload.md +1 -1
- data/docs/FilesApi.md +1 -1
- data/docs/InboundPayload.md +4 -4
- data/docs/InboundRoute.md +2 -2
- data/docs/InboundRouteApi.md +3 -3
- data/docs/ListPayload.md +2 -2
- data/docs/ListsApi.md +1 -1
- data/docs/MergeEmailPayload.md +3 -3
- data/docs/MessageAttachment.md +4 -4
- data/docs/NewSmtpCredentials.md +1 -1
- data/docs/Options.md +1 -1
- data/docs/RecipientEvent.md +2 -2
- data/docs/SecurityApi.md +4 -4
- data/docs/SegmentPayload.md +2 -2
- data/docs/SegmentsApi.md +2 -2
- data/docs/SmtpCredentials.md +1 -1
- data/docs/SmtpCredentialsPayload.md +1 -1
- data/docs/SortOrderItem.md +2 -2
- data/docs/SplitOptions.md +1 -1
- data/docs/SubAccountInfo.md +2 -2
- data/docs/SubAccountsApi.md +2 -2
- data/docs/SubaccountEmailCreditsPayload.md +1 -1
- data/docs/SubaccountEmailSettings.md +3 -1
- data/docs/SubaccountEmailSettingsPayload.md +3 -1
- data/docs/SubaccountPayload.md +3 -3
- data/docs/SubaccountSettingsInfo.md +1 -1
- data/docs/SubaccountSettingsInfoPayload.md +1 -1
- data/docs/Template.md +2 -2
- data/docs/TemplatePayload.md +2 -2
- data/docs/TemplatesApi.md +2 -2
- data/docs/TransactionalRecipient.md +1 -1
- data/docs/VerificationFileResult.md +2 -2
- data/docs/VerificationFileResultDetails.md +2 -2
- data/docs/VerificationsApi.md +80 -9
- data/lib/ElasticEmail/api/campaigns_api.rb +10 -4
- data/lib/ElasticEmail/api/contacts_api.rb +20 -8
- data/lib/ElasticEmail/api/emails_api.rb +14 -5
- data/lib/ElasticEmail/api/events_api.rb +9 -9
- data/lib/ElasticEmail/api/files_api.rb +6 -3
- data/lib/ElasticEmail/api/inbound_route_api.rb +14 -5
- data/lib/ElasticEmail/api/lists_api.rb +18 -6
- data/lib/ElasticEmail/api/security_api.rb +18 -6
- data/lib/ElasticEmail/api/segments_api.rb +10 -4
- data/lib/ElasticEmail/api/statistics_api.rb +2 -2
- data/lib/ElasticEmail/api/sub_accounts_api.rb +14 -5
- data/lib/ElasticEmail/api/suppressions_api.rb +26 -8
- data/lib/ElasticEmail/api/templates_api.rb +10 -4
- data/lib/ElasticEmail/api/verifications_api.rb +73 -9
- data/lib/ElasticEmail/api_client.rb +5 -5
- data/lib/ElasticEmail/api_error.rb +2 -2
- data/lib/ElasticEmail/configuration.rb +4 -3
- data/lib/ElasticEmail/models/access_level.rb +3 -2
- data/lib/ElasticEmail/models/account_status_enum.rb +2 -2
- data/lib/ElasticEmail/models/api_key.rb +2 -2
- data/lib/ElasticEmail/models/api_key_payload.rb +12 -2
- data/lib/ElasticEmail/models/body_content_type.rb +2 -2
- data/lib/ElasticEmail/models/body_part.rb +9 -3
- data/lib/ElasticEmail/models/campaign.rb +14 -5
- data/lib/ElasticEmail/models/campaign_options.rb +4 -4
- data/lib/ElasticEmail/models/campaign_recipient.rb +2 -2
- data/lib/ElasticEmail/models/campaign_status.rb +2 -2
- data/lib/ElasticEmail/models/campaign_template.rb +2 -3
- data/lib/ElasticEmail/models/channel_log_status_summary.rb +2 -2
- data/lib/ElasticEmail/models/compression_format.rb +2 -2
- data/lib/ElasticEmail/models/consent_data.rb +4 -3
- data/lib/ElasticEmail/models/consent_tracking.rb +2 -2
- data/lib/ElasticEmail/models/contact.rb +6 -5
- data/lib/ElasticEmail/models/contact_activity.rb +2 -2
- data/lib/ElasticEmail/models/contact_hist_event_type.rb +2 -2
- data/lib/ElasticEmail/models/contact_history.rb +4 -3
- data/lib/ElasticEmail/models/contact_payload.rb +9 -3
- data/lib/ElasticEmail/models/contact_source.rb +2 -2
- data/lib/ElasticEmail/models/contact_status.rb +2 -2
- data/lib/ElasticEmail/models/contact_update_payload.rb +2 -2
- data/lib/ElasticEmail/models/contacts_list.rb +2 -2
- data/lib/ElasticEmail/models/delivery_optimization_type.rb +2 -2
- data/lib/ElasticEmail/models/email_content.rb +2 -3
- data/lib/ElasticEmail/models/email_data.rb +2 -4
- data/lib/ElasticEmail/models/email_message_data.rb +8 -5
- data/lib/ElasticEmail/models/email_recipient.rb +8 -3
- data/lib/ElasticEmail/models/email_send.rb +2 -2
- data/lib/ElasticEmail/models/email_status.rb +4 -3
- data/lib/ElasticEmail/models/email_transactional_message_data.rb +7 -5
- data/lib/ElasticEmail/models/email_validation_result.rb +2 -2
- data/lib/ElasticEmail/models/email_validation_status.rb +2 -2
- data/lib/ElasticEmail/models/email_view.rb +2 -2
- data/lib/ElasticEmail/models/emails_payload.rb +3 -3
- data/lib/ElasticEmail/models/encoding_type.rb +2 -2
- data/lib/ElasticEmail/models/event_type.rb +2 -2
- data/lib/ElasticEmail/models/events_order_by.rb +2 -2
- data/lib/ElasticEmail/models/export_file_formats.rb +2 -2
- data/lib/ElasticEmail/models/export_link.rb +2 -2
- data/lib/ElasticEmail/models/export_status.rb +2 -2
- data/lib/ElasticEmail/models/file_info.rb +2 -2
- data/lib/ElasticEmail/models/file_payload.rb +7 -2
- data/lib/ElasticEmail/models/file_upload_result.rb +2 -2
- data/lib/ElasticEmail/models/inbound_payload.rb +26 -4
- data/lib/ElasticEmail/models/inbound_route.rb +6 -4
- data/lib/ElasticEmail/models/inbound_route_action_type.rb +2 -2
- data/lib/ElasticEmail/models/inbound_route_filter_type.rb +2 -2
- data/lib/ElasticEmail/models/list_payload.rb +8 -3
- data/lib/ElasticEmail/models/list_update_payload.rb +2 -2
- data/lib/ElasticEmail/models/log_job_status.rb +2 -2
- data/lib/ElasticEmail/models/log_status_summary.rb +2 -2
- data/lib/ElasticEmail/models/merge_email_payload.rb +7 -5
- data/lib/ElasticEmail/models/message_attachment.rb +10 -3
- data/lib/ElasticEmail/models/message_category.rb +2 -2
- data/lib/ElasticEmail/models/new_api_key.rb +2 -2
- data/lib/ElasticEmail/models/new_smtp_credentials.rb +4 -3
- data/lib/ElasticEmail/models/options.rb +4 -3
- data/lib/ElasticEmail/models/recipient_event.rb +6 -4
- data/lib/ElasticEmail/models/segment.rb +2 -2
- data/lib/ElasticEmail/models/segment_payload.rb +12 -2
- data/lib/ElasticEmail/models/smtp_credentials.rb +4 -3
- data/lib/ElasticEmail/models/smtp_credentials_payload.rb +7 -2
- data/lib/ElasticEmail/models/sort_order_item.rb +13 -2
- data/lib/ElasticEmail/models/split_optimization_type.rb +2 -2
- data/lib/ElasticEmail/models/split_options.rb +4 -3
- data/lib/ElasticEmail/models/sub_account_info.rb +4 -4
- data/lib/ElasticEmail/models/subaccount_email_credits_payload.rb +7 -2
- data/lib/ElasticEmail/models/subaccount_email_settings.rb +16 -6
- data/lib/ElasticEmail/models/subaccount_email_settings_payload.rb +16 -6
- data/lib/ElasticEmail/models/subaccount_payload.rb +12 -3
- data/lib/ElasticEmail/models/subaccount_settings_info.rb +2 -3
- data/lib/ElasticEmail/models/subaccount_settings_info_payload.rb +2 -3
- data/lib/ElasticEmail/models/suppression.rb +2 -2
- data/lib/ElasticEmail/models/template.rb +6 -4
- data/lib/ElasticEmail/models/template_payload.rb +9 -3
- data/lib/ElasticEmail/models/template_scope.rb +2 -2
- data/lib/ElasticEmail/models/template_type.rb +2 -2
- data/lib/ElasticEmail/models/transactional_recipient.rb +7 -2
- data/lib/ElasticEmail/models/utm.rb +2 -2
- data/lib/ElasticEmail/models/verification_file_result.rb +4 -4
- data/lib/ElasticEmail/models/verification_file_result_details.rb +4 -4
- data/lib/ElasticEmail/models/verification_status.rb +2 -2
- data/lib/ElasticEmail/version.rb +3 -3
- data/lib/ElasticEmail.rb +2 -2
- data/spec/api_client_spec.rb +4 -4
- data/spec/configuration_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- 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
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -25,7 +25,7 @@ module ElasticEmail
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @option opts [Time] :from Starting date for search in YYYY-MM-DDThh:mm:ss format.
|
27
27
|
# @option opts [Time] :to Ending date for search in YYYY-MM-DDThh:mm:ss format.
|
28
|
-
# @option opts [EventsOrderBy] :order_by
|
28
|
+
# @option opts [EventsOrderBy] :order_by (default to 'DateDescending')
|
29
29
|
# @option opts [Integer] :limit Maximum number of returned items.
|
30
30
|
# @option opts [Integer] :offset How many items should be returned ahead.
|
31
31
|
# @return [Array<RecipientEvent>]
|
@@ -104,8 +104,8 @@ module ElasticEmail
|
|
104
104
|
# @option opts [Array<EventType>] :event_types Types of Events to return
|
105
105
|
# @option opts [Time] :from Starting date for search in YYYY-MM-DDThh:mm:ss format.
|
106
106
|
# @option opts [Time] :to Ending date for search in YYYY-MM-DDThh:mm:ss format.
|
107
|
-
# @option opts [ExportFileFormats] :file_format Format of the exported file
|
108
|
-
# @option opts [CompressionFormat] :compression_format FileResponse compression format. None or Zip.
|
107
|
+
# @option opts [ExportFileFormats] :file_format Format of the exported file (default to 'Csv')
|
108
|
+
# @option opts [CompressionFormat] :compression_format FileResponse compression format. None or Zip. (default to 'None')
|
109
109
|
# @option opts [String] :file_name Name of your file including extension.
|
110
110
|
# @return [ExportLink]
|
111
111
|
def events_channels_by_name_export_post(name, opts = {})
|
@@ -185,7 +185,7 @@ module ElasticEmail
|
|
185
185
|
# @option opts [Array<EventType>] :event_types Types of Events to return
|
186
186
|
# @option opts [Time] :from Starting date for search in YYYY-MM-DDThh:mm:ss format.
|
187
187
|
# @option opts [Time] :to Ending date for search in YYYY-MM-DDThh:mm:ss format.
|
188
|
-
# @option opts [EventsOrderBy] :order_by
|
188
|
+
# @option opts [EventsOrderBy] :order_by (default to 'DateDescending')
|
189
189
|
# @option opts [Integer] :limit How many items to load. Maximum for this request is 1000 items
|
190
190
|
# @option opts [Integer] :offset How many items should be returned ahead.
|
191
191
|
# @return [Array<RecipientEvent>]
|
@@ -391,8 +391,8 @@ module ElasticEmail
|
|
391
391
|
# @option opts [Array<EventType>] :event_types Types of Events to return
|
392
392
|
# @option opts [Time] :from Starting date for search in YYYY-MM-DDThh:mm:ss format.
|
393
393
|
# @option opts [Time] :to Ending date for search in YYYY-MM-DDThh:mm:ss format.
|
394
|
-
# @option opts [ExportFileFormats] :file_format Format of the exported file
|
395
|
-
# @option opts [CompressionFormat] :compression_format FileResponse compression format. None or Zip.
|
394
|
+
# @option opts [ExportFileFormats] :file_format Format of the exported file (default to 'Csv')
|
395
|
+
# @option opts [CompressionFormat] :compression_format FileResponse compression format. None or Zip. (default to 'None')
|
396
396
|
# @option opts [String] :file_name Name of your file including extension.
|
397
397
|
# @return [ExportLink]
|
398
398
|
def events_export_post(opts = {})
|
@@ -466,7 +466,7 @@ module ElasticEmail
|
|
466
466
|
# @option opts [Array<EventType>] :event_types Types of Events to return
|
467
467
|
# @option opts [Time] :from Starting date for search in YYYY-MM-DDThh:mm:ss format.
|
468
468
|
# @option opts [Time] :to Ending date for search in YYYY-MM-DDThh:mm:ss format.
|
469
|
-
# @option opts [EventsOrderBy] :order_by
|
469
|
+
# @option opts [EventsOrderBy] :order_by (default to 'DateDescending')
|
470
470
|
# @option opts [Integer] :limit How many items to load. Maximum for this request is 1000 items
|
471
471
|
# @option opts [Integer] :offset How many items should be returned ahead.
|
472
472
|
# @return [Array<RecipientEvent>]
|
@@ -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
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -306,7 +306,10 @@ module ElasticEmail
|
|
306
306
|
# HTTP header 'Accept' (if needed)
|
307
307
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
308
308
|
# HTTP header 'Content-Type'
|
309
|
-
|
309
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
310
|
+
if !content_type.nil?
|
311
|
+
header_params['Content-Type'] = content_type
|
312
|
+
end
|
310
313
|
|
311
314
|
# form parameters
|
312
315
|
form_params = opts[:form_params] || {}
|
@@ -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
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -183,7 +183,10 @@ module ElasticEmail
|
|
183
183
|
# HTTP header 'Accept' (if needed)
|
184
184
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
185
185
|
# HTTP header 'Content-Type'
|
186
|
-
|
186
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
187
|
+
if !content_type.nil?
|
188
|
+
header_params['Content-Type'] = content_type
|
189
|
+
end
|
187
190
|
|
188
191
|
# form parameters
|
189
192
|
form_params = opts[:form_params] || {}
|
@@ -305,7 +308,10 @@ module ElasticEmail
|
|
305
308
|
# HTTP header 'Accept' (if needed)
|
306
309
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
307
310
|
# HTTP header 'Content-Type'
|
308
|
-
|
311
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
312
|
+
if !content_type.nil?
|
313
|
+
header_params['Content-Type'] = content_type
|
314
|
+
end
|
309
315
|
|
310
316
|
# form parameters
|
311
317
|
form_params = opts[:form_params] || {}
|
@@ -370,7 +376,10 @@ module ElasticEmail
|
|
370
376
|
# HTTP header 'Accept' (if needed)
|
371
377
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
372
378
|
# HTTP header 'Content-Type'
|
373
|
-
|
379
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
380
|
+
if !content_type.nil?
|
381
|
+
header_params['Content-Type'] = content_type
|
382
|
+
end
|
374
383
|
|
375
384
|
# form parameters
|
376
385
|
form_params = opts[:form_params] || {}
|
@@ -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
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -59,7 +59,10 @@ module ElasticEmail
|
|
59
59
|
# HTTP header 'Accept' (if needed)
|
60
60
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
61
61
|
# HTTP header 'Content-Type'
|
62
|
-
|
62
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
63
|
+
if !content_type.nil?
|
64
|
+
header_params['Content-Type'] = content_type
|
65
|
+
end
|
63
66
|
|
64
67
|
# form parameters
|
65
68
|
form_params = opts[:form_params] || {}
|
@@ -128,7 +131,10 @@ module ElasticEmail
|
|
128
131
|
# header parameters
|
129
132
|
header_params = opts[:header_params] || {}
|
130
133
|
# HTTP header 'Content-Type'
|
131
|
-
|
134
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
135
|
+
if !content_type.nil?
|
136
|
+
header_params['Content-Type'] = content_type
|
137
|
+
end
|
132
138
|
|
133
139
|
# form parameters
|
134
140
|
form_params = opts[:form_params] || {}
|
@@ -323,7 +329,10 @@ module ElasticEmail
|
|
323
329
|
# HTTP header 'Accept' (if needed)
|
324
330
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
325
331
|
# HTTP header 'Content-Type'
|
326
|
-
|
332
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
333
|
+
if !content_type.nil?
|
334
|
+
header_params['Content-Type'] = content_type
|
335
|
+
end
|
327
336
|
|
328
337
|
# form parameters
|
329
338
|
form_params = opts[:form_params] || {}
|
@@ -451,7 +460,10 @@ module ElasticEmail
|
|
451
460
|
# HTTP header 'Accept' (if needed)
|
452
461
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
453
462
|
# HTTP header 'Content-Type'
|
454
|
-
|
463
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
464
|
+
if !content_type.nil?
|
465
|
+
header_params['Content-Type'] = content_type
|
466
|
+
end
|
455
467
|
|
456
468
|
# form parameters
|
457
469
|
form_params = opts[:form_params] || {}
|
@@ -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
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -189,7 +189,10 @@ module ElasticEmail
|
|
189
189
|
# HTTP header 'Accept' (if needed)
|
190
190
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
191
191
|
# HTTP header 'Content-Type'
|
192
|
-
|
192
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
193
|
+
if !content_type.nil?
|
194
|
+
header_params['Content-Type'] = content_type
|
195
|
+
end
|
193
196
|
|
194
197
|
# form parameters
|
195
198
|
form_params = opts[:form_params] || {}
|
@@ -314,7 +317,10 @@ module ElasticEmail
|
|
314
317
|
# HTTP header 'Accept' (if needed)
|
315
318
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
316
319
|
# HTTP header 'Content-Type'
|
317
|
-
|
320
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
321
|
+
if !content_type.nil?
|
322
|
+
header_params['Content-Type'] = content_type
|
323
|
+
end
|
318
324
|
|
319
325
|
# form parameters
|
320
326
|
form_params = opts[:form_params] || {}
|
@@ -515,7 +521,10 @@ module ElasticEmail
|
|
515
521
|
# HTTP header 'Accept' (if needed)
|
516
522
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
517
523
|
# HTTP header 'Content-Type'
|
518
|
-
|
524
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
525
|
+
if !content_type.nil?
|
526
|
+
header_params['Content-Type'] = content_type
|
527
|
+
end
|
519
528
|
|
520
529
|
# form parameters
|
521
530
|
form_params = opts[:form_params] || {}
|
@@ -640,7 +649,10 @@ module ElasticEmail
|
|
640
649
|
# HTTP header 'Accept' (if needed)
|
641
650
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
642
651
|
# HTTP header 'Content-Type'
|
643
|
-
|
652
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
653
|
+
if !content_type.nil?
|
654
|
+
header_params['Content-Type'] = content_type
|
655
|
+
end
|
644
656
|
|
645
657
|
# form parameters
|
646
658
|
form_params = opts[:form_params] || {}
|
@@ -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
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -183,7 +183,10 @@ module ElasticEmail
|
|
183
183
|
# HTTP header 'Accept' (if needed)
|
184
184
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
185
185
|
# HTTP header 'Content-Type'
|
186
|
-
|
186
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
187
|
+
if !content_type.nil?
|
188
|
+
header_params['Content-Type'] = content_type
|
189
|
+
end
|
187
190
|
|
188
191
|
# form parameters
|
189
192
|
form_params = opts[:form_params] || {}
|
@@ -311,7 +314,10 @@ module ElasticEmail
|
|
311
314
|
# HTTP header 'Accept' (if needed)
|
312
315
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
313
316
|
# HTTP header 'Content-Type'
|
314
|
-
|
317
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
318
|
+
if !content_type.nil?
|
319
|
+
header_params['Content-Type'] = content_type
|
320
|
+
end
|
315
321
|
|
316
322
|
# form parameters
|
317
323
|
form_params = opts[:form_params] || {}
|
@@ -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
|
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
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -57,7 +57,10 @@ module ElasticEmail
|
|
57
57
|
# header parameters
|
58
58
|
header_params = opts[:header_params] || {}
|
59
59
|
# HTTP header 'Content-Type'
|
60
|
-
|
60
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
61
|
+
if !content_type.nil?
|
62
|
+
header_params['Content-Type'] = content_type
|
63
|
+
end
|
61
64
|
|
62
65
|
# form parameters
|
63
66
|
form_params = opts[:form_params] || {}
|
@@ -252,7 +255,10 @@ module ElasticEmail
|
|
252
255
|
# HTTP header 'Accept' (if needed)
|
253
256
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
254
257
|
# HTTP header 'Content-Type'
|
255
|
-
|
258
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
259
|
+
if !content_type.nil?
|
260
|
+
header_params['Content-Type'] = content_type
|
261
|
+
end
|
256
262
|
|
257
263
|
# form parameters
|
258
264
|
form_params = opts[:form_params] || {}
|
@@ -380,7 +386,10 @@ module ElasticEmail
|
|
380
386
|
# HTTP header 'Accept' (if needed)
|
381
387
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
382
388
|
# HTTP header 'Content-Type'
|
383
|
-
|
389
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
390
|
+
if !content_type.nil?
|
391
|
+
header_params['Content-Type'] = content_type
|
392
|
+
end
|
384
393
|
|
385
394
|
# form parameters
|
386
395
|
form_params = opts[:form_params] || {}
|
@@ -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
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -113,7 +113,10 @@ module ElasticEmail
|
|
113
113
|
# header parameters
|
114
114
|
header_params = opts[:header_params] || {}
|
115
115
|
# HTTP header 'Content-Type'
|
116
|
-
|
116
|
+
content_type = @api_client.select_header_content_type(['multipart/form-data'])
|
117
|
+
if !content_type.nil?
|
118
|
+
header_params['Content-Type'] = content_type
|
119
|
+
end
|
117
120
|
|
118
121
|
# form parameters
|
119
122
|
form_params = opts[:form_params] || {}
|
@@ -179,7 +182,10 @@ module ElasticEmail
|
|
179
182
|
# HTTP header 'Accept' (if needed)
|
180
183
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
181
184
|
# HTTP header 'Content-Type'
|
182
|
-
|
185
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
186
|
+
if !content_type.nil?
|
187
|
+
header_params['Content-Type'] = content_type
|
188
|
+
end
|
183
189
|
|
184
190
|
# form parameters
|
185
191
|
form_params = opts[:form_params] || {}
|
@@ -428,7 +434,10 @@ module ElasticEmail
|
|
428
434
|
# header parameters
|
429
435
|
header_params = opts[:header_params] || {}
|
430
436
|
# HTTP header 'Content-Type'
|
431
|
-
|
437
|
+
content_type = @api_client.select_header_content_type(['multipart/form-data'])
|
438
|
+
if !content_type.nil?
|
439
|
+
header_params['Content-Type'] = content_type
|
440
|
+
end
|
432
441
|
|
433
442
|
# form parameters
|
434
443
|
form_params = opts[:form_params] || {}
|
@@ -494,7 +503,10 @@ module ElasticEmail
|
|
494
503
|
# HTTP header 'Accept' (if needed)
|
495
504
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
496
505
|
# HTTP header 'Content-Type'
|
497
|
-
|
506
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
507
|
+
if !content_type.nil?
|
508
|
+
header_params['Content-Type'] = content_type
|
509
|
+
end
|
498
510
|
|
499
511
|
# form parameters
|
500
512
|
form_params = opts[:form_params] || {}
|
@@ -682,7 +694,10 @@ module ElasticEmail
|
|
682
694
|
# header parameters
|
683
695
|
header_params = opts[:header_params] || {}
|
684
696
|
# HTTP header 'Content-Type'
|
685
|
-
|
697
|
+
content_type = @api_client.select_header_content_type(['multipart/form-data'])
|
698
|
+
if !content_type.nil?
|
699
|
+
header_params['Content-Type'] = content_type
|
700
|
+
end
|
686
701
|
|
687
702
|
# form parameters
|
688
703
|
form_params = opts[:form_params] || {}
|
@@ -748,7 +763,10 @@ module ElasticEmail
|
|
748
763
|
# HTTP header 'Accept' (if needed)
|
749
764
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
750
765
|
# HTTP header 'Content-Type'
|
751
|
-
|
766
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
767
|
+
if !content_type.nil?
|
768
|
+
header_params['Content-Type'] = content_type
|
769
|
+
end
|
752
770
|
|
753
771
|
# form parameters
|
754
772
|
form_params = opts[:form_params] || {}
|
@@ -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
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -183,7 +183,10 @@ module ElasticEmail
|
|
183
183
|
# HTTP header 'Accept' (if needed)
|
184
184
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
185
185
|
# HTTP header 'Content-Type'
|
186
|
-
|
186
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
187
|
+
if !content_type.nil?
|
188
|
+
header_params['Content-Type'] = content_type
|
189
|
+
end
|
187
190
|
|
188
191
|
# form parameters
|
189
192
|
form_params = opts[:form_params] || {}
|
@@ -321,7 +324,10 @@ module ElasticEmail
|
|
321
324
|
# HTTP header 'Accept' (if needed)
|
322
325
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
323
326
|
# HTTP header 'Content-Type'
|
324
|
-
|
327
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
328
|
+
if !content_type.nil?
|
329
|
+
header_params['Content-Type'] = content_type
|
330
|
+
end
|
325
331
|
|
326
332
|
# form parameters
|
327
333
|
form_params = opts[:form_params] || {}
|