MailchimpTransactional 1.0.38 → 1.0.42

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
  SHA256:
3
- metadata.gz: ff7a3bf4a5b7565f8f8961fd83206e6591abe98074702e06deb07e57dbf5dbe9
4
- data.tar.gz: 46e036514f3245b957bdc612fafb9bbc6d17d27cb93a4b09b5f6ade768f2c0cd
3
+ metadata.gz: 03d71c91b93309c436152fdaadfe52be3c28f5121626c21a530aafb766b77fd3
4
+ data.tar.gz: 7e1aec40915dc359cd42febb4df4f67f9bca30277872aa844843c594e65bfc49
5
5
  SHA512:
6
- metadata.gz: f9bca017a2bb7212c62366672b9e869222d27525ff7a9f85dab438812cf39097f4e92cbb5fb35366852ed2ed069e20fc3d61082713a54449354e97cebd55c51a
7
- data.tar.gz: 4ac60d0795d5e84848197b60c884a080831bf3b3cd54439db3ddf907d4db310d7c43b4a3a83f951ada0648a6393fa632e26686de09d33b832ad6d27f02c5f1d6
6
+ metadata.gz: 6f986155baed9e9da8bf0da466db6e11ec5ce3b80357c1478bb6bbce768d68b5eef0f58789f6855a53718c02e45ab82086478bd472e1c2df9138489ce66deb8d
7
+ data.tar.gz: d188844b583bd70a8ebcc617850d63d24acf1a872da076914624a745dbe7ffdf2c6bf18706d90fc38d29bfcbe1768e56789a6a94df9e63aec95bce70c252c4bc
data/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  ## Transactional
4
4
 
5
+ ### 1.0.42
6
+ * Added a `setDefaultTimeoutMs` method to the node client. This allows users to override the default timeout for API requests, which is set to 5 minutes by default.
7
+
8
+ ### 1.0.41
9
+ * Updated the "reject_reasons" response for /messages/send and /messages/send-template to correctly use "hard-bounce" and "soft-bounce" instead of the previously stated "hard_bounce" and "soft_bounce".
10
+
11
+ ### 1.0.40
12
+ * Added the new /allowlists/ series of endpoints and the /exports/allowlist endpoint to the API reference
13
+
14
+ ### 1.0.39
15
+ * Fixes the output directory for the Changelog for the php client library
16
+
5
17
  ### 1.0.38
6
18
  * A change was made to `mailchimp-transactional-php` - the API client will now always return an `Exception`, instead of an `Exception` or a string, when the API returns an error. Having to parse the response as a string was found to be a bit clunky.
7
19
 
@@ -10,5 +22,11 @@
10
22
 
11
23
  ## Marketing
12
24
 
25
+ ### 3.0.65
26
+ * Added a new API endpoint, `/3.0/account-exports`, allowing users to programatically export their account information
27
+
28
+ ### 3.0.64
29
+ * Fixes the output directory for the Changelog for the php client library
30
+
13
31
  ### 3.0.63
14
32
  * Added a changelog, which will be used to describe changes to both transactional and marketing client libraries.
@@ -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.0.38
8
+ OpenAPI spec version: 1.0.42
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.0.38.gem
24
+ gem install ./MailchimpTransactional-1.0.42.gem
25
25
  ```
26
- (for development, run `gem install --dev ./MailchimpTransactional-1.0.38.gem` to install the development dependencies)
26
+ (for development, run `gem install --dev ./MailchimpTransactional-1.0.42.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.0.38'
32
+ gem 'MailchimpTransactional', '~> 1.0.42'
33
33
 
34
34
  ### Install from Git
35
35
 
@@ -90,7 +90,11 @@ All URIs are relative to *https://mandrillapp.com/api/1.0*
90
90
 
91
91
  | Method | Endpoint |
92
92
  | ---------- | -------- |
93
+ | **allowlists.add** | /allowlists/add |
94
+ | **allowlists.delete** | /allowlists/delete |
95
+ | **allowlists.list** | /allowlists/list |
93
96
  | **exports.activity** | /exports/activity |
97
+ | **exports.allowlist** | /exports/allowlist |
94
98
  | **exports.info** | /exports/info |
95
99
  | **exports.list** | /exports/list |
96
100
  | **exports.rejects** | /exports/rejects |
@@ -0,0 +1,53 @@
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.0.42
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 AllowlistsApi
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, '/allowlists/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<(InlineResponse2002, Fixnum, Hash)>] InlineResponse2002 data, response status code and response headers
38
+ def delete(body = {})
39
+ data = @api_client.call_api(:POST, '/allowlists/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<InlineResponse2001>, Fixnum, Hash)>] Array<InlineResponse2001> data, response status code and response headers
48
+ def list(body = {})
49
+ data = @api_client.call_api(:POST, '/allowlists/list', body)
50
+ data
51
+ end
52
+ end
53
+ 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.0.38
6
+ OpenAPI spec version: 1.0.42
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,17 +24,27 @@ module MailchimpTransactional
24
24
  # Begins an export of your activity history. The activity will be exported to a zip archive containing a single file named activity.csv in the same format as you would be able to export from your account&#39;s activity view. It includes the following fields: Date, Email Address, Sender, Subject, Status, Tags, Opens, Clicks, Bounce Detail. If you have configured any custom metadata fields, they will be included in the exported data.
25
25
  # @param body
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Array<(InlineResponse2004, Fixnum, Hash)>] InlineResponse2004 data, response status code and response headers
27
+ # @return [Array<(InlineResponse2007, Fixnum, Hash)>] InlineResponse2007 data, response status code and response headers
28
28
  def activity(body = {})
29
29
  data = @api_client.call_api(:POST, '/exports/activity', body)
30
30
  data
31
31
  end
32
32
 
33
+ # Export Allowlist
34
+ # Begins an export of your rejection allowlist. The allowlist will be exported to a zip archive containing a single file named allowlist.csv that includes the following fields: email, detail, created_at.
35
+ # @param body
36
+ # @param [Hash] opts the optional parameters
37
+ # @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
38
+ def allowlist(body = {})
39
+ data = @api_client.call_api(:POST, '/exports/allowlist', body)
40
+ data
41
+ end
42
+
33
43
  # View export info
34
44
  # Returns information about an export job. If the export job&#39;s state is &#39;complete&#39;, the returned data will include a URL you can use to fetch the results. Every export job produces a zip archive, but the format of the archive is distinct for each job type. The api calls that initiate exports include more details about the output format for that job type.
35
45
  # @param body
36
46
  # @param [Hash] opts the optional parameters
37
- # @return [Array<(InlineResponse200, Fixnum, Hash)>] InlineResponse200 data, response status code and response headers
47
+ # @return [Array<(InlineResponse2003, Fixnum, Hash)>] InlineResponse2003 data, response status code and response headers
38
48
  def info(body = {})
39
49
  data = @api_client.call_api(:POST, '/exports/info', body)
40
50
  data
@@ -44,7 +54,7 @@ module MailchimpTransactional
44
54
  # Returns a list of your exports.
45
55
  # @param body
46
56
  # @param [Hash] opts the optional parameters
47
- # @return [Array<(Array<InlineResponse2001>, Fixnum, Hash)>] Array<InlineResponse2001> data, response status code and response headers
57
+ # @return [Array<(Array<InlineResponse2004>, Fixnum, Hash)>] Array<InlineResponse2004> data, response status code and response headers
48
58
  def list(body = {})
49
59
  data = @api_client.call_api(:POST, '/exports/list', body)
50
60
  data
@@ -54,17 +64,17 @@ module MailchimpTransactional
54
64
  # Begins an export of your rejection denylist. The denylist will be exported to a zip archive containing a single file named rejects.csv that includes the following fields: email, reason, detail, created_at, expires_at, last_event_at, expires_at.
55
65
  # @param body
56
66
  # @param [Hash] opts the optional parameters
57
- # @return [Array<(InlineResponse2002, Fixnum, Hash)>] InlineResponse2002 data, response status code and response headers
67
+ # @return [Array<(InlineResponse2005, Fixnum, Hash)>] InlineResponse2005 data, response status code and response headers
58
68
  def rejects(body = {})
59
69
  data = @api_client.call_api(:POST, '/exports/rejects', body)
60
70
  data
61
71
  end
62
72
 
63
73
  # Export Allowlist
64
- # Begins an export of your rejection allowlist. The allowlist will be exported to a zip archive containing a single file named whitelist.csv that includes the following fields: email, detail, created_at.
74
+ # Begins an export of your rejection allowlist. The allowlist will be exported to a zip archive containing a single file named allowlist.csv that includes the following fields: email, detail, created_at.
65
75
  # @param body
66
76
  # @param [Hash] opts the optional parameters
67
- # @return [Array<(InlineResponse2003, Fixnum, Hash)>] InlineResponse2003 data, response status code and response headers
77
+ # @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
68
78
  def whitelist(body = {})
69
79
  data = @api_client.call_api(:POST, '/exports/whitelist', body)
70
80
  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.0.38
6
+ OpenAPI spec version: 1.0.42
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 an inbound domain to your account.
25
25
  # @param body
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
27
+ # @return [Array<(InlineResponse2009, Fixnum, Hash)>] InlineResponse2009 data, response status code and response headers
28
28
  def add_domain(body = {})
29
29
  data = @api_client.call_api(:POST, '/inbound/add-domain', body)
30
30
  data
@@ -34,7 +34,7 @@ module MailchimpTransactional
34
34
  # Add a new mailbox route to an inbound domain.
35
35
  # @param body
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<(InlineResponse20010, Fixnum, Hash)>] InlineResponse20010 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20013, Fixnum, Hash)>] InlineResponse20013 data, response status code and response headers
38
38
  def add_route(body = {})
39
39
  data = @api_client.call_api(:POST, '/inbound/add-route', body)
40
40
  data
@@ -44,7 +44,7 @@ module MailchimpTransactional
44
44
  # Check the MX settings for an inbound domain. The domain must have already been added with the add-domain call.
45
45
  # @param body
46
46
  # @param [Hash] opts the optional parameters
47
- # @return [Array<(InlineResponse2007, Fixnum, Hash)>] InlineResponse2007 data, response status code and response headers
47
+ # @return [Array<(InlineResponse20010, Fixnum, Hash)>] InlineResponse20010 data, response status code and response headers
48
48
  def check_domain(body = {})
49
49
  data = @api_client.call_api(:POST, '/inbound/check-domain', body)
50
50
  data
@@ -54,7 +54,7 @@ module MailchimpTransactional
54
54
  # Delete an inbound domain from the account. All mail will stop routing for this domain immediately.
55
55
  # @param body
56
56
  # @param [Hash] opts the optional parameters
57
- # @return [Array<(InlineResponse2008, Fixnum, Hash)>] InlineResponse2008 data, response status code and response headers
57
+ # @return [Array<(InlineResponse20011, Fixnum, Hash)>] InlineResponse20011 data, response status code and response headers
58
58
  def delete_domain(body = {})
59
59
  data = @api_client.call_api(:POST, '/inbound/delete-domain', body)
60
60
  data
@@ -64,7 +64,7 @@ module MailchimpTransactional
64
64
  # Delete an existing inbound mailbox route.
65
65
  # @param body
66
66
  # @param [Hash] opts the optional parameters
67
- # @return [Array<(InlineResponse20012, Fixnum, Hash)>] InlineResponse20012 data, response status code and response headers
67
+ # @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
68
68
  def delete_route(body = {})
69
69
  data = @api_client.call_api(:POST, '/inbound/delete-route', body)
70
70
  data
@@ -74,7 +74,7 @@ module MailchimpTransactional
74
74
  # List the domains that have been configured for inbound delivery.
75
75
  # @param body
76
76
  # @param [Hash] opts the optional parameters
77
- # @return [Array<(Array<InlineResponse2005>, Fixnum, Hash)>] Array<InlineResponse2005> data, response status code and response headers
77
+ # @return [Array<(Array<InlineResponse2008>, Fixnum, Hash)>] Array<InlineResponse2008> data, response status code and response headers
78
78
  def domains(body = {})
79
79
  data = @api_client.call_api(:POST, '/inbound/domains', body)
80
80
  data
@@ -84,7 +84,7 @@ module MailchimpTransactional
84
84
  # List the mailbox routes defined for an inbound domain.
85
85
  # @param body
86
86
  # @param [Hash] opts the optional parameters
87
- # @return [Array<(Array<InlineResponse2009>, Fixnum, Hash)>] Array<InlineResponse2009> data, response status code and response headers
87
+ # @return [Array<(Array<InlineResponse20012>, Fixnum, Hash)>] Array<InlineResponse20012> data, response status code and response headers
88
88
  def routes(body = {})
89
89
  data = @api_client.call_api(:POST, '/inbound/routes', body)
90
90
  data
@@ -94,7 +94,7 @@ module MailchimpTransactional
94
94
  # Take a raw MIME document destined for a domain with inbound domains set up, and send it to the inbound hook exactly as if it had been sent over SMTP.
95
95
  # @param body
96
96
  # @param [Hash] opts the optional parameters
97
- # @return [Array<(Array<InlineResponse20013>, Fixnum, Hash)>] Array<InlineResponse20013> data, response status code and response headers
97
+ # @return [Array<(Array<InlineResponse20016>, Fixnum, Hash)>] Array<InlineResponse20016> data, response status code and response headers
98
98
  def send_raw(body = {})
99
99
  data = @api_client.call_api(:POST, '/inbound/send-raw', body)
100
100
  data
@@ -104,7 +104,7 @@ module MailchimpTransactional
104
104
  # Update the pattern or webhook of an existing inbound mailbox route. If null is provided for any fields, the values will remain unchanged.
105
105
  # @param body
106
106
  # @param [Hash] opts the optional parameters
107
- # @return [Array<(InlineResponse20011, Fixnum, Hash)>] InlineResponse20011 data, response status code and response headers
107
+ # @return [Array<(InlineResponse20014, Fixnum, Hash)>] InlineResponse20014 data, response status code and response headers
108
108
  def update_route(body = {})
109
109
  data = @api_client.call_api(:POST, '/inbound/update-route', body)
110
110
  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.0.38
6
+ OpenAPI spec version: 1.0.42
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
  # Cancels the warmup process for a dedicated IP.
25
25
  # @param body
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
27
+ # @return [Array<(InlineResponse20020, Fixnum, Hash)>] InlineResponse20020 data, response status code and response headers
28
28
  def cancel_warmup(body = {})
29
29
  data = @api_client.call_api(:POST, '/ips/cancel-warmup', body)
30
30
  data
@@ -34,7 +34,7 @@ module MailchimpTransactional
34
34
  # Tests whether a domain name is valid for use as the custom reverse DNS for a dedicated IP.
35
35
  # @param body
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<(InlineResponse20023, Fixnum, Hash)>] InlineResponse20023 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20026, Fixnum, Hash)>] InlineResponse20026 data, response status code and response headers
38
38
  def check_custom_dns(body = {})
39
39
  data = @api_client.call_api(:POST, '/ips/check-custom-dns', body)
40
40
  data
@@ -44,7 +44,7 @@ module MailchimpTransactional
44
44
  # Creates a pool and returns it. If a pool already exists with this name, no action will be performed.
45
45
  # @param body
46
46
  # @param [Hash] opts the optional parameters
47
- # @return [Array<(InlineResponse20021, Fixnum, Hash)>] InlineResponse20021 data, response status code and response headers
47
+ # @return [Array<(InlineResponse20024, Fixnum, Hash)>] InlineResponse20024 data, response status code and response headers
48
48
  def create_pool(body = {})
49
49
  data = @api_client.call_api(:POST, '/ips/create-pool', body)
50
50
  data
@@ -54,7 +54,7 @@ module MailchimpTransactional
54
54
  # Deletes a dedicated IP. This is permanent and cannot be undone.
55
55
  # @param body
56
56
  # @param [Hash] opts the optional parameters
57
- # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
57
+ # @return [Array<(InlineResponse20022, Fixnum, Hash)>] InlineResponse20022 data, response status code and response headers
58
58
  def delete(body = {})
59
59
  data = @api_client.call_api(:POST, '/ips/delete', body)
60
60
  data
@@ -64,7 +64,7 @@ module MailchimpTransactional
64
64
  # Deletes a pool. A pool must be empty before you can delete it, and you cannot delete your default pool.
65
65
  # @param body
66
66
  # @param [Hash] opts the optional parameters
67
- # @return [Array<(InlineResponse20022, Fixnum, Hash)>] InlineResponse20022 data, response status code and response headers
67
+ # @return [Array<(InlineResponse20025, Fixnum, Hash)>] InlineResponse20025 data, response status code and response headers
68
68
  def delete_pool(body = {})
69
69
  data = @api_client.call_api(:POST, '/ips/delete-pool', body)
70
70
  data
@@ -74,7 +74,7 @@ module MailchimpTransactional
74
74
  # Retrieves information about a single dedicated IP.
75
75
  # @param body
76
76
  # @param [Hash] opts the optional parameters
77
- # @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
77
+ # @return [Array<(InlineResponse20018, Fixnum, Hash)>] InlineResponse20018 data, response status code and response headers
78
78
  def info(body = {})
79
79
  data = @api_client.call_api(:POST, '/ips/info', body)
80
80
  data
@@ -84,7 +84,7 @@ module MailchimpTransactional
84
84
  # Lists your dedicated IPs.
85
85
  # @param body
86
86
  # @param [Hash] opts the optional parameters
87
- # @return [Array<(Array<InlineResponse20014>, Fixnum, Hash)>] Array<InlineResponse20014> data, response status code and response headers
87
+ # @return [Array<(Array<InlineResponse20017>, Fixnum, Hash)>] Array<InlineResponse20017> data, response status code and response headers
88
88
  def list(body = {})
89
89
  data = @api_client.call_api(:POST, '/ips/list', body)
90
90
  data
@@ -94,7 +94,7 @@ module MailchimpTransactional
94
94
  # Lists your dedicated IP pools.
95
95
  # @param body
96
96
  # @param [Hash] opts the optional parameters
97
- # @return [Array<(Array<InlineResponse20020>, Fixnum, Hash)>] Array<InlineResponse20020> data, response status code and response headers
97
+ # @return [Array<(Array<InlineResponse20023>, Fixnum, Hash)>] Array<InlineResponse20023> data, response status code and response headers
98
98
  def list_pools(body = {})
99
99
  data = @api_client.call_api(:POST, '/ips/list-pools', body)
100
100
  data
@@ -104,7 +104,7 @@ module MailchimpTransactional
104
104
  # Describes a single dedicated IP pool.
105
105
  # @param body
106
106
  # @param [Hash] opts the optional parameters
107
- # @return [Array<(InlineResponse20021, Fixnum, Hash)>] InlineResponse20021 data, response status code and response headers
107
+ # @return [Array<(InlineResponse20024, Fixnum, Hash)>] InlineResponse20024 data, response status code and response headers
108
108
  def pool_info(body = {})
109
109
  data = @api_client.call_api(:POST, '/ips/pool-info', body)
110
110
  data
@@ -114,7 +114,7 @@ module MailchimpTransactional
114
114
  # Requests an additional dedicated IP for your account. Accounts may have one outstanding request at any time, and provisioning requests are processed within 24 hours.
115
115
  # @param body
116
116
  # @param [Hash] opts the optional parameters
117
- # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
117
+ # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
118
118
  def provision(body = {})
119
119
  data = @api_client.call_api(:POST, '/ips/provision', body)
120
120
  data
@@ -124,7 +124,7 @@ module MailchimpTransactional
124
124
  # Configures the custom DNS name for a dedicated IP.
125
125
  # @param body
126
126
  # @param [Hash] opts the optional parameters
127
- # @return [Array<(InlineResponse20024, Fixnum, Hash)>] InlineResponse20024 data, response status code and response headers
127
+ # @return [Array<(InlineResponse20027, Fixnum, Hash)>] InlineResponse20027 data, response status code and response headers
128
128
  def set_custom_dns(body = {})
129
129
  data = @api_client.call_api(:POST, '/ips/set-custom-dns', body)
130
130
  data
@@ -134,7 +134,7 @@ module MailchimpTransactional
134
134
  # Moves a dedicated IP to a different pool.
135
135
  # @param body
136
136
  # @param [Hash] opts the optional parameters
137
- # @return [Array<(InlineResponse20018, Fixnum, Hash)>] InlineResponse20018 data, response status code and response headers
137
+ # @return [Array<(InlineResponse20021, Fixnum, Hash)>] InlineResponse20021 data, response status code and response headers
138
138
  def set_pool(body = {})
139
139
  data = @api_client.call_api(:POST, '/ips/set-pool', body)
140
140
  data
@@ -144,7 +144,7 @@ module MailchimpTransactional
144
144
  # Begins the warmup process for a dedicated IP. During the warmup process, the Transactional API will gradually increase the percentage of your mail that is sent over the warming-up IP, over a period of roughly 30 days. The rest of your mail will be sent over shared IPs or other dedicated IPs in the same pool.
145
145
  # @param body
146
146
  # @param [Hash] opts the optional parameters
147
- # @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
147
+ # @return [Array<(InlineResponse20020, Fixnum, Hash)>] InlineResponse20020 data, response status code and response headers
148
148
  def start_warmup(body = {})
149
149
  data = @api_client.call_api(:POST, '/ips/start-warmup', body)
150
150
  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.0.38
6
+ OpenAPI spec version: 1.0.42
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
  # Cancels a scheduled email.
25
25
  # @param body
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Array<(Array<InlineResponse20032>, Fixnum, Hash)>] Array<InlineResponse20032> data, response status code and response headers
27
+ # @return [Array<(Array<InlineResponse20035>, Fixnum, Hash)>] Array<InlineResponse20035> data, response status code and response headers
28
28
  def cancel_scheduled(body = {})
29
29
  data = @api_client.call_api(:POST, '/messages/cancel-scheduled', body)
30
30
  data
@@ -34,7 +34,7 @@ module MailchimpTransactional
34
34
  # Get the full content of a recently sent message.
35
35
  # @param body
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<(InlineResponse20030, Fixnum, Hash)>] InlineResponse20030 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20033, Fixnum, Hash)>] InlineResponse20033 data, response status code and response headers
38
38
  def content(body = {})
39
39
  data = @api_client.call_api(:POST, '/messages/content', body)
40
40
  data
@@ -44,7 +44,7 @@ module MailchimpTransactional
44
44
  # Get the information for a single recently sent message.
45
45
  # @param body
46
46
  # @param [Hash] opts the optional parameters
47
- # @return [Array<(InlineResponse20029, Fixnum, Hash)>] InlineResponse20029 data, response status code and response headers
47
+ # @return [Array<(InlineResponse20032, Fixnum, Hash)>] InlineResponse20032 data, response status code and response headers
48
48
  def info(body = {})
49
49
  data = @api_client.call_api(:POST, '/messages/info', body)
50
50
  data
@@ -54,7 +54,7 @@ module MailchimpTransactional
54
54
  # Queries your scheduled emails.
55
55
  # @param body
56
56
  # @param [Hash] opts the optional parameters
57
- # @return [Array<(Array<InlineResponse20032>, Fixnum, Hash)>] Array<InlineResponse20032> data, response status code and response headers
57
+ # @return [Array<(Array<InlineResponse20035>, Fixnum, Hash)>] Array<InlineResponse20035> data, response status code and response headers
58
58
  def list_scheduled(body = {})
59
59
  data = @api_client.call_api(:POST, '/messages/list-scheduled', body)
60
60
  data
@@ -64,7 +64,7 @@ module MailchimpTransactional
64
64
  # Parse the full MIME document for an email message, returning the content of the message broken into its constituent pieces.
65
65
  # @param body
66
66
  # @param [Hash] opts the optional parameters
67
- # @return [Array<(InlineResponse20031, Fixnum, Hash)>] InlineResponse20031 data, response status code and response headers
67
+ # @return [Array<(InlineResponse20034, Fixnum, Hash)>] InlineResponse20034 data, response status code and response headers
68
68
  def parse(body = {})
69
69
  data = @api_client.call_api(:POST, '/messages/parse', body)
70
70
  data
@@ -74,7 +74,7 @@ module MailchimpTransactional
74
74
  # Reschedules a scheduled email.
75
75
  # @param body
76
76
  # @param [Hash] opts the optional parameters
77
- # @return [Array<(Array<InlineResponse20032>, Fixnum, Hash)>] Array<InlineResponse20032> data, response status code and response headers
77
+ # @return [Array<(Array<InlineResponse20035>, Fixnum, Hash)>] Array<InlineResponse20035> data, response status code and response headers
78
78
  def reschedule(body = {})
79
79
  data = @api_client.call_api(:POST, '/messages/reschedule', body)
80
80
  data
@@ -84,7 +84,7 @@ module MailchimpTransactional
84
84
  # Search recently sent messages and optionally narrow by date range, tags, senders, and API keys. If no date range is specified, results within the last 7 days are returned. This method may be called up to 20 times per minute. If you need the data more often, you can use /messages/info.json to get the information for a single message, or webhooks to push activity to your own application for querying.
85
85
  # @param body
86
86
  # @param [Hash] opts the optional parameters
87
- # @return [Array<(Array<InlineResponse20027>, Fixnum, Hash)>] Array<InlineResponse20027> data, response status code and response headers
87
+ # @return [Array<(Array<InlineResponse20030>, Fixnum, Hash)>] Array<InlineResponse20030> data, response status code and response headers
88
88
  def search(body = {})
89
89
  data = @api_client.call_api(:POST, '/messages/search', body)
90
90
  data
@@ -94,7 +94,7 @@ module MailchimpTransactional
94
94
  # Search the content of recently sent messages and return the aggregated hourly stats for matching messages.
95
95
  # @param body
96
96
  # @param [Hash] opts the optional parameters
97
- # @return [Array<(Array<InlineResponse20028>, Fixnum, Hash)>] Array<InlineResponse20028> data, response status code and response headers
97
+ # @return [Array<(Array<InlineResponse20031>, Fixnum, Hash)>] Array<InlineResponse20031> data, response status code and response headers
98
98
  def search_time_series(body = {})
99
99
  data = @api_client.call_api(:POST, '/messages/search-time-series', body)
100
100
  data
@@ -104,7 +104,7 @@ module MailchimpTransactional
104
104
  # Send a new transactional message through the Transactional API.
105
105
  # @param body
106
106
  # @param [Hash] opts the optional parameters
107
- # @return [Array<(Array<InlineResponse20025>, Fixnum, Hash)>] Array<InlineResponse20025> data, response status code and response headers
107
+ # @return [Array<(Array<InlineResponse20028>, Fixnum, Hash)>] Array<InlineResponse20028> data, response status code and response headers
108
108
  def send(body = {})
109
109
  data = @api_client.call_api(:POST, '/messages/send', body)
110
110
  data
@@ -124,7 +124,7 @@ module MailchimpTransactional
124
124
  # Send a new transactional message through the Transactional API using a template.
125
125
  # @param body
126
126
  # @param [Hash] opts the optional parameters
127
- # @return [Array<(Array<InlineResponse20026>, Fixnum, Hash)>] Array<InlineResponse20026> data, response status code and response headers
127
+ # @return [Array<(Array<InlineResponse20029>, Fixnum, Hash)>] Array<InlineResponse20029> data, response status code and response headers
128
128
  def send_template(body = {})
129
129
  data = @api_client.call_api(:POST, '/messages/send-template', body)
130
130
  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.0.38
6
+ OpenAPI spec version: 1.0.42
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 custom metadata field to be indexed for the account.
25
25
  # @param body
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Array<(InlineResponse20034, Fixnum, Hash)>] InlineResponse20034 data, response status code and response headers
27
+ # @return [Array<(InlineResponse20037, Fixnum, Hash)>] InlineResponse20037 data, response status code and response headers
28
28
  def add(body = {})
29
29
  data = @api_client.call_api(:POST, '/metadata/add', body)
30
30
  data
@@ -34,7 +34,7 @@ module MailchimpTransactional
34
34
  # Delete an existing custom metadata field. Deletion isn&#39;t instataneous, and /metadata/list will continue to return the field until the asynchronous deletion process is complete.
35
35
  # @param body
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<(InlineResponse20036, Fixnum, Hash)>] InlineResponse20036 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20039, Fixnum, Hash)>] InlineResponse20039 data, response status code and response headers
38
38
  def delete(body = {})
39
39
  data = @api_client.call_api(:POST, '/metadata/delete', body)
40
40
  data
@@ -44,7 +44,7 @@ module MailchimpTransactional
44
44
  # Get the list of custom metadata fields indexed for the account.
45
45
  # @param body
46
46
  # @param [Hash] opts the optional parameters
47
- # @return [Array<(Array<InlineResponse20033>, Fixnum, Hash)>] Array<InlineResponse20033> data, response status code and response headers
47
+ # @return [Array<(Array<InlineResponse20036>, Fixnum, Hash)>] Array<InlineResponse20036> data, response status code and response headers
48
48
  def list(body = {})
49
49
  data = @api_client.call_api(:POST, '/metadata/list', body)
50
50
  data
@@ -54,7 +54,7 @@ module MailchimpTransactional
54
54
  # Update an existing custom metadata field.
55
55
  # @param body
56
56
  # @param [Hash] opts the optional parameters
57
- # @return [Array<(InlineResponse20035, Fixnum, Hash)>] InlineResponse20035 data, response status code and response headers
57
+ # @return [Array<(InlineResponse20038, Fixnum, Hash)>] InlineResponse20038 data, response status code and response headers
58
58
  def update(body = {})
59
59
  data = @api_client.call_api(:POST, '/metadata/update', 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.0.38
6
+ OpenAPI spec version: 1.0.42
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
  # Adds an email to your email rejection denylist. Addresses that you add manually will never expire and there is no reputation penalty for removing them from your denylist. Attempting to denylist an address that has been added to the allowlist will have no effect.
25
25
  # @param body
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Array<(InlineResponse20037, Fixnum, Hash)>] InlineResponse20037 data, response status code and response headers
27
+ # @return [Array<(InlineResponse20040, Fixnum, Hash)>] InlineResponse20040 data, response status code and response headers
28
28
  def add(body = {})
29
29
  data = @api_client.call_api(:POST, '/rejects/add', body)
30
30
  data
@@ -34,7 +34,7 @@ module MailchimpTransactional
34
34
  # 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
35
  # @param body
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<(InlineResponse20039, Fixnum, Hash)>] InlineResponse20039 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20042, Fixnum, Hash)>] InlineResponse20042 data, response status code and response headers
38
38
  def delete(body = {})
39
39
  data = @api_client.call_api(:POST, '/rejects/delete', body)
40
40
  data
@@ -44,7 +44,7 @@ module MailchimpTransactional
44
44
  # 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
45
  # @param body
46
46
  # @param [Hash] opts the optional parameters
47
- # @return [Array<(Array<InlineResponse20038>, Fixnum, Hash)>] Array<InlineResponse20038> data, response status code and response headers
47
+ # @return [Array<(Array<InlineResponse20041>, Fixnum, Hash)>] Array<InlineResponse20041> data, response status code and response headers
48
48
  def list(body = {})
49
49
  data = @api_client.call_api(:POST, '/rejects/list', body)
50
50
  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.0.38
6
+ OpenAPI spec version: 1.0.42
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,17 +24,17 @@ module MailchimpTransactional
24
24
  # Adds a sender domain to your account. Sender domains are added automatically as you send, but you can use this call to add them ahead of time.
25
25
  # @param body
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Array<(InlineResponse20042, Fixnum, Hash)>] InlineResponse20042 data, response status code and response headers
27
+ # @return [Array<(InlineResponse20045, Fixnum, Hash)>] InlineResponse20045 data, response status code and response headers
28
28
  def add_domain(body = {})
29
29
  data = @api_client.call_api(:POST, '/senders/add-domain', body)
30
30
  data
31
31
  end
32
32
 
33
33
  # Check domain settings
34
- # Checks the SPF and DKIM settings for a domain. If you haven&#39;t already added this domain to your account, it will be added automatically.
34
+ # Checks the SPF and DKIM settings for a domain, as well the domain verification. If you haven&#39;t already added this domain to your account, it will be added automatically.
35
35
  # @param body
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<(InlineResponse20043, Fixnum, Hash)>] InlineResponse20043 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20046, Fixnum, Hash)>] InlineResponse20046 data, response status code and response headers
38
38
  def check_domain(body = {})
39
39
  data = @api_client.call_api(:POST, '/senders/check-domain', body)
40
40
  data
@@ -44,7 +44,7 @@ module MailchimpTransactional
44
44
  # Returns the sender domains that have been added to this account.
45
45
  # @param body
46
46
  # @param [Hash] opts the optional parameters
47
- # @return [Array<(Array<InlineResponse20041>, Fixnum, Hash)>] Array<InlineResponse20041> data, response status code and response headers
47
+ # @return [Array<(Array<InlineResponse20044>, Fixnum, Hash)>] Array<InlineResponse20044> data, response status code and response headers
48
48
  def domains(body = {})
49
49
  data = @api_client.call_api(:POST, '/senders/domains', body)
50
50
  data
@@ -54,7 +54,7 @@ module MailchimpTransactional
54
54
  # Return more detailed information about a single sender, including aggregates of recent stats.
55
55
  # @param body
56
56
  # @param [Hash] opts the optional parameters
57
- # @return [Array<(InlineResponse20045, Fixnum, Hash)>] InlineResponse20045 data, response status code and response headers
57
+ # @return [Array<(InlineResponse20048, Fixnum, Hash)>] InlineResponse20048 data, response status code and response headers
58
58
  def info(body = {})
59
59
  data = @api_client.call_api(:POST, '/senders/info', body)
60
60
  data
@@ -64,7 +64,7 @@ module MailchimpTransactional
64
64
  # Return the senders that have tried to use this account.
65
65
  # @param body
66
66
  # @param [Hash] opts the optional parameters
67
- # @return [Array<(Array<InlineResponse20040>, Fixnum, Hash)>] Array<InlineResponse20040> data, response status code and response headers
67
+ # @return [Array<(Array<InlineResponse20043>, Fixnum, Hash)>] Array<InlineResponse20043> data, response status code and response headers
68
68
  def list(body = {})
69
69
  data = @api_client.call_api(:POST, '/senders/list', body)
70
70
  data
@@ -74,7 +74,7 @@ module MailchimpTransactional
74
74
  # Return the recent history (hourly stats for the last 30 days) for a sender.
75
75
  # @param body
76
76
  # @param [Hash] opts the optional parameters
77
- # @return [Array<(Array<InlineResponse20046>, Fixnum, Hash)>] Array<InlineResponse20046> data, response status code and response headers
77
+ # @return [Array<(Array<InlineResponse20049>, Fixnum, Hash)>] Array<InlineResponse20049> data, response status code and response headers
78
78
  def time_series(body = {})
79
79
  data = @api_client.call_api(:POST, '/senders/time-series', body)
80
80
  data
@@ -84,7 +84,7 @@ module MailchimpTransactional
84
84
  # Sends a verification email in order to verify ownership of a domain. Domain verification is a required step to confirm ownership of a domain. Once a domain has been verified in a Transactional API account, other accounts may not have their messages signed by that domain unless they also verify the domain. This prevents other Transactional API accounts from sending mail signed by your domain.
85
85
  # @param body
86
86
  # @param [Hash] opts the optional parameters
87
- # @return [Array<(InlineResponse20044, Fixnum, Hash)>] InlineResponse20044 data, response status code and response headers
87
+ # @return [Array<(InlineResponse20047, Fixnum, Hash)>] InlineResponse20047 data, response status code and response headers
88
88
  def verify_domain(body = {})
89
89
  data = @api_client.call_api(:POST, '/senders/verify-domain', body)
90
90
  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.0.38
6
+ OpenAPI spec version: 1.0.42
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 subaccount.
25
25
  # @param body
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Array<(InlineResponse20048, Fixnum, Hash)>] InlineResponse20048 data, response status code and response headers
27
+ # @return [Array<(InlineResponse20051, Fixnum, Hash)>] InlineResponse20051 data, response status code and response headers
28
28
  def add(body = {})
29
29
  data = @api_client.call_api(:POST, '/subaccounts/add', body)
30
30
  data
@@ -34,7 +34,7 @@ module MailchimpTransactional
34
34
  # Delete an existing subaccount. Any email related to the subaccount will be saved, but stats will be removed and any future sending calls to this subaccount will fail.
35
35
  # @param body
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<(InlineResponse20051, Fixnum, Hash)>] InlineResponse20051 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20054, Fixnum, Hash)>] InlineResponse20054 data, response status code and response headers
38
38
  def delete(body = {})
39
39
  data = @api_client.call_api(:POST, '/subaccounts/delete', body)
40
40
  data
@@ -44,7 +44,7 @@ module MailchimpTransactional
44
44
  # Given the ID of an existing subaccount, return the data about it.
45
45
  # @param body
46
46
  # @param [Hash] opts the optional parameters
47
- # @return [Array<(InlineResponse20049, Fixnum, Hash)>] InlineResponse20049 data, response status code and response headers
47
+ # @return [Array<(InlineResponse20052, Fixnum, Hash)>] InlineResponse20052 data, response status code and response headers
48
48
  def info(body = {})
49
49
  data = @api_client.call_api(:POST, '/subaccounts/info', body)
50
50
  data
@@ -54,7 +54,7 @@ module MailchimpTransactional
54
54
  # Get the list of subaccounts defined for the account, optionally filtered by a prefix.
55
55
  # @param body
56
56
  # @param [Hash] opts the optional parameters
57
- # @return [Array<(Array<InlineResponse20047>, Fixnum, Hash)>] Array<InlineResponse20047> data, response status code and response headers
57
+ # @return [Array<(Array<InlineResponse20050>, Fixnum, Hash)>] Array<InlineResponse20050> data, response status code and response headers
58
58
  def list(body = {})
59
59
  data = @api_client.call_api(:POST, '/subaccounts/list', body)
60
60
  data
@@ -64,7 +64,7 @@ module MailchimpTransactional
64
64
  # Pause a subaccount&#39;s sending. Any future emails delivered to this subaccount will be queued for a maximum of 3 days until the subaccount is resumed.
65
65
  # @param body
66
66
  # @param [Hash] opts the optional parameters
67
- # @return [Array<(InlineResponse20052, Fixnum, Hash)>] InlineResponse20052 data, response status code and response headers
67
+ # @return [Array<(InlineResponse20055, Fixnum, Hash)>] InlineResponse20055 data, response status code and response headers
68
68
  def pause(body = {})
69
69
  data = @api_client.call_api(:POST, '/subaccounts/pause', body)
70
70
  data
@@ -74,7 +74,7 @@ module MailchimpTransactional
74
74
  # Resume a paused subaccount&#39;s sending.
75
75
  # @param body
76
76
  # @param [Hash] opts the optional parameters
77
- # @return [Array<(InlineResponse20053, Fixnum, Hash)>] InlineResponse20053 data, response status code and response headers
77
+ # @return [Array<(InlineResponse20056, Fixnum, Hash)>] InlineResponse20056 data, response status code and response headers
78
78
  def resume(body = {})
79
79
  data = @api_client.call_api(:POST, '/subaccounts/resume', body)
80
80
  data
@@ -84,7 +84,7 @@ module MailchimpTransactional
84
84
  # Update an existing subaccount.
85
85
  # @param body
86
86
  # @param [Hash] opts the optional parameters
87
- # @return [Array<(InlineResponse20050, Fixnum, Hash)>] InlineResponse20050 data, response status code and response headers
87
+ # @return [Array<(InlineResponse20053, Fixnum, Hash)>] InlineResponse20053 data, response status code and response headers
88
88
  def update(body = {})
89
89
  data = @api_client.call_api(:POST, '/subaccounts/update', body)
90
90
  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.0.38
6
+ OpenAPI spec version: 1.0.42
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 recent history (hourly stats for the last 30 days) for all tags.
25
25
  # @param body
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Array<(Array<InlineResponse20028>, Fixnum, Hash)>] Array<InlineResponse20028> data, response status code and response headers
27
+ # @return [Array<(Array<InlineResponse20031>, Fixnum, Hash)>] Array<InlineResponse20031> data, response status code and response headers
28
28
  def all_time_series(body = {})
29
29
  data = @api_client.call_api(:POST, '/tags/all-time-series', body)
30
30
  data
@@ -34,7 +34,7 @@ module MailchimpTransactional
34
34
  # Deletes a tag permanently. Deleting a tag removes the tag from any messages that have been sent, and also deletes the tag&#39;s stats. There is no way to undo this operation, so use it carefully.
35
35
  # @param body
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<(InlineResponse20055, Fixnum, Hash)>] InlineResponse20055 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20058, Fixnum, Hash)>] InlineResponse20058 data, response status code and response headers
38
38
  def delete(body = {})
39
39
  data = @api_client.call_api(:POST, '/tags/delete', body)
40
40
  data
@@ -44,7 +44,7 @@ module MailchimpTransactional
44
44
  # Return more detailed information about a single tag, including aggregates of recent stats.
45
45
  # @param body
46
46
  # @param [Hash] opts the optional parameters
47
- # @return [Array<(InlineResponse20056, Fixnum, Hash)>] InlineResponse20056 data, response status code and response headers
47
+ # @return [Array<(InlineResponse20059, Fixnum, Hash)>] InlineResponse20059 data, response status code and response headers
48
48
  def info(body = {})
49
49
  data = @api_client.call_api(:POST, '/tags/info', body)
50
50
  data
@@ -54,7 +54,7 @@ module MailchimpTransactional
54
54
  # Return all of the user-defined tag information.
55
55
  # @param body
56
56
  # @param [Hash] opts the optional parameters
57
- # @return [Array<(Array<InlineResponse20054>, Fixnum, Hash)>] Array<InlineResponse20054> data, response status code and response headers
57
+ # @return [Array<(Array<InlineResponse20057>, Fixnum, Hash)>] Array<InlineResponse20057> data, response status code and response headers
58
58
  def list(body = {})
59
59
  data = @api_client.call_api(:POST, '/tags/list', body)
60
60
  data
@@ -64,7 +64,7 @@ module MailchimpTransactional
64
64
  # Return the recent history (hourly stats for the last 30 days) for a tag.
65
65
  # @param body
66
66
  # @param [Hash] opts the optional parameters
67
- # @return [Array<(Array<InlineResponse20028>, Fixnum, Hash)>] Array<InlineResponse20028> data, response status code and response headers
67
+ # @return [Array<(Array<InlineResponse20031>, Fixnum, Hash)>] Array<InlineResponse20031> data, response status code and response headers
68
68
  def time_series(body = {})
69
69
  data = @api_client.call_api(:POST, '/tags/time-series', 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.0.38
6
+ OpenAPI spec version: 1.0.42
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 template.
25
25
  # @param body
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Array<(InlineResponse20057, Fixnum, Hash)>] InlineResponse20057 data, response status code and response headers
27
+ # @return [Array<(InlineResponse20060, Fixnum, Hash)>] InlineResponse20060 data, response status code and response headers
28
28
  def add(body = {})
29
29
  data = @api_client.call_api(:POST, '/templates/add', body)
30
30
  data
@@ -34,7 +34,7 @@ module MailchimpTransactional
34
34
  # Delete a template.
35
35
  # @param body
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<(InlineResponse20061, Fixnum, Hash)>] InlineResponse20061 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20064, Fixnum, Hash)>] InlineResponse20064 data, response status code and response headers
38
38
  def delete(body = {})
39
39
  data = @api_client.call_api(:POST, '/templates/delete', body)
40
40
  data
@@ -44,7 +44,7 @@ module MailchimpTransactional
44
44
  # Get the information for an existing template.
45
45
  # @param body
46
46
  # @param [Hash] opts the optional parameters
47
- # @return [Array<(InlineResponse20058, Fixnum, Hash)>] InlineResponse20058 data, response status code and response headers
47
+ # @return [Array<(InlineResponse20061, Fixnum, Hash)>] InlineResponse20061 data, response status code and response headers
48
48
  def info(body = {})
49
49
  data = @api_client.call_api(:POST, '/templates/info', body)
50
50
  data
@@ -54,7 +54,7 @@ module MailchimpTransactional
54
54
  # Return a list of all the templates available to this user.
55
55
  # @param body
56
56
  # @param [Hash] opts the optional parameters
57
- # @return [Array<(Array<InlineResponse20062>, Fixnum, Hash)>] Array<InlineResponse20062> data, response status code and response headers
57
+ # @return [Array<(Array<InlineResponse20065>, Fixnum, Hash)>] Array<InlineResponse20065> data, response status code and response headers
58
58
  def list(body = {})
59
59
  data = @api_client.call_api(:POST, '/templates/list', body)
60
60
  data
@@ -64,7 +64,7 @@ module MailchimpTransactional
64
64
  # Publish the content for the template. Any new messages sent using this template will start using the content that was previously in draft.
65
65
  # @param body
66
66
  # @param [Hash] opts the optional parameters
67
- # @return [Array<(InlineResponse20060, Fixnum, Hash)>] InlineResponse20060 data, response status code and response headers
67
+ # @return [Array<(InlineResponse20063, Fixnum, Hash)>] InlineResponse20063 data, response status code and response headers
68
68
  def publish(body = {})
69
69
  data = @api_client.call_api(:POST, '/templates/publish', body)
70
70
  data
@@ -74,7 +74,7 @@ module MailchimpTransactional
74
74
  # Inject content and optionally merge fields into a template, returning the HTML that results.
75
75
  # @param body
76
76
  # @param [Hash] opts the optional parameters
77
- # @return [Array<(InlineResponse20063, Fixnum, Hash)>] InlineResponse20063 data, response status code and response headers
77
+ # @return [Array<(InlineResponse20066, Fixnum, Hash)>] InlineResponse20066 data, response status code and response headers
78
78
  def render(body = {})
79
79
  data = @api_client.call_api(:POST, '/templates/render', body)
80
80
  data
@@ -84,7 +84,7 @@ module MailchimpTransactional
84
84
  # Return the recent history (hourly stats for the last 30 days) for a template.
85
85
  # @param body
86
86
  # @param [Hash] opts the optional parameters
87
- # @return [Array<(Array<InlineResponse20046>, Fixnum, Hash)>] Array<InlineResponse20046> data, response status code and response headers
87
+ # @return [Array<(Array<InlineResponse20049>, Fixnum, Hash)>] Array<InlineResponse20049> data, response status code and response headers
88
88
  def time_series(body = {})
89
89
  data = @api_client.call_api(:POST, '/templates/time-series', body)
90
90
  data
@@ -94,7 +94,7 @@ module MailchimpTransactional
94
94
  # Update the code for an existing template. If null is provided for any fields, the values will remain unchanged.
95
95
  # @param body
96
96
  # @param [Hash] opts the optional parameters
97
- # @return [Array<(InlineResponse20059, Fixnum, Hash)>] InlineResponse20059 data, response status code and response headers
97
+ # @return [Array<(InlineResponse20062, Fixnum, Hash)>] InlineResponse20062 data, response status code and response headers
98
98
  def update(body = {})
99
99
  data = @api_client.call_api(:POST, '/templates/update', body)
100
100
  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.0.38
6
+ OpenAPI spec version: 1.0.42
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<(InlineResponse20068, Fixnum, Hash)>] InlineResponse20068 data, response status code and response headers
27
+ # @return [Array<(InlineResponse20071, Fixnum, Hash)>] InlineResponse20071 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<(InlineResponse20068, Fixnum, Hash)>] InlineResponse20068 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20071, Fixnum, Hash)>] InlineResponse20071 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,7 +44,7 @@ module MailchimpTransactional
44
44
  # Get the 100 most clicked URLs.
45
45
  # @param body
46
46
  # @param [Hash] opts the optional parameters
47
- # @return [Array<(Array<InlineResponse20064>, Fixnum, Hash)>] Array<InlineResponse20064> data, response status code and response headers
47
+ # @return [Array<(Array<InlineResponse20067>, Fixnum, Hash)>] Array<InlineResponse20067> data, response status code and response headers
48
48
  def list(body = {})
49
49
  data = @api_client.call_api(:POST, '/urls/list', body)
50
50
  data
@@ -54,7 +54,7 @@ module MailchimpTransactional
54
54
  # Return the 100 most clicked URLs that match the search query given.
55
55
  # @param body
56
56
  # @param [Hash] opts the optional parameters
57
- # @return [Array<(Array<InlineResponse20065>, Fixnum, Hash)>] Array<InlineResponse20065> data, response status code and response headers
57
+ # @return [Array<(Array<InlineResponse20068>, Fixnum, Hash)>] Array<InlineResponse20068> data, response status code and response headers
58
58
  def search(body = {})
59
59
  data = @api_client.call_api(:POST, '/urls/search', body)
60
60
  data
@@ -64,7 +64,7 @@ module MailchimpTransactional
64
64
  # Return the recent history (hourly stats for the last 30 days) for a URL
65
65
  # @param body
66
66
  # @param [Hash] opts the optional parameters
67
- # @return [Array<(Array<InlineResponse20066>, Fixnum, Hash)>] Array<InlineResponse20066> data, response status code and response headers
67
+ # @return [Array<(Array<InlineResponse20069>, Fixnum, Hash)>] Array<InlineResponse20069> data, response status code and response headers
68
68
  def time_series(body = {})
69
69
  data = @api_client.call_api(:POST, '/urls/time-series', body)
70
70
  data
@@ -74,7 +74,7 @@ module MailchimpTransactional
74
74
  # Get the list of tracking domains set up for this account.
75
75
  # @param body
76
76
  # @param [Hash] opts the optional parameters
77
- # @return [Array<(Array<InlineResponse20067>, Fixnum, Hash)>] Array<InlineResponse20067> data, response status code and response headers
77
+ # @return [Array<(Array<InlineResponse20070>, Fixnum, Hash)>] Array<InlineResponse20070> data, response status code and response headers
78
78
  def tracking_domains(body = {})
79
79
  data = @api_client.call_api(:POST, '/urls/tracking-domains', body)
80
80
  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.0.38
6
+ OpenAPI spec version: 1.0.42
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<(InlineResponse20069, Fixnum, Hash)>] InlineResponse20069 data, response status code and response headers
27
+ # @return [Array<(InlineResponse20072, Fixnum, Hash)>] InlineResponse20072 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<(InlineResponse20070, Fixnum, Hash)>] InlineResponse20070 data, response status code and response headers
47
+ # @return [Array<(InlineResponse20073, Fixnum, Hash)>] InlineResponse20073 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<InlineResponse20040>, Fixnum, Hash)>] Array<InlineResponse20040> data, response status code and response headers
57
+ # @return [Array<(Array<InlineResponse20043>, Fixnum, Hash)>] Array<InlineResponse20043> 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.0.38
6
+ OpenAPI spec version: 1.0.42
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<(InlineResponse20072, Fixnum, Hash)>] InlineResponse20072 data, response status code and response headers
27
+ # @return [Array<(InlineResponse20075, Fixnum, Hash)>] InlineResponse20075 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<(InlineResponse20075, Fixnum, Hash)>] InlineResponse20075 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20078, Fixnum, Hash)>] InlineResponse20078 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<(InlineResponse20073, Fixnum, Hash)>] InlineResponse20073 data, response status code and response headers
47
+ # @return [Array<(InlineResponse20076, Fixnum, Hash)>] InlineResponse20076 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<InlineResponse20071>, Fixnum, Hash)>] Array<InlineResponse20071> data, response status code and response headers
57
+ # @return [Array<(Array<InlineResponse20074>, Fixnum, Hash)>] Array<InlineResponse20074> 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<(InlineResponse20074, Fixnum, Hash)>] InlineResponse20074 data, response status code and response headers
67
+ # @return [Array<(InlineResponse20077, Fixnum, Hash)>] InlineResponse20077 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.0.38
6
+ OpenAPI spec version: 1.0.42
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
  # Adds an email to your email rejection allowlist. If the address is currently on your denylist, that denylist entry will be removed automatically.
25
25
  # @param body
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Array<(InlineResponse20076, Fixnum, Hash)>] InlineResponse20076 data, response status code and response headers
27
+ # @return [Array<(InlineResponse200, Fixnum, Hash)>] InlineResponse200 data, response status code and response headers
28
28
  def add(body = {})
29
29
  data = @api_client.call_api(:POST, '/whitelists/add', body)
30
30
  data
@@ -34,7 +34,7 @@ module MailchimpTransactional
34
34
  # Removes an email address from the allowlist.
35
35
  # @param body
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<(InlineResponse20078, Fixnum, Hash)>] InlineResponse20078 data, response status code and response headers
37
+ # @return [Array<(InlineResponse2002, Fixnum, Hash)>] InlineResponse2002 data, response status code and response headers
38
38
  def delete(body = {})
39
39
  data = @api_client.call_api(:POST, '/whitelists/delete', body)
40
40
  data
@@ -44,7 +44,7 @@ module MailchimpTransactional
44
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
45
  # @param body
46
46
  # @param [Hash] opts the optional parameters
47
- # @return [Array<(Array<InlineResponse20077>, Fixnum, Hash)>] Array<InlineResponse20077> data, response status code and response headers
47
+ # @return [Array<(Array<InlineResponse2001>, Fixnum, Hash)>] Array<InlineResponse2001> data, response status code and response headers
48
48
  def list(body = {})
49
49
  data = @api_client.call_api(:POST, '/whitelists/list', body)
50
50
  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.0.38
6
+ OpenAPI spec version: 1.0.42
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.0.38
6
+ OpenAPI spec version: 1.0.42
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.0.38
6
+ OpenAPI spec version: 1.0.42
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.0.38
6
+ OpenAPI spec version: 1.0.42
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.0.38'
14
+ VERSION = '1.0.42'
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.0.38
6
+ OpenAPI spec version: 1.0.42
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
@@ -16,6 +16,7 @@ require 'MailchimpTransactional/api_error'
16
16
  require 'MailchimpTransactional/version'
17
17
 
18
18
  # APIs
19
+ require 'MailchimpTransactional/api/allowlists_api'
19
20
  require 'MailchimpTransactional/api/exports_api'
20
21
  require 'MailchimpTransactional/api/inbound_api'
21
22
  require 'MailchimpTransactional/api/ips_api'
@@ -41,6 +42,7 @@ module MailchimpTransactional
41
42
  @api_key = api_key
42
43
  @api_client = ApiClient.new(@api_key)
43
44
 
45
+ @Allowlists = AllowlistsApi.new(@api_client)
44
46
  @Exports = ExportsApi.new(@api_client)
45
47
  @Inbound = InboundApi.new(@api_client)
46
48
  @Ips = IpsApi.new(@api_client)
@@ -61,6 +63,9 @@ module MailchimpTransactional
61
63
  @api_client.set_default_output_format(output_format)
62
64
  end
63
65
 
66
+ def allowlists
67
+ @Allowlists
68
+ end
64
69
  def exports
65
70
  @Exports
66
71
  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.0.38
4
+ version: 1.0.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mailchimp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-10 00:00:00.000000000 Z
11
+ date: 2021-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon
@@ -203,6 +203,7 @@ files:
203
203
  - MailchimpTransactional.gemspec
204
204
  - README.md
205
205
  - lib/MailchimpTransactional.rb
206
+ - lib/MailchimpTransactional/api/allowlists_api.rb
206
207
  - lib/MailchimpTransactional/api/exports_api.rb
207
208
  - lib/MailchimpTransactional/api/inbound_api.rb
208
209
  - lib/MailchimpTransactional/api/ips_api.rb