sib-api-v3-sdk 4.0.1 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -1
  3. data/docs/CreateAttribute.md +3 -3
  4. data/docs/CreateContact.md +5 -5
  5. data/docs/CreateList.md +1 -1
  6. data/docs/DeleteHardbounces.md +2 -2
  7. data/docs/GetCampaignStats.md +3 -3
  8. data/docs/GetContactDetails.md +1 -1
  9. data/docs/GetExtendedCampaignStats.md +3 -2
  10. data/docs/GetExtendedContactDetails.md +1 -1
  11. data/docs/RequestContactExport.md +2 -2
  12. data/docs/RequestContactImport.md +5 -2
  13. data/docs/RequestContactImportNewList.md +1 -1
  14. data/docs/SMTPApi.md +2 -0
  15. data/docs/SendEmail.md +8 -7
  16. data/docs/SendEmailAttachment.md +2 -2
  17. data/docs/SendSmtpEmail.md +7 -6
  18. data/docs/SendSmtpEmailAttachment.md +1 -1
  19. data/docs/SendSmtpEmailSender.md +2 -2
  20. data/docs/SendTestEmail.md +1 -1
  21. data/docs/UpdateAttribute.md +2 -2
  22. data/docs/UpdateContact.md +3 -3
  23. data/docs/UpdateList.md +2 -2
  24. data/lib/sib-api-v3-sdk.rb +0 -1
  25. data/lib/sib-api-v3-sdk/api/smtp_api.rb +2 -2
  26. data/lib/sib-api-v3-sdk/models/create_attribute.rb +3 -3
  27. data/lib/sib-api-v3-sdk/models/create_contact.rb +5 -5
  28. data/lib/sib-api-v3-sdk/models/create_email_campaign_recipients.rb +1 -1
  29. data/lib/sib-api-v3-sdk/models/create_email_campaign_sender.rb +1 -1
  30. data/lib/sib-api-v3-sdk/models/create_list.rb +1 -1
  31. data/lib/sib-api-v3-sdk/models/create_smtp_template_sender.rb +1 -1
  32. data/lib/sib-api-v3-sdk/models/delete_hardbounces.rb +2 -2
  33. data/lib/sib-api-v3-sdk/models/get_campaign_stats.rb +2 -7
  34. data/lib/sib-api-v3-sdk/models/get_contact_details.rb +3 -4
  35. data/lib/sib-api-v3-sdk/models/get_extended_campaign_stats.rb +20 -5
  36. data/lib/sib-api-v3-sdk/models/get_extended_contact_details.rb +3 -4
  37. data/lib/sib-api-v3-sdk/models/request_contact_export.rb +2 -2
  38. data/lib/sib-api-v3-sdk/models/request_contact_import.rb +42 -6
  39. data/lib/sib-api-v3-sdk/models/request_contact_import_new_list.rb +2 -2
  40. data/lib/sib-api-v3-sdk/models/send_email.rb +25 -15
  41. data/lib/sib-api-v3-sdk/models/send_email_attachment.rb +16 -3
  42. data/lib/sib-api-v3-sdk/models/send_report_email.rb +1 -1
  43. data/lib/sib-api-v3-sdk/models/send_smtp_email.rb +24 -14
  44. data/lib/sib-api-v3-sdk/models/send_smtp_email_attachment.rb +1 -1
  45. data/lib/sib-api-v3-sdk/models/send_smtp_email_reply_to.rb +1 -1
  46. data/lib/sib-api-v3-sdk/models/send_smtp_email_sender.rb +3 -3
  47. data/lib/sib-api-v3-sdk/models/send_test_email.rb +1 -1
  48. data/lib/sib-api-v3-sdk/models/update_attribute.rb +2 -2
  49. data/lib/sib-api-v3-sdk/models/update_contact.rb +5 -6
  50. data/lib/sib-api-v3-sdk/models/update_email_campaign_recipients.rb +1 -1
  51. data/lib/sib-api-v3-sdk/models/update_email_campaign_sender.rb +1 -1
  52. data/lib/sib-api-v3-sdk/models/update_list.rb +2 -2
  53. data/lib/sib-api-v3-sdk/models/update_smtp_template_sender.rb +1 -1
  54. data/lib/sib-api-v3-sdk/version.rb +1 -1
  55. data/spec/api/smtp_api_spec.rb +1 -1
  56. data/spec/models/get_extended_campaign_stats_spec.rb +6 -0
  57. data/spec/models/request_contact_import_spec.rb +18 -0
  58. data/spec/models/send_email_spec.rb +6 -0
  59. data/spec/models/send_smtp_email_spec.rb +6 -0
  60. metadata +2 -6
  61. data/docs/GetExtendedCampaignStatsLinksStats.md +0 -8
  62. data/lib/sib-api-v3-sdk/models/get_extended_campaign_stats_links_stats.rb +0 -194
  63. data/spec/models/get_extended_campaign_stats_links_stats_spec.rb +0 -42
@@ -1,42 +0,0 @@
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 |
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.3.1
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for SibApiV3Sdk::GetExtendedCampaignStatsLinksStats
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'GetExtendedCampaignStatsLinksStats' do
21
- before do
22
- # run before each test
23
- @instance = SibApiV3Sdk::GetExtendedCampaignStatsLinksStats.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of GetExtendedCampaignStatsLinksStats' do
31
- it 'should create an instance of GetExtendedCampaignStatsLinksStats' do
32
- expect(@instance).to be_instance_of(SibApiV3Sdk::GetExtendedCampaignStatsLinksStats)
33
- end
34
- end
35
- describe 'test attribute "nb_click"' 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
- end
42
-