MailchimpTransactional 1.3.3 → 1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c39c4aa316d1834346cac7762161ce3d053ea64da2f98614ed0626ee2b91f6ec
4
- data.tar.gz: 1cf8ad13d4c016d47b1a329bac4a2bfc6efeeef3109f9b52e0c9e49adf26bf8b
3
+ metadata.gz: 2f218432983d4a01393d7e8d0ba2fc736c3d1da86d191af1130066d6b1e2d64f
4
+ data.tar.gz: 89c7d2cadc3ae8f9a665dcbe3ce63856cd07e1b88e7599b2b42e172fd0dba851
5
5
  SHA512:
6
- metadata.gz: bd6c8cb53ac6a73a17c7c7a3cc8d06c5bd1c5665c7624149a18d9b5014d772ef31cc53eacc7559ed1a17db44934a710560d80d9baf8f70fde252596044da4ebf
7
- data.tar.gz: 909050800955aa149b05a05e1308ab4866990cd76b50be42cd58b3ca29a085d677352ad870a00fcad9beb9d1231b0e7bebfa9d1d125cf743784d30122ab8149f
6
+ metadata.gz: db4e61023c40add4b6ec6f08c4da4d8ebf2ae3a908e0167834c2a434f71adc51dc95669aaef3bf15eedbf8bf4a9feebabe31ac71962d6a6bfa3274b4a97d738d
7
+ data.tar.gz: da8b8d5c9029e7e79a39d27582c1e308ef0cd9fb3ebe6d6de4d4cf1e9c652bf0fe31525ac86a2197b4c3b96d37eef41bea6f8b595bc966bc688402fab18400a0
@@ -5,7 +5,7 @@
5
5
 
6
6
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
7
7
 
8
- OpenAPI spec version: 1.3.3
8
+ OpenAPI spec version: 1.4.0
9
9
  Contact: apihelp@mailchimp.com
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
11
  Swagger Codegen version: 2.4.12
data/README.md CHANGED
@@ -21,15 +21,15 @@ gem build MailchimpTransactional.gemspec
21
21
  Then either install the gem locally:
22
22
 
23
23
  ```shell
24
- gem install ./MailchimpTransactional-1.3.3.gem
24
+ gem install ./MailchimpTransactional-1.4.0.gem
25
25
  ```
26
- (for development, run `gem install --dev ./MailchimpTransactional-1.3.3.gem` to install the development dependencies)
26
+ (for development, run `gem install --dev ./MailchimpTransactional-1.4.0.gem` to install the development dependencies)
27
27
 
28
28
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
29
29
 
30
30
  Finally add this to the Gemfile:
31
31
 
32
- gem 'MailchimpTransactional', '~> 1.3.3'
32
+ gem 'MailchimpTransactional', '~> 1.4.0'
33
33
 
34
34
  ### Install from Git
35
35
 
@@ -143,8 +143,11 @@ All URIs are relative to *https://mandrillapp.com/api/1.3*
143
143
  | **metadata.list** | /metadata/list |
144
144
  | **metadata.update** | /metadata/update |
145
145
  | **rejects.add** | /rejects/add |
146
+ | **rejects.add_sms** | /rejects/add-sms |
146
147
  | **rejects.delete** | /rejects/delete |
148
+ | **rejects.delete_sms** | /rejects/delete-sms |
147
149
  | **rejects.list** | /rejects/list |
150
+ | **rejects.list_sms** | /rejects/list-sms |
148
151
  | **senders.add_domain** | /senders/add-domain |
149
152
  | **senders.check_domain** | /senders/check-domain |
150
153
  | **senders.delete_domain** | /senders/delete-domain |
@@ -176,9 +179,6 @@ All URIs are relative to *https://mandrillapp.com/api/1.3*
176
179
  | **urls.add_tracking_domain** | /urls/add-tracking-domain |
177
180
  | **urls.check_tracking_domain** | /urls/check-tracking-domain |
178
181
  | **urls.delete_tracking_domain** | /urls/delete-tracking-domain |
179
- | **urls.list** | /urls/list |
180
- | **urls.search** | /urls/search |
181
- | **urls.time_series** | /urls/time-series |
182
182
  | **urls.tracking_domains** | /urls/tracking-domains |
183
183
  | **users.info** | /users/info |
184
184
  | **users.ping** | /users/ping |
@@ -189,9 +189,6 @@ All URIs are relative to *https://mandrillapp.com/api/1.3*
189
189
  | **webhooks.info** | /webhooks/info |
190
190
  | **webhooks.list** | /webhooks/list |
191
191
  | **webhooks.update** | /webhooks/update |
192
- | **whitelists.add** | /whitelists/add |
193
- | **whitelists.delete** | /whitelists/delete |
194
- | **whitelists.list** | /whitelists/list |
195
192
 
196
193
 
197
194
  ## Additional Libraries
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.3.3
6
+ OpenAPI spec version: 1.4.0
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.3.3
6
+ OpenAPI spec version: 1.4.0
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.3.3
6
+ OpenAPI spec version: 1.4.0
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.3.3
6
+ OpenAPI spec version: 1.4.0
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.3.3
6
+ OpenAPI spec version: 1.4.0
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.3.3
6
+ OpenAPI spec version: 1.4.0
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.3.3
6
+ OpenAPI spec version: 1.4.0
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.3.3
6
+ OpenAPI spec version: 1.4.0
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -30,6 +30,16 @@ module MailchimpTransactional
30
30
  data
31
31
  end
32
32
 
33
+ # Add phone number to SMS denylist
34
+ # Adds a phone number to your SMS rejection denylist. Phone numbers that you add manually will never expire and there is no reputation penalty for removing them from your denylist.
35
+ # @param body
36
+ # @param [Hash] opts the optional parameters
37
+ # @return [Array<(InlineResponse20088, Fixnum, Hash)>] InlineResponse20088 data, response status code and response headers
38
+ def add_sms(body = {})
39
+ data = @api_client.call_api(:POST, '/rejects/add-sms', body)
40
+ data
41
+ end
42
+
33
43
  # Delete email from denylist
34
44
  # Deletes an email rejection. There is no limit to how many rejections you can remove from your denylist, but keep in mind that each deletion has an affect on your reputation.
35
45
  # @param body
@@ -40,6 +50,16 @@ module MailchimpTransactional
40
50
  data
41
51
  end
42
52
 
53
+ # Delete phone number from SMS denylist
54
+ # Deletes an SMS rejection. There is no limit to how many rejections you can remove from your denylist, but keep in mind that each deletion has an affect on your reputation.
55
+ # @param body
56
+ # @param [Hash] opts the optional parameters
57
+ # @return [Array<(InlineResponse20090, Fixnum, Hash)>] InlineResponse20090 data, response status code and response headers
58
+ def delete_sms(body = {})
59
+ data = @api_client.call_api(:POST, '/rejects/delete-sms', body)
60
+ data
61
+ end
62
+
43
63
  # List denylisted emails
44
64
  # Retrieves your email rejection denylist. You can provide an email address to limit the results. Returns up to 1000 results. By default, entries that have expired are excluded from the results; set include_expired to true to include them.
45
65
  # @param body
@@ -49,5 +69,15 @@ module MailchimpTransactional
49
69
  data = @api_client.call_api(:POST, '/rejects/list', body)
50
70
  data
51
71
  end
72
+
73
+ # List SMS denylist entries
74
+ # Retrieves your SMS rejection denylist. You can provide a phone number to limit the results. Returns up to 1000 results. By default, entries that have expired are excluded from the results; set include_expired to true to include them.
75
+ # @param body
76
+ # @param [Hash] opts the optional parameters
77
+ # @return [Array<(Array<InlineResponse20089>, Fixnum, Hash)>] Array<InlineResponse20089> data, response status code and response headers
78
+ def list_sms(body = {})
79
+ data = @api_client.call_api(:POST, '/rejects/list-sms', body)
80
+ data
81
+ end
52
82
  end
53
83
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.3.3
6
+ OpenAPI spec version: 1.4.0
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.3.3
6
+ OpenAPI spec version: 1.4.0
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.3.3
6
+ OpenAPI spec version: 1.4.0
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.3.3
6
+ OpenAPI spec version: 1.4.0
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.3.3
6
+ OpenAPI spec version: 1.4.0
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -24,7 +24,7 @@ module MailchimpTransactional
24
24
  # Add a tracking domain to your account.
25
25
  # @param body
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Array<(InlineResponse20080, Fixnum, Hash)>] InlineResponse20080 data, response status code and response headers
27
+ # @return [Array<(InlineResponse20077, Fixnum, Hash)>] InlineResponse20077 data, response status code and response headers
28
28
  def add_tracking_domain(body = {})
29
29
  data = @api_client.call_api(:POST, '/urls/add-tracking-domain', body)
30
30
  data
@@ -34,7 +34,7 @@ module MailchimpTransactional
34
34
  # Checks the CNAME settings for a tracking domain. The domain must have been added already with the add-tracking-domain call.
35
35
  # @param body
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<(InlineResponse20082, Fixnum, Hash)>] InlineResponse20082 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20079, Fixnum, Hash)>] InlineResponse20079 data, response status code and response headers
38
38
  def check_tracking_domain(body = {})
39
39
  data = @api_client.call_api(:POST, '/urls/check-tracking-domain', body)
40
40
  data
@@ -44,47 +44,17 @@ module MailchimpTransactional
44
44
  # Deletes an unverified tracking domain from your account. Valid tracking domains cannot be deleted via API and require login confirmation.
45
45
  # @param body
46
46
  # @param [Hash] opts the optional parameters
47
- # @return [Array<(InlineResponse20081, Fixnum, Hash)>] InlineResponse20081 data, response status code and response headers
47
+ # @return [Array<(InlineResponse20078, Fixnum, Hash)>] InlineResponse20078 data, response status code and response headers
48
48
  def delete_tracking_domain(body = {})
49
49
  data = @api_client.call_api(:POST, '/urls/delete-tracking-domain', body)
50
50
  data
51
51
  end
52
52
 
53
- # List most clicked urls
54
- # Get the 100 most clicked URLs.
55
- # @param body
56
- # @param [Hash] opts the optional parameters
57
- # @return [Array<(Array<InlineResponse20076>, Fixnum, Hash)>] Array<InlineResponse20076> data, response status code and response headers
58
- def list(body = {})
59
- data = @api_client.call_api(:POST, '/urls/list', body)
60
- data
61
- end
62
-
63
- # Search most clicked urls
64
- # Return the 100 most clicked URLs that match the search query given.
65
- # @param body
66
- # @param [Hash] opts the optional parameters
67
- # @return [Array<(Array<InlineResponse20077>, Fixnum, Hash)>] Array<InlineResponse20077> data, response status code and response headers
68
- def search(body = {})
69
- data = @api_client.call_api(:POST, '/urls/search', body)
70
- data
71
- end
72
-
73
- # Get url history
74
- # Return the recent history (hourly stats for the last 30 days) for a URL
75
- # @param body
76
- # @param [Hash] opts the optional parameters
77
- # @return [Array<(Array<InlineResponse20078>, Fixnum, Hash)>] Array<InlineResponse20078> data, response status code and response headers
78
- def time_series(body = {})
79
- data = @api_client.call_api(:POST, '/urls/time-series', body)
80
- data
81
- end
82
-
83
53
  # List tracking domains
84
54
  # Get the list of tracking domains set up for this account.
85
55
  # @param body
86
56
  # @param [Hash] opts the optional parameters
87
- # @return [Array<(Array<InlineResponse20079>, Fixnum, Hash)>] Array<InlineResponse20079> data, response status code and response headers
57
+ # @return [Array<(Array<InlineResponse20076>, Fixnum, Hash)>] Array<InlineResponse20076> data, response status code and response headers
88
58
  def tracking_domains(body = {})
89
59
  data = @api_client.call_api(:POST, '/urls/tracking-domains', body)
90
60
  data
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.3.3
6
+ OpenAPI spec version: 1.4.0
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -24,7 +24,7 @@ module MailchimpTransactional
24
24
  # Return the information about the API-connected user.
25
25
  # @param body
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Array<(InlineResponse20083, Fixnum, Hash)>] InlineResponse20083 data, response status code and response headers
27
+ # @return [Array<(InlineResponse20080, Fixnum, Hash)>] InlineResponse20080 data, response status code and response headers
28
28
  def info(body = {})
29
29
  data = @api_client.call_api(:POST, '/users/info', body)
30
30
  data
@@ -44,7 +44,7 @@ module MailchimpTransactional
44
44
  # Validate an API key and respond to a ping (JSON parser version).
45
45
  # @param body
46
46
  # @param [Hash] opts the optional parameters
47
- # @return [Array<(InlineResponse20084, Fixnum, Hash)>] InlineResponse20084 data, response status code and response headers
47
+ # @return [Array<(InlineResponse20081, Fixnum, Hash)>] InlineResponse20081 data, response status code and response headers
48
48
  def ping2(body = {})
49
49
  data = @api_client.call_api(:POST, '/users/ping2', body)
50
50
  data
@@ -54,7 +54,7 @@ module MailchimpTransactional
54
54
  # Return the senders that have tried to use this account, both verified and unverified.
55
55
  # @param body
56
56
  # @param [Hash] opts the optional parameters
57
- # @return [Array<(Array<InlineResponse20085>, Fixnum, Hash)>] Array<InlineResponse20085> data, response status code and response headers
57
+ # @return [Array<(Array<InlineResponse20082>, Fixnum, Hash)>] Array<InlineResponse20082> data, response status code and response headers
58
58
  def senders(body = {})
59
59
  data = @api_client.call_api(:POST, '/users/senders', body)
60
60
  data
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.3.3
6
+ OpenAPI spec version: 1.4.0
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -24,7 +24,7 @@ module MailchimpTransactional
24
24
  # Add a new webhook.
25
25
  # @param body
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Array<(InlineResponse20087, Fixnum, Hash)>] InlineResponse20087 data, response status code and response headers
27
+ # @return [Array<(InlineResponse20084, Fixnum, Hash)>] InlineResponse20084 data, response status code and response headers
28
28
  def add(body = {})
29
29
  data = @api_client.call_api(:POST, '/webhooks/add', body)
30
30
  data
@@ -34,7 +34,7 @@ module MailchimpTransactional
34
34
  # Delete an existing webhook.
35
35
  # @param body
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<(InlineResponse20090, Fixnum, Hash)>] InlineResponse20090 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20087, Fixnum, Hash)>] InlineResponse20087 data, response status code and response headers
38
38
  def delete(body = {})
39
39
  data = @api_client.call_api(:POST, '/webhooks/delete', body)
40
40
  data
@@ -44,7 +44,7 @@ module MailchimpTransactional
44
44
  # Given the ID of an existing webhook, return the data about it.
45
45
  # @param body
46
46
  # @param [Hash] opts the optional parameters
47
- # @return [Array<(InlineResponse20088, Fixnum, Hash)>] InlineResponse20088 data, response status code and response headers
47
+ # @return [Array<(InlineResponse20085, Fixnum, Hash)>] InlineResponse20085 data, response status code and response headers
48
48
  def info(body = {})
49
49
  data = @api_client.call_api(:POST, '/webhooks/info', body)
50
50
  data
@@ -54,7 +54,7 @@ module MailchimpTransactional
54
54
  # Get the list of all webhooks defined on the account.
55
55
  # @param body
56
56
  # @param [Hash] opts the optional parameters
57
- # @return [Array<(Array<InlineResponse20086>, Fixnum, Hash)>] Array<InlineResponse20086> data, response status code and response headers
57
+ # @return [Array<(Array<InlineResponse20083>, Fixnum, Hash)>] Array<InlineResponse20083> data, response status code and response headers
58
58
  def list(body = {})
59
59
  data = @api_client.call_api(:POST, '/webhooks/list', body)
60
60
  data
@@ -64,7 +64,7 @@ module MailchimpTransactional
64
64
  # Update an existing webhook.
65
65
  # @param body
66
66
  # @param [Hash] opts the optional parameters
67
- # @return [Array<(InlineResponse20089, Fixnum, Hash)>] InlineResponse20089 data, response status code and response headers
67
+ # @return [Array<(InlineResponse20086, Fixnum, Hash)>] InlineResponse20086 data, response status code and response headers
68
68
  def update(body = {})
69
69
  data = @api_client.call_api(:POST, '/webhooks/update', body)
70
70
  data
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.3.3
6
+ OpenAPI spec version: 1.4.0
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -74,7 +74,7 @@ module MailchimpTransactional
74
74
 
75
75
  headers = {
76
76
  'Content-Type' => 'application/json',
77
- 'User-Agent' => 'MailchimpTransactional-Ruby/1.3.3'
77
+ 'User-Agent' => 'MailchimpTransactional-Ruby/1.4.0'
78
78
  }
79
79
 
80
80
  # send request
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.3.3
6
+ OpenAPI spec version: 1.4.0
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.3.3
6
+ OpenAPI spec version: 1.4.0
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.3.3
6
+ OpenAPI spec version: 1.4.0
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.12
11
11
  =end
12
12
 
13
13
  module MailchimpTransactional
14
- VERSION = '1.3.3'
14
+ VERSION = '1.4.0'
15
15
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.3.3
6
+ OpenAPI spec version: 1.4.0
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -31,7 +31,6 @@ require 'MailchimpTransactional/api/templates_api'
31
31
  require 'MailchimpTransactional/api/urls_api'
32
32
  require 'MailchimpTransactional/api/users_api'
33
33
  require 'MailchimpTransactional/api/webhooks_api'
34
- require 'MailchimpTransactional/api/whitelists_api'
35
34
 
36
35
  module MailchimpTransactional
37
36
  class Client
@@ -58,7 +57,6 @@ module MailchimpTransactional
58
57
  @Urls = UrlsApi.new(@api_client)
59
58
  @Users = UsersApi.new(@api_client)
60
59
  @Webhooks = WebhooksApi.new(@api_client)
61
- @Whitelists = WhitelistsApi.new(@api_client)
62
60
  end
63
61
 
64
62
  def set_default_output_format(output_format)
@@ -114,8 +112,5 @@ module MailchimpTransactional
114
112
  def webhooks
115
113
  @Webhooks
116
114
  end
117
- def whitelists
118
- @Whitelists
119
- end
120
115
  end
121
116
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: MailchimpTransactional
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mailchimp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-06 00:00:00.000000000 Z
11
+ date: 2026-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon
@@ -218,7 +218,6 @@ files:
218
218
  - lib/MailchimpTransactional/api/urls_api.rb
219
219
  - lib/MailchimpTransactional/api/users_api.rb
220
220
  - lib/MailchimpTransactional/api/webhooks_api.rb
221
- - lib/MailchimpTransactional/api/whitelists_api.rb
222
221
  - lib/MailchimpTransactional/api_client.rb
223
222
  - lib/MailchimpTransactional/api_error.rb
224
223
  - lib/MailchimpTransactional/configuration.rb
@@ -1,53 +0,0 @@
1
- =begin
2
- #Mailchimp Transactional API
3
-
4
- #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
-
6
- OpenAPI spec version: 1.3.3
7
- Contact: apihelp@mailchimp.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 'uri'
14
-
15
- module MailchimpTransactional
16
- class WhitelistsApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client = ApiClient.default)
20
- @api_client = api_client
21
- end
22
-
23
- # Add email to allowlist
24
- # Adds an email to your email rejection allowlist. If the address is currently on your denylist, that denylist entry will be removed automatically.
25
- # @param body
26
- # @param [Hash] opts the optional parameters
27
- # @return [Array<(InlineResponse200, Fixnum, Hash)>] InlineResponse200 data, response status code and response headers
28
- def add(body = {})
29
- data = @api_client.call_api(:POST, '/whitelists/add', body)
30
- data
31
- end
32
-
33
- # Remove email from allowlist
34
- # Removes an email address from the allowlist.
35
- # @param body
36
- # @param [Hash] opts the optional parameters
37
- # @return [Array<(InlineResponse20092, Fixnum, Hash)>] InlineResponse20092 data, response status code and response headers
38
- def delete(body = {})
39
- data = @api_client.call_api(:POST, '/whitelists/delete', body)
40
- data
41
- end
42
-
43
- # List allowlisted emails
44
- # Retrieves your email rejection allowlist. You can provide an email address or search prefix to limit the results. Returns up to 1000 results.
45
- # @param body
46
- # @param [Hash] opts the optional parameters
47
- # @return [Array<(Array<InlineResponse20091>, Fixnum, Hash)>] Array<InlineResponse20091> data, response status code and response headers
48
- def list(body = {})
49
- data = @api_client.call_api(:POST, '/whitelists/list', body)
50
- data
51
- end
52
- end
53
- end