ElasticEmail 4.0.24 → 4.0.26

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.
Files changed (242) hide show
  1. checksums.yaml +4 -4
  2. data/ElasticEmail.gemspec +1 -1
  3. data/README.md +23 -5
  4. data/VERSION +1 -1
  5. data/docs/CampaignsApi.md +71 -0
  6. data/docs/CertificateValidationStatus.md +15 -0
  7. data/docs/DomainData.md +54 -0
  8. data/docs/DomainDetail.md +52 -0
  9. data/docs/DomainOwner.md +15 -0
  10. data/docs/DomainPayload.md +20 -0
  11. data/docs/DomainUpdatePayload.md +24 -0
  12. data/docs/DomainsApi.md +583 -0
  13. data/docs/EmailStatus.md +3 -1
  14. data/docs/EmailsApi.md +1 -1
  15. data/docs/MessageCategoryEnum.md +15 -0
  16. data/docs/TrackingType.md +15 -0
  17. data/docs/TrackingValidationStatus.md +15 -0
  18. data/lib/ElasticEmail/api/campaigns_api.rb +62 -1
  19. data/lib/ElasticEmail/api/contacts_api.rb +1 -1
  20. data/lib/ElasticEmail/api/domains_api.rb +545 -0
  21. data/lib/ElasticEmail/api/emails_api.rb +3 -3
  22. data/lib/ElasticEmail/api/events_api.rb +1 -1
  23. data/lib/ElasticEmail/api/files_api.rb +1 -1
  24. data/lib/ElasticEmail/api/inbound_route_api.rb +1 -1
  25. data/lib/ElasticEmail/api/lists_api.rb +1 -1
  26. data/lib/ElasticEmail/api/security_api.rb +1 -1
  27. data/lib/ElasticEmail/api/segments_api.rb +1 -1
  28. data/lib/ElasticEmail/api/statistics_api.rb +1 -1
  29. data/lib/ElasticEmail/api/sub_accounts_api.rb +1 -1
  30. data/lib/ElasticEmail/api/suppressions_api.rb +1 -1
  31. data/lib/ElasticEmail/api/templates_api.rb +1 -1
  32. data/lib/ElasticEmail/api/verifications_api.rb +1 -1
  33. data/lib/ElasticEmail/api_client.rb +3 -3
  34. data/lib/ElasticEmail/api_error.rb +1 -1
  35. data/lib/ElasticEmail/configuration.rb +1 -11
  36. data/lib/ElasticEmail/models/access_level.rb +3 -2
  37. data/lib/ElasticEmail/models/account_status_enum.rb +1 -1
  38. data/lib/ElasticEmail/models/api_key.rb +1 -1
  39. data/lib/ElasticEmail/models/api_key_payload.rb +1 -1
  40. data/lib/ElasticEmail/models/body_content_type.rb +1 -1
  41. data/lib/ElasticEmail/models/body_part.rb +1 -1
  42. data/lib/ElasticEmail/models/campaign.rb +1 -1
  43. data/lib/ElasticEmail/models/campaign_options.rb +1 -1
  44. data/lib/ElasticEmail/models/campaign_recipient.rb +1 -1
  45. data/lib/ElasticEmail/models/campaign_status.rb +1 -1
  46. data/lib/ElasticEmail/models/campaign_template.rb +1 -1
  47. data/lib/ElasticEmail/models/certificate_validation_status.rb +42 -0
  48. data/lib/ElasticEmail/models/channel_log_status_summary.rb +1 -1
  49. data/lib/ElasticEmail/models/compression_format.rb +1 -1
  50. data/lib/ElasticEmail/models/consent_data.rb +1 -1
  51. data/lib/ElasticEmail/models/consent_tracking.rb +1 -1
  52. data/lib/ElasticEmail/models/contact.rb +1 -1
  53. data/lib/ElasticEmail/models/contact_activity.rb +1 -1
  54. data/lib/ElasticEmail/models/contact_payload.rb +1 -1
  55. data/lib/ElasticEmail/models/contact_source.rb +1 -1
  56. data/lib/ElasticEmail/models/contact_status.rb +1 -1
  57. data/lib/ElasticEmail/models/contact_update_payload.rb +1 -1
  58. data/lib/ElasticEmail/models/contacts_list.rb +1 -1
  59. data/lib/ElasticEmail/models/delivery_optimization_type.rb +1 -1
  60. data/lib/ElasticEmail/models/domain_data.rb +417 -0
  61. data/lib/ElasticEmail/models/domain_detail.rb +407 -0
  62. data/lib/ElasticEmail/models/domain_owner.rb +40 -0
  63. data/lib/ElasticEmail/models/domain_payload.rb +224 -0
  64. data/lib/ElasticEmail/models/domain_update_payload.rb +265 -0
  65. data/lib/ElasticEmail/models/email_content.rb +1 -1
  66. data/lib/ElasticEmail/models/email_data.rb +1 -1
  67. data/lib/ElasticEmail/models/email_job_failed_status.rb +1 -1
  68. data/lib/ElasticEmail/models/email_job_status.rb +1 -1
  69. data/lib/ElasticEmail/models/email_message_data.rb +1 -1
  70. data/lib/ElasticEmail/models/email_predicted_validation_status.rb +1 -1
  71. data/lib/ElasticEmail/models/email_recipient.rb +1 -1
  72. data/lib/ElasticEmail/models/email_send.rb +1 -1
  73. data/lib/ElasticEmail/models/email_status.rb +16 -5
  74. data/lib/ElasticEmail/models/email_transactional_message_data.rb +1 -1
  75. data/lib/ElasticEmail/models/email_validation_result.rb +1 -1
  76. data/lib/ElasticEmail/models/email_validation_status.rb +1 -1
  77. data/lib/ElasticEmail/models/email_view.rb +1 -1
  78. data/lib/ElasticEmail/models/emails_payload.rb +1 -1
  79. data/lib/ElasticEmail/models/encoding_type.rb +1 -1
  80. data/lib/ElasticEmail/models/event_type.rb +1 -1
  81. data/lib/ElasticEmail/models/events_order_by.rb +1 -1
  82. data/lib/ElasticEmail/models/export_file_formats.rb +1 -1
  83. data/lib/ElasticEmail/models/export_link.rb +1 -1
  84. data/lib/ElasticEmail/models/export_status.rb +1 -1
  85. data/lib/ElasticEmail/models/file_info.rb +1 -1
  86. data/lib/ElasticEmail/models/file_payload.rb +1 -1
  87. data/lib/ElasticEmail/models/file_upload_result.rb +1 -1
  88. data/lib/ElasticEmail/models/inbound_payload.rb +1 -1
  89. data/lib/ElasticEmail/models/inbound_route.rb +1 -1
  90. data/lib/ElasticEmail/models/inbound_route_action_type.rb +1 -1
  91. data/lib/ElasticEmail/models/inbound_route_filter_type.rb +1 -1
  92. data/lib/ElasticEmail/models/list_payload.rb +1 -1
  93. data/lib/ElasticEmail/models/list_update_payload.rb +1 -1
  94. data/lib/ElasticEmail/models/log_job_status.rb +1 -1
  95. data/lib/ElasticEmail/models/log_status_summary.rb +1 -1
  96. data/lib/ElasticEmail/models/merge_email_payload.rb +1 -1
  97. data/lib/ElasticEmail/models/message_attachment.rb +1 -1
  98. data/lib/ElasticEmail/models/message_category.rb +1 -1
  99. data/lib/ElasticEmail/models/message_category_enum.rb +55 -0
  100. data/lib/ElasticEmail/models/new_api_key.rb +1 -1
  101. data/lib/ElasticEmail/models/new_smtp_credentials.rb +1 -1
  102. data/lib/ElasticEmail/models/options.rb +1 -1
  103. data/lib/ElasticEmail/models/recipient_event.rb +1 -1
  104. data/lib/ElasticEmail/models/segment.rb +1 -1
  105. data/lib/ElasticEmail/models/segment_payload.rb +1 -1
  106. data/lib/ElasticEmail/models/smtp_credentials.rb +1 -1
  107. data/lib/ElasticEmail/models/smtp_credentials_payload.rb +1 -1
  108. data/lib/ElasticEmail/models/sort_order_item.rb +1 -1
  109. data/lib/ElasticEmail/models/split_optimization_type.rb +1 -1
  110. data/lib/ElasticEmail/models/split_options.rb +1 -1
  111. data/lib/ElasticEmail/models/sub_account_info.rb +1 -1
  112. data/lib/ElasticEmail/models/subaccount_email_credits_payload.rb +1 -1
  113. data/lib/ElasticEmail/models/subaccount_email_settings.rb +1 -1
  114. data/lib/ElasticEmail/models/subaccount_email_settings_payload.rb +1 -1
  115. data/lib/ElasticEmail/models/subaccount_payload.rb +1 -1
  116. data/lib/ElasticEmail/models/subaccount_settings_info.rb +1 -1
  117. data/lib/ElasticEmail/models/subaccount_settings_info_payload.rb +1 -1
  118. data/lib/ElasticEmail/models/suppression.rb +1 -1
  119. data/lib/ElasticEmail/models/template.rb +1 -1
  120. data/lib/ElasticEmail/models/template_payload.rb +1 -1
  121. data/lib/ElasticEmail/models/template_scope.rb +1 -1
  122. data/lib/ElasticEmail/models/template_type.rb +3 -2
  123. data/lib/ElasticEmail/models/tracking_type.rb +44 -0
  124. data/lib/ElasticEmail/models/tracking_validation_status.rb +42 -0
  125. data/lib/ElasticEmail/models/transactional_recipient.rb +1 -1
  126. data/lib/ElasticEmail/models/utm.rb +1 -1
  127. data/lib/ElasticEmail/models/verification_file_result.rb +1 -1
  128. data/lib/ElasticEmail/models/verification_file_result_details.rb +1 -1
  129. data/lib/ElasticEmail/models/verification_status.rb +1 -1
  130. data/lib/ElasticEmail/version.rb +2 -2
  131. data/lib/ElasticEmail.rb +11 -1
  132. data/spec/api/campaigns_api_spec.rb +13 -1
  133. data/spec/api/contacts_api_spec.rb +1 -1
  134. data/spec/api/domains_api_spec.rb +132 -0
  135. data/spec/api/emails_api_spec.rb +2 -2
  136. data/spec/api/events_api_spec.rb +1 -1
  137. data/spec/api/files_api_spec.rb +1 -1
  138. data/spec/api/inbound_route_api_spec.rb +1 -1
  139. data/spec/api/lists_api_spec.rb +1 -1
  140. data/spec/api/security_api_spec.rb +1 -1
  141. data/spec/api/segments_api_spec.rb +1 -1
  142. data/spec/api/statistics_api_spec.rb +1 -1
  143. data/spec/api/sub_accounts_api_spec.rb +1 -1
  144. data/spec/api/suppressions_api_spec.rb +1 -1
  145. data/spec/api/templates_api_spec.rb +1 -1
  146. data/spec/api/verifications_api_spec.rb +1 -1
  147. data/spec/models/access_level_spec.rb +1 -1
  148. data/spec/models/account_status_enum_spec.rb +1 -1
  149. data/spec/models/api_key_payload_spec.rb +1 -1
  150. data/spec/models/api_key_spec.rb +1 -1
  151. data/spec/models/body_content_type_spec.rb +1 -1
  152. data/spec/models/body_part_spec.rb +1 -1
  153. data/spec/models/campaign_options_spec.rb +1 -1
  154. data/spec/models/campaign_recipient_spec.rb +1 -1
  155. data/spec/models/campaign_spec.rb +1 -1
  156. data/spec/models/campaign_status_spec.rb +1 -1
  157. data/spec/models/campaign_template_spec.rb +1 -1
  158. data/spec/models/certificate_validation_status_spec.rb +30 -0
  159. data/spec/models/channel_log_status_summary_spec.rb +1 -1
  160. data/spec/models/compression_format_spec.rb +1 -1
  161. data/spec/models/consent_data_spec.rb +1 -1
  162. data/spec/models/consent_tracking_spec.rb +1 -1
  163. data/spec/models/contact_activity_spec.rb +1 -1
  164. data/spec/models/contact_payload_spec.rb +1 -1
  165. data/spec/models/contact_source_spec.rb +1 -1
  166. data/spec/models/contact_spec.rb +1 -1
  167. data/spec/models/contact_status_spec.rb +1 -1
  168. data/spec/models/contact_update_payload_spec.rb +1 -1
  169. data/spec/models/contacts_list_spec.rb +1 -1
  170. data/spec/models/delivery_optimization_type_spec.rb +1 -1
  171. data/spec/models/domain_data_spec.rb +144 -0
  172. data/spec/models/domain_detail_spec.rb +138 -0
  173. data/spec/models/domain_owner_spec.rb +30 -0
  174. data/spec/models/domain_payload_spec.rb +42 -0
  175. data/spec/models/domain_update_payload_spec.rb +54 -0
  176. data/spec/models/email_content_spec.rb +1 -1
  177. data/spec/models/email_data_spec.rb +1 -1
  178. data/spec/models/email_job_failed_status_spec.rb +1 -1
  179. data/spec/models/email_job_status_spec.rb +1 -1
  180. data/spec/models/email_message_data_spec.rb +1 -1
  181. data/spec/models/email_predicted_validation_status_spec.rb +1 -1
  182. data/spec/models/email_recipient_spec.rb +1 -1
  183. data/spec/models/email_send_spec.rb +1 -1
  184. data/spec/models/email_status_spec.rb +7 -1
  185. data/spec/models/email_transactional_message_data_spec.rb +1 -1
  186. data/spec/models/email_validation_result_spec.rb +1 -1
  187. data/spec/models/email_validation_status_spec.rb +1 -1
  188. data/spec/models/email_view_spec.rb +1 -1
  189. data/spec/models/emails_payload_spec.rb +1 -1
  190. data/spec/models/encoding_type_spec.rb +1 -1
  191. data/spec/models/event_type_spec.rb +1 -1
  192. data/spec/models/events_order_by_spec.rb +1 -1
  193. data/spec/models/export_file_formats_spec.rb +1 -1
  194. data/spec/models/export_link_spec.rb +1 -1
  195. data/spec/models/export_status_spec.rb +1 -1
  196. data/spec/models/file_info_spec.rb +1 -1
  197. data/spec/models/file_payload_spec.rb +1 -1
  198. data/spec/models/file_upload_result_spec.rb +1 -1
  199. data/spec/models/inbound_payload_spec.rb +1 -1
  200. data/spec/models/inbound_route_action_type_spec.rb +1 -1
  201. data/spec/models/inbound_route_filter_type_spec.rb +1 -1
  202. data/spec/models/inbound_route_spec.rb +1 -1
  203. data/spec/models/list_payload_spec.rb +1 -1
  204. data/spec/models/list_update_payload_spec.rb +1 -1
  205. data/spec/models/log_job_status_spec.rb +1 -1
  206. data/spec/models/log_status_summary_spec.rb +1 -1
  207. data/spec/models/merge_email_payload_spec.rb +1 -1
  208. data/spec/models/message_attachment_spec.rb +1 -1
  209. data/spec/models/message_category_enum_spec.rb +30 -0
  210. data/spec/models/message_category_spec.rb +1 -1
  211. data/spec/models/new_api_key_spec.rb +1 -1
  212. data/spec/models/new_smtp_credentials_spec.rb +1 -1
  213. data/spec/models/options_spec.rb +1 -1
  214. data/spec/models/recipient_event_spec.rb +1 -1
  215. data/spec/models/segment_payload_spec.rb +1 -1
  216. data/spec/models/segment_spec.rb +1 -1
  217. data/spec/models/smtp_credentials_payload_spec.rb +1 -1
  218. data/spec/models/smtp_credentials_spec.rb +1 -1
  219. data/spec/models/sort_order_item_spec.rb +1 -1
  220. data/spec/models/split_optimization_type_spec.rb +1 -1
  221. data/spec/models/split_options_spec.rb +1 -1
  222. data/spec/models/sub_account_info_spec.rb +1 -1
  223. data/spec/models/subaccount_email_credits_payload_spec.rb +1 -1
  224. data/spec/models/subaccount_email_settings_payload_spec.rb +1 -1
  225. data/spec/models/subaccount_email_settings_spec.rb +1 -1
  226. data/spec/models/subaccount_payload_spec.rb +1 -1
  227. data/spec/models/subaccount_settings_info_payload_spec.rb +1 -1
  228. data/spec/models/subaccount_settings_info_spec.rb +1 -1
  229. data/spec/models/suppression_spec.rb +1 -1
  230. data/spec/models/template_payload_spec.rb +1 -1
  231. data/spec/models/template_scope_spec.rb +1 -1
  232. data/spec/models/template_spec.rb +1 -1
  233. data/spec/models/template_type_spec.rb +1 -1
  234. data/spec/models/tracking_type_spec.rb +30 -0
  235. data/spec/models/tracking_validation_status_spec.rb +30 -0
  236. data/spec/models/transactional_recipient_spec.rb +1 -1
  237. data/spec/models/utm_spec.rb +1 -1
  238. data/spec/models/verification_file_result_details_spec.rb +1 -1
  239. data/spec/models/verification_file_result_spec.rb +1 -1
  240. data/spec/models/verification_status_spec.rb +1 -1
  241. data/spec/spec_helper.rb +1 -1
  242. metadata +124 -84
@@ -0,0 +1,144 @@
1
+ =begin
2
+ #Elastic Email REST API
3
+
4
+ #This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://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
+
6
+ The version of the OpenAPI document: 4.0.0
7
+ Contact: support@elasticemail.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.5.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for ElasticEmail::DomainData
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe ElasticEmail::DomainData do
21
+ let(:instance) { ElasticEmail::DomainData.new }
22
+
23
+ describe 'test an instance of DomainData' do
24
+ it 'should create an instance of DomainData' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(ElasticEmail::DomainData)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "validation_log"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "domain"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "default_domain"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "spf"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "dkim"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "mx"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "dmarc"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ end
70
+ end
71
+
72
+ describe 'test attribute "is_rewrite_domain_valid"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
78
+ describe 'test attribute "verify"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
84
+ describe 'test attribute "type"' do
85
+ it 'should work' do
86
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
+ end
88
+ end
89
+
90
+ describe 'test attribute "tracking_status"' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
96
+ describe 'test attribute "certificate_status"' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
+ end
100
+ end
101
+
102
+ describe 'test attribute "certificate_validation_error"' do
103
+ it 'should work' do
104
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
+ end
106
+ end
107
+
108
+ describe 'test attribute "tracking_type_user_request"' do
109
+ it 'should work' do
110
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
111
+ end
112
+ end
113
+
114
+ describe 'test attribute "verp"' do
115
+ it 'should work' do
116
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
117
+ end
118
+ end
119
+
120
+ describe 'test attribute "custom_bounces_domain"' do
121
+ it 'should work' do
122
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
123
+ end
124
+ end
125
+
126
+ describe 'test attribute "is_custom_bounces_domain_default"' do
127
+ it 'should work' do
128
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
129
+ end
130
+ end
131
+
132
+ describe 'test attribute "is_marked_for_deletion"' do
133
+ it 'should work' do
134
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
135
+ end
136
+ end
137
+
138
+ describe 'test attribute "ownership"' do
139
+ it 'should work' do
140
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
141
+ end
142
+ end
143
+
144
+ end
@@ -0,0 +1,138 @@
1
+ =begin
2
+ #Elastic Email REST API
3
+
4
+ #This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://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
+
6
+ The version of the OpenAPI document: 4.0.0
7
+ Contact: support@elasticemail.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.5.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for ElasticEmail::DomainDetail
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe ElasticEmail::DomainDetail do
21
+ let(:instance) { ElasticEmail::DomainDetail.new }
22
+
23
+ describe 'test an instance of DomainDetail' do
24
+ it 'should create an instance of DomainDetail' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(ElasticEmail::DomainDetail)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "domain"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "default_domain"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "spf"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "dkim"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "mx"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "dmarc"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "is_rewrite_domain_valid"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ end
70
+ end
71
+
72
+ describe 'test attribute "verify"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
78
+ describe 'test attribute "type"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
84
+ describe 'test attribute "tracking_status"' do
85
+ it 'should work' do
86
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
+ end
88
+ end
89
+
90
+ describe 'test attribute "certificate_status"' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
96
+ describe 'test attribute "certificate_validation_error"' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
+ end
100
+ end
101
+
102
+ describe 'test attribute "tracking_type_user_request"' do
103
+ it 'should work' do
104
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
+ end
106
+ end
107
+
108
+ describe 'test attribute "verp"' do
109
+ it 'should work' do
110
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
111
+ end
112
+ end
113
+
114
+ describe 'test attribute "custom_bounces_domain"' do
115
+ it 'should work' do
116
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
117
+ end
118
+ end
119
+
120
+ describe 'test attribute "is_custom_bounces_domain_default"' do
121
+ it 'should work' do
122
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
123
+ end
124
+ end
125
+
126
+ describe 'test attribute "is_marked_for_deletion"' do
127
+ it 'should work' do
128
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
129
+ end
130
+ end
131
+
132
+ describe 'test attribute "ownership"' do
133
+ it 'should work' do
134
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
135
+ end
136
+ end
137
+
138
+ end
@@ -0,0 +1,30 @@
1
+ =begin
2
+ #Elastic Email REST API
3
+
4
+ #This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://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
+
6
+ The version of the OpenAPI document: 4.0.0
7
+ Contact: support@elasticemail.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.5.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for ElasticEmail::DomainOwner
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe ElasticEmail::DomainOwner do
21
+ let(:instance) { ElasticEmail::DomainOwner.new }
22
+
23
+ describe 'test an instance of DomainOwner' do
24
+ it 'should create an instance of DomainOwner' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(ElasticEmail::DomainOwner)
27
+ end
28
+ end
29
+
30
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Elastic Email REST API
3
+
4
+ #This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://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
+
6
+ The version of the OpenAPI document: 4.0.0
7
+ Contact: support@elasticemail.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.5.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for ElasticEmail::DomainPayload
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe ElasticEmail::DomainPayload do
21
+ let(:instance) { ElasticEmail::DomainPayload.new }
22
+
23
+ describe 'test an instance of DomainPayload' do
24
+ it 'should create an instance of DomainPayload' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(ElasticEmail::DomainPayload)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "domain"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "set_as_default"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end
@@ -0,0 +1,54 @@
1
+ =begin
2
+ #Elastic Email REST API
3
+
4
+ #This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://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
+
6
+ The version of the OpenAPI document: 4.0.0
7
+ Contact: support@elasticemail.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.5.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for ElasticEmail::DomainUpdatePayload
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe ElasticEmail::DomainUpdatePayload do
21
+ let(:instance) { ElasticEmail::DomainUpdatePayload.new }
22
+
23
+ describe 'test an instance of DomainUpdatePayload' do
24
+ it 'should create an instance of DomainUpdatePayload' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(ElasticEmail::DomainUpdatePayload)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "certificate_status"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "verp"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "custom_bounces_domain"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "is_custom_bounces_domain_default"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ end
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -99,4 +99,10 @@ describe ElasticEmail::EmailStatus do
99
99
  end
100
100
  end
101
101
 
102
+ describe 'test attribute "error_category"' do
103
+ it 'should work' do
104
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
+ end
106
+ end
107
+
102
108
  end
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
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.7.0
9
+ Generator version: 7.5.0
10
10
 
11
11
  =end
12
12