sib-api-v3-sdk 7.2.0 → 7.3.0

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.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -0
  3. data/docs/ContactsApi.md +10 -10
  4. data/docs/CreateSmtpEmail.md +2 -1
  5. data/docs/EmailCampaignsApi.md +2 -2
  6. data/docs/FoldersApi.md +4 -4
  7. data/docs/ListsApi.md +6 -6
  8. data/docs/ProcessApi.md +2 -2
  9. data/docs/SMSCampaignsApi.md +2 -2
  10. data/docs/SendSmtpEmail.md +3 -2
  11. data/docs/SendSmtpEmailMessageVersions.md +13 -0
  12. data/docs/SendSmtpEmailReplyTo1.md +9 -0
  13. data/docs/SendSmtpEmailTo1.md +9 -0
  14. data/docs/TransactionalEmailsApi.md +10 -10
  15. data/docs/TransactionalSMSApi.md +4 -4
  16. data/lib/sib-api-v3-sdk.rb +3 -0
  17. data/lib/sib-api-v3-sdk/api/contacts_api.rb +10 -10
  18. data/lib/sib-api-v3-sdk/api/email_campaigns_api.rb +2 -2
  19. data/lib/sib-api-v3-sdk/api/folders_api.rb +4 -4
  20. data/lib/sib-api-v3-sdk/api/lists_api.rb +6 -6
  21. data/lib/sib-api-v3-sdk/api/process_api.rb +2 -2
  22. data/lib/sib-api-v3-sdk/api/sms_campaigns_api.rb +2 -2
  23. data/lib/sib-api-v3-sdk/api/transactional_emails_api.rb +10 -10
  24. data/lib/sib-api-v3-sdk/api/transactional_sms_api.rb +4 -4
  25. data/lib/sib-api-v3-sdk/models/create_smtp_email.rb +15 -9
  26. data/lib/sib-api-v3-sdk/models/send_smtp_email.rb +15 -8
  27. data/lib/sib-api-v3-sdk/models/send_smtp_email_message_versions.rb +246 -0
  28. data/lib/sib-api-v3-sdk/models/send_smtp_email_reply_to_1.rb +200 -0
  29. data/lib/sib-api-v3-sdk/models/send_smtp_email_to_1.rb +199 -0
  30. data/lib/sib-api-v3-sdk/version.rb +1 -1
  31. data/spec/api/contacts_api_spec.rb +5 -5
  32. data/spec/api/email_campaigns_api_spec.rb +1 -1
  33. data/spec/api/folders_api_spec.rb +2 -2
  34. data/spec/api/lists_api_spec.rb +3 -3
  35. data/spec/api/process_api_spec.rb +1 -1
  36. data/spec/api/sms_campaigns_api_spec.rb +1 -1
  37. data/spec/api/transactional_emails_api_spec.rb +5 -5
  38. data/spec/api/transactional_sms_api_spec.rb +2 -2
  39. data/spec/models/create_smtp_email_spec.rb +6 -0
  40. data/spec/models/send_smtp_email_message_versions_spec.rb +71 -0
  41. data/spec/models/send_smtp_email_reply_to_1_spec.rb +47 -0
  42. data/spec/models/send_smtp_email_spec.rb +6 -0
  43. data/spec/models/send_smtp_email_to_1_spec.rb +47 -0
  44. metadata +14 -3
  45. data/testfile.rb +0 -26
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.12
11
11
  =end
12
12
 
13
13
  module SibApiV3Sdk
14
- VERSION = "7.2.0"
14
+ VERSION = "7.3.0"
15
15
  end
@@ -186,7 +186,7 @@ describe 'ContactsApi' do
186
186
  # @option opts [Integer] :limit Number of documents per page
187
187
  # @option opts [Integer] :offset Index of the first document of the page
188
188
  # @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
189
- # @option opts [String] :sort Sort the results in the ascending/descending order of record creation
189
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
190
190
  # @return [GetContacts]
191
191
  describe 'get_contacts test' do
192
192
  it 'should work' do
@@ -201,7 +201,7 @@ describe 'ContactsApi' do
201
201
  # @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
202
202
  # @option opts [Integer] :limit Number of documents per page
203
203
  # @option opts [Integer] :offset Index of the first document of the page
204
- # @option opts [String] :sort Sort the results in the ascending/descending order of record creation
204
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
205
205
  # @return [GetContacts]
206
206
  describe 'get_contacts_from_list test' do
207
207
  it 'should work' do
@@ -226,7 +226,7 @@ describe 'ContactsApi' do
226
226
  # @param [Hash] opts the optional parameters
227
227
  # @option opts [Integer] :limit Number of documents per page
228
228
  # @option opts [Integer] :offset Index of the first document of the page
229
- # @option opts [String] :sort Sort the results in the ascending/descending order of record creation
229
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
230
230
  # @return [GetFolderLists]
231
231
  describe 'get_folder_lists test' do
232
232
  it 'should work' do
@@ -239,7 +239,7 @@ describe 'ContactsApi' do
239
239
  # @param limit Number of documents per page
240
240
  # @param offset Index of the first document of the page
241
241
  # @param [Hash] opts the optional parameters
242
- # @option opts [String] :sort Sort the results in the ascending/descending order of record creation
242
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
243
243
  # @return [GetFolders]
244
244
  describe 'get_folders test' do
245
245
  it 'should work' do
@@ -263,7 +263,7 @@ describe 'ContactsApi' do
263
263
  # @param [Hash] opts the optional parameters
264
264
  # @option opts [Integer] :limit Number of documents per page
265
265
  # @option opts [Integer] :offset Index of the first document of the page
266
- # @option opts [String] :sort Sort the results in the ascending/descending order of record creation
266
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
267
267
  # @return [GetLists]
268
268
  describe 'get_lists test' do
269
269
  it 'should work' do
@@ -98,7 +98,7 @@ describe 'EmailCampaignsApi' do
98
98
  # @option opts [DateTime] :end_date 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' )
99
99
  # @option opts [Integer] :limit Number of documents per page
100
100
  # @option opts [Integer] :offset Index of the first document in the page
101
- # @option opts [String] :sort Sort the results in the ascending/descending order of record creation
101
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
102
102
  # @return [GetEmailCampaigns]
103
103
  describe 'get_email_campaigns test' do
104
104
  it 'should work' do
@@ -71,7 +71,7 @@ describe 'FoldersApi' do
71
71
  # @param [Hash] opts the optional parameters
72
72
  # @option opts [Integer] :limit Number of documents per page
73
73
  # @option opts [Integer] :offset Index of the first document of the page
74
- # @option opts [String] :sort Sort the results in the ascending/descending order of record creation
74
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
75
75
  # @return [GetFolderLists]
76
76
  describe 'get_folder_lists test' do
77
77
  it 'should work' do
@@ -84,7 +84,7 @@ describe 'FoldersApi' do
84
84
  # @param limit Number of documents per page
85
85
  # @param offset Index of the first document of the page
86
86
  # @param [Hash] opts the optional parameters
87
- # @option opts [String] :sort Sort the results in the ascending/descending order of record creation
87
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
88
88
  # @return [GetFolders]
89
89
  describe 'get_folders test' do
90
90
  it 'should work' do
@@ -73,7 +73,7 @@ describe 'ListsApi' do
73
73
  # @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.
74
74
  # @option opts [Integer] :limit Number of documents per page
75
75
  # @option opts [Integer] :offset Index of the first document of the page
76
- # @option opts [String] :sort Sort the results in the ascending/descending order of record creation
76
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
77
77
  # @return [GetContacts]
78
78
  describe 'get_contacts_from_list test' do
79
79
  it 'should work' do
@@ -87,7 +87,7 @@ describe 'ListsApi' do
87
87
  # @param [Hash] opts the optional parameters
88
88
  # @option opts [Integer] :limit Number of documents per page
89
89
  # @option opts [Integer] :offset Index of the first document of the page
90
- # @option opts [String] :sort Sort the results in the ascending/descending order of record creation
90
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
91
91
  # @return [GetFolderLists]
92
92
  describe 'get_folder_lists test' do
93
93
  it 'should work' do
@@ -111,7 +111,7 @@ describe 'ListsApi' do
111
111
  # @param [Hash] opts the optional parameters
112
112
  # @option opts [Integer] :limit Number of documents per page
113
113
  # @option opts [Integer] :offset Index of the first document of the page
114
- # @option opts [String] :sort Sort the results in the ascending/descending order of record creation
114
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
115
115
  # @return [GetLists]
116
116
  describe 'get_lists test' do
117
117
  it 'should work' do
@@ -48,7 +48,7 @@ describe 'ProcessApi' do
48
48
  # @param [Hash] opts the optional parameters
49
49
  # @option opts [Integer] :limit Number limitation for the result returned
50
50
  # @option opts [Integer] :offset Beginning point in the list to retrieve from.
51
- # @option opts [String] :sort Sort the results in the ascending/descending order of record creation
51
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
52
52
  # @return [GetProcesses]
53
53
  describe 'get_processes test' do
54
54
  it 'should work' do
@@ -73,7 +73,7 @@ describe 'SMSCampaignsApi' do
73
73
  # @option opts [DateTime] :end_date Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms 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' )
74
74
  # @option opts [Integer] :limit Number limitation for the result returned
75
75
  # @option opts [Integer] :offset Beginning point in the list to retrieve from.
76
- # @option opts [String] :sort Sort the results in the ascending/descending order of record creation
76
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
77
77
  # @return [GetSmsCampaigns]
78
78
  describe 'get_sms_campaigns test' do
79
79
  it 'should work' do
@@ -128,7 +128,7 @@ describe 'TransactionalEmailsApi' do
128
128
  # @option opts [String] :tags Filter the report for tags (serialized and urlencoded array)
129
129
  # @option opts [String] :message_id Filter on a specific message id
130
130
  # @option opts [Integer] :template_id Filter on a specific template id
131
- # @option opts [String] :sort Sort the results in the ascending/descending order of record creation
131
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
132
132
  # @return [GetEmailEventReport]
133
133
  describe 'get_email_event_report test' do
134
134
  it 'should work' do
@@ -145,7 +145,7 @@ describe 'TransactionalEmailsApi' do
145
145
  # @option opts [String] :end_date Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD)
146
146
  # @option opts [Integer] :days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate'
147
147
  # @option opts [String] :tag Tag of the emails
148
- # @option opts [String] :sort Sort the results in the ascending/descending order of record creation
148
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
149
149
  # @return [GetReports]
150
150
  describe 'get_smtp_report test' do
151
151
  it 'should work' do
@@ -170,7 +170,7 @@ describe 'TransactionalEmailsApi' do
170
170
  # @option opts [BOOLEAN] :template_status Filter on the status of the template. Active = true, inactive = false
171
171
  # @option opts [Integer] :limit Number of documents returned per page
172
172
  # @option opts [Integer] :offset Index of the first document in the page
173
- # @option opts [String] :sort Sort the results in the ascending/descending order of record creation
173
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
174
174
  # @return [GetSmtpTemplates]
175
175
  describe 'get_smtp_templates test' do
176
176
  it 'should work' do
@@ -186,7 +186,7 @@ describe 'TransactionalEmailsApi' do
186
186
  # @option opts [Integer] :limit Number of documents returned per page
187
187
  # @option opts [Integer] :offset Index of the first document on the page
188
188
  # @option opts [Array<String>] :senders Comma separated list of emails of the senders from which contacts are blocked or unsubscribed
189
- # @option opts [String] :sort Sort the results in the ascending/descending order of record creation
189
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed
190
190
  # @return [GetTransacBlockedContacts]
191
191
  describe 'get_transac_blocked_contacts test' do
192
192
  it 'should work' do
@@ -214,7 +214,7 @@ describe 'TransactionalEmailsApi' do
214
214
  # @option opts [String] :message_id Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent.
215
215
  # @option opts [Date] :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.
216
216
  # @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.
217
- # @option opts [String] :sort Sort the results in the ascending/descending order of record creation
217
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed
218
218
  # @return [GetTransacEmailsList]
219
219
  describe 'get_transac_emails_list test' do
220
220
  it 'should work' do
@@ -43,7 +43,7 @@ describe 'TransactionalSMSApi' do
43
43
  # @option opts [String] :phone_number Filter the report for a specific phone number
44
44
  # @option opts [String] :event Filter the report for specific events
45
45
  # @option opts [String] :tags Filter the report for specific tags passed as a serialized urlencoded array
46
- # @option opts [String] :sort Sort the results in the ascending/descending order of record creation
46
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed
47
47
  # @return [GetSmsEventReport]
48
48
  describe 'get_sms_events test' do
49
49
  it 'should work' do
@@ -72,7 +72,7 @@ describe 'TransactionalSMSApi' do
72
72
  # @option opts [String] :end_date Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report
73
73
  # @option opts [Integer] :days Number of days in the past including today (positive integer). Not compatible with &#39;startDate&#39; and &#39;endDate&#39;
74
74
  # @option opts [String] :tag Filter on a tag
75
- # @option opts [String] :sort Sort the results in the ascending/descending order of record creation
75
+ # @option opts [String] :sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed
76
76
  # @return [GetTransacSmsReport]
77
77
  describe 'get_transac_sms_report test' do
78
78
  it 'should work' do
@@ -38,4 +38,10 @@ describe 'CreateSmtpEmail' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "message_ids"' 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
+
41
47
  end
@@ -0,0 +1,71 @@
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 | | 406 | Error. Not Acceptable |
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.4.12
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SibApiV3Sdk::SendSmtpEmailMessageVersions
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'SendSmtpEmailMessageVersions' do
21
+ before do
22
+ # run before each test
23
+ @instance = SibApiV3Sdk::SendSmtpEmailMessageVersions.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SendSmtpEmailMessageVersions' do
31
+ it 'should create an instance of SendSmtpEmailMessageVersions' do
32
+ expect(@instance).to be_instance_of(SibApiV3Sdk::SendSmtpEmailMessageVersions)
33
+ end
34
+ end
35
+ describe 'test attribute "to"' 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 "params"' 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 "bcc"' 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 "cc"' 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 "reply_to"' 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 "subject"' 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
@@ -0,0 +1,47 @@
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 | | 406 | Error. Not Acceptable |
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.4.12
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SibApiV3Sdk::SendSmtpEmailReplyTo1
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'SendSmtpEmailReplyTo1' do
21
+ before do
22
+ # run before each test
23
+ @instance = SibApiV3Sdk::SendSmtpEmailReplyTo1.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SendSmtpEmailReplyTo1' do
31
+ it 'should create an instance of SendSmtpEmailReplyTo1' do
32
+ expect(@instance).to be_instance_of(SibApiV3Sdk::SendSmtpEmailReplyTo1)
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 "name"' 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
@@ -104,6 +104,12 @@ describe 'SendSmtpEmail' do
104
104
  end
105
105
  end
106
106
 
107
+ describe 'test attribute "message_versions"' do
108
+ it 'should work' do
109
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
+ end
111
+ end
112
+
107
113
  describe 'test attribute "tags"' do
108
114
  it 'should work' do
109
115
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,47 @@
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 | | 406 | Error. Not Acceptable |
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.4.12
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SibApiV3Sdk::SendSmtpEmailTo1
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'SendSmtpEmailTo1' do
21
+ before do
22
+ # run before each test
23
+ @instance = SibApiV3Sdk::SendSmtpEmailTo1.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SendSmtpEmailTo1' do
31
+ it 'should create an instance of SendSmtpEmailTo1' do
32
+ expect(@instance).to be_instance_of(SibApiV3Sdk::SendSmtpEmailTo1)
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 "name"' 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
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: 7.2.0
4
+ version: 7.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - SendinBlue Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-30 00:00:00.000000000 Z
11
+ date: 2021-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -364,9 +364,12 @@ files:
364
364
  - docs/SendSmtpEmailAttachment.md
365
365
  - docs/SendSmtpEmailBcc.md
366
366
  - docs/SendSmtpEmailCc.md
367
+ - docs/SendSmtpEmailMessageVersions.md
367
368
  - docs/SendSmtpEmailReplyTo.md
369
+ - docs/SendSmtpEmailReplyTo1.md
368
370
  - docs/SendSmtpEmailSender.md
369
371
  - docs/SendSmtpEmailTo.md
372
+ - docs/SendSmtpEmailTo1.md
370
373
  - docs/SendTemplateEmail.md
371
374
  - docs/SendTestEmail.md
372
375
  - docs/SendTestSms.md
@@ -563,9 +566,12 @@ files:
563
566
  - lib/sib-api-v3-sdk/models/send_smtp_email_attachment.rb
564
567
  - lib/sib-api-v3-sdk/models/send_smtp_email_bcc.rb
565
568
  - lib/sib-api-v3-sdk/models/send_smtp_email_cc.rb
569
+ - lib/sib-api-v3-sdk/models/send_smtp_email_message_versions.rb
566
570
  - lib/sib-api-v3-sdk/models/send_smtp_email_reply_to.rb
571
+ - lib/sib-api-v3-sdk/models/send_smtp_email_reply_to_1.rb
567
572
  - lib/sib-api-v3-sdk/models/send_smtp_email_sender.rb
568
573
  - lib/sib-api-v3-sdk/models/send_smtp_email_to.rb
574
+ - lib/sib-api-v3-sdk/models/send_smtp_email_to_1.rb
569
575
  - lib/sib-api-v3-sdk/models/send_template_email.rb
570
576
  - lib/sib-api-v3-sdk/models/send_test_email.rb
571
577
  - lib/sib-api-v3-sdk/models/send_test_sms.rb
@@ -757,9 +763,12 @@ files:
757
763
  - spec/models/send_smtp_email_attachment_spec.rb
758
764
  - spec/models/send_smtp_email_bcc_spec.rb
759
765
  - spec/models/send_smtp_email_cc_spec.rb
766
+ - spec/models/send_smtp_email_message_versions_spec.rb
767
+ - spec/models/send_smtp_email_reply_to_1_spec.rb
760
768
  - spec/models/send_smtp_email_reply_to_spec.rb
761
769
  - spec/models/send_smtp_email_sender_spec.rb
762
770
  - spec/models/send_smtp_email_spec.rb
771
+ - spec/models/send_smtp_email_to_1_spec.rb
763
772
  - spec/models/send_smtp_email_to_spec.rb
764
773
  - spec/models/send_template_email_spec.rb
765
774
  - spec/models/send_test_email_spec.rb
@@ -783,7 +792,6 @@ files:
783
792
  - spec/models/update_webhook_spec.rb
784
793
  - spec/models/upload_image_to_gallery_spec.rb
785
794
  - spec/spec_helper.rb
786
- - testfile.rb
787
795
  homepage: https://www.sendinblue.com/
788
796
  licenses:
789
797
  - MIT
@@ -977,9 +985,12 @@ test_files:
977
985
  - spec/models/send_smtp_email_attachment_spec.rb
978
986
  - spec/models/send_smtp_email_bcc_spec.rb
979
987
  - spec/models/send_smtp_email_cc_spec.rb
988
+ - spec/models/send_smtp_email_message_versions_spec.rb
989
+ - spec/models/send_smtp_email_reply_to_1_spec.rb
980
990
  - spec/models/send_smtp_email_reply_to_spec.rb
981
991
  - spec/models/send_smtp_email_sender_spec.rb
982
992
  - spec/models/send_smtp_email_spec.rb
993
+ - spec/models/send_smtp_email_to_1_spec.rb
983
994
  - spec/models/send_smtp_email_to_spec.rb
984
995
  - spec/models/send_template_email_spec.rb
985
996
  - spec/models/send_test_email_spec.rb