sib-api-v3-sdk 7.3.0 → 7.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (438) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -8
  3. data/docs/ContactsApi.md +4 -4
  4. data/docs/CreateEmailCampaign.md +1 -1
  5. data/docs/CreateSmsCampaign.md +1 -1
  6. data/docs/EmailCampaignsApi.md +4 -4
  7. data/docs/GetCampaignOverview.md +1 -1
  8. data/docs/GetContactCampaignStatsOpened.md +1 -1
  9. data/docs/GetContactDetails.md +2 -2
  10. data/docs/GetEmailCampaign.md +6 -6
  11. data/docs/GetEmailEventReportEvents.md +1 -1
  12. data/docs/GetExtendedCampaignOverview.md +4 -4
  13. data/docs/GetExtendedCampaignStats.md +1 -1
  14. data/docs/GetExtendedCampaignStatsGlobalStats.md +7 -0
  15. data/docs/GetExtendedContactDetails.md +2 -2
  16. data/docs/GetExtendedContactDetailsStatisticsLinks.md +1 -1
  17. data/docs/GetExtendedContactDetailsStatisticsMessagesSent.md +1 -1
  18. data/docs/GetExtendedContactDetailsStatisticsOpened.md +1 -1
  19. data/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md +1 -1
  20. data/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md +1 -1
  21. data/docs/GetExtendedList.md +1 -1
  22. data/docs/GetSmsCampaign.md +5 -5
  23. data/docs/GetSmsCampaignOverview.md +3 -3
  24. data/docs/GetSmsCampaignRecipients.md +7 -0
  25. data/docs/GetSmsEventReportEvents.md +1 -1
  26. data/docs/GetSmtpTemplateOverview.md +2 -2
  27. data/docs/GetTransacBlockedContactsContacts.md +1 -1
  28. data/docs/GetTransacEmailContent.md +1 -1
  29. data/docs/GetTransacEmailContentEvents.md +1 -1
  30. data/docs/GetTransacEmailsListTransactionalEmails.md +1 -1
  31. data/docs/GetWebhook.md +2 -2
  32. data/docs/ListsApi.md +2 -2
  33. data/docs/SMSCampaignsApi.md +4 -4
  34. data/docs/TransactionalEmailsApi.md +3 -3
  35. data/docs/TransactionalSMSApi.md +3 -3
  36. data/docs/UpdateEmailCampaign.md +1 -1
  37. data/docs/UpdateSmsCampaign.md +1 -1
  38. data/lib/sib-api-v3-sdk.rb +11 -9
  39. data/lib/sib-api-v3-sdk/api/account_api.rb +1 -1
  40. data/lib/sib-api-v3-sdk/api/attributes_api.rb +1 -1
  41. data/lib/sib-api-v3-sdk/api/contacts_api.rb +5 -5
  42. data/lib/sib-api-v3-sdk/api/email_campaigns_api.rb +5 -5
  43. data/lib/sib-api-v3-sdk/api/folders_api.rb +1 -1
  44. data/lib/sib-api-v3-sdk/api/lists_api.rb +3 -3
  45. data/lib/sib-api-v3-sdk/api/process_api.rb +1 -1
  46. data/lib/sib-api-v3-sdk/api/reseller_api.rb +1 -1
  47. data/lib/sib-api-v3-sdk/api/senders_api.rb +1 -1
  48. data/lib/sib-api-v3-sdk/api/sms_campaigns_api.rb +5 -5
  49. data/lib/sib-api-v3-sdk/api/transactional_emails_api.rb +1 -1
  50. data/lib/sib-api-v3-sdk/api/transactional_sms_api.rb +1 -1
  51. data/lib/sib-api-v3-sdk/api/webhooks_api.rb +1 -1
  52. data/lib/sib-api-v3-sdk/api_client.rb +6 -4
  53. data/lib/sib-api-v3-sdk/api_error.rb +1 -1
  54. data/lib/sib-api-v3-sdk/configuration.rb +3 -3
  55. data/lib/sib-api-v3-sdk/models/ab_test_campaign_result.rb +3 -2
  56. data/lib/sib-api-v3-sdk/models/ab_test_campaign_result_clicked_links.rb +3 -2
  57. data/lib/sib-api-v3-sdk/models/ab_test_campaign_result_statistics.rb +3 -2
  58. data/lib/sib-api-v3-sdk/models/ab_test_version_clicks.rb +3 -2
  59. data/lib/sib-api-v3-sdk/models/ab_test_version_clicks_inner.rb +3 -2
  60. data/lib/sib-api-v3-sdk/models/ab_test_version_stats.rb +3 -2
  61. data/lib/sib-api-v3-sdk/models/add_child_domain.rb +3 -2
  62. data/lib/sib-api-v3-sdk/models/add_contact_to_list.rb +3 -2
  63. data/lib/sib-api-v3-sdk/models/add_credits.rb +3 -2
  64. data/lib/sib-api-v3-sdk/models/block_domain.rb +3 -2
  65. data/lib/sib-api-v3-sdk/models/create_attribute.rb +3 -2
  66. data/lib/sib-api-v3-sdk/models/create_attribute_enumeration.rb +3 -2
  67. data/lib/sib-api-v3-sdk/models/create_child.rb +3 -2
  68. data/lib/sib-api-v3-sdk/models/create_contact.rb +3 -2
  69. data/lib/sib-api-v3-sdk/models/create_doi_contact.rb +3 -2
  70. data/lib/sib-api-v3-sdk/models/create_email_campaign.rb +4 -3
  71. data/lib/sib-api-v3-sdk/models/create_email_campaign_recipients.rb +3 -2
  72. data/lib/sib-api-v3-sdk/models/create_email_campaign_sender.rb +3 -2
  73. data/lib/sib-api-v3-sdk/models/create_list.rb +3 -2
  74. data/lib/sib-api-v3-sdk/models/create_model.rb +3 -2
  75. data/lib/sib-api-v3-sdk/models/create_reseller.rb +3 -2
  76. data/lib/sib-api-v3-sdk/models/create_sender.rb +3 -2
  77. data/lib/sib-api-v3-sdk/models/create_sender_ips.rb +3 -2
  78. data/lib/sib-api-v3-sdk/models/create_sender_model.rb +3 -2
  79. data/lib/sib-api-v3-sdk/models/create_sms_campaign.rb +4 -3
  80. data/lib/sib-api-v3-sdk/models/create_sms_campaign_recipients.rb +3 -2
  81. data/lib/sib-api-v3-sdk/models/create_smtp_email.rb +3 -2
  82. data/lib/sib-api-v3-sdk/models/create_smtp_template.rb +3 -2
  83. data/lib/sib-api-v3-sdk/models/create_smtp_template_sender.rb +3 -2
  84. data/lib/sib-api-v3-sdk/models/create_update_contact_model.rb +3 -2
  85. data/lib/sib-api-v3-sdk/models/create_update_folder.rb +3 -2
  86. data/lib/sib-api-v3-sdk/models/create_webhook.rb +3 -2
  87. data/lib/sib-api-v3-sdk/models/created_process_id.rb +3 -2
  88. data/lib/sib-api-v3-sdk/models/delete_hardbounces.rb +3 -2
  89. data/lib/sib-api-v3-sdk/models/email_export_recipients.rb +3 -2
  90. data/lib/sib-api-v3-sdk/models/error_model.rb +3 -2
  91. data/lib/sib-api-v3-sdk/models/get_account.rb +3 -2
  92. data/lib/sib-api-v3-sdk/models/get_account_marketing_automation.rb +3 -2
  93. data/lib/sib-api-v3-sdk/models/get_account_plan.rb +3 -2
  94. data/lib/sib-api-v3-sdk/models/get_account_relay.rb +3 -2
  95. data/lib/sib-api-v3-sdk/models/get_account_relay_data.rb +3 -2
  96. data/lib/sib-api-v3-sdk/models/get_aggregated_report.rb +3 -2
  97. data/lib/sib-api-v3-sdk/models/get_attributes.rb +3 -2
  98. data/lib/sib-api-v3-sdk/models/get_attributes_attributes.rb +3 -2
  99. data/lib/sib-api-v3-sdk/models/get_attributes_enumeration.rb +3 -2
  100. data/lib/sib-api-v3-sdk/models/get_blocked_domains.rb +3 -2
  101. data/lib/sib-api-v3-sdk/models/get_campaign_overview.rb +4 -3
  102. data/lib/sib-api-v3-sdk/models/get_campaign_recipients.rb +3 -2
  103. data/lib/sib-api-v3-sdk/models/get_campaign_stats.rb +3 -2
  104. data/lib/sib-api-v3-sdk/models/get_child_account_creation_status.rb +3 -2
  105. data/lib/sib-api-v3-sdk/models/get_child_domain.rb +3 -2
  106. data/lib/sib-api-v3-sdk/models/get_child_domains.rb +3 -2
  107. data/lib/sib-api-v3-sdk/models/get_child_info.rb +3 -2
  108. data/lib/sib-api-v3-sdk/models/get_child_info_api_keys.rb +3 -2
  109. data/lib/sib-api-v3-sdk/models/get_child_info_api_keys_v2.rb +3 -2
  110. data/lib/sib-api-v3-sdk/models/get_child_info_api_keys_v3.rb +3 -2
  111. data/lib/sib-api-v3-sdk/models/get_child_info_credits.rb +3 -2
  112. data/lib/sib-api-v3-sdk/models/get_child_info_statistics.rb +3 -2
  113. data/lib/sib-api-v3-sdk/models/get_children_list.rb +3 -2
  114. data/lib/sib-api-v3-sdk/models/get_client.rb +3 -2
  115. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats.rb +3 -2
  116. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_clicked.rb +3 -2
  117. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_opened.rb +4 -3
  118. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_transac_attributes.rb +3 -2
  119. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_unsubscriptions.rb +3 -2
  120. data/lib/sib-api-v3-sdk/models/get_contact_details.rb +5 -4
  121. data/lib/sib-api-v3-sdk/models/get_contacts.rb +3 -2
  122. data/lib/sib-api-v3-sdk/models/get_device_browser_stats.rb +3 -2
  123. data/lib/sib-api-v3-sdk/models/get_email_campaign.rb +9 -8
  124. data/lib/sib-api-v3-sdk/models/get_email_campaigns.rb +3 -2
  125. data/lib/sib-api-v3-sdk/models/get_email_event_report.rb +3 -2
  126. data/lib/sib-api-v3-sdk/models/get_email_event_report_events.rb +4 -3
  127. data/lib/sib-api-v3-sdk/models/get_extended_campaign_overview.rb +7 -6
  128. data/lib/sib-api-v3-sdk/models/get_extended_campaign_overview_sender.rb +3 -2
  129. data/lib/sib-api-v3-sdk/models/get_extended_campaign_stats.rb +4 -4
  130. data/lib/sib-api-v3-sdk/models/get_extended_campaign_stats_global_stats.rb +176 -0
  131. data/lib/sib-api-v3-sdk/models/get_extended_client.rb +3 -2
  132. data/lib/sib-api-v3-sdk/models/get_extended_client_address.rb +3 -2
  133. data/lib/sib-api-v3-sdk/models/get_extended_contact_details.rb +5 -4
  134. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics.rb +3 -2
  135. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_clicked.rb +3 -2
  136. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_links.rb +4 -3
  137. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_messages_sent.rb +4 -3
  138. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_opened.rb +4 -3
  139. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions.rb +3 -2
  140. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.rb +4 -3
  141. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.rb +4 -3
  142. data/lib/sib-api-v3-sdk/models/get_extended_list.rb +4 -3
  143. data/lib/sib-api-v3-sdk/models/get_extended_list_campaign_stats.rb +3 -2
  144. data/lib/sib-api-v3-sdk/models/get_folder.rb +3 -2
  145. data/lib/sib-api-v3-sdk/models/get_folder_lists.rb +3 -2
  146. data/lib/sib-api-v3-sdk/models/get_folders.rb +3 -2
  147. data/lib/sib-api-v3-sdk/models/get_ip.rb +3 -2
  148. data/lib/sib-api-v3-sdk/models/get_ip_from_sender.rb +3 -2
  149. data/lib/sib-api-v3-sdk/models/get_ips.rb +3 -2
  150. data/lib/sib-api-v3-sdk/models/get_ips_from_sender.rb +3 -2
  151. data/lib/sib-api-v3-sdk/models/get_list.rb +3 -2
  152. data/lib/sib-api-v3-sdk/models/get_lists.rb +3 -2
  153. data/lib/sib-api-v3-sdk/models/get_process.rb +3 -2
  154. data/lib/sib-api-v3-sdk/models/get_processes.rb +3 -2
  155. data/lib/sib-api-v3-sdk/models/get_reports.rb +3 -2
  156. data/lib/sib-api-v3-sdk/models/get_reports_reports.rb +3 -2
  157. data/lib/sib-api-v3-sdk/models/get_senders_list.rb +3 -2
  158. data/lib/sib-api-v3-sdk/models/get_senders_list_ips.rb +3 -2
  159. data/lib/sib-api-v3-sdk/models/get_senders_list_senders.rb +3 -2
  160. data/lib/sib-api-v3-sdk/models/get_shared_template_url.rb +3 -2
  161. data/lib/sib-api-v3-sdk/models/get_sms_campaign.rb +8 -7
  162. data/lib/sib-api-v3-sdk/models/get_sms_campaign_overview.rb +6 -5
  163. data/lib/sib-api-v3-sdk/models/get_sms_campaign_recipients.rb +175 -0
  164. data/lib/sib-api-v3-sdk/models/get_sms_campaign_stats.rb +3 -2
  165. data/lib/sib-api-v3-sdk/models/get_sms_campaigns.rb +3 -2
  166. data/lib/sib-api-v3-sdk/models/get_sms_event_report.rb +3 -2
  167. data/lib/sib-api-v3-sdk/models/get_sms_event_report_events.rb +4 -3
  168. data/lib/sib-api-v3-sdk/models/get_smtp_template_overview.rb +5 -4
  169. data/lib/sib-api-v3-sdk/models/get_smtp_template_overview_sender.rb +3 -2
  170. data/lib/sib-api-v3-sdk/models/get_smtp_templates.rb +3 -2
  171. data/lib/sib-api-v3-sdk/models/get_sso_token.rb +3 -2
  172. data/lib/sib-api-v3-sdk/models/get_stats_by_browser.rb +3 -2
  173. data/lib/sib-api-v3-sdk/models/get_stats_by_device.rb +3 -2
  174. data/lib/sib-api-v3-sdk/models/get_stats_by_domain.rb +3 -2
  175. data/lib/sib-api-v3-sdk/models/get_transac_aggregated_sms_report.rb +3 -2
  176. data/lib/sib-api-v3-sdk/models/get_transac_blocked_contacts.rb +3 -2
  177. data/lib/sib-api-v3-sdk/models/get_transac_blocked_contacts_contacts.rb +4 -3
  178. data/lib/sib-api-v3-sdk/models/get_transac_blocked_contacts_reason.rb +3 -2
  179. data/lib/sib-api-v3-sdk/models/get_transac_email_content.rb +4 -3
  180. data/lib/sib-api-v3-sdk/models/get_transac_email_content_events.rb +4 -3
  181. data/lib/sib-api-v3-sdk/models/get_transac_emails_list.rb +3 -2
  182. data/lib/sib-api-v3-sdk/models/get_transac_emails_list_transactional_emails.rb +4 -3
  183. data/lib/sib-api-v3-sdk/models/get_transac_sms_report.rb +3 -2
  184. data/lib/sib-api-v3-sdk/models/get_transac_sms_report_reports.rb +3 -2
  185. data/lib/sib-api-v3-sdk/models/get_webhook.rb +5 -4
  186. data/lib/sib-api-v3-sdk/models/get_webhooks.rb +3 -2
  187. data/lib/sib-api-v3-sdk/models/manage_ip.rb +3 -2
  188. data/lib/sib-api-v3-sdk/models/post_contact_info.rb +3 -2
  189. data/lib/sib-api-v3-sdk/models/post_contact_info_contacts.rb +3 -2
  190. data/lib/sib-api-v3-sdk/models/post_send_failed.rb +3 -2
  191. data/lib/sib-api-v3-sdk/models/post_send_sms_test_failed.rb +3 -2
  192. data/lib/sib-api-v3-sdk/models/remaining_credit_model.rb +3 -2
  193. data/lib/sib-api-v3-sdk/models/remaining_credit_model_child.rb +3 -2
  194. data/lib/sib-api-v3-sdk/models/remaining_credit_model_reseller.rb +3 -2
  195. data/lib/sib-api-v3-sdk/models/remove_contact_from_list.rb +3 -2
  196. data/lib/sib-api-v3-sdk/models/remove_credits.rb +3 -2
  197. data/lib/sib-api-v3-sdk/models/request_contact_export.rb +3 -2
  198. data/lib/sib-api-v3-sdk/models/request_contact_export_custom_contact_filter.rb +3 -2
  199. data/lib/sib-api-v3-sdk/models/request_contact_import.rb +3 -2
  200. data/lib/sib-api-v3-sdk/models/request_contact_import_new_list.rb +3 -2
  201. data/lib/sib-api-v3-sdk/models/request_sms_recipient_export.rb +3 -2
  202. data/lib/sib-api-v3-sdk/models/send_email.rb +3 -2
  203. data/lib/sib-api-v3-sdk/models/send_email_attachment.rb +3 -2
  204. data/lib/sib-api-v3-sdk/models/send_report.rb +3 -2
  205. data/lib/sib-api-v3-sdk/models/send_report_email.rb +3 -2
  206. data/lib/sib-api-v3-sdk/models/send_sms.rb +3 -2
  207. data/lib/sib-api-v3-sdk/models/send_smtp_email.rb +3 -2
  208. data/lib/sib-api-v3-sdk/models/send_smtp_email_attachment.rb +3 -2
  209. data/lib/sib-api-v3-sdk/models/send_smtp_email_bcc.rb +3 -2
  210. data/lib/sib-api-v3-sdk/models/send_smtp_email_cc.rb +3 -2
  211. data/lib/sib-api-v3-sdk/models/send_smtp_email_message_versions.rb +3 -2
  212. data/lib/sib-api-v3-sdk/models/send_smtp_email_reply_to.rb +3 -2
  213. data/lib/sib-api-v3-sdk/models/send_smtp_email_reply_to_1.rb +3 -2
  214. data/lib/sib-api-v3-sdk/models/send_smtp_email_sender.rb +3 -2
  215. data/lib/sib-api-v3-sdk/models/send_smtp_email_to.rb +3 -2
  216. data/lib/sib-api-v3-sdk/models/send_smtp_email_to_1.rb +3 -2
  217. data/lib/sib-api-v3-sdk/models/send_template_email.rb +3 -2
  218. data/lib/sib-api-v3-sdk/models/send_test_email.rb +3 -2
  219. data/lib/sib-api-v3-sdk/models/send_test_sms.rb +3 -2
  220. data/lib/sib-api-v3-sdk/models/send_transac_sms.rb +3 -2
  221. data/lib/sib-api-v3-sdk/models/update_attribute.rb +3 -2
  222. data/lib/sib-api-v3-sdk/models/update_attribute_enumeration.rb +3 -2
  223. data/lib/sib-api-v3-sdk/models/update_campaign_status.rb +3 -2
  224. data/lib/sib-api-v3-sdk/models/update_child.rb +3 -2
  225. data/lib/sib-api-v3-sdk/models/update_child_account_status.rb +3 -2
  226. data/lib/sib-api-v3-sdk/models/update_child_domain.rb +3 -2
  227. data/lib/sib-api-v3-sdk/models/update_contact.rb +3 -2
  228. data/lib/sib-api-v3-sdk/models/update_email_campaign.rb +4 -3
  229. data/lib/sib-api-v3-sdk/models/update_email_campaign_recipients.rb +3 -2
  230. data/lib/sib-api-v3-sdk/models/update_email_campaign_sender.rb +3 -2
  231. data/lib/sib-api-v3-sdk/models/update_list.rb +3 -2
  232. data/lib/sib-api-v3-sdk/models/update_sender.rb +3 -2
  233. data/lib/sib-api-v3-sdk/models/update_sms_campaign.rb +4 -3
  234. data/lib/sib-api-v3-sdk/models/update_smtp_template.rb +3 -2
  235. data/lib/sib-api-v3-sdk/models/update_smtp_template_sender.rb +3 -2
  236. data/lib/sib-api-v3-sdk/models/update_webhook.rb +3 -2
  237. data/lib/sib-api-v3-sdk/models/upload_image_to_gallery.rb +3 -2
  238. data/lib/sib-api-v3-sdk/version.rb +2 -2
  239. data/spec/api/account_api_spec.rb +1 -1
  240. data/spec/api/attributes_api_spec.rb +1 -1
  241. data/spec/api/contacts_api_spec.rb +3 -3
  242. data/spec/api/email_campaigns_api_spec.rb +3 -3
  243. data/spec/api/folders_api_spec.rb +1 -1
  244. data/spec/api/lists_api_spec.rb +2 -2
  245. data/spec/api/process_api_spec.rb +1 -1
  246. data/spec/api/reseller_api_spec.rb +1 -1
  247. data/spec/api/senders_api_spec.rb +1 -1
  248. data/spec/api/sms_campaigns_api_spec.rb +3 -3
  249. data/spec/api/transactional_emails_api_spec.rb +1 -1
  250. data/spec/api/transactional_sms_api_spec.rb +1 -1
  251. data/spec/api/webhooks_api_spec.rb +1 -1
  252. data/spec/api_client_spec.rb +18 -1
  253. data/spec/configuration_spec.rb +1 -1
  254. data/spec/models/ab_test_campaign_result_clicked_links_spec.rb +1 -1
  255. data/spec/models/ab_test_campaign_result_spec.rb +1 -1
  256. data/spec/models/ab_test_campaign_result_statistics_spec.rb +1 -1
  257. data/spec/models/ab_test_version_clicks_inner_spec.rb +1 -1
  258. data/spec/models/ab_test_version_clicks_spec.rb +1 -1
  259. data/spec/models/ab_test_version_stats_spec.rb +1 -1
  260. data/spec/models/add_child_domain_spec.rb +1 -1
  261. data/spec/models/add_contact_to_list_spec.rb +1 -1
  262. data/spec/models/add_credits_spec.rb +1 -1
  263. data/spec/models/block_domain_spec.rb +1 -1
  264. data/spec/models/create_attribute_enumeration_spec.rb +1 -1
  265. data/spec/models/create_attribute_spec.rb +1 -1
  266. data/spec/models/create_child_spec.rb +1 -1
  267. data/spec/models/create_contact_spec.rb +1 -1
  268. data/spec/models/create_doi_contact_spec.rb +1 -1
  269. data/spec/models/create_email_campaign_recipients_spec.rb +1 -1
  270. data/spec/models/create_email_campaign_sender_spec.rb +1 -1
  271. data/spec/models/create_email_campaign_spec.rb +1 -1
  272. data/spec/models/create_list_spec.rb +1 -1
  273. data/spec/models/create_model_spec.rb +1 -1
  274. data/spec/models/create_reseller_spec.rb +1 -1
  275. data/spec/models/create_sender_ips_spec.rb +1 -1
  276. data/spec/models/create_sender_model_spec.rb +1 -1
  277. data/spec/models/create_sender_spec.rb +1 -1
  278. data/spec/models/create_sms_campaign_recipients_spec.rb +1 -1
  279. data/spec/models/create_sms_campaign_spec.rb +1 -1
  280. data/spec/models/create_smtp_email_spec.rb +1 -1
  281. data/spec/models/create_smtp_template_sender_spec.rb +1 -1
  282. data/spec/models/create_smtp_template_spec.rb +1 -1
  283. data/spec/models/create_update_contact_model_spec.rb +1 -1
  284. data/spec/models/create_update_folder_spec.rb +1 -1
  285. data/spec/models/create_webhook_spec.rb +1 -1
  286. data/spec/models/created_process_id_spec.rb +1 -1
  287. data/spec/models/delete_hardbounces_spec.rb +1 -1
  288. data/spec/models/email_export_recipients_spec.rb +1 -1
  289. data/spec/models/error_model_spec.rb +1 -1
  290. data/spec/models/get_account_marketing_automation_spec.rb +1 -1
  291. data/spec/models/get_account_plan_spec.rb +1 -1
  292. data/spec/models/get_account_relay_data_spec.rb +1 -1
  293. data/spec/models/get_account_relay_spec.rb +1 -1
  294. data/spec/models/get_account_spec.rb +1 -1
  295. data/spec/models/get_aggregated_report_spec.rb +1 -1
  296. data/spec/models/get_attributes_attributes_spec.rb +1 -1
  297. data/spec/models/get_attributes_enumeration_spec.rb +1 -1
  298. data/spec/models/get_attributes_spec.rb +1 -1
  299. data/spec/models/get_blocked_domains_spec.rb +1 -1
  300. data/spec/models/get_campaign_overview_spec.rb +1 -1
  301. data/spec/models/get_campaign_recipients_spec.rb +1 -1
  302. data/spec/models/get_campaign_stats_spec.rb +1 -1
  303. data/spec/models/get_child_account_creation_status_spec.rb +1 -1
  304. data/spec/models/get_child_domain_spec.rb +1 -1
  305. data/spec/models/get_child_domains_spec.rb +1 -1
  306. data/spec/models/get_child_info_api_keys_spec.rb +1 -1
  307. data/spec/models/get_child_info_api_keys_v2_spec.rb +1 -1
  308. data/spec/models/get_child_info_api_keys_v3_spec.rb +1 -1
  309. data/spec/models/get_child_info_credits_spec.rb +1 -1
  310. data/spec/models/get_child_info_spec.rb +1 -1
  311. data/spec/models/get_child_info_statistics_spec.rb +1 -1
  312. data/spec/models/get_children_list_spec.rb +1 -1
  313. data/spec/models/get_client_spec.rb +1 -1
  314. data/spec/models/get_contact_campaign_stats_clicked_spec.rb +1 -1
  315. data/spec/models/get_contact_campaign_stats_opened_spec.rb +1 -1
  316. data/spec/models/get_contact_campaign_stats_spec.rb +1 -1
  317. data/spec/models/get_contact_campaign_stats_transac_attributes_spec.rb +1 -1
  318. data/spec/models/get_contact_campaign_stats_unsubscriptions_spec.rb +1 -1
  319. data/spec/models/get_contact_details_spec.rb +1 -1
  320. data/spec/models/get_contacts_spec.rb +1 -1
  321. data/spec/models/get_device_browser_stats_spec.rb +1 -1
  322. data/spec/models/get_email_campaign_spec.rb +1 -1
  323. data/spec/models/get_email_campaigns_spec.rb +1 -1
  324. data/spec/models/get_email_event_report_events_spec.rb +1 -1
  325. data/spec/models/get_email_event_report_spec.rb +1 -1
  326. data/spec/models/get_extended_campaign_overview_sender_spec.rb +1 -1
  327. data/spec/models/get_extended_campaign_overview_spec.rb +1 -1
  328. data/spec/models/get_extended_campaign_stats_global_stats_spec.rb +35 -0
  329. data/spec/models/get_extended_campaign_stats_spec.rb +1 -1
  330. data/spec/models/get_extended_client_address_spec.rb +1 -1
  331. data/spec/models/get_extended_client_spec.rb +1 -1
  332. data/spec/models/get_extended_contact_details_spec.rb +1 -1
  333. data/spec/models/get_extended_contact_details_statistics_clicked_spec.rb +1 -1
  334. data/spec/models/get_extended_contact_details_statistics_links_spec.rb +1 -1
  335. data/spec/models/get_extended_contact_details_statistics_messages_sent_spec.rb +1 -1
  336. data/spec/models/get_extended_contact_details_statistics_opened_spec.rb +1 -1
  337. data/spec/models/get_extended_contact_details_statistics_spec.rb +1 -1
  338. data/spec/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription_spec.rb +1 -1
  339. data/spec/models/get_extended_contact_details_statistics_unsubscriptions_spec.rb +1 -1
  340. data/spec/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription_spec.rb +1 -1
  341. data/spec/models/get_extended_list_campaign_stats_spec.rb +1 -1
  342. data/spec/models/get_extended_list_spec.rb +1 -1
  343. data/spec/models/get_folder_lists_spec.rb +1 -1
  344. data/spec/models/get_folder_spec.rb +1 -1
  345. data/spec/models/get_folders_spec.rb +1 -1
  346. data/spec/models/get_ip_from_sender_spec.rb +1 -1
  347. data/spec/models/get_ip_spec.rb +1 -1
  348. data/spec/models/get_ips_from_sender_spec.rb +1 -1
  349. data/spec/models/get_ips_spec.rb +1 -1
  350. data/spec/models/get_list_spec.rb +1 -1
  351. data/spec/models/get_lists_spec.rb +1 -1
  352. data/spec/models/get_process_spec.rb +1 -1
  353. data/spec/models/get_processes_spec.rb +1 -1
  354. data/spec/models/get_reports_reports_spec.rb +1 -1
  355. data/spec/models/get_reports_spec.rb +1 -1
  356. data/spec/models/get_senders_list_ips_spec.rb +1 -1
  357. data/spec/models/get_senders_list_senders_spec.rb +1 -1
  358. data/spec/models/get_senders_list_spec.rb +1 -1
  359. data/spec/models/get_shared_template_url_spec.rb +1 -1
  360. data/spec/models/get_sms_campaign_overview_spec.rb +1 -1
  361. data/spec/models/get_sms_campaign_recipients_spec.rb +35 -0
  362. data/spec/models/get_sms_campaign_spec.rb +1 -1
  363. data/spec/models/get_sms_campaign_stats_spec.rb +1 -1
  364. data/spec/models/get_sms_campaigns_spec.rb +1 -1
  365. data/spec/models/get_sms_event_report_events_spec.rb +1 -1
  366. data/spec/models/get_sms_event_report_spec.rb +1 -1
  367. data/spec/models/get_smtp_template_overview_sender_spec.rb +1 -1
  368. data/spec/models/get_smtp_template_overview_spec.rb +1 -1
  369. data/spec/models/get_smtp_templates_spec.rb +1 -1
  370. data/spec/models/get_sso_token_spec.rb +1 -1
  371. data/spec/models/get_stats_by_browser_spec.rb +1 -1
  372. data/spec/models/get_stats_by_device_spec.rb +1 -1
  373. data/spec/models/get_stats_by_domain_spec.rb +1 -1
  374. data/spec/models/get_transac_aggregated_sms_report_spec.rb +1 -1
  375. data/spec/models/get_transac_blocked_contacts_contacts_spec.rb +1 -1
  376. data/spec/models/get_transac_blocked_contacts_reason_spec.rb +1 -1
  377. data/spec/models/get_transac_blocked_contacts_spec.rb +1 -1
  378. data/spec/models/get_transac_email_content_events_spec.rb +1 -1
  379. data/spec/models/get_transac_email_content_spec.rb +1 -1
  380. data/spec/models/get_transac_emails_list_spec.rb +1 -1
  381. data/spec/models/get_transac_emails_list_transactional_emails_spec.rb +1 -1
  382. data/spec/models/get_transac_sms_report_reports_spec.rb +1 -1
  383. data/spec/models/get_transac_sms_report_spec.rb +1 -1
  384. data/spec/models/get_webhook_spec.rb +1 -1
  385. data/spec/models/get_webhooks_spec.rb +1 -1
  386. data/spec/models/manage_ip_spec.rb +1 -1
  387. data/spec/models/post_contact_info_contacts_spec.rb +1 -1
  388. data/spec/models/post_contact_info_spec.rb +1 -1
  389. data/spec/models/post_send_failed_spec.rb +1 -1
  390. data/spec/models/post_send_sms_test_failed_spec.rb +1 -1
  391. data/spec/models/remaining_credit_model_child_spec.rb +1 -1
  392. data/spec/models/remaining_credit_model_reseller_spec.rb +1 -1
  393. data/spec/models/remaining_credit_model_spec.rb +1 -1
  394. data/spec/models/remove_contact_from_list_spec.rb +1 -1
  395. data/spec/models/remove_credits_spec.rb +1 -1
  396. data/spec/models/request_contact_export_custom_contact_filter_spec.rb +1 -1
  397. data/spec/models/request_contact_export_spec.rb +1 -1
  398. data/spec/models/request_contact_import_new_list_spec.rb +1 -1
  399. data/spec/models/request_contact_import_spec.rb +1 -1
  400. data/spec/models/request_sms_recipient_export_spec.rb +1 -1
  401. data/spec/models/send_email_attachment_spec.rb +1 -1
  402. data/spec/models/send_email_spec.rb +1 -1
  403. data/spec/models/send_report_email_spec.rb +1 -1
  404. data/spec/models/send_report_spec.rb +1 -1
  405. data/spec/models/send_sms_spec.rb +1 -1
  406. data/spec/models/send_smtp_email_attachment_spec.rb +1 -1
  407. data/spec/models/send_smtp_email_bcc_spec.rb +1 -1
  408. data/spec/models/send_smtp_email_cc_spec.rb +1 -1
  409. data/spec/models/send_smtp_email_message_versions_spec.rb +1 -1
  410. data/spec/models/send_smtp_email_reply_to_1_spec.rb +1 -1
  411. data/spec/models/send_smtp_email_reply_to_spec.rb +1 -1
  412. data/spec/models/send_smtp_email_sender_spec.rb +1 -1
  413. data/spec/models/send_smtp_email_spec.rb +1 -1
  414. data/spec/models/send_smtp_email_to_1_spec.rb +1 -1
  415. data/spec/models/send_smtp_email_to_spec.rb +1 -1
  416. data/spec/models/send_template_email_spec.rb +1 -1
  417. data/spec/models/send_test_email_spec.rb +1 -1
  418. data/spec/models/send_test_sms_spec.rb +1 -1
  419. data/spec/models/send_transac_sms_spec.rb +1 -1
  420. data/spec/models/update_attribute_enumeration_spec.rb +1 -1
  421. data/spec/models/update_attribute_spec.rb +1 -1
  422. data/spec/models/update_campaign_status_spec.rb +1 -1
  423. data/spec/models/update_child_account_status_spec.rb +1 -1
  424. data/spec/models/update_child_domain_spec.rb +1 -1
  425. data/spec/models/update_child_spec.rb +1 -1
  426. data/spec/models/update_contact_spec.rb +1 -1
  427. data/spec/models/update_email_campaign_recipients_spec.rb +1 -1
  428. data/spec/models/update_email_campaign_sender_spec.rb +1 -1
  429. data/spec/models/update_email_campaign_spec.rb +1 -1
  430. data/spec/models/update_list_spec.rb +1 -1
  431. data/spec/models/update_sender_spec.rb +1 -1
  432. data/spec/models/update_sms_campaign_spec.rb +1 -1
  433. data/spec/models/update_smtp_template_sender_spec.rb +1 -1
  434. data/spec/models/update_smtp_template_spec.rb +1 -1
  435. data/spec/models/update_webhook_spec.rb +1 -1
  436. data/spec/models/upload_image_to_gallery_spec.rb +1 -1
  437. data/spec/spec_helper.rb +1 -1
  438. metadata +10 -2
data/docs/GetWebhook.md CHANGED
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **description** | **String** | Description of the webhook |
9
9
  **events** | **Array<String>** | |
10
10
  **type** | **String** | Type of webhook (marketing or transac) |
11
- **created_at** | **DateTime** | Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) |
12
- **modified_at** | **DateTime** | Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) |
11
+ **created_at** | **String** | Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) |
12
+ **modified_at** | **String** | Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) |
13
13
 
14
14
 
data/docs/ListsApi.md CHANGED
@@ -215,7 +215,7 @@ api_instance = SibApiV3Sdk::ListsApi.new
215
215
  list_id = 789 # Integer | Id of the list
216
216
 
217
217
  opts = {
218
- modified_since: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | 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.
218
+ modified_since: 'modified_since_example', # String | 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.
219
219
  limit: 50, # Integer | Number of documents per page
220
220
  offset: 0, # Integer | Index of the first document of the page
221
221
  sort: 'desc' # String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
@@ -235,7 +235,7 @@ end
235
235
  Name | Type | Description | Notes
236
236
  ------------- | ------------- | ------------- | -------------
237
237
  **list_id** | **Integer**| Id of the list |
238
- **modified_since** | **DateTime**| 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. | [optional]
238
+ **modified_since** | **String**| 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. | [optional]
239
239
  **limit** | **Integer**| Number of documents per page | [optional] [default to 50]
240
240
  **offset** | **Integer**| Index of the first document of the page | [optional] [default to 0]
241
241
  **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc]
@@ -212,8 +212,8 @@ api_instance = SibApiV3Sdk::SMSCampaignsApi.new
212
212
 
213
213
  opts = {
214
214
  status: 'status_example', # String | Status of campaign.
215
- start_date: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' )
216
- end_date: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' )
215
+ start_date: 'start_date_example', # String | Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' )
216
+ end_date: 'end_date_example', # String | Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' )
217
217
  limit: 500, # Integer | Number limitation for the result returned
218
218
  offset: 0, # Integer | Beginning point in the list to retrieve from.
219
219
  sort: 'desc' # String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
@@ -233,8 +233,8 @@ end
233
233
  Name | Type | Description | Notes
234
234
  ------------- | ------------- | ------------- | -------------
235
235
  **status** | **String**| Status of campaign. | [optional]
236
- **start_date** | **DateTime**| Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional]
237
- **end_date** | **DateTime**| Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional]
236
+ **start_date** | **String**| Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional]
237
+ **end_date** | **String**| Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional]
238
238
  **limit** | **Integer**| Number limitation for the result returned | [optional] [default to 500]
239
239
  **offset** | **Integer**| Beginning point in the list to retrieve from. | [optional] [default to 0]
240
240
  **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc]
@@ -341,7 +341,7 @@ api_instance = SibApiV3Sdk::TransactionalEmailsApi.new
341
341
  opts = {
342
342
  start_date: 'start_date_example', # String | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate
343
343
  end_date: 'end_date_example', # String | Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate
344
- days: 56, # Integer | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'
344
+ days: 789, # Integer | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'
345
345
  tag: 'tag_example' # String | Tag of the emails
346
346
  }
347
347
 
@@ -460,7 +460,7 @@ opts = {
460
460
  offset: 0, # Integer | Beginning point in the list to retrieve from.
461
461
  start_date: 'start_date_example', # String | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate
462
462
  end_date: 'end_date_example', # String | Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate
463
- days: 56, # Integer | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'
463
+ days: 789, # Integer | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'
464
464
  email: 'email_example', # String | Filter the report for a specific email addresses
465
465
  event: 'event_example', # String | Filter the report for a specific event type
466
466
  tags: 'tags_example', # String | Filter the report for tags (serialized and urlencoded array)
@@ -538,7 +538,7 @@ opts = {
538
538
  offset: 0, # Integer | Index of the first document on the page
539
539
  start_date: 'start_date_example', # String | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD)
540
540
  end_date: 'end_date_example', # String | Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD)
541
- days: 56, # Integer | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'
541
+ days: 789, # Integer | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'
542
542
  tag: 'tag_example', # String | Tag of the emails
543
543
  sort: 'desc' # String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
544
544
  }
@@ -39,7 +39,7 @@ opts = {
39
39
  start_date: 'start_date_example', # String | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report
40
40
  end_date: 'end_date_example', # String | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report
41
41
  offset: 0, # Integer | Index of the first document of the page
42
- days: 56, # Integer | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'
42
+ days: 789, # Integer | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'
43
43
  phone_number: 'phone_number_example', # String | Filter the report for a specific phone number
44
44
  event: 'event_example', # String | Filter the report for specific events
45
45
  tags: 'tags_example', # String | Filter the report for specific tags passed as a serialized urlencoded array
@@ -111,7 +111,7 @@ api_instance = SibApiV3Sdk::TransactionalSMSApi.new
111
111
  opts = {
112
112
  start_date: 'start_date_example', # String | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report
113
113
  end_date: 'end_date_example', # String | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report
114
- days: 56, # Integer | Number of days in the past including today (positive integer). Not compatible with startDate and endDate
114
+ days: 789, # Integer | Number of days in the past including today (positive integer). Not compatible with startDate and endDate
115
115
  tag: 'tag_example' # String | Filter on a tag
116
116
  }
117
117
 
@@ -175,7 +175,7 @@ api_instance = SibApiV3Sdk::TransactionalSMSApi.new
175
175
  opts = {
176
176
  start_date: 'start_date_example', # String | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report
177
177
  end_date: 'end_date_example', # String | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report
178
- days: 56, # Integer | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'
178
+ days: 789, # Integer | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'
179
179
  tag: 'tag_example', # String | Filter on a tag
180
180
  sort: 'desc' # String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
181
181
  }
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **name** | **String** | Name of the campaign | [optional]
9
9
  **html_content** | **String** | Body of the message (HTML version). REQUIRED if htmlUrl is empty | [optional]
10
10
  **html_url** | **String** | Url which contents the body of the email message. REQUIRED if htmlContent is empty | [optional]
11
- **scheduled_at** | **DateTime** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. If sendAtBestTime is set to true, your campaign will be sent according to the date passed (ignoring the time part). | [optional]
11
+ **scheduled_at** | **String** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. If sendAtBestTime is set to true, your campaign will be sent according to the date passed (ignoring the time part). | [optional]
12
12
  **subject** | **String** | Subject of the campaign | [optional]
13
13
  **reply_to** | **String** | Email on which campaign recipients will be able to reply to | [optional]
14
14
  **to_field** | **String** | To personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. These contact attributes must already exist in your SendinBlue account. If input parameter 'params' used please use {{contact.FNAME}} {{contact.LNAME}} for personalization | [optional]
@@ -7,6 +7,6 @@ Name | Type | Description | Notes
7
7
  **sender** | **String** | Name of the sender. **The number of characters is limited to 11 for alphanumeric characters and 15 for numeric characters** | [optional]
8
8
  **content** | **String** | 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 | [optional]
9
9
  **recipients** | [**CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional]
10
- **scheduled_at** | **DateTime** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional]
10
+ **scheduled_at** | **String** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional]
11
11
 
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
 
@@ -53,6 +53,7 @@ require 'sib-api-v3-sdk/models/created_process_id'
53
53
  require 'sib-api-v3-sdk/models/delete_hardbounces'
54
54
  require 'sib-api-v3-sdk/models/email_export_recipients'
55
55
  require 'sib-api-v3-sdk/models/error_model'
56
+ require 'sib-api-v3-sdk/models/get_account'
56
57
  require 'sib-api-v3-sdk/models/get_account_marketing_automation'
57
58
  require 'sib-api-v3-sdk/models/get_account_plan'
58
59
  require 'sib-api-v3-sdk/models/get_account_relay'
@@ -68,6 +69,7 @@ require 'sib-api-v3-sdk/models/get_campaign_stats'
68
69
  require 'sib-api-v3-sdk/models/get_child_account_creation_status'
69
70
  require 'sib-api-v3-sdk/models/get_child_domain'
70
71
  require 'sib-api-v3-sdk/models/get_child_domains'
72
+ require 'sib-api-v3-sdk/models/get_child_info'
71
73
  require 'sib-api-v3-sdk/models/get_child_info_api_keys'
72
74
  require 'sib-api-v3-sdk/models/get_child_info_api_keys_v2'
73
75
  require 'sib-api-v3-sdk/models/get_child_info_api_keys_v3'
@@ -83,12 +85,17 @@ require 'sib-api-v3-sdk/models/get_contact_campaign_stats_unsubscriptions'
83
85
  require 'sib-api-v3-sdk/models/get_contact_details'
84
86
  require 'sib-api-v3-sdk/models/get_contacts'
85
87
  require 'sib-api-v3-sdk/models/get_device_browser_stats'
88
+ require 'sib-api-v3-sdk/models/get_email_campaign'
86
89
  require 'sib-api-v3-sdk/models/get_email_campaigns'
87
90
  require 'sib-api-v3-sdk/models/get_email_event_report'
88
91
  require 'sib-api-v3-sdk/models/get_email_event_report_events'
92
+ require 'sib-api-v3-sdk/models/get_extended_campaign_overview'
89
93
  require 'sib-api-v3-sdk/models/get_extended_campaign_overview_sender'
90
94
  require 'sib-api-v3-sdk/models/get_extended_campaign_stats'
95
+ require 'sib-api-v3-sdk/models/get_extended_campaign_stats_global_stats'
96
+ require 'sib-api-v3-sdk/models/get_extended_client'
91
97
  require 'sib-api-v3-sdk/models/get_extended_client_address'
98
+ require 'sib-api-v3-sdk/models/get_extended_contact_details'
92
99
  require 'sib-api-v3-sdk/models/get_extended_contact_details_statistics'
93
100
  require 'sib-api-v3-sdk/models/get_extended_contact_details_statistics_clicked'
94
101
  require 'sib-api-v3-sdk/models/get_extended_contact_details_statistics_links'
@@ -97,6 +104,7 @@ require 'sib-api-v3-sdk/models/get_extended_contact_details_statistics_opened'
97
104
  require 'sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions'
98
105
  require 'sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription'
99
106
  require 'sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription'
107
+ require 'sib-api-v3-sdk/models/get_extended_list'
100
108
  require 'sib-api-v3-sdk/models/get_extended_list_campaign_stats'
101
109
  require 'sib-api-v3-sdk/models/get_folder'
102
110
  require 'sib-api-v3-sdk/models/get_folder_lists'
@@ -115,7 +123,9 @@ require 'sib-api-v3-sdk/models/get_senders_list'
115
123
  require 'sib-api-v3-sdk/models/get_senders_list_ips'
116
124
  require 'sib-api-v3-sdk/models/get_senders_list_senders'
117
125
  require 'sib-api-v3-sdk/models/get_shared_template_url'
126
+ require 'sib-api-v3-sdk/models/get_sms_campaign'
118
127
  require 'sib-api-v3-sdk/models/get_sms_campaign_overview'
128
+ require 'sib-api-v3-sdk/models/get_sms_campaign_recipients'
119
129
  require 'sib-api-v3-sdk/models/get_sms_campaign_stats'
120
130
  require 'sib-api-v3-sdk/models/get_sms_campaigns'
121
131
  require 'sib-api-v3-sdk/models/get_sms_event_report'
@@ -190,14 +200,6 @@ require 'sib-api-v3-sdk/models/update_smtp_template'
190
200
  require 'sib-api-v3-sdk/models/update_smtp_template_sender'
191
201
  require 'sib-api-v3-sdk/models/update_webhook'
192
202
  require 'sib-api-v3-sdk/models/upload_image_to_gallery'
193
- require 'sib-api-v3-sdk/models/get_child_info'
194
- require 'sib-api-v3-sdk/models/get_extended_campaign_overview'
195
- require 'sib-api-v3-sdk/models/get_extended_client'
196
- require 'sib-api-v3-sdk/models/get_extended_contact_details'
197
- require 'sib-api-v3-sdk/models/get_extended_list'
198
- require 'sib-api-v3-sdk/models/get_sms_campaign'
199
- require 'sib-api-v3-sdk/models/get_account'
200
- require 'sib-api-v3-sdk/models/get_email_campaign'
201
203
 
202
204
  # APIs
203
205
  require 'sib-api-v3-sdk/api/account_api'
@@ -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
 
@@ -735,7 +735,7 @@ module SibApiV3Sdk
735
735
  # @param [Hash] opts the optional parameters
736
736
  # @option opts [Integer] :limit Number of documents per page (default to 50)
737
737
  # @option opts [Integer] :offset Index of the first document of the page (default to 0)
738
- # @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.
738
+ # @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.
739
739
  # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (default to desc)
740
740
  # @return [GetContacts]
741
741
  def get_contacts(opts = {})
@@ -747,7 +747,7 @@ module SibApiV3Sdk
747
747
  # @param [Hash] opts the optional parameters
748
748
  # @option opts [Integer] :limit Number of documents per page
749
749
  # @option opts [Integer] :offset Index of the first document of the page
750
- # @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.
750
+ # @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.
751
751
  # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
752
752
  # @return [Array<(GetContacts, Fixnum, Hash)>] GetContacts data, response status code and response headers
753
753
  def get_contacts_with_http_info(opts = {})
@@ -799,7 +799,7 @@ module SibApiV3Sdk
799
799
  # Get contacts in a list
800
800
  # @param list_id Id of the list
801
801
  # @param [Hash] opts the optional parameters
802
- # @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.
802
+ # @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.
803
803
  # @option opts [Integer] :limit Number of documents per page (default to 50)
804
804
  # @option opts [Integer] :offset Index of the first document of the page (default to 0)
805
805
  # @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 (default to desc)
@@ -812,7 +812,7 @@ module SibApiV3Sdk
812
812
  # Get contacts in a list
813
813
  # @param list_id Id of the list
814
814
  # @param [Hash] opts the optional parameters
815
- # @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.
815
+ # @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.
816
816
  # @option opts [Integer] :limit Number of documents per page
817
817
  # @option opts [Integer] :offset Index of the first document of the page
818
818
  # @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
@@ -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
 
@@ -296,8 +296,8 @@ module SibApiV3Sdk
296
296
  # @param [Hash] opts the optional parameters
297
297
  # @option opts [String] :type Filter on the type of the campaigns
298
298
  # @option opts [String] :status Filter on the status of the campaign
299
- # @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; )
300
- # @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; )
299
+ # @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; )
300
+ # @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; )
301
301
  # @option opts [Integer] :limit Number of documents per page (default to 500)
302
302
  # @option opts [Integer] :offset Index of the first document in the page (default to 0)
303
303
  # @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 (default to desc)
@@ -311,8 +311,8 @@ module SibApiV3Sdk
311
311
  # @param [Hash] opts the optional parameters
312
312
  # @option opts [String] :type Filter on the type of the campaigns
313
313
  # @option opts [String] :status Filter on the status of the campaign
314
- # @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; )
315
- # @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; )
314
+ # @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; )
315
+ # @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; )
316
316
  # @option opts [Integer] :limit Number of documents per page
317
317
  # @option opts [Integer] :offset Index of the first document in the page
318
318
  # @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
@@ -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
 
@@ -193,7 +193,7 @@ module SibApiV3Sdk
193
193
  # Get contacts in a list
194
194
  # @param list_id Id of the list
195
195
  # @param [Hash] opts the optional parameters
196
- # @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.
196
+ # @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.
197
197
  # @option opts [Integer] :limit Number of documents per page (default to 50)
198
198
  # @option opts [Integer] :offset Index of the first document of the page (default to 0)
199
199
  # @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 (default to desc)
@@ -206,7 +206,7 @@ module SibApiV3Sdk
206
206
  # Get contacts in a list
207
207
  # @param list_id Id of the list
208
208
  # @param [Hash] opts the optional parameters
209
- # @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.
209
+ # @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.
210
210
  # @option opts [Integer] :limit Number of documents per page
211
211
  # @option opts [Integer] :offset Index of the first document of the page
212
212
  # @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
@@ -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
 
@@ -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
 
@@ -187,8 +187,8 @@ module SibApiV3Sdk
187
187
  # Returns the information for all your created SMS campaigns
188
188
  # @param [Hash] opts the optional parameters
189
189
  # @option opts [String] :status Status of campaign.
190
- # @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 sms 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; )
191
- # @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 sms 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; )
190
+ # @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 sms 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; )
191
+ # @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 sms 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; )
192
192
  # @option opts [Integer] :limit Number limitation for the result returned (default to 500)
193
193
  # @option opts [Integer] :offset Beginning point in the list to retrieve from. (default to 0)
194
194
  # @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 (default to desc)
@@ -201,8 +201,8 @@ module SibApiV3Sdk
201
201
  # Returns the information for all your created SMS campaigns
202
202
  # @param [Hash] opts the optional parameters
203
203
  # @option opts [String] :status Status of campaign.
204
- # @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 sms 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; )
205
- # @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 sms 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; )
204
+ # @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 sms 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; )
205
+ # @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 sms 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; )
206
206
  # @option opts [Integer] :limit Number limitation for the result returned
207
207
  # @option opts [Integer] :offset Beginning point in the list to retrieve from.
208
208
  # @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
@@ -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
 
@@ -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
 
@@ -15,7 +15,7 @@ require 'json'
15
15
  require 'logger'
16
16
  require 'tempfile'
17
17
  require 'typhoeus'
18
- require 'uri'
18
+ require 'addressable/uri'
19
19
 
20
20
  module SibApiV3Sdk
21
21
  class ApiClient
@@ -63,7 +63,7 @@ module SibApiV3Sdk
63
63
  :message => response.return_message)
64
64
  else
65
65
  fail ApiError.new(:code => response.code,
66
- :response_headers => response.headers,
66
+ :response_headers => response.headers.to_h,
67
67
  :response_body => response.body),
68
68
  response.status_message
69
69
  end
@@ -112,6 +112,8 @@ module SibApiV3Sdk
112
112
  :verbose => @config.debugging
113
113
  }
114
114
 
115
+ req_opts.merge!(multipart: true) if header_params['Content-Type'].start_with? "multipart/"
116
+
115
117
  # set custom cert, if provided
116
118
  req_opts[:cainfo] = @config.ssl_ca_cert if @config.ssl_ca_cert
117
119
 
@@ -264,7 +266,7 @@ module SibApiV3Sdk
264
266
  def build_request_url(path)
265
267
  # Add leading and trailing slashes to path
266
268
  path = "/#{path}".gsub(/\/+/, '/')
267
- URI.encode(@config.base_url + path)
269
+ Addressable::URI.encode(@config.base_url + path)
268
270
  end
269
271
 
270
272
  # Builds the HTTP request body