sib-api-v3-sdk 7.4.0 → 8.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (546) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +62 -4
  4. data/docs/Body.md +18 -0
  5. data/docs/Body1.md +18 -0
  6. data/docs/CRMApi.md +762 -0
  7. data/docs/Contact.md +15 -0
  8. data/docs/ContactsApi.md +63 -4
  9. data/docs/CreateSmsCampaign.md +1 -0
  10. data/docs/CreateSubAccount.md +11 -0
  11. data/docs/CreateWebhook.md +2 -1
  12. data/docs/FileData.md +17 -0
  13. data/docs/GetCampaignStats.md +1 -0
  14. data/docs/GetContactCampaignStats.md +1 -0
  15. data/docs/GetExtendedContactDetailsStatistics.md +1 -0
  16. data/docs/GetExtendedContactDetailsStatisticsDelivered.md +9 -0
  17. data/docs/GetExtendedList.md +1 -0
  18. data/docs/GetInboundEmailEvents.md +8 -0
  19. data/docs/GetInboundEmailEventsByUuid.md +15 -0
  20. data/docs/GetInboundEmailEventsByUuidAttachments.md +11 -0
  21. data/docs/GetInboundEmailEventsByUuidLogs.md +9 -0
  22. data/docs/GetInboundEmailEventsEvents.md +11 -0
  23. data/docs/GetList.md +1 -0
  24. data/docs/GetTransacEmailsList.md +1 -0
  25. data/docs/InboundParsingApi.md +139 -0
  26. data/docs/MasterAccountApi.md +424 -0
  27. data/docs/MasterDetailsResponse.md +14 -0
  28. data/docs/MasterDetailsResponseBillingInfo.md +11 -0
  29. data/docs/MasterDetailsResponseBillingInfoAddress.md +12 -0
  30. data/docs/MasterDetailsResponseBillingInfoName.md +9 -0
  31. data/docs/MasterDetailsResponsePlanInfo.md +13 -0
  32. data/docs/MasterDetailsResponsePlanInfoFeatures.md +12 -0
  33. data/docs/Note.md +14 -0
  34. data/docs/NoteData.md +10 -0
  35. data/docs/RequestContactExport.md +1 -2
  36. data/docs/RequestContactImport.md +3 -2
  37. data/docs/SendSmtpEmail.md +4 -4
  38. data/docs/SendTestEmail.md +1 -1
  39. data/docs/SendTransacSms.md +1 -0
  40. data/docs/SsoTokenRequest.md +9 -0
  41. data/docs/SubAccountDetailsResponse.md +11 -0
  42. data/docs/SubAccountDetailsResponsePlanInfo.md +10 -0
  43. data/docs/SubAccountDetailsResponsePlanInfoCredits.md +9 -0
  44. data/docs/SubAccountDetailsResponsePlanInfoCreditsEmails.md +9 -0
  45. data/docs/SubAccountDetailsResponsePlanInfoFeatures.md +10 -0
  46. data/docs/SubAccountDetailsResponsePlanInfoFeaturesInbox.md +9 -0
  47. data/docs/SubAccountDetailsResponsePlanInfoFeaturesLandingPage.md +9 -0
  48. data/docs/SubAccountDetailsResponsePlanInfoFeaturesUsers.md +9 -0
  49. data/docs/SubAccountUpdatePlanRequest.md +9 -0
  50. data/docs/SubAccountUpdatePlanRequestCredits.md +8 -0
  51. data/docs/SubAccountUpdatePlanRequestFeatures.md +10 -0
  52. data/docs/SubAccountsResponse.md +9 -0
  53. data/docs/SubAccountsResponseSubAccounts.md +11 -0
  54. data/docs/Task.md +24 -0
  55. data/docs/TaskReminder.md +10 -0
  56. data/docs/TaskTypes.md +10 -0
  57. data/docs/TransactionalEmailsApi.md +13 -68
  58. data/docs/UpdateBatchContacts.md +8 -0
  59. data/docs/UpdateBatchContactsContacts.md +16 -0
  60. data/docs/UpdateBatchContactsModel.md +9 -0
  61. data/docs/UpdateSmsCampaign.md +1 -0
  62. data/docs/UpdateWebhook.md +2 -1
  63. data/docs/WebhooksApi.md +3 -1
  64. data/lib/sib-api-v3-sdk/api/account_api.rb +1 -1
  65. data/lib/sib-api-v3-sdk/api/attributes_api.rb +1 -1
  66. data/lib/sib-api-v3-sdk/api/contacts_api.rb +58 -5
  67. data/lib/sib-api-v3-sdk/api/crm_api.rb +716 -0
  68. data/lib/sib-api-v3-sdk/api/email_campaigns_api.rb +1 -1
  69. data/lib/sib-api-v3-sdk/api/folders_api.rb +1 -1
  70. data/lib/sib-api-v3-sdk/api/inbound_parsing_api.rb +161 -0
  71. data/lib/sib-api-v3-sdk/api/lists_api.rb +1 -1
  72. data/lib/sib-api-v3-sdk/api/master_account_api.rb +416 -0
  73. data/lib/sib-api-v3-sdk/api/process_api.rb +1 -1
  74. data/lib/sib-api-v3-sdk/api/reseller_api.rb +1 -1
  75. data/lib/sib-api-v3-sdk/api/senders_api.rb +1 -1
  76. data/lib/sib-api-v3-sdk/api/sms_campaigns_api.rb +1 -1
  77. data/lib/sib-api-v3-sdk/api/transactional_emails_api.rb +21 -67
  78. data/lib/sib-api-v3-sdk/api/transactional_sms_api.rb +1 -1
  79. data/lib/sib-api-v3-sdk/api/webhooks_api.rb +9 -3
  80. data/lib/sib-api-v3-sdk/api_client.rb +3 -2
  81. data/lib/sib-api-v3-sdk/api_error.rb +1 -1
  82. data/lib/sib-api-v3-sdk/configuration.rb +1 -1
  83. data/lib/sib-api-v3-sdk/models/ab_test_campaign_result.rb +1 -1
  84. data/lib/sib-api-v3-sdk/models/ab_test_campaign_result_clicked_links.rb +1 -1
  85. data/lib/sib-api-v3-sdk/models/ab_test_campaign_result_statistics.rb +1 -1
  86. data/lib/sib-api-v3-sdk/models/ab_test_version_clicks.rb +1 -1
  87. data/lib/sib-api-v3-sdk/models/ab_test_version_clicks_inner.rb +1 -1
  88. data/lib/sib-api-v3-sdk/models/ab_test_version_stats.rb +1 -1
  89. data/lib/sib-api-v3-sdk/models/add_child_domain.rb +1 -1
  90. data/lib/sib-api-v3-sdk/models/add_contact_to_list.rb +1 -1
  91. data/lib/sib-api-v3-sdk/models/add_credits.rb +1 -1
  92. data/lib/sib-api-v3-sdk/models/block_domain.rb +1 -1
  93. data/lib/sib-api-v3-sdk/models/body.rb +305 -0
  94. data/lib/sib-api-v3-sdk/models/body_1.rb +305 -0
  95. data/lib/sib-api-v3-sdk/models/{send_email.rb → contact.rb} +65 -79
  96. data/lib/sib-api-v3-sdk/models/create_attribute.rb +1 -1
  97. data/lib/sib-api-v3-sdk/models/create_attribute_enumeration.rb +1 -1
  98. data/lib/sib-api-v3-sdk/models/create_child.rb +1 -1
  99. data/lib/sib-api-v3-sdk/models/create_contact.rb +1 -1
  100. data/lib/sib-api-v3-sdk/models/create_doi_contact.rb +1 -1
  101. data/lib/sib-api-v3-sdk/models/create_email_campaign.rb +1 -1
  102. data/lib/sib-api-v3-sdk/models/create_email_campaign_recipients.rb +1 -1
  103. data/lib/sib-api-v3-sdk/models/create_email_campaign_sender.rb +1 -1
  104. data/lib/sib-api-v3-sdk/models/create_list.rb +1 -1
  105. data/lib/sib-api-v3-sdk/models/create_model.rb +1 -1
  106. data/lib/sib-api-v3-sdk/models/create_reseller.rb +1 -1
  107. data/lib/sib-api-v3-sdk/models/create_sender.rb +1 -1
  108. data/lib/sib-api-v3-sdk/models/create_sender_ips.rb +1 -1
  109. data/lib/sib-api-v3-sdk/models/create_sender_model.rb +1 -1
  110. data/lib/sib-api-v3-sdk/models/create_sms_campaign.rb +17 -5
  111. data/lib/sib-api-v3-sdk/models/create_sms_campaign_recipients.rb +1 -1
  112. data/lib/sib-api-v3-sdk/models/create_smtp_email.rb +1 -1
  113. data/lib/sib-api-v3-sdk/models/create_smtp_template.rb +1 -1
  114. data/lib/sib-api-v3-sdk/models/create_smtp_template_sender.rb +1 -1
  115. data/lib/sib-api-v3-sdk/models/create_sub_account.rb +259 -0
  116. data/lib/sib-api-v3-sdk/models/create_update_contact_model.rb +1 -1
  117. data/lib/sib-api-v3-sdk/models/create_update_folder.rb +1 -1
  118. data/lib/sib-api-v3-sdk/models/create_webhook.rb +18 -8
  119. data/lib/sib-api-v3-sdk/models/created_process_id.rb +1 -1
  120. data/lib/sib-api-v3-sdk/models/delete_hardbounces.rb +1 -1
  121. data/lib/sib-api-v3-sdk/models/email_export_recipients.rb +1 -1
  122. data/lib/sib-api-v3-sdk/models/error_model.rb +1 -1
  123. data/lib/sib-api-v3-sdk/models/file_data.rb +278 -0
  124. data/lib/sib-api-v3-sdk/models/get_account.rb +1 -1
  125. data/lib/sib-api-v3-sdk/models/get_account_marketing_automation.rb +1 -1
  126. data/lib/sib-api-v3-sdk/models/get_account_plan.rb +1 -1
  127. data/lib/sib-api-v3-sdk/models/get_account_relay.rb +1 -1
  128. data/lib/sib-api-v3-sdk/models/get_account_relay_data.rb +1 -1
  129. data/lib/sib-api-v3-sdk/models/get_aggregated_report.rb +1 -1
  130. data/lib/sib-api-v3-sdk/models/get_attributes.rb +1 -1
  131. data/lib/sib-api-v3-sdk/models/get_attributes_attributes.rb +1 -1
  132. data/lib/sib-api-v3-sdk/models/get_attributes_enumeration.rb +1 -1
  133. data/lib/sib-api-v3-sdk/models/get_blocked_domains.rb +1 -1
  134. data/lib/sib-api-v3-sdk/models/get_campaign_overview.rb +1 -1
  135. data/lib/sib-api-v3-sdk/models/get_campaign_recipients.rb +1 -1
  136. data/lib/sib-api-v3-sdk/models/get_campaign_stats.rb +17 -2
  137. data/lib/sib-api-v3-sdk/models/get_child_account_creation_status.rb +1 -1
  138. data/lib/sib-api-v3-sdk/models/get_child_domain.rb +1 -1
  139. data/lib/sib-api-v3-sdk/models/get_child_domains.rb +1 -1
  140. data/lib/sib-api-v3-sdk/models/get_child_info.rb +1 -1
  141. data/lib/sib-api-v3-sdk/models/get_child_info_api_keys.rb +1 -1
  142. data/lib/sib-api-v3-sdk/models/get_child_info_api_keys_v2.rb +1 -1
  143. data/lib/sib-api-v3-sdk/models/get_child_info_api_keys_v3.rb +1 -1
  144. data/lib/sib-api-v3-sdk/models/get_child_info_credits.rb +1 -1
  145. data/lib/sib-api-v3-sdk/models/get_child_info_statistics.rb +1 -1
  146. data/lib/sib-api-v3-sdk/models/get_children_list.rb +1 -1
  147. data/lib/sib-api-v3-sdk/models/get_client.rb +1 -1
  148. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats.rb +16 -5
  149. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_clicked.rb +1 -1
  150. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_opened.rb +1 -1
  151. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_transac_attributes.rb +1 -1
  152. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_unsubscriptions.rb +1 -1
  153. data/lib/sib-api-v3-sdk/models/get_contact_details.rb +1 -1
  154. data/lib/sib-api-v3-sdk/models/get_contacts.rb +1 -1
  155. data/lib/sib-api-v3-sdk/models/get_device_browser_stats.rb +1 -1
  156. data/lib/sib-api-v3-sdk/models/get_email_campaign.rb +3 -3
  157. data/lib/sib-api-v3-sdk/models/get_email_campaigns.rb +1 -1
  158. data/lib/sib-api-v3-sdk/models/get_email_event_report.rb +1 -1
  159. data/lib/sib-api-v3-sdk/models/get_email_event_report_events.rb +3 -3
  160. data/lib/sib-api-v3-sdk/models/get_extended_campaign_overview.rb +1 -1
  161. data/lib/sib-api-v3-sdk/models/get_extended_campaign_overview_sender.rb +1 -1
  162. data/lib/sib-api-v3-sdk/models/get_extended_campaign_stats.rb +1 -1
  163. data/lib/sib-api-v3-sdk/models/get_extended_campaign_stats_global_stats.rb +1 -1
  164. data/lib/sib-api-v3-sdk/models/get_extended_client.rb +1 -1
  165. data/lib/sib-api-v3-sdk/models/get_extended_client_address.rb +1 -1
  166. data/lib/sib-api-v3-sdk/models/get_extended_contact_details.rb +1 -1
  167. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics.rb +17 -5
  168. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_clicked.rb +1 -1
  169. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_delivered.rb +205 -0
  170. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_links.rb +1 -1
  171. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_messages_sent.rb +1 -1
  172. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_opened.rb +1 -1
  173. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions.rb +1 -1
  174. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.rb +1 -1
  175. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.rb +1 -1
  176. data/lib/sib-api-v3-sdk/models/get_extended_list.rb +17 -2
  177. data/lib/sib-api-v3-sdk/models/get_extended_list_campaign_stats.rb +1 -1
  178. data/lib/sib-api-v3-sdk/models/get_folder.rb +1 -1
  179. data/lib/sib-api-v3-sdk/models/get_folder_lists.rb +1 -1
  180. data/lib/sib-api-v3-sdk/models/get_folders.rb +1 -1
  181. data/lib/sib-api-v3-sdk/models/{send_template_email.rb → get_inbound_email_events.rb} +11 -15
  182. data/lib/sib-api-v3-sdk/models/get_inbound_email_events_by_uuid.rb +259 -0
  183. data/lib/sib-api-v3-sdk/models/get_inbound_email_events_by_uuid_attachments.rb +215 -0
  184. data/lib/sib-api-v3-sdk/models/get_inbound_email_events_by_uuid_logs.rb +229 -0
  185. data/lib/sib-api-v3-sdk/models/get_inbound_email_events_events.rb +235 -0
  186. data/lib/sib-api-v3-sdk/models/get_ip.rb +1 -1
  187. data/lib/sib-api-v3-sdk/models/get_ip_from_sender.rb +1 -1
  188. data/lib/sib-api-v3-sdk/models/get_ips.rb +1 -1
  189. data/lib/sib-api-v3-sdk/models/get_ips_from_sender.rb +1 -1
  190. data/lib/sib-api-v3-sdk/models/get_list.rb +20 -5
  191. data/lib/sib-api-v3-sdk/models/get_lists.rb +1 -1
  192. data/lib/sib-api-v3-sdk/models/get_process.rb +1 -1
  193. data/lib/sib-api-v3-sdk/models/get_processes.rb +1 -1
  194. data/lib/sib-api-v3-sdk/models/get_reports.rb +1 -1
  195. data/lib/sib-api-v3-sdk/models/get_reports_reports.rb +1 -1
  196. data/lib/sib-api-v3-sdk/models/get_senders_list.rb +1 -1
  197. data/lib/sib-api-v3-sdk/models/get_senders_list_ips.rb +1 -1
  198. data/lib/sib-api-v3-sdk/models/get_senders_list_senders.rb +1 -1
  199. data/lib/sib-api-v3-sdk/models/get_shared_template_url.rb +1 -1
  200. data/lib/sib-api-v3-sdk/models/get_sms_campaign.rb +1 -1
  201. data/lib/sib-api-v3-sdk/models/get_sms_campaign_overview.rb +1 -1
  202. data/lib/sib-api-v3-sdk/models/get_sms_campaign_recipients.rb +1 -1
  203. data/lib/sib-api-v3-sdk/models/get_sms_campaign_stats.rb +1 -1
  204. data/lib/sib-api-v3-sdk/models/get_sms_campaigns.rb +1 -1
  205. data/lib/sib-api-v3-sdk/models/get_sms_event_report.rb +1 -1
  206. data/lib/sib-api-v3-sdk/models/get_sms_event_report_events.rb +1 -1
  207. data/lib/sib-api-v3-sdk/models/get_smtp_template_overview.rb +1 -1
  208. data/lib/sib-api-v3-sdk/models/get_smtp_template_overview_sender.rb +1 -1
  209. data/lib/sib-api-v3-sdk/models/get_smtp_templates.rb +1 -1
  210. data/lib/sib-api-v3-sdk/models/get_sso_token.rb +1 -1
  211. data/lib/sib-api-v3-sdk/models/get_stats_by_browser.rb +1 -1
  212. data/lib/sib-api-v3-sdk/models/get_stats_by_device.rb +1 -1
  213. data/lib/sib-api-v3-sdk/models/get_stats_by_domain.rb +1 -1
  214. data/lib/sib-api-v3-sdk/models/get_transac_aggregated_sms_report.rb +1 -1
  215. data/lib/sib-api-v3-sdk/models/get_transac_blocked_contacts.rb +1 -1
  216. data/lib/sib-api-v3-sdk/models/get_transac_blocked_contacts_contacts.rb +1 -1
  217. data/lib/sib-api-v3-sdk/models/get_transac_blocked_contacts_reason.rb +1 -1
  218. data/lib/sib-api-v3-sdk/models/get_transac_email_content.rb +1 -1
  219. data/lib/sib-api-v3-sdk/models/get_transac_email_content_events.rb +1 -1
  220. data/lib/sib-api-v3-sdk/models/get_transac_emails_list.rb +12 -2
  221. data/lib/sib-api-v3-sdk/models/get_transac_emails_list_transactional_emails.rb +1 -1
  222. data/lib/sib-api-v3-sdk/models/get_transac_sms_report.rb +1 -1
  223. data/lib/sib-api-v3-sdk/models/get_transac_sms_report_reports.rb +1 -1
  224. data/lib/sib-api-v3-sdk/models/get_webhook.rb +1 -1
  225. data/lib/sib-api-v3-sdk/models/get_webhooks.rb +1 -1
  226. data/lib/sib-api-v3-sdk/models/manage_ip.rb +1 -1
  227. data/lib/sib-api-v3-sdk/models/master_details_response.rb +243 -0
  228. data/lib/sib-api-v3-sdk/models/master_details_response_billing_info.rb +214 -0
  229. data/lib/sib-api-v3-sdk/models/master_details_response_billing_info_address.rb +226 -0
  230. data/lib/sib-api-v3-sdk/models/master_details_response_billing_info_name.rb +196 -0
  231. data/lib/sib-api-v3-sdk/models/master_details_response_plan_info.rb +272 -0
  232. data/lib/sib-api-v3-sdk/models/{send_email_attachment.rb → master_details_response_plan_info_features.rb} +46 -45
  233. data/lib/sib-api-v3-sdk/models/note.rb +283 -0
  234. data/lib/sib-api-v3-sdk/models/note_data.rb +243 -0
  235. data/lib/sib-api-v3-sdk/models/post_contact_info.rb +1 -1
  236. data/lib/sib-api-v3-sdk/models/post_contact_info_contacts.rb +1 -1
  237. data/lib/sib-api-v3-sdk/models/post_send_failed.rb +1 -1
  238. data/lib/sib-api-v3-sdk/models/post_send_sms_test_failed.rb +1 -1
  239. data/lib/sib-api-v3-sdk/models/remaining_credit_model.rb +1 -1
  240. data/lib/sib-api-v3-sdk/models/remaining_credit_model_child.rb +1 -1
  241. data/lib/sib-api-v3-sdk/models/remaining_credit_model_reseller.rb +1 -1
  242. data/lib/sib-api-v3-sdk/models/remove_contact_from_list.rb +1 -1
  243. data/lib/sib-api-v3-sdk/models/remove_credits.rb +1 -1
  244. data/lib/sib-api-v3-sdk/models/request_contact_export.rb +7 -12
  245. data/lib/sib-api-v3-sdk/models/request_contact_export_custom_contact_filter.rb +2 -2
  246. data/lib/sib-api-v3-sdk/models/request_contact_import.rb +16 -4
  247. data/lib/sib-api-v3-sdk/models/request_contact_import_new_list.rb +1 -1
  248. data/lib/sib-api-v3-sdk/models/request_sms_recipient_export.rb +1 -1
  249. data/lib/sib-api-v3-sdk/models/send_report.rb +1 -1
  250. data/lib/sib-api-v3-sdk/models/send_report_email.rb +1 -1
  251. data/lib/sib-api-v3-sdk/models/send_sms.rb +1 -1
  252. data/lib/sib-api-v3-sdk/models/send_smtp_email.rb +5 -5
  253. data/lib/sib-api-v3-sdk/models/send_smtp_email_attachment.rb +1 -1
  254. data/lib/sib-api-v3-sdk/models/send_smtp_email_bcc.rb +1 -1
  255. data/lib/sib-api-v3-sdk/models/send_smtp_email_cc.rb +1 -1
  256. data/lib/sib-api-v3-sdk/models/send_smtp_email_message_versions.rb +1 -1
  257. data/lib/sib-api-v3-sdk/models/send_smtp_email_reply_to.rb +1 -1
  258. data/lib/sib-api-v3-sdk/models/send_smtp_email_reply_to_1.rb +1 -1
  259. data/lib/sib-api-v3-sdk/models/send_smtp_email_sender.rb +1 -1
  260. data/lib/sib-api-v3-sdk/models/send_smtp_email_to.rb +1 -1
  261. data/lib/sib-api-v3-sdk/models/send_smtp_email_to_1.rb +1 -1
  262. data/lib/sib-api-v3-sdk/models/send_test_email.rb +2 -2
  263. data/lib/sib-api-v3-sdk/models/send_test_sms.rb +1 -1
  264. data/lib/sib-api-v3-sdk/models/send_transac_sms.rb +17 -5
  265. data/lib/sib-api-v3-sdk/models/sso_token_request.rb +200 -0
  266. data/lib/sib-api-v3-sdk/models/sub_account_details_response.rb +214 -0
  267. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info.rb +204 -0
  268. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_credits.rb +195 -0
  269. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_credits_emails.rb +196 -0
  270. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_features.rb +203 -0
  271. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_features_inbox.rb +196 -0
  272. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_features_landing_page.rb +196 -0
  273. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_features_users.rb +196 -0
  274. data/lib/sib-api-v3-sdk/models/sub_account_update_plan_request.rb +194 -0
  275. data/lib/sib-api-v3-sdk/models/sub_account_update_plan_request_credits.rb +186 -0
  276. data/lib/sib-api-v3-sdk/models/sub_account_update_plan_request_features.rb +206 -0
  277. data/lib/sib-api-v3-sdk/models/sub_accounts_response.rb +196 -0
  278. data/lib/sib-api-v3-sdk/models/sub_accounts_response_sub_accounts.rb +235 -0
  279. data/lib/sib-api-v3-sdk/models/task.rb +367 -0
  280. data/lib/sib-api-v3-sdk/models/task_reminder.rb +257 -0
  281. data/lib/sib-api-v3-sdk/models/task_types.rb +206 -0
  282. data/lib/sib-api-v3-sdk/models/update_attribute.rb +1 -1
  283. data/lib/sib-api-v3-sdk/models/update_attribute_enumeration.rb +1 -1
  284. data/lib/sib-api-v3-sdk/models/update_batch_contacts.rb +187 -0
  285. data/lib/sib-api-v3-sdk/models/update_batch_contacts_contacts.rb +273 -0
  286. data/lib/sib-api-v3-sdk/models/update_batch_contacts_model.rb +197 -0
  287. data/lib/sib-api-v3-sdk/models/update_campaign_status.rb +1 -1
  288. data/lib/sib-api-v3-sdk/models/update_child.rb +1 -1
  289. data/lib/sib-api-v3-sdk/models/update_child_account_status.rb +1 -1
  290. data/lib/sib-api-v3-sdk/models/update_child_domain.rb +1 -1
  291. data/lib/sib-api-v3-sdk/models/update_contact.rb +1 -1
  292. data/lib/sib-api-v3-sdk/models/update_email_campaign.rb +1 -1
  293. data/lib/sib-api-v3-sdk/models/update_email_campaign_recipients.rb +1 -1
  294. data/lib/sib-api-v3-sdk/models/update_email_campaign_sender.rb +1 -1
  295. data/lib/sib-api-v3-sdk/models/update_list.rb +1 -1
  296. data/lib/sib-api-v3-sdk/models/update_sender.rb +1 -1
  297. data/lib/sib-api-v3-sdk/models/update_sms_campaign.rb +17 -5
  298. data/lib/sib-api-v3-sdk/models/update_smtp_template.rb +1 -1
  299. data/lib/sib-api-v3-sdk/models/update_smtp_template_sender.rb +1 -1
  300. data/lib/sib-api-v3-sdk/models/update_webhook.rb +16 -6
  301. data/lib/sib-api-v3-sdk/models/upload_image_to_gallery.rb +1 -1
  302. data/lib/sib-api-v3-sdk/version.rb +2 -2
  303. data/lib/sib-api-v3-sdk.rb +43 -4
  304. data/sib-api-v3-sdk.gemspec +2 -1
  305. data/spec/api/account_api_spec.rb +1 -1
  306. data/spec/api/attributes_api_spec.rb +1 -1
  307. data/spec/api/contacts_api_spec.rb +15 -3
  308. data/spec/api/crm_api_spec.rb +180 -0
  309. data/spec/api/email_campaigns_api_spec.rb +1 -1
  310. data/spec/api/folders_api_spec.rb +1 -1
  311. data/spec/api/inbound_parsing_api_spec.rb +64 -0
  312. data/spec/api/lists_api_spec.rb +1 -1
  313. data/spec/api/master_account_api_spec.rb +119 -0
  314. data/spec/api/process_api_spec.rb +1 -1
  315. data/spec/api/reseller_api_spec.rb +1 -1
  316. data/spec/api/senders_api_spec.rb +1 -1
  317. data/spec/api/sms_campaigns_api_spec.rb +1 -1
  318. data/spec/api/transactional_emails_api_spec.rb +7 -16
  319. data/spec/api/transactional_sms_api_spec.rb +1 -1
  320. data/spec/api/webhooks_api_spec.rb +2 -1
  321. data/spec/api_client_spec.rb +1 -1
  322. data/spec/configuration_spec.rb +1 -1
  323. data/spec/models/ab_test_campaign_result_clicked_links_spec.rb +1 -1
  324. data/spec/models/ab_test_campaign_result_spec.rb +1 -1
  325. data/spec/models/ab_test_campaign_result_statistics_spec.rb +1 -1
  326. data/spec/models/ab_test_version_clicks_inner_spec.rb +1 -1
  327. data/spec/models/ab_test_version_clicks_spec.rb +1 -1
  328. data/spec/models/ab_test_version_stats_spec.rb +1 -1
  329. data/spec/models/add_child_domain_spec.rb +1 -1
  330. data/spec/models/add_contact_to_list_spec.rb +1 -1
  331. data/spec/models/add_credits_spec.rb +1 -1
  332. data/spec/models/block_domain_spec.rb +1 -1
  333. data/spec/models/body_1_spec.rb +101 -0
  334. data/spec/models/body_spec.rb +101 -0
  335. data/spec/models/contact_spec.rb +83 -0
  336. data/spec/models/create_attribute_enumeration_spec.rb +1 -1
  337. data/spec/models/create_attribute_spec.rb +1 -1
  338. data/spec/models/create_child_spec.rb +1 -1
  339. data/spec/models/create_contact_spec.rb +1 -1
  340. data/spec/models/create_doi_contact_spec.rb +1 -1
  341. data/spec/models/create_email_campaign_recipients_spec.rb +1 -1
  342. data/spec/models/create_email_campaign_sender_spec.rb +1 -1
  343. data/spec/models/create_email_campaign_spec.rb +1 -1
  344. data/spec/models/create_list_spec.rb +1 -1
  345. data/spec/models/create_model_spec.rb +1 -1
  346. data/spec/models/create_reseller_spec.rb +1 -1
  347. data/spec/models/create_sender_ips_spec.rb +1 -1
  348. data/spec/models/create_sender_model_spec.rb +1 -1
  349. data/spec/models/create_sender_spec.rb +1 -1
  350. data/spec/models/create_sms_campaign_recipients_spec.rb +1 -1
  351. data/spec/models/create_sms_campaign_spec.rb +7 -1
  352. data/spec/models/create_smtp_email_spec.rb +1 -1
  353. data/spec/models/create_smtp_template_sender_spec.rb +1 -1
  354. data/spec/models/create_smtp_template_spec.rb +1 -1
  355. data/spec/models/create_sub_account_spec.rb +63 -0
  356. data/spec/models/create_update_contact_model_spec.rb +1 -1
  357. data/spec/models/create_update_folder_spec.rb +1 -1
  358. data/spec/models/create_webhook_spec.rb +9 -3
  359. data/spec/models/created_process_id_spec.rb +1 -1
  360. data/spec/models/delete_hardbounces_spec.rb +1 -1
  361. data/spec/models/email_export_recipients_spec.rb +1 -1
  362. data/spec/models/error_model_spec.rb +1 -1
  363. data/spec/models/file_data_spec.rb +95 -0
  364. data/spec/models/get_account_marketing_automation_spec.rb +1 -1
  365. data/spec/models/get_account_plan_spec.rb +1 -1
  366. data/spec/models/get_account_relay_data_spec.rb +1 -1
  367. data/spec/models/get_account_relay_spec.rb +1 -1
  368. data/spec/models/get_account_spec.rb +1 -1
  369. data/spec/models/get_aggregated_report_spec.rb +1 -1
  370. data/spec/models/get_attributes_attributes_spec.rb +1 -1
  371. data/spec/models/get_attributes_enumeration_spec.rb +1 -1
  372. data/spec/models/get_attributes_spec.rb +1 -1
  373. data/spec/models/get_blocked_domains_spec.rb +1 -1
  374. data/spec/models/get_campaign_overview_spec.rb +1 -1
  375. data/spec/models/get_campaign_recipients_spec.rb +1 -1
  376. data/spec/models/get_campaign_stats_spec.rb +7 -1
  377. data/spec/models/get_child_account_creation_status_spec.rb +1 -1
  378. data/spec/models/get_child_domain_spec.rb +1 -1
  379. data/spec/models/get_child_domains_spec.rb +1 -1
  380. data/spec/models/get_child_info_api_keys_spec.rb +1 -1
  381. data/spec/models/get_child_info_api_keys_v2_spec.rb +1 -1
  382. data/spec/models/get_child_info_api_keys_v3_spec.rb +1 -1
  383. data/spec/models/get_child_info_credits_spec.rb +1 -1
  384. data/spec/models/get_child_info_spec.rb +1 -1
  385. data/spec/models/get_child_info_statistics_spec.rb +1 -1
  386. data/spec/models/get_children_list_spec.rb +1 -1
  387. data/spec/models/get_client_spec.rb +1 -1
  388. data/spec/models/get_contact_campaign_stats_clicked_spec.rb +1 -1
  389. data/spec/models/get_contact_campaign_stats_opened_spec.rb +1 -1
  390. data/spec/models/get_contact_campaign_stats_spec.rb +7 -1
  391. data/spec/models/get_contact_campaign_stats_transac_attributes_spec.rb +1 -1
  392. data/spec/models/get_contact_campaign_stats_unsubscriptions_spec.rb +1 -1
  393. data/spec/models/get_contact_details_spec.rb +1 -1
  394. data/spec/models/get_contacts_spec.rb +1 -1
  395. data/spec/models/get_device_browser_stats_spec.rb +1 -1
  396. data/spec/models/get_email_campaign_spec.rb +1 -1
  397. data/spec/models/get_email_campaigns_spec.rb +1 -1
  398. data/spec/models/get_email_event_report_events_spec.rb +2 -2
  399. data/spec/models/get_email_event_report_spec.rb +1 -1
  400. data/spec/models/get_extended_campaign_overview_sender_spec.rb +1 -1
  401. data/spec/models/get_extended_campaign_overview_spec.rb +1 -1
  402. data/spec/models/get_extended_campaign_stats_global_stats_spec.rb +1 -1
  403. data/spec/models/get_extended_campaign_stats_spec.rb +1 -1
  404. data/spec/models/get_extended_client_address_spec.rb +1 -1
  405. data/spec/models/get_extended_client_spec.rb +1 -1
  406. data/spec/models/get_extended_contact_details_spec.rb +1 -1
  407. data/spec/models/get_extended_contact_details_statistics_clicked_spec.rb +1 -1
  408. data/spec/models/get_extended_contact_details_statistics_delivered_spec.rb +47 -0
  409. data/spec/models/get_extended_contact_details_statistics_links_spec.rb +1 -1
  410. data/spec/models/get_extended_contact_details_statistics_messages_sent_spec.rb +1 -1
  411. data/spec/models/get_extended_contact_details_statistics_opened_spec.rb +1 -1
  412. data/spec/models/get_extended_contact_details_statistics_spec.rb +7 -1
  413. data/spec/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription_spec.rb +1 -1
  414. data/spec/models/get_extended_contact_details_statistics_unsubscriptions_spec.rb +1 -1
  415. data/spec/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription_spec.rb +1 -1
  416. data/spec/models/get_extended_list_campaign_stats_spec.rb +1 -1
  417. data/spec/models/get_extended_list_spec.rb +7 -1
  418. data/spec/models/get_folder_lists_spec.rb +1 -1
  419. data/spec/models/get_folder_spec.rb +1 -1
  420. data/spec/models/get_folders_spec.rb +1 -1
  421. data/spec/models/get_inbound_email_events_by_uuid_attachments_spec.rb +59 -0
  422. data/spec/models/get_inbound_email_events_by_uuid_logs_spec.rb +51 -0
  423. data/spec/models/get_inbound_email_events_by_uuid_spec.rb +83 -0
  424. data/spec/models/get_inbound_email_events_events_spec.rb +59 -0
  425. data/spec/models/get_inbound_email_events_spec.rb +41 -0
  426. data/spec/models/get_ip_from_sender_spec.rb +1 -1
  427. data/spec/models/get_ip_spec.rb +1 -1
  428. data/spec/models/get_ips_from_sender_spec.rb +1 -1
  429. data/spec/models/get_ips_spec.rb +1 -1
  430. data/spec/models/get_list_spec.rb +7 -1
  431. data/spec/models/get_lists_spec.rb +1 -1
  432. data/spec/models/get_process_spec.rb +1 -1
  433. data/spec/models/get_processes_spec.rb +1 -1
  434. data/spec/models/get_reports_reports_spec.rb +1 -1
  435. data/spec/models/get_reports_spec.rb +1 -1
  436. data/spec/models/get_senders_list_ips_spec.rb +1 -1
  437. data/spec/models/get_senders_list_senders_spec.rb +1 -1
  438. data/spec/models/get_senders_list_spec.rb +1 -1
  439. data/spec/models/get_shared_template_url_spec.rb +1 -1
  440. data/spec/models/get_sms_campaign_overview_spec.rb +1 -1
  441. data/spec/models/get_sms_campaign_recipients_spec.rb +1 -1
  442. data/spec/models/get_sms_campaign_spec.rb +1 -1
  443. data/spec/models/get_sms_campaign_stats_spec.rb +1 -1
  444. data/spec/models/get_sms_campaigns_spec.rb +1 -1
  445. data/spec/models/get_sms_event_report_events_spec.rb +1 -1
  446. data/spec/models/get_sms_event_report_spec.rb +1 -1
  447. data/spec/models/get_smtp_template_overview_sender_spec.rb +1 -1
  448. data/spec/models/get_smtp_template_overview_spec.rb +1 -1
  449. data/spec/models/get_smtp_templates_spec.rb +1 -1
  450. data/spec/models/get_sso_token_spec.rb +1 -1
  451. data/spec/models/get_stats_by_browser_spec.rb +1 -1
  452. data/spec/models/get_stats_by_device_spec.rb +1 -1
  453. data/spec/models/get_stats_by_domain_spec.rb +1 -1
  454. data/spec/models/get_transac_aggregated_sms_report_spec.rb +1 -1
  455. data/spec/models/get_transac_blocked_contacts_contacts_spec.rb +1 -1
  456. data/spec/models/get_transac_blocked_contacts_reason_spec.rb +1 -1
  457. data/spec/models/get_transac_blocked_contacts_spec.rb +1 -1
  458. data/spec/models/get_transac_email_content_events_spec.rb +1 -1
  459. data/spec/models/get_transac_email_content_spec.rb +1 -1
  460. data/spec/models/get_transac_emails_list_spec.rb +7 -1
  461. data/spec/models/get_transac_emails_list_transactional_emails_spec.rb +1 -1
  462. data/spec/models/get_transac_sms_report_reports_spec.rb +1 -1
  463. data/spec/models/get_transac_sms_report_spec.rb +1 -1
  464. data/spec/models/get_webhook_spec.rb +1 -1
  465. data/spec/models/get_webhooks_spec.rb +1 -1
  466. data/spec/models/manage_ip_spec.rb +1 -1
  467. data/spec/models/master_details_response_billing_info_address_spec.rb +65 -0
  468. data/spec/models/master_details_response_billing_info_name_spec.rb +47 -0
  469. data/spec/models/master_details_response_billing_info_spec.rb +59 -0
  470. data/spec/models/master_details_response_plan_info_features_spec.rb +65 -0
  471. data/spec/models/master_details_response_plan_info_spec.rb +75 -0
  472. data/spec/models/master_details_response_spec.rb +77 -0
  473. data/spec/models/note_data_spec.rb +53 -0
  474. data/spec/models/note_spec.rb +77 -0
  475. data/spec/models/post_contact_info_contacts_spec.rb +1 -1
  476. data/spec/models/post_contact_info_spec.rb +1 -1
  477. data/spec/models/post_send_failed_spec.rb +1 -1
  478. data/spec/models/post_send_sms_test_failed_spec.rb +1 -1
  479. data/spec/models/remaining_credit_model_child_spec.rb +1 -1
  480. data/spec/models/remaining_credit_model_reseller_spec.rb +1 -1
  481. data/spec/models/remaining_credit_model_spec.rb +1 -1
  482. data/spec/models/remove_contact_from_list_spec.rb +1 -1
  483. data/spec/models/remove_credits_spec.rb +1 -1
  484. data/spec/models/request_contact_export_custom_contact_filter_spec.rb +1 -1
  485. data/spec/models/request_contact_export_spec.rb +1 -7
  486. data/spec/models/request_contact_import_new_list_spec.rb +1 -1
  487. data/spec/models/request_contact_import_spec.rb +7 -1
  488. data/spec/models/request_sms_recipient_export_spec.rb +1 -1
  489. data/spec/models/send_report_email_spec.rb +1 -1
  490. data/spec/models/send_report_spec.rb +1 -1
  491. data/spec/models/send_sms_spec.rb +1 -1
  492. data/spec/models/send_smtp_email_attachment_spec.rb +1 -1
  493. data/spec/models/send_smtp_email_bcc_spec.rb +1 -1
  494. data/spec/models/send_smtp_email_cc_spec.rb +1 -1
  495. data/spec/models/send_smtp_email_message_versions_spec.rb +1 -1
  496. data/spec/models/send_smtp_email_reply_to_1_spec.rb +1 -1
  497. data/spec/models/send_smtp_email_reply_to_spec.rb +1 -1
  498. data/spec/models/send_smtp_email_sender_spec.rb +1 -1
  499. data/spec/models/send_smtp_email_spec.rb +1 -1
  500. data/spec/models/send_smtp_email_to_1_spec.rb +1 -1
  501. data/spec/models/send_smtp_email_to_spec.rb +1 -1
  502. data/spec/models/send_test_email_spec.rb +1 -1
  503. data/spec/models/send_test_sms_spec.rb +1 -1
  504. data/spec/models/send_transac_sms_spec.rb +7 -1
  505. data/spec/models/{send_email_attachment_spec.rb → sso_token_request_spec.rb} +9 -9
  506. data/spec/models/sub_account_details_response_plan_info_credits_emails_spec.rb +47 -0
  507. data/spec/models/sub_account_details_response_plan_info_credits_spec.rb +47 -0
  508. data/spec/models/sub_account_details_response_plan_info_features_inbox_spec.rb +47 -0
  509. data/spec/models/sub_account_details_response_plan_info_features_landing_page_spec.rb +47 -0
  510. data/spec/models/sub_account_details_response_plan_info_features_spec.rb +53 -0
  511. data/spec/models/sub_account_details_response_plan_info_features_users_spec.rb +47 -0
  512. data/spec/models/sub_account_details_response_plan_info_spec.rb +53 -0
  513. data/spec/models/sub_account_details_response_spec.rb +59 -0
  514. data/spec/models/sub_account_update_plan_request_credits_spec.rb +41 -0
  515. data/spec/models/sub_account_update_plan_request_features_spec.rb +53 -0
  516. data/spec/models/sub_account_update_plan_request_spec.rb +47 -0
  517. data/spec/models/sub_accounts_response_spec.rb +47 -0
  518. data/spec/models/sub_accounts_response_sub_accounts_spec.rb +59 -0
  519. data/spec/models/task_reminder_spec.rb +57 -0
  520. data/spec/models/task_spec.rb +137 -0
  521. data/spec/models/task_types_spec.rb +53 -0
  522. data/spec/models/update_attribute_enumeration_spec.rb +1 -1
  523. data/spec/models/update_attribute_spec.rb +1 -1
  524. data/spec/models/{send_email_spec.rb → update_batch_contacts_contacts_spec.rb} +16 -16
  525. data/spec/models/update_batch_contacts_model_spec.rb +47 -0
  526. data/spec/models/{send_template_email_spec.rb → update_batch_contacts_spec.rb} +8 -8
  527. data/spec/models/update_campaign_status_spec.rb +1 -1
  528. data/spec/models/update_child_account_status_spec.rb +1 -1
  529. data/spec/models/update_child_domain_spec.rb +1 -1
  530. data/spec/models/update_child_spec.rb +1 -1
  531. data/spec/models/update_contact_spec.rb +1 -1
  532. data/spec/models/update_email_campaign_recipients_spec.rb +1 -1
  533. data/spec/models/update_email_campaign_sender_spec.rb +1 -1
  534. data/spec/models/update_email_campaign_spec.rb +1 -1
  535. data/spec/models/update_list_spec.rb +1 -1
  536. data/spec/models/update_sender_spec.rb +1 -1
  537. data/spec/models/update_sms_campaign_spec.rb +7 -1
  538. data/spec/models/update_smtp_template_sender_spec.rb +1 -1
  539. data/spec/models/update_smtp_template_spec.rb +1 -1
  540. data/spec/models/update_webhook_spec.rb +8 -2
  541. data/spec/models/upload_image_to_gallery_spec.rb +1 -1
  542. data/spec/spec_helper.rb +1 -1
  543. metadata +357 -182
  544. data/docs/SendEmail.md +0 -16
  545. data/docs/SendEmailAttachment.md +0 -9
  546. data/docs/SendTemplateEmail.md +0 -8
@@ -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.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -0,0 +1,101 @@
1
+ =begin
2
+ #SendinBlue API
3
+
4
+ #SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
5
+
6
+ OpenAPI spec version: 3.0.0
7
+ Contact: contact@sendinblue.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.19
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SibApiV3Sdk::Body1
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'Body1' do
21
+ before do
22
+ # run before each test
23
+ @instance = SibApiV3Sdk::Body1.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of Body1' do
31
+ it 'should create an instance of Body1' do
32
+ expect(@instance).to be_instance_of(SibApiV3Sdk::Body1)
33
+ end
34
+ end
35
+ describe 'test attribute "name"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "duration"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "task_type_id"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "date"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "notes"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "done"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "assign_to_id"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "contacts_ids"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "deals_ids"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "companies_ids"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ describe 'test attribute "reminder"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ end
@@ -0,0 +1,101 @@
1
+ =begin
2
+ #SendinBlue API
3
+
4
+ #SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
5
+
6
+ OpenAPI spec version: 3.0.0
7
+ Contact: contact@sendinblue.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.19
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SibApiV3Sdk::Body
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'Body' do
21
+ before do
22
+ # run before each test
23
+ @instance = SibApiV3Sdk::Body.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of Body' do
31
+ it 'should create an instance of Body' do
32
+ expect(@instance).to be_instance_of(SibApiV3Sdk::Body)
33
+ end
34
+ end
35
+ describe 'test attribute "name"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "duration"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "task_type_id"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "date"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "notes"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "done"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "assign_to_id"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "contacts_ids"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "deals_ids"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "companies_ids"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ describe 'test attribute "reminder"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ end
@@ -0,0 +1,83 @@
1
+ =begin
2
+ #SendinBlue API
3
+
4
+ #SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
5
+
6
+ OpenAPI spec version: 3.0.0
7
+ Contact: contact@sendinblue.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.19
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SibApiV3Sdk::Contact
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'Contact' do
21
+ before do
22
+ # run before each test
23
+ @instance = SibApiV3Sdk::Contact.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of Contact' do
31
+ it 'should create an instance of Contact' do
32
+ expect(@instance).to be_instance_of(SibApiV3Sdk::Contact)
33
+ end
34
+ end
35
+ describe 'test attribute "virtual_next_task"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "email"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "assign_to_id"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "contacts_id"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "crm_lists"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "attributes"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "created_at"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "updated_at"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 3.0.0
7
7
  Contact: contact@sendinblue.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -62,4 +62,10 @@ describe 'CreateSmsCampaign' do
62
62
  end
63
63
  end
64
64
 
65
+ describe 'test attribute "unicode_enabled"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
65
71
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 3.0.0
7
7
  Contact: contact@sendinblue.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -0,0 +1,63 @@
1
+ =begin
2
+ #SendinBlue API
3
+
4
+ #SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
5
+
6
+ OpenAPI spec version: 3.0.0
7
+ Contact: contact@sendinblue.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.19
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SibApiV3Sdk::CreateSubAccount
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'CreateSubAccount' do
21
+ before do
22
+ # run before each test
23
+ @instance = SibApiV3Sdk::CreateSubAccount.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of CreateSubAccount' do
31
+ it 'should create an instance of CreateSubAccount' do
32
+ expect(@instance).to be_instance_of(SibApiV3Sdk::CreateSubAccount)
33
+ end
34
+ end
35
+ describe 'test attribute "company_name"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "email"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "language"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["en", "fr", "it", "es", "pt", "de"])
51
+ # validator.allowable_values.each do |value|
52
+ # expect { @instance.language = value }.not_to raise_error
53
+ # end
54
+ end
55
+ end
56
+
57
+ describe 'test attribute "timezone"' do
58
+ it 'should work' do
59
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
60
+ end
61
+ end
62
+
63
+ end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 3.0.0
7
7
  Contact: contact@sendinblue.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -47,7 +47,7 @@ describe 'CreateWebhook' do
47
47
  describe 'test attribute "events"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["sent", "hardBounce", "softBounce", "blocked", "spam", "delivered", "request", "click", "invalid", "deferred", "opened", "uniqueOpened", "unsubscribed", "listAddition", "contactUpdated", "contactDeleted"])
50
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["sent", "hardBounce", "softBounce", "blocked", "spam", "delivered", "request", "click", "invalid", "deferred", "opened", "uniqueOpened", "unsubscribed", "listAddition", "contactUpdated", "contactDeleted", "inboundEmailProcessed"])
51
51
  # validator.allowable_values.each do |value|
52
52
  # expect { @instance.events = value }.not_to raise_error
53
53
  # end
@@ -57,11 +57,17 @@ describe 'CreateWebhook' do
57
57
  describe 'test attribute "type"' do
58
58
  it 'should work' do
59
59
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
60
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["transactional", "marketing"])
60
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["transactional", "marketing", "inbound"])
61
61
  # validator.allowable_values.each do |value|
62
62
  # expect { @instance.type = value }.not_to raise_error
63
63
  # end
64
64
  end
65
65
  end
66
66
 
67
+ describe 'test attribute "domain"' do
68
+ it 'should work' do
69
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
70
+ end
71
+ end
72
+
67
73
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 3.0.0
7
7
  Contact: contact@sendinblue.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
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.18
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12