sib-api-v3-sdk 5.5.0 → 7.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (473) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +44 -29
  3. data/docs/AbTestCampaignResult.md +2 -0
  4. data/docs/AbTestCampaignResultClickedLinks.md +9 -0
  5. data/docs/AbTestCampaignResultStatistics.md +13 -0
  6. data/docs/AbTestVersionClicks.md +7 -0
  7. data/docs/AbTestVersionClicksInner.md +10 -0
  8. data/docs/AbTestVersionStats.md +9 -0
  9. data/docs/AddContactToList.md +2 -1
  10. data/docs/BlockDomain.md +8 -0
  11. data/docs/ContactsApi.md +45 -33
  12. data/docs/CreateDoiContact.md +1 -1
  13. data/docs/CreateEmailCampaign.md +1 -1
  14. data/docs/CreateSmsCampaign.md +2 -2
  15. data/docs/CreateSmtpEmail.md +2 -1
  16. data/docs/CreateSmtpTemplateSender.md +1 -1
  17. data/docs/CreateWebhook.md +1 -1
  18. data/docs/EmailCampaignsApi.md +7 -5
  19. data/docs/FoldersApi.md +9 -3
  20. data/docs/GetAggregatedReport.md +13 -13
  21. data/docs/GetBlockedDomains.md +8 -0
  22. data/docs/GetCampaignOverview.md +1 -1
  23. data/docs/GetCampaignStats.md +1 -0
  24. data/docs/GetChildDomain.md +2 -2
  25. data/docs/GetChildrenList.md +1 -1
  26. data/docs/GetContactCampaignStatsOpened.md +1 -1
  27. data/docs/GetContactDetails.md +2 -2
  28. data/docs/GetEmailCampaign.md +8 -8
  29. data/docs/GetEmailCampaigns.md +1 -1
  30. data/docs/GetEmailEventReportEvents.md +2 -1
  31. data/docs/GetExtendedCampaignOverview.md +6 -6
  32. data/docs/GetExtendedCampaignStats.md +1 -1
  33. data/docs/GetExtendedCampaignStatsGlobalStats.md +7 -0
  34. data/docs/GetExtendedContactDetails.md +2 -2
  35. data/docs/GetExtendedContactDetailsStatisticsLinks.md +1 -1
  36. data/docs/GetExtendedContactDetailsStatisticsMessagesSent.md +1 -1
  37. data/docs/GetExtendedContactDetailsStatisticsOpened.md +1 -1
  38. data/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md +2 -2
  39. data/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md +2 -2
  40. data/docs/GetExtendedList.md +1 -1
  41. data/docs/GetFolderLists.md +2 -2
  42. data/docs/GetLists.md +2 -2
  43. data/docs/GetProcesses.md +1 -1
  44. data/docs/GetSmsCampaign.md +5 -5
  45. data/docs/GetSmsCampaignOverview.md +3 -3
  46. data/docs/GetSmsCampaignRecipients.md +7 -0
  47. data/docs/GetSmsCampaigns.md +1 -1
  48. data/docs/GetSmsEventReportEvents.md +4 -4
  49. data/docs/GetSmtpTemplateOverview.md +2 -2
  50. data/docs/GetTransacAggregatedSmsReport.md +10 -10
  51. data/docs/GetTransacBlockedContactsContacts.md +1 -1
  52. data/docs/GetTransacEmailContent.md +1 -1
  53. data/docs/GetTransacEmailContentEvents.md +1 -1
  54. data/docs/GetTransacEmailsListTransactionalEmails.md +1 -1
  55. data/docs/GetTransacSmsReportReports.md +10 -10
  56. data/docs/GetWebhook.md +2 -2
  57. data/docs/ListsApi.md +15 -9
  58. data/docs/ProcessApi.md +3 -1
  59. data/docs/RemoveContactFromList.md +2 -1
  60. data/docs/SMSCampaignsApi.md +7 -5
  61. data/docs/SendReportEmail.md +1 -5
  62. data/docs/SendSmtpEmail.md +3 -2
  63. data/docs/SendSmtpEmailMessageVersions.md +13 -0
  64. data/docs/SendSmtpEmailReplyTo1.md +9 -0
  65. data/docs/SendSmtpEmailSender.md +3 -2
  66. data/docs/SendSmtpEmailTo1.md +9 -0
  67. data/docs/SendTransacSms.md +1 -1
  68. data/docs/{SMTPApi.md → TransactionalEmailsApi.md} +242 -60
  69. data/docs/TransactionalSMSApi.md +9 -5
  70. data/docs/UpdateEmailCampaign.md +1 -1
  71. data/docs/UpdateSmsCampaign.md +2 -2
  72. data/docs/UpdateWebhook.md +1 -1
  73. data/lib/sib-api-v3-sdk.rb +22 -10
  74. data/lib/sib-api-v3-sdk/api/account_api.rb +11 -1
  75. data/lib/sib-api-v3-sdk/api/attributes_api.rb +11 -1
  76. data/lib/sib-api-v3-sdk/api/contacts_api.rb +85 -45
  77. data/lib/sib-api-v3-sdk/api/email_campaigns_api.rb +21 -5
  78. data/lib/sib-api-v3-sdk/api/folders_api.rb +23 -1
  79. data/lib/sib-api-v3-sdk/api/lists_api.rb +35 -7
  80. data/lib/sib-api-v3-sdk/api/process_api.rb +17 -1
  81. data/lib/sib-api-v3-sdk/api/reseller_api.rb +11 -1
  82. data/lib/sib-api-v3-sdk/api/senders_api.rb +11 -1
  83. data/lib/sib-api-v3-sdk/api/sms_campaigns_api.rb +21 -5
  84. data/lib/sib-api-v3-sdk/api/{smtp_api.rb → transactional_emails_api.rb} +249 -55
  85. data/lib/sib-api-v3-sdk/api/transactional_sms_api.rb +23 -1
  86. data/lib/sib-api-v3-sdk/api/webhooks_api.rb +11 -1
  87. data/lib/sib-api-v3-sdk/api_client.rb +6 -4
  88. data/lib/sib-api-v3-sdk/api_error.rb +1 -1
  89. data/lib/sib-api-v3-sdk/configuration.rb +3 -3
  90. data/lib/sib-api-v3-sdk/models/ab_test_campaign_result.rb +25 -6
  91. data/lib/sib-api-v3-sdk/models/ab_test_campaign_result_clicked_links.rb +203 -0
  92. data/lib/sib-api-v3-sdk/models/ab_test_campaign_result_statistics.rb +259 -0
  93. data/lib/sib-api-v3-sdk/models/ab_test_version_clicks.rb +176 -0
  94. data/lib/sib-api-v3-sdk/models/ab_test_version_clicks_inner.rb +220 -0
  95. data/lib/sib-api-v3-sdk/models/ab_test_version_stats.rb +206 -0
  96. data/lib/sib-api-v3-sdk/models/add_child_domain.rb +3 -2
  97. data/lib/sib-api-v3-sdk/models/add_contact_to_list.rb +20 -7
  98. data/lib/sib-api-v3-sdk/models/add_credits.rb +3 -2
  99. data/lib/sib-api-v3-sdk/models/block_domain.rb +190 -0
  100. data/lib/sib-api-v3-sdk/models/create_attribute.rb +3 -2
  101. data/lib/sib-api-v3-sdk/models/create_attribute_enumeration.rb +3 -2
  102. data/lib/sib-api-v3-sdk/models/create_child.rb +3 -2
  103. data/lib/sib-api-v3-sdk/models/create_contact.rb +3 -2
  104. data/lib/sib-api-v3-sdk/models/create_doi_contact.rb +8 -2
  105. data/lib/sib-api-v3-sdk/models/create_email_campaign.rb +4 -3
  106. data/lib/sib-api-v3-sdk/models/create_email_campaign_recipients.rb +3 -2
  107. data/lib/sib-api-v3-sdk/models/create_email_campaign_sender.rb +3 -2
  108. data/lib/sib-api-v3-sdk/models/create_list.rb +3 -2
  109. data/lib/sib-api-v3-sdk/models/create_model.rb +3 -2
  110. data/lib/sib-api-v3-sdk/models/create_reseller.rb +3 -2
  111. data/lib/sib-api-v3-sdk/models/create_sender.rb +3 -2
  112. data/lib/sib-api-v3-sdk/models/create_sender_ips.rb +3 -2
  113. data/lib/sib-api-v3-sdk/models/create_sender_model.rb +3 -2
  114. data/lib/sib-api-v3-sdk/models/create_sms_campaign.rb +10 -9
  115. data/lib/sib-api-v3-sdk/models/create_sms_campaign_recipients.rb +3 -2
  116. data/lib/sib-api-v3-sdk/models/create_smtp_email.rb +18 -11
  117. data/lib/sib-api-v3-sdk/models/create_smtp_template.rb +3 -2
  118. data/lib/sib-api-v3-sdk/models/create_smtp_template_sender.rb +3 -7
  119. data/lib/sib-api-v3-sdk/models/create_update_contact_model.rb +3 -2
  120. data/lib/sib-api-v3-sdk/models/create_update_folder.rb +3 -2
  121. data/lib/sib-api-v3-sdk/models/create_webhook.rb +4 -3
  122. data/lib/sib-api-v3-sdk/models/created_process_id.rb +3 -2
  123. data/lib/sib-api-v3-sdk/models/delete_hardbounces.rb +3 -2
  124. data/lib/sib-api-v3-sdk/models/email_export_recipients.rb +3 -2
  125. data/lib/sib-api-v3-sdk/models/error_model.rb +3 -2
  126. data/lib/sib-api-v3-sdk/models/get_account.rb +3 -2
  127. data/lib/sib-api-v3-sdk/models/get_account_marketing_automation.rb +3 -2
  128. data/lib/sib-api-v3-sdk/models/get_account_plan.rb +3 -2
  129. data/lib/sib-api-v3-sdk/models/get_account_relay.rb +3 -2
  130. data/lib/sib-api-v3-sdk/models/get_account_relay_data.rb +3 -2
  131. data/lib/sib-api-v3-sdk/models/get_aggregated_report.rb +3 -67
  132. data/lib/sib-api-v3-sdk/models/get_attributes.rb +3 -2
  133. data/lib/sib-api-v3-sdk/models/get_attributes_attributes.rb +3 -2
  134. data/lib/sib-api-v3-sdk/models/get_attributes_enumeration.rb +3 -2
  135. data/lib/sib-api-v3-sdk/models/get_blocked_domains.rb +193 -0
  136. data/lib/sib-api-v3-sdk/models/get_campaign_overview.rb +4 -3
  137. data/lib/sib-api-v3-sdk/models/get_campaign_recipients.rb +3 -2
  138. data/lib/sib-api-v3-sdk/models/get_campaign_stats.rb +17 -6
  139. data/lib/sib-api-v3-sdk/models/get_child_account_creation_status.rb +3 -2
  140. data/lib/sib-api-v3-sdk/models/get_child_domain.rb +3 -12
  141. data/lib/sib-api-v3-sdk/models/get_child_domains.rb +3 -2
  142. data/lib/sib-api-v3-sdk/models/get_child_info.rb +3 -2
  143. data/lib/sib-api-v3-sdk/models/get_child_info_api_keys.rb +3 -2
  144. data/lib/sib-api-v3-sdk/models/get_child_info_api_keys_v2.rb +3 -2
  145. data/lib/sib-api-v3-sdk/models/get_child_info_api_keys_v3.rb +3 -2
  146. data/lib/sib-api-v3-sdk/models/get_child_info_credits.rb +3 -2
  147. data/lib/sib-api-v3-sdk/models/get_child_info_statistics.rb +3 -2
  148. data/lib/sib-api-v3-sdk/models/get_children_list.rb +3 -7
  149. data/lib/sib-api-v3-sdk/models/get_client.rb +3 -2
  150. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats.rb +3 -2
  151. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_clicked.rb +3 -2
  152. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_opened.rb +4 -3
  153. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_transac_attributes.rb +3 -2
  154. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_unsubscriptions.rb +3 -2
  155. data/lib/sib-api-v3-sdk/models/get_contact_details.rb +5 -4
  156. data/lib/sib-api-v3-sdk/models/get_contacts.rb +3 -2
  157. data/lib/sib-api-v3-sdk/models/get_device_browser_stats.rb +3 -2
  158. data/lib/sib-api-v3-sdk/models/get_email_campaign.rb +9 -18
  159. data/lib/sib-api-v3-sdk/models/get_email_campaigns.rb +3 -7
  160. data/lib/sib-api-v3-sdk/models/get_email_event_report.rb +3 -2
  161. data/lib/sib-api-v3-sdk/models/get_email_event_report_events.rb +20 -9
  162. data/lib/sib-api-v3-sdk/models/get_extended_campaign_overview.rb +7 -16
  163. data/lib/sib-api-v3-sdk/models/get_extended_campaign_overview_sender.rb +3 -2
  164. data/lib/sib-api-v3-sdk/models/get_extended_campaign_stats.rb +4 -4
  165. data/lib/sib-api-v3-sdk/models/get_extended_campaign_stats_global_stats.rb +176 -0
  166. data/lib/sib-api-v3-sdk/models/get_extended_client.rb +3 -2
  167. data/lib/sib-api-v3-sdk/models/get_extended_client_address.rb +3 -2
  168. data/lib/sib-api-v3-sdk/models/get_extended_contact_details.rb +5 -4
  169. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics.rb +3 -2
  170. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_clicked.rb +3 -2
  171. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_links.rb +4 -3
  172. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_messages_sent.rb +4 -3
  173. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_opened.rb +4 -3
  174. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions.rb +3 -2
  175. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.rb +4 -8
  176. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.rb +4 -8
  177. data/lib/sib-api-v3-sdk/models/get_extended_list.rb +4 -3
  178. data/lib/sib-api-v3-sdk/models/get_extended_list_campaign_stats.rb +3 -2
  179. data/lib/sib-api-v3-sdk/models/get_folder.rb +3 -2
  180. data/lib/sib-api-v3-sdk/models/get_folder_lists.rb +3 -12
  181. data/lib/sib-api-v3-sdk/models/get_folders.rb +3 -2
  182. data/lib/sib-api-v3-sdk/models/get_ip.rb +3 -2
  183. data/lib/sib-api-v3-sdk/models/get_ip_from_sender.rb +3 -2
  184. data/lib/sib-api-v3-sdk/models/get_ips.rb +3 -2
  185. data/lib/sib-api-v3-sdk/models/get_ips_from_sender.rb +3 -2
  186. data/lib/sib-api-v3-sdk/models/get_list.rb +3 -2
  187. data/lib/sib-api-v3-sdk/models/get_lists.rb +3 -12
  188. data/lib/sib-api-v3-sdk/models/get_process.rb +3 -2
  189. data/lib/sib-api-v3-sdk/models/get_processes.rb +3 -7
  190. data/lib/sib-api-v3-sdk/models/get_reports.rb +3 -2
  191. data/lib/sib-api-v3-sdk/models/get_reports_reports.rb +3 -2
  192. data/lib/sib-api-v3-sdk/models/get_senders_list.rb +3 -2
  193. data/lib/sib-api-v3-sdk/models/get_senders_list_ips.rb +3 -2
  194. data/lib/sib-api-v3-sdk/models/get_senders_list_senders.rb +3 -2
  195. data/lib/sib-api-v3-sdk/models/get_shared_template_url.rb +3 -2
  196. data/lib/sib-api-v3-sdk/models/get_sms_campaign.rb +8 -12
  197. data/lib/sib-api-v3-sdk/models/get_sms_campaign_overview.rb +6 -10
  198. data/lib/sib-api-v3-sdk/models/get_sms_campaign_recipients.rb +175 -0
  199. data/lib/sib-api-v3-sdk/models/get_sms_campaign_stats.rb +3 -2
  200. data/lib/sib-api-v3-sdk/models/get_sms_campaigns.rb +3 -7
  201. data/lib/sib-api-v3-sdk/models/get_sms_event_report.rb +3 -2
  202. data/lib/sib-api-v3-sdk/models/get_sms_event_report_events.rb +4 -23
  203. data/lib/sib-api-v3-sdk/models/get_smtp_template_overview.rb +5 -4
  204. data/lib/sib-api-v3-sdk/models/get_smtp_template_overview_sender.rb +3 -2
  205. data/lib/sib-api-v3-sdk/models/get_smtp_templates.rb +3 -2
  206. data/lib/sib-api-v3-sdk/models/get_sso_token.rb +3 -2
  207. data/lib/sib-api-v3-sdk/models/get_stats_by_browser.rb +3 -2
  208. data/lib/sib-api-v3-sdk/models/get_stats_by_device.rb +3 -2
  209. data/lib/sib-api-v3-sdk/models/get_stats_by_domain.rb +3 -2
  210. data/lib/sib-api-v3-sdk/models/get_transac_aggregated_sms_report.rb +3 -52
  211. data/lib/sib-api-v3-sdk/models/get_transac_blocked_contacts.rb +3 -2
  212. data/lib/sib-api-v3-sdk/models/get_transac_blocked_contacts_contacts.rb +4 -3
  213. data/lib/sib-api-v3-sdk/models/get_transac_blocked_contacts_reason.rb +3 -2
  214. data/lib/sib-api-v3-sdk/models/get_transac_email_content.rb +4 -3
  215. data/lib/sib-api-v3-sdk/models/get_transac_email_content_events.rb +4 -3
  216. data/lib/sib-api-v3-sdk/models/get_transac_emails_list.rb +3 -2
  217. data/lib/sib-api-v3-sdk/models/get_transac_emails_list_transactional_emails.rb +4 -3
  218. data/lib/sib-api-v3-sdk/models/get_transac_sms_report.rb +3 -2
  219. data/lib/sib-api-v3-sdk/models/get_transac_sms_report_reports.rb +3 -52
  220. data/lib/sib-api-v3-sdk/models/get_webhook.rb +5 -4
  221. data/lib/sib-api-v3-sdk/models/get_webhooks.rb +3 -2
  222. data/lib/sib-api-v3-sdk/models/manage_ip.rb +3 -2
  223. data/lib/sib-api-v3-sdk/models/post_contact_info.rb +3 -2
  224. data/lib/sib-api-v3-sdk/models/post_contact_info_contacts.rb +3 -2
  225. data/lib/sib-api-v3-sdk/models/post_send_failed.rb +3 -2
  226. data/lib/sib-api-v3-sdk/models/post_send_sms_test_failed.rb +3 -2
  227. data/lib/sib-api-v3-sdk/models/remaining_credit_model.rb +3 -2
  228. data/lib/sib-api-v3-sdk/models/remaining_credit_model_child.rb +3 -2
  229. data/lib/sib-api-v3-sdk/models/remaining_credit_model_reseller.rb +3 -2
  230. data/lib/sib-api-v3-sdk/models/remove_contact_from_list.rb +17 -4
  231. data/lib/sib-api-v3-sdk/models/remove_credits.rb +3 -2
  232. data/lib/sib-api-v3-sdk/models/request_contact_export.rb +3 -2
  233. data/lib/sib-api-v3-sdk/models/request_contact_export_custom_contact_filter.rb +3 -2
  234. data/lib/sib-api-v3-sdk/models/request_contact_import.rb +3 -2
  235. data/lib/sib-api-v3-sdk/models/request_contact_import_new_list.rb +3 -2
  236. data/lib/sib-api-v3-sdk/models/request_sms_recipient_export.rb +3 -2
  237. data/lib/sib-api-v3-sdk/models/send_email.rb +3 -2
  238. data/lib/sib-api-v3-sdk/models/send_email_attachment.rb +3 -2
  239. data/lib/sib-api-v3-sdk/models/send_report.rb +3 -2
  240. data/lib/sib-api-v3-sdk/models/send_report_email.rb +6 -90
  241. data/lib/sib-api-v3-sdk/models/send_sms.rb +3 -2
  242. data/lib/sib-api-v3-sdk/models/send_smtp_email.rb +18 -10
  243. data/lib/sib-api-v3-sdk/models/send_smtp_email_attachment.rb +3 -2
  244. data/lib/sib-api-v3-sdk/models/send_smtp_email_bcc.rb +3 -2
  245. data/lib/sib-api-v3-sdk/models/send_smtp_email_cc.rb +3 -2
  246. data/lib/sib-api-v3-sdk/models/send_smtp_email_message_versions.rb +247 -0
  247. data/lib/sib-api-v3-sdk/models/send_smtp_email_reply_to.rb +3 -2
  248. data/lib/sib-api-v3-sdk/models/send_smtp_email_reply_to_1.rb +201 -0
  249. data/lib/sib-api-v3-sdk/models/send_smtp_email_sender.rb +20 -14
  250. data/lib/sib-api-v3-sdk/models/send_smtp_email_to.rb +3 -2
  251. data/lib/sib-api-v3-sdk/models/send_smtp_email_to_1.rb +200 -0
  252. data/lib/sib-api-v3-sdk/models/send_template_email.rb +3 -2
  253. data/lib/sib-api-v3-sdk/models/send_test_email.rb +3 -2
  254. data/lib/sib-api-v3-sdk/models/send_test_sms.rb +3 -2
  255. data/lib/sib-api-v3-sdk/models/send_transac_sms.rb +9 -8
  256. data/lib/sib-api-v3-sdk/models/update_attribute.rb +3 -2
  257. data/lib/sib-api-v3-sdk/models/update_attribute_enumeration.rb +3 -2
  258. data/lib/sib-api-v3-sdk/models/update_campaign_status.rb +3 -2
  259. data/lib/sib-api-v3-sdk/models/update_child.rb +3 -2
  260. data/lib/sib-api-v3-sdk/models/update_child_account_status.rb +3 -2
  261. data/lib/sib-api-v3-sdk/models/update_child_domain.rb +3 -2
  262. data/lib/sib-api-v3-sdk/models/update_contact.rb +3 -2
  263. data/lib/sib-api-v3-sdk/models/update_email_campaign.rb +4 -3
  264. data/lib/sib-api-v3-sdk/models/update_email_campaign_recipients.rb +3 -2
  265. data/lib/sib-api-v3-sdk/models/update_email_campaign_sender.rb +3 -2
  266. data/lib/sib-api-v3-sdk/models/update_list.rb +3 -2
  267. data/lib/sib-api-v3-sdk/models/update_sender.rb +3 -2
  268. data/lib/sib-api-v3-sdk/models/update_sms_campaign.rb +10 -9
  269. data/lib/sib-api-v3-sdk/models/update_smtp_template.rb +3 -2
  270. data/lib/sib-api-v3-sdk/models/update_smtp_template_sender.rb +3 -2
  271. data/lib/sib-api-v3-sdk/models/update_webhook.rb +4 -3
  272. data/lib/sib-api-v3-sdk/models/upload_image_to_gallery.rb +3 -2
  273. data/lib/sib-api-v3-sdk/version.rb +2 -2
  274. data/spec/api/account_api_spec.rb +1 -1
  275. data/spec/api/attributes_api_spec.rb +1 -1
  276. data/spec/api/contacts_api_spec.rb +14 -9
  277. data/spec/api/email_campaigns_api_spec.rb +4 -3
  278. data/spec/api/folders_api_spec.rb +3 -1
  279. data/spec/api/lists_api_spec.rb +7 -4
  280. data/spec/api/process_api_spec.rb +2 -1
  281. data/spec/api/reseller_api_spec.rb +1 -1
  282. data/spec/api/senders_api_spec.rb +1 -1
  283. data/spec/api/sms_campaigns_api_spec.rb +4 -3
  284. data/spec/api/{smtp_api_spec.rb → transactional_emails_api_spec.rb} +47 -7
  285. data/spec/api/transactional_sms_api_spec.rb +3 -1
  286. data/spec/api/webhooks_api_spec.rb +1 -1
  287. data/spec/api_client_spec.rb +18 -1
  288. data/spec/configuration_spec.rb +1 -1
  289. data/spec/models/ab_test_campaign_result_clicked_links_spec.rb +47 -0
  290. data/spec/models/ab_test_campaign_result_spec.rb +13 -1
  291. data/spec/models/ab_test_campaign_result_statistics_spec.rb +71 -0
  292. data/spec/models/ab_test_version_clicks_inner_spec.rb +53 -0
  293. data/spec/models/ab_test_version_clicks_spec.rb +35 -0
  294. data/spec/models/ab_test_version_stats_spec.rb +47 -0
  295. data/spec/models/add_child_domain_spec.rb +1 -1
  296. data/spec/models/add_contact_to_list_spec.rb +7 -1
  297. data/spec/models/add_credits_spec.rb +1 -1
  298. data/spec/models/block_domain_spec.rb +41 -0
  299. data/spec/models/create_attribute_enumeration_spec.rb +1 -1
  300. data/spec/models/create_attribute_spec.rb +1 -1
  301. data/spec/models/create_child_spec.rb +1 -1
  302. data/spec/models/create_contact_spec.rb +1 -1
  303. data/spec/models/create_doi_contact_spec.rb +1 -1
  304. data/spec/models/create_email_campaign_recipients_spec.rb +1 -1
  305. data/spec/models/create_email_campaign_sender_spec.rb +1 -1
  306. data/spec/models/create_email_campaign_spec.rb +1 -1
  307. data/spec/models/create_list_spec.rb +1 -1
  308. data/spec/models/create_model_spec.rb +1 -1
  309. data/spec/models/create_reseller_spec.rb +1 -1
  310. data/spec/models/create_sender_ips_spec.rb +1 -1
  311. data/spec/models/create_sender_model_spec.rb +1 -1
  312. data/spec/models/create_sender_spec.rb +1 -1
  313. data/spec/models/create_sms_campaign_recipients_spec.rb +1 -1
  314. data/spec/models/create_sms_campaign_spec.rb +1 -1
  315. data/spec/models/create_smtp_email_spec.rb +7 -1
  316. data/spec/models/create_smtp_template_sender_spec.rb +1 -1
  317. data/spec/models/create_smtp_template_spec.rb +1 -1
  318. data/spec/models/create_update_contact_model_spec.rb +1 -1
  319. data/spec/models/create_update_folder_spec.rb +1 -1
  320. data/spec/models/create_webhook_spec.rb +1 -1
  321. data/spec/models/created_process_id_spec.rb +1 -1
  322. data/spec/models/delete_hardbounces_spec.rb +1 -1
  323. data/spec/models/email_export_recipients_spec.rb +1 -1
  324. data/spec/models/error_model_spec.rb +1 -1
  325. data/spec/models/get_account_marketing_automation_spec.rb +1 -1
  326. data/spec/models/get_account_plan_spec.rb +1 -1
  327. data/spec/models/get_account_relay_data_spec.rb +1 -1
  328. data/spec/models/get_account_relay_spec.rb +1 -1
  329. data/spec/models/get_account_spec.rb +1 -1
  330. data/spec/models/get_aggregated_report_spec.rb +1 -1
  331. data/spec/models/get_attributes_attributes_spec.rb +1 -1
  332. data/spec/models/get_attributes_enumeration_spec.rb +1 -1
  333. data/spec/models/get_attributes_spec.rb +1 -1
  334. data/spec/models/get_blocked_domains_spec.rb +41 -0
  335. data/spec/models/get_campaign_overview_spec.rb +1 -1
  336. data/spec/models/get_campaign_recipients_spec.rb +1 -1
  337. data/spec/models/get_campaign_stats_spec.rb +7 -1
  338. data/spec/models/get_child_account_creation_status_spec.rb +1 -1
  339. data/spec/models/get_child_domain_spec.rb +1 -1
  340. data/spec/models/get_child_domains_spec.rb +1 -1
  341. data/spec/models/get_child_info_api_keys_spec.rb +1 -1
  342. data/spec/models/get_child_info_api_keys_v2_spec.rb +1 -1
  343. data/spec/models/get_child_info_api_keys_v3_spec.rb +1 -1
  344. data/spec/models/get_child_info_credits_spec.rb +1 -1
  345. data/spec/models/get_child_info_spec.rb +1 -1
  346. data/spec/models/get_child_info_statistics_spec.rb +1 -1
  347. data/spec/models/get_children_list_spec.rb +1 -1
  348. data/spec/models/get_client_spec.rb +1 -1
  349. data/spec/models/get_contact_campaign_stats_clicked_spec.rb +1 -1
  350. data/spec/models/get_contact_campaign_stats_opened_spec.rb +1 -1
  351. data/spec/models/get_contact_campaign_stats_spec.rb +1 -1
  352. data/spec/models/get_contact_campaign_stats_transac_attributes_spec.rb +1 -1
  353. data/spec/models/get_contact_campaign_stats_unsubscriptions_spec.rb +1 -1
  354. data/spec/models/get_contact_details_spec.rb +1 -1
  355. data/spec/models/get_contacts_spec.rb +1 -1
  356. data/spec/models/get_device_browser_stats_spec.rb +1 -1
  357. data/spec/models/get_email_campaign_spec.rb +1 -1
  358. data/spec/models/get_email_campaigns_spec.rb +1 -1
  359. data/spec/models/get_email_event_report_events_spec.rb +8 -2
  360. data/spec/models/get_email_event_report_spec.rb +1 -1
  361. data/spec/models/get_extended_campaign_overview_sender_spec.rb +1 -1
  362. data/spec/models/get_extended_campaign_overview_spec.rb +1 -1
  363. data/spec/models/get_extended_campaign_stats_global_stats_spec.rb +35 -0
  364. data/spec/models/get_extended_campaign_stats_spec.rb +1 -1
  365. data/spec/models/get_extended_client_address_spec.rb +1 -1
  366. data/spec/models/get_extended_client_spec.rb +1 -1
  367. data/spec/models/get_extended_contact_details_spec.rb +1 -1
  368. data/spec/models/get_extended_contact_details_statistics_clicked_spec.rb +1 -1
  369. data/spec/models/get_extended_contact_details_statistics_links_spec.rb +1 -1
  370. data/spec/models/get_extended_contact_details_statistics_messages_sent_spec.rb +1 -1
  371. data/spec/models/get_extended_contact_details_statistics_opened_spec.rb +1 -1
  372. data/spec/models/get_extended_contact_details_statistics_spec.rb +1 -1
  373. data/spec/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription_spec.rb +1 -1
  374. data/spec/models/get_extended_contact_details_statistics_unsubscriptions_spec.rb +1 -1
  375. data/spec/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription_spec.rb +1 -1
  376. data/spec/models/get_extended_list_campaign_stats_spec.rb +1 -1
  377. data/spec/models/get_extended_list_spec.rb +1 -1
  378. data/spec/models/get_folder_lists_spec.rb +1 -1
  379. data/spec/models/get_folder_spec.rb +1 -1
  380. data/spec/models/get_folders_spec.rb +1 -1
  381. data/spec/models/get_ip_from_sender_spec.rb +1 -1
  382. data/spec/models/get_ip_spec.rb +1 -1
  383. data/spec/models/get_ips_from_sender_spec.rb +1 -1
  384. data/spec/models/get_ips_spec.rb +1 -1
  385. data/spec/models/get_list_spec.rb +1 -1
  386. data/spec/models/get_lists_spec.rb +1 -1
  387. data/spec/models/get_process_spec.rb +1 -1
  388. data/spec/models/get_processes_spec.rb +1 -1
  389. data/spec/models/get_reports_reports_spec.rb +1 -1
  390. data/spec/models/get_reports_spec.rb +1 -1
  391. data/spec/models/get_senders_list_ips_spec.rb +1 -1
  392. data/spec/models/get_senders_list_senders_spec.rb +1 -1
  393. data/spec/models/get_senders_list_spec.rb +1 -1
  394. data/spec/models/get_shared_template_url_spec.rb +1 -1
  395. data/spec/models/get_sms_campaign_overview_spec.rb +1 -1
  396. data/spec/models/get_sms_campaign_recipients_spec.rb +35 -0
  397. data/spec/models/get_sms_campaign_spec.rb +1 -1
  398. data/spec/models/get_sms_campaign_stats_spec.rb +1 -1
  399. data/spec/models/get_sms_campaigns_spec.rb +1 -1
  400. data/spec/models/get_sms_event_report_events_spec.rb +1 -1
  401. data/spec/models/get_sms_event_report_spec.rb +1 -1
  402. data/spec/models/get_smtp_template_overview_sender_spec.rb +1 -1
  403. data/spec/models/get_smtp_template_overview_spec.rb +1 -1
  404. data/spec/models/get_smtp_templates_spec.rb +1 -1
  405. data/spec/models/get_sso_token_spec.rb +1 -1
  406. data/spec/models/get_stats_by_browser_spec.rb +1 -1
  407. data/spec/models/get_stats_by_device_spec.rb +1 -1
  408. data/spec/models/get_stats_by_domain_spec.rb +1 -1
  409. data/spec/models/get_transac_aggregated_sms_report_spec.rb +1 -1
  410. data/spec/models/get_transac_blocked_contacts_contacts_spec.rb +1 -1
  411. data/spec/models/get_transac_blocked_contacts_reason_spec.rb +1 -1
  412. data/spec/models/get_transac_blocked_contacts_spec.rb +1 -1
  413. data/spec/models/get_transac_email_content_events_spec.rb +1 -1
  414. data/spec/models/get_transac_email_content_spec.rb +1 -1
  415. data/spec/models/get_transac_emails_list_spec.rb +1 -1
  416. data/spec/models/get_transac_emails_list_transactional_emails_spec.rb +1 -1
  417. data/spec/models/get_transac_sms_report_reports_spec.rb +1 -1
  418. data/spec/models/get_transac_sms_report_spec.rb +1 -1
  419. data/spec/models/get_webhook_spec.rb +1 -1
  420. data/spec/models/get_webhooks_spec.rb +1 -1
  421. data/spec/models/manage_ip_spec.rb +1 -1
  422. data/spec/models/post_contact_info_contacts_spec.rb +1 -1
  423. data/spec/models/post_contact_info_spec.rb +1 -1
  424. data/spec/models/post_send_failed_spec.rb +1 -1
  425. data/spec/models/post_send_sms_test_failed_spec.rb +1 -1
  426. data/spec/models/remaining_credit_model_child_spec.rb +1 -1
  427. data/spec/models/remaining_credit_model_reseller_spec.rb +1 -1
  428. data/spec/models/remaining_credit_model_spec.rb +1 -1
  429. data/spec/models/remove_contact_from_list_spec.rb +7 -1
  430. data/spec/models/remove_credits_spec.rb +1 -1
  431. data/spec/models/request_contact_export_custom_contact_filter_spec.rb +1 -1
  432. data/spec/models/request_contact_export_spec.rb +1 -1
  433. data/spec/models/request_contact_import_new_list_spec.rb +1 -1
  434. data/spec/models/request_contact_import_spec.rb +1 -1
  435. data/spec/models/request_sms_recipient_export_spec.rb +1 -1
  436. data/spec/models/send_email_attachment_spec.rb +1 -1
  437. data/spec/models/send_email_spec.rb +1 -1
  438. data/spec/models/send_report_email_spec.rb +1 -29
  439. data/spec/models/send_report_spec.rb +1 -1
  440. data/spec/models/send_sms_spec.rb +1 -1
  441. data/spec/models/send_smtp_email_attachment_spec.rb +1 -1
  442. data/spec/models/send_smtp_email_bcc_spec.rb +1 -1
  443. data/spec/models/send_smtp_email_cc_spec.rb +1 -1
  444. data/spec/models/send_smtp_email_message_versions_spec.rb +71 -0
  445. data/spec/models/send_smtp_email_reply_to_1_spec.rb +47 -0
  446. data/spec/models/send_smtp_email_reply_to_spec.rb +1 -1
  447. data/spec/models/send_smtp_email_sender_spec.rb +7 -1
  448. data/spec/models/send_smtp_email_spec.rb +7 -1
  449. data/spec/models/send_smtp_email_to_1_spec.rb +47 -0
  450. data/spec/models/send_smtp_email_to_spec.rb +1 -1
  451. data/spec/models/send_template_email_spec.rb +1 -1
  452. data/spec/models/send_test_email_spec.rb +1 -1
  453. data/spec/models/send_test_sms_spec.rb +1 -1
  454. data/spec/models/send_transac_sms_spec.rb +1 -1
  455. data/spec/models/update_attribute_enumeration_spec.rb +1 -1
  456. data/spec/models/update_attribute_spec.rb +1 -1
  457. data/spec/models/update_campaign_status_spec.rb +1 -1
  458. data/spec/models/update_child_account_status_spec.rb +1 -1
  459. data/spec/models/update_child_domain_spec.rb +1 -1
  460. data/spec/models/update_child_spec.rb +1 -1
  461. data/spec/models/update_contact_spec.rb +1 -1
  462. data/spec/models/update_email_campaign_recipients_spec.rb +1 -1
  463. data/spec/models/update_email_campaign_sender_spec.rb +1 -1
  464. data/spec/models/update_email_campaign_spec.rb +1 -1
  465. data/spec/models/update_list_spec.rb +1 -1
  466. data/spec/models/update_sender_spec.rb +1 -1
  467. data/spec/models/update_sms_campaign_spec.rb +1 -1
  468. data/spec/models/update_smtp_template_sender_spec.rb +1 -1
  469. data/spec/models/update_smtp_template_spec.rb +1 -1
  470. data/spec/models/update_webhook_spec.rb +1 -1
  471. data/spec/models/upload_image_to_gallery_spec.rb +1 -1
  472. data/spec/spec_helper.rb +1 -1
  473. metadata +58 -10
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 3.0.0
7
7
  Contact: contact@sendinblue.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.18
10
10
 
11
11
  =end
12
12
 
@@ -17,7 +17,7 @@ module SibApiV3Sdk
17
17
  # Name of the campaign
18
18
  attr_accessor :name
19
19
 
20
- # Name of the sender. The number of characters is limited to 11
20
+ # Name of the sender. **The number of characters is limited to 11 for alphanumeric characters and 15 for numeric characters**
21
21
  attr_accessor :sender
22
22
 
23
23
  # Content of the message. The maximum characters used per SMS is 160, if used more than that, it will be counted as more than one SMS
@@ -46,7 +46,7 @@ module SibApiV3Sdk
46
46
  :'sender' => :'String',
47
47
  :'content' => :'String',
48
48
  :'recipients' => :'CreateSmsCampaignRecipients',
49
- :'scheduled_at' => :'DateTime'
49
+ :'scheduled_at' => :'String'
50
50
  }
51
51
  end
52
52
 
@@ -83,8 +83,8 @@ module SibApiV3Sdk
83
83
  # @return Array for valid properties with the reasons
84
84
  def list_invalid_properties
85
85
  invalid_properties = Array.new
86
- if !@sender.nil? && @sender.to_s.length > 11
87
- invalid_properties.push('invalid value for "sender", the character length must be smaller than or equal to 11.')
86
+ if !@sender.nil? && @sender.to_s.length > 15
87
+ invalid_properties.push('invalid value for "sender", the character length must be smaller than or equal to 15.')
88
88
  end
89
89
 
90
90
  invalid_properties
@@ -93,15 +93,15 @@ module SibApiV3Sdk
93
93
  # Check to see if the all the properties in the model are valid
94
94
  # @return true if the model is valid
95
95
  def valid?
96
- return false if !@sender.nil? && @sender.to_s.length > 11
96
+ return false if !@sender.nil? && @sender.to_s.length > 15
97
97
  true
98
98
  end
99
99
 
100
100
  # Custom attribute writer method with validation
101
101
  # @param [Object] sender Value to be assigned
102
102
  def sender=(sender)
103
- if !sender.nil? && sender.to_s.length > 11
104
- fail ArgumentError, 'invalid value for "sender", the character length must be smaller than or equal to 11.'
103
+ if !sender.nil? && sender.to_s.length > 15
104
+ fail ArgumentError, 'invalid value for "sender", the character length must be smaller than or equal to 15.'
105
105
  end
106
106
 
107
107
  @sender = sender
@@ -138,7 +138,7 @@ module SibApiV3Sdk
138
138
  return nil unless attributes.is_a?(Hash)
139
139
  self.class.swagger_types.each_pair do |key, type|
140
140
  if type =~ /\AArray<(.*)>/i
141
- # check to ensure the input is an array given that the the attribute
141
+ # check to ensure the input is an array given that the attribute
142
142
  # is documented as an array but the input is not
143
143
  if attributes[self.class.attribute_map[key]].is_a?(Array)
144
144
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -234,5 +234,6 @@ module SibApiV3Sdk
234
234
  value
235
235
  end
236
236
  end
237
+
237
238
  end
238
239
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 3.0.0
7
7
  Contact: contact@sendinblue.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.18
10
10
 
11
11
  =end
12
12
 
@@ -173,7 +173,7 @@ module SibApiV3Sdk
173
173
  return nil unless attributes.is_a?(Hash)
174
174
  self.class.swagger_types.each_pair do |key, type|
175
175
  if type =~ /\AArray<(.*)>/i
176
- # check to ensure the input is an array given that the the attribute
176
+ # check to ensure the input is an array given that the attribute
177
177
  # is documented as an array but the input is not
178
178
  if attributes[self.class.attribute_map[key]].is_a?(Array)
179
179
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -269,5 +269,6 @@ module SibApiV3Sdk
269
269
  value
270
270
  end
271
271
  end
272
+
272
273
  end
273
274
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 3.0.0
7
7
  Contact: contact@sendinblue.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.18
10
10
 
11
11
  =end
12
12
 
@@ -105,7 +105,7 @@ module SibApiV3Sdk
105
105
  return nil unless attributes.is_a?(Hash)
106
106
  self.class.swagger_types.each_pair do |key, type|
107
107
  if type =~ /\AArray<(.*)>/i
108
- # check to ensure the input is an array given that the the attribute
108
+ # check to ensure the input is an array given that the attribute
109
109
  # is documented as an array but the input is not
110
110
  if attributes[self.class.attribute_map[key]].is_a?(Array)
111
111
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -201,5 +201,6 @@ module SibApiV3Sdk
201
201
  value
202
202
  end
203
203
  end
204
+
204
205
  end
205
206
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 3.0.0
7
7
  Contact: contact@sendinblue.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.18
10
10
 
11
11
  =end
12
12
 
@@ -20,7 +20,7 @@ module SibApiV3Sdk
20
20
  # Description of the webhook
21
21
  attr_accessor :description
22
22
 
23
- # Events triggering the webhook. Possible values for Transactional type webhook – request, delivered, hardBounce, softBounce, blocked, spam, invalid, deferred, click, opened, uniqueOpened and unsubscribed and possible values for Marketing type webhook – spam, opened, click, hardBounce, softBounce, unsubscribed, listAddition and delivered
23
+ # Events triggering the webhook. Possible values for Transactional type webhook – `sent` OR `request`, `delivered`, `hardBounce`, `softBounce`, `blocked`, `spam`, `invalid`, `deferred`, `click`, `opened`, `uniqueOpened` and `unsubscribed` and possible values for Marketing type webhook – `spam`, `opened`, `click`, `hardBounce`, `softBounce`, `unsubscribed`, `listAddition` and `delivered`
24
24
  attr_accessor :events
25
25
 
26
26
  class EnumAttributeValidator
@@ -128,7 +128,7 @@ module SibApiV3Sdk
128
128
  return nil unless attributes.is_a?(Hash)
129
129
  self.class.swagger_types.each_pair do |key, type|
130
130
  if type =~ /\AArray<(.*)>/i
131
- # check to ensure the input is an array given that the the attribute
131
+ # check to ensure the input is an array given that the attribute
132
132
  # is documented as an array but the input is not
133
133
  if attributes[self.class.attribute_map[key]].is_a?(Array)
134
134
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -224,5 +224,6 @@ module SibApiV3Sdk
224
224
  value
225
225
  end
226
226
  end
227
+
227
228
  end
228
229
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 3.0.0
7
7
  Contact: contact@sendinblue.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.18
10
10
 
11
11
  =end
12
12
 
@@ -99,7 +99,7 @@ module SibApiV3Sdk
99
99
  return nil unless attributes.is_a?(Hash)
100
100
  self.class.swagger_types.each_pair do |key, type|
101
101
  if type =~ /\AArray<(.*)>/i
102
- # check to ensure the input is an array given that the the attribute
102
+ # check to ensure the input is an array given that the attribute
103
103
  # is documented as an array but the input is not
104
104
  if attributes[self.class.attribute_map[key]].is_a?(Array)
105
105
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -195,5 +195,6 @@ module SibApiV3Sdk
195
195
  value
196
196
  end
197
197
  end
198
+
198
199
  end
199
200
  end
@@ -6,10 +6,10 @@
6
6
  OpenAPI spec version: 3.0.0
7
7
  Contact: contact@sendinblue.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.18
10
10
 
11
11
  =end
12
12
 
13
13
  module SibApiV3Sdk
14
- VERSION = "5.5.0"
14
+ VERSION = "7.4.0"
15
15
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 3.0.0
7
7
  Contact: contact@sendinblue.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.18
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 3.0.0
7
7
  Contact: contact@sendinblue.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.18
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 3.0.0
7
7
  Contact: contact@sendinblue.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.18
10
10
 
11
11
  =end
12
12
 
@@ -35,7 +35,7 @@ describe 'ContactsApi' do
35
35
  # unit tests for add_contact_to_list
36
36
  # Add existing contacts to a list
37
37
  # @param list_id Id of the list
38
- # @param contact_emails Emails addresses of the contacts
38
+ # @param contact_emails Emails addresses OR IDs of the contacts
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [PostContactInfo]
41
41
  describe 'add_contact_to_list test' do
@@ -115,7 +115,7 @@ describe 'ContactsApi' do
115
115
 
116
116
  # unit tests for delete_contact
117
117
  # Delete a contact
118
- # @param email Email (urlencoded) of the contact
118
+ # @param identifier Email (urlencoded) OR ID of the contact
119
119
  # @param [Hash] opts the optional parameters
120
120
  # @return [nil]
121
121
  describe 'delete_contact test' do
@@ -158,7 +158,7 @@ describe 'ContactsApi' do
158
158
 
159
159
  # unit tests for get_contact_info
160
160
  # Get a contact&#39;s details
161
- # @param email Email (urlencoded) of the contact OR its SMS attribute value
161
+ # @param identifier Email (urlencoded) OR ID of the contact OR its SMS attribute value
162
162
  # @param [Hash] opts the optional parameters
163
163
  # @return [GetExtendedContactDetails]
164
164
  describe 'get_contact_info test' do
@@ -169,7 +169,7 @@ describe 'ContactsApi' do
169
169
 
170
170
  # unit tests for get_contact_stats
171
171
  # Get email campaigns&#39; statistics for a contact
172
- # @param email Email address (urlencoded) of the contact
172
+ # @param identifier Email (urlencoded) OR ID of the contact
173
173
  # @param [Hash] opts the optional parameters
174
174
  # @option opts [Date] :start_date Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate
175
175
  # @option opts [Date] :end_date Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate
@@ -185,7 +185,8 @@ describe 'ContactsApi' do
185
185
  # @param [Hash] opts the optional parameters
186
186
  # @option opts [Integer] :limit Number of documents per page
187
187
  # @option opts [Integer] :offset Index of the first document of the page
188
- # @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
188
+ # @option opts [String] :modified_since Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
189
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed
189
190
  # @return [GetContacts]
190
191
  describe 'get_contacts test' do
191
192
  it 'should work' do
@@ -197,9 +198,10 @@ describe 'ContactsApi' do
197
198
  # Get contacts in a list
198
199
  # @param list_id Id of the list
199
200
  # @param [Hash] opts the optional parameters
200
- # @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
201
+ # @option opts [String] :modified_since Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
201
202
  # @option opts [Integer] :limit Number of documents per page
202
203
  # @option opts [Integer] :offset Index of the first document of the page
204
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed
203
205
  # @return [GetContacts]
204
206
  describe 'get_contacts_from_list test' do
205
207
  it 'should work' do
@@ -224,6 +226,7 @@ describe 'ContactsApi' do
224
226
  # @param [Hash] opts the optional parameters
225
227
  # @option opts [Integer] :limit Number of documents per page
226
228
  # @option opts [Integer] :offset Index of the first document of the page
229
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed
227
230
  # @return [GetFolderLists]
228
231
  describe 'get_folder_lists test' do
229
232
  it 'should work' do
@@ -236,6 +239,7 @@ describe 'ContactsApi' do
236
239
  # @param limit Number of documents per page
237
240
  # @param offset Index of the first document of the page
238
241
  # @param [Hash] opts the optional parameters
242
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed
239
243
  # @return [GetFolders]
240
244
  describe 'get_folders test' do
241
245
  it 'should work' do
@@ -259,6 +263,7 @@ describe 'ContactsApi' do
259
263
  # @param [Hash] opts the optional parameters
260
264
  # @option opts [Integer] :limit Number of documents per page
261
265
  # @option opts [Integer] :offset Index of the first document of the page
266
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed
262
267
  # @return [GetLists]
263
268
  describe 'get_lists test' do
264
269
  it 'should work' do
@@ -281,7 +286,7 @@ describe 'ContactsApi' do
281
286
  # unit tests for remove_contact_from_list
282
287
  # Delete a contact from a list
283
288
  # @param list_id Id of the list
284
- # @param contact_emails Emails adresses of the contact
289
+ # @param contact_emails Emails addresses OR IDs of the contacts
285
290
  # @param [Hash] opts the optional parameters
286
291
  # @return [PostContactInfo]
287
292
  describe 'remove_contact_from_list test' do
@@ -317,7 +322,7 @@ describe 'ContactsApi' do
317
322
 
318
323
  # unit tests for update_contact
319
324
  # Update a contact
320
- # @param email Email (urlencoded) of the contact
325
+ # @param identifier Email (urlencoded) OR ID of the contact
321
326
  # @param update_contact Values to update a contact
322
327
  # @param [Hash] opts the optional parameters
323
328
  # @return [nil]
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 3.0.0
7
7
  Contact: contact@sendinblue.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.18
10
10
 
11
11
  =end
12
12
 
@@ -94,10 +94,11 @@ describe 'EmailCampaignsApi' do
94
94
  # @param [Hash] opts the optional parameters
95
95
  # @option opts [String] :type Filter on the type of the campaigns
96
96
  # @option opts [String] :status Filter on the status of the campaign
97
- # @option opts [DateTime] :start_date Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either &#39;status&#39; not passed and if passed is set to &#39;sent&#39; )
98
- # @option opts [DateTime] :end_date Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either &#39;status&#39; not passed and if passed is set to &#39;sent&#39; )
97
+ # @option opts [String] :start_date Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either &#39;status&#39; not passed and if passed is set to &#39;sent&#39; )
98
+ # @option opts [String] :end_date Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either &#39;status&#39; not passed and if passed is set to &#39;sent&#39; )
99
99
  # @option opts [Integer] :limit Number of documents per page
100
100
  # @option opts [Integer] :offset Index of the first document in the page
101
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed
101
102
  # @return [GetEmailCampaigns]
102
103
  describe 'get_email_campaigns test' do
103
104
  it 'should work' do
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 3.0.0
7
7
  Contact: contact@sendinblue.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.18
10
10
 
11
11
  =end
12
12
 
@@ -71,6 +71,7 @@ describe 'FoldersApi' do
71
71
  # @param [Hash] opts the optional parameters
72
72
  # @option opts [Integer] :limit Number of documents per page
73
73
  # @option opts [Integer] :offset Index of the first document of the page
74
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed
74
75
  # @return [GetFolderLists]
75
76
  describe 'get_folder_lists test' do
76
77
  it 'should work' do
@@ -83,6 +84,7 @@ describe 'FoldersApi' do
83
84
  # @param limit Number of documents per page
84
85
  # @param offset Index of the first document of the page
85
86
  # @param [Hash] opts the optional parameters
87
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed
86
88
  # @return [GetFolders]
87
89
  describe 'get_folders test' do
88
90
  it 'should work' do
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 3.0.0
7
7
  Contact: contact@sendinblue.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.18
10
10
 
11
11
  =end
12
12
 
@@ -35,7 +35,7 @@ describe 'ListsApi' do
35
35
  # unit tests for add_contact_to_list
36
36
  # Add existing contacts to a list
37
37
  # @param list_id Id of the list
38
- # @param contact_emails Emails addresses of the contacts
38
+ # @param contact_emails Emails addresses OR IDs of the contacts
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [PostContactInfo]
41
41
  describe 'add_contact_to_list test' do
@@ -70,9 +70,10 @@ describe 'ListsApi' do
70
70
  # Get contacts in a list
71
71
  # @param list_id Id of the list
72
72
  # @param [Hash] opts the optional parameters
73
- # @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
73
+ # @option opts [String] :modified_since Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
74
74
  # @option opts [Integer] :limit Number of documents per page
75
75
  # @option opts [Integer] :offset Index of the first document of the page
76
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed
76
77
  # @return [GetContacts]
77
78
  describe 'get_contacts_from_list test' do
78
79
  it 'should work' do
@@ -86,6 +87,7 @@ describe 'ListsApi' do
86
87
  # @param [Hash] opts the optional parameters
87
88
  # @option opts [Integer] :limit Number of documents per page
88
89
  # @option opts [Integer] :offset Index of the first document of the page
90
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed
89
91
  # @return [GetFolderLists]
90
92
  describe 'get_folder_lists test' do
91
93
  it 'should work' do
@@ -109,6 +111,7 @@ describe 'ListsApi' do
109
111
  # @param [Hash] opts the optional parameters
110
112
  # @option opts [Integer] :limit Number of documents per page
111
113
  # @option opts [Integer] :offset Index of the first document of the page
114
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed
112
115
  # @return [GetLists]
113
116
  describe 'get_lists test' do
114
117
  it 'should work' do
@@ -119,7 +122,7 @@ describe 'ListsApi' do
119
122
  # unit tests for remove_contact_from_list
120
123
  # Delete a contact from a list
121
124
  # @param list_id Id of the list
122
- # @param contact_emails Emails adresses of the contact
125
+ # @param contact_emails Emails addresses OR IDs of the contacts
123
126
  # @param [Hash] opts the optional parameters
124
127
  # @return [PostContactInfo]
125
128
  describe 'remove_contact_from_list test' do
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 3.0.0
7
7
  Contact: contact@sendinblue.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.18
10
10
 
11
11
  =end
12
12
 
@@ -48,6 +48,7 @@ describe 'ProcessApi' do
48
48
  # @param [Hash] opts the optional parameters
49
49
  # @option opts [Integer] :limit Number limitation for the result returned
50
50
  # @option opts [Integer] :offset Beginning point in the list to retrieve from.
51
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed
51
52
  # @return [GetProcesses]
52
53
  describe 'get_processes test' do
53
54
  it 'should work' do
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 3.0.0
7
7
  Contact: contact@sendinblue.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
9
+ Swagger Codegen version: 2.4.18
10
10
 
11
11
  =end
12
12