sib-api-v3-sdk 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -9
- data/docs/GetAccountPlan.md +1 -1
- data/docs/GetCampaignStats.md +1 -1
- data/docs/GetContactCampaignStats.md +4 -4
- data/docs/GetContactCampaignStatsClicked.md +1 -1
- data/docs/GetContactCampaignStatsOpened.md +1 -1
- data/docs/GetContactCampaignStatsUnsubscriptions.md +2 -2
- data/docs/GetEmailCampaign.md +1 -1
- data/docs/GetEmailEventReportEvents.md +2 -0
- data/docs/GetExtendedCampaignOverview.md +1 -1
- data/docs/GetExtendedContactDetails.md +1 -0
- data/docs/GetExtendedContactDetailsStatistics.md +15 -0
- data/docs/GetExtendedContactDetailsStatisticsClicked.md +9 -0
- data/docs/{GetContactCampaignStatsLinks.md → GetExtendedContactDetailsStatisticsLinks.md} +2 -2
- data/docs/{GetContactCampaignStatsMessagesSent.md → GetExtendedContactDetailsStatisticsMessagesSent.md} +2 -2
- data/docs/GetExtendedContactDetailsStatisticsOpened.md +11 -0
- data/docs/GetExtendedContactDetailsStatisticsUnsubscriptions.md +9 -0
- data/docs/{GetContactCampaignStatsUnsubscriptionsAdminUnsubscription.md → GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md} +2 -2
- data/docs/{GetContactCampaignStatsUnsubscriptionsUserUnsubscription.md → GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md} +2 -2
- data/docs/GetExtendedList.md +1 -1
- data/docs/GetLists.md +1 -1
- data/docs/GetWebhook.md +2 -2
- data/lib/sib-api-v3-sdk.rb +8 -6
- data/lib/sib-api-v3-sdk/models/get_account_plan.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_campaign_stats.rb +0 -5
- data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats.rb +4 -4
- data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_clicked.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_opened.rb +20 -1
- data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_unsubscriptions.rb +2 -2
- data/lib/sib-api-v3-sdk/models/get_email_campaign.rb +0 -5
- data/lib/sib-api-v3-sdk/models/get_email_event_report_events.rb +24 -4
- data/lib/sib-api-v3-sdk/models/get_extended_campaign_overview.rb +0 -5
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details.rb +13 -4
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics.rb +272 -0
- data/lib/sib-api-v3-sdk/models/{get_contact_campaign_stats_messages_sent.rb → get_extended_contact_details_statistics_clicked.rb} +14 -12
- data/lib/sib-api-v3-sdk/models/{get_contact_campaign_stats_links.rb → get_extended_contact_details_statistics_links.rb} +21 -2
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_messages_sent.rb +228 -0
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_opened.rb +258 -0
- data/lib/sib-api-v3-sdk/models/{get_lists_folder.rb → get_extended_contact_details_statistics_unsubscriptions.rb} +27 -23
- data/lib/sib-api-v3-sdk/models/{get_contact_campaign_stats_unsubscriptions_admin_unsubscription.rb → get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.rb} +21 -2
- data/lib/sib-api-v3-sdk/models/{get_contact_campaign_stats_unsubscriptions_user_unsubscription.rb → get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.rb} +21 -2
- data/lib/sib-api-v3-sdk/models/get_extended_list.rb +6 -6
- data/lib/sib-api-v3-sdk/models/get_lists.rb +19 -19
- data/lib/sib-api-v3-sdk/models/get_webhook.rb +12 -12
- data/lib/sib-api-v3-sdk/version.rb +1 -1
- data/spec/models/get_email_event_report_events_spec.rb +12 -0
- data/spec/models/get_extended_contact_details_spec.rb +6 -0
- data/spec/models/{get_lists_folder_spec.rb → get_extended_contact_details_statistics_clicked_spec.rb} +8 -8
- data/spec/models/{get_contact_campaign_stats_links_spec.rb → get_extended_contact_details_statistics_links_spec.rb} +6 -6
- data/spec/models/{get_contact_campaign_stats_messages_sent_spec.rb → get_extended_contact_details_statistics_messages_sent_spec.rb} +6 -6
- data/spec/models/get_extended_contact_details_statistics_opened_spec.rb +60 -0
- data/spec/models/get_extended_contact_details_statistics_spec.rb +84 -0
- data/spec/models/{get_contact_campaign_stats_unsubscriptions_admin_unsubscription_spec.rb → get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription_spec.rb} +6 -6
- data/spec/models/get_extended_contact_details_statistics_unsubscriptions_spec.rb +48 -0
- data/spec/models/{get_contact_campaign_stats_unsubscriptions_user_unsubscription_spec.rb → get_extended_contact_details_statistics_unsubscriptions_user_unsubscription_spec.rb} +6 -6
- data/spec/models/get_lists_spec.rb +2 -2
- metadata +34 -27
- data/docs/GetListsFolder.md +0 -9
- data/docs/GetListsLists.md +0 -8
- data/git_push.sh +0 -55
- data/lib/sib-api-v3-sdk/models/get_lists_lists.rb +0 -188
- data/spec/models/get_lists_lists_spec.rb +0 -42
@@ -14,31 +14,31 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for SibApiV3Sdk::
|
17
|
+
# Unit tests for SibApiV3Sdk::GetExtendedContactDetailsStatisticsClicked
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'GetExtendedContactDetailsStatisticsClicked' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = SibApiV3Sdk::
|
23
|
+
@instance = SibApiV3Sdk::GetExtendedContactDetailsStatisticsClicked.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(SibApiV3Sdk::
|
30
|
+
describe 'test an instance of GetExtendedContactDetailsStatisticsClicked' do
|
31
|
+
it 'should create an instance of GetExtendedContactDetailsStatisticsClicked' do
|
32
|
+
expect(@instance).to be_instance_of(SibApiV3Sdk::GetExtendedContactDetailsStatisticsClicked)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "campaign_id"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "links"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for SibApiV3Sdk::
|
17
|
+
# Unit tests for SibApiV3Sdk::GetExtendedContactDetailsStatisticsLinks
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'GetExtendedContactDetailsStatisticsLinks' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = SibApiV3Sdk::
|
23
|
+
@instance = SibApiV3Sdk::GetExtendedContactDetailsStatisticsLinks.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(SibApiV3Sdk::
|
30
|
+
describe 'test an instance of GetExtendedContactDetailsStatisticsLinks' do
|
31
|
+
it 'should create an instance of GetExtendedContactDetailsStatisticsLinks' do
|
32
|
+
expect(@instance).to be_instance_of(SibApiV3Sdk::GetExtendedContactDetailsStatisticsLinks)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "count"' do
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for SibApiV3Sdk::
|
17
|
+
# Unit tests for SibApiV3Sdk::GetExtendedContactDetailsStatisticsMessagesSent
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'GetExtendedContactDetailsStatisticsMessagesSent' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = SibApiV3Sdk::
|
23
|
+
@instance = SibApiV3Sdk::GetExtendedContactDetailsStatisticsMessagesSent.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(SibApiV3Sdk::
|
30
|
+
describe 'test an instance of GetExtendedContactDetailsStatisticsMessagesSent' do
|
31
|
+
it 'should create an instance of GetExtendedContactDetailsStatisticsMessagesSent' do
|
32
|
+
expect(@instance).to be_instance_of(SibApiV3Sdk::GetExtendedContactDetailsStatisticsMessagesSent)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "campaign_id"' do
|
@@ -0,0 +1,60 @@
|
|
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.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SibApiV3Sdk::GetExtendedContactDetailsStatisticsOpened
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'GetExtendedContactDetailsStatisticsOpened' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = SibApiV3Sdk::GetExtendedContactDetailsStatisticsOpened.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of GetExtendedContactDetailsStatisticsOpened' do
|
31
|
+
it 'should create an instance of GetExtendedContactDetailsStatisticsOpened' do
|
32
|
+
expect(@instance).to be_instance_of(SibApiV3Sdk::GetExtendedContactDetailsStatisticsOpened)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "campaign_id"' 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 "count"' 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 "event_time"' 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 "ip"' 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
|
+
end
|
60
|
+
|
@@ -0,0 +1,84 @@
|
|
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.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SibApiV3Sdk::GetExtendedContactDetailsStatistics
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'GetExtendedContactDetailsStatistics' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = SibApiV3Sdk::GetExtendedContactDetailsStatistics.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of GetExtendedContactDetailsStatistics' do
|
31
|
+
it 'should create an instance of GetExtendedContactDetailsStatistics' do
|
32
|
+
expect(@instance).to be_instance_of(SibApiV3Sdk::GetExtendedContactDetailsStatistics)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "messages_sent"' 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 "hard_bounces"' 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 "soft_bounces"' 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 "complaints"' 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 "unsubscriptions"' 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 "opened"' 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 "clicked"' 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 "transac_attributes"' 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
|
84
|
+
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for SibApiV3Sdk::
|
17
|
+
# Unit tests for SibApiV3Sdk::GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = SibApiV3Sdk::
|
23
|
+
@instance = SibApiV3Sdk::GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(SibApiV3Sdk::
|
30
|
+
describe 'test an instance of GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription' do
|
31
|
+
it 'should create an instance of GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription' do
|
32
|
+
expect(@instance).to be_instance_of(SibApiV3Sdk::GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "event_time"' do
|
@@ -0,0 +1,48 @@
|
|
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.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SibApiV3Sdk::GetExtendedContactDetailsStatisticsUnsubscriptions
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'GetExtendedContactDetailsStatisticsUnsubscriptions' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = SibApiV3Sdk::GetExtendedContactDetailsStatisticsUnsubscriptions.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of GetExtendedContactDetailsStatisticsUnsubscriptions' do
|
31
|
+
it 'should create an instance of GetExtendedContactDetailsStatisticsUnsubscriptions' do
|
32
|
+
expect(@instance).to be_instance_of(SibApiV3Sdk::GetExtendedContactDetailsStatisticsUnsubscriptions)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "user_unsubscription"' 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 "admin_unsubscription"' 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
|
+
end
|
48
|
+
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for SibApiV3Sdk::
|
17
|
+
# Unit tests for SibApiV3Sdk::GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = SibApiV3Sdk::
|
23
|
+
@instance = SibApiV3Sdk::GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(SibApiV3Sdk::
|
30
|
+
describe 'test an instance of GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription' do
|
31
|
+
it 'should create an instance of GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription' do
|
32
|
+
expect(@instance).to be_instance_of(SibApiV3Sdk::GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "campaign_id"' do
|
@@ -32,13 +32,13 @@ describe 'GetLists' do
|
|
32
32
|
expect(@instance).to be_instance_of(SibApiV3Sdk::GetLists)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "lists"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "count"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sib-api-v3-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SendinBlue Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -254,13 +254,9 @@ files:
|
|
254
254
|
- docs/GetClient.md
|
255
255
|
- docs/GetContactCampaignStats.md
|
256
256
|
- docs/GetContactCampaignStatsClicked.md
|
257
|
-
- docs/GetContactCampaignStatsLinks.md
|
258
|
-
- docs/GetContactCampaignStatsMessagesSent.md
|
259
257
|
- docs/GetContactCampaignStatsOpened.md
|
260
258
|
- docs/GetContactCampaignStatsTransacAttributes.md
|
261
259
|
- docs/GetContactCampaignStatsUnsubscriptions.md
|
262
|
-
- docs/GetContactCampaignStatsUnsubscriptionsAdminUnsubscription.md
|
263
|
-
- docs/GetContactCampaignStatsUnsubscriptionsUserUnsubscription.md
|
264
260
|
- docs/GetContactDetails.md
|
265
261
|
- docs/GetContacts.md
|
266
262
|
- docs/GetEmailCampaign.md
|
@@ -274,6 +270,14 @@ files:
|
|
274
270
|
- docs/GetExtendedClient.md
|
275
271
|
- docs/GetExtendedClientAddress.md
|
276
272
|
- docs/GetExtendedContactDetails.md
|
273
|
+
- docs/GetExtendedContactDetailsStatistics.md
|
274
|
+
- docs/GetExtendedContactDetailsStatisticsClicked.md
|
275
|
+
- docs/GetExtendedContactDetailsStatisticsLinks.md
|
276
|
+
- docs/GetExtendedContactDetailsStatisticsMessagesSent.md
|
277
|
+
- docs/GetExtendedContactDetailsStatisticsOpened.md
|
278
|
+
- docs/GetExtendedContactDetailsStatisticsUnsubscriptions.md
|
279
|
+
- docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md
|
280
|
+
- docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md
|
277
281
|
- docs/GetExtendedList.md
|
278
282
|
- docs/GetExtendedListCampaignStats.md
|
279
283
|
- docs/GetFolder.md
|
@@ -285,8 +289,6 @@ files:
|
|
285
289
|
- docs/GetIpsFromSender.md
|
286
290
|
- docs/GetList.md
|
287
291
|
- docs/GetLists.md
|
288
|
-
- docs/GetListsFolder.md
|
289
|
-
- docs/GetListsLists.md
|
290
292
|
- docs/GetProcess.md
|
291
293
|
- docs/GetProcesses.md
|
292
294
|
- docs/GetReports.md
|
@@ -358,7 +360,6 @@ files:
|
|
358
360
|
- docs/UpdateSmtpTemplateSender.md
|
359
361
|
- docs/UpdateWebhook.md
|
360
362
|
- docs/WebhooksApi.md
|
361
|
-
- git_push.sh
|
362
363
|
- lib/sib-api-v3-sdk.rb
|
363
364
|
- lib/sib-api-v3-sdk/api/account_api.rb
|
364
365
|
- lib/sib-api-v3-sdk/api/attributes_api.rb
|
@@ -424,13 +425,9 @@ files:
|
|
424
425
|
- lib/sib-api-v3-sdk/models/get_client.rb
|
425
426
|
- lib/sib-api-v3-sdk/models/get_contact_campaign_stats.rb
|
426
427
|
- lib/sib-api-v3-sdk/models/get_contact_campaign_stats_clicked.rb
|
427
|
-
- lib/sib-api-v3-sdk/models/get_contact_campaign_stats_links.rb
|
428
|
-
- lib/sib-api-v3-sdk/models/get_contact_campaign_stats_messages_sent.rb
|
429
428
|
- lib/sib-api-v3-sdk/models/get_contact_campaign_stats_opened.rb
|
430
429
|
- lib/sib-api-v3-sdk/models/get_contact_campaign_stats_transac_attributes.rb
|
431
430
|
- lib/sib-api-v3-sdk/models/get_contact_campaign_stats_unsubscriptions.rb
|
432
|
-
- lib/sib-api-v3-sdk/models/get_contact_campaign_stats_unsubscriptions_admin_unsubscription.rb
|
433
|
-
- lib/sib-api-v3-sdk/models/get_contact_campaign_stats_unsubscriptions_user_unsubscription.rb
|
434
431
|
- lib/sib-api-v3-sdk/models/get_contact_details.rb
|
435
432
|
- lib/sib-api-v3-sdk/models/get_contacts.rb
|
436
433
|
- lib/sib-api-v3-sdk/models/get_email_campaign.rb
|
@@ -444,6 +441,14 @@ files:
|
|
444
441
|
- lib/sib-api-v3-sdk/models/get_extended_client.rb
|
445
442
|
- lib/sib-api-v3-sdk/models/get_extended_client_address.rb
|
446
443
|
- lib/sib-api-v3-sdk/models/get_extended_contact_details.rb
|
444
|
+
- lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics.rb
|
445
|
+
- lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_clicked.rb
|
446
|
+
- lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_links.rb
|
447
|
+
- lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_messages_sent.rb
|
448
|
+
- lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_opened.rb
|
449
|
+
- lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions.rb
|
450
|
+
- lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.rb
|
451
|
+
- lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.rb
|
447
452
|
- lib/sib-api-v3-sdk/models/get_extended_list.rb
|
448
453
|
- lib/sib-api-v3-sdk/models/get_extended_list_campaign_stats.rb
|
449
454
|
- lib/sib-api-v3-sdk/models/get_folder.rb
|
@@ -455,8 +460,6 @@ files:
|
|
455
460
|
- lib/sib-api-v3-sdk/models/get_ips_from_sender.rb
|
456
461
|
- lib/sib-api-v3-sdk/models/get_list.rb
|
457
462
|
- lib/sib-api-v3-sdk/models/get_lists.rb
|
458
|
-
- lib/sib-api-v3-sdk/models/get_lists_folder.rb
|
459
|
-
- lib/sib-api-v3-sdk/models/get_lists_lists.rb
|
460
463
|
- lib/sib-api-v3-sdk/models/get_process.rb
|
461
464
|
- lib/sib-api-v3-sdk/models/get_processes.rb
|
462
465
|
- lib/sib-api-v3-sdk/models/get_reports.rb
|
@@ -584,14 +587,10 @@ files:
|
|
584
587
|
- spec/models/get_children_list_spec.rb
|
585
588
|
- spec/models/get_client_spec.rb
|
586
589
|
- spec/models/get_contact_campaign_stats_clicked_spec.rb
|
587
|
-
- spec/models/get_contact_campaign_stats_links_spec.rb
|
588
|
-
- spec/models/get_contact_campaign_stats_messages_sent_spec.rb
|
589
590
|
- spec/models/get_contact_campaign_stats_opened_spec.rb
|
590
591
|
- spec/models/get_contact_campaign_stats_spec.rb
|
591
592
|
- spec/models/get_contact_campaign_stats_transac_attributes_spec.rb
|
592
|
-
- spec/models/get_contact_campaign_stats_unsubscriptions_admin_unsubscription_spec.rb
|
593
593
|
- spec/models/get_contact_campaign_stats_unsubscriptions_spec.rb
|
594
|
-
- spec/models/get_contact_campaign_stats_unsubscriptions_user_unsubscription_spec.rb
|
595
594
|
- spec/models/get_contact_details_spec.rb
|
596
595
|
- spec/models/get_contacts_spec.rb
|
597
596
|
- spec/models/get_email_campaign_spec.rb
|
@@ -605,6 +604,14 @@ files:
|
|
605
604
|
- spec/models/get_extended_client_address_spec.rb
|
606
605
|
- spec/models/get_extended_client_spec.rb
|
607
606
|
- spec/models/get_extended_contact_details_spec.rb
|
607
|
+
- spec/models/get_extended_contact_details_statistics_clicked_spec.rb
|
608
|
+
- spec/models/get_extended_contact_details_statistics_links_spec.rb
|
609
|
+
- spec/models/get_extended_contact_details_statistics_messages_sent_spec.rb
|
610
|
+
- spec/models/get_extended_contact_details_statistics_opened_spec.rb
|
611
|
+
- spec/models/get_extended_contact_details_statistics_spec.rb
|
612
|
+
- spec/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription_spec.rb
|
613
|
+
- spec/models/get_extended_contact_details_statistics_unsubscriptions_spec.rb
|
614
|
+
- spec/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription_spec.rb
|
608
615
|
- spec/models/get_extended_list_campaign_stats_spec.rb
|
609
616
|
- spec/models/get_extended_list_spec.rb
|
610
617
|
- spec/models/get_folder_lists_spec.rb
|
@@ -615,8 +622,6 @@ files:
|
|
615
622
|
- spec/models/get_ips_from_sender_spec.rb
|
616
623
|
- spec/models/get_ips_spec.rb
|
617
624
|
- spec/models/get_list_spec.rb
|
618
|
-
- spec/models/get_lists_folder_spec.rb
|
619
|
-
- spec/models/get_lists_lists_spec.rb
|
620
625
|
- spec/models/get_lists_spec.rb
|
621
626
|
- spec/models/get_process_spec.rb
|
622
627
|
- spec/models/get_processes_spec.rb
|
@@ -769,14 +774,10 @@ test_files:
|
|
769
774
|
- spec/models/get_children_list_spec.rb
|
770
775
|
- spec/models/get_client_spec.rb
|
771
776
|
- spec/models/get_contact_campaign_stats_clicked_spec.rb
|
772
|
-
- spec/models/get_contact_campaign_stats_links_spec.rb
|
773
|
-
- spec/models/get_contact_campaign_stats_messages_sent_spec.rb
|
774
777
|
- spec/models/get_contact_campaign_stats_opened_spec.rb
|
775
778
|
- spec/models/get_contact_campaign_stats_spec.rb
|
776
779
|
- spec/models/get_contact_campaign_stats_transac_attributes_spec.rb
|
777
|
-
- spec/models/get_contact_campaign_stats_unsubscriptions_admin_unsubscription_spec.rb
|
778
780
|
- spec/models/get_contact_campaign_stats_unsubscriptions_spec.rb
|
779
|
-
- spec/models/get_contact_campaign_stats_unsubscriptions_user_unsubscription_spec.rb
|
780
781
|
- spec/models/get_contact_details_spec.rb
|
781
782
|
- spec/models/get_contacts_spec.rb
|
782
783
|
- spec/models/get_email_campaign_spec.rb
|
@@ -790,6 +791,14 @@ test_files:
|
|
790
791
|
- spec/models/get_extended_client_address_spec.rb
|
791
792
|
- spec/models/get_extended_client_spec.rb
|
792
793
|
- spec/models/get_extended_contact_details_spec.rb
|
794
|
+
- spec/models/get_extended_contact_details_statistics_clicked_spec.rb
|
795
|
+
- spec/models/get_extended_contact_details_statistics_links_spec.rb
|
796
|
+
- spec/models/get_extended_contact_details_statistics_messages_sent_spec.rb
|
797
|
+
- spec/models/get_extended_contact_details_statistics_opened_spec.rb
|
798
|
+
- spec/models/get_extended_contact_details_statistics_spec.rb
|
799
|
+
- spec/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription_spec.rb
|
800
|
+
- spec/models/get_extended_contact_details_statistics_unsubscriptions_spec.rb
|
801
|
+
- spec/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription_spec.rb
|
793
802
|
- spec/models/get_extended_list_campaign_stats_spec.rb
|
794
803
|
- spec/models/get_extended_list_spec.rb
|
795
804
|
- spec/models/get_folder_lists_spec.rb
|
@@ -800,8 +809,6 @@ test_files:
|
|
800
809
|
- spec/models/get_ips_from_sender_spec.rb
|
801
810
|
- spec/models/get_ips_spec.rb
|
802
811
|
- spec/models/get_list_spec.rb
|
803
|
-
- spec/models/get_lists_folder_spec.rb
|
804
|
-
- spec/models/get_lists_lists_spec.rb
|
805
812
|
- spec/models/get_lists_spec.rb
|
806
813
|
- spec/models/get_process_spec.rb
|
807
814
|
- spec/models/get_processes_spec.rb
|