sib-api-v3-sdk 7.2.0 → 8.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (577) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +72 -12
  3. data/docs/Body.md +18 -0
  4. data/docs/Body1.md +18 -0
  5. data/docs/CRMApi.md +710 -0
  6. data/docs/Contact.md +15 -0
  7. data/docs/ContactsApi.md +77 -18
  8. data/docs/CreateEmailCampaign.md +1 -1
  9. data/docs/CreateSmsCampaign.md +2 -1
  10. data/docs/CreateSmtpEmail.md +2 -1
  11. data/docs/CreateSubAccount.md +10 -0
  12. data/docs/CreateWebhook.md +2 -1
  13. data/docs/EmailCampaignsApi.md +6 -6
  14. data/docs/FileData.md +17 -0
  15. data/docs/FoldersApi.md +4 -4
  16. data/docs/GetCampaignOverview.md +1 -1
  17. data/docs/GetCampaignStats.md +1 -0
  18. data/docs/GetContactCampaignStats.md +1 -0
  19. data/docs/GetContactCampaignStatsOpened.md +1 -1
  20. data/docs/GetContactDetails.md +2 -2
  21. data/docs/GetEmailCampaign.md +6 -6
  22. data/docs/GetEmailEventReportEvents.md +1 -1
  23. data/docs/GetExtendedCampaignOverview.md +4 -4
  24. data/docs/GetExtendedCampaignStats.md +1 -1
  25. data/docs/{SendTemplateEmail.md → GetExtendedCampaignStatsGlobalStats.md} +1 -2
  26. data/docs/GetExtendedContactDetails.md +2 -2
  27. data/docs/GetExtendedContactDetailsStatistics.md +1 -0
  28. data/docs/GetExtendedContactDetailsStatisticsDelivered.md +9 -0
  29. data/docs/GetExtendedContactDetailsStatisticsLinks.md +1 -1
  30. data/docs/GetExtendedContactDetailsStatisticsMessagesSent.md +1 -1
  31. data/docs/GetExtendedContactDetailsStatisticsOpened.md +1 -1
  32. data/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md +1 -1
  33. data/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md +1 -1
  34. data/docs/GetExtendedList.md +2 -1
  35. data/docs/GetInboundEmailEvents.md +8 -0
  36. data/docs/GetInboundEmailEventsByUuid.md +15 -0
  37. data/docs/GetInboundEmailEventsByUuidAttachments.md +11 -0
  38. data/docs/GetInboundEmailEventsByUuidLogs.md +9 -0
  39. data/docs/GetInboundEmailEventsEvents.md +11 -0
  40. data/docs/GetList.md +1 -0
  41. data/docs/GetSmsCampaign.md +5 -5
  42. data/docs/GetSmsCampaignOverview.md +3 -3
  43. data/docs/GetSmsCampaignRecipients.md +7 -0
  44. data/docs/GetSmsEventReportEvents.md +1 -1
  45. data/docs/GetSmtpTemplateOverview.md +2 -2
  46. data/docs/GetTransacBlockedContactsContacts.md +1 -1
  47. data/docs/GetTransacEmailContent.md +1 -1
  48. data/docs/GetTransacEmailContentEvents.md +1 -1
  49. data/docs/GetTransacEmailsList.md +1 -0
  50. data/docs/GetTransacEmailsListTransactionalEmails.md +1 -1
  51. data/docs/GetWebhook.md +2 -2
  52. data/docs/InboundParsingApi.md +139 -0
  53. data/docs/ListsApi.md +8 -8
  54. data/docs/MasterAccountApi.md +367 -0
  55. data/docs/MasterDetailsResponse.md +14 -0
  56. data/docs/MasterDetailsResponseBillingInfo.md +11 -0
  57. data/docs/MasterDetailsResponseBillingInfoAddress.md +12 -0
  58. data/docs/MasterDetailsResponseBillingInfoName.md +9 -0
  59. data/docs/MasterDetailsResponsePlanInfo.md +13 -0
  60. data/docs/MasterDetailsResponsePlanInfoFeatures.md +12 -0
  61. data/docs/Note.md +14 -0
  62. data/docs/NoteData.md +10 -0
  63. data/docs/ProcessApi.md +2 -2
  64. data/docs/RequestContactExport.md +1 -2
  65. data/docs/SMSCampaignsApi.md +6 -6
  66. data/docs/SendSmtpEmail.md +5 -4
  67. data/docs/SendSmtpEmailMessageVersions.md +13 -0
  68. data/docs/SendSmtpEmailReplyTo1.md +9 -0
  69. data/docs/SendSmtpEmailTo1.md +9 -0
  70. data/docs/SendTestEmail.md +1 -1
  71. data/docs/SendTransacSms.md +1 -0
  72. data/docs/SsoTokenRequest.md +9 -0
  73. data/docs/SubAccountDetailsResponse.md +11 -0
  74. data/docs/SubAccountDetailsResponsePlanInfo.md +10 -0
  75. data/docs/SubAccountDetailsResponsePlanInfoCredits.md +9 -0
  76. data/docs/SubAccountDetailsResponsePlanInfoCreditsEmails.md +9 -0
  77. data/docs/SubAccountDetailsResponsePlanInfoFeatures.md +10 -0
  78. data/docs/SubAccountDetailsResponsePlanInfoFeaturesInbox.md +9 -0
  79. data/docs/SubAccountDetailsResponsePlanInfoFeaturesLandingPage.md +9 -0
  80. data/docs/SubAccountDetailsResponsePlanInfoFeaturesUsers.md +9 -0
  81. data/docs/SubAccountUpdatePlanRequest.md +9 -0
  82. data/docs/SubAccountUpdatePlanRequestCredits.md +8 -0
  83. data/docs/SubAccountUpdatePlanRequestFeatures.md +10 -0
  84. data/docs/SubAccountsResponse.md +9 -0
  85. data/docs/SubAccountsResponseSubAccounts.md +11 -0
  86. data/docs/Task.md +24 -0
  87. data/docs/TaskReminder.md +10 -0
  88. data/docs/TransactionalEmailsApi.md +25 -80
  89. data/docs/TransactionalSMSApi.md +7 -7
  90. data/docs/UpdateBatchContacts.md +8 -0
  91. data/docs/UpdateBatchContactsContacts.md +16 -0
  92. data/docs/UpdateBatchContactsModel.md +9 -0
  93. data/docs/UpdateEmailCampaign.md +1 -1
  94. data/docs/UpdateSmsCampaign.md +2 -1
  95. data/docs/UpdateWebhook.md +2 -1
  96. data/docs/WebhooksApi.md +3 -1
  97. data/lib/sib-api-v3-sdk/api/account_api.rb +1 -1
  98. data/lib/sib-api-v3-sdk/api/attributes_api.rb +1 -1
  99. data/lib/sib-api-v3-sdk/api/contacts_api.rb +72 -19
  100. data/lib/sib-api-v3-sdk/api/crm_api.rb +670 -0
  101. data/lib/sib-api-v3-sdk/api/email_campaigns_api.rb +7 -7
  102. data/lib/sib-api-v3-sdk/api/folders_api.rb +5 -5
  103. data/lib/sib-api-v3-sdk/api/inbound_parsing_api.rb +161 -0
  104. data/lib/sib-api-v3-sdk/api/lists_api.rb +9 -9
  105. data/lib/sib-api-v3-sdk/api/master_account_api.rb +365 -0
  106. data/lib/sib-api-v3-sdk/api/process_api.rb +3 -3
  107. data/lib/sib-api-v3-sdk/api/reseller_api.rb +1 -1
  108. data/lib/sib-api-v3-sdk/api/senders_api.rb +1 -1
  109. data/lib/sib-api-v3-sdk/api/sms_campaigns_api.rb +7 -7
  110. data/lib/sib-api-v3-sdk/api/transactional_emails_api.rb +29 -75
  111. data/lib/sib-api-v3-sdk/api/transactional_sms_api.rb +5 -5
  112. data/lib/sib-api-v3-sdk/api/webhooks_api.rb +9 -3
  113. data/lib/sib-api-v3-sdk/api_client.rb +8 -5
  114. data/lib/sib-api-v3-sdk/api_error.rb +1 -1
  115. data/lib/sib-api-v3-sdk/configuration.rb +3 -3
  116. data/lib/sib-api-v3-sdk/models/ab_test_campaign_result.rb +3 -2
  117. data/lib/sib-api-v3-sdk/models/ab_test_campaign_result_clicked_links.rb +3 -2
  118. data/lib/sib-api-v3-sdk/models/ab_test_campaign_result_statistics.rb +3 -2
  119. data/lib/sib-api-v3-sdk/models/ab_test_version_clicks.rb +3 -2
  120. data/lib/sib-api-v3-sdk/models/ab_test_version_clicks_inner.rb +3 -2
  121. data/lib/sib-api-v3-sdk/models/ab_test_version_stats.rb +3 -2
  122. data/lib/sib-api-v3-sdk/models/add_child_domain.rb +3 -2
  123. data/lib/sib-api-v3-sdk/models/add_contact_to_list.rb +3 -2
  124. data/lib/sib-api-v3-sdk/models/add_credits.rb +3 -2
  125. data/lib/sib-api-v3-sdk/models/block_domain.rb +3 -2
  126. data/lib/sib-api-v3-sdk/models/body.rb +305 -0
  127. data/lib/sib-api-v3-sdk/models/body_1.rb +305 -0
  128. data/lib/sib-api-v3-sdk/models/contact.rb +266 -0
  129. data/lib/sib-api-v3-sdk/models/create_attribute.rb +3 -2
  130. data/lib/sib-api-v3-sdk/models/create_attribute_enumeration.rb +3 -2
  131. data/lib/sib-api-v3-sdk/models/create_child.rb +3 -2
  132. data/lib/sib-api-v3-sdk/models/create_contact.rb +3 -2
  133. data/lib/sib-api-v3-sdk/models/create_doi_contact.rb +3 -2
  134. data/lib/sib-api-v3-sdk/models/create_email_campaign.rb +4 -3
  135. data/lib/sib-api-v3-sdk/models/create_email_campaign_recipients.rb +3 -2
  136. data/lib/sib-api-v3-sdk/models/create_email_campaign_sender.rb +3 -2
  137. data/lib/sib-api-v3-sdk/models/create_list.rb +3 -2
  138. data/lib/sib-api-v3-sdk/models/create_model.rb +3 -2
  139. data/lib/sib-api-v3-sdk/models/create_reseller.rb +3 -2
  140. data/lib/sib-api-v3-sdk/models/create_sender.rb +3 -2
  141. data/lib/sib-api-v3-sdk/models/create_sender_ips.rb +3 -2
  142. data/lib/sib-api-v3-sdk/models/create_sender_model.rb +3 -2
  143. data/lib/sib-api-v3-sdk/models/create_sms_campaign.rb +19 -6
  144. data/lib/sib-api-v3-sdk/models/create_sms_campaign_recipients.rb +3 -2
  145. data/lib/sib-api-v3-sdk/models/create_smtp_email.rb +18 -11
  146. data/lib/sib-api-v3-sdk/models/create_smtp_template.rb +3 -2
  147. data/lib/sib-api-v3-sdk/models/create_smtp_template_sender.rb +3 -2
  148. data/lib/sib-api-v3-sdk/models/create_sub_account.rb +244 -0
  149. data/lib/sib-api-v3-sdk/models/create_update_contact_model.rb +3 -2
  150. data/lib/sib-api-v3-sdk/models/create_update_folder.rb +3 -2
  151. data/lib/sib-api-v3-sdk/models/create_webhook.rb +20 -9
  152. data/lib/sib-api-v3-sdk/models/created_process_id.rb +3 -2
  153. data/lib/sib-api-v3-sdk/models/delete_hardbounces.rb +3 -2
  154. data/lib/sib-api-v3-sdk/models/email_export_recipients.rb +3 -2
  155. data/lib/sib-api-v3-sdk/models/error_model.rb +3 -2
  156. data/lib/sib-api-v3-sdk/models/file_data.rb +278 -0
  157. data/lib/sib-api-v3-sdk/models/get_account.rb +3 -2
  158. data/lib/sib-api-v3-sdk/models/get_account_marketing_automation.rb +3 -2
  159. data/lib/sib-api-v3-sdk/models/get_account_plan.rb +3 -2
  160. data/lib/sib-api-v3-sdk/models/get_account_relay.rb +3 -2
  161. data/lib/sib-api-v3-sdk/models/get_account_relay_data.rb +3 -2
  162. data/lib/sib-api-v3-sdk/models/get_aggregated_report.rb +3 -2
  163. data/lib/sib-api-v3-sdk/models/get_attributes.rb +3 -2
  164. data/lib/sib-api-v3-sdk/models/get_attributes_attributes.rb +3 -2
  165. data/lib/sib-api-v3-sdk/models/get_attributes_enumeration.rb +3 -2
  166. data/lib/sib-api-v3-sdk/models/get_blocked_domains.rb +3 -2
  167. data/lib/sib-api-v3-sdk/models/get_campaign_overview.rb +4 -3
  168. data/lib/sib-api-v3-sdk/models/get_campaign_recipients.rb +3 -2
  169. data/lib/sib-api-v3-sdk/models/get_campaign_stats.rb +19 -3
  170. data/lib/sib-api-v3-sdk/models/get_child_account_creation_status.rb +3 -2
  171. data/lib/sib-api-v3-sdk/models/get_child_domain.rb +3 -2
  172. data/lib/sib-api-v3-sdk/models/get_child_domains.rb +3 -2
  173. data/lib/sib-api-v3-sdk/models/get_child_info.rb +3 -2
  174. data/lib/sib-api-v3-sdk/models/get_child_info_api_keys.rb +3 -2
  175. data/lib/sib-api-v3-sdk/models/get_child_info_api_keys_v2.rb +3 -2
  176. data/lib/sib-api-v3-sdk/models/get_child_info_api_keys_v3.rb +3 -2
  177. data/lib/sib-api-v3-sdk/models/get_child_info_credits.rb +3 -2
  178. data/lib/sib-api-v3-sdk/models/get_child_info_statistics.rb +3 -2
  179. data/lib/sib-api-v3-sdk/models/get_children_list.rb +3 -2
  180. data/lib/sib-api-v3-sdk/models/get_client.rb +3 -2
  181. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats.rb +18 -6
  182. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_clicked.rb +3 -2
  183. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_opened.rb +4 -3
  184. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_transac_attributes.rb +3 -2
  185. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_unsubscriptions.rb +3 -2
  186. data/lib/sib-api-v3-sdk/models/get_contact_details.rb +5 -4
  187. data/lib/sib-api-v3-sdk/models/get_contacts.rb +3 -2
  188. data/lib/sib-api-v3-sdk/models/get_device_browser_stats.rb +3 -2
  189. data/lib/sib-api-v3-sdk/models/get_email_campaign.rb +9 -8
  190. data/lib/sib-api-v3-sdk/models/get_email_campaigns.rb +3 -2
  191. data/lib/sib-api-v3-sdk/models/get_email_event_report.rb +3 -2
  192. data/lib/sib-api-v3-sdk/models/get_email_event_report_events.rb +4 -3
  193. data/lib/sib-api-v3-sdk/models/get_extended_campaign_overview.rb +7 -6
  194. data/lib/sib-api-v3-sdk/models/get_extended_campaign_overview_sender.rb +3 -2
  195. data/lib/sib-api-v3-sdk/models/get_extended_campaign_stats.rb +4 -4
  196. data/lib/sib-api-v3-sdk/models/get_extended_campaign_stats_global_stats.rb +176 -0
  197. data/lib/sib-api-v3-sdk/models/get_extended_client.rb +3 -2
  198. data/lib/sib-api-v3-sdk/models/get_extended_client_address.rb +3 -2
  199. data/lib/sib-api-v3-sdk/models/get_extended_contact_details.rb +5 -4
  200. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics.rb +19 -6
  201. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_clicked.rb +3 -2
  202. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_delivered.rb +205 -0
  203. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_links.rb +4 -3
  204. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_messages_sent.rb +4 -3
  205. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_opened.rb +4 -3
  206. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions.rb +3 -2
  207. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.rb +4 -3
  208. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.rb +4 -3
  209. data/lib/sib-api-v3-sdk/models/get_extended_list.rb +20 -4
  210. data/lib/sib-api-v3-sdk/models/get_extended_list_campaign_stats.rb +3 -2
  211. data/lib/sib-api-v3-sdk/models/get_folder.rb +3 -2
  212. data/lib/sib-api-v3-sdk/models/get_folder_lists.rb +3 -2
  213. data/lib/sib-api-v3-sdk/models/get_folders.rb +3 -2
  214. data/lib/sib-api-v3-sdk/models/{send_template_email.rb → get_inbound_email_events.rb} +13 -16
  215. data/lib/sib-api-v3-sdk/models/get_inbound_email_events_by_uuid.rb +259 -0
  216. data/lib/sib-api-v3-sdk/models/get_inbound_email_events_by_uuid_attachments.rb +215 -0
  217. data/lib/sib-api-v3-sdk/models/get_inbound_email_events_by_uuid_logs.rb +229 -0
  218. data/lib/sib-api-v3-sdk/models/get_inbound_email_events_events.rb +235 -0
  219. data/lib/sib-api-v3-sdk/models/get_ip.rb +3 -2
  220. data/lib/sib-api-v3-sdk/models/get_ip_from_sender.rb +3 -2
  221. data/lib/sib-api-v3-sdk/models/get_ips.rb +3 -2
  222. data/lib/sib-api-v3-sdk/models/get_ips_from_sender.rb +3 -2
  223. data/lib/sib-api-v3-sdk/models/get_list.rb +22 -6
  224. data/lib/sib-api-v3-sdk/models/get_lists.rb +3 -2
  225. data/lib/sib-api-v3-sdk/models/get_process.rb +3 -2
  226. data/lib/sib-api-v3-sdk/models/get_processes.rb +3 -2
  227. data/lib/sib-api-v3-sdk/models/get_reports.rb +3 -2
  228. data/lib/sib-api-v3-sdk/models/get_reports_reports.rb +3 -2
  229. data/lib/sib-api-v3-sdk/models/get_senders_list.rb +3 -2
  230. data/lib/sib-api-v3-sdk/models/get_senders_list_ips.rb +3 -2
  231. data/lib/sib-api-v3-sdk/models/get_senders_list_senders.rb +3 -2
  232. data/lib/sib-api-v3-sdk/models/get_shared_template_url.rb +3 -2
  233. data/lib/sib-api-v3-sdk/models/get_sms_campaign.rb +8 -7
  234. data/lib/sib-api-v3-sdk/models/get_sms_campaign_overview.rb +6 -5
  235. data/lib/sib-api-v3-sdk/models/get_sms_campaign_recipients.rb +175 -0
  236. data/lib/sib-api-v3-sdk/models/get_sms_campaign_stats.rb +3 -2
  237. data/lib/sib-api-v3-sdk/models/get_sms_campaigns.rb +3 -2
  238. data/lib/sib-api-v3-sdk/models/get_sms_event_report.rb +3 -2
  239. data/lib/sib-api-v3-sdk/models/get_sms_event_report_events.rb +4 -3
  240. data/lib/sib-api-v3-sdk/models/get_smtp_template_overview.rb +5 -4
  241. data/lib/sib-api-v3-sdk/models/get_smtp_template_overview_sender.rb +3 -2
  242. data/lib/sib-api-v3-sdk/models/get_smtp_templates.rb +3 -2
  243. data/lib/sib-api-v3-sdk/models/get_sso_token.rb +3 -2
  244. data/lib/sib-api-v3-sdk/models/get_stats_by_browser.rb +3 -2
  245. data/lib/sib-api-v3-sdk/models/get_stats_by_device.rb +3 -2
  246. data/lib/sib-api-v3-sdk/models/get_stats_by_domain.rb +3 -2
  247. data/lib/sib-api-v3-sdk/models/get_transac_aggregated_sms_report.rb +3 -2
  248. data/lib/sib-api-v3-sdk/models/get_transac_blocked_contacts.rb +3 -2
  249. data/lib/sib-api-v3-sdk/models/get_transac_blocked_contacts_contacts.rb +4 -3
  250. data/lib/sib-api-v3-sdk/models/get_transac_blocked_contacts_reason.rb +3 -2
  251. data/lib/sib-api-v3-sdk/models/get_transac_email_content.rb +4 -3
  252. data/lib/sib-api-v3-sdk/models/get_transac_email_content_events.rb +4 -3
  253. data/lib/sib-api-v3-sdk/models/get_transac_emails_list.rb +14 -3
  254. data/lib/sib-api-v3-sdk/models/get_transac_emails_list_transactional_emails.rb +4 -3
  255. data/lib/sib-api-v3-sdk/models/get_transac_sms_report.rb +3 -2
  256. data/lib/sib-api-v3-sdk/models/get_transac_sms_report_reports.rb +3 -2
  257. data/lib/sib-api-v3-sdk/models/get_webhook.rb +5 -4
  258. data/lib/sib-api-v3-sdk/models/get_webhooks.rb +3 -2
  259. data/lib/sib-api-v3-sdk/models/manage_ip.rb +3 -2
  260. data/lib/sib-api-v3-sdk/models/master_details_response.rb +243 -0
  261. data/lib/sib-api-v3-sdk/models/master_details_response_billing_info.rb +214 -0
  262. data/lib/sib-api-v3-sdk/models/master_details_response_billing_info_address.rb +226 -0
  263. data/lib/sib-api-v3-sdk/models/master_details_response_billing_info_name.rb +196 -0
  264. data/lib/sib-api-v3-sdk/models/master_details_response_plan_info.rb +272 -0
  265. data/lib/sib-api-v3-sdk/models/master_details_response_plan_info_features.rb +225 -0
  266. data/lib/sib-api-v3-sdk/models/note.rb +283 -0
  267. data/lib/sib-api-v3-sdk/models/note_data.rb +243 -0
  268. data/lib/sib-api-v3-sdk/models/post_contact_info.rb +3 -2
  269. data/lib/sib-api-v3-sdk/models/post_contact_info_contacts.rb +3 -2
  270. data/lib/sib-api-v3-sdk/models/post_send_failed.rb +3 -2
  271. data/lib/sib-api-v3-sdk/models/post_send_sms_test_failed.rb +3 -2
  272. data/lib/sib-api-v3-sdk/models/remaining_credit_model.rb +3 -2
  273. data/lib/sib-api-v3-sdk/models/remaining_credit_model_child.rb +3 -2
  274. data/lib/sib-api-v3-sdk/models/remaining_credit_model_reseller.rb +3 -2
  275. data/lib/sib-api-v3-sdk/models/remove_contact_from_list.rb +3 -2
  276. data/lib/sib-api-v3-sdk/models/remove_credits.rb +3 -2
  277. data/lib/sib-api-v3-sdk/models/request_contact_export.rb +9 -13
  278. data/lib/sib-api-v3-sdk/models/request_contact_export_custom_contact_filter.rb +4 -3
  279. data/lib/sib-api-v3-sdk/models/request_contact_import.rb +3 -2
  280. data/lib/sib-api-v3-sdk/models/request_contact_import_new_list.rb +3 -2
  281. data/lib/sib-api-v3-sdk/models/request_sms_recipient_export.rb +3 -2
  282. data/lib/sib-api-v3-sdk/models/send_report.rb +3 -2
  283. data/lib/sib-api-v3-sdk/models/send_report_email.rb +3 -2
  284. data/lib/sib-api-v3-sdk/models/send_sms.rb +3 -2
  285. data/lib/sib-api-v3-sdk/models/send_smtp_email.rb +20 -12
  286. data/lib/sib-api-v3-sdk/models/send_smtp_email_attachment.rb +3 -2
  287. data/lib/sib-api-v3-sdk/models/send_smtp_email_bcc.rb +3 -2
  288. data/lib/sib-api-v3-sdk/models/send_smtp_email_cc.rb +3 -2
  289. data/lib/sib-api-v3-sdk/models/{send_email.rb → send_smtp_email_message_versions.rb} +51 -83
  290. data/lib/sib-api-v3-sdk/models/send_smtp_email_reply_to.rb +3 -2
  291. data/lib/sib-api-v3-sdk/models/{send_email_attachment.rb → send_smtp_email_reply_to_1.rb} +17 -39
  292. data/lib/sib-api-v3-sdk/models/send_smtp_email_sender.rb +3 -2
  293. data/lib/sib-api-v3-sdk/models/send_smtp_email_to.rb +3 -2
  294. data/lib/sib-api-v3-sdk/models/send_smtp_email_to_1.rb +200 -0
  295. data/lib/sib-api-v3-sdk/models/send_test_email.rb +4 -3
  296. data/lib/sib-api-v3-sdk/models/send_test_sms.rb +3 -2
  297. data/lib/sib-api-v3-sdk/models/send_transac_sms.rb +19 -6
  298. data/lib/sib-api-v3-sdk/models/sso_token_request.rb +200 -0
  299. data/lib/sib-api-v3-sdk/models/sub_account_details_response.rb +214 -0
  300. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info.rb +204 -0
  301. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_credits.rb +195 -0
  302. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_credits_emails.rb +196 -0
  303. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_features.rb +203 -0
  304. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_features_inbox.rb +196 -0
  305. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_features_landing_page.rb +196 -0
  306. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_features_users.rb +196 -0
  307. data/lib/sib-api-v3-sdk/models/sub_account_update_plan_request.rb +194 -0
  308. data/lib/sib-api-v3-sdk/models/sub_account_update_plan_request_credits.rb +186 -0
  309. data/lib/sib-api-v3-sdk/models/sub_account_update_plan_request_features.rb +206 -0
  310. data/lib/sib-api-v3-sdk/models/sub_accounts_response.rb +196 -0
  311. data/lib/sib-api-v3-sdk/models/sub_accounts_response_sub_accounts.rb +235 -0
  312. data/lib/sib-api-v3-sdk/models/task.rb +367 -0
  313. data/lib/sib-api-v3-sdk/models/task_reminder.rb +257 -0
  314. data/lib/sib-api-v3-sdk/models/update_attribute.rb +3 -2
  315. data/lib/sib-api-v3-sdk/models/update_attribute_enumeration.rb +3 -2
  316. data/lib/sib-api-v3-sdk/models/update_batch_contacts.rb +187 -0
  317. data/lib/sib-api-v3-sdk/models/update_batch_contacts_contacts.rb +273 -0
  318. data/lib/sib-api-v3-sdk/models/update_batch_contacts_model.rb +197 -0
  319. data/lib/sib-api-v3-sdk/models/update_campaign_status.rb +3 -2
  320. data/lib/sib-api-v3-sdk/models/update_child.rb +3 -2
  321. data/lib/sib-api-v3-sdk/models/update_child_account_status.rb +3 -2
  322. data/lib/sib-api-v3-sdk/models/update_child_domain.rb +3 -2
  323. data/lib/sib-api-v3-sdk/models/update_contact.rb +3 -2
  324. data/lib/sib-api-v3-sdk/models/update_email_campaign.rb +4 -3
  325. data/lib/sib-api-v3-sdk/models/update_email_campaign_recipients.rb +3 -2
  326. data/lib/sib-api-v3-sdk/models/update_email_campaign_sender.rb +3 -2
  327. data/lib/sib-api-v3-sdk/models/update_list.rb +3 -2
  328. data/lib/sib-api-v3-sdk/models/update_sender.rb +3 -2
  329. data/lib/sib-api-v3-sdk/models/update_sms_campaign.rb +19 -6
  330. data/lib/sib-api-v3-sdk/models/update_smtp_template.rb +3 -2
  331. data/lib/sib-api-v3-sdk/models/update_smtp_template_sender.rb +3 -2
  332. data/lib/sib-api-v3-sdk/models/update_webhook.rb +18 -7
  333. data/lib/sib-api-v3-sdk/models/upload_image_to_gallery.rb +3 -2
  334. data/lib/sib-api-v3-sdk/version.rb +2 -2
  335. data/lib/sib-api-v3-sdk.rb +55 -12
  336. data/sib-api-v3-sdk.gemspec +2 -1
  337. data/spec/api/account_api_spec.rb +1 -1
  338. data/spec/api/attributes_api_spec.rb +1 -1
  339. data/spec/api/contacts_api_spec.rb +22 -10
  340. data/spec/api/crm_api_spec.rb +170 -0
  341. data/spec/api/email_campaigns_api_spec.rb +4 -4
  342. data/spec/api/folders_api_spec.rb +3 -3
  343. data/spec/api/inbound_parsing_api_spec.rb +64 -0
  344. data/spec/api/lists_api_spec.rb +5 -5
  345. data/spec/api/master_account_api_spec.rb +108 -0
  346. data/spec/api/process_api_spec.rb +2 -2
  347. data/spec/api/reseller_api_spec.rb +1 -1
  348. data/spec/api/senders_api_spec.rb +1 -1
  349. data/spec/api/sms_campaigns_api_spec.rb +4 -4
  350. data/spec/api/transactional_emails_api_spec.rb +12 -21
  351. data/spec/api/transactional_sms_api_spec.rb +3 -3
  352. data/spec/api/webhooks_api_spec.rb +2 -1
  353. data/spec/api_client_spec.rb +18 -1
  354. data/spec/configuration_spec.rb +1 -1
  355. data/spec/models/ab_test_campaign_result_clicked_links_spec.rb +1 -1
  356. data/spec/models/ab_test_campaign_result_spec.rb +1 -1
  357. data/spec/models/ab_test_campaign_result_statistics_spec.rb +1 -1
  358. data/spec/models/ab_test_version_clicks_inner_spec.rb +1 -1
  359. data/spec/models/ab_test_version_clicks_spec.rb +1 -1
  360. data/spec/models/ab_test_version_stats_spec.rb +1 -1
  361. data/spec/models/add_child_domain_spec.rb +1 -1
  362. data/spec/models/add_contact_to_list_spec.rb +1 -1
  363. data/spec/models/add_credits_spec.rb +1 -1
  364. data/spec/models/block_domain_spec.rb +1 -1
  365. data/spec/models/body_1_spec.rb +101 -0
  366. data/spec/models/body_spec.rb +101 -0
  367. data/spec/models/contact_spec.rb +83 -0
  368. data/spec/models/create_attribute_enumeration_spec.rb +1 -1
  369. data/spec/models/create_attribute_spec.rb +1 -1
  370. data/spec/models/create_child_spec.rb +1 -1
  371. data/spec/models/create_contact_spec.rb +1 -1
  372. data/spec/models/create_doi_contact_spec.rb +1 -1
  373. data/spec/models/create_email_campaign_recipients_spec.rb +1 -1
  374. data/spec/models/create_email_campaign_sender_spec.rb +1 -1
  375. data/spec/models/create_email_campaign_spec.rb +1 -1
  376. data/spec/models/create_list_spec.rb +1 -1
  377. data/spec/models/create_model_spec.rb +1 -1
  378. data/spec/models/create_reseller_spec.rb +1 -1
  379. data/spec/models/create_sender_ips_spec.rb +1 -1
  380. data/spec/models/create_sender_model_spec.rb +1 -1
  381. data/spec/models/create_sender_spec.rb +1 -1
  382. data/spec/models/create_sms_campaign_recipients_spec.rb +1 -1
  383. data/spec/models/create_sms_campaign_spec.rb +7 -1
  384. data/spec/models/create_smtp_email_spec.rb +7 -1
  385. data/spec/models/create_smtp_template_sender_spec.rb +1 -1
  386. data/spec/models/create_smtp_template_spec.rb +1 -1
  387. data/spec/models/create_sub_account_spec.rb +57 -0
  388. data/spec/models/create_update_contact_model_spec.rb +1 -1
  389. data/spec/models/create_update_folder_spec.rb +1 -1
  390. data/spec/models/create_webhook_spec.rb +9 -3
  391. data/spec/models/created_process_id_spec.rb +1 -1
  392. data/spec/models/delete_hardbounces_spec.rb +1 -1
  393. data/spec/models/email_export_recipients_spec.rb +1 -1
  394. data/spec/models/error_model_spec.rb +1 -1
  395. data/spec/models/file_data_spec.rb +95 -0
  396. data/spec/models/get_account_marketing_automation_spec.rb +1 -1
  397. data/spec/models/get_account_plan_spec.rb +1 -1
  398. data/spec/models/get_account_relay_data_spec.rb +1 -1
  399. data/spec/models/get_account_relay_spec.rb +1 -1
  400. data/spec/models/get_account_spec.rb +1 -1
  401. data/spec/models/get_aggregated_report_spec.rb +1 -1
  402. data/spec/models/get_attributes_attributes_spec.rb +1 -1
  403. data/spec/models/get_attributes_enumeration_spec.rb +1 -1
  404. data/spec/models/get_attributes_spec.rb +1 -1
  405. data/spec/models/get_blocked_domains_spec.rb +1 -1
  406. data/spec/models/get_campaign_overview_spec.rb +1 -1
  407. data/spec/models/get_campaign_recipients_spec.rb +1 -1
  408. data/spec/models/get_campaign_stats_spec.rb +7 -1
  409. data/spec/models/get_child_account_creation_status_spec.rb +1 -1
  410. data/spec/models/get_child_domain_spec.rb +1 -1
  411. data/spec/models/get_child_domains_spec.rb +1 -1
  412. data/spec/models/get_child_info_api_keys_spec.rb +1 -1
  413. data/spec/models/get_child_info_api_keys_v2_spec.rb +1 -1
  414. data/spec/models/get_child_info_api_keys_v3_spec.rb +1 -1
  415. data/spec/models/get_child_info_credits_spec.rb +1 -1
  416. data/spec/models/get_child_info_spec.rb +1 -1
  417. data/spec/models/get_child_info_statistics_spec.rb +1 -1
  418. data/spec/models/get_children_list_spec.rb +1 -1
  419. data/spec/models/get_client_spec.rb +1 -1
  420. data/spec/models/get_contact_campaign_stats_clicked_spec.rb +1 -1
  421. data/spec/models/get_contact_campaign_stats_opened_spec.rb +1 -1
  422. data/spec/models/get_contact_campaign_stats_spec.rb +7 -1
  423. data/spec/models/get_contact_campaign_stats_transac_attributes_spec.rb +1 -1
  424. data/spec/models/get_contact_campaign_stats_unsubscriptions_spec.rb +1 -1
  425. data/spec/models/get_contact_details_spec.rb +1 -1
  426. data/spec/models/get_contacts_spec.rb +1 -1
  427. data/spec/models/get_device_browser_stats_spec.rb +1 -1
  428. data/spec/models/get_email_campaign_spec.rb +1 -1
  429. data/spec/models/get_email_campaigns_spec.rb +1 -1
  430. data/spec/models/get_email_event_report_events_spec.rb +1 -1
  431. data/spec/models/get_email_event_report_spec.rb +1 -1
  432. data/spec/models/get_extended_campaign_overview_sender_spec.rb +1 -1
  433. data/spec/models/get_extended_campaign_overview_spec.rb +1 -1
  434. data/spec/models/get_extended_campaign_stats_global_stats_spec.rb +35 -0
  435. data/spec/models/get_extended_campaign_stats_spec.rb +1 -1
  436. data/spec/models/get_extended_client_address_spec.rb +1 -1
  437. data/spec/models/get_extended_client_spec.rb +1 -1
  438. data/spec/models/get_extended_contact_details_spec.rb +1 -1
  439. data/spec/models/get_extended_contact_details_statistics_clicked_spec.rb +1 -1
  440. data/spec/models/get_extended_contact_details_statistics_delivered_spec.rb +47 -0
  441. data/spec/models/get_extended_contact_details_statistics_links_spec.rb +1 -1
  442. data/spec/models/get_extended_contact_details_statistics_messages_sent_spec.rb +1 -1
  443. data/spec/models/get_extended_contact_details_statistics_opened_spec.rb +1 -1
  444. data/spec/models/get_extended_contact_details_statistics_spec.rb +7 -1
  445. data/spec/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription_spec.rb +1 -1
  446. data/spec/models/get_extended_contact_details_statistics_unsubscriptions_spec.rb +1 -1
  447. data/spec/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription_spec.rb +1 -1
  448. data/spec/models/get_extended_list_campaign_stats_spec.rb +1 -1
  449. data/spec/models/get_extended_list_spec.rb +7 -1
  450. data/spec/models/get_folder_lists_spec.rb +1 -1
  451. data/spec/models/get_folder_spec.rb +1 -1
  452. data/spec/models/get_folders_spec.rb +1 -1
  453. data/spec/models/get_inbound_email_events_by_uuid_attachments_spec.rb +59 -0
  454. data/spec/models/get_inbound_email_events_by_uuid_logs_spec.rb +51 -0
  455. data/spec/models/get_inbound_email_events_by_uuid_spec.rb +83 -0
  456. data/spec/models/get_inbound_email_events_events_spec.rb +59 -0
  457. data/spec/models/get_inbound_email_events_spec.rb +41 -0
  458. data/spec/models/get_ip_from_sender_spec.rb +1 -1
  459. data/spec/models/get_ip_spec.rb +1 -1
  460. data/spec/models/get_ips_from_sender_spec.rb +1 -1
  461. data/spec/models/get_ips_spec.rb +1 -1
  462. data/spec/models/get_list_spec.rb +7 -1
  463. data/spec/models/get_lists_spec.rb +1 -1
  464. data/spec/models/get_process_spec.rb +1 -1
  465. data/spec/models/get_processes_spec.rb +1 -1
  466. data/spec/models/get_reports_reports_spec.rb +1 -1
  467. data/spec/models/get_reports_spec.rb +1 -1
  468. data/spec/models/get_senders_list_ips_spec.rb +1 -1
  469. data/spec/models/get_senders_list_senders_spec.rb +1 -1
  470. data/spec/models/get_senders_list_spec.rb +1 -1
  471. data/spec/models/get_shared_template_url_spec.rb +1 -1
  472. data/spec/models/get_sms_campaign_overview_spec.rb +1 -1
  473. data/spec/models/get_sms_campaign_recipients_spec.rb +35 -0
  474. data/spec/models/get_sms_campaign_spec.rb +1 -1
  475. data/spec/models/get_sms_campaign_stats_spec.rb +1 -1
  476. data/spec/models/get_sms_campaigns_spec.rb +1 -1
  477. data/spec/models/get_sms_event_report_events_spec.rb +1 -1
  478. data/spec/models/get_sms_event_report_spec.rb +1 -1
  479. data/spec/models/get_smtp_template_overview_sender_spec.rb +1 -1
  480. data/spec/models/get_smtp_template_overview_spec.rb +1 -1
  481. data/spec/models/get_smtp_templates_spec.rb +1 -1
  482. data/spec/models/get_sso_token_spec.rb +1 -1
  483. data/spec/models/get_stats_by_browser_spec.rb +1 -1
  484. data/spec/models/get_stats_by_device_spec.rb +1 -1
  485. data/spec/models/get_stats_by_domain_spec.rb +1 -1
  486. data/spec/models/get_transac_aggregated_sms_report_spec.rb +1 -1
  487. data/spec/models/get_transac_blocked_contacts_contacts_spec.rb +1 -1
  488. data/spec/models/get_transac_blocked_contacts_reason_spec.rb +1 -1
  489. data/spec/models/get_transac_blocked_contacts_spec.rb +1 -1
  490. data/spec/models/get_transac_email_content_events_spec.rb +1 -1
  491. data/spec/models/get_transac_email_content_spec.rb +1 -1
  492. data/spec/models/get_transac_emails_list_spec.rb +7 -1
  493. data/spec/models/get_transac_emails_list_transactional_emails_spec.rb +1 -1
  494. data/spec/models/get_transac_sms_report_reports_spec.rb +1 -1
  495. data/spec/models/get_transac_sms_report_spec.rb +1 -1
  496. data/spec/models/get_webhook_spec.rb +1 -1
  497. data/spec/models/get_webhooks_spec.rb +1 -1
  498. data/spec/models/manage_ip_spec.rb +1 -1
  499. data/spec/models/master_details_response_billing_info_address_spec.rb +65 -0
  500. data/spec/models/master_details_response_billing_info_name_spec.rb +47 -0
  501. data/spec/models/master_details_response_billing_info_spec.rb +59 -0
  502. data/spec/models/master_details_response_plan_info_features_spec.rb +65 -0
  503. data/spec/models/master_details_response_plan_info_spec.rb +75 -0
  504. data/spec/models/master_details_response_spec.rb +77 -0
  505. data/spec/models/note_data_spec.rb +53 -0
  506. data/spec/models/note_spec.rb +77 -0
  507. data/spec/models/post_contact_info_contacts_spec.rb +1 -1
  508. data/spec/models/post_contact_info_spec.rb +1 -1
  509. data/spec/models/post_send_failed_spec.rb +1 -1
  510. data/spec/models/post_send_sms_test_failed_spec.rb +1 -1
  511. data/spec/models/remaining_credit_model_child_spec.rb +1 -1
  512. data/spec/models/remaining_credit_model_reseller_spec.rb +1 -1
  513. data/spec/models/remaining_credit_model_spec.rb +1 -1
  514. data/spec/models/remove_contact_from_list_spec.rb +1 -1
  515. data/spec/models/remove_credits_spec.rb +1 -1
  516. data/spec/models/request_contact_export_custom_contact_filter_spec.rb +1 -1
  517. data/spec/models/request_contact_export_spec.rb +1 -7
  518. data/spec/models/request_contact_import_new_list_spec.rb +1 -1
  519. data/spec/models/request_contact_import_spec.rb +1 -1
  520. data/spec/models/request_sms_recipient_export_spec.rb +1 -1
  521. data/spec/models/send_report_email_spec.rb +1 -1
  522. data/spec/models/send_report_spec.rb +1 -1
  523. data/spec/models/send_sms_spec.rb +1 -1
  524. data/spec/models/send_smtp_email_attachment_spec.rb +1 -1
  525. data/spec/models/send_smtp_email_bcc_spec.rb +1 -1
  526. data/spec/models/send_smtp_email_cc_spec.rb +1 -1
  527. data/spec/models/send_smtp_email_message_versions_spec.rb +71 -0
  528. data/spec/models/send_smtp_email_reply_to_1_spec.rb +47 -0
  529. data/spec/models/send_smtp_email_reply_to_spec.rb +1 -1
  530. data/spec/models/send_smtp_email_sender_spec.rb +1 -1
  531. data/spec/models/send_smtp_email_spec.rb +7 -1
  532. data/spec/models/{send_email_attachment_spec.rb → send_smtp_email_to_1_spec.rb} +8 -8
  533. data/spec/models/send_smtp_email_to_spec.rb +1 -1
  534. data/spec/models/send_test_email_spec.rb +1 -1
  535. data/spec/models/send_test_sms_spec.rb +1 -1
  536. data/spec/models/send_transac_sms_spec.rb +7 -1
  537. data/spec/models/sso_token_request_spec.rb +47 -0
  538. data/spec/models/sub_account_details_response_plan_info_credits_emails_spec.rb +47 -0
  539. data/spec/models/sub_account_details_response_plan_info_credits_spec.rb +47 -0
  540. data/spec/models/sub_account_details_response_plan_info_features_inbox_spec.rb +47 -0
  541. data/spec/models/sub_account_details_response_plan_info_features_landing_page_spec.rb +47 -0
  542. data/spec/models/sub_account_details_response_plan_info_features_spec.rb +53 -0
  543. data/spec/models/sub_account_details_response_plan_info_features_users_spec.rb +47 -0
  544. data/spec/models/sub_account_details_response_plan_info_spec.rb +53 -0
  545. data/spec/models/sub_account_details_response_spec.rb +59 -0
  546. data/spec/models/sub_account_update_plan_request_credits_spec.rb +41 -0
  547. data/spec/models/sub_account_update_plan_request_features_spec.rb +53 -0
  548. data/spec/models/sub_account_update_plan_request_spec.rb +47 -0
  549. data/spec/models/sub_accounts_response_spec.rb +47 -0
  550. data/spec/models/sub_accounts_response_sub_accounts_spec.rb +59 -0
  551. data/spec/models/task_reminder_spec.rb +57 -0
  552. data/spec/models/task_spec.rb +137 -0
  553. data/spec/models/update_attribute_enumeration_spec.rb +1 -1
  554. data/spec/models/update_attribute_spec.rb +1 -1
  555. data/spec/models/{send_email_spec.rb → update_batch_contacts_contacts_spec.rb} +16 -16
  556. data/spec/models/update_batch_contacts_model_spec.rb +47 -0
  557. data/spec/models/{send_template_email_spec.rb → update_batch_contacts_spec.rb} +8 -8
  558. data/spec/models/update_campaign_status_spec.rb +1 -1
  559. data/spec/models/update_child_account_status_spec.rb +1 -1
  560. data/spec/models/update_child_domain_spec.rb +1 -1
  561. data/spec/models/update_child_spec.rb +1 -1
  562. data/spec/models/update_contact_spec.rb +1 -1
  563. data/spec/models/update_email_campaign_recipients_spec.rb +1 -1
  564. data/spec/models/update_email_campaign_sender_spec.rb +1 -1
  565. data/spec/models/update_email_campaign_spec.rb +1 -1
  566. data/spec/models/update_list_spec.rb +1 -1
  567. data/spec/models/update_sender_spec.rb +1 -1
  568. data/spec/models/update_sms_campaign_spec.rb +7 -1
  569. data/spec/models/update_smtp_template_sender_spec.rb +1 -1
  570. data/spec/models/update_smtp_template_spec.rb +1 -1
  571. data/spec/models/update_webhook_spec.rb +8 -2
  572. data/spec/models/upload_image_to_gallery_spec.rb +1 -1
  573. data/spec/spec_helper.rb +1 -1
  574. metadata +368 -178
  575. data/docs/SendEmail.md +0 -16
  576. data/docs/SendEmailAttachment.md +0 -9
  577. data/testfile.rb +0 -26
@@ -0,0 +1,11 @@
1
+ # SibApiV3Sdk::GetInboundEmailEventsByUuidAttachments
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | filename specified in the Content-Disposition header of the attachment | [optional]
7
+ **content_type** | **String** | value of the Content-Type header of the attachment | [optional]
8
+ **content_id** | **String** | value of the Content-ID header of the attachment. | [optional]
9
+ **content_length** | **Integer** | size of the attachment in bytes | [optional]
10
+
11
+
@@ -0,0 +1,9 @@
1
+ # SibApiV3Sdk::GetInboundEmailEventsByUuidLogs
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **date** | **DateTime** | Date of the event | [optional]
7
+ **type** | **String** | Type of the event | [optional]
8
+
9
+
@@ -0,0 +1,11 @@
1
+ # SibApiV3Sdk::GetInboundEmailEventsEvents
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **uuid** | **String** | UUID that can be used to fetch additional data |
7
+ **date** | **DateTime** | Date when email was received on SMTP relay |
8
+ **sender** | **String** | Sender’s email address |
9
+ **recipient** | **String** | Recipient’s email address |
10
+
11
+
data/docs/GetList.md CHANGED
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
7
7
  **name** | **String** | Name of the list |
8
8
  **total_blacklisted** | **Integer** | Number of blacklisted contacts in the list |
9
9
  **total_subscribers** | **Integer** | Number of contacts in the list |
10
+ **unique_subscribers** | **Integer** | Number of unique contacts in the list |
10
11
 
11
12
 
@@ -7,11 +7,11 @@ Name | Type | Description | Notes
7
7
  **name** | **String** | Name of the SMS Campaign |
8
8
  **status** | **String** | Status of the SMS Campaign |
9
9
  **content** | **String** | Content of the SMS Campaign |
10
- **scheduled_at** | **DateTime** | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | [optional]
10
+ **scheduled_at** | **String** | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | [optional]
11
11
  **sender** | **String** | Sender of the SMS Campaign |
12
- **created_at** | **DateTime** | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
13
- **modified_at** | **DateTime** | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
14
- **recipients** | **Object** | |
15
- **statistics** | **Object** | |
12
+ **created_at** | **String** | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
13
+ **modified_at** | **String** | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
14
+ **recipients** | [**GetSmsCampaignRecipients**](GetSmsCampaignRecipients.md) | |
15
+ **statistics** | [**GetSmsCampaignRecipients**](GetSmsCampaignRecipients.md) | |
16
16
 
17
17
 
@@ -7,9 +7,9 @@ Name | Type | Description | Notes
7
7
  **name** | **String** | Name of the SMS Campaign |
8
8
  **status** | **String** | Status of the SMS Campaign |
9
9
  **content** | **String** | Content of the SMS Campaign |
10
- **scheduled_at** | **DateTime** | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | [optional]
10
+ **scheduled_at** | **String** | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | [optional]
11
11
  **sender** | **String** | Sender of the SMS Campaign |
12
- **created_at** | **DateTime** | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
13
- **modified_at** | **DateTime** | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
12
+ **created_at** | **String** | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
13
+ **modified_at** | **String** | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
14
14
 
15
15
 
@@ -0,0 +1,7 @@
1
+ # SibApiV3Sdk::GetSmsCampaignRecipients
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+
7
+
@@ -4,7 +4,7 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **phone_number** | **String** | Phone number which has generated the event | [optional]
7
- **date** | **DateTime** | UTC date-time on which the event has been generated | [optional]
7
+ **date** | **String** | UTC date-time on which the event has been generated | [optional]
8
8
  **message_id** | **String** | Message ID which generated the event | [optional]
9
9
  **event** | **String** | Event which occurred | [optional]
10
10
  **reason** | **String** | Reason of bounce (only available if the event is hardbounce or softbounce) | [optional]
@@ -13,8 +13,8 @@ Name | Type | Description | Notes
13
13
  **to_field** | **String** | Customisation of the \"to\" field for the template |
14
14
  **tag** | **String** | Tag of the template |
15
15
  **html_content** | **String** | HTML content of the template |
16
- **created_at** | **DateTime** | Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) |
17
- **modified_at** | **DateTime** | Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) |
16
+ **created_at** | **String** | Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) |
17
+ **modified_at** | **String** | Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) |
18
18
  **doi_template** | **BOOLEAN** | It is true if template is a valid Double opt-in (DOI) template, otherwise it is false. This field will be available only in case of single template detail call. | [optional]
19
19
 
20
20
 
@@ -6,6 +6,6 @@ Name | Type | Description | Notes
6
6
  **email** | **String** | Email address of the blocked or unsubscribed contact |
7
7
  **sender_email** | **String** | Sender email address of the blocked or unsubscribed contact |
8
8
  **reason** | [**GetTransacBlockedContactsReason**](GetTransacBlockedContactsReason.md) | |
9
- **blocked_at** | **DateTime** | Date when the contact was blocked or unsubscribed on |
9
+ **blocked_at** | **String** | Date when the contact was blocked or unsubscribed on |
10
10
 
11
11
 
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  **email** | **String** | Email address to which transactional email has been sent |
7
7
  **subject** | **String** | Subject of the sent email |
8
8
  **template_id** | **Integer** | Id of the template | [optional]
9
- **date** | **DateTime** | Date on which transactional email was sent |
9
+ **date** | **String** | Date on which transactional email was sent |
10
10
  **events** | [**Array<GetTransacEmailContentEvents>**](GetTransacEmailContentEvents.md) | Series of events which occurred on the transactional email |
11
11
  **body** | **String** | Actual content of the transactional email that has been sent |
12
12
  **attachment_count** | **Integer** | Count of the attachments that were sent in the email |
@@ -4,6 +4,6 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **name** | **String** | Name of the event that occurred on the sent email |
7
- **time** | **DateTime** | Time at which the event occurred |
7
+ **time** | **String** | Time at which the event occurred |
8
8
 
9
9
 
@@ -3,6 +3,7 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
+ **count** | **Integer** | Total number of transactional emails available on your account according to the passed filter | [optional]
6
7
  **transactional_emails** | [**Array<GetTransacEmailsListTransactionalEmails>**](GetTransacEmailsListTransactionalEmails.md) | | [optional]
7
8
 
8
9
 
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **template_id** | **Integer** | Id of the template | [optional]
9
9
  **message_id** | **String** | Message Id of the sent email |
10
10
  **uuid** | **String** | Unique id of the email sent to a particular contact |
11
- **date** | **DateTime** | Date on which transactional email was sent |
11
+ **date** | **String** | Date on which transactional email was sent |
12
12
  **from** | **String** | Email address of the sender from which the email was sent | [optional]
13
13
  **tags** | **Array<String>** | Tags used for your email | [optional]
14
14
 
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
 
@@ -0,0 +1,139 @@
1
+ # SibApiV3Sdk::InboundParsingApi
2
+
3
+ All URIs are relative to *https://api.sendinblue.com/v3*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get_inbound_email_events**](InboundParsingApi.md#get_inbound_email_events) | **GET** /inbound/events | Get the list of all the events for the received emails.
8
+ [**get_inbound_email_events_by_uuid**](InboundParsingApi.md#get_inbound_email_events_by_uuid) | **GET** /inbound/events/{uuid} | Fetch all events history for one particular received email.
9
+
10
+
11
+ # **get_inbound_email_events**
12
+ > GetInboundEmailEvents get_inbound_email_events(opts)
13
+
14
+ Get the list of all the events for the received emails.
15
+
16
+ This endpoint will show the list of all the events for the received emails.
17
+
18
+ ### Example
19
+ ```ruby
20
+ # load the gem
21
+ require 'sib-api-v3-sdk'
22
+ # setup authorization
23
+ SibApiV3Sdk.configure do |config|
24
+ # Configure API key authorization: api-key
25
+ config.api_key['api-key'] = 'YOUR API KEY'
26
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
27
+ #config.api_key_prefix['api-key'] = 'Bearer'
28
+
29
+ # Configure API key authorization: partner-key
30
+ config.api_key['partner-key'] = 'YOUR API KEY'
31
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
32
+ #config.api_key_prefix['partner-key'] = 'Bearer'
33
+ end
34
+
35
+ api_instance = SibApiV3Sdk::InboundParsingApi.new
36
+
37
+ opts = {
38
+ sender: 'sender_example', # String | Email address of the sender.
39
+ start_date: Date.parse('2013-10-20'), # Date | Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month.
40
+ end_date: Date.parse('2013-10-20'), # Date | Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month.
41
+ limit: 100, # Integer | Number of documents returned per page
42
+ offset: 0, # Integer | Index of the first document on the page
43
+ sort: 'desc' # String | Sort the results in the ascending/descending order of record creation
44
+ }
45
+
46
+ begin
47
+ #Get the list of all the events for the received emails.
48
+ result = api_instance.get_inbound_email_events(opts)
49
+ p result
50
+ rescue SibApiV3Sdk::ApiError => e
51
+ puts "Exception when calling InboundParsingApi->get_inbound_email_events: #{e}"
52
+ end
53
+ ```
54
+
55
+ ### Parameters
56
+
57
+ Name | Type | Description | Notes
58
+ ------------- | ------------- | ------------- | -------------
59
+ **sender** | **String**| Email address of the sender. | [optional]
60
+ **start_date** | **Date**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. | [optional]
61
+ **end_date** | **Date**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. | [optional]
62
+ **limit** | **Integer**| Number of documents returned per page | [optional] [default to 100]
63
+ **offset** | **Integer**| Index of the first document on the page | [optional] [default to 0]
64
+ **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc]
65
+
66
+ ### Return type
67
+
68
+ [**GetInboundEmailEvents**](GetInboundEmailEvents.md)
69
+
70
+ ### Authorization
71
+
72
+ [api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
73
+
74
+ ### HTTP request headers
75
+
76
+ - **Content-Type**: application/json
77
+ - **Accept**: application/json
78
+
79
+
80
+
81
+ # **get_inbound_email_events_by_uuid**
82
+ > GetInboundEmailEventsByUuid get_inbound_email_events_by_uuid(uuid)
83
+
84
+ Fetch all events history for one particular received email.
85
+
86
+ This endpoint will show the list of all events history for one particular received email.
87
+
88
+ ### Example
89
+ ```ruby
90
+ # load the gem
91
+ require 'sib-api-v3-sdk'
92
+ # setup authorization
93
+ SibApiV3Sdk.configure do |config|
94
+ # Configure API key authorization: api-key
95
+ config.api_key['api-key'] = 'YOUR API KEY'
96
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
97
+ #config.api_key_prefix['api-key'] = 'Bearer'
98
+
99
+ # Configure API key authorization: partner-key
100
+ config.api_key['partner-key'] = 'YOUR API KEY'
101
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
102
+ #config.api_key_prefix['partner-key'] = 'Bearer'
103
+ end
104
+
105
+ api_instance = SibApiV3Sdk::InboundParsingApi.new
106
+
107
+ uuid = 'uuid_example' # String | UUID to fetch events specific to recieved email
108
+
109
+
110
+ begin
111
+ #Fetch all events history for one particular received email.
112
+ result = api_instance.get_inbound_email_events_by_uuid(uuid)
113
+ p result
114
+ rescue SibApiV3Sdk::ApiError => e
115
+ puts "Exception when calling InboundParsingApi->get_inbound_email_events_by_uuid: #{e}"
116
+ end
117
+ ```
118
+
119
+ ### Parameters
120
+
121
+ Name | Type | Description | Notes
122
+ ------------- | ------------- | ------------- | -------------
123
+ **uuid** | **String**| UUID to fetch events specific to recieved email |
124
+
125
+ ### Return type
126
+
127
+ [**GetInboundEmailEventsByUuid**](GetInboundEmailEventsByUuid.md)
128
+
129
+ ### Authorization
130
+
131
+ [api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
132
+
133
+ ### HTTP request headers
134
+
135
+ - **Content-Type**: application/json
136
+ - **Accept**: application/json
137
+
138
+
139
+
data/docs/ListsApi.md CHANGED
@@ -215,10 +215,10 @@ 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
- sort: 'desc' # String | Sort the results in the ascending/descending order of record creation
221
+ sort: 'desc' # String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
222
222
  }
223
223
 
224
224
  begin
@@ -235,10 +235,10 @@ 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
- **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc]
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]
242
242
 
243
243
  ### Return type
244
244
 
@@ -284,7 +284,7 @@ folder_id = 789 # Integer | Id of the folder
284
284
  opts = {
285
285
  limit: 10, # Integer | Number of documents per page
286
286
  offset: 0, # Integer | Index of the first document of the page
287
- sort: 'desc' # String | Sort the results in the ascending/descending order of record creation
287
+ sort: 'desc' # String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
288
288
  }
289
289
 
290
290
  begin
@@ -303,7 +303,7 @@ Name | Type | Description | Notes
303
303
  **folder_id** | **Integer**| Id of the folder |
304
304
  **limit** | **Integer**| Number of documents per page | [optional] [default to 10]
305
305
  **offset** | **Integer**| Index of the first document of the page | [optional] [default to 0]
306
- **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc]
306
+ **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]
307
307
 
308
308
  ### Return type
309
309
 
@@ -404,7 +404,7 @@ api_instance = SibApiV3Sdk::ListsApi.new
404
404
  opts = {
405
405
  limit: 10, # Integer | Number of documents per page
406
406
  offset: 0, # Integer | Index of the first document of the page
407
- sort: 'desc' # String | Sort the results in the ascending/descending order of record creation
407
+ sort: 'desc' # String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
408
408
  }
409
409
 
410
410
  begin
@@ -422,7 +422,7 @@ Name | Type | Description | Notes
422
422
  ------------- | ------------- | ------------- | -------------
423
423
  **limit** | **Integer**| Number of documents per page | [optional] [default to 10]
424
424
  **offset** | **Integer**| Index of the first document of the page | [optional] [default to 0]
425
- **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc]
425
+ **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]
426
426
 
427
427
  ### Return type
428
428