sib-api-v3-sdk 5.2.4 → 5.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +13 -7
- data/docs/CreateContact.md +1 -1
- data/docs/CreateEmailCampaign.md +1 -1
- data/docs/CreateSmtpEmail.md +1 -1
- data/docs/GetAccountRelay.md +1 -1
- data/docs/GetAccountRelayData.md +1 -1
- data/docs/GetSmtpTemplates.md +1 -1
- data/docs/GetTransacEmailContent.md +14 -0
- data/docs/GetTransacEmailContentEvents.md +9 -0
- data/docs/GetTransacEmailsList.md +8 -0
- data/docs/GetTransacEmailsListTransactionalEmails.md +13 -0
- data/docs/SMTPApi.md +152 -25
- data/docs/UpdateChildAccountStatus.md +1 -1
- data/docs/UpdateContact.md +1 -1
- data/lib/sib-api-v3-sdk.rb +4 -0
- data/lib/sib-api-v3-sdk/api/smtp_api.rb +137 -18
- data/lib/sib-api-v3-sdk/models/create_contact.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_email_campaign.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_smtp_email.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_account_relay.rb +2 -2
- data/lib/sib-api-v3-sdk/models/get_account_relay_data.rb +2 -2
- data/lib/sib-api-v3-sdk/models/get_smtp_templates.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_transac_email_content.rb +281 -0
- data/lib/sib-api-v3-sdk/models/get_transac_email_content_events.rb +209 -0
- data/lib/sib-api-v3-sdk/models/get_transac_emails_list.rb +190 -0
- data/lib/sib-api-v3-sdk/models/get_transac_emails_list_transactional_emails.rb +264 -0
- data/lib/sib-api-v3-sdk/models/update_child_account_status.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_contact.rb +1 -1
- data/lib/sib-api-v3-sdk/version.rb +1 -1
- data/spec/api/smtp_api_spec.rb +37 -9
- data/spec/models/create_webhook_spec.rb +1 -1
- data/spec/models/get_transac_email_content_events_spec.rb +48 -0
- data/spec/models/get_transac_email_content_spec.rb +78 -0
- data/spec/models/get_transac_emails_list_spec.rb +42 -0
- data/spec/models/get_transac_emails_list_transactional_emails_spec.rb +72 -0
- data/spec/models/update_webhook_spec.rb +1 -1
- metadata +18 -2
@@ -15,7 +15,7 @@ require 'date'
|
|
15
15
|
module SibApiV3Sdk
|
16
16
|
|
17
17
|
class UpdateChildAccountStatus
|
18
|
-
# Status of Transactional Email
|
18
|
+
# Status of Transactional Email Platform activation for your account (true=enabled, false=disabled)
|
19
19
|
attr_accessor :transactional_email
|
20
20
|
|
21
21
|
# Status of Transactional SMS Platform activation for your account (true=enabled, false=disabled)
|
@@ -30,7 +30,7 @@ module SibApiV3Sdk
|
|
30
30
|
# Ids of the lists to remove the contact from
|
31
31
|
attr_accessor :unlink_list_ids
|
32
32
|
|
33
|
-
#
|
33
|
+
# transactional email forbidden sender for contact. Use only for email Contact
|
34
34
|
attr_accessor :smtp_blacklist_sender
|
35
35
|
|
36
36
|
|
data/spec/api/smtp_api_spec.rb
CHANGED
@@ -33,9 +33,9 @@ describe 'SMTPApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for create_smtp_template
|
36
|
-
# Create
|
36
|
+
# Create a transactional email template
|
37
37
|
#
|
38
|
-
# @param smtp_template values to update in
|
38
|
+
# @param smtp_template values to update in transactional email template
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [CreateModel]
|
41
41
|
describe 'create_smtp_template test' do
|
@@ -57,7 +57,7 @@ describe 'SMTPApi' do
|
|
57
57
|
end
|
58
58
|
|
59
59
|
# unit tests for delete_smtp_template
|
60
|
-
# Delete an inactive
|
60
|
+
# Delete an inactive transactional email template
|
61
61
|
#
|
62
62
|
# @param template_id id of the template
|
63
63
|
# @param [Hash] opts the optional parameters
|
@@ -69,7 +69,7 @@ describe 'SMTPApi' do
|
|
69
69
|
end
|
70
70
|
|
71
71
|
# unit tests for get_aggregated_smtp_report
|
72
|
-
# Get your
|
72
|
+
# Get your transactional email activity aggregated over a period of time
|
73
73
|
#
|
74
74
|
# @param [Hash] opts the optional parameters
|
75
75
|
# @option opts [String] :start_date Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate
|
@@ -84,7 +84,7 @@ describe 'SMTPApi' do
|
|
84
84
|
end
|
85
85
|
|
86
86
|
# unit tests for get_email_event_report
|
87
|
-
# Get all your
|
87
|
+
# Get all your transactional email activity (unaggregated events)
|
88
88
|
#
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
90
|
# @option opts [Integer] :limit Number limitation for the result returned
|
@@ -105,7 +105,7 @@ describe 'SMTPApi' do
|
|
105
105
|
end
|
106
106
|
|
107
107
|
# unit tests for get_smtp_report
|
108
|
-
# Get your
|
108
|
+
# Get your transactional email activity aggregated per day
|
109
109
|
#
|
110
110
|
# @param [Hash] opts the optional parameters
|
111
111
|
# @option opts [Integer] :limit Number of documents returned per page
|
@@ -134,7 +134,7 @@ describe 'SMTPApi' do
|
|
134
134
|
end
|
135
135
|
|
136
136
|
# unit tests for get_smtp_templates
|
137
|
-
# Get the list of
|
137
|
+
# Get the list of transactional email templates
|
138
138
|
#
|
139
139
|
# @param [Hash] opts the optional parameters
|
140
140
|
# @option opts [BOOLEAN] :template_status Filter on the status of the template. Active = true, inactive = false
|
@@ -147,6 +147,34 @@ describe 'SMTPApi' do
|
|
147
147
|
end
|
148
148
|
end
|
149
149
|
|
150
|
+
# unit tests for get_transac_email_content
|
151
|
+
# Get the personalized content of a sent transactional email
|
152
|
+
#
|
153
|
+
# @param uuid Unique id of the transactional email that has been sent to a particular contact
|
154
|
+
# @param [Hash] opts the optional parameters
|
155
|
+
# @return [GetTransacEmailContent]
|
156
|
+
describe 'get_transac_email_content test' do
|
157
|
+
it "should work" do
|
158
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
162
|
+
# unit tests for get_transac_emails_list
|
163
|
+
# Get the list of transactional emails on the basis of allowed filters
|
164
|
+
# This endpoint will show the list of emails for past 30 days by default. To retrieve emails before that time, please pass startDate and endDate in query filters.
|
165
|
+
# @param [Hash] opts the optional parameters
|
166
|
+
# @option opts [String] :email Mandatory if templateId and messageId are not passed in query filters. Email address to which transactional email has been sent.
|
167
|
+
# @option opts [Integer] :template_id Mandatory if email and messageId are not passed in query filters. Id of the template that was used to compose transactional email.
|
168
|
+
# @option opts [String] :message_id Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent.
|
169
|
+
# @option opts [String] :start_date Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month.
|
170
|
+
# @option opts [Date] :end_date Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month.
|
171
|
+
# @return [GetTransacEmailsList]
|
172
|
+
describe 'get_transac_emails_list test' do
|
173
|
+
it "should work" do
|
174
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
150
178
|
# unit tests for send_template
|
151
179
|
# Send a template
|
152
180
|
# This endpoint is deprecated. Prefer v3/smtp/email instead.
|
@@ -186,10 +214,10 @@ describe 'SMTPApi' do
|
|
186
214
|
end
|
187
215
|
|
188
216
|
# unit tests for update_smtp_template
|
189
|
-
# Updates
|
217
|
+
# Updates a transactional email templates
|
190
218
|
#
|
191
219
|
# @param template_id id of the template
|
192
|
-
# @param smtp_template values to update in
|
220
|
+
# @param smtp_template values to update in transactional email template
|
193
221
|
# @param [Hash] opts the optional parameters
|
194
222
|
# @return [nil]
|
195
223
|
describe 'update_smtp_template test' do
|
@@ -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>', ["hardBounce", "softBounce", "blocked", "spam", "delivered", "request", "click", "invalid", "deferred", "opened", "uniqueOpened", "unsubscribed", "listAddition"])
|
50
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["hardBounce", "softBounce", "blocked", "spam", "delivered", "request", "click", "invalid", "deferred", "opened", "uniqueOpened", "unsubscribed", "listAddition", "contactUpdated", "contactDeleted"])
|
51
51
|
#validator.allowable_values.each do |value|
|
52
52
|
# expect { @instance.events = value }.not_to raise_error
|
53
53
|
#end
|
@@ -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.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SibApiV3Sdk::GetTransacEmailContentEvents
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'GetTransacEmailContentEvents' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = SibApiV3Sdk::GetTransacEmailContentEvents.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of GetTransacEmailContentEvents' do
|
31
|
+
it 'should create an instance of GetTransacEmailContentEvents' do
|
32
|
+
expect(@instance).to be_instance_of(SibApiV3Sdk::GetTransacEmailContentEvents)
|
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 "time"' 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
|
+
|
@@ -0,0 +1,78 @@
|
|
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::GetTransacEmailContent
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'GetTransacEmailContent' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = SibApiV3Sdk::GetTransacEmailContent.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of GetTransacEmailContent' do
|
31
|
+
it 'should create an instance of GetTransacEmailContent' do
|
32
|
+
expect(@instance).to be_instance_of(SibApiV3Sdk::GetTransacEmailContent)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "email"' 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 "subject"' 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 "template_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 "events"' 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 "body"' 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 "attachment_count"' 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
|
+
end
|
78
|
+
|
@@ -0,0 +1,42 @@
|
|
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::GetTransacEmailsList
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'GetTransacEmailsList' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = SibApiV3Sdk::GetTransacEmailsList.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of GetTransacEmailsList' do
|
31
|
+
it 'should create an instance of GetTransacEmailsList' do
|
32
|
+
expect(@instance).to be_instance_of(SibApiV3Sdk::GetTransacEmailsList)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "transactional_emails"' 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
|
+
|
@@ -0,0 +1,72 @@
|
|
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::GetTransacEmailsListTransactionalEmails
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'GetTransacEmailsListTransactionalEmails' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = SibApiV3Sdk::GetTransacEmailsListTransactionalEmails.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of GetTransacEmailsListTransactionalEmails' do
|
31
|
+
it 'should create an instance of GetTransacEmailsListTransactionalEmails' do
|
32
|
+
expect(@instance).to be_instance_of(SibApiV3Sdk::GetTransacEmailsListTransactionalEmails)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "email"' 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 "subject"' 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 "template_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 "message_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 "uuid"' 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 "date"' 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
|
+
end
|
72
|
+
|
@@ -47,7 +47,7 @@ describe 'UpdateWebhook' 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>', ["hardBounce", "softBounce", "blocked", "spam", "delivered", "request", "click", "invalid", "deferred", "opened", "uniqueOpened", "unsubscribed", "listAddition"])
|
50
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["hardBounce", "softBounce", "blocked", "spam", "delivered", "request", "click", "invalid", "deferred", "opened", "uniqueOpened", "unsubscribed", "listAddition", "contactUpdated", "contactDeleted"])
|
51
51
|
#validator.allowable_values.each do |value|
|
52
52
|
# expect { @instance.events = value }.not_to raise_error
|
53
53
|
#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: 5.2.
|
4
|
+
version: 5.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SendinBlue Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -311,6 +311,10 @@ files:
|
|
311
311
|
- docs/GetSsoToken.md
|
312
312
|
- docs/GetStatsByDomain.md
|
313
313
|
- docs/GetTransacAggregatedSmsReport.md
|
314
|
+
- docs/GetTransacEmailContent.md
|
315
|
+
- docs/GetTransacEmailContentEvents.md
|
316
|
+
- docs/GetTransacEmailsList.md
|
317
|
+
- docs/GetTransacEmailsListTransactionalEmails.md
|
314
318
|
- docs/GetTransacSmsReport.md
|
315
319
|
- docs/GetTransacSmsReportReports.md
|
316
320
|
- docs/GetWebhook.md
|
@@ -491,6 +495,10 @@ files:
|
|
491
495
|
- lib/sib-api-v3-sdk/models/get_sso_token.rb
|
492
496
|
- lib/sib-api-v3-sdk/models/get_stats_by_domain.rb
|
493
497
|
- lib/sib-api-v3-sdk/models/get_transac_aggregated_sms_report.rb
|
498
|
+
- lib/sib-api-v3-sdk/models/get_transac_email_content.rb
|
499
|
+
- lib/sib-api-v3-sdk/models/get_transac_email_content_events.rb
|
500
|
+
- lib/sib-api-v3-sdk/models/get_transac_emails_list.rb
|
501
|
+
- lib/sib-api-v3-sdk/models/get_transac_emails_list_transactional_emails.rb
|
494
502
|
- lib/sib-api-v3-sdk/models/get_transac_sms_report.rb
|
495
503
|
- lib/sib-api-v3-sdk/models/get_transac_sms_report_reports.rb
|
496
504
|
- lib/sib-api-v3-sdk/models/get_webhook.rb
|
@@ -663,6 +671,10 @@ files:
|
|
663
671
|
- spec/models/get_sso_token_spec.rb
|
664
672
|
- spec/models/get_stats_by_domain_spec.rb
|
665
673
|
- spec/models/get_transac_aggregated_sms_report_spec.rb
|
674
|
+
- spec/models/get_transac_email_content_events_spec.rb
|
675
|
+
- spec/models/get_transac_email_content_spec.rb
|
676
|
+
- spec/models/get_transac_emails_list_spec.rb
|
677
|
+
- spec/models/get_transac_emails_list_transactional_emails_spec.rb
|
666
678
|
- spec/models/get_transac_sms_report_reports_spec.rb
|
667
679
|
- spec/models/get_transac_sms_report_spec.rb
|
668
680
|
- spec/models/get_webhook_spec.rb
|
@@ -859,6 +871,10 @@ test_files:
|
|
859
871
|
- spec/models/get_sso_token_spec.rb
|
860
872
|
- spec/models/get_stats_by_domain_spec.rb
|
861
873
|
- spec/models/get_transac_aggregated_sms_report_spec.rb
|
874
|
+
- spec/models/get_transac_email_content_events_spec.rb
|
875
|
+
- spec/models/get_transac_email_content_spec.rb
|
876
|
+
- spec/models/get_transac_emails_list_spec.rb
|
877
|
+
- spec/models/get_transac_emails_list_transactional_emails_spec.rb
|
862
878
|
- spec/models/get_transac_sms_report_reports_spec.rb
|
863
879
|
- spec/models/get_transac_sms_report_spec.rb
|
864
880
|
- spec/models/get_webhook_spec.rb
|