sib-api-v3-sdk 5.3.0 → 5.4.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.
- checksums.yaml +4 -4
- data/README.md +66 -62
- data/docs/AccountApi.md +3 -3
- data/docs/AddContactToList.md +1 -1
- data/docs/AttributesApi.md +12 -12
- data/docs/ContactsApi.md +110 -47
- data/docs/CreateAttribute.md +1 -1
- data/docs/CreateContact.md +2 -2
- data/docs/CreateDoiContact.md +13 -0
- data/docs/CreateEmailCampaign.md +1 -1
- data/docs/EmailCampaignsApi.md +78 -21
- data/docs/FoldersApi.md +12 -12
- data/docs/GetEmailCampaign.md +1 -0
- data/docs/GetExtendedCampaignOverview.md +1 -0
- data/docs/GetTransacBlockedContactsContacts.md +1 -1
- data/docs/GetTransacEmailsListTransactionalEmails.md +2 -0
- data/docs/ListsApi.md +12 -12
- data/docs/RemainingCreditModelChild.md +2 -2
- data/docs/RemainingCreditModelReseller.md +2 -2
- data/docs/RemoveContactFromList.md +1 -1
- data/docs/RequestContactExport.md +1 -1
- data/docs/RequestContactImport.md +1 -1
- data/docs/ResellerApi.md +30 -30
- data/docs/SMSCampaignsApi.md +21 -21
- data/docs/SMTPApi.md +17 -17
- data/docs/SendEmail.md +3 -3
- data/docs/SendSmtpEmail.md +3 -3
- data/docs/SendersApi.md +6 -6
- data/docs/TransactionalSMSApi.md +6 -6
- data/docs/UpdateAttribute.md +1 -1
- data/docs/UpdateContact.md +1 -1
- data/docs/UpdateEmailCampaign.md +1 -1
- data/docs/UploadImageToGallery.md +9 -0
- data/lib/sib-api-v3-sdk.rb +2 -0
- data/lib/sib-api-v3-sdk/api/account_api.rb +2 -2
- data/lib/sib-api-v3-sdk/api/attributes_api.rb +8 -8
- data/lib/sib-api-v3-sdk/api/contacts_api.rb +87 -30
- data/lib/sib-api-v3-sdk/api/email_campaigns_api.rb +65 -14
- data/lib/sib-api-v3-sdk/api/folders_api.rb +8 -8
- data/lib/sib-api-v3-sdk/api/lists_api.rb +8 -8
- data/lib/sib-api-v3-sdk/api/reseller_api.rb +20 -20
- data/lib/sib-api-v3-sdk/api/senders_api.rb +4 -4
- data/lib/sib-api-v3-sdk/api/sms_campaigns_api.rb +14 -14
- data/lib/sib-api-v3-sdk/api/smtp_api.rb +12 -12
- data/lib/sib-api-v3-sdk/api/transactional_sms_api.rb +4 -4
- data/lib/sib-api-v3-sdk/models/add_contact_to_list.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_attribute.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_contact.rb +2 -2
- data/lib/sib-api-v3-sdk/models/create_doi_contact.rb +253 -0
- data/lib/sib-api-v3-sdk/models/create_email_campaign.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_email_campaign.rb +11 -1
- data/lib/sib-api-v3-sdk/models/get_extended_campaign_overview.rb +14 -4
- data/lib/sib-api-v3-sdk/models/get_transac_blocked_contacts_contacts.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_transac_emails_list_transactional_emails.rb +26 -4
- data/lib/sib-api-v3-sdk/models/remaining_credit_model_child.rb +2 -2
- data/lib/sib-api-v3-sdk/models/remaining_credit_model_reseller.rb +2 -2
- data/lib/sib-api-v3-sdk/models/remove_contact_from_list.rb +1 -1
- data/lib/sib-api-v3-sdk/models/request_contact_export.rb +1 -1
- data/lib/sib-api-v3-sdk/models/request_contact_import.rb +1 -1
- data/lib/sib-api-v3-sdk/models/send_email.rb +3 -3
- data/lib/sib-api-v3-sdk/models/send_smtp_email.rb +3 -3
- 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 +1 -1
- data/lib/sib-api-v3-sdk/models/update_attribute.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_contact.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_email_campaign.rb +1 -1
- data/lib/sib-api-v3-sdk/models/upload_image_to_gallery.rb +199 -0
- data/lib/sib-api-v3-sdk/version.rb +1 -1
- data/sib-api-v3-sdk.gemspec +5 -5
- data/spec/api/account_api_spec.rb +1 -1
- data/spec/api/attributes_api_spec.rb +4 -4
- data/spec/api/contacts_api_spec.rb +28 -15
- data/spec/api/email_campaigns_api_spec.rb +18 -7
- data/spec/api/folders_api_spec.rb +4 -4
- data/spec/api/lists_api_spec.rb +4 -4
- data/spec/api/reseller_api_spec.rb +10 -10
- data/spec/api/senders_api_spec.rb +2 -2
- data/spec/api/sms_campaigns_api_spec.rb +7 -7
- data/spec/api/smtp_api_spec.rb +6 -6
- data/spec/api/transactional_sms_api_spec.rb +2 -2
- data/spec/models/create_doi_contact_spec.rb +71 -0
- data/spec/models/get_email_campaign_spec.rb +6 -0
- data/spec/models/get_extended_campaign_overview_spec.rb +6 -0
- data/spec/models/get_transac_emails_list_transactional_emails_spec.rb +12 -0
- data/spec/models/upload_image_to_gallery_spec.rb +47 -0
- metadata +10 -2
data/sib-api-v3-sdk.gemspec
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
|
2
|
+
|
3
3
|
=begin
|
4
4
|
#SendinBlue API
|
5
5
|
|
6
|
-
#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 |
|
6
|
+
#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 |
|
7
7
|
|
8
8
|
OpenAPI spec version: 3.0.0
|
9
9
|
Contact: contact@sendinblue.com
|
10
10
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
|
-
Swagger Codegen version: 2.
|
11
|
+
Swagger Codegen version: 2.4.12
|
12
12
|
|
13
13
|
=end
|
14
14
|
|
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.homepage = "https://www.sendinblue.com/"
|
25
25
|
s.summary = "SendinBlue API V3 Ruby Gem"
|
26
26
|
s.description = "Official SendinBlue provided RESTFul API V3 ruby library"
|
27
|
-
s.license =
|
27
|
+
s.license = 'MIT'
|
28
28
|
s.required_ruby_version = ">= 1.9"
|
29
29
|
|
30
30
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
@@ -38,7 +38,7 @@ Gem::Specification.new do |s|
|
|
38
38
|
s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
|
39
39
|
s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
|
40
40
|
|
41
|
-
s.files = `find *`.split("\n").uniq.sort.select{|f| !f.empty? }
|
41
|
+
s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
|
42
42
|
s.test_files = `find spec/*`.split("\n")
|
43
43
|
s.executables = []
|
44
44
|
s.require_paths = ["lib"]
|
@@ -33,7 +33,7 @@ describe 'AccountApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for get_account
|
36
|
-
# Get your account
|
36
|
+
# Get your account information, plan and credits details
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
38
|
# @return [GetAccount]
|
39
39
|
describe 'get_account test' do
|
@@ -33,7 +33,7 @@ describe 'AttributesApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for create_attribute
|
36
|
-
#
|
36
|
+
# Create contact attribute
|
37
37
|
# @param attribute_category Category of the attribute
|
38
38
|
# @param attribute_name Name of the attribute
|
39
39
|
# @param create_attribute Values to create an attribute
|
@@ -46,7 +46,7 @@ describe 'AttributesApi' do
|
|
46
46
|
end
|
47
47
|
|
48
48
|
# unit tests for delete_attribute
|
49
|
-
#
|
49
|
+
# Delete an attribute
|
50
50
|
# @param attribute_category Category of the attribute
|
51
51
|
# @param attribute_name Name of the existing attribute
|
52
52
|
# @param [Hash] opts the optional parameters
|
@@ -58,7 +58,7 @@ describe 'AttributesApi' do
|
|
58
58
|
end
|
59
59
|
|
60
60
|
# unit tests for get_attributes
|
61
|
-
#
|
61
|
+
# List all attributes
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @return [GetAttributes]
|
64
64
|
describe 'get_attributes test' do
|
@@ -68,7 +68,7 @@ describe 'AttributesApi' do
|
|
68
68
|
end
|
69
69
|
|
70
70
|
# unit tests for update_attribute
|
71
|
-
#
|
71
|
+
# Update contact attribute
|
72
72
|
# @param attribute_category Category of the attribute
|
73
73
|
# @param attribute_name Name of the existing attribute
|
74
74
|
# @param update_attribute Values to update an attribute
|
@@ -45,7 +45,7 @@ describe 'ContactsApi' do
|
|
45
45
|
end
|
46
46
|
|
47
47
|
# unit tests for create_attribute
|
48
|
-
#
|
48
|
+
# Create contact attribute
|
49
49
|
# @param attribute_category Category of the attribute
|
50
50
|
# @param attribute_name Name of the attribute
|
51
51
|
# @param create_attribute Values to create an attribute
|
@@ -68,6 +68,17 @@ describe 'ContactsApi' do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
+
# unit tests for create_doi_contact
|
72
|
+
# Create a contact to trigger the DOI workflow from a Landing Page form
|
73
|
+
# @param create_doi_contact Values to create the DOI contact
|
74
|
+
# @param [Hash] opts the optional parameters
|
75
|
+
# @return [nil]
|
76
|
+
describe 'create_doi_contact test' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
71
82
|
# unit tests for create_folder
|
72
83
|
# Create a folder
|
73
84
|
# @param create_folder Name of the folder
|
@@ -91,7 +102,7 @@ describe 'ContactsApi' do
|
|
91
102
|
end
|
92
103
|
|
93
104
|
# unit tests for delete_attribute
|
94
|
-
#
|
105
|
+
# Delete an attribute
|
95
106
|
# @param attribute_category Category of the attribute
|
96
107
|
# @param attribute_name Name of the existing attribute
|
97
108
|
# @param [Hash] opts the optional parameters
|
@@ -103,7 +114,7 @@ describe 'ContactsApi' do
|
|
103
114
|
end
|
104
115
|
|
105
116
|
# unit tests for delete_contact
|
106
|
-
#
|
117
|
+
# Delete a contact
|
107
118
|
# @param email Email (urlencoded) of the contact
|
108
119
|
# @param [Hash] opts the optional parameters
|
109
120
|
# @return [nil]
|
@@ -136,7 +147,7 @@ describe 'ContactsApi' do
|
|
136
147
|
end
|
137
148
|
|
138
149
|
# unit tests for get_attributes
|
139
|
-
#
|
150
|
+
# List all attributes
|
140
151
|
# @param [Hash] opts the optional parameters
|
141
152
|
# @return [GetAttributes]
|
142
153
|
describe 'get_attributes test' do
|
@@ -146,7 +157,7 @@ describe 'ContactsApi' do
|
|
146
157
|
end
|
147
158
|
|
148
159
|
# unit tests for get_contact_info
|
149
|
-
#
|
160
|
+
# Get a contact's details
|
150
161
|
# @param email Email (urlencoded) of the contact OR its SMS attribute value
|
151
162
|
# @param [Hash] opts the optional parameters
|
152
163
|
# @return [GetExtendedContactDetails]
|
@@ -157,9 +168,11 @@ describe 'ContactsApi' do
|
|
157
168
|
end
|
158
169
|
|
159
170
|
# unit tests for get_contact_stats
|
160
|
-
# Get
|
171
|
+
# Get email campaigns' statistics for a contact
|
161
172
|
# @param email Email address (urlencoded) of the contact
|
162
173
|
# @param [Hash] opts the optional parameters
|
174
|
+
# @option opts [Date] :start_date Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate
|
175
|
+
# @option opts [Date] :end_date Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate
|
163
176
|
# @return [GetContactCampaignStats]
|
164
177
|
describe 'get_contact_stats test' do
|
165
178
|
it 'should work' do
|
@@ -181,7 +194,7 @@ describe 'ContactsApi' do
|
|
181
194
|
end
|
182
195
|
|
183
196
|
# unit tests for get_contacts_from_list
|
184
|
-
# Get
|
197
|
+
# Get contacts in a list
|
185
198
|
# @param list_id Id of the list
|
186
199
|
# @param [Hash] opts the optional parameters
|
187
200
|
# @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.
|
@@ -195,7 +208,7 @@ describe 'ContactsApi' do
|
|
195
208
|
end
|
196
209
|
|
197
210
|
# unit tests for get_folder
|
198
|
-
# Returns folder details
|
211
|
+
# Returns a folder's details
|
199
212
|
# @param folder_id id of the folder
|
200
213
|
# @param [Hash] opts the optional parameters
|
201
214
|
# @return [GetFolder]
|
@@ -206,7 +219,7 @@ describe 'ContactsApi' do
|
|
206
219
|
end
|
207
220
|
|
208
221
|
# unit tests for get_folder_lists
|
209
|
-
# Get
|
222
|
+
# Get lists in a folder
|
210
223
|
# @param folder_id Id of the folder
|
211
224
|
# @param [Hash] opts the optional parameters
|
212
225
|
# @option opts [Integer] :limit Number of documents per page
|
@@ -219,7 +232,7 @@ describe 'ContactsApi' do
|
|
219
232
|
end
|
220
233
|
|
221
234
|
# unit tests for get_folders
|
222
|
-
# Get all
|
235
|
+
# Get all folders
|
223
236
|
# @param limit Number of documents per page
|
224
237
|
# @param offset Index of the first document of the page
|
225
238
|
# @param [Hash] opts the optional parameters
|
@@ -231,7 +244,7 @@ describe 'ContactsApi' do
|
|
231
244
|
end
|
232
245
|
|
233
246
|
# unit tests for get_list
|
234
|
-
# Get
|
247
|
+
# Get a list's details
|
235
248
|
# @param list_id Id of the list
|
236
249
|
# @param [Hash] opts the optional parameters
|
237
250
|
# @return [GetExtendedList]
|
@@ -266,7 +279,7 @@ describe 'ContactsApi' do
|
|
266
279
|
end
|
267
280
|
|
268
281
|
# unit tests for remove_contact_from_list
|
269
|
-
#
|
282
|
+
# Delete a contact from a list
|
270
283
|
# @param list_id Id of the list
|
271
284
|
# @param contact_emails Emails adresses of the contact
|
272
285
|
# @param [Hash] opts the optional parameters
|
@@ -290,7 +303,7 @@ describe 'ContactsApi' do
|
|
290
303
|
end
|
291
304
|
|
292
305
|
# unit tests for update_attribute
|
293
|
-
#
|
306
|
+
# Update contact attribute
|
294
307
|
# @param attribute_category Category of the attribute
|
295
308
|
# @param attribute_name Name of the existing attribute
|
296
309
|
# @param update_attribute Values to update an attribute
|
@@ -303,7 +316,7 @@ describe 'ContactsApi' do
|
|
303
316
|
end
|
304
317
|
|
305
318
|
# unit tests for update_contact
|
306
|
-
#
|
319
|
+
# Update a contact
|
307
320
|
# @param email Email (urlencoded) of the contact
|
308
321
|
# @param update_contact Values to update a contact
|
309
322
|
# @param [Hash] opts the optional parameters
|
@@ -315,7 +328,7 @@ describe 'ContactsApi' do
|
|
315
328
|
end
|
316
329
|
|
317
330
|
# unit tests for update_folder
|
318
|
-
# Update a
|
331
|
+
# Update a folder
|
319
332
|
# @param folder_id Id of the folder
|
320
333
|
# @param update_folder Name of the folder
|
321
334
|
# @param [Hash] opts the optional parameters
|
@@ -55,7 +55,7 @@ describe 'EmailCampaignsApi' do
|
|
55
55
|
end
|
56
56
|
|
57
57
|
# unit tests for email_export_recipients
|
58
|
-
# Export the recipients of
|
58
|
+
# Export the recipients of an email campaign
|
59
59
|
# @param campaign_id Id of the campaign
|
60
60
|
# @param [Hash] opts the optional parameters
|
61
61
|
# @option opts [EmailExportRecipients] :recipient_export Values to send for a recipient export request
|
@@ -67,7 +67,7 @@ describe 'EmailCampaignsApi' do
|
|
67
67
|
end
|
68
68
|
|
69
69
|
# unit tests for get_ab_test_campaign_result
|
70
|
-
# Get A/B test email campaign
|
70
|
+
# Get an A/B test email campaign results
|
71
71
|
# Obtain winning version of an A/B test email campaign
|
72
72
|
# @param campaign_id Id of the A/B test campaign
|
73
73
|
# @param [Hash] opts the optional parameters
|
@@ -79,7 +79,7 @@ describe 'EmailCampaignsApi' do
|
|
79
79
|
end
|
80
80
|
|
81
81
|
# unit tests for get_email_campaign
|
82
|
-
# Get campaign
|
82
|
+
# Get an email campaign report
|
83
83
|
# @param campaign_id Id of the campaign
|
84
84
|
# @param [Hash] opts the optional parameters
|
85
85
|
# @return [GetEmailCampaign]
|
@@ -90,7 +90,7 @@ describe 'EmailCampaignsApi' do
|
|
90
90
|
end
|
91
91
|
|
92
92
|
# unit tests for get_email_campaigns
|
93
|
-
# Return all your created campaigns
|
93
|
+
# Return all your created email campaigns
|
94
94
|
# @param [Hash] opts the optional parameters
|
95
95
|
# @option opts [String] :type Filter on the type of the campaigns
|
96
96
|
# @option opts [String] :status Filter on the status of the campaign
|
@@ -129,7 +129,7 @@ describe 'EmailCampaignsApi' do
|
|
129
129
|
end
|
130
130
|
|
131
131
|
# unit tests for send_report
|
132
|
-
# Send the report of a
|
132
|
+
# Send the report of a campaign
|
133
133
|
# A PDF will be sent to the specified email addresses
|
134
134
|
# @param campaign_id Id of the campaign
|
135
135
|
# @param send_report Values for send a report
|
@@ -154,7 +154,7 @@ describe 'EmailCampaignsApi' do
|
|
154
154
|
end
|
155
155
|
|
156
156
|
# unit tests for update_campaign_status
|
157
|
-
# Update
|
157
|
+
# Update an email campaign status
|
158
158
|
# @param campaign_id Id of the campaign
|
159
159
|
# @param status Status of the campaign
|
160
160
|
# @param [Hash] opts the optional parameters
|
@@ -166,7 +166,7 @@ describe 'EmailCampaignsApi' do
|
|
166
166
|
end
|
167
167
|
|
168
168
|
# unit tests for update_email_campaign
|
169
|
-
# Update
|
169
|
+
# Update an email campaign
|
170
170
|
# @param campaign_id Id of the campaign
|
171
171
|
# @param email_campaign Values to update a campaign
|
172
172
|
# @param [Hash] opts the optional parameters
|
@@ -177,4 +177,15 @@ describe 'EmailCampaignsApi' do
|
|
177
177
|
end
|
178
178
|
end
|
179
179
|
|
180
|
+
# unit tests for upload_image_to_gallery
|
181
|
+
# Upload an image to your account's image gallery
|
182
|
+
# @param upload_image Parameters to upload an image
|
183
|
+
# @param [Hash] opts the optional parameters
|
184
|
+
# @return [nil]
|
185
|
+
describe 'upload_image_to_gallery test' do
|
186
|
+
it 'should work' do
|
187
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
180
191
|
end
|
@@ -55,7 +55,7 @@ describe 'FoldersApi' do
|
|
55
55
|
end
|
56
56
|
|
57
57
|
# unit tests for get_folder
|
58
|
-
# Returns folder details
|
58
|
+
# Returns a folder's details
|
59
59
|
# @param folder_id id of the folder
|
60
60
|
# @param [Hash] opts the optional parameters
|
61
61
|
# @return [GetFolder]
|
@@ -66,7 +66,7 @@ describe 'FoldersApi' do
|
|
66
66
|
end
|
67
67
|
|
68
68
|
# unit tests for get_folder_lists
|
69
|
-
# Get
|
69
|
+
# Get lists in a folder
|
70
70
|
# @param folder_id Id of the folder
|
71
71
|
# @param [Hash] opts the optional parameters
|
72
72
|
# @option opts [Integer] :limit Number of documents per page
|
@@ -79,7 +79,7 @@ describe 'FoldersApi' do
|
|
79
79
|
end
|
80
80
|
|
81
81
|
# unit tests for get_folders
|
82
|
-
# Get all
|
82
|
+
# Get all folders
|
83
83
|
# @param limit Number of documents per page
|
84
84
|
# @param offset Index of the first document of the page
|
85
85
|
# @param [Hash] opts the optional parameters
|
@@ -91,7 +91,7 @@ describe 'FoldersApi' do
|
|
91
91
|
end
|
92
92
|
|
93
93
|
# unit tests for update_folder
|
94
|
-
# Update a
|
94
|
+
# Update a folder
|
95
95
|
# @param folder_id Id of the folder
|
96
96
|
# @param update_folder Name of the folder
|
97
97
|
# @param [Hash] opts the optional parameters
|
data/spec/api/lists_api_spec.rb
CHANGED
@@ -67,7 +67,7 @@ describe 'ListsApi' do
|
|
67
67
|
end
|
68
68
|
|
69
69
|
# unit tests for get_contacts_from_list
|
70
|
-
# Get
|
70
|
+
# Get contacts in a list
|
71
71
|
# @param list_id Id of the list
|
72
72
|
# @param [Hash] opts the optional parameters
|
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.
|
@@ -81,7 +81,7 @@ describe 'ListsApi' do
|
|
81
81
|
end
|
82
82
|
|
83
83
|
# unit tests for get_folder_lists
|
84
|
-
# Get
|
84
|
+
# Get lists in a folder
|
85
85
|
# @param folder_id Id of the folder
|
86
86
|
# @param [Hash] opts the optional parameters
|
87
87
|
# @option opts [Integer] :limit Number of documents per page
|
@@ -94,7 +94,7 @@ describe 'ListsApi' do
|
|
94
94
|
end
|
95
95
|
|
96
96
|
# unit tests for get_list
|
97
|
-
# Get
|
97
|
+
# Get a list's details
|
98
98
|
# @param list_id Id of the list
|
99
99
|
# @param [Hash] opts the optional parameters
|
100
100
|
# @return [GetExtendedList]
|
@@ -117,7 +117,7 @@ describe 'ListsApi' do
|
|
117
117
|
end
|
118
118
|
|
119
119
|
# unit tests for remove_contact_from_list
|
120
|
-
#
|
120
|
+
# Delete a contact from a list
|
121
121
|
# @param list_id Id of the list
|
122
122
|
# @param contact_emails Emails adresses of the contact
|
123
123
|
# @param [Hash] opts the optional parameters
|
@@ -57,7 +57,7 @@ describe 'ResellerApi' do
|
|
57
57
|
end
|
58
58
|
|
59
59
|
# unit tests for create_child_domain
|
60
|
-
#
|
60
|
+
# Create a domain for a child account
|
61
61
|
# @param child_auth_key auth key of reseller's child
|
62
62
|
# @param add_child_domain Sender domain to add for a specific child account. This will not be displayed to the parent account.
|
63
63
|
# @param [Hash] opts the optional parameters
|
@@ -80,7 +80,7 @@ describe 'ResellerApi' do
|
|
80
80
|
end
|
81
81
|
|
82
82
|
# unit tests for delete_child_domain
|
83
|
-
#
|
83
|
+
# Delete the sender domain of the reseller child based on the childAuthKey and domainName passed
|
84
84
|
# @param child_auth_key auth key of reseller's child
|
85
85
|
# @param domain_name Pass the existing domain that needs to be deleted
|
86
86
|
# @param [Hash] opts the optional parameters
|
@@ -92,7 +92,7 @@ describe 'ResellerApi' do
|
|
92
92
|
end
|
93
93
|
|
94
94
|
# unit tests for delete_reseller_child
|
95
|
-
#
|
95
|
+
# Delete a single reseller child based on the childAuthKey supplied
|
96
96
|
# @param child_auth_key auth key of reseller's child
|
97
97
|
# @param [Hash] opts the optional parameters
|
98
98
|
# @return [nil]
|
@@ -115,7 +115,7 @@ describe 'ResellerApi' do
|
|
115
115
|
end
|
116
116
|
|
117
117
|
# unit tests for get_child_account_creation_status
|
118
|
-
#
|
118
|
+
# Get the status of a reseller's child account creation, whether it is successfully created (exists) or not based on the childAuthKey supplied
|
119
119
|
# @param child_auth_key auth key of reseller's child
|
120
120
|
# @param [Hash] opts the optional parameters
|
121
121
|
# @return [GetChildAccountCreationStatus]
|
@@ -126,7 +126,7 @@ describe 'ResellerApi' do
|
|
126
126
|
end
|
127
127
|
|
128
128
|
# unit tests for get_child_domains
|
129
|
-
#
|
129
|
+
# Get all sender domains for a specific child account
|
130
130
|
# @param child_auth_key auth key of reseller's child
|
131
131
|
# @param [Hash] opts the optional parameters
|
132
132
|
# @return [GetChildDomains]
|
@@ -137,7 +137,7 @@ describe 'ResellerApi' do
|
|
137
137
|
end
|
138
138
|
|
139
139
|
# unit tests for get_child_info
|
140
|
-
#
|
140
|
+
# Get a child account's details
|
141
141
|
# @param child_auth_key auth key of reseller's child
|
142
142
|
# @param [Hash] opts the optional parameters
|
143
143
|
# @return [GetChildInfo]
|
@@ -148,7 +148,7 @@ describe 'ResellerApi' do
|
|
148
148
|
end
|
149
149
|
|
150
150
|
# unit tests for get_reseller_childs
|
151
|
-
#
|
151
|
+
# Get the list of all children accounts
|
152
152
|
# @param [Hash] opts the optional parameters
|
153
153
|
# @option opts [Integer] :limit Number of documents for child accounts information per page
|
154
154
|
# @option opts [Integer] :offset Index of the first document in the page
|
@@ -184,7 +184,7 @@ describe 'ResellerApi' do
|
|
184
184
|
end
|
185
185
|
|
186
186
|
# unit tests for update_child_account_status
|
187
|
-
#
|
187
|
+
# Update info of reseller's child account status based on the childAuthKey supplied
|
188
188
|
# @param child_auth_key auth key of reseller's child
|
189
189
|
# @param update_child_account_status values to update in child account status
|
190
190
|
# @param [Hash] opts the optional parameters
|
@@ -196,7 +196,7 @@ describe 'ResellerApi' do
|
|
196
196
|
end
|
197
197
|
|
198
198
|
# unit tests for update_child_domain
|
199
|
-
#
|
199
|
+
# Update the sender domain of reseller's child based on the childAuthKey and domainName passed
|
200
200
|
# @param child_auth_key auth key of reseller's child
|
201
201
|
# @param domain_name Pass the existing domain that needs to be updated
|
202
202
|
# @param update_child_domain value to update for sender domain
|
@@ -209,7 +209,7 @@ describe 'ResellerApi' do
|
|
209
209
|
end
|
210
210
|
|
211
211
|
# unit tests for update_reseller_child
|
212
|
-
#
|
212
|
+
# Update info of reseller's child based on the childAuthKey supplied
|
213
213
|
# @param child_auth_key auth key of reseller's child
|
214
214
|
# @param reseller_child values to update in child profile
|
215
215
|
# @param [Hash] opts the optional parameters
|