ElasticEmail 4.0.13 → 4.0.20
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 +6 -8
- data/VERSION +1 -1
- data/docs/BodyPart.md +1 -1
- data/docs/Campaign.md +3 -3
- data/docs/CampaignOptions.md +2 -2
- data/docs/CampaignTemplate.md +1 -1
- data/docs/ConsentData.md +1 -1
- data/docs/Contact.md +3 -3
- data/docs/ContactHistory.md +1 -1
- data/docs/ContactPayload.md +1 -1
- data/docs/ContactsApi.md +2 -2
- data/docs/EmailContent.md +1 -1
- data/docs/EmailData.md +2 -2
- data/docs/EmailMessageData.md +3 -3
- data/docs/EmailStatus.md +1 -1
- data/docs/EmailTransactionalMessageData.md +3 -3
- data/docs/EventsApi.md +7 -7
- data/docs/InboundPayload.md +2 -2
- data/docs/InboundRoute.md +2 -2
- data/docs/MergeEmailPayload.md +3 -3
- data/docs/NewSmtpCredentials.md +1 -1
- data/docs/Options.md +1 -1
- data/docs/RecipientEvent.md +2 -2
- data/docs/SmtpCredentials.md +1 -1
- data/docs/SplitOptions.md +1 -1
- data/docs/SubAccountInfo.md +2 -2
- data/docs/SubaccountEmailSettings.md +3 -1
- data/docs/SubaccountEmailSettingsPayload.md +3 -1
- data/docs/SubaccountPayload.md +1 -1
- data/docs/SubaccountSettingsInfo.md +1 -1
- data/docs/SubaccountSettingsInfoPayload.md +1 -1
- data/docs/SuppressionsApi.md +12 -12
- data/docs/Template.md +2 -2
- data/docs/TemplatePayload.md +1 -1
- data/docs/VerificationFileResult.md +2 -2
- data/docs/VerificationFileResultDetails.md +2 -2
- data/lib/ElasticEmail/api/campaigns_api.rb +10 -4
- data/lib/ElasticEmail/api/contacts_api.rb +22 -10
- data/lib/ElasticEmail/api/emails_api.rb +14 -5
- data/lib/ElasticEmail/api/events_api.rb +16 -16
- 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 +50 -32
- data/lib/ElasticEmail/api/templates_api.rb +10 -4
- data/lib/ElasticEmail/api/verifications_api.rb +6 -3
- data/lib/ElasticEmail/api_client.rb +8 -6
- data/lib/ElasticEmail/api_error.rb +2 -2
- data/lib/ElasticEmail/configuration.rb +6 -4
- data/lib/ElasticEmail/models/access_level.rb +6 -2
- data/lib/ElasticEmail/models/account_status_enum.rb +2 -2
- data/lib/ElasticEmail/models/api_key.rb +3 -2
- data/lib/ElasticEmail/models/api_key_payload.rb +3 -2
- data/lib/ElasticEmail/models/body_content_type.rb +2 -2
- data/lib/ElasticEmail/models/body_part.rb +5 -3
- data/lib/ElasticEmail/models/campaign.rb +5 -5
- data/lib/ElasticEmail/models/campaign_options.rb +5 -4
- data/lib/ElasticEmail/models/campaign_recipient.rb +3 -2
- data/lib/ElasticEmail/models/campaign_status.rb +2 -2
- data/lib/ElasticEmail/models/campaign_template.rb +3 -3
- data/lib/ElasticEmail/models/channel_log_status_summary.rb +3 -2
- data/lib/ElasticEmail/models/compression_format.rb +2 -2
- data/lib/ElasticEmail/models/consent_data.rb +5 -3
- data/lib/ElasticEmail/models/consent_tracking.rb +2 -2
- data/lib/ElasticEmail/models/contact.rb +7 -5
- data/lib/ElasticEmail/models/contact_activity.rb +3 -2
- data/lib/ElasticEmail/models/contact_hist_event_type.rb +2 -2
- data/lib/ElasticEmail/models/contact_history.rb +5 -3
- data/lib/ElasticEmail/models/contact_payload.rb +5 -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 +3 -2
- data/lib/ElasticEmail/models/contacts_list.rb +3 -2
- data/lib/ElasticEmail/models/delivery_optimization_type.rb +2 -2
- data/lib/ElasticEmail/models/email_content.rb +3 -3
- data/lib/ElasticEmail/models/email_data.rb +3 -4
- data/lib/ElasticEmail/models/email_message_data.rb +4 -5
- data/lib/ElasticEmail/models/email_recipient.rb +4 -3
- data/lib/ElasticEmail/models/email_send.rb +3 -2
- data/lib/ElasticEmail/models/email_status.rb +5 -3
- data/lib/ElasticEmail/models/email_transactional_message_data.rb +3 -5
- data/lib/ElasticEmail/models/email_validation_result.rb +3 -2
- data/lib/ElasticEmail/models/email_validation_status.rb +2 -2
- data/lib/ElasticEmail/models/email_view.rb +3 -2
- data/lib/ElasticEmail/models/emails_payload.rb +3 -2
- 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 +3 -2
- data/lib/ElasticEmail/models/export_status.rb +2 -2
- data/lib/ElasticEmail/models/file_info.rb +3 -2
- data/lib/ElasticEmail/models/file_payload.rb +3 -2
- data/lib/ElasticEmail/models/file_upload_result.rb +3 -2
- data/lib/ElasticEmail/models/inbound_payload.rb +7 -4
- data/lib/ElasticEmail/models/inbound_route.rb +7 -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 +3 -2
- data/lib/ElasticEmail/models/list_update_payload.rb +3 -2
- data/lib/ElasticEmail/models/log_job_status.rb +2 -2
- data/lib/ElasticEmail/models/log_status_summary.rb +3 -2
- data/lib/ElasticEmail/models/merge_email_payload.rb +3 -5
- data/lib/ElasticEmail/models/message_attachment.rb +3 -2
- data/lib/ElasticEmail/models/message_category.rb +2 -2
- data/lib/ElasticEmail/models/new_api_key.rb +3 -2
- data/lib/ElasticEmail/models/new_smtp_credentials.rb +5 -3
- data/lib/ElasticEmail/models/options.rb +5 -3
- data/lib/ElasticEmail/models/recipient_event.rb +7 -4
- data/lib/ElasticEmail/models/segment.rb +3 -2
- data/lib/ElasticEmail/models/segment_payload.rb +3 -2
- data/lib/ElasticEmail/models/smtp_credentials.rb +5 -3
- data/lib/ElasticEmail/models/smtp_credentials_payload.rb +3 -2
- data/lib/ElasticEmail/models/sort_order_item.rb +3 -2
- data/lib/ElasticEmail/models/split_optimization_type.rb +2 -2
- data/lib/ElasticEmail/models/split_options.rb +5 -3
- data/lib/ElasticEmail/models/sub_account_info.rb +5 -4
- data/lib/ElasticEmail/models/subaccount_email_credits_payload.rb +3 -2
- data/lib/ElasticEmail/models/subaccount_email_settings.rb +17 -6
- data/lib/ElasticEmail/models/subaccount_email_settings_payload.rb +17 -6
- data/lib/ElasticEmail/models/subaccount_payload.rb +3 -3
- data/lib/ElasticEmail/models/subaccount_settings_info.rb +3 -3
- data/lib/ElasticEmail/models/subaccount_settings_info_payload.rb +3 -3
- data/lib/ElasticEmail/models/suppression.rb +3 -2
- data/lib/ElasticEmail/models/template.rb +7 -4
- data/lib/ElasticEmail/models/template_payload.rb +5 -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 +3 -2
- data/lib/ElasticEmail/models/utm.rb +3 -2
- data/lib/ElasticEmail/models/verification_file_result.rb +5 -4
- data/lib/ElasticEmail/models/verification_file_result_details.rb +5 -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 +7 -13
data/docs/TemplatePayload.md
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
| **name** | **String** | Template name | |
|
8
8
|
| **subject** | **String** | Default subject of email. | [optional] |
|
9
9
|
| **body** | [**Array<BodyPart>**](BodyPart.md) | Email content of this template | [optional] |
|
10
|
-
| **template_scope** | [**TemplateScope**](TemplateScope.md) |
|
10
|
+
| **template_scope** | [**TemplateScope**](TemplateScope.md) | | [optional][default to 'Personal'] |
|
11
11
|
|
12
12
|
## Example
|
13
13
|
|
@@ -6,8 +6,8 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **verification_id** | **String** | Identifier of this verification result | [optional] |
|
8
8
|
| **filename** | **String** | Origin file name | [optional] |
|
9
|
-
| **verification_status** | [**VerificationStatus**](VerificationStatus.md) |
|
10
|
-
| **file_upload_result** | [**FileUploadResult**](FileUploadResult.md) |
|
9
|
+
| **verification_status** | [**VerificationStatus**](VerificationStatus.md) | | [optional][default to 'Processing'] |
|
10
|
+
| **file_upload_result** | [**FileUploadResult**](FileUploadResult.md) | | [optional] |
|
11
11
|
| **date_added** | **Time** | Date of creation in YYYY-MM-DDThh:ii:ss format | [optional] |
|
12
12
|
| **source** | **String** | Origin file extension | [optional] |
|
13
13
|
|
@@ -7,8 +7,8 @@
|
|
7
7
|
| **verification_result** | [**Array<EmailValidationResult>**](EmailValidationResult.md) | Verification result's details | [optional] |
|
8
8
|
| **verification_id** | **String** | Identifier of this verification result | [optional] |
|
9
9
|
| **filename** | **String** | Origin file name | [optional] |
|
10
|
-
| **verification_status** | [**VerificationStatus**](VerificationStatus.md) |
|
11
|
-
| **file_upload_result** | [**FileUploadResult**](FileUploadResult.md) |
|
10
|
+
| **verification_status** | [**VerificationStatus**](VerificationStatus.md) | | [optional][default to 'Processing'] |
|
11
|
+
| **file_upload_result** | [**FileUploadResult**](FileUploadResult.md) | | [optional] |
|
12
12
|
| **date_added** | **Time** | Date of creation in YYYY-MM-DDThh:ii:ss format | [optional] |
|
13
13
|
| **source** | **String** | Origin file extension | [optional] |
|
14
14
|
|
@@ -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. 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.
|
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. 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:
|
9
|
+
OpenAPI Generator version: 6.0.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] || {}
|
@@ -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] || {}
|
@@ -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. 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.
|
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. 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:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -252,7 +252,10 @@ module ElasticEmail
|
|
252
252
|
# HTTP header 'Accept' (if needed)
|
253
253
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
254
254
|
# HTTP header 'Content-Type'
|
255
|
-
|
255
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
256
|
+
if !content_type.nil?
|
257
|
+
header_params['Content-Type'] = content_type
|
258
|
+
end
|
256
259
|
|
257
260
|
# form parameters
|
258
261
|
form_params = opts[:form_params] || {}
|
@@ -315,7 +318,10 @@ module ElasticEmail
|
|
315
318
|
# header parameters
|
316
319
|
header_params = opts[:header_params] || {}
|
317
320
|
# HTTP header 'Content-Type'
|
318
|
-
|
321
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
322
|
+
if !content_type.nil?
|
323
|
+
header_params['Content-Type'] = content_type
|
324
|
+
end
|
319
325
|
|
320
326
|
# form parameters
|
321
327
|
form_params = opts[:form_params] || {}
|
@@ -412,10 +418,10 @@ module ElasticEmail
|
|
412
418
|
# Export Contacts
|
413
419
|
# Request an Export of specified Contacts. Required Access Level: Export
|
414
420
|
# @param [Hash] opts the optional parameters
|
415
|
-
# @option opts [ExportFileFormats] :file_format Format of the exported file
|
421
|
+
# @option opts [ExportFileFormats] :file_format Format of the exported file (default to 'Csv')
|
416
422
|
# @option opts [String] :rule Query used for filtering.
|
417
423
|
# @option opts [Array<String>] :emails Comma delimited list of contact emails
|
418
|
-
# @option opts [CompressionFormat] :compression_format FileResponse compression format. None or Zip.
|
424
|
+
# @option opts [CompressionFormat] :compression_format FileResponse compression format. None or Zip. (default to 'None')
|
419
425
|
# @option opts [String] :file_name Name of your file including extension.
|
420
426
|
# @return [ExportLink]
|
421
427
|
def contacts_export_post(opts = {})
|
@@ -426,10 +432,10 @@ module ElasticEmail
|
|
426
432
|
# Export Contacts
|
427
433
|
# Request an Export of specified Contacts. Required Access Level: Export
|
428
434
|
# @param [Hash] opts the optional parameters
|
429
|
-
# @option opts [ExportFileFormats] :file_format Format of the exported file
|
435
|
+
# @option opts [ExportFileFormats] :file_format Format of the exported file (default to 'Csv')
|
430
436
|
# @option opts [String] :rule Query used for filtering.
|
431
437
|
# @option opts [Array<String>] :emails Comma delimited list of contact emails
|
432
|
-
# @option opts [CompressionFormat] :compression_format FileResponse compression format. None or Zip.
|
438
|
+
# @option opts [CompressionFormat] :compression_format FileResponse compression format. None or Zip. (default to 'None')
|
433
439
|
# @option opts [String] :file_name Name of your file including extension.
|
434
440
|
# @return [Array<(ExportLink, Integer, Hash)>] ExportLink data, response status code and response headers
|
435
441
|
def contacts_export_post_with_http_info(opts = {})
|
@@ -578,7 +584,10 @@ module ElasticEmail
|
|
578
584
|
# header parameters
|
579
585
|
header_params = opts[:header_params] || {}
|
580
586
|
# HTTP header 'Content-Type'
|
581
|
-
|
587
|
+
content_type = @api_client.select_header_content_type(['multipart/form-data'])
|
588
|
+
if !content_type.nil?
|
589
|
+
header_params['Content-Type'] = content_type
|
590
|
+
end
|
582
591
|
|
583
592
|
# form parameters
|
584
593
|
form_params = opts[:form_params] || {}
|
@@ -647,7 +656,10 @@ module ElasticEmail
|
|
647
656
|
# HTTP header 'Accept' (if needed)
|
648
657
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
649
658
|
# HTTP header 'Content-Type'
|
650
|
-
|
659
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
660
|
+
if !content_type.nil?
|
661
|
+
header_params['Content-Type'] = content_type
|
662
|
+
end
|
651
663
|
|
652
664
|
# form parameters
|
653
665
|
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. 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.
|
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. 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:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -116,7 +116,10 @@ module ElasticEmail
|
|
116
116
|
# HTTP header 'Accept' (if needed)
|
117
117
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
118
118
|
# HTTP header 'Content-Type'
|
119
|
-
|
119
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
120
|
+
if !content_type.nil?
|
121
|
+
header_params['Content-Type'] = content_type
|
122
|
+
end
|
120
123
|
|
121
124
|
# form parameters
|
122
125
|
form_params = opts[:form_params] || {}
|
@@ -181,7 +184,10 @@ module ElasticEmail
|
|
181
184
|
# HTTP header 'Accept' (if needed)
|
182
185
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
183
186
|
# HTTP header 'Content-Type'
|
184
|
-
|
187
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
188
|
+
if !content_type.nil?
|
189
|
+
header_params['Content-Type'] = content_type
|
190
|
+
end
|
185
191
|
|
186
192
|
# form parameters
|
187
193
|
form_params = opts[:form_params] || {}
|
@@ -246,7 +252,10 @@ module ElasticEmail
|
|
246
252
|
# HTTP header 'Accept' (if needed)
|
247
253
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
248
254
|
# HTTP header 'Content-Type'
|
249
|
-
|
255
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
256
|
+
if !content_type.nil?
|
257
|
+
header_params['Content-Type'] = content_type
|
258
|
+
end
|
250
259
|
|
251
260
|
# form parameters
|
252
261
|
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. 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.
|
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. 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:
|
9
|
+
OpenAPI Generator version: 6.0.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>]
|
@@ -40,7 +40,7 @@ module ElasticEmail
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
41
|
# @option opts [Time] :from Starting date for search in YYYY-MM-DDThh:mm:ss format.
|
42
42
|
# @option opts [Time] :to Ending date for search in YYYY-MM-DDThh:mm:ss format.
|
43
|
-
# @option opts [EventsOrderBy] :order_by
|
43
|
+
# @option opts [EventsOrderBy] :order_by (default to 'DateDescending')
|
44
44
|
# @option opts [Integer] :limit Maximum number of returned items.
|
45
45
|
# @option opts [Integer] :offset How many items should be returned ahead.
|
46
46
|
# @return [Array<(Array<RecipientEvent>, Integer, Hash)>] Array<RecipientEvent> data, response status code and response headers
|
@@ -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 = {})
|
@@ -120,8 +120,8 @@ module ElasticEmail
|
|
120
120
|
# @option opts [Array<EventType>] :event_types Types of Events to return
|
121
121
|
# @option opts [Time] :from Starting date for search in YYYY-MM-DDThh:mm:ss format.
|
122
122
|
# @option opts [Time] :to Ending date for search in YYYY-MM-DDThh:mm:ss format.
|
123
|
-
# @option opts [ExportFileFormats] :file_format Format of the exported file
|
124
|
-
# @option opts [CompressionFormat] :compression_format FileResponse compression format. None or Zip.
|
123
|
+
# @option opts [ExportFileFormats] :file_format Format of the exported file (default to 'Csv')
|
124
|
+
# @option opts [CompressionFormat] :compression_format FileResponse compression format. None or Zip. (default to 'None')
|
125
125
|
# @option opts [String] :file_name Name of your file including extension.
|
126
126
|
# @return [Array<(ExportLink, Integer, Hash)>] ExportLink data, response status code and response headers
|
127
127
|
def events_channels_by_name_export_post_with_http_info(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>]
|
@@ -201,7 +201,7 @@ module ElasticEmail
|
|
201
201
|
# @option opts [Array<EventType>] :event_types Types of Events to return
|
202
202
|
# @option opts [Time] :from Starting date for search in YYYY-MM-DDThh:mm:ss format.
|
203
203
|
# @option opts [Time] :to Ending date for search in YYYY-MM-DDThh:mm:ss format.
|
204
|
-
# @option opts [EventsOrderBy] :order_by
|
204
|
+
# @option opts [EventsOrderBy] :order_by (default to 'DateDescending')
|
205
205
|
# @option opts [Integer] :limit How many items to load. Maximum for this request is 1000 items
|
206
206
|
# @option opts [Integer] :offset How many items should be returned ahead.
|
207
207
|
# @return [Array<(Array<RecipientEvent>, Integer, Hash)>] Array<RecipientEvent> data, response status code and response headers
|
@@ -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 = {})
|
@@ -406,8 +406,8 @@ module ElasticEmail
|
|
406
406
|
# @option opts [Array<EventType>] :event_types Types of Events to return
|
407
407
|
# @option opts [Time] :from Starting date for search in YYYY-MM-DDThh:mm:ss format.
|
408
408
|
# @option opts [Time] :to Ending date for search in YYYY-MM-DDThh:mm:ss format.
|
409
|
-
# @option opts [ExportFileFormats] :file_format Format of the exported file
|
410
|
-
# @option opts [CompressionFormat] :compression_format FileResponse compression format. None or Zip.
|
409
|
+
# @option opts [ExportFileFormats] :file_format Format of the exported file (default to 'Csv')
|
410
|
+
# @option opts [CompressionFormat] :compression_format FileResponse compression format. None or Zip. (default to 'None')
|
411
411
|
# @option opts [String] :file_name Name of your file including extension.
|
412
412
|
# @return [Array<(ExportLink, Integer, Hash)>] ExportLink data, response status code and response headers
|
413
413
|
def events_export_post_with_http_info(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>]
|
@@ -481,7 +481,7 @@ module ElasticEmail
|
|
481
481
|
# @option opts [Array<EventType>] :event_types Types of Events to return
|
482
482
|
# @option opts [Time] :from Starting date for search in YYYY-MM-DDThh:mm:ss format.
|
483
483
|
# @option opts [Time] :to Ending date for search in YYYY-MM-DDThh:mm:ss format.
|
484
|
-
# @option opts [EventsOrderBy] :order_by
|
484
|
+
# @option opts [EventsOrderBy] :order_by (default to 'DateDescending')
|
485
485
|
# @option opts [Integer] :limit How many items to load. Maximum for this request is 1000 items
|
486
486
|
# @option opts [Integer] :offset How many items should be returned ahead.
|
487
487
|
# @return [Array<(Array<RecipientEvent>, Integer, Hash)>] Array<RecipientEvent> data, response status code and response headers
|
@@ -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. 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.
|
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. 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:
|
9
|
+
OpenAPI Generator version: 6.0.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. 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.
|
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. 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:
|
9
|
+
OpenAPI Generator version: 6.0.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. 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.
|
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. 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:
|
9
|
+
OpenAPI Generator version: 6.0.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. 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.
|
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. 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:
|
9
|
+
OpenAPI Generator version: 6.0.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. 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.
|
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. 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:
|
9
|
+
OpenAPI Generator version: 6.0.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. 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.
|
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. 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:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|