ElasticEmail 4.0.25 → 4.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ElasticEmail.gemspec +2 -2
- data/README.md +16 -9
- data/VERSION +1 -1
- data/docs/Campaign.md +2 -0
- data/docs/CampaignsApi.md +12 -12
- data/docs/Contact.md +2 -0
- data/docs/ContactsApi.md +18 -18
- data/docs/DomainsApi.md +16 -16
- data/docs/EmailsApi.md +10 -10
- data/docs/EventsApi.md +14 -14
- data/docs/FilesApi.md +10 -10
- data/docs/InboundRouteApi.md +12 -12
- data/docs/ListsApi.md +16 -16
- data/docs/RecipientEvent.md +2 -2
- data/docs/SecurityApi.md +30 -30
- data/docs/SegmentsApi.md +10 -10
- data/docs/StatisticsApi.md +10 -10
- data/docs/SubAccountsApi.md +12 -12
- data/docs/SuppressionsApi.md +24 -24
- data/docs/TemplatesApi.md +10 -10
- data/docs/VerificationsApi.md +25 -25
- data/lib/ElasticEmail/api/campaigns_api.rb +6 -6
- data/lib/ElasticEmail/api/contacts_api.rb +8 -8
- data/lib/ElasticEmail/api/domains_api.rb +9 -9
- data/lib/ElasticEmail/api/emails_api.rb +7 -7
- data/lib/ElasticEmail/api/events_api.rb +9 -9
- data/lib/ElasticEmail/api/files_api.rb +6 -6
- data/lib/ElasticEmail/api/inbound_route_api.rb +7 -7
- data/lib/ElasticEmail/api/lists_api.rb +8 -8
- data/lib/ElasticEmail/api/security_api.rb +30 -30
- data/lib/ElasticEmail/api/segments_api.rb +6 -6
- data/lib/ElasticEmail/api/statistics_api.rb +7 -7
- data/lib/ElasticEmail/api/sub_accounts_api.rb +6 -6
- data/lib/ElasticEmail/api/suppressions_api.rb +10 -10
- data/lib/ElasticEmail/api/templates_api.rb +6 -6
- data/lib/ElasticEmail/api/verifications_api.rb +19 -19
- data/lib/ElasticEmail/api_client.rb +4 -4
- data/lib/ElasticEmail/api_error.rb +2 -2
- data/lib/ElasticEmail/configuration.rb +20 -3
- data/lib/ElasticEmail/models/access_level.rb +12 -3
- 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 +2 -2
- data/lib/ElasticEmail/models/body_content_type.rb +2 -2
- data/lib/ElasticEmail/models/body_part.rb +2 -2
- data/lib/ElasticEmail/models/campaign.rb +12 -3
- data/lib/ElasticEmail/models/campaign_options.rb +2 -2
- 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 -2
- data/lib/ElasticEmail/models/certificate_validation_status.rb +2 -2
- 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 +2 -2
- data/lib/ElasticEmail/models/consent_tracking.rb +2 -2
- data/lib/ElasticEmail/models/contact.rb +12 -3
- data/lib/ElasticEmail/models/contact_activity.rb +2 -2
- data/lib/ElasticEmail/models/contact_payload.rb +2 -2
- data/lib/ElasticEmail/models/contact_source.rb +5 -3
- 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/domain_data.rb +2 -2
- data/lib/ElasticEmail/models/domain_detail.rb +2 -2
- data/lib/ElasticEmail/models/domain_owner.rb +2 -2
- data/lib/ElasticEmail/models/domain_payload.rb +2 -2
- data/lib/ElasticEmail/models/domain_update_payload.rb +2 -2
- data/lib/ElasticEmail/models/email_content.rb +2 -2
- data/lib/ElasticEmail/models/email_data.rb +2 -2
- data/lib/ElasticEmail/models/email_job_failed_status.rb +2 -2
- data/lib/ElasticEmail/models/email_job_status.rb +2 -2
- data/lib/ElasticEmail/models/email_message_data.rb +2 -2
- data/lib/ElasticEmail/models/email_predicted_validation_status.rb +2 -2
- data/lib/ElasticEmail/models/email_recipient.rb +2 -2
- data/lib/ElasticEmail/models/email_send.rb +2 -2
- data/lib/ElasticEmail/models/email_status.rb +2 -2
- data/lib/ElasticEmail/models/email_transactional_message_data.rb +2 -2
- 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 +2 -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 +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 +2 -2
- data/lib/ElasticEmail/models/file_upload_result.rb +2 -2
- data/lib/ElasticEmail/models/inbound_payload.rb +2 -2
- data/lib/ElasticEmail/models/inbound_route.rb +2 -2
- 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 +2 -2
- 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 +2 -2
- data/lib/ElasticEmail/models/message_attachment.rb +2 -2
- data/lib/ElasticEmail/models/message_category.rb +2 -2
- data/lib/ElasticEmail/models/message_category_enum.rb +2 -2
- data/lib/ElasticEmail/models/new_api_key.rb +2 -2
- data/lib/ElasticEmail/models/new_smtp_credentials.rb +2 -2
- data/lib/ElasticEmail/models/options.rb +2 -2
- data/lib/ElasticEmail/models/recipient_event.rb +3 -3
- data/lib/ElasticEmail/models/segment.rb +2 -2
- data/lib/ElasticEmail/models/segment_payload.rb +2 -2
- data/lib/ElasticEmail/models/smtp_credentials.rb +2 -2
- data/lib/ElasticEmail/models/smtp_credentials_payload.rb +2 -2
- data/lib/ElasticEmail/models/sort_order_item.rb +2 -2
- data/lib/ElasticEmail/models/split_optimization_type.rb +2 -2
- data/lib/ElasticEmail/models/split_options.rb +2 -2
- data/lib/ElasticEmail/models/sub_account_info.rb +2 -2
- data/lib/ElasticEmail/models/subaccount_email_credits_payload.rb +2 -2
- data/lib/ElasticEmail/models/subaccount_email_settings.rb +2 -2
- data/lib/ElasticEmail/models/subaccount_email_settings_payload.rb +2 -2
- data/lib/ElasticEmail/models/subaccount_payload.rb +2 -2
- data/lib/ElasticEmail/models/subaccount_settings_info.rb +2 -2
- data/lib/ElasticEmail/models/subaccount_settings_info_payload.rb +2 -2
- data/lib/ElasticEmail/models/suppression.rb +2 -2
- data/lib/ElasticEmail/models/template.rb +2 -2
- data/lib/ElasticEmail/models/template_payload.rb +2 -2
- data/lib/ElasticEmail/models/template_scope.rb +2 -2
- data/lib/ElasticEmail/models/template_type.rb +10 -3
- data/lib/ElasticEmail/models/tracking_type.rb +2 -2
- data/lib/ElasticEmail/models/tracking_validation_status.rb +2 -2
- data/lib/ElasticEmail/models/transactional_recipient.rb +2 -2
- data/lib/ElasticEmail/models/utm.rb +2 -2
- data/lib/ElasticEmail/models/verification_file_result.rb +2 -2
- data/lib/ElasticEmail/models/verification_file_result_details.rb +2 -2
- 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/campaigns_api_spec.rb +2 -2
- data/spec/api/contacts_api_spec.rb +2 -2
- data/spec/api/domains_api_spec.rb +2 -2
- data/spec/api/emails_api_spec.rb +2 -2
- data/spec/api/events_api_spec.rb +2 -2
- data/spec/api/files_api_spec.rb +2 -2
- data/spec/api/inbound_route_api_spec.rb +2 -2
- data/spec/api/lists_api_spec.rb +2 -2
- data/spec/api/security_api_spec.rb +12 -12
- data/spec/api/segments_api_spec.rb +2 -2
- data/spec/api/statistics_api_spec.rb +2 -2
- data/spec/api/sub_accounts_api_spec.rb +2 -2
- data/spec/api/suppressions_api_spec.rb +2 -2
- data/spec/api/templates_api_spec.rb +2 -2
- data/spec/api/verifications_api_spec.rb +7 -7
- data/spec/models/access_level_spec.rb +2 -2
- data/spec/models/account_status_enum_spec.rb +2 -2
- data/spec/models/api_key_payload_spec.rb +2 -2
- data/spec/models/api_key_spec.rb +2 -2
- data/spec/models/body_content_type_spec.rb +2 -2
- data/spec/models/body_part_spec.rb +2 -2
- data/spec/models/campaign_options_spec.rb +2 -2
- data/spec/models/campaign_recipient_spec.rb +2 -2
- data/spec/models/campaign_spec.rb +8 -2
- data/spec/models/campaign_status_spec.rb +2 -2
- data/spec/models/campaign_template_spec.rb +2 -2
- data/spec/models/certificate_validation_status_spec.rb +2 -2
- data/spec/models/channel_log_status_summary_spec.rb +2 -2
- data/spec/models/compression_format_spec.rb +2 -2
- data/spec/models/consent_data_spec.rb +2 -2
- data/spec/models/consent_tracking_spec.rb +2 -2
- data/spec/models/contact_activity_spec.rb +2 -2
- data/spec/models/contact_payload_spec.rb +2 -2
- data/spec/models/contact_source_spec.rb +2 -2
- data/spec/models/contact_spec.rb +8 -2
- data/spec/models/contact_status_spec.rb +2 -2
- data/spec/models/contact_update_payload_spec.rb +2 -2
- data/spec/models/contacts_list_spec.rb +2 -2
- data/spec/models/delivery_optimization_type_spec.rb +2 -2
- data/spec/models/domain_data_spec.rb +2 -2
- data/spec/models/domain_detail_spec.rb +2 -2
- data/spec/models/domain_owner_spec.rb +2 -2
- data/spec/models/domain_payload_spec.rb +2 -2
- data/spec/models/domain_update_payload_spec.rb +2 -2
- data/spec/models/email_content_spec.rb +2 -2
- data/spec/models/email_data_spec.rb +2 -2
- data/spec/models/email_job_failed_status_spec.rb +2 -2
- data/spec/models/email_job_status_spec.rb +2 -2
- data/spec/models/email_message_data_spec.rb +2 -2
- data/spec/models/email_predicted_validation_status_spec.rb +2 -2
- data/spec/models/email_recipient_spec.rb +2 -2
- data/spec/models/email_send_spec.rb +2 -2
- data/spec/models/email_status_spec.rb +2 -2
- data/spec/models/email_transactional_message_data_spec.rb +2 -2
- data/spec/models/email_validation_result_spec.rb +2 -2
- data/spec/models/email_validation_status_spec.rb +2 -2
- data/spec/models/email_view_spec.rb +2 -2
- data/spec/models/emails_payload_spec.rb +2 -2
- data/spec/models/encoding_type_spec.rb +2 -2
- data/spec/models/event_type_spec.rb +2 -2
- data/spec/models/events_order_by_spec.rb +2 -2
- data/spec/models/export_file_formats_spec.rb +2 -2
- data/spec/models/export_link_spec.rb +2 -2
- data/spec/models/export_status_spec.rb +2 -2
- data/spec/models/file_info_spec.rb +2 -2
- data/spec/models/file_payload_spec.rb +2 -2
- data/spec/models/file_upload_result_spec.rb +2 -2
- data/spec/models/inbound_payload_spec.rb +2 -2
- data/spec/models/inbound_route_action_type_spec.rb +2 -2
- data/spec/models/inbound_route_filter_type_spec.rb +2 -2
- data/spec/models/inbound_route_spec.rb +2 -2
- data/spec/models/list_payload_spec.rb +2 -2
- data/spec/models/list_update_payload_spec.rb +2 -2
- data/spec/models/log_job_status_spec.rb +2 -2
- data/spec/models/log_status_summary_spec.rb +2 -2
- data/spec/models/merge_email_payload_spec.rb +2 -2
- data/spec/models/message_attachment_spec.rb +2 -2
- data/spec/models/message_category_enum_spec.rb +2 -2
- data/spec/models/message_category_spec.rb +2 -2
- data/spec/models/new_api_key_spec.rb +2 -2
- data/spec/models/new_smtp_credentials_spec.rb +2 -2
- data/spec/models/options_spec.rb +2 -2
- data/spec/models/recipient_event_spec.rb +2 -2
- data/spec/models/segment_payload_spec.rb +2 -2
- data/spec/models/segment_spec.rb +2 -2
- data/spec/models/smtp_credentials_payload_spec.rb +2 -2
- data/spec/models/smtp_credentials_spec.rb +2 -2
- data/spec/models/sort_order_item_spec.rb +2 -2
- data/spec/models/split_optimization_type_spec.rb +2 -2
- data/spec/models/split_options_spec.rb +2 -2
- data/spec/models/sub_account_info_spec.rb +2 -2
- data/spec/models/subaccount_email_credits_payload_spec.rb +2 -2
- data/spec/models/subaccount_email_settings_payload_spec.rb +2 -2
- data/spec/models/subaccount_email_settings_spec.rb +2 -2
- data/spec/models/subaccount_payload_spec.rb +2 -2
- data/spec/models/subaccount_settings_info_payload_spec.rb +2 -2
- data/spec/models/subaccount_settings_info_spec.rb +2 -2
- data/spec/models/suppression_spec.rb +2 -2
- data/spec/models/template_payload_spec.rb +2 -2
- data/spec/models/template_scope_spec.rb +2 -2
- data/spec/models/template_spec.rb +2 -2
- data/spec/models/template_type_spec.rb +2 -2
- data/spec/models/tracking_type_spec.rb +2 -2
- data/spec/models/tracking_validation_status_spec.rb +2 -2
- data/spec/models/transactional_recipient_spec.rb +2 -2
- data/spec/models/utm_spec.rb +2 -2
- data/spec/models/verification_file_result_details_spec.rb +2 -2
- data/spec/models/verification_file_result_spec.rb +2 -2
- data/spec/models/verification_status_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +90 -90
|
@@ -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
|
|
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://app.elasticemail.com/marketing/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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -184,7 +184,7 @@ module ElasticEmail
|
|
|
184
184
|
# header parameters
|
|
185
185
|
header_params = opts[:header_params] || {}
|
|
186
186
|
# HTTP header 'Accept' (if needed)
|
|
187
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
187
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
188
188
|
|
|
189
189
|
# form parameters
|
|
190
190
|
form_params = opts[:form_params] || {}
|
|
@@ -253,7 +253,7 @@ module ElasticEmail
|
|
|
253
253
|
# header parameters
|
|
254
254
|
header_params = opts[:header_params] || {}
|
|
255
255
|
# HTTP header 'Accept' (if needed)
|
|
256
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
256
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
257
257
|
# HTTP header 'Content-Type'
|
|
258
258
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
259
259
|
if !content_type.nil?
|
|
@@ -321,7 +321,7 @@ module ElasticEmail
|
|
|
321
321
|
# header parameters
|
|
322
322
|
header_params = opts[:header_params] || {}
|
|
323
323
|
# HTTP header 'Accept' (if needed)
|
|
324
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
324
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
325
325
|
|
|
326
326
|
# form parameters
|
|
327
327
|
form_params = opts[:form_params] || {}
|
|
@@ -384,7 +384,7 @@ module ElasticEmail
|
|
|
384
384
|
# header parameters
|
|
385
385
|
header_params = opts[:header_params] || {}
|
|
386
386
|
# HTTP header 'Accept' (if needed)
|
|
387
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
387
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
388
388
|
# HTTP header 'Content-Type'
|
|
389
389
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
390
390
|
if !content_type.nil?
|
|
@@ -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
|
|
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://app.elasticemail.com/marketing/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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -54,7 +54,7 @@ module ElasticEmail
|
|
|
54
54
|
# header parameters
|
|
55
55
|
header_params = opts[:header_params] || {}
|
|
56
56
|
# HTTP header 'Accept' (if needed)
|
|
57
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
57
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
58
58
|
|
|
59
59
|
# form parameters
|
|
60
60
|
form_params = opts[:form_params] || {}
|
|
@@ -180,7 +180,7 @@ module ElasticEmail
|
|
|
180
180
|
# header parameters
|
|
181
181
|
header_params = opts[:header_params] || {}
|
|
182
182
|
# HTTP header 'Accept' (if needed)
|
|
183
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
183
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
184
184
|
# HTTP header 'Content-Type'
|
|
185
185
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
186
186
|
if !content_type.nil?
|
|
@@ -309,7 +309,7 @@ module ElasticEmail
|
|
|
309
309
|
# header parameters
|
|
310
310
|
header_params = opts[:header_params] || {}
|
|
311
311
|
# HTTP header 'Accept' (if needed)
|
|
312
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
312
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
313
313
|
|
|
314
314
|
# form parameters
|
|
315
315
|
form_params = opts[:form_params] || {}
|
|
@@ -375,7 +375,7 @@ module ElasticEmail
|
|
|
375
375
|
# header parameters
|
|
376
376
|
header_params = opts[:header_params] || {}
|
|
377
377
|
# HTTP header 'Accept' (if needed)
|
|
378
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
378
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
379
379
|
|
|
380
380
|
# form parameters
|
|
381
381
|
form_params = opts[:form_params] || {}
|
|
@@ -501,7 +501,7 @@ module ElasticEmail
|
|
|
501
501
|
# header parameters
|
|
502
502
|
header_params = opts[:header_params] || {}
|
|
503
503
|
# HTTP header 'Accept' (if needed)
|
|
504
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
504
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
505
505
|
# HTTP header 'Content-Type'
|
|
506
506
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
507
507
|
if !content_type.nil?
|
|
@@ -569,7 +569,7 @@ module ElasticEmail
|
|
|
569
569
|
# header parameters
|
|
570
570
|
header_params = opts[:header_params] || {}
|
|
571
571
|
# HTTP header 'Accept' (if needed)
|
|
572
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
572
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
573
573
|
|
|
574
574
|
# form parameters
|
|
575
575
|
form_params = opts[:form_params] || {}
|
|
@@ -635,7 +635,7 @@ module ElasticEmail
|
|
|
635
635
|
# header parameters
|
|
636
636
|
header_params = opts[:header_params] || {}
|
|
637
637
|
# HTTP header 'Accept' (if needed)
|
|
638
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
638
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
639
639
|
|
|
640
640
|
# form parameters
|
|
641
641
|
form_params = opts[:form_params] || {}
|
|
@@ -761,7 +761,7 @@ module ElasticEmail
|
|
|
761
761
|
# header parameters
|
|
762
762
|
header_params = opts[:header_params] || {}
|
|
763
763
|
# HTTP header 'Accept' (if needed)
|
|
764
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
764
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
765
765
|
# HTTP header 'Content-Type'
|
|
766
766
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
767
767
|
if !content_type.nil?
|
|
@@ -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
|
|
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://app.elasticemail.com/marketing/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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -112,7 +112,7 @@ module ElasticEmail
|
|
|
112
112
|
# header parameters
|
|
113
113
|
header_params = opts[:header_params] || {}
|
|
114
114
|
# HTTP header 'Accept' (if needed)
|
|
115
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
115
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
116
116
|
|
|
117
117
|
# form parameters
|
|
118
118
|
form_params = opts[:form_params] || {}
|
|
@@ -181,7 +181,7 @@ module ElasticEmail
|
|
|
181
181
|
# header parameters
|
|
182
182
|
header_params = opts[:header_params] || {}
|
|
183
183
|
# HTTP header 'Accept' (if needed)
|
|
184
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
184
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
185
185
|
# HTTP header 'Content-Type'
|
|
186
186
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
187
187
|
if !content_type.nil?
|
|
@@ -259,7 +259,7 @@ module ElasticEmail
|
|
|
259
259
|
# header parameters
|
|
260
260
|
header_params = opts[:header_params] || {}
|
|
261
261
|
# HTTP header 'Accept' (if needed)
|
|
262
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
262
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
263
263
|
|
|
264
264
|
# form parameters
|
|
265
265
|
form_params = opts[:form_params] || {}
|
|
@@ -322,7 +322,7 @@ module ElasticEmail
|
|
|
322
322
|
# header parameters
|
|
323
323
|
header_params = opts[:header_params] || {}
|
|
324
324
|
# HTTP header 'Accept' (if needed)
|
|
325
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
325
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
326
326
|
# HTTP header 'Content-Type'
|
|
327
327
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
328
328
|
if !content_type.nil?
|
|
@@ -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
|
|
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://app.elasticemail.com/marketing/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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -81,7 +81,7 @@ module ElasticEmail
|
|
|
81
81
|
end
|
|
82
82
|
|
|
83
83
|
# Get Email Verification Result
|
|
84
|
-
# Returns a result of verified email. Required Access Level:
|
|
84
|
+
# Returns a result of verified email. Required Access Level: ViewVerifyEmails
|
|
85
85
|
# @param email [String] Email address to view verification result of
|
|
86
86
|
# @param [Hash] opts the optional parameters
|
|
87
87
|
# @return [EmailValidationResult]
|
|
@@ -91,7 +91,7 @@ module ElasticEmail
|
|
|
91
91
|
end
|
|
92
92
|
|
|
93
93
|
# Get Email Verification Result
|
|
94
|
-
# Returns a result of verified email. Required Access Level:
|
|
94
|
+
# Returns a result of verified email. Required Access Level: ViewVerifyEmails
|
|
95
95
|
# @param email [String] Email address to view verification result of
|
|
96
96
|
# @param [Hash] opts the optional parameters
|
|
97
97
|
# @return [Array<(EmailValidationResult, Integer, Hash)>] EmailValidationResult data, response status code and response headers
|
|
@@ -112,7 +112,7 @@ module ElasticEmail
|
|
|
112
112
|
# header parameters
|
|
113
113
|
header_params = opts[:header_params] || {}
|
|
114
114
|
# HTTP header 'Accept' (if needed)
|
|
115
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
115
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
116
116
|
|
|
117
117
|
# form parameters
|
|
118
118
|
form_params = opts[:form_params] || {}
|
|
@@ -175,7 +175,7 @@ module ElasticEmail
|
|
|
175
175
|
# header parameters
|
|
176
176
|
header_params = opts[:header_params] || {}
|
|
177
177
|
# HTTP header 'Accept' (if needed)
|
|
178
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
178
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
179
179
|
|
|
180
180
|
# form parameters
|
|
181
181
|
form_params = opts[:form_params] || {}
|
|
@@ -268,7 +268,7 @@ module ElasticEmail
|
|
|
268
268
|
end
|
|
269
269
|
|
|
270
270
|
# Download File Verification Result
|
|
271
|
-
# Download verification results as a ZIP file. Required Access Level:
|
|
271
|
+
# Download verification results as a ZIP file. Required Access Level: ViewVerifyEmails
|
|
272
272
|
# @param id [String] Verification ID to download
|
|
273
273
|
# @param [Hash] opts the optional parameters
|
|
274
274
|
# @return [File]
|
|
@@ -278,7 +278,7 @@ module ElasticEmail
|
|
|
278
278
|
end
|
|
279
279
|
|
|
280
280
|
# Download File Verification Result
|
|
281
|
-
# Download verification results as a ZIP file. Required Access Level:
|
|
281
|
+
# Download verification results as a ZIP file. Required Access Level: ViewVerifyEmails
|
|
282
282
|
# @param id [String] Verification ID to download
|
|
283
283
|
# @param [Hash] opts the optional parameters
|
|
284
284
|
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
@@ -299,7 +299,7 @@ module ElasticEmail
|
|
|
299
299
|
# header parameters
|
|
300
300
|
header_params = opts[:header_params] || {}
|
|
301
301
|
# HTTP header 'Accept' (if needed)
|
|
302
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/*'])
|
|
302
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/*']) unless header_params['Accept']
|
|
303
303
|
|
|
304
304
|
# form parameters
|
|
305
305
|
form_params = opts[:form_params] || {}
|
|
@@ -331,7 +331,7 @@ module ElasticEmail
|
|
|
331
331
|
end
|
|
332
332
|
|
|
333
333
|
# Get Detailed File Verification Result
|
|
334
|
-
# Returns status and results (if verified) of file with given ID. Required Access Level:
|
|
334
|
+
# Returns status and results (if verified) of file with given ID. Required Access Level: ViewVerifyEmails
|
|
335
335
|
# @param id [String] ID of the Verification to display status of
|
|
336
336
|
# @param [Hash] opts the optional parameters
|
|
337
337
|
# @option opts [Integer] :limit Maximum number of returned email verification results
|
|
@@ -343,7 +343,7 @@ module ElasticEmail
|
|
|
343
343
|
end
|
|
344
344
|
|
|
345
345
|
# Get Detailed File Verification Result
|
|
346
|
-
# Returns status and results (if verified) of file with given ID. Required Access Level:
|
|
346
|
+
# Returns status and results (if verified) of file with given ID. Required Access Level: ViewVerifyEmails
|
|
347
347
|
# @param id [String] ID of the Verification to display status of
|
|
348
348
|
# @param [Hash] opts the optional parameters
|
|
349
349
|
# @option opts [Integer] :limit Maximum number of returned email verification results
|
|
@@ -368,7 +368,7 @@ module ElasticEmail
|
|
|
368
368
|
# header parameters
|
|
369
369
|
header_params = opts[:header_params] || {}
|
|
370
370
|
# HTTP header 'Accept' (if needed)
|
|
371
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
371
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
372
372
|
|
|
373
373
|
# form parameters
|
|
374
374
|
form_params = opts[:form_params] || {}
|
|
@@ -488,7 +488,7 @@ module ElasticEmail
|
|
|
488
488
|
# header parameters
|
|
489
489
|
header_params = opts[:header_params] || {}
|
|
490
490
|
# HTTP header 'Accept' (if needed)
|
|
491
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
491
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
492
492
|
# HTTP header 'Content-Type'
|
|
493
493
|
content_type = @api_client.select_header_content_type(['multipart/form-data'])
|
|
494
494
|
if !content_type.nil?
|
|
@@ -526,7 +526,7 @@ module ElasticEmail
|
|
|
526
526
|
end
|
|
527
527
|
|
|
528
528
|
# Get Files Verification Results
|
|
529
|
-
# Returns a list of uploaded files, their statuses and results. Required Access Level:
|
|
529
|
+
# Returns a list of uploaded files, their statuses and results. Required Access Level: ViewVerifyEmails
|
|
530
530
|
# @param [Hash] opts the optional parameters
|
|
531
531
|
# @return [Array<VerificationFileResult>]
|
|
532
532
|
def verifications_files_result_get(opts = {})
|
|
@@ -535,7 +535,7 @@ module ElasticEmail
|
|
|
535
535
|
end
|
|
536
536
|
|
|
537
537
|
# Get Files Verification Results
|
|
538
|
-
# Returns a list of uploaded files, their statuses and results. Required Access Level:
|
|
538
|
+
# Returns a list of uploaded files, their statuses and results. Required Access Level: ViewVerifyEmails
|
|
539
539
|
# @param [Hash] opts the optional parameters
|
|
540
540
|
# @return [Array<(Array<VerificationFileResult>, Integer, Hash)>] Array<VerificationFileResult> data, response status code and response headers
|
|
541
541
|
def verifications_files_result_get_with_http_info(opts = {})
|
|
@@ -551,7 +551,7 @@ module ElasticEmail
|
|
|
551
551
|
# header parameters
|
|
552
552
|
header_params = opts[:header_params] || {}
|
|
553
553
|
# HTTP header 'Accept' (if needed)
|
|
554
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
554
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
555
555
|
|
|
556
556
|
# form parameters
|
|
557
557
|
form_params = opts[:form_params] || {}
|
|
@@ -583,7 +583,7 @@ module ElasticEmail
|
|
|
583
583
|
end
|
|
584
584
|
|
|
585
585
|
# Get Emails Verification Results
|
|
586
|
-
# Returns a results of all verified single emails. Required Access Level:
|
|
586
|
+
# Returns a results of all verified single emails. Required Access Level: ViewVerifyEmails
|
|
587
587
|
# @param [Hash] opts the optional parameters
|
|
588
588
|
# @option opts [Integer] :limit Maximum number of returned items.
|
|
589
589
|
# @option opts [Integer] :offset How many items should be returned ahead.
|
|
@@ -594,7 +594,7 @@ module ElasticEmail
|
|
|
594
594
|
end
|
|
595
595
|
|
|
596
596
|
# Get Emails Verification Results
|
|
597
|
-
# Returns a results of all verified single emails. Required Access Level:
|
|
597
|
+
# Returns a results of all verified single emails. Required Access Level: ViewVerifyEmails
|
|
598
598
|
# @param [Hash] opts the optional parameters
|
|
599
599
|
# @option opts [Integer] :limit Maximum number of returned items.
|
|
600
600
|
# @option opts [Integer] :offset How many items should be returned ahead.
|
|
@@ -614,7 +614,7 @@ module ElasticEmail
|
|
|
614
614
|
# header parameters
|
|
615
615
|
header_params = opts[:header_params] || {}
|
|
616
616
|
# HTTP header 'Accept' (if needed)
|
|
617
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
617
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
618
618
|
|
|
619
619
|
# form parameters
|
|
620
620
|
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
|
|
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://app.elasticemail.com/marketing/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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -212,7 +212,7 @@ module ElasticEmail
|
|
|
212
212
|
# @param [String] mime MIME
|
|
213
213
|
# @return [Boolean] True if the MIME is application/json
|
|
214
214
|
def json_mime?(mime)
|
|
215
|
-
(mime == '*/*') || !(mime =~
|
|
215
|
+
(mime == '*/*') || !(mime =~ /^Application\/.*json(?!p)(;.*)?/i).nil?
|
|
216
216
|
end
|
|
217
217
|
|
|
218
218
|
# Deserialize the response to the given return type.
|
|
@@ -291,7 +291,7 @@ module ElasticEmail
|
|
|
291
291
|
# @param [String] filename the filename to be sanitized
|
|
292
292
|
# @return [String] the sanitized filename
|
|
293
293
|
def sanitize_filename(filename)
|
|
294
|
-
filename.
|
|
294
|
+
filename.split(/[\/\\]/).last
|
|
295
295
|
end
|
|
296
296
|
|
|
297
297
|
def build_request_url(path, opts = {})
|
|
@@ -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
|
|
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://app.elasticemail.com/marketing/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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.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. 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
|
|
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://app.elasticemail.com/marketing/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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -79,6 +79,14 @@ module ElasticEmail
|
|
|
79
79
|
# @return [true, false]
|
|
80
80
|
attr_accessor :debugging
|
|
81
81
|
|
|
82
|
+
# Set this to ignore operation servers for the API client. This is useful when you need to
|
|
83
|
+
# send requests to a different server than the one specified in the OpenAPI document.
|
|
84
|
+
# Will default to the base url defined in the spec but can be overridden by setting
|
|
85
|
+
# `scheme`, `host`, `base_path` directly.
|
|
86
|
+
# Default to false.
|
|
87
|
+
# @return [true, false]
|
|
88
|
+
attr_accessor :ignore_operation_servers
|
|
89
|
+
|
|
82
90
|
# Defines the logger used for debugging.
|
|
83
91
|
# Default to `Rails.logger` (when in Rails) or logging to STDOUT.
|
|
84
92
|
#
|
|
@@ -166,6 +174,7 @@ module ElasticEmail
|
|
|
166
174
|
@timeout = 0
|
|
167
175
|
@params_encoding = nil
|
|
168
176
|
@debugging = false
|
|
177
|
+
@ignore_operation_servers = false
|
|
169
178
|
@inject_format = false
|
|
170
179
|
@force_ending_format = false
|
|
171
180
|
@logger = defined?(Rails) ? Rails.logger : Logger.new(STDOUT)
|
|
@@ -200,6 +209,7 @@ module ElasticEmail
|
|
|
200
209
|
|
|
201
210
|
# Returns base URL for specified operation based on server settings
|
|
202
211
|
def base_url(operation = nil)
|
|
212
|
+
return "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '') if ignore_operation_servers
|
|
203
213
|
if operation_server_settings.key?(operation) then
|
|
204
214
|
index = server_operation_index.fetch(operation, server_index)
|
|
205
215
|
server_url(index.nil? ? 0 : index, server_operation_variables.fetch(operation, server_variables), operation_server_settings[operation])
|
|
@@ -239,7 +249,14 @@ module ElasticEmail
|
|
|
239
249
|
type: 'api_key',
|
|
240
250
|
in: 'header',
|
|
241
251
|
key: 'X-ElasticEmail-ApiKey',
|
|
242
|
-
value: api_key_with_prefix('
|
|
252
|
+
value: api_key_with_prefix('X-ElasticEmail-ApiKey')
|
|
253
|
+
},
|
|
254
|
+
'ApiKeyAuthCustomBranding' =>
|
|
255
|
+
{
|
|
256
|
+
type: 'api_key',
|
|
257
|
+
in: 'header',
|
|
258
|
+
key: 'X-Auth-Token',
|
|
259
|
+
value: api_key_with_prefix('X-Auth-Token')
|
|
243
260
|
},
|
|
244
261
|
}
|
|
245
262
|
end
|
|
@@ -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
|
|
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://app.elasticemail.com/marketing/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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -59,6 +59,9 @@ module ElasticEmail
|
|
|
59
59
|
EXTENDED_LOGS = "ExtendedLogs".freeze
|
|
60
60
|
VERIFY_EMAILS = "VerifyEmails".freeze
|
|
61
61
|
MODIFY2_FA_SMS = "Modify2FASms".freeze
|
|
62
|
+
VIEW_VERIFY_EMAILS = "ViewVerifyEmails".freeze
|
|
63
|
+
VIEW_ACCESS_TOKENS = "ViewAccessTokens".freeze
|
|
64
|
+
VIEW_WEB_NOTIFICATIONS = "ViewWebNotifications".freeze
|
|
62
65
|
MODIFY_LANDING_PAGES = "ModifyLandingPages".freeze
|
|
63
66
|
VIEW_LANDING_PAGES = "ViewLandingPages".freeze
|
|
64
67
|
MODIFY_SUPPRESSIONS = "ModifySuppressions".freeze
|
|
@@ -67,9 +70,15 @@ module ElasticEmail
|
|
|
67
70
|
VIEW_TEMPLATE_EDITOR = "ViewTemplateEditor".freeze
|
|
68
71
|
VIEW_AI_TOOLS = "ViewAITools".freeze
|
|
69
72
|
MODIFY_SUBSCRIPTION_ANTI_SPAM = "ModifySubscriptionAntiSpam".freeze
|
|
73
|
+
VIEW_LANDING_PAGES_CHECKOUT = "ViewLandingPagesCheckout".freeze
|
|
74
|
+
MODIFY_LANDING_PAGES_CHECKOUT = "ModifyLandingPagesCheckout".freeze
|
|
75
|
+
VIEW_HTML_EDITOR = "ViewHTMLEditor".freeze
|
|
76
|
+
MODIFY_ACCESS_TOKENS = "ModifyAccessTokens".freeze
|
|
77
|
+
VIEW_PAID_NEWSLETTERS = "ViewPaidNewsletters".freeze
|
|
78
|
+
MODIFY_PAID_NEWSLETTERS = "ModifyPaidNewsletters".freeze
|
|
70
79
|
|
|
71
80
|
def self.all_vars
|
|
72
|
-
@all_vars ||= [NONE, VIEW_ACCOUNT, VIEW_CONTACTS, VIEW_FORMS, VIEW_TEMPLATES, VIEW_CAMPAIGNS, VIEW_CHANNELS, VIEW_AUTOMATIONS, VIEW_SURVEYS, VIEW_SETTINGS, VIEW_BILLING, VIEW_SUB_ACCOUNTS, VIEW_USERS, VIEW_FILES, VIEW_REPORTS, MODIFY_ACCOUNT, MODIFY_CONTACTS, MODIFY_FORMS, MODIFY_TEMPLATES, MODIFY_CAMPAIGNS, MODIFY_CHANNELS, MODIFY_AUTOMATIONS, MODIFY_SURVEYS, MODIFY_FILES, EXPORT, SEND_SMTP, SEND_SMS, MODIFY_SETTINGS, MODIFY_BILLING, MODIFY_PROFILE, MODIFY_SUB_ACCOUNTS, MODIFY_USERS, SECURITY, MODIFY_LANGUAGE, VIEW_SUPPORT, SEND_HTTP, MODIFY2_FA_EMAIL, MODIFY_SUPPORT, VIEW_CUSTOM_FIELDS, MODIFY_CUSTOM_FIELDS, MODIFY_WEB_NOTIFICATIONS, EXTENDED_LOGS, VERIFY_EMAILS, MODIFY2_FA_SMS, MODIFY_LANDING_PAGES, VIEW_LANDING_PAGES, MODIFY_SUPPRESSIONS, VIEW_SUPPRESSIONS, VIEW_DRAG_DROP_EDITOR, VIEW_TEMPLATE_EDITOR, VIEW_AI_TOOLS, MODIFY_SUBSCRIPTION_ANTI_SPAM].freeze
|
|
81
|
+
@all_vars ||= [NONE, VIEW_ACCOUNT, VIEW_CONTACTS, VIEW_FORMS, VIEW_TEMPLATES, VIEW_CAMPAIGNS, VIEW_CHANNELS, VIEW_AUTOMATIONS, VIEW_SURVEYS, VIEW_SETTINGS, VIEW_BILLING, VIEW_SUB_ACCOUNTS, VIEW_USERS, VIEW_FILES, VIEW_REPORTS, MODIFY_ACCOUNT, MODIFY_CONTACTS, MODIFY_FORMS, MODIFY_TEMPLATES, MODIFY_CAMPAIGNS, MODIFY_CHANNELS, MODIFY_AUTOMATIONS, MODIFY_SURVEYS, MODIFY_FILES, EXPORT, SEND_SMTP, SEND_SMS, MODIFY_SETTINGS, MODIFY_BILLING, MODIFY_PROFILE, MODIFY_SUB_ACCOUNTS, MODIFY_USERS, SECURITY, MODIFY_LANGUAGE, VIEW_SUPPORT, SEND_HTTP, MODIFY2_FA_EMAIL, MODIFY_SUPPORT, VIEW_CUSTOM_FIELDS, MODIFY_CUSTOM_FIELDS, MODIFY_WEB_NOTIFICATIONS, EXTENDED_LOGS, VERIFY_EMAILS, MODIFY2_FA_SMS, VIEW_VERIFY_EMAILS, VIEW_ACCESS_TOKENS, VIEW_WEB_NOTIFICATIONS, MODIFY_LANDING_PAGES, VIEW_LANDING_PAGES, MODIFY_SUPPRESSIONS, VIEW_SUPPRESSIONS, VIEW_DRAG_DROP_EDITOR, VIEW_TEMPLATE_EDITOR, VIEW_AI_TOOLS, MODIFY_SUBSCRIPTION_ANTI_SPAM, VIEW_LANDING_PAGES_CHECKOUT, MODIFY_LANDING_PAGES_CHECKOUT, VIEW_HTML_EDITOR, MODIFY_ACCESS_TOKENS, VIEW_PAID_NEWSLETTERS, MODIFY_PAID_NEWSLETTERS].freeze
|
|
73
82
|
end
|
|
74
83
|
|
|
75
84
|
# Builds the enum from string
|
|
@@ -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
|
|
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://app.elasticemail.com/marketing/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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.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. 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
|
|
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://app.elasticemail.com/marketing/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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.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. 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
|
|
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://app.elasticemail.com/marketing/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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.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. 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
|
|
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://app.elasticemail.com/marketing/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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.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. 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
|
|
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://app.elasticemail.com/marketing/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
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.11.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|