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
data/docs/SuppressionsApi.md
CHANGED
|
@@ -34,9 +34,9 @@ require 'ElasticEmail'
|
|
|
34
34
|
# setup authorization
|
|
35
35
|
ElasticEmail.configure do |config|
|
|
36
36
|
# Configure API key authorization: apikey
|
|
37
|
-
config.api_key['
|
|
37
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
38
38
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
39
|
-
# config.api_key_prefix['
|
|
39
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
40
40
|
end
|
|
41
41
|
|
|
42
42
|
api_instance = ElasticEmail::SuppressionsApi.new
|
|
@@ -111,9 +111,9 @@ require 'ElasticEmail'
|
|
|
111
111
|
# setup authorization
|
|
112
112
|
ElasticEmail.configure do |config|
|
|
113
113
|
# Configure API key authorization: apikey
|
|
114
|
-
config.api_key['
|
|
114
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
115
115
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
116
|
-
# config.api_key_prefix['
|
|
116
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
117
117
|
end
|
|
118
118
|
|
|
119
119
|
api_instance = ElasticEmail::SuppressionsApi.new
|
|
@@ -183,9 +183,9 @@ require 'ElasticEmail'
|
|
|
183
183
|
# setup authorization
|
|
184
184
|
ElasticEmail.configure do |config|
|
|
185
185
|
# Configure API key authorization: apikey
|
|
186
|
-
config.api_key['
|
|
186
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
187
187
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
188
|
-
# config.api_key_prefix['
|
|
188
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
189
189
|
end
|
|
190
190
|
|
|
191
191
|
api_instance = ElasticEmail::SuppressionsApi.new
|
|
@@ -254,9 +254,9 @@ require 'ElasticEmail'
|
|
|
254
254
|
# setup authorization
|
|
255
255
|
ElasticEmail.configure do |config|
|
|
256
256
|
# Configure API key authorization: apikey
|
|
257
|
-
config.api_key['
|
|
257
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
258
258
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
259
|
-
# config.api_key_prefix['
|
|
259
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
260
260
|
end
|
|
261
261
|
|
|
262
262
|
api_instance = ElasticEmail::SuppressionsApi.new
|
|
@@ -324,9 +324,9 @@ require 'ElasticEmail'
|
|
|
324
324
|
# setup authorization
|
|
325
325
|
ElasticEmail.configure do |config|
|
|
326
326
|
# Configure API key authorization: apikey
|
|
327
|
-
config.api_key['
|
|
327
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
328
328
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
329
|
-
# config.api_key_prefix['
|
|
329
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
330
330
|
end
|
|
331
331
|
|
|
332
332
|
api_instance = ElasticEmail::SuppressionsApi.new
|
|
@@ -395,9 +395,9 @@ require 'ElasticEmail'
|
|
|
395
395
|
# setup authorization
|
|
396
396
|
ElasticEmail.configure do |config|
|
|
397
397
|
# Configure API key authorization: apikey
|
|
398
|
-
config.api_key['
|
|
398
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
399
399
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
400
|
-
# config.api_key_prefix['
|
|
400
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
401
401
|
end
|
|
402
402
|
|
|
403
403
|
api_instance = ElasticEmail::SuppressionsApi.new
|
|
@@ -472,9 +472,9 @@ require 'ElasticEmail'
|
|
|
472
472
|
# setup authorization
|
|
473
473
|
ElasticEmail.configure do |config|
|
|
474
474
|
# Configure API key authorization: apikey
|
|
475
|
-
config.api_key['
|
|
475
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
476
476
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
477
|
-
# config.api_key_prefix['
|
|
477
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
478
478
|
end
|
|
479
479
|
|
|
480
480
|
api_instance = ElasticEmail::SuppressionsApi.new
|
|
@@ -544,9 +544,9 @@ require 'ElasticEmail'
|
|
|
544
544
|
# setup authorization
|
|
545
545
|
ElasticEmail.configure do |config|
|
|
546
546
|
# Configure API key authorization: apikey
|
|
547
|
-
config.api_key['
|
|
547
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
548
548
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
549
|
-
# config.api_key_prefix['
|
|
549
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
550
550
|
end
|
|
551
551
|
|
|
552
552
|
api_instance = ElasticEmail::SuppressionsApi.new
|
|
@@ -615,9 +615,9 @@ require 'ElasticEmail'
|
|
|
615
615
|
# setup authorization
|
|
616
616
|
ElasticEmail.configure do |config|
|
|
617
617
|
# Configure API key authorization: apikey
|
|
618
|
-
config.api_key['
|
|
618
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
619
619
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
620
|
-
# config.api_key_prefix['
|
|
620
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
621
621
|
end
|
|
622
622
|
|
|
623
623
|
api_instance = ElasticEmail::SuppressionsApi.new
|
|
@@ -690,9 +690,9 @@ require 'ElasticEmail'
|
|
|
690
690
|
# setup authorization
|
|
691
691
|
ElasticEmail.configure do |config|
|
|
692
692
|
# Configure API key authorization: apikey
|
|
693
|
-
config.api_key['
|
|
693
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
694
694
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
695
|
-
# config.api_key_prefix['
|
|
695
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
696
696
|
end
|
|
697
697
|
|
|
698
698
|
api_instance = ElasticEmail::SuppressionsApi.new
|
|
@@ -767,9 +767,9 @@ require 'ElasticEmail'
|
|
|
767
767
|
# setup authorization
|
|
768
768
|
ElasticEmail.configure do |config|
|
|
769
769
|
# Configure API key authorization: apikey
|
|
770
|
-
config.api_key['
|
|
770
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
771
771
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
772
|
-
# config.api_key_prefix['
|
|
772
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
773
773
|
end
|
|
774
774
|
|
|
775
775
|
api_instance = ElasticEmail::SuppressionsApi.new
|
|
@@ -839,9 +839,9 @@ require 'ElasticEmail'
|
|
|
839
839
|
# setup authorization
|
|
840
840
|
ElasticEmail.configure do |config|
|
|
841
841
|
# Configure API key authorization: apikey
|
|
842
|
-
config.api_key['
|
|
842
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
843
843
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
844
|
-
# config.api_key_prefix['
|
|
844
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
845
845
|
end
|
|
846
846
|
|
|
847
847
|
api_instance = ElasticEmail::SuppressionsApi.new
|
data/docs/TemplatesApi.md
CHANGED
|
@@ -27,9 +27,9 @@ require 'ElasticEmail'
|
|
|
27
27
|
# setup authorization
|
|
28
28
|
ElasticEmail.configure do |config|
|
|
29
29
|
# Configure API key authorization: apikey
|
|
30
|
-
config.api_key['
|
|
30
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
31
31
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
32
|
-
# config.api_key_prefix['
|
|
32
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
api_instance = ElasticEmail::TemplatesApi.new
|
|
@@ -97,9 +97,9 @@ require 'ElasticEmail'
|
|
|
97
97
|
# setup authorization
|
|
98
98
|
ElasticEmail.configure do |config|
|
|
99
99
|
# Configure API key authorization: apikey
|
|
100
|
-
config.api_key['
|
|
100
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
101
101
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
102
|
-
# config.api_key_prefix['
|
|
102
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
103
103
|
end
|
|
104
104
|
|
|
105
105
|
api_instance = ElasticEmail::TemplatesApi.new
|
|
@@ -168,9 +168,9 @@ require 'ElasticEmail'
|
|
|
168
168
|
# setup authorization
|
|
169
169
|
ElasticEmail.configure do |config|
|
|
170
170
|
# Configure API key authorization: apikey
|
|
171
|
-
config.api_key['
|
|
171
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
172
172
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
173
|
-
# config.api_key_prefix['
|
|
173
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
174
174
|
end
|
|
175
175
|
|
|
176
176
|
api_instance = ElasticEmail::TemplatesApi.new
|
|
@@ -241,9 +241,9 @@ require 'ElasticEmail'
|
|
|
241
241
|
# setup authorization
|
|
242
242
|
ElasticEmail.configure do |config|
|
|
243
243
|
# Configure API key authorization: apikey
|
|
244
|
-
config.api_key['
|
|
244
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
245
245
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
246
|
-
# config.api_key_prefix['
|
|
246
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
247
247
|
end
|
|
248
248
|
|
|
249
249
|
api_instance = ElasticEmail::TemplatesApi.new
|
|
@@ -320,9 +320,9 @@ require 'ElasticEmail'
|
|
|
320
320
|
# setup authorization
|
|
321
321
|
ElasticEmail.configure do |config|
|
|
322
322
|
# Configure API key authorization: apikey
|
|
323
|
-
config.api_key['
|
|
323
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
324
324
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
325
|
-
# config.api_key_prefix['
|
|
325
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
326
326
|
end
|
|
327
327
|
|
|
328
328
|
api_instance = ElasticEmail::TemplatesApi.new
|
data/docs/VerificationsApi.md
CHANGED
|
@@ -32,9 +32,9 @@ require 'ElasticEmail'
|
|
|
32
32
|
# setup authorization
|
|
33
33
|
ElasticEmail.configure do |config|
|
|
34
34
|
# Configure API key authorization: apikey
|
|
35
|
-
config.api_key['
|
|
35
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
36
36
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
37
|
-
# config.api_key_prefix['
|
|
37
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
api_instance = ElasticEmail::VerificationsApi.new
|
|
@@ -92,7 +92,7 @@ nil (empty response body)
|
|
|
92
92
|
|
|
93
93
|
Get Email Verification Result
|
|
94
94
|
|
|
95
|
-
Returns a result of verified email. Required Access Level:
|
|
95
|
+
Returns a result of verified email. Required Access Level: ViewVerifyEmails
|
|
96
96
|
|
|
97
97
|
### Examples
|
|
98
98
|
|
|
@@ -102,9 +102,9 @@ require 'ElasticEmail'
|
|
|
102
102
|
# setup authorization
|
|
103
103
|
ElasticEmail.configure do |config|
|
|
104
104
|
# Configure API key authorization: apikey
|
|
105
|
-
config.api_key['
|
|
105
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
106
106
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
107
|
-
# config.api_key_prefix['
|
|
107
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
108
108
|
end
|
|
109
109
|
|
|
110
110
|
api_instance = ElasticEmail::VerificationsApi.new
|
|
@@ -173,9 +173,9 @@ require 'ElasticEmail'
|
|
|
173
173
|
# setup authorization
|
|
174
174
|
ElasticEmail.configure do |config|
|
|
175
175
|
# Configure API key authorization: apikey
|
|
176
|
-
config.api_key['
|
|
176
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
177
177
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
178
|
-
# config.api_key_prefix['
|
|
178
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
179
179
|
end
|
|
180
180
|
|
|
181
181
|
api_instance = ElasticEmail::VerificationsApi.new
|
|
@@ -244,9 +244,9 @@ require 'ElasticEmail'
|
|
|
244
244
|
# setup authorization
|
|
245
245
|
ElasticEmail.configure do |config|
|
|
246
246
|
# Configure API key authorization: apikey
|
|
247
|
-
config.api_key['
|
|
247
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
248
248
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
249
|
-
# config.api_key_prefix['
|
|
249
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
250
250
|
end
|
|
251
251
|
|
|
252
252
|
api_instance = ElasticEmail::VerificationsApi.new
|
|
@@ -304,7 +304,7 @@ nil (empty response body)
|
|
|
304
304
|
|
|
305
305
|
Download File Verification Result
|
|
306
306
|
|
|
307
|
-
Download verification results as a ZIP file. Required Access Level:
|
|
307
|
+
Download verification results as a ZIP file. Required Access Level: ViewVerifyEmails
|
|
308
308
|
|
|
309
309
|
### Examples
|
|
310
310
|
|
|
@@ -314,9 +314,9 @@ require 'ElasticEmail'
|
|
|
314
314
|
# setup authorization
|
|
315
315
|
ElasticEmail.configure do |config|
|
|
316
316
|
# Configure API key authorization: apikey
|
|
317
|
-
config.api_key['
|
|
317
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
318
318
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
319
|
-
# config.api_key_prefix['
|
|
319
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
320
320
|
end
|
|
321
321
|
|
|
322
322
|
api_instance = ElasticEmail::VerificationsApi.new
|
|
@@ -375,7 +375,7 @@ end
|
|
|
375
375
|
|
|
376
376
|
Get Detailed File Verification Result
|
|
377
377
|
|
|
378
|
-
Returns status and results (if verified) of file with given ID. Required Access Level:
|
|
378
|
+
Returns status and results (if verified) of file with given ID. Required Access Level: ViewVerifyEmails
|
|
379
379
|
|
|
380
380
|
### Examples
|
|
381
381
|
|
|
@@ -385,9 +385,9 @@ require 'ElasticEmail'
|
|
|
385
385
|
# setup authorization
|
|
386
386
|
ElasticEmail.configure do |config|
|
|
387
387
|
# Configure API key authorization: apikey
|
|
388
|
-
config.api_key['
|
|
388
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
389
389
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
390
|
-
# config.api_key_prefix['
|
|
390
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
391
391
|
end
|
|
392
392
|
|
|
393
393
|
api_instance = ElasticEmail::VerificationsApi.new
|
|
@@ -462,9 +462,9 @@ require 'ElasticEmail'
|
|
|
462
462
|
# setup authorization
|
|
463
463
|
ElasticEmail.configure do |config|
|
|
464
464
|
# Configure API key authorization: apikey
|
|
465
|
-
config.api_key['
|
|
465
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
466
466
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
467
|
-
# config.api_key_prefix['
|
|
467
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
468
468
|
end
|
|
469
469
|
|
|
470
470
|
api_instance = ElasticEmail::VerificationsApi.new
|
|
@@ -532,9 +532,9 @@ require 'ElasticEmail'
|
|
|
532
532
|
# setup authorization
|
|
533
533
|
ElasticEmail.configure do |config|
|
|
534
534
|
# Configure API key authorization: apikey
|
|
535
|
-
config.api_key['
|
|
535
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
536
536
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
537
|
-
# config.api_key_prefix['
|
|
537
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
538
538
|
end
|
|
539
539
|
|
|
540
540
|
api_instance = ElasticEmail::VerificationsApi.new
|
|
@@ -595,7 +595,7 @@ end
|
|
|
595
595
|
|
|
596
596
|
Get Files Verification Results
|
|
597
597
|
|
|
598
|
-
Returns a list of uploaded files, their statuses and results. Required Access Level:
|
|
598
|
+
Returns a list of uploaded files, their statuses and results. Required Access Level: ViewVerifyEmails
|
|
599
599
|
|
|
600
600
|
### Examples
|
|
601
601
|
|
|
@@ -605,9 +605,9 @@ require 'ElasticEmail'
|
|
|
605
605
|
# setup authorization
|
|
606
606
|
ElasticEmail.configure do |config|
|
|
607
607
|
# Configure API key authorization: apikey
|
|
608
|
-
config.api_key['
|
|
608
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
609
609
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
610
|
-
# config.api_key_prefix['
|
|
610
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
611
611
|
end
|
|
612
612
|
|
|
613
613
|
api_instance = ElasticEmail::VerificationsApi.new
|
|
@@ -663,7 +663,7 @@ This endpoint does not need any parameter.
|
|
|
663
663
|
|
|
664
664
|
Get Emails Verification Results
|
|
665
665
|
|
|
666
|
-
Returns a results of all verified single emails. Required Access Level:
|
|
666
|
+
Returns a results of all verified single emails. Required Access Level: ViewVerifyEmails
|
|
667
667
|
|
|
668
668
|
### Examples
|
|
669
669
|
|
|
@@ -673,9 +673,9 @@ require 'ElasticEmail'
|
|
|
673
673
|
# setup authorization
|
|
674
674
|
ElasticEmail.configure do |config|
|
|
675
675
|
# Configure API key authorization: apikey
|
|
676
|
-
config.api_key['
|
|
676
|
+
config.api_key['X-ElasticEmail-ApiKey'] = 'YOUR API KEY'
|
|
677
677
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
678
|
-
# config.api_key_prefix['
|
|
678
|
+
# config.api_key_prefix['X-ElasticEmail-ApiKey'] = 'Bearer'
|
|
679
679
|
end
|
|
680
680
|
|
|
681
681
|
api_instance = ElasticEmail::VerificationsApi.new
|
|
@@ -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] || {}
|
|
@@ -242,7 +242,7 @@ module ElasticEmail
|
|
|
242
242
|
# header parameters
|
|
243
243
|
header_params = opts[:header_params] || {}
|
|
244
244
|
# HTTP header 'Accept' (if needed)
|
|
245
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
245
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
246
246
|
# HTTP header 'Content-Type'
|
|
247
247
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
248
248
|
if !content_type.nil?
|
|
@@ -313,7 +313,7 @@ module ElasticEmail
|
|
|
313
313
|
# header parameters
|
|
314
314
|
header_params = opts[:header_params] || {}
|
|
315
315
|
# HTTP header 'Accept' (if needed)
|
|
316
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
316
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
317
317
|
|
|
318
318
|
# form parameters
|
|
319
319
|
form_params = opts[:form_params] || {}
|
|
@@ -376,7 +376,7 @@ module ElasticEmail
|
|
|
376
376
|
# header parameters
|
|
377
377
|
header_params = opts[:header_params] || {}
|
|
378
378
|
# HTTP header 'Accept' (if needed)
|
|
379
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
379
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
380
380
|
# HTTP header 'Content-Type'
|
|
381
381
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
382
382
|
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?
|
|
@@ -315,7 +315,7 @@ module ElasticEmail
|
|
|
315
315
|
# header parameters
|
|
316
316
|
header_params = opts[:header_params] || {}
|
|
317
317
|
# HTTP header 'Accept' (if needed)
|
|
318
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
318
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
319
319
|
|
|
320
320
|
# form parameters
|
|
321
321
|
form_params = opts[:form_params] || {}
|
|
@@ -387,7 +387,7 @@ module ElasticEmail
|
|
|
387
387
|
# header parameters
|
|
388
388
|
header_params = opts[:header_params] || {}
|
|
389
389
|
# HTTP header 'Accept' (if needed)
|
|
390
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
390
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
391
391
|
|
|
392
392
|
# form parameters
|
|
393
393
|
form_params = opts[:form_params] || {}
|
|
@@ -450,7 +450,7 @@ module ElasticEmail
|
|
|
450
450
|
# header parameters
|
|
451
451
|
header_params = opts[:header_params] || {}
|
|
452
452
|
# HTTP header 'Accept' (if needed)
|
|
453
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
453
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
454
454
|
|
|
455
455
|
# form parameters
|
|
456
456
|
form_params = opts[:form_params] || {}
|
|
@@ -588,7 +588,7 @@ module ElasticEmail
|
|
|
588
588
|
# header parameters
|
|
589
589
|
header_params = opts[:header_params] || {}
|
|
590
590
|
# HTTP header 'Accept' (if needed)
|
|
591
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
591
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
592
592
|
# HTTP header 'Content-Type'
|
|
593
593
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
594
594
|
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?
|
|
@@ -249,7 +249,7 @@ module ElasticEmail
|
|
|
249
249
|
# header parameters
|
|
250
250
|
header_params = opts[:header_params] || {}
|
|
251
251
|
# HTTP header 'Accept' (if needed)
|
|
252
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
252
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
253
253
|
|
|
254
254
|
# form parameters
|
|
255
255
|
form_params = opts[:form_params] || {}
|
|
@@ -318,7 +318,7 @@ module ElasticEmail
|
|
|
318
318
|
# header parameters
|
|
319
319
|
header_params = opts[:header_params] || {}
|
|
320
320
|
# HTTP header 'Accept' (if needed)
|
|
321
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
321
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
322
322
|
# HTTP header 'Content-Type'
|
|
323
323
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
324
324
|
if !content_type.nil?
|
|
@@ -386,7 +386,7 @@ module ElasticEmail
|
|
|
386
386
|
# header parameters
|
|
387
387
|
header_params = opts[:header_params] || {}
|
|
388
388
|
# HTTP header 'Accept' (if needed)
|
|
389
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
389
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
390
390
|
|
|
391
391
|
# form parameters
|
|
392
392
|
form_params = opts[:form_params] || {}
|
|
@@ -443,7 +443,7 @@ module ElasticEmail
|
|
|
443
443
|
# header parameters
|
|
444
444
|
header_params = opts[:header_params] || {}
|
|
445
445
|
# HTTP header 'Accept' (if needed)
|
|
446
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
446
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
447
447
|
|
|
448
448
|
# form parameters
|
|
449
449
|
form_params = opts[:form_params] || {}
|
|
@@ -506,7 +506,7 @@ module ElasticEmail
|
|
|
506
506
|
# header parameters
|
|
507
507
|
header_params = opts[:header_params] || {}
|
|
508
508
|
# HTTP header 'Accept' (if needed)
|
|
509
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
509
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
510
510
|
# HTTP header 'Content-Type'
|
|
511
511
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
512
512
|
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
|
|
|
@@ -51,7 +51,7 @@ module ElasticEmail
|
|
|
51
51
|
# header parameters
|
|
52
52
|
header_params = opts[:header_params] || {}
|
|
53
53
|
# HTTP header 'Accept' (if needed)
|
|
54
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
54
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
55
55
|
|
|
56
56
|
# form parameters
|
|
57
57
|
form_params = opts[:form_params] || {}
|
|
@@ -144,7 +144,7 @@ module ElasticEmail
|
|
|
144
144
|
# header parameters
|
|
145
145
|
header_params = opts[:header_params] || {}
|
|
146
146
|
# HTTP header 'Accept' (if needed)
|
|
147
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
147
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
148
148
|
|
|
149
149
|
# form parameters
|
|
150
150
|
form_params = opts[:form_params] || {}
|
|
@@ -207,7 +207,7 @@ module ElasticEmail
|
|
|
207
207
|
# header parameters
|
|
208
208
|
header_params = opts[:header_params] || {}
|
|
209
209
|
# HTTP header 'Accept' (if needed)
|
|
210
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
210
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
211
211
|
# HTTP header 'Content-Type'
|
|
212
212
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
213
213
|
if !content_type.nil?
|
|
@@ -275,7 +275,7 @@ module ElasticEmail
|
|
|
275
275
|
# header parameters
|
|
276
276
|
header_params = opts[:header_params] || {}
|
|
277
277
|
# HTTP header 'Accept' (if needed)
|
|
278
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
278
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
279
279
|
# HTTP header 'Content-Type'
|
|
280
280
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
281
281
|
if !content_type.nil?
|
|
@@ -343,7 +343,7 @@ module ElasticEmail
|
|
|
343
343
|
# header parameters
|
|
344
344
|
header_params = opts[:header_params] || {}
|
|
345
345
|
# HTTP header 'Accept' (if needed)
|
|
346
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
346
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
347
347
|
# HTTP header 'Content-Type'
|
|
348
348
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
349
349
|
if !content_type.nil?
|