sib-api-v3-sdk 2.1.2 → 2.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: feebdbb2a3934137395d706ad63fc4da35de5e63
4
- data.tar.gz: 080443333cf2847b80337bdb51e9b48c36de8e07
3
+ metadata.gz: a6fad8d5c02a96c35f9a292c4b81e95fd0d33f17
4
+ data.tar.gz: 0170907c035f45e4ffeab695648df3c30c6c95fa
5
5
  SHA512:
6
- metadata.gz: 92d0b92e1c890ef974b53564dac16a884660a2f28b7c06291767d4f74de7012fe9c881a7af2d83185ab088fbd336203e15a723547d9727e3b86d95dd726129f1
7
- data.tar.gz: d685ea4df40639c68d1ad6597a107a3692436645cb9dc644bcef48c463542204500075c6a2be8c314a671ef1b2d871d07170486105a51070f06a41a24f75477a
6
+ metadata.gz: a65eaa8badf6964d911b1c4f0ef3f4114df0347742199fe271ebb057721945ed52b5cf6391c33589ce086b95ff5b4875b35e42c6b5e2d1e2620e60d8e07904ac
7
+ data.tar.gz: efdc8e77fd3c41923426dc4b008802085c1c44e54c0067e286998c6da866a4ac0aaa6f81303d53ee6243517b1b750ef26327ee257bf938c6c7f378cc030b0519
data/README.md CHANGED
@@ -143,18 +143,19 @@ Class | Method | HTTP request | Description
143
143
  *SibApiV3Sdk::ResellerApi* | [**get_reseller_childs**](docs/ResellerApi.md#get_reseller_childs) | **GET** /reseller/children | Gets the list of all reseller's children accounts
144
144
  *SibApiV3Sdk::ResellerApi* | [**remove_credits**](docs/ResellerApi.md#remove_credits) | **POST** /reseller/children/{childId}/credits/remove | Remove Email and/or SMS credits from a specific child account
145
145
  *SibApiV3Sdk::ResellerApi* | [**update_reseller_child**](docs/ResellerApi.md#update_reseller_child) | **PUT** /reseller/children/{childId} | Updates infos of reseller's child based on the childId supplied
146
- *SibApiV3Sdk::SMSCampaignsApi* | [**create_sms_campaign**](docs/SMSCampaignsApi.md#create_sms_campaign) | **POST** /smsCampaigns | Creates a SMS campaign
146
+ *SibApiV3Sdk::SMSCampaignsApi* | [**create_sms_campaign**](docs/SMSCampaignsApi.md#create_sms_campaign) | **POST** /smsCampaigns | Creates an SMS campaign
147
147
  *SibApiV3Sdk::SMSCampaignsApi* | [**delete_sms_campaigns**](docs/SMSCampaignsApi.md#delete_sms_campaigns) | **DELETE** /smsCampaigns/{campaignId} | Delete the SMS campaign
148
- *SibApiV3Sdk::SMSCampaignsApi* | [**get_sms_campaign**](docs/SMSCampaignsApi.md#get_sms_campaign) | **GET** /smsCampaigns/{campaignId} | Get a SMS campaign
148
+ *SibApiV3Sdk::SMSCampaignsApi* | [**get_sms_campaign**](docs/SMSCampaignsApi.md#get_sms_campaign) | **GET** /smsCampaigns/{campaignId} | Get an SMS campaign
149
149
  *SibApiV3Sdk::SMSCampaignsApi* | [**get_sms_campaigns**](docs/SMSCampaignsApi.md#get_sms_campaigns) | **GET** /smsCampaigns | Returns the informations for all your created SMS campaigns
150
150
  *SibApiV3Sdk::SMSCampaignsApi* | [**request_sms_recipient_export**](docs/SMSCampaignsApi.md#request_sms_recipient_export) | **POST** /smsCampaigns/{campaignId}/exportRecipients | Exports the recipients of the specified campaign.
151
151
  *SibApiV3Sdk::SMSCampaignsApi* | [**send_sms_campaign_now**](docs/SMSCampaignsApi.md#send_sms_campaign_now) | **POST** /smsCampaigns/{campaignId}/sendNow | Send your SMS campaign immediately
152
152
  *SibApiV3Sdk::SMSCampaignsApi* | [**send_sms_report**](docs/SMSCampaignsApi.md#send_sms_report) | **POST** /smsCampaigns/{campaignId}/sendReport | Send report of SMS campaigns
153
153
  *SibApiV3Sdk::SMSCampaignsApi* | [**send_test_sms**](docs/SMSCampaignsApi.md#send_test_sms) | **POST** /smsCampaigns/{campaignId}/sendTest | Send an SMS
154
- *SibApiV3Sdk::SMSCampaignsApi* | [**update_sms_campaign**](docs/SMSCampaignsApi.md#update_sms_campaign) | **PUT** /smsCampaigns/{campaignId} | Updates a SMS campaign
154
+ *SibApiV3Sdk::SMSCampaignsApi* | [**update_sms_campaign**](docs/SMSCampaignsApi.md#update_sms_campaign) | **PUT** /smsCampaigns/{campaignId} | Updates an SMS campaign
155
155
  *SibApiV3Sdk::SMSCampaignsApi* | [**update_sms_campaign_status**](docs/SMSCampaignsApi.md#update_sms_campaign_status) | **PUT** /smsCampaigns/{campaignId}/status | Update the campaign status
156
156
  *SibApiV3Sdk::SMTPApi* | [**create_smtp_template**](docs/SMTPApi.md#create_smtp_template) | **POST** /smtp/templates | Create an smtp template
157
157
  *SibApiV3Sdk::SMTPApi* | [**delete_hardbounces**](docs/SMTPApi.md#delete_hardbounces) | **POST** /smtp/deleteHardbounces | Delete hardbounces
158
+ *SibApiV3Sdk::SMTPApi* | [**delete_smtp_template**](docs/SMTPApi.md#delete_smtp_template) | **DELETE** /smtp/templates/{templateId} | Delete an inactive smtp template
158
159
  *SibApiV3Sdk::SMTPApi* | [**get_aggregated_smtp_report**](docs/SMTPApi.md#get_aggregated_smtp_report) | **GET** /smtp/statistics/aggregatedReport | Get your SMTP activity aggregated over a period of time
159
160
  *SibApiV3Sdk::SMTPApi* | [**get_email_event_report**](docs/SMTPApi.md#get_email_event_report) | **GET** /smtp/statistics/events | Get all your SMTP activity (unaggregated events)
160
161
  *SibApiV3Sdk::SMTPApi* | [**get_smtp_report**](docs/SMTPApi.md#get_smtp_report) | **GET** /smtp/statistics/reports | Get your SMTP activity aggregated per day
@@ -8,5 +8,6 @@ Name | Type | Description | Notes
8
8
  **email_blacklisted** | **BOOLEAN** | Blacklist the contact for emails (emailBlacklisted = true) | [optional]
9
9
  **sms_blacklisted** | **BOOLEAN** | Blacklist the contact for SMS (smsBlacklisted = true) | [optional]
10
10
  **list_ids** | **Array<Integer>** | Ids of the lists to add the contact to | [optional]
11
+ **update_enabled** | **BOOLEAN** | Facilitate to update existing contact in same request (updateEnabled = true) | [optional] [default to false]
11
12
 
12
13
 
@@ -4,22 +4,22 @@ All URIs are relative to *https://api.sendinblue.com/v3*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create_sms_campaign**](SMSCampaignsApi.md#create_sms_campaign) | **POST** /smsCampaigns | Creates a SMS campaign
7
+ [**create_sms_campaign**](SMSCampaignsApi.md#create_sms_campaign) | **POST** /smsCampaigns | Creates an SMS campaign
8
8
  [**delete_sms_campaigns**](SMSCampaignsApi.md#delete_sms_campaigns) | **DELETE** /smsCampaigns/{campaignId} | Delete the SMS campaign
9
- [**get_sms_campaign**](SMSCampaignsApi.md#get_sms_campaign) | **GET** /smsCampaigns/{campaignId} | Get a SMS campaign
9
+ [**get_sms_campaign**](SMSCampaignsApi.md#get_sms_campaign) | **GET** /smsCampaigns/{campaignId} | Get an SMS campaign
10
10
  [**get_sms_campaigns**](SMSCampaignsApi.md#get_sms_campaigns) | **GET** /smsCampaigns | Returns the informations for all your created SMS campaigns
11
11
  [**request_sms_recipient_export**](SMSCampaignsApi.md#request_sms_recipient_export) | **POST** /smsCampaigns/{campaignId}/exportRecipients | Exports the recipients of the specified campaign.
12
12
  [**send_sms_campaign_now**](SMSCampaignsApi.md#send_sms_campaign_now) | **POST** /smsCampaigns/{campaignId}/sendNow | Send your SMS campaign immediately
13
13
  [**send_sms_report**](SMSCampaignsApi.md#send_sms_report) | **POST** /smsCampaigns/{campaignId}/sendReport | Send report of SMS campaigns
14
14
  [**send_test_sms**](SMSCampaignsApi.md#send_test_sms) | **POST** /smsCampaigns/{campaignId}/sendTest | Send an SMS
15
- [**update_sms_campaign**](SMSCampaignsApi.md#update_sms_campaign) | **PUT** /smsCampaigns/{campaignId} | Updates a SMS campaign
15
+ [**update_sms_campaign**](SMSCampaignsApi.md#update_sms_campaign) | **PUT** /smsCampaigns/{campaignId} | Updates an SMS campaign
16
16
  [**update_sms_campaign_status**](SMSCampaignsApi.md#update_sms_campaign_status) | **PUT** /smsCampaigns/{campaignId}/status | Update the campaign status
17
17
 
18
18
 
19
19
  # **create_sms_campaign**
20
20
  > CreateModel create_sms_campaign(create_sms_campaign)
21
21
 
22
- Creates a SMS campaign
22
+ Creates an SMS campaign
23
23
 
24
24
  ### Example
25
25
  ```ruby
@@ -39,7 +39,7 @@ create_sms_campaign = SibApiV3Sdk::CreateSmsCampaign.new # CreateSmsCampaign | V
39
39
 
40
40
 
41
41
  begin
42
- #Creates a SMS campaign
42
+ #Creates an SMS campaign
43
43
  result = api_instance.create_sms_campaign(create_sms_campaign)
44
44
  p result
45
45
  rescue SibApiV3Sdk::ApiError => e
@@ -122,7 +122,7 @@ nil (empty response body)
122
122
  # **get_sms_campaign**
123
123
  > GetSmsCampaign get_sms_campaign(campaign_id, get_sms_campaign)
124
124
 
125
- Get a SMS campaign
125
+ Get an SMS campaign
126
126
 
127
127
  ### Example
128
128
  ```ruby
@@ -144,7 +144,7 @@ get_sms_campaign = SibApiV3Sdk::GetSmsCampaign.new # GetSmsCampaign | Values to
144
144
 
145
145
 
146
146
  begin
147
- #Get a SMS campaign
147
+ #Get an SMS campaign
148
148
  result = api_instance.get_sms_campaign(campaign_id, get_sms_campaign)
149
149
  p result
150
150
  rescue SibApiV3Sdk::ApiError => e
@@ -453,7 +453,7 @@ nil (empty response body)
453
453
  # **update_sms_campaign**
454
454
  > update_sms_campaign(campaign_id, update_sms_campaign)
455
455
 
456
- Updates a SMS campaign
456
+ Updates an SMS campaign
457
457
 
458
458
  ### Example
459
459
  ```ruby
@@ -475,7 +475,7 @@ update_sms_campaign = SibApiV3Sdk::UpdateSmsCampaign.new # UpdateSmsCampaign | V
475
475
 
476
476
 
477
477
  begin
478
- #Updates a SMS campaign
478
+ #Updates an SMS campaign
479
479
  api_instance.update_sms_campaign(campaign_id, update_sms_campaign)
480
480
  rescue SibApiV3Sdk::ApiError => e
481
481
  puts "Exception when calling SMSCampaignsApi->update_sms_campaign: #{e}"
data/docs/SMTPApi.md CHANGED
@@ -6,6 +6,7 @@ Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**create_smtp_template**](SMTPApi.md#create_smtp_template) | **POST** /smtp/templates | Create an smtp template
8
8
  [**delete_hardbounces**](SMTPApi.md#delete_hardbounces) | **POST** /smtp/deleteHardbounces | Delete hardbounces
9
+ [**delete_smtp_template**](SMTPApi.md#delete_smtp_template) | **DELETE** /smtp/templates/{templateId} | Delete an inactive smtp template
9
10
  [**get_aggregated_smtp_report**](SMTPApi.md#get_aggregated_smtp_report) | **GET** /smtp/statistics/aggregatedReport | Get your SMTP activity aggregated over a period of time
10
11
  [**get_email_event_report**](SMTPApi.md#get_email_event_report) | **GET** /smtp/statistics/events | Get all your SMTP activity (unaggregated events)
11
12
  [**get_smtp_report**](SMTPApi.md#get_smtp_report) | **GET** /smtp/statistics/reports | Get your SMTP activity aggregated per day
@@ -123,6 +124,57 @@ nil (empty response body)
123
124
 
124
125
 
125
126
 
127
+ # **delete_smtp_template**
128
+ > delete_smtp_template(template_id)
129
+
130
+ Delete an inactive smtp template
131
+
132
+ ### Example
133
+ ```ruby
134
+ # load the gem
135
+ require 'sib-api-v3-sdk'
136
+ # setup authorization
137
+ SibApiV3Sdk.configure do |config|
138
+ # Configure API key authorization: api-key
139
+ config.api_key['api-key'] = 'YOUR API KEY'
140
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
141
+ #config.api_key_prefix['api-key'] = 'Bearer'
142
+ end
143
+
144
+ api_instance = SibApiV3Sdk::SMTPApi.new
145
+
146
+ template_id = 789 # Integer | id of the template
147
+
148
+
149
+ begin
150
+ #Delete an inactive smtp template
151
+ api_instance.delete_smtp_template(template_id)
152
+ rescue SibApiV3Sdk::ApiError => e
153
+ puts "Exception when calling SMTPApi->delete_smtp_template: #{e}"
154
+ end
155
+ ```
156
+
157
+ ### Parameters
158
+
159
+ Name | Type | Description | Notes
160
+ ------------- | ------------- | ------------- | -------------
161
+ **template_id** | **Integer**| id of the template |
162
+
163
+ ### Return type
164
+
165
+ nil (empty response body)
166
+
167
+ ### Authorization
168
+
169
+ [api-key](../README.md#api-key)
170
+
171
+ ### HTTP request headers
172
+
173
+ - **Content-Type**: application/json
174
+ - **Accept**: application/json
175
+
176
+
177
+
126
178
  # **get_aggregated_smtp_report**
127
179
  > GetAggregatedReport get_aggregated_smtp_report(opts)
128
180
 
@@ -269,8 +269,8 @@ module SibApiV3Sdk
269
269
  if @api_client.config.client_side_validation && opts[:'type'] && !['classic', 'trigger'].include?(opts[:'type'])
270
270
  fail ArgumentError, 'invalid value for "type", must be one of classic, trigger'
271
271
  end
272
- if @api_client.config.client_side_validation && opts[:'status'] && !['suspended', 'archive', 'darchive', 'sent', 'queued', 'replicate', 'draft', 'inProcess'].include?(opts[:'status'])
273
- fail ArgumentError, 'invalid value for "status", must be one of suspended, archive, darchive, sent, queued, replicate, draft, inProcess'
272
+ if @api_client.config.client_side_validation && opts[:'status'] && !['suspended', 'archive', 'sent', 'queued', 'draft', 'inProcess'].include?(opts[:'status'])
273
+ fail ArgumentError, 'invalid value for "status", must be one of suspended, archive, sent, queued, draft, inProcess'
274
274
  end
275
275
  if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
276
276
  fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling EmailCampaignsApi.get_email_campaigns, must be smaller than or equal to 1000.'
@@ -20,7 +20,7 @@ module SibApiV3Sdk
20
20
  @api_client = api_client
21
21
  end
22
22
 
23
- # Creates a SMS campaign
23
+ # Creates an SMS campaign
24
24
  #
25
25
  # @param create_sms_campaign Values to create an SMS Campaign
26
26
  # @param [Hash] opts the optional parameters
@@ -30,7 +30,7 @@ module SibApiV3Sdk
30
30
  return data
31
31
  end
32
32
 
33
- # Creates a SMS campaign
33
+ # Creates an SMS campaign
34
34
  #
35
35
  # @param create_sms_campaign Values to create an SMS Campaign
36
36
  # @param [Hash] opts the optional parameters
@@ -129,7 +129,7 @@ module SibApiV3Sdk
129
129
  return data, status_code, headers
130
130
  end
131
131
 
132
- # Get a SMS campaign
132
+ # Get an SMS campaign
133
133
  #
134
134
  # @param campaign_id id of the SMS campaign
135
135
  # @param get_sms_campaign Values to update an SMS Campaign
@@ -140,7 +140,7 @@ module SibApiV3Sdk
140
140
  return data
141
141
  end
142
142
 
143
- # Get a SMS campaign
143
+ # Get an SMS campaign
144
144
  #
145
145
  # @param campaign_id id of the SMS campaign
146
146
  # @param get_sms_campaign Values to update an SMS Campaign
@@ -213,8 +213,8 @@ module SibApiV3Sdk
213
213
  if @api_client.config.debugging
214
214
  @api_client.config.logger.debug "Calling API: SMSCampaignsApi.get_sms_campaigns ..."
215
215
  end
216
- if @api_client.config.client_side_validation && opts[:'status'] && !['suspended', 'archived', 'darchived', 'sent', 'queued', 'replicate', 'draft', 'inProcess'].include?(opts[:'status'])
217
- fail ArgumentError, 'invalid value for "status", must be one of suspended, archived, darchived, sent, queued, replicate, draft, inProcess'
216
+ if @api_client.config.client_side_validation && opts[:'status'] && !['suspended', 'archived', 'sent', 'queued', 'draft', 'inProcess'].include?(opts[:'status'])
217
+ fail ArgumentError, 'invalid value for "status", must be one of suspended, archived, sent, queued, draft, inProcess'
218
218
  end
219
219
  if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
220
220
  fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling SMSCampaignsApi.get_sms_campaigns, must be smaller than or equal to 1000.'
@@ -486,7 +486,7 @@ module SibApiV3Sdk
486
486
  return data, status_code, headers
487
487
  end
488
488
 
489
- # Updates a SMS campaign
489
+ # Updates an SMS campaign
490
490
  #
491
491
  # @param campaign_id id of the SMS campaign
492
492
  # @param update_sms_campaign Values to update an SMS Campaign
@@ -497,7 +497,7 @@ module SibApiV3Sdk
497
497
  return nil
498
498
  end
499
499
 
500
- # Updates a SMS campaign
500
+ # Updates an SMS campaign
501
501
  #
502
502
  # @param campaign_id id of the SMS campaign
503
503
  # @param update_sms_campaign Values to update an SMS Campaign
@@ -125,6 +125,60 @@ module SibApiV3Sdk
125
125
  return data, status_code, headers
126
126
  end
127
127
 
128
+ # Delete an inactive smtp template
129
+ #
130
+ # @param template_id id of the template
131
+ # @param [Hash] opts the optional parameters
132
+ # @return [nil]
133
+ def delete_smtp_template(template_id, opts = {})
134
+ delete_smtp_template_with_http_info(template_id, opts)
135
+ return nil
136
+ end
137
+
138
+ # Delete an inactive smtp template
139
+ #
140
+ # @param template_id id of the template
141
+ # @param [Hash] opts the optional parameters
142
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
143
+ def delete_smtp_template_with_http_info(template_id, opts = {})
144
+ if @api_client.config.debugging
145
+ @api_client.config.logger.debug "Calling API: SMTPApi.delete_smtp_template ..."
146
+ end
147
+ # verify the required parameter 'template_id' is set
148
+ if @api_client.config.client_side_validation && template_id.nil?
149
+ fail ArgumentError, "Missing the required parameter 'template_id' when calling SMTPApi.delete_smtp_template"
150
+ end
151
+ # resource path
152
+ local_var_path = "/smtp/templates/{templateId}".sub('{' + 'templateId' + '}', template_id.to_s)
153
+
154
+ # query parameters
155
+ query_params = {}
156
+
157
+ # header parameters
158
+ header_params = {}
159
+ # HTTP header 'Accept' (if needed)
160
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
161
+ # HTTP header 'Content-Type'
162
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
163
+
164
+ # form parameters
165
+ form_params = {}
166
+
167
+ # http body (model)
168
+ post_body = nil
169
+ auth_names = ['api-key']
170
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
171
+ :header_params => header_params,
172
+ :query_params => query_params,
173
+ :form_params => form_params,
174
+ :body => post_body,
175
+ :auth_names => auth_names)
176
+ if @api_client.config.debugging
177
+ @api_client.config.logger.debug "API called: SMTPApi#delete_smtp_template\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
178
+ end
179
+ return data, status_code, headers
180
+ end
181
+
128
182
  # Get your SMTP activity aggregated over a period of time
129
183
  #
130
184
  # @param [Hash] opts the optional parameters
@@ -30,6 +30,9 @@ module SibApiV3Sdk
30
30
  # Ids of the lists to add the contact to
31
31
  attr_accessor :list_ids
32
32
 
33
+ # Facilitate to update existing contact in same request (updateEnabled = true)
34
+ attr_accessor :update_enabled
35
+
33
36
 
34
37
  # Attribute mapping from ruby-style variable name to JSON key.
35
38
  def self.attribute_map
@@ -38,7 +41,8 @@ module SibApiV3Sdk
38
41
  :'attributes' => :'attributes',
39
42
  :'email_blacklisted' => :'emailBlacklisted',
40
43
  :'sms_blacklisted' => :'smsBlacklisted',
41
- :'list_ids' => :'listIds'
44
+ :'list_ids' => :'listIds',
45
+ :'update_enabled' => :'updateEnabled'
42
46
  }
43
47
  end
44
48
 
@@ -49,7 +53,8 @@ module SibApiV3Sdk
49
53
  :'attributes' => :'Object',
50
54
  :'email_blacklisted' => :'BOOLEAN',
51
55
  :'sms_blacklisted' => :'BOOLEAN',
52
- :'list_ids' => :'Array<Integer>'
56
+ :'list_ids' => :'Array<Integer>',
57
+ :'update_enabled' => :'BOOLEAN'
53
58
  }
54
59
  end
55
60
 
@@ -83,6 +88,12 @@ module SibApiV3Sdk
83
88
  end
84
89
  end
85
90
 
91
+ if attributes.has_key?(:'updateEnabled')
92
+ self.update_enabled = attributes[:'updateEnabled']
93
+ else
94
+ self.update_enabled = false
95
+ end
96
+
86
97
  end
87
98
 
88
99
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -107,7 +118,8 @@ module SibApiV3Sdk
107
118
  attributes == o.attributes &&
108
119
  email_blacklisted == o.email_blacklisted &&
109
120
  sms_blacklisted == o.sms_blacklisted &&
110
- list_ids == o.list_ids
121
+ list_ids == o.list_ids &&
122
+ update_enabled == o.update_enabled
111
123
  end
112
124
 
113
125
  # @see the `==` method
@@ -119,7 +131,7 @@ module SibApiV3Sdk
119
131
  # Calculates hash code according to all attributes.
120
132
  # @return [Fixnum] Hash code
121
133
  def hash
122
- [email, attributes, email_blacklisted, sms_blacklisted, list_ids].hash
134
+ [email, attributes, email_blacklisted, sms_blacklisted, list_ids, update_enabled].hash
123
135
  end
124
136
 
125
137
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.2.3
11
11
  =end
12
12
 
13
13
  module SibApiV3Sdk
14
- VERSION = "2.1.2"
14
+ VERSION = "2.1.3"
15
15
  end
@@ -33,7 +33,7 @@ describe 'SMSCampaignsApi' do
33
33
  end
34
34
 
35
35
  # unit tests for create_sms_campaign
36
- # Creates a SMS campaign
36
+ # Creates an SMS campaign
37
37
  #
38
38
  # @param create_sms_campaign Values to create an SMS Campaign
39
39
  # @param [Hash] opts the optional parameters
@@ -57,7 +57,7 @@ describe 'SMSCampaignsApi' do
57
57
  end
58
58
 
59
59
  # unit tests for get_sms_campaign
60
- # Get a SMS campaign
60
+ # Get an SMS campaign
61
61
  #
62
62
  # @param campaign_id id of the SMS campaign
63
63
  # @param get_sms_campaign Values to update an SMS Campaign
@@ -135,7 +135,7 @@ describe 'SMSCampaignsApi' do
135
135
  end
136
136
 
137
137
  # unit tests for update_sms_campaign
138
- # Updates a SMS campaign
138
+ # Updates an SMS campaign
139
139
  #
140
140
  # @param campaign_id id of the SMS campaign
141
141
  # @param update_sms_campaign Values to update an SMS Campaign
@@ -56,6 +56,18 @@ describe 'SMTPApi' do
56
56
  end
57
57
  end
58
58
 
59
+ # unit tests for delete_smtp_template
60
+ # Delete an inactive smtp template
61
+ #
62
+ # @param template_id id of the template
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [nil]
65
+ describe 'delete_smtp_template test' 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
+
59
71
  # unit tests for get_aggregated_smtp_report
60
72
  # Get your SMTP activity aggregated over a period of time
61
73
  #
@@ -62,5 +62,11 @@ describe 'CreateContact' do
62
62
  end
63
63
  end
64
64
 
65
+ describe 'test attribute "update_enabled"' 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
+
65
71
  end
66
72
 
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.1.2
4
+ version: 2.1.3
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-11-01 00:00:00.000000000 Z
11
+ date: 2017-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus