sib-api-v3-sdk 7.5.0 → 9.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (317) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +130 -4
  4. data/docs/Body.md +9 -0
  5. data/docs/Body1.md +9 -0
  6. data/docs/Body10.md +11 -0
  7. data/docs/{SendTemplateEmail.md → Body11.md} +2 -2
  8. data/docs/Body12.md +11 -0
  9. data/docs/Body2.md +11 -0
  10. data/docs/Body3.md +9 -0
  11. data/docs/Body4.md +9 -0
  12. data/docs/Body5.md +11 -0
  13. data/docs/Body6.md +18 -0
  14. data/docs/Body7.md +17 -0
  15. data/docs/Body8.md +13 -0
  16. data/docs/Body9.md +8 -0
  17. data/docs/CompaniesApi.md +425 -0
  18. data/docs/CompaniesList.md +8 -0
  19. data/docs/Company.md +11 -0
  20. data/docs/CompanyAttributes.md +7 -0
  21. data/docs/CompanyAttributesInner.md +12 -0
  22. data/docs/ContactsApi.md +69 -4
  23. data/docs/ConversationsApi.md +542 -0
  24. data/docs/ConversationsMessage.md +17 -0
  25. data/docs/ConversationsMessageFile.md +12 -0
  26. data/docs/ConversationsMessageFileImageInfo.md +10 -0
  27. data/docs/CreateContact.md +1 -1
  28. data/docs/CreateSmsCampaign.md +1 -0
  29. data/docs/CreateSubAccount.md +11 -0
  30. data/docs/CreateSubAccountResponse.md +8 -0
  31. data/docs/CreateWebhook.md +2 -1
  32. data/docs/Deal.md +11 -0
  33. data/docs/DealAttributes.md +7 -0
  34. data/docs/DealAttributesInner.md +12 -0
  35. data/docs/DealsApi.md +476 -0
  36. data/docs/DealsList.md +8 -0
  37. data/docs/EmailCampaignsApi.md +6 -5
  38. data/docs/FileData.md +14 -0
  39. data/docs/FileDownloadableLink.md +8 -0
  40. data/docs/FileList.md +7 -0
  41. data/docs/FilesApi.md +318 -0
  42. data/docs/GetCampaignStats.md +3 -0
  43. data/docs/GetContactCampaignStats.md +1 -0
  44. data/docs/GetExtendedContactDetailsStatistics.md +1 -0
  45. data/docs/GetExtendedContactDetailsStatisticsDelivered.md +9 -0
  46. data/docs/GetInboundEmailEvents.md +8 -0
  47. data/docs/GetInboundEmailEventsByUuid.md +15 -0
  48. data/docs/GetInboundEmailEventsByUuidAttachments.md +11 -0
  49. data/docs/GetInboundEmailEventsByUuidLogs.md +9 -0
  50. data/docs/GetInboundEmailEventsEvents.md +11 -0
  51. data/docs/GetScheduledEmailByBatchId.md +9 -0
  52. data/docs/GetScheduledEmailByBatchIdBatches.md +10 -0
  53. data/docs/GetScheduledEmailByMessageId.md +10 -0
  54. data/docs/GetSsoToken.md +1 -1
  55. data/docs/InboundParsingApi.md +199 -0
  56. data/docs/InlineResponse200.md +8 -0
  57. data/docs/InlineResponse201.md +8 -0
  58. data/docs/InlineResponse2011.md +8 -0
  59. data/docs/MasterAccountApi.md +424 -0
  60. data/docs/MasterDetailsResponse.md +14 -0
  61. data/docs/MasterDetailsResponseBillingInfo.md +11 -0
  62. data/docs/MasterDetailsResponseBillingInfoAddress.md +12 -0
  63. data/docs/MasterDetailsResponseBillingInfoName.md +9 -0
  64. data/docs/MasterDetailsResponsePlanInfo.md +13 -0
  65. data/docs/MasterDetailsResponsePlanInfoFeatures.md +12 -0
  66. data/docs/Note.md +14 -0
  67. data/docs/NoteData.md +10 -0
  68. data/docs/NoteId.md +8 -0
  69. data/docs/NoteList.md +7 -0
  70. data/docs/NotesApi.md +312 -0
  71. data/docs/Pipeline.md +8 -0
  72. data/docs/PipelineStage.md +9 -0
  73. data/docs/RequestContactExport.md +1 -2
  74. data/docs/RequestContactImport.md +3 -2
  75. data/docs/ScheduleSmtpEmail.md +10 -0
  76. data/docs/SendSmtpEmail.md +6 -4
  77. data/docs/SendTransacSms.md +1 -0
  78. data/docs/SsoTokenRequest.md +9 -0
  79. data/docs/SubAccountDetailsResponse.md +11 -0
  80. data/docs/SubAccountDetailsResponsePlanInfo.md +10 -0
  81. data/docs/SubAccountDetailsResponsePlanInfoCredits.md +9 -0
  82. data/docs/SubAccountDetailsResponsePlanInfoCreditsEmails.md +9 -0
  83. data/docs/SubAccountDetailsResponsePlanInfoFeatures.md +10 -0
  84. data/docs/SubAccountDetailsResponsePlanInfoFeaturesInbox.md +9 -0
  85. data/docs/SubAccountDetailsResponsePlanInfoFeaturesLandingPage.md +9 -0
  86. data/docs/SubAccountDetailsResponsePlanInfoFeaturesUsers.md +9 -0
  87. data/docs/SubAccountUpdatePlanRequest.md +9 -0
  88. data/docs/SubAccountUpdatePlanRequestCredits.md +8 -0
  89. data/docs/SubAccountUpdatePlanRequestFeatures.md +10 -0
  90. data/docs/SubAccountsResponse.md +9 -0
  91. data/docs/SubAccountsResponseSubAccounts.md +11 -0
  92. data/docs/Task.md +13 -0
  93. data/docs/TaskList.md +8 -0
  94. data/docs/TaskReminder.md +10 -0
  95. data/docs/TaskTypes.md +9 -0
  96. data/docs/TasksApi.md +376 -0
  97. data/docs/TransactionalEmailsApi.md +203 -63
  98. data/docs/UpdateBatchContacts.md +8 -0
  99. data/docs/UpdateBatchContactsContacts.md +16 -0
  100. data/docs/UpdateBatchContactsModel.md +9 -0
  101. data/docs/UpdateContact.md +1 -1
  102. data/docs/UpdateEmailCampaign.md +1 -1
  103. data/docs/UpdateSmsCampaign.md +1 -0
  104. data/docs/UpdateSmtpTemplate.md +1 -1
  105. data/docs/UpdateWebhook.md +2 -1
  106. data/docs/UploadImageModel.md +8 -0
  107. data/lib/sib-api-v3-sdk/api/companies_api.rb +409 -0
  108. data/lib/sib-api-v3-sdk/api/contacts_api.rb +61 -2
  109. data/lib/sib-api-v3-sdk/api/conversations_api.rb +504 -0
  110. data/lib/sib-api-v3-sdk/api/deals_api.rb +454 -0
  111. data/lib/sib-api-v3-sdk/api/email_campaigns_api.rb +9 -8
  112. data/lib/sib-api-v3-sdk/api/files_api.rb +313 -0
  113. data/lib/sib-api-v3-sdk/api/inbound_parsing_api.rb +213 -0
  114. data/lib/sib-api-v3-sdk/api/master_account_api.rb +416 -0
  115. data/lib/sib-api-v3-sdk/api/notes_api.rb +308 -0
  116. data/lib/sib-api-v3-sdk/api/tasks_api.rb +375 -0
  117. data/lib/sib-api-v3-sdk/api/transactional_emails_api.rb +201 -62
  118. data/lib/sib-api-v3-sdk/api/webhooks_api.rb +2 -2
  119. data/lib/sib-api-v3-sdk/models/{send_email_attachment.rb → body.rb} +16 -40
  120. data/lib/sib-api-v3-sdk/models/body_1.rb +195 -0
  121. data/lib/sib-api-v3-sdk/models/body_10.rb +225 -0
  122. data/lib/sib-api-v3-sdk/models/{send_template_email.rb → body_11.rb} +12 -12
  123. data/lib/sib-api-v3-sdk/models/body_12.rb +215 -0
  124. data/lib/sib-api-v3-sdk/models/body_2.rb +223 -0
  125. data/lib/sib-api-v3-sdk/models/body_3.rb +200 -0
  126. data/lib/sib-api-v3-sdk/models/body_4.rb +195 -0
  127. data/lib/sib-api-v3-sdk/models/body_5.rb +223 -0
  128. data/lib/sib-api-v3-sdk/models/body_6.rb +320 -0
  129. data/lib/sib-api-v3-sdk/models/body_7.rb +281 -0
  130. data/lib/sib-api-v3-sdk/models/body_8.rb +245 -0
  131. data/lib/sib-api-v3-sdk/models/body_9.rb +190 -0
  132. data/lib/sib-api-v3-sdk/models/companies_list.rb +188 -0
  133. data/lib/sib-api-v3-sdk/models/{send_email.rb → company.rb} +30 -90
  134. data/lib/sib-api-v3-sdk/models/company_attributes.rb +176 -0
  135. data/lib/sib-api-v3-sdk/models/company_attributes_inner.rb +223 -0
  136. data/lib/sib-api-v3-sdk/models/conversations_message.rb +324 -0
  137. data/lib/sib-api-v3-sdk/models/conversations_message_file.rb +239 -0
  138. data/lib/sib-api-v3-sdk/models/conversations_message_file_image_info.rb +236 -0
  139. data/lib/sib-api-v3-sdk/models/create_contact.rb +1 -1
  140. data/lib/sib-api-v3-sdk/models/create_sms_campaign.rb +16 -4
  141. data/lib/sib-api-v3-sdk/models/create_sub_account.rb +259 -0
  142. data/lib/sib-api-v3-sdk/models/create_sub_account_response.rb +190 -0
  143. data/lib/sib-api-v3-sdk/models/create_webhook.rb +17 -7
  144. data/lib/sib-api-v3-sdk/models/deal.rb +220 -0
  145. data/lib/sib-api-v3-sdk/models/deal_attributes.rb +176 -0
  146. data/lib/sib-api-v3-sdk/models/deal_attributes_inner.rb +223 -0
  147. data/lib/sib-api-v3-sdk/models/deals_list.rb +188 -0
  148. data/lib/sib-api-v3-sdk/models/file_data.rb +246 -0
  149. data/lib/sib-api-v3-sdk/models/file_downloadable_link.rb +190 -0
  150. data/lib/sib-api-v3-sdk/models/file_list.rb +176 -0
  151. data/lib/sib-api-v3-sdk/models/get_campaign_stats.rb +36 -1
  152. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats.rb +15 -4
  153. data/lib/sib-api-v3-sdk/models/get_email_event_report_events.rb +2 -2
  154. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics.rb +16 -4
  155. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_delivered.rb +205 -0
  156. data/lib/sib-api-v3-sdk/models/get_inbound_email_events.rb +186 -0
  157. data/lib/sib-api-v3-sdk/models/get_inbound_email_events_by_uuid.rb +259 -0
  158. data/lib/sib-api-v3-sdk/models/get_inbound_email_events_by_uuid_attachments.rb +215 -0
  159. data/lib/sib-api-v3-sdk/models/get_inbound_email_events_by_uuid_logs.rb +229 -0
  160. data/lib/sib-api-v3-sdk/models/get_inbound_email_events_events.rb +235 -0
  161. data/lib/sib-api-v3-sdk/models/get_scheduled_email_by_batch_id.rb +196 -0
  162. data/lib/sib-api-v3-sdk/models/get_scheduled_email_by_batch_id_batches.rb +254 -0
  163. data/lib/sib-api-v3-sdk/models/get_scheduled_email_by_message_id.rb +254 -0
  164. data/lib/sib-api-v3-sdk/models/get_sso_token.rb +1 -1
  165. data/lib/sib-api-v3-sdk/models/inline_response_200.rb +191 -0
  166. data/lib/sib-api-v3-sdk/models/inline_response_201.rb +191 -0
  167. data/lib/sib-api-v3-sdk/models/inline_response_201_1.rb +191 -0
  168. data/lib/sib-api-v3-sdk/models/master_details_response.rb +243 -0
  169. data/lib/sib-api-v3-sdk/models/master_details_response_billing_info.rb +214 -0
  170. data/lib/sib-api-v3-sdk/models/master_details_response_billing_info_address.rb +226 -0
  171. data/lib/sib-api-v3-sdk/models/master_details_response_billing_info_name.rb +196 -0
  172. data/lib/sib-api-v3-sdk/models/master_details_response_plan_info.rb +272 -0
  173. data/lib/sib-api-v3-sdk/models/master_details_response_plan_info_features.rb +225 -0
  174. data/lib/sib-api-v3-sdk/models/note.rb +283 -0
  175. data/lib/sib-api-v3-sdk/models/note_data.rb +243 -0
  176. data/lib/sib-api-v3-sdk/models/note_id.rb +186 -0
  177. data/lib/sib-api-v3-sdk/models/note_list.rb +176 -0
  178. data/lib/sib-api-v3-sdk/models/pipeline.rb +188 -0
  179. data/lib/sib-api-v3-sdk/models/pipeline_stage.rb +196 -0
  180. data/lib/sib-api-v3-sdk/models/request_contact_export.rb +6 -11
  181. data/lib/sib-api-v3-sdk/models/request_contact_export_custom_contact_filter.rb +1 -1
  182. data/lib/sib-api-v3-sdk/models/request_contact_import.rb +15 -3
  183. data/lib/sib-api-v3-sdk/models/schedule_smtp_email.rb +206 -0
  184. data/lib/sib-api-v3-sdk/models/send_smtp_email.rb +28 -8
  185. data/lib/sib-api-v3-sdk/models/send_transac_sms.rb +16 -4
  186. data/lib/sib-api-v3-sdk/models/sso_token_request.rb +200 -0
  187. data/lib/sib-api-v3-sdk/models/sub_account_details_response.rb +214 -0
  188. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info.rb +204 -0
  189. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_credits.rb +195 -0
  190. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_credits_emails.rb +196 -0
  191. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_features.rb +203 -0
  192. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_features_inbox.rb +196 -0
  193. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_features_landing_page.rb +196 -0
  194. data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_features_users.rb +196 -0
  195. data/lib/sib-api-v3-sdk/models/sub_account_update_plan_request.rb +194 -0
  196. data/lib/sib-api-v3-sdk/models/sub_account_update_plan_request_credits.rb +186 -0
  197. data/lib/sib-api-v3-sdk/models/sub_account_update_plan_request_features.rb +206 -0
  198. data/lib/sib-api-v3-sdk/models/sub_accounts_response.rb +196 -0
  199. data/lib/sib-api-v3-sdk/models/sub_accounts_response_sub_accounts.rb +235 -0
  200. data/lib/sib-api-v3-sdk/models/task.rb +252 -0
  201. data/lib/sib-api-v3-sdk/models/task_list.rb +188 -0
  202. data/lib/sib-api-v3-sdk/models/task_reminder.rb +257 -0
  203. data/lib/sib-api-v3-sdk/models/task_types.rb +196 -0
  204. data/lib/sib-api-v3-sdk/models/update_batch_contacts.rb +187 -0
  205. data/lib/sib-api-v3-sdk/models/update_batch_contacts_contacts.rb +273 -0
  206. data/lib/sib-api-v3-sdk/models/update_batch_contacts_model.rb +197 -0
  207. data/lib/sib-api-v3-sdk/models/update_contact.rb +1 -1
  208. data/lib/sib-api-v3-sdk/models/update_email_campaign.rb +1 -1
  209. data/lib/sib-api-v3-sdk/models/update_sms_campaign.rb +16 -4
  210. data/lib/sib-api-v3-sdk/models/update_smtp_template.rb +1 -1
  211. data/lib/sib-api-v3-sdk/models/update_webhook.rb +15 -5
  212. data/lib/sib-api-v3-sdk/models/upload_image_model.rb +190 -0
  213. data/lib/sib-api-v3-sdk/version.rb +1 -1
  214. data/lib/sib-api-v3-sdk.rb +84 -3
  215. data/sib-api-v3-sdk.gemspec +2 -1
  216. data/spec/api/companies_api_spec.rb +119 -0
  217. data/spec/api/contacts_api_spec.rb +15 -1
  218. data/spec/api/conversations_api_spec.rb +140 -0
  219. data/spec/api/deals_api_spec.rb +129 -0
  220. data/spec/api/email_campaigns_api_spec.rb +1 -1
  221. data/spec/api/files_api_spec.rb +99 -0
  222. data/spec/api/inbound_parsing_api_spec.rb +76 -0
  223. data/spec/api/master_account_api_spec.rb +119 -0
  224. data/spec/api/notes_api_spec.rb +97 -0
  225. data/spec/api/tasks_api_spec.rb +113 -0
  226. data/spec/api/transactional_emails_api_spec.rb +46 -13
  227. data/spec/models/body_10_spec.rb +59 -0
  228. data/spec/models/{send_template_email_spec.rb → body_11_spec.rb} +7 -7
  229. data/spec/models/body_12_spec.rb +59 -0
  230. data/spec/models/{send_email_attachment_spec.rb → body_1_spec.rb} +8 -8
  231. data/spec/models/body_2_spec.rb +59 -0
  232. data/spec/models/body_3_spec.rb +47 -0
  233. data/spec/models/body_4_spec.rb +47 -0
  234. data/spec/models/body_5_spec.rb +59 -0
  235. data/spec/models/body_6_spec.rb +101 -0
  236. data/spec/models/body_7_spec.rb +95 -0
  237. data/spec/models/body_8_spec.rb +71 -0
  238. data/spec/models/body_9_spec.rb +41 -0
  239. data/spec/models/body_spec.rb +47 -0
  240. data/spec/models/companies_list_spec.rb +41 -0
  241. data/spec/models/company_attributes_inner_spec.rb +65 -0
  242. data/spec/models/company_attributes_spec.rb +35 -0
  243. data/spec/models/company_spec.rb +59 -0
  244. data/spec/models/conversations_message_file_image_info_spec.rb +53 -0
  245. data/spec/models/conversations_message_file_spec.rb +65 -0
  246. data/spec/models/conversations_message_spec.rb +99 -0
  247. data/spec/models/create_sms_campaign_spec.rb +6 -0
  248. data/spec/models/create_sub_account_response_spec.rb +41 -0
  249. data/spec/models/create_sub_account_spec.rb +63 -0
  250. data/spec/models/create_webhook_spec.rb +8 -2
  251. data/spec/models/deal_attributes_inner_spec.rb +65 -0
  252. data/spec/models/deal_attributes_spec.rb +35 -0
  253. data/spec/models/deal_spec.rb +59 -0
  254. data/spec/models/deals_list_spec.rb +41 -0
  255. data/spec/models/file_data_spec.rb +77 -0
  256. data/spec/models/file_downloadable_link_spec.rb +41 -0
  257. data/spec/models/file_list_spec.rb +35 -0
  258. data/spec/models/get_campaign_stats_spec.rb +18 -0
  259. data/spec/models/get_contact_campaign_stats_spec.rb +6 -0
  260. data/spec/models/get_email_event_report_events_spec.rb +1 -1
  261. data/spec/models/get_extended_contact_details_statistics_delivered_spec.rb +47 -0
  262. data/spec/models/get_extended_contact_details_statistics_spec.rb +6 -0
  263. data/spec/models/get_inbound_email_events_by_uuid_attachments_spec.rb +59 -0
  264. data/spec/models/get_inbound_email_events_by_uuid_logs_spec.rb +51 -0
  265. data/spec/models/get_inbound_email_events_by_uuid_spec.rb +83 -0
  266. data/spec/models/get_inbound_email_events_events_spec.rb +59 -0
  267. data/spec/models/get_inbound_email_events_spec.rb +41 -0
  268. data/spec/models/get_scheduled_email_by_batch_id_batches_spec.rb +57 -0
  269. data/spec/models/get_scheduled_email_by_batch_id_spec.rb +47 -0
  270. data/spec/models/get_scheduled_email_by_message_id_spec.rb +57 -0
  271. data/spec/models/inline_response_200_spec.rb +41 -0
  272. data/spec/models/inline_response_201_1_spec.rb +41 -0
  273. data/spec/models/inline_response_201_spec.rb +41 -0
  274. data/spec/models/master_details_response_billing_info_address_spec.rb +65 -0
  275. data/spec/models/master_details_response_billing_info_name_spec.rb +47 -0
  276. data/spec/models/master_details_response_billing_info_spec.rb +59 -0
  277. data/spec/models/master_details_response_plan_info_features_spec.rb +65 -0
  278. data/spec/models/master_details_response_plan_info_spec.rb +75 -0
  279. data/spec/models/master_details_response_spec.rb +77 -0
  280. data/spec/models/note_data_spec.rb +53 -0
  281. data/spec/models/note_id_spec.rb +41 -0
  282. data/spec/models/note_list_spec.rb +35 -0
  283. data/spec/models/note_spec.rb +77 -0
  284. data/spec/models/pipeline_spec.rb +41 -0
  285. data/spec/models/pipeline_stage_spec.rb +47 -0
  286. data/spec/models/request_contact_export_spec.rb +0 -6
  287. data/spec/models/request_contact_import_spec.rb +6 -0
  288. data/spec/models/schedule_smtp_email_spec.rb +53 -0
  289. data/spec/models/send_smtp_email_spec.rb +12 -0
  290. data/spec/models/send_transac_sms_spec.rb +6 -0
  291. data/spec/models/sso_token_request_spec.rb +47 -0
  292. data/spec/models/sub_account_details_response_plan_info_credits_emails_spec.rb +47 -0
  293. data/spec/models/sub_account_details_response_plan_info_credits_spec.rb +47 -0
  294. data/spec/models/sub_account_details_response_plan_info_features_inbox_spec.rb +47 -0
  295. data/spec/models/sub_account_details_response_plan_info_features_landing_page_spec.rb +47 -0
  296. data/spec/models/sub_account_details_response_plan_info_features_spec.rb +53 -0
  297. data/spec/models/sub_account_details_response_plan_info_features_users_spec.rb +47 -0
  298. data/spec/models/sub_account_details_response_plan_info_spec.rb +53 -0
  299. data/spec/models/sub_account_details_response_spec.rb +59 -0
  300. data/spec/models/sub_account_update_plan_request_credits_spec.rb +41 -0
  301. data/spec/models/sub_account_update_plan_request_features_spec.rb +53 -0
  302. data/spec/models/sub_account_update_plan_request_spec.rb +47 -0
  303. data/spec/models/sub_accounts_response_spec.rb +47 -0
  304. data/spec/models/sub_accounts_response_sub_accounts_spec.rb +59 -0
  305. data/spec/models/task_list_spec.rb +41 -0
  306. data/spec/models/task_reminder_spec.rb +57 -0
  307. data/spec/models/task_spec.rb +71 -0
  308. data/spec/models/task_types_spec.rb +47 -0
  309. data/spec/models/{send_email_spec.rb → update_batch_contacts_contacts_spec.rb} +15 -15
  310. data/spec/models/update_batch_contacts_model_spec.rb +47 -0
  311. data/spec/models/update_batch_contacts_spec.rb +41 -0
  312. data/spec/models/update_sms_campaign_spec.rb +6 -0
  313. data/spec/models/update_webhook_spec.rb +7 -1
  314. data/spec/models/upload_image_model_spec.rb +41 -0
  315. metadata +359 -15
  316. data/docs/SendEmail.md +0 -16
  317. data/docs/SendEmailAttachment.md +0 -9
data/docs/DealsApi.md ADDED
@@ -0,0 +1,476 @@
1
+ # SibApiV3Sdk::DealsApi
2
+
3
+ All URIs are relative to *https://api.sendinblue.com/v3*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**crm_attributes_deals_get**](DealsApi.md#crm_attributes_deals_get) | **GET** /crm/attributes/deals | Get deal attributes
8
+ [**crm_deals_get**](DealsApi.md#crm_deals_get) | **GET** /crm/deals | Get all deals
9
+ [**crm_deals_id_delete**](DealsApi.md#crm_deals_id_delete) | **DELETE** /crm/deals/{id} | Delete a deal
10
+ [**crm_deals_id_get**](DealsApi.md#crm_deals_id_get) | **GET** /crm/deals/{id} | Get a deal
11
+ [**crm_deals_id_patch**](DealsApi.md#crm_deals_id_patch) | **PATCH** /crm/deals/{id} | Update a deal
12
+ [**crm_deals_link_unlink_id_patch**](DealsApi.md#crm_deals_link_unlink_id_patch) | **PATCH** /crm/deals/link-unlink/{id} | Link and Unlink a deal with contacts and companies
13
+ [**crm_deals_post**](DealsApi.md#crm_deals_post) | **POST** /crm/deals | Create a deal
14
+ [**crm_pipeline_details_get**](DealsApi.md#crm_pipeline_details_get) | **GET** /crm/pipeline/details | Get pipeline stages
15
+
16
+
17
+ # **crm_attributes_deals_get**
18
+ > DealAttributes crm_attributes_deals_get
19
+
20
+ Get deal attributes
21
+
22
+ ### Example
23
+ ```ruby
24
+ # load the gem
25
+ require 'sib-api-v3-sdk'
26
+ # setup authorization
27
+ SibApiV3Sdk.configure do |config|
28
+ # Configure API key authorization: api-key
29
+ config.api_key['api-key'] = 'YOUR API KEY'
30
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
31
+ #config.api_key_prefix['api-key'] = 'Bearer'
32
+
33
+ # Configure API key authorization: partner-key
34
+ config.api_key['partner-key'] = 'YOUR API KEY'
35
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
36
+ #config.api_key_prefix['partner-key'] = 'Bearer'
37
+ end
38
+
39
+ api_instance = SibApiV3Sdk::DealsApi.new
40
+
41
+ begin
42
+ #Get deal attributes
43
+ result = api_instance.crm_attributes_deals_get
44
+ p result
45
+ rescue SibApiV3Sdk::ApiError => e
46
+ puts "Exception when calling DealsApi->crm_attributes_deals_get: #{e}"
47
+ end
48
+ ```
49
+
50
+ ### Parameters
51
+ This endpoint does not need any parameter.
52
+
53
+ ### Return type
54
+
55
+ [**DealAttributes**](DealAttributes.md)
56
+
57
+ ### Authorization
58
+
59
+ [api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
60
+
61
+ ### HTTP request headers
62
+
63
+ - **Content-Type**: application/json
64
+ - **Accept**: application/json
65
+
66
+
67
+
68
+ # **crm_deals_get**
69
+ > DealsList crm_deals_get(opts)
70
+
71
+ Get all deals
72
+
73
+ ### Example
74
+ ```ruby
75
+ # load the gem
76
+ require 'sib-api-v3-sdk'
77
+ # setup authorization
78
+ SibApiV3Sdk.configure do |config|
79
+ # Configure API key authorization: api-key
80
+ config.api_key['api-key'] = 'YOUR API KEY'
81
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
82
+ #config.api_key_prefix['api-key'] = 'Bearer'
83
+
84
+ # Configure API key authorization: partner-key
85
+ config.api_key['partner-key'] = 'YOUR API KEY'
86
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
87
+ #config.api_key_prefix['partner-key'] = 'Bearer'
88
+ end
89
+
90
+ api_instance = SibApiV3Sdk::DealsApi.new
91
+
92
+ opts = {
93
+ filter_attributes: 'filter_attributes_example', # String | Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\"
94
+ filter_linked_companies_ids: 'filter_linked_companies_ids_example', # String | Filter by linked companies ids
95
+ filter_linked_contacts_ids: 'filter_linked_contacts_ids_example', # String | Filter by linked companies ids
96
+ offset: 789, # Integer | Index of the first document of the page
97
+ limit: 50, # Integer | Number of documents per page
98
+ sort: 'sort_example', # String | Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed
99
+ sort_by: 'sort_by_example' # String | The field used to sort field names.
100
+ }
101
+
102
+ begin
103
+ #Get all deals
104
+ result = api_instance.crm_deals_get(opts)
105
+ p result
106
+ rescue SibApiV3Sdk::ApiError => e
107
+ puts "Exception when calling DealsApi->crm_deals_get: #{e}"
108
+ end
109
+ ```
110
+
111
+ ### Parameters
112
+
113
+ Name | Type | Description | Notes
114
+ ------------- | ------------- | ------------- | -------------
115
+ **filter_attributes** | **String**| Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\" | [optional]
116
+ **filter_linked_companies_ids** | **String**| Filter by linked companies ids | [optional]
117
+ **filter_linked_contacts_ids** | **String**| Filter by linked companies ids | [optional]
118
+ **offset** | **Integer**| Index of the first document of the page | [optional]
119
+ **limit** | **Integer**| Number of documents per page | [optional] [default to 50]
120
+ **sort** | **String**| Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed | [optional]
121
+ **sort_by** | **String**| The field used to sort field names. | [optional]
122
+
123
+ ### Return type
124
+
125
+ [**DealsList**](DealsList.md)
126
+
127
+ ### Authorization
128
+
129
+ [api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
130
+
131
+ ### HTTP request headers
132
+
133
+ - **Content-Type**: application/json
134
+ - **Accept**: application/json
135
+
136
+
137
+
138
+ # **crm_deals_id_delete**
139
+ > crm_deals_id_delete(id)
140
+
141
+ Delete a deal
142
+
143
+ ### Example
144
+ ```ruby
145
+ # load the gem
146
+ require 'sib-api-v3-sdk'
147
+ # setup authorization
148
+ SibApiV3Sdk.configure do |config|
149
+ # Configure API key authorization: api-key
150
+ config.api_key['api-key'] = 'YOUR API KEY'
151
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
152
+ #config.api_key_prefix['api-key'] = 'Bearer'
153
+
154
+ # Configure API key authorization: partner-key
155
+ config.api_key['partner-key'] = 'YOUR API KEY'
156
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
157
+ #config.api_key_prefix['partner-key'] = 'Bearer'
158
+ end
159
+
160
+ api_instance = SibApiV3Sdk::DealsApi.new
161
+
162
+ id = 'id_example' # String |
163
+
164
+
165
+ begin
166
+ #Delete a deal
167
+ api_instance.crm_deals_id_delete(id)
168
+ rescue SibApiV3Sdk::ApiError => e
169
+ puts "Exception when calling DealsApi->crm_deals_id_delete: #{e}"
170
+ end
171
+ ```
172
+
173
+ ### Parameters
174
+
175
+ Name | Type | Description | Notes
176
+ ------------- | ------------- | ------------- | -------------
177
+ **id** | **String**| |
178
+
179
+ ### Return type
180
+
181
+ nil (empty response body)
182
+
183
+ ### Authorization
184
+
185
+ [api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
186
+
187
+ ### HTTP request headers
188
+
189
+ - **Content-Type**: application/json
190
+ - **Accept**: application/json
191
+
192
+
193
+
194
+ # **crm_deals_id_get**
195
+ > Deal crm_deals_id_get(id)
196
+
197
+ Get a deal
198
+
199
+ ### Example
200
+ ```ruby
201
+ # load the gem
202
+ require 'sib-api-v3-sdk'
203
+ # setup authorization
204
+ SibApiV3Sdk.configure do |config|
205
+ # Configure API key authorization: api-key
206
+ config.api_key['api-key'] = 'YOUR API KEY'
207
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
208
+ #config.api_key_prefix['api-key'] = 'Bearer'
209
+
210
+ # Configure API key authorization: partner-key
211
+ config.api_key['partner-key'] = 'YOUR API KEY'
212
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
213
+ #config.api_key_prefix['partner-key'] = 'Bearer'
214
+ end
215
+
216
+ api_instance = SibApiV3Sdk::DealsApi.new
217
+
218
+ id = 'id_example' # String |
219
+
220
+
221
+ begin
222
+ #Get a deal
223
+ result = api_instance.crm_deals_id_get(id)
224
+ p result
225
+ rescue SibApiV3Sdk::ApiError => e
226
+ puts "Exception when calling DealsApi->crm_deals_id_get: #{e}"
227
+ end
228
+ ```
229
+
230
+ ### Parameters
231
+
232
+ Name | Type | Description | Notes
233
+ ------------- | ------------- | ------------- | -------------
234
+ **id** | **String**| |
235
+
236
+ ### Return type
237
+
238
+ [**Deal**](Deal.md)
239
+
240
+ ### Authorization
241
+
242
+ [api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
243
+
244
+ ### HTTP request headers
245
+
246
+ - **Content-Type**: application/json
247
+ - **Accept**: application/json
248
+
249
+
250
+
251
+ # **crm_deals_id_patch**
252
+ > crm_deals_id_patch(id, body)
253
+
254
+ Update a deal
255
+
256
+ ### Example
257
+ ```ruby
258
+ # load the gem
259
+ require 'sib-api-v3-sdk'
260
+ # setup authorization
261
+ SibApiV3Sdk.configure do |config|
262
+ # Configure API key authorization: api-key
263
+ config.api_key['api-key'] = 'YOUR API KEY'
264
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
265
+ #config.api_key_prefix['api-key'] = 'Bearer'
266
+
267
+ # Configure API key authorization: partner-key
268
+ config.api_key['partner-key'] = 'YOUR API KEY'
269
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
270
+ #config.api_key_prefix['partner-key'] = 'Bearer'
271
+ end
272
+
273
+ api_instance = SibApiV3Sdk::DealsApi.new
274
+
275
+ id = 'id_example' # String |
276
+
277
+ body = SibApiV3Sdk::Body4.new # Body4 | Updated deal details.
278
+
279
+
280
+ begin
281
+ #Update a deal
282
+ api_instance.crm_deals_id_patch(id, body)
283
+ rescue SibApiV3Sdk::ApiError => e
284
+ puts "Exception when calling DealsApi->crm_deals_id_patch: #{e}"
285
+ end
286
+ ```
287
+
288
+ ### Parameters
289
+
290
+ Name | Type | Description | Notes
291
+ ------------- | ------------- | ------------- | -------------
292
+ **id** | **String**| |
293
+ **body** | [**Body4**](Body4.md)| Updated deal details. |
294
+
295
+ ### Return type
296
+
297
+ nil (empty response body)
298
+
299
+ ### Authorization
300
+
301
+ [api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
302
+
303
+ ### HTTP request headers
304
+
305
+ - **Content-Type**: application/json
306
+ - **Accept**: application/json
307
+
308
+
309
+
310
+ # **crm_deals_link_unlink_id_patch**
311
+ > crm_deals_link_unlink_id_patch(id, body)
312
+
313
+ Link and Unlink a deal with contacts and companies
314
+
315
+ ### Example
316
+ ```ruby
317
+ # load the gem
318
+ require 'sib-api-v3-sdk'
319
+ # setup authorization
320
+ SibApiV3Sdk.configure do |config|
321
+ # Configure API key authorization: api-key
322
+ config.api_key['api-key'] = 'YOUR API KEY'
323
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
324
+ #config.api_key_prefix['api-key'] = 'Bearer'
325
+
326
+ # Configure API key authorization: partner-key
327
+ config.api_key['partner-key'] = 'YOUR API KEY'
328
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
329
+ #config.api_key_prefix['partner-key'] = 'Bearer'
330
+ end
331
+
332
+ api_instance = SibApiV3Sdk::DealsApi.new
333
+
334
+ id = 'id_example' # String |
335
+
336
+ body = SibApiV3Sdk::Body5.new # Body5 | Linked / Unlinked contacts and companies ids.
337
+
338
+
339
+ begin
340
+ #Link and Unlink a deal with contacts and companies
341
+ api_instance.crm_deals_link_unlink_id_patch(id, body)
342
+ rescue SibApiV3Sdk::ApiError => e
343
+ puts "Exception when calling DealsApi->crm_deals_link_unlink_id_patch: #{e}"
344
+ end
345
+ ```
346
+
347
+ ### Parameters
348
+
349
+ Name | Type | Description | Notes
350
+ ------------- | ------------- | ------------- | -------------
351
+ **id** | **String**| |
352
+ **body** | [**Body5**](Body5.md)| Linked / Unlinked contacts and companies ids. |
353
+
354
+ ### Return type
355
+
356
+ nil (empty response body)
357
+
358
+ ### Authorization
359
+
360
+ [api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
361
+
362
+ ### HTTP request headers
363
+
364
+ - **Content-Type**: application/json
365
+ - **Accept**: application/json
366
+
367
+
368
+
369
+ # **crm_deals_post**
370
+ > InlineResponse201 crm_deals_post(body)
371
+
372
+ Create a deal
373
+
374
+ ### Example
375
+ ```ruby
376
+ # load the gem
377
+ require 'sib-api-v3-sdk'
378
+ # setup authorization
379
+ SibApiV3Sdk.configure do |config|
380
+ # Configure API key authorization: api-key
381
+ config.api_key['api-key'] = 'YOUR API KEY'
382
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
383
+ #config.api_key_prefix['api-key'] = 'Bearer'
384
+
385
+ # Configure API key authorization: partner-key
386
+ config.api_key['partner-key'] = 'YOUR API KEY'
387
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
388
+ #config.api_key_prefix['partner-key'] = 'Bearer'
389
+ end
390
+
391
+ api_instance = SibApiV3Sdk::DealsApi.new
392
+
393
+ body = SibApiV3Sdk::Body3.new # Body3 | Deal create data.
394
+
395
+
396
+ begin
397
+ #Create a deal
398
+ result = api_instance.crm_deals_post(body)
399
+ p result
400
+ rescue SibApiV3Sdk::ApiError => e
401
+ puts "Exception when calling DealsApi->crm_deals_post: #{e}"
402
+ end
403
+ ```
404
+
405
+ ### Parameters
406
+
407
+ Name | Type | Description | Notes
408
+ ------------- | ------------- | ------------- | -------------
409
+ **body** | [**Body3**](Body3.md)| Deal create data. |
410
+
411
+ ### Return type
412
+
413
+ [**InlineResponse201**](InlineResponse201.md)
414
+
415
+ ### Authorization
416
+
417
+ [api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
418
+
419
+ ### HTTP request headers
420
+
421
+ - **Content-Type**: application/json
422
+ - **Accept**: application/json
423
+
424
+
425
+
426
+ # **crm_pipeline_details_get**
427
+ > Pipeline crm_pipeline_details_get
428
+
429
+ Get pipeline stages
430
+
431
+ ### Example
432
+ ```ruby
433
+ # load the gem
434
+ require 'sib-api-v3-sdk'
435
+ # setup authorization
436
+ SibApiV3Sdk.configure do |config|
437
+ # Configure API key authorization: api-key
438
+ config.api_key['api-key'] = 'YOUR API KEY'
439
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
440
+ #config.api_key_prefix['api-key'] = 'Bearer'
441
+
442
+ # Configure API key authorization: partner-key
443
+ config.api_key['partner-key'] = 'YOUR API KEY'
444
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
445
+ #config.api_key_prefix['partner-key'] = 'Bearer'
446
+ end
447
+
448
+ api_instance = SibApiV3Sdk::DealsApi.new
449
+
450
+ begin
451
+ #Get pipeline stages
452
+ result = api_instance.crm_pipeline_details_get
453
+ p result
454
+ rescue SibApiV3Sdk::ApiError => e
455
+ puts "Exception when calling DealsApi->crm_pipeline_details_get: #{e}"
456
+ end
457
+ ```
458
+
459
+ ### Parameters
460
+ This endpoint does not need any parameter.
461
+
462
+ ### Return type
463
+
464
+ [**Pipeline**](Pipeline.md)
465
+
466
+ ### Authorization
467
+
468
+ [api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
469
+
470
+ ### HTTP request headers
471
+
472
+ - **Content-Type**: application/json
473
+ - **Accept**: application/json
474
+
475
+
476
+
data/docs/DealsList.md ADDED
@@ -0,0 +1,8 @@
1
+ # SibApiV3Sdk::DealsList
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **items** | [**Array<Deal>**](Deal.md) | List of deals | [optional]
7
+
8
+
@@ -338,7 +338,7 @@ opts = {
338
338
  status: 'status_example', # String | Filter on the status of the campaign
339
339
  start_date: 'start_date_example', # String | Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' )
340
340
  end_date: 'end_date_example', # String | Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' )
341
- limit: 500, # Integer | Number of documents per page
341
+ limit: 50, # Integer | Number of documents per page
342
342
  offset: 0, # Integer | Index of the first document in the page
343
343
  sort: 'desc' # String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
344
344
  }
@@ -360,7 +360,7 @@ Name | Type | Description | Notes
360
360
  **status** | **String**| Filter on the status of the campaign | [optional]
361
361
  **start_date** | **String**| Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional]
362
362
  **end_date** | **String**| Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional]
363
- **limit** | **Integer**| Number of documents per page | [optional] [default to 500]
363
+ **limit** | **Integer**| Number of documents per page | [optional] [default to 50]
364
364
  **offset** | **Integer**| Index of the first document in the page | [optional] [default to 0]
365
365
  **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]
366
366
 
@@ -733,7 +733,7 @@ nil (empty response body)
733
733
 
734
734
 
735
735
  # **upload_image_to_gallery**
736
- > upload_image_to_gallery(upload_image)
736
+ > UploadImageModel upload_image_to_gallery(upload_image)
737
737
 
738
738
  Upload an image to your account's image gallery
739
739
 
@@ -761,7 +761,8 @@ upload_image = SibApiV3Sdk::UploadImageToGallery.new # UploadImageToGallery | Pa
761
761
 
762
762
  begin
763
763
  #Upload an image to your account's image gallery
764
- api_instance.upload_image_to_gallery(upload_image)
764
+ result = api_instance.upload_image_to_gallery(upload_image)
765
+ p result
765
766
  rescue SibApiV3Sdk::ApiError => e
766
767
  puts "Exception when calling EmailCampaignsApi->upload_image_to_gallery: #{e}"
767
768
  end
@@ -775,7 +776,7 @@ Name | Type | Description | Notes
775
776
 
776
777
  ### Return type
777
778
 
778
- nil (empty response body)
779
+ [**UploadImageModel**](UploadImageModel.md)
779
780
 
780
781
  ### Authorization
781
782
 
data/docs/FileData.md ADDED
@@ -0,0 +1,14 @@
1
+ # SibApiV3Sdk::FileData
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | Name of uploaded file | [optional]
7
+ **author_id** | **String** | Account id of user which created the file | [optional]
8
+ **contact_id** | **Integer** | Contact id of contact on which file is uploaded | [optional]
9
+ **deal_id** | **String** | Deal id linked to a file | [optional]
10
+ **company_id** | **String** | Company id linked to a file | [optional]
11
+ **size** | **Integer** | Size of file in bytes | [optional]
12
+ **created_at** | **DateTime** | File created date/time | [optional]
13
+
14
+
@@ -0,0 +1,8 @@
1
+ # SibApiV3Sdk::FileDownloadableLink
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **file_url** | **String** | A unique link to download the requested file. |
7
+
8
+
data/docs/FileList.md ADDED
@@ -0,0 +1,7 @@
1
+ # SibApiV3Sdk::FileList
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+
7
+