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.
- checksums.yaml +4 -4
- data/README.md +0 -1
- data/docs/CreateAttribute.md +3 -3
- data/docs/CreateContact.md +5 -5
- data/docs/CreateList.md +1 -1
- data/docs/DeleteHardbounces.md +2 -2
- data/docs/GetCampaignStats.md +3 -3
- data/docs/GetContactDetails.md +1 -1
- data/docs/GetExtendedCampaignStats.md +3 -2
- data/docs/GetExtendedContactDetails.md +1 -1
- data/docs/RequestContactExport.md +2 -2
- data/docs/RequestContactImport.md +5 -2
- data/docs/RequestContactImportNewList.md +1 -1
- data/docs/SMTPApi.md +2 -0
- data/docs/SendEmail.md +8 -7
- data/docs/SendEmailAttachment.md +2 -2
- data/docs/SendSmtpEmail.md +7 -6
- data/docs/SendSmtpEmailAttachment.md +1 -1
- data/docs/SendSmtpEmailSender.md +2 -2
- data/docs/SendTestEmail.md +1 -1
- data/docs/UpdateAttribute.md +2 -2
- data/docs/UpdateContact.md +3 -3
- data/docs/UpdateList.md +2 -2
- data/lib/sib-api-v3-sdk.rb +0 -1
- data/lib/sib-api-v3-sdk/api/smtp_api.rb +2 -2
- data/lib/sib-api-v3-sdk/models/create_attribute.rb +3 -3
- data/lib/sib-api-v3-sdk/models/create_contact.rb +5 -5
- data/lib/sib-api-v3-sdk/models/create_email_campaign_recipients.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_email_campaign_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_list.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_smtp_template_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/models/delete_hardbounces.rb +2 -2
- data/lib/sib-api-v3-sdk/models/get_campaign_stats.rb +2 -7
- data/lib/sib-api-v3-sdk/models/get_contact_details.rb +3 -4
- data/lib/sib-api-v3-sdk/models/get_extended_campaign_stats.rb +20 -5
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details.rb +3 -4
- data/lib/sib-api-v3-sdk/models/request_contact_export.rb +2 -2
- data/lib/sib-api-v3-sdk/models/request_contact_import.rb +42 -6
- data/lib/sib-api-v3-sdk/models/request_contact_import_new_list.rb +2 -2
- data/lib/sib-api-v3-sdk/models/send_email.rb +25 -15
- data/lib/sib-api-v3-sdk/models/send_email_attachment.rb +16 -3
- data/lib/sib-api-v3-sdk/models/send_report_email.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_smtp_email.rb +24 -14
- data/lib/sib-api-v3-sdk/models/send_smtp_email_attachment.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_smtp_email_reply_to.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_smtp_email_sender.rb +3 -3
- data/lib/sib-api-v3-sdk/models/send_test_email.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_attribute.rb +2 -2
- data/lib/sib-api-v3-sdk/models/update_contact.rb +5 -6
- data/lib/sib-api-v3-sdk/models/update_email_campaign_recipients.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_email_campaign_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_list.rb +2 -2
- data/lib/sib-api-v3-sdk/models/update_smtp_template_sender.rb +1 -1
- data/lib/sib-api-v3-sdk/version.rb +1 -1
- data/spec/api/smtp_api_spec.rb +1 -1
- data/spec/models/get_extended_campaign_stats_spec.rb +6 -0
- data/spec/models/request_contact_import_spec.rb +18 -0
- data/spec/models/send_email_spec.rb +6 -0
- data/spec/models/send_smtp_email_spec.rb +6 -0
- metadata +2 -6
- data/docs/GetExtendedCampaignStatsLinksStats.md +0 -8
- data/lib/sib-api-v3-sdk/models/get_extended_campaign_stats_links_stats.rb +0 -194
- 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
|
-
|