MailchimpTransactional 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8031cbcf9e3ccdaa13cb05eb80c21474025c73893d4873eacac718d39aef2f93
4
- data.tar.gz: 6e9dc0fe86d879fd85f824e89237b2a9d23d14ddd411ba859c225623839de6fc
3
+ metadata.gz: 74a7bcad92533a7c2892162ead075987dc9ba9f88312b2f151a41c54f994f4b7
4
+ data.tar.gz: e59777928dc51cee7c7237f0a8d0dac85b7494a173d25fa8ed2f9a801f6837c7
5
5
  SHA512:
6
- metadata.gz: 43caee29055377785f8ca9f3670bacb3572e47f4b16bdfb1332780d81ad257a527dc4b09b68d54fcbe1528c698ca35294844e3e69488904cca344951c1b4a12f
7
- data.tar.gz: 23139745febe5e46b1a85b4981e54370038d7cb77ccd5d7c33e5236c85cf6e33100337d7cbe9ef818ee89d1c6efb506425d4bbc6bed9db389b8de033159d84a6
6
+ metadata.gz: 9fd24585b53ecb4c4fb60a93ed84d8002a95da3eb01ae9d1478abad6bc4cda5e38eee6d6dcf8a1d3980dadd86e222beb809133c3069bab0d564507f37ab765d3
7
+ data.tar.gz: 4016210ce732d9a955e8c509a056f8efd7cbd1d3bbca072be61c9680d5e11171e224bdd4a8ac46692066fe2f45719be9adda48281e3fe1aabba2eab8db8b3824
@@ -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.2.0
8
+ OpenAPI spec version: 1.3.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.2.0.gem
24
+ gem install ./MailchimpTransactional-1.3.0.gem
25
25
  ```
26
- (for development, run `gem install --dev ./MailchimpTransactional-1.2.0.gem` to install the development dependencies)
26
+ (for development, run `gem install --dev ./MailchimpTransactional-1.3.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.2.0'
32
+ gem 'MailchimpTransactional', '~> 1.3.0'
33
33
 
34
34
  ### Install from Git
35
35
 
@@ -86,7 +86,7 @@ This repo is autogenerated from https://github.com/mailchimp/mailchimp-client-li
86
86
 
87
87
  ## API Endpoints
88
88
 
89
- All URIs are relative to *https://mandrillapp.com/api/1.0*
89
+ All URIs are relative to *https://mandrillapp.com/api/1.3*
90
90
 
91
91
  | Method | Endpoint |
92
92
  | ---------- | -------- |
@@ -121,6 +121,10 @@ All URIs are relative to *https://mandrillapp.com/api/1.0*
121
121
  | **ips.set_custom_dns** | /ips/set-custom-dns |
122
122
  | **ips.set_pool** | /ips/set-pool |
123
123
  | **ips.start_warmup** | /ips/start-warmup |
124
+ | **mctemplates.mc_templates_info** | /mctemplates/info |
125
+ | **mctemplates.mc_templates_list** | /mctemplates/list |
126
+ | **mctemplates.mc_templates_render** | /mctemplates/render |
127
+ | **mctemplates.mc_templates_time_series** | /mctemplates/time-series |
124
128
  | **messages.cancel_scheduled** | /messages/cancel-scheduled |
125
129
  | **messages.content** | /messages/content |
126
130
  | **messages.info** | /messages/info |
@@ -130,6 +134,7 @@ All URIs are relative to *https://mandrillapp.com/api/1.0*
130
134
  | **messages.search** | /messages/search |
131
135
  | **messages.search_time_series** | /messages/search-time-series |
132
136
  | **messages.send** | /messages/send |
137
+ | **messages.send_mc_template** | /messages/send-mc-template |
133
138
  | **messages.send_raw** | /messages/send-raw |
134
139
  | **messages.send_sms** | /messages/send-sms |
135
140
  | **messages.send_template** | /messages/send-template |
@@ -142,6 +147,7 @@ All URIs are relative to *https://mandrillapp.com/api/1.0*
142
147
  | **rejects.list** | /rejects/list |
143
148
  | **senders.add_domain** | /senders/add-domain |
144
149
  | **senders.check_domain** | /senders/check-domain |
150
+ | **senders.delete_domain** | /senders/delete-domain |
145
151
  | **senders.domains** | /senders/domains |
146
152
  | **senders.info** | /senders/info |
147
153
  | **senders.list** | /senders/list |
@@ -169,6 +175,7 @@ All URIs are relative to *https://mandrillapp.com/api/1.0*
169
175
  | **templates.update** | /templates/update |
170
176
  | **urls.add_tracking_domain** | /urls/add-tracking-domain |
171
177
  | **urls.check_tracking_domain** | /urls/check-tracking-domain |
178
+ | **urls.delete_tracking_domain** | /urls/delete-tracking-domain |
172
179
  | **urls.list** | /urls/list |
173
180
  | **urls.search** | /urls/search |
174
181
  | **urls.time_series** | /urls/time-series |
@@ -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.2.0
6
+ OpenAPI spec version: 1.3.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.2.0
6
+ OpenAPI spec version: 1.3.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.2.0
6
+ OpenAPI spec version: 1.3.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.2.0
6
+ OpenAPI spec version: 1.3.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
@@ -0,0 +1,63 @@
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.0
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 MctemplatesApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+
23
+ # Get Mailchimp Template info
24
+ # Get information about a Mailchimp Transactional template in your account.
25
+ # @param body
26
+ # @param [Hash] opts the optional parameters
27
+ # @return [Array<(InlineResponse20029, Fixnum, Hash)>] InlineResponse20029 data, response status code and response headers
28
+ def mc_templates_info(body = {})
29
+ data = @api_client.call_api(:POST, '/mctemplates/info', body)
30
+ data
31
+ end
32
+
33
+ # List Mailchimp Transactional Templates
34
+ # Return a list of all Mailchimp Transactional templates available to this user.
35
+ # @param body
36
+ # @param [Hash] opts the optional parameters
37
+ # @return [Array<(Array<InlineResponse20029>, Fixnum, Hash)>] Array<InlineResponse20029> data, response status code and response headers
38
+ def mc_templates_list(body = {})
39
+ data = @api_client.call_api(:POST, '/mctemplates/list', body)
40
+ data
41
+ end
42
+
43
+ # Render Mailchimp Transactional Template
44
+ # Render a Mailchimp Transactional template with optional merge variables.
45
+ # @param body
46
+ # @param [Hash] opts the optional parameters
47
+ # @return [Array<(InlineResponse20030, Fixnum, Hash)>] InlineResponse20030 data, response status code and response headers
48
+ def mc_templates_render(body = {})
49
+ data = @api_client.call_api(:POST, '/mctemplates/render', body)
50
+ data
51
+ end
52
+
53
+ # Get Mailchimp Transactional Template Time Series
54
+ # Return the recent history (hourly stats for the last 30 days) for a Mailchimp Transactional template. Returns an empty array if the template exists but has never been used to send messages.
55
+ # @param body
56
+ # @param [Hash] opts the optional parameters
57
+ # @return [Array<(Array<InlineResponse20031>, Fixnum, Hash)>] Array<InlineResponse20031> data, response status code and response headers
58
+ def mc_templates_time_series(body = {})
59
+ data = @api_client.call_api(:POST, '/mctemplates/time-series', body)
60
+ data
61
+ end
62
+ end
63
+ 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.2.0
6
+ OpenAPI spec version: 1.3.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
  # Cancels a scheduled email.
25
25
  # @param body
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Array<(Array<InlineResponse20037>, Fixnum, Hash)>] Array<InlineResponse20037> data, response status code and response headers
27
+ # @return [Array<(Array<InlineResponse20040>, Fixnum, Hash)>] Array<InlineResponse20040> 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<(InlineResponse20035, Fixnum, Hash)>] InlineResponse20035 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20038, Fixnum, Hash)>] InlineResponse20038 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<(InlineResponse20034, Fixnum, Hash)>] InlineResponse20034 data, response status code and response headers
47
+ # @return [Array<(InlineResponse20037, Fixnum, Hash)>] InlineResponse20037 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<InlineResponse20037>, Fixnum, Hash)>] Array<InlineResponse20037> data, response status code and response headers
57
+ # @return [Array<(Array<InlineResponse20040>, Fixnum, Hash)>] Array<InlineResponse20040> 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<(InlineResponse20036, Fixnum, Hash)>] InlineResponse20036 data, response status code and response headers
67
+ # @return [Array<(InlineResponse20039, Fixnum, Hash)>] InlineResponse20039 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<InlineResponse20037>, Fixnum, Hash)>] Array<InlineResponse20037> data, response status code and response headers
77
+ # @return [Array<(Array<InlineResponse20040>, Fixnum, Hash)>] Array<InlineResponse20040> 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<InlineResponse20032>, Fixnum, Hash)>] Array<InlineResponse20032> data, response status code and response headers
87
+ # @return [Array<(Array<InlineResponse20035>, Fixnum, Hash)>] Array<InlineResponse20035> 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<InlineResponse20033>, Fixnum, Hash)>] Array<InlineResponse20033> data, response status code and response headers
97
+ # @return [Array<(Array<InlineResponse20036>, Fixnum, Hash)>] Array<InlineResponse20036> 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,17 +104,27 @@ 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<InlineResponse20030>, Fixnum, Hash)>] Array<InlineResponse20030> data, response status code and response headers
107
+ # @return [Array<(Array<InlineResponse20033>, Fixnum, Hash)>] Array<InlineResponse20033> 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
111
111
  end
112
112
 
113
+ # Send using Mailchimp template
114
+ # Send a new transactional message through Mandrill using a Mailchimp Transactional template.
115
+ # @param body
116
+ # @param [Hash] opts the optional parameters
117
+ # @return [Array<(Array<InlineResponse20034>, Fixnum, Hash)>] Array<InlineResponse20034> data, response status code and response headers
118
+ def send_mc_template(body = {})
119
+ data = @api_client.call_api(:POST, '/messages/send-mc-template', body)
120
+ data
121
+ end
122
+
113
123
  # Send mime document
114
124
  # Take a raw MIME document for a message, and send it exactly as if it were sent through the Transactional API&#39;s SMTP servers.
115
125
  # @param body
116
126
  # @param [Hash] opts the optional parameters
117
- # @return [Array<(Array<InlineResponse20030>, Fixnum, Hash)>] Array<InlineResponse20030> data, response status code and response headers
127
+ # @return [Array<(Array<InlineResponse20033>, Fixnum, Hash)>] Array<InlineResponse20033> data, response status code and response headers
118
128
  def send_raw(body = {})
119
129
  data = @api_client.call_api(:POST, '/messages/send-raw', body)
120
130
  data
@@ -124,7 +134,7 @@ module MailchimpTransactional
124
134
  # Send a new SMS message through Mandrill
125
135
  # @param body
126
136
  # @param [Hash] opts the optional parameters
127
- # @return [Array<(Array<InlineResponse20029>, Fixnum, Hash)>] Array<InlineResponse20029> data, response status code and response headers
137
+ # @return [Array<(Array<InlineResponse20032>, Fixnum, Hash)>] Array<InlineResponse20032> data, response status code and response headers
128
138
  def send_sms(body = {})
129
139
  data = @api_client.call_api(:POST, '/messages/send-sms', body)
130
140
  data
@@ -134,7 +144,7 @@ module MailchimpTransactional
134
144
  # Send a new transactional message through the Transactional API using a template.
135
145
  # @param body
136
146
  # @param [Hash] opts the optional parameters
137
- # @return [Array<(Array<InlineResponse20031>, Fixnum, Hash)>] Array<InlineResponse20031> data, response status code and response headers
147
+ # @return [Array<(Array<InlineResponse20034>, Fixnum, Hash)>] Array<InlineResponse20034> data, response status code and response headers
138
148
  def send_template(body = {})
139
149
  data = @api_client.call_api(:POST, '/messages/send-template', body)
140
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.2.0
6
+ OpenAPI spec version: 1.3.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 custom metadata field to be indexed for the account.
25
25
  # @param body
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Array<(InlineResponse20039, Fixnum, Hash)>] InlineResponse20039 data, response status code and response headers
27
+ # @return [Array<(InlineResponse20042, Fixnum, Hash)>] InlineResponse20042 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<(InlineResponse20041, Fixnum, Hash)>] InlineResponse20041 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20044, Fixnum, Hash)>] InlineResponse20044 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<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, '/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<(InlineResponse20040, Fixnum, Hash)>] InlineResponse20040 data, response status code and response headers
57
+ # @return [Array<(InlineResponse20043, Fixnum, Hash)>] InlineResponse20043 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.2.0
6
+ OpenAPI spec version: 1.3.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
  # 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<(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(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<(InlineResponse20044, Fixnum, Hash)>] InlineResponse20044 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20047, Fixnum, Hash)>] InlineResponse20047 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<InlineResponse20043>, Fixnum, Hash)>] Array<InlineResponse20043> data, response status code and response headers
47
+ # @return [Array<(Array<InlineResponse20046>, Fixnum, Hash)>] Array<InlineResponse20046> 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.2.0
6
+ OpenAPI spec version: 1.3.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
  # 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<(InlineResponse20047, Fixnum, Hash)>] InlineResponse20047 data, response status code and response headers
27
+ # @return [Array<(InlineResponse20050, Fixnum, Hash)>] InlineResponse20050 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
@@ -34,17 +34,27 @@ module MailchimpTransactional
34
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<(InlineResponse20048, Fixnum, Hash)>] InlineResponse20048 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20052, Fixnum, Hash)>] InlineResponse20052 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
41
41
  end
42
42
 
43
+ # Delete sender domain
44
+ # Deletes an unverified sender domain from your account. Verified domains cannot be deleted via API and require login confirmation.
45
+ # @param body
46
+ # @param [Hash] opts the optional parameters
47
+ # @return [Array<(InlineResponse20051, Fixnum, Hash)>] InlineResponse20051 data, response status code and response headers
48
+ def delete_domain(body = {})
49
+ data = @api_client.call_api(:POST, '/senders/delete-domain', body)
50
+ data
51
+ end
52
+
43
53
  # List sender domains
44
54
  # Returns the sender domains that have been added to this account.
45
55
  # @param body
46
56
  # @param [Hash] opts the optional parameters
47
- # @return [Array<(Array<InlineResponse20046>, Fixnum, Hash)>] Array<InlineResponse20046> data, response status code and response headers
57
+ # @return [Array<(Array<InlineResponse20049>, Fixnum, Hash)>] Array<InlineResponse20049> data, response status code and response headers
48
58
  def domains(body = {})
49
59
  data = @api_client.call_api(:POST, '/senders/domains', body)
50
60
  data
@@ -54,7 +64,7 @@ module MailchimpTransactional
54
64
  # Return more detailed information about a single sender, including aggregates of recent stats.
55
65
  # @param body
56
66
  # @param [Hash] opts the optional parameters
57
- # @return [Array<(InlineResponse20050, Fixnum, Hash)>] InlineResponse20050 data, response status code and response headers
67
+ # @return [Array<(InlineResponse20054, Fixnum, Hash)>] InlineResponse20054 data, response status code and response headers
58
68
  def info(body = {})
59
69
  data = @api_client.call_api(:POST, '/senders/info', body)
60
70
  data
@@ -64,7 +74,7 @@ module MailchimpTransactional
64
74
  # Return the senders that have tried to use this account.
65
75
  # @param body
66
76
  # @param [Hash] opts the optional parameters
67
- # @return [Array<(Array<InlineResponse20045>, Fixnum, Hash)>] Array<InlineResponse20045> data, response status code and response headers
77
+ # @return [Array<(Array<InlineResponse20048>, Fixnum, Hash)>] Array<InlineResponse20048> data, response status code and response headers
68
78
  def list(body = {})
69
79
  data = @api_client.call_api(:POST, '/senders/list', body)
70
80
  data
@@ -74,7 +84,7 @@ module MailchimpTransactional
74
84
  # Return the recent history (hourly stats for the last 30 days) for a sender.
75
85
  # @param body
76
86
  # @param [Hash] opts the optional parameters
77
- # @return [Array<(Array<InlineResponse20051>, Fixnum, Hash)>] Array<InlineResponse20051> data, response status code and response headers
87
+ # @return [Array<(Array<InlineResponse20055>, Fixnum, Hash)>] Array<InlineResponse20055> data, response status code and response headers
78
88
  def time_series(body = {})
79
89
  data = @api_client.call_api(:POST, '/senders/time-series', body)
80
90
  data
@@ -84,7 +94,7 @@ module MailchimpTransactional
84
94
  # 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
95
  # @param body
86
96
  # @param [Hash] opts the optional parameters
87
- # @return [Array<(InlineResponse20049, Fixnum, Hash)>] InlineResponse20049 data, response status code and response headers
97
+ # @return [Array<(InlineResponse20053, Fixnum, Hash)>] InlineResponse20053 data, response status code and response headers
88
98
  def verify_domain(body = {})
89
99
  data = @api_client.call_api(:POST, '/senders/verify-domain', body)
90
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.2.0
6
+ OpenAPI spec version: 1.3.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 subaccount.
25
25
  # @param body
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Array<(InlineResponse20053, Fixnum, Hash)>] InlineResponse20053 data, response status code and response headers
27
+ # @return [Array<(InlineResponse20057, Fixnum, Hash)>] InlineResponse20057 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<(InlineResponse20056, Fixnum, Hash)>] InlineResponse20056 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20060, Fixnum, Hash)>] InlineResponse20060 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<(InlineResponse20054, Fixnum, Hash)>] InlineResponse20054 data, response status code and response headers
47
+ # @return [Array<(InlineResponse20058, Fixnum, Hash)>] InlineResponse20058 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<InlineResponse20052>, Fixnum, Hash)>] Array<InlineResponse20052> data, response status code and response headers
57
+ # @return [Array<(Array<InlineResponse20056>, Fixnum, Hash)>] Array<InlineResponse20056> 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<(InlineResponse20057, Fixnum, Hash)>] InlineResponse20057 data, response status code and response headers
67
+ # @return [Array<(InlineResponse20061, Fixnum, Hash)>] InlineResponse20061 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<(InlineResponse20058, Fixnum, Hash)>] InlineResponse20058 data, response status code and response headers
77
+ # @return [Array<(InlineResponse20062, Fixnum, Hash)>] InlineResponse20062 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<(InlineResponse20055, Fixnum, Hash)>] InlineResponse20055 data, response status code and response headers
87
+ # @return [Array<(InlineResponse20059, Fixnum, Hash)>] InlineResponse20059 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.2.0
6
+ OpenAPI spec version: 1.3.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 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<InlineResponse20063>, Fixnum, Hash)>] Array<InlineResponse20063> data, response status code and response headers
27
+ # @return [Array<(Array<InlineResponse20067>, Fixnum, Hash)>] Array<InlineResponse20067> 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<(InlineResponse20060, Fixnum, Hash)>] InlineResponse20060 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, '/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<(InlineResponse20061, Fixnum, Hash)>] InlineResponse20061 data, response status code and response headers
47
+ # @return [Array<(InlineResponse20065, Fixnum, Hash)>] InlineResponse20065 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<InlineResponse20059>, Fixnum, Hash)>] Array<InlineResponse20059> data, response status code and response headers
57
+ # @return [Array<(Array<InlineResponse20063>, Fixnum, Hash)>] Array<InlineResponse20063> 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<InlineResponse20062>, Fixnum, Hash)>] Array<InlineResponse20062> data, response status code and response headers
67
+ # @return [Array<(Array<InlineResponse20066>, Fixnum, Hash)>] Array<InlineResponse20066> 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.2.0
6
+ OpenAPI spec version: 1.3.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 template.
25
25
  # @param body
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Array<(InlineResponse20064, Fixnum, Hash)>] InlineResponse20064 data, response status code and response headers
27
+ # @return [Array<(InlineResponse20068, Fixnum, Hash)>] InlineResponse20068 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<(InlineResponse20068, Fixnum, Hash)>] InlineResponse20068 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20072, Fixnum, Hash)>] InlineResponse20072 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<(InlineResponse20065, Fixnum, Hash)>] InlineResponse20065 data, response status code and response headers
47
+ # @return [Array<(InlineResponse20069, Fixnum, Hash)>] InlineResponse20069 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<InlineResponse20069>, Fixnum, Hash)>] Array<InlineResponse20069> data, response status code and response headers
57
+ # @return [Array<(Array<InlineResponse20073>, Fixnum, Hash)>] Array<InlineResponse20073> 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<(InlineResponse20067, Fixnum, Hash)>] InlineResponse20067 data, response status code and response headers
67
+ # @return [Array<(InlineResponse20071, Fixnum, Hash)>] InlineResponse20071 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<(InlineResponse20071, Fixnum, Hash)>] InlineResponse20071 data, response status code and response headers
77
+ # @return [Array<(InlineResponse20075, Fixnum, Hash)>] InlineResponse20075 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<InlineResponse20070>, Fixnum, Hash)>] Array<InlineResponse20070> data, response status code and response headers
87
+ # @return [Array<(Array<InlineResponse20074>, Fixnum, Hash)>] Array<InlineResponse20074> 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<(InlineResponse20066, Fixnum, Hash)>] InlineResponse20066 data, response status code and response headers
97
+ # @return [Array<(InlineResponse20070, Fixnum, Hash)>] InlineResponse20070 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.2.0
6
+ OpenAPI spec version: 1.3.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<(InlineResponse20076, Fixnum, Hash)>] InlineResponse20076 data, response status code and response headers
27
+ # @return [Array<(InlineResponse20080, Fixnum, Hash)>] InlineResponse20080 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,17 +34,27 @@ 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<(InlineResponse20077, Fixnum, Hash)>] InlineResponse20077 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20082, Fixnum, Hash)>] InlineResponse20082 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
41
41
  end
42
42
 
43
+ # Delete tracking domain
44
+ # Deletes an unverified tracking domain from your account. Valid tracking domains cannot be deleted via API and require login confirmation.
45
+ # @param body
46
+ # @param [Hash] opts the optional parameters
47
+ # @return [Array<(InlineResponse20081, Fixnum, Hash)>] InlineResponse20081 data, response status code and response headers
48
+ def delete_tracking_domain(body = {})
49
+ data = @api_client.call_api(:POST, '/urls/delete-tracking-domain', body)
50
+ data
51
+ end
52
+
43
53
  # List most clicked urls
44
54
  # Get the 100 most clicked URLs.
45
55
  # @param body
46
56
  # @param [Hash] opts the optional parameters
47
- # @return [Array<(Array<InlineResponse20072>, Fixnum, Hash)>] Array<InlineResponse20072> data, response status code and response headers
57
+ # @return [Array<(Array<InlineResponse20076>, Fixnum, Hash)>] Array<InlineResponse20076> data, response status code and response headers
48
58
  def list(body = {})
49
59
  data = @api_client.call_api(:POST, '/urls/list', body)
50
60
  data
@@ -54,7 +64,7 @@ module MailchimpTransactional
54
64
  # Return the 100 most clicked URLs that match the search query given.
55
65
  # @param body
56
66
  # @param [Hash] opts the optional parameters
57
- # @return [Array<(Array<InlineResponse20073>, Fixnum, Hash)>] Array<InlineResponse20073> data, response status code and response headers
67
+ # @return [Array<(Array<InlineResponse20077>, Fixnum, Hash)>] Array<InlineResponse20077> data, response status code and response headers
58
68
  def search(body = {})
59
69
  data = @api_client.call_api(:POST, '/urls/search', body)
60
70
  data
@@ -64,7 +74,7 @@ module MailchimpTransactional
64
74
  # Return the recent history (hourly stats for the last 30 days) for a URL
65
75
  # @param body
66
76
  # @param [Hash] opts the optional parameters
67
- # @return [Array<(Array<InlineResponse20074>, Fixnum, Hash)>] Array<InlineResponse20074> data, response status code and response headers
77
+ # @return [Array<(Array<InlineResponse20078>, Fixnum, Hash)>] Array<InlineResponse20078> data, response status code and response headers
68
78
  def time_series(body = {})
69
79
  data = @api_client.call_api(:POST, '/urls/time-series', body)
70
80
  data
@@ -74,7 +84,7 @@ module MailchimpTransactional
74
84
  # Get the list of tracking domains set up for this account.
75
85
  # @param body
76
86
  # @param [Hash] opts the optional parameters
77
- # @return [Array<(Array<InlineResponse20075>, Fixnum, Hash)>] Array<InlineResponse20075> data, response status code and response headers
87
+ # @return [Array<(Array<InlineResponse20079>, Fixnum, Hash)>] Array<InlineResponse20079> data, response status code and response headers
78
88
  def tracking_domains(body = {})
79
89
  data = @api_client.call_api(:POST, '/urls/tracking-domains', body)
80
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.2.0
6
+ OpenAPI spec version: 1.3.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<(InlineResponse20078, Fixnum, Hash)>] InlineResponse20078 data, response status code and response headers
27
+ # @return [Array<(InlineResponse20083, Fixnum, Hash)>] InlineResponse20083 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<(InlineResponse20079, Fixnum, Hash)>] InlineResponse20079 data, response status code and response headers
47
+ # @return [Array<(InlineResponse20084, Fixnum, Hash)>] InlineResponse20084 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<InlineResponse20080>, Fixnum, Hash)>] Array<InlineResponse20080> data, response status code and response headers
57
+ # @return [Array<(Array<InlineResponse20085>, Fixnum, Hash)>] Array<InlineResponse20085> 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.2.0
6
+ OpenAPI spec version: 1.3.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<(InlineResponse20082, Fixnum, Hash)>] InlineResponse20082 data, response status code and response headers
27
+ # @return [Array<(InlineResponse20087, Fixnum, Hash)>] InlineResponse20087 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<(InlineResponse20085, Fixnum, Hash)>] InlineResponse20085 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20090, Fixnum, Hash)>] InlineResponse20090 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<(InlineResponse20083, Fixnum, Hash)>] InlineResponse20083 data, response status code and response headers
47
+ # @return [Array<(InlineResponse20088, Fixnum, Hash)>] InlineResponse20088 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<InlineResponse20081>, Fixnum, Hash)>] Array<InlineResponse20081> data, response status code and response headers
57
+ # @return [Array<(Array<InlineResponse20086>, Fixnum, Hash)>] Array<InlineResponse20086> 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<(InlineResponse20084, Fixnum, Hash)>] InlineResponse20084 data, response status code and response headers
67
+ # @return [Array<(InlineResponse20089, Fixnum, Hash)>] InlineResponse20089 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.2.0
6
+ OpenAPI spec version: 1.3.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
@@ -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<(InlineResponse20087, Fixnum, Hash)>] InlineResponse20087 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20092, Fixnum, Hash)>] InlineResponse20092 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<InlineResponse20086>, Fixnum, Hash)>] Array<InlineResponse20086> data, response status code and response headers
47
+ # @return [Array<(Array<InlineResponse20091>, Fixnum, Hash)>] Array<InlineResponse20091> 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.2.0
6
+ OpenAPI spec version: 1.3.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
@@ -16,7 +16,7 @@ require 'excon'
16
16
  module MailchimpTransactional
17
17
  class ApiClient
18
18
  def initialize(api_key = '')
19
- @host = "https://mandrillapp.com/api/1.0"
19
+ @host = "https://mandrillapp.com/api/1.3"
20
20
  @format_list = ['json', 'xml', 'php', 'yaml']
21
21
  @default_output_format = 'json'
22
22
  @accepts = ['application/json', 'application/xml', 'application/x-php', 'application/x-yaml; charset=utf-8']
@@ -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.2.0
6
+ OpenAPI spec version: 1.3.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.2.0
6
+ OpenAPI spec version: 1.3.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
@@ -130,7 +130,7 @@ module MailchimpTransactional
130
130
  def initialize
131
131
  @scheme = 'https'
132
132
  @host = 'mandrillapp.com'
133
- @base_path = '/api/1.0'
133
+ @base_path = '/api/1.3'
134
134
  @api_key = {}
135
135
  @api_key_prefix = {}
136
136
  @timeout = 0
@@ -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.2.0
6
+ OpenAPI spec version: 1.3.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.2.0'
14
+ VERSION = '1.3.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.2.0
6
+ OpenAPI spec version: 1.3.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
@@ -20,6 +20,7 @@ require 'MailchimpTransactional/api/allowlists_api'
20
20
  require 'MailchimpTransactional/api/exports_api'
21
21
  require 'MailchimpTransactional/api/inbound_api'
22
22
  require 'MailchimpTransactional/api/ips_api'
23
+ require 'MailchimpTransactional/api/mctemplates_api'
23
24
  require 'MailchimpTransactional/api/messages_api'
24
25
  require 'MailchimpTransactional/api/metadata_api'
25
26
  require 'MailchimpTransactional/api/rejects_api'
@@ -46,6 +47,7 @@ module MailchimpTransactional
46
47
  @Exports = ExportsApi.new(@api_client)
47
48
  @Inbound = InboundApi.new(@api_client)
48
49
  @Ips = IpsApi.new(@api_client)
50
+ @Mctemplates = MctemplatesApi.new(@api_client)
49
51
  @Messages = MessagesApi.new(@api_client)
50
52
  @Metadata = MetadataApi.new(@api_client)
51
53
  @Rejects = RejectsApi.new(@api_client)
@@ -79,6 +81,9 @@ module MailchimpTransactional
79
81
  def ips
80
82
  @Ips
81
83
  end
84
+ def mctemplates
85
+ @Mctemplates
86
+ end
82
87
  def messages
83
88
  @Messages
84
89
  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.2.0
4
+ version: 1.3.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-01-09 00:00:00.000000000 Z
11
+ date: 2026-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon
@@ -207,6 +207,7 @@ files:
207
207
  - lib/MailchimpTransactional/api/exports_api.rb
208
208
  - lib/MailchimpTransactional/api/inbound_api.rb
209
209
  - lib/MailchimpTransactional/api/ips_api.rb
210
+ - lib/MailchimpTransactional/api/mctemplates_api.rb
210
211
  - lib/MailchimpTransactional/api/messages_api.rb
211
212
  - lib/MailchimpTransactional/api/metadata_api.rb
212
213
  - lib/MailchimpTransactional/api/rejects_api.rb