mailchimp-transactional 1.1.3__py3-none-any.whl → 1.3.0__py3-none-any.whl

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.
@@ -7,7 +7,7 @@
7
7
 
8
8
  No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
9
9
 
10
- OpenAPI spec version: 1.1.3
10
+ OpenAPI spec version: 1.3.0
11
11
  Contact: apihelp@mailchimp.com
12
12
  Generated by: https://github.com/swagger-api/swagger-codegen.git
13
13
  """
@@ -20,6 +20,7 @@ from mailchimp_transactional.api.allowlists_api import AllowlistsApi
20
20
  from mailchimp_transactional.api.exports_api import ExportsApi
21
21
  from mailchimp_transactional.api.inbound_api import InboundApi
22
22
  from mailchimp_transactional.api.ips_api import IpsApi
23
+ from mailchimp_transactional.api.mctemplates_api import MctemplatesApi
23
24
  from mailchimp_transactional.api.messages_api import MessagesApi
24
25
  from mailchimp_transactional.api.metadata_api import MetadataApi
25
26
  from mailchimp_transactional.api.rejects_api import RejectsApi
@@ -44,6 +45,7 @@ class Client(object):
44
45
  self.exports = ExportsApi(self.api_key, self.api_client)
45
46
  self.inbound = InboundApi(self.api_key, self.api_client)
46
47
  self.ips = IpsApi(self.api_key, self.api_client)
48
+ self.mctemplates = MctemplatesApi(self.api_key, self.api_client)
47
49
  self.messages = MessagesApi(self.api_key, self.api_client)
48
50
  self.metadata = MetadataApi(self.api_key, self.api_client)
49
51
  self.rejects = RejectsApi(self.api_key, self.api_client)
@@ -63,6 +65,7 @@ class Client(object):
63
65
  self.exports = ExportsApi(self.api_key, self.api_client)
64
66
  self.inbound = InboundApi(self.api_key, self.api_client)
65
67
  self.ips = IpsApi(self.api_key, self.api_client)
68
+ self.mctemplates = MctemplatesApi(self.api_key, self.api_client)
66
69
  self.messages = MessagesApi(self.api_key, self.api_client)
67
70
  self.metadata = MetadataApi(self.api_key, self.api_client)
68
71
  self.rejects = RejectsApi(self.api_key, self.api_client)
@@ -7,6 +7,7 @@ from mailchimp_transactional.api.allowlists_api import AllowlistsApi
7
7
  from mailchimp_transactional.api.exports_api import ExportsApi
8
8
  from mailchimp_transactional.api.inbound_api import InboundApi
9
9
  from mailchimp_transactional.api.ips_api import IpsApi
10
+ from mailchimp_transactional.api.mctemplates_api import MctemplatesApi
10
11
  from mailchimp_transactional.api.messages_api import MessagesApi
11
12
  from mailchimp_transactional.api.metadata_api import MetadataApi
12
13
  from mailchimp_transactional.api.rejects_api import RejectsApi
@@ -5,7 +5,7 @@
5
5
 
6
6
  No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
7
 
8
- OpenAPI spec version: 1.1.3
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
  """
@@ -5,7 +5,7 @@
5
5
 
6
6
  No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
7
 
8
- OpenAPI spec version: 1.1.3
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
  """
@@ -5,7 +5,7 @@
5
5
 
6
6
  No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
7
 
8
- OpenAPI spec version: 1.1.3
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
  """
@@ -73,17 +73,17 @@ class InboundApi(object):
73
73
  response_type='InlineResponse2009') # noqa: E501
74
74
 
75
75
  def add_route(self, body = {}, **kwargs): # noqa: E501
76
- """Add mailbox route # noqa: E501
76
+ """Add route # noqa: E501
77
77
 
78
- Add a new mailbox route to an inbound domain. # noqa: E501
78
+ Add a new route to an inbound domain or SMS program. Provide either domain or phone (not both). # noqa: E501
79
79
  """
80
80
  (data) = self.add_route_with_http_info(body, **kwargs) # noqa: E501
81
81
  return data
82
82
 
83
83
  def add_route_with_http_info(self, body, **kwargs): # noqa: E501
84
- """Add mailbox route # noqa: E501
84
+ """Add route # noqa: E501
85
85
 
86
- Add a new mailbox route to an inbound domain. # noqa: E501
86
+ Add a new route to an inbound domain or SMS program. Provide either domain or phone (not both). # noqa: E501
87
87
  """
88
88
 
89
89
  all_params = ['body'] # noqa: E501
@@ -263,17 +263,17 @@ class InboundApi(object):
263
263
  response_type='list[InlineResponse2008]') # noqa: E501
264
264
 
265
265
  def routes(self, body = {}, **kwargs): # noqa: E501
266
- """List mailbox routes # noqa: E501
266
+ """List routes # noqa: E501
267
267
 
268
- List the mailbox routes defined for an inbound domain. # noqa: E501
268
+ List the routes defined for an inbound domain or SMS program. Provide either domain or phone (not both). # noqa: E501
269
269
  """
270
270
  (data) = self.routes_with_http_info(body, **kwargs) # noqa: E501
271
271
  return data
272
272
 
273
273
  def routes_with_http_info(self, body, **kwargs): # noqa: E501
274
- """List mailbox routes # noqa: E501
274
+ """List routes # noqa: E501
275
275
 
276
- List the mailbox routes defined for an inbound domain. # noqa: E501
276
+ List the routes defined for an inbound domain or SMS program. Provide either domain or phone (not both). # noqa: E501
277
277
  """
278
278
 
279
279
  all_params = ['body'] # noqa: E501
@@ -5,7 +5,7 @@
5
5
 
6
6
  No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
7
 
8
- OpenAPI spec version: 1.1.3
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
  """
@@ -0,0 +1,187 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Mailchimp Transactional API
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: 1.3.0
9
+ Contact: apihelp@mailchimp.com
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+
14
+ from __future__ import absolute_import
15
+
16
+ import re # noqa: F401
17
+
18
+ # python 2 and python 3 compatibility library
19
+ import six
20
+
21
+ from mailchimp_transactional.api_client import ApiClient
22
+
23
+ class MctemplatesApi(object):
24
+ """NOTE: This class is auto generated by the swagger code generator program.
25
+
26
+ Do not edit the class manually.
27
+ Ref: https://github.com/swagger-api/swagger-codegen
28
+ """
29
+
30
+ def __init__(self, api_key='', api_client = None):
31
+ self.api_key = api_key
32
+ if api_client:
33
+ self.api_client = api_client
34
+ else:
35
+ self.api_client = ApiClient()
36
+
37
+ def mc_templates_info(self, body = {}, **kwargs): # noqa: E501
38
+ """Get Mailchimp Template info # noqa: E501
39
+
40
+ Get information about a Mailchimp Transactional template in your account. # noqa: E501
41
+ """
42
+ (data) = self.mc_templates_info_with_http_info(body, **kwargs) # noqa: E501
43
+ return data
44
+
45
+ def mc_templates_info_with_http_info(self, body, **kwargs): # noqa: E501
46
+ """Get Mailchimp Template info # noqa: E501
47
+
48
+ Get information about a Mailchimp Transactional template in your account. # noqa: E501
49
+ """
50
+
51
+ all_params = ['body'] # noqa: E501
52
+
53
+ params = locals()
54
+ for key, val in six.iteritems(params['kwargs']):
55
+ if key not in all_params:
56
+ raise TypeError(
57
+ "Got an unexpected keyword argument '%s'"
58
+ " to method mc_templates_info" % key
59
+ )
60
+ params[key] = val
61
+ del params['kwargs']
62
+
63
+ # add api_key to body params
64
+ params['body']['key'] = self.api_key
65
+
66
+ body_params = None
67
+ if 'body' in params:
68
+ body_params = params['body']
69
+
70
+ return self.api_client.call_api(
71
+ '/mctemplates/info', 'POST',
72
+ body=body_params,
73
+ response_type='InlineResponse20029') # noqa: E501
74
+
75
+ def mc_templates_list(self, body = {}, **kwargs): # noqa: E501
76
+ """List Mailchimp Transactional Templates # noqa: E501
77
+
78
+ Return a list of all Mailchimp Transactional templates available to this user. # noqa: E501
79
+ """
80
+ (data) = self.mc_templates_list_with_http_info(body, **kwargs) # noqa: E501
81
+ return data
82
+
83
+ def mc_templates_list_with_http_info(self, body, **kwargs): # noqa: E501
84
+ """List Mailchimp Transactional Templates # noqa: E501
85
+
86
+ Return a list of all Mailchimp Transactional templates available to this user. # noqa: E501
87
+ """
88
+
89
+ all_params = ['body'] # noqa: E501
90
+
91
+ params = locals()
92
+ for key, val in six.iteritems(params['kwargs']):
93
+ if key not in all_params:
94
+ raise TypeError(
95
+ "Got an unexpected keyword argument '%s'"
96
+ " to method mc_templates_list" % key
97
+ )
98
+ params[key] = val
99
+ del params['kwargs']
100
+
101
+ # add api_key to body params
102
+ params['body']['key'] = self.api_key
103
+
104
+ body_params = None
105
+ if 'body' in params:
106
+ body_params = params['body']
107
+
108
+ return self.api_client.call_api(
109
+ '/mctemplates/list', 'POST',
110
+ body=body_params,
111
+ response_type='list[InlineResponse20029]') # noqa: E501
112
+
113
+ def mc_templates_render(self, body = {}, **kwargs): # noqa: E501
114
+ """Render Mailchimp Transactional Template # noqa: E501
115
+
116
+ Render a Mailchimp Transactional template with optional merge variables. # noqa: E501
117
+ """
118
+ (data) = self.mc_templates_render_with_http_info(body, **kwargs) # noqa: E501
119
+ return data
120
+
121
+ def mc_templates_render_with_http_info(self, body, **kwargs): # noqa: E501
122
+ """Render Mailchimp Transactional Template # noqa: E501
123
+
124
+ Render a Mailchimp Transactional template with optional merge variables. # noqa: E501
125
+ """
126
+
127
+ all_params = ['body'] # noqa: E501
128
+
129
+ params = locals()
130
+ for key, val in six.iteritems(params['kwargs']):
131
+ if key not in all_params:
132
+ raise TypeError(
133
+ "Got an unexpected keyword argument '%s'"
134
+ " to method mc_templates_render" % key
135
+ )
136
+ params[key] = val
137
+ del params['kwargs']
138
+
139
+ # add api_key to body params
140
+ params['body']['key'] = self.api_key
141
+
142
+ body_params = None
143
+ if 'body' in params:
144
+ body_params = params['body']
145
+
146
+ return self.api_client.call_api(
147
+ '/mctemplates/render', 'POST',
148
+ body=body_params,
149
+ response_type='InlineResponse20030') # noqa: E501
150
+
151
+ def mc_templates_time_series(self, body = {}, **kwargs): # noqa: E501
152
+ """Get Mailchimp Transactional Template Time Series # noqa: E501
153
+
154
+ 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. # noqa: E501
155
+ """
156
+ (data) = self.mc_templates_time_series_with_http_info(body, **kwargs) # noqa: E501
157
+ return data
158
+
159
+ def mc_templates_time_series_with_http_info(self, body, **kwargs): # noqa: E501
160
+ """Get Mailchimp Transactional Template Time Series # noqa: E501
161
+
162
+ 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. # noqa: E501
163
+ """
164
+
165
+ all_params = ['body'] # noqa: E501
166
+
167
+ params = locals()
168
+ for key, val in six.iteritems(params['kwargs']):
169
+ if key not in all_params:
170
+ raise TypeError(
171
+ "Got an unexpected keyword argument '%s'"
172
+ " to method mc_templates_time_series" % key
173
+ )
174
+ params[key] = val
175
+ del params['kwargs']
176
+
177
+ # add api_key to body params
178
+ params['body']['key'] = self.api_key
179
+
180
+ body_params = None
181
+ if 'body' in params:
182
+ body_params = params['body']
183
+
184
+ return self.api_client.call_api(
185
+ '/mctemplates/time-series', 'POST',
186
+ body=body_params,
187
+ response_type='list[InlineResponse20031]') # noqa: E501
@@ -5,7 +5,7 @@
5
5
 
6
6
  No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
7
 
8
- OpenAPI spec version: 1.1.3
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
  """
@@ -70,7 +70,7 @@ class MessagesApi(object):
70
70
  return self.api_client.call_api(
71
71
  '/messages/cancel-scheduled', 'POST',
72
72
  body=body_params,
73
- response_type='list[InlineResponse20037]') # noqa: E501
73
+ response_type='list[InlineResponse20040]') # noqa: E501
74
74
 
75
75
  def content(self, body = {}, **kwargs): # noqa: E501
76
76
  """Get message content # noqa: E501
@@ -108,7 +108,7 @@ class MessagesApi(object):
108
108
  return self.api_client.call_api(
109
109
  '/messages/content', 'POST',
110
110
  body=body_params,
111
- response_type='InlineResponse20035') # noqa: E501
111
+ response_type='InlineResponse20038') # noqa: E501
112
112
 
113
113
  def info(self, body = {}, **kwargs): # noqa: E501
114
114
  """Get message info # noqa: E501
@@ -146,7 +146,7 @@ class MessagesApi(object):
146
146
  return self.api_client.call_api(
147
147
  '/messages/info', 'POST',
148
148
  body=body_params,
149
- response_type='InlineResponse20034') # noqa: E501
149
+ response_type='InlineResponse20037') # noqa: E501
150
150
 
151
151
  def list_scheduled(self, body = {}, **kwargs): # noqa: E501
152
152
  """List scheduled emails # noqa: E501
@@ -184,7 +184,7 @@ class MessagesApi(object):
184
184
  return self.api_client.call_api(
185
185
  '/messages/list-scheduled', 'POST',
186
186
  body=body_params,
187
- response_type='list[InlineResponse20037]') # noqa: E501
187
+ response_type='list[InlineResponse20040]') # noqa: E501
188
188
 
189
189
  def parse(self, body = {}, **kwargs): # noqa: E501
190
190
  """Parse mime document # noqa: E501
@@ -222,7 +222,7 @@ class MessagesApi(object):
222
222
  return self.api_client.call_api(
223
223
  '/messages/parse', 'POST',
224
224
  body=body_params,
225
- response_type='InlineResponse20036') # noqa: E501
225
+ response_type='InlineResponse20039') # noqa: E501
226
226
 
227
227
  def reschedule(self, body = {}, **kwargs): # noqa: E501
228
228
  """Reschedule email # noqa: E501
@@ -260,7 +260,7 @@ class MessagesApi(object):
260
260
  return self.api_client.call_api(
261
261
  '/messages/reschedule', 'POST',
262
262
  body=body_params,
263
- response_type='list[InlineResponse20037]') # noqa: E501
263
+ response_type='list[InlineResponse20040]') # noqa: E501
264
264
 
265
265
  def search(self, body = {}, **kwargs): # noqa: E501
266
266
  """Search messages by date # noqa: E501
@@ -298,7 +298,7 @@ class MessagesApi(object):
298
298
  return self.api_client.call_api(
299
299
  '/messages/search', 'POST',
300
300
  body=body_params,
301
- response_type='list[InlineResponse20032]') # noqa: E501
301
+ response_type='list[InlineResponse20035]') # noqa: E501
302
302
 
303
303
  def search_time_series(self, body = {}, **kwargs): # noqa: E501
304
304
  """Search messages by hour # noqa: E501
@@ -336,7 +336,7 @@ class MessagesApi(object):
336
336
  return self.api_client.call_api(
337
337
  '/messages/search-time-series', 'POST',
338
338
  body=body_params,
339
- response_type='list[InlineResponse20033]') # noqa: E501
339
+ response_type='list[InlineResponse20036]') # noqa: E501
340
340
 
341
341
  def send(self, body = {}, **kwargs): # noqa: E501
342
342
  """Send new message # noqa: E501
@@ -374,7 +374,45 @@ class MessagesApi(object):
374
374
  return self.api_client.call_api(
375
375
  '/messages/send', 'POST',
376
376
  body=body_params,
377
- response_type='list[InlineResponse20030]') # noqa: E501
377
+ response_type='list[InlineResponse20033]') # noqa: E501
378
+
379
+ def send_mc_template(self, body = {}, **kwargs): # noqa: E501
380
+ """Send using Mailchimp template # noqa: E501
381
+
382
+ Send a new transactional message through Mandrill using a Mailchimp Transactional template. # noqa: E501
383
+ """
384
+ (data) = self.send_mc_template_with_http_info(body, **kwargs) # noqa: E501
385
+ return data
386
+
387
+ def send_mc_template_with_http_info(self, body, **kwargs): # noqa: E501
388
+ """Send using Mailchimp template # noqa: E501
389
+
390
+ Send a new transactional message through Mandrill using a Mailchimp Transactional template. # noqa: E501
391
+ """
392
+
393
+ all_params = ['body'] # noqa: E501
394
+
395
+ params = locals()
396
+ for key, val in six.iteritems(params['kwargs']):
397
+ if key not in all_params:
398
+ raise TypeError(
399
+ "Got an unexpected keyword argument '%s'"
400
+ " to method send_mc_template" % key
401
+ )
402
+ params[key] = val
403
+ del params['kwargs']
404
+
405
+ # add api_key to body params
406
+ params['body']['key'] = self.api_key
407
+
408
+ body_params = None
409
+ if 'body' in params:
410
+ body_params = params['body']
411
+
412
+ return self.api_client.call_api(
413
+ '/messages/send-mc-template', 'POST',
414
+ body=body_params,
415
+ response_type='list[InlineResponse20034]') # noqa: E501
378
416
 
379
417
  def send_raw(self, body = {}, **kwargs): # noqa: E501
380
418
  """Send mime document # noqa: E501
@@ -412,7 +450,7 @@ class MessagesApi(object):
412
450
  return self.api_client.call_api(
413
451
  '/messages/send-raw', 'POST',
414
452
  body=body_params,
415
- response_type='list[InlineResponse20030]') # noqa: E501
453
+ response_type='list[InlineResponse20033]') # noqa: E501
416
454
 
417
455
  def send_sms(self, body = {}, **kwargs): # noqa: E501
418
456
  """Send SMS message # noqa: E501
@@ -450,7 +488,7 @@ class MessagesApi(object):
450
488
  return self.api_client.call_api(
451
489
  '/messages/send-sms', 'POST',
452
490
  body=body_params,
453
- response_type='list[InlineResponse20029]') # noqa: E501
491
+ response_type='list[InlineResponse20032]') # noqa: E501
454
492
 
455
493
  def send_template(self, body = {}, **kwargs): # noqa: E501
456
494
  """Send using message template # noqa: E501
@@ -488,4 +526,4 @@ class MessagesApi(object):
488
526
  return self.api_client.call_api(
489
527
  '/messages/send-template', 'POST',
490
528
  body=body_params,
491
- response_type='list[InlineResponse20031]') # noqa: E501
529
+ response_type='list[InlineResponse20034]') # noqa: E501
@@ -5,7 +5,7 @@
5
5
 
6
6
  No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
7
 
8
- OpenAPI spec version: 1.1.3
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
  """
@@ -70,7 +70,7 @@ class MetadataApi(object):
70
70
  return self.api_client.call_api(
71
71
  '/metadata/add', 'POST',
72
72
  body=body_params,
73
- response_type='InlineResponse20039') # noqa: E501
73
+ response_type='InlineResponse20042') # noqa: E501
74
74
 
75
75
  def delete(self, body = {}, **kwargs): # noqa: E501
76
76
  """Delete metadata field # noqa: E501
@@ -108,7 +108,7 @@ class MetadataApi(object):
108
108
  return self.api_client.call_api(
109
109
  '/metadata/delete', 'POST',
110
110
  body=body_params,
111
- response_type='InlineResponse20041') # noqa: E501
111
+ response_type='InlineResponse20044') # noqa: E501
112
112
 
113
113
  def list(self, body = {}, **kwargs): # noqa: E501
114
114
  """List metadata fields # noqa: E501
@@ -146,7 +146,7 @@ class MetadataApi(object):
146
146
  return self.api_client.call_api(
147
147
  '/metadata/list', 'POST',
148
148
  body=body_params,
149
- response_type='list[InlineResponse20038]') # noqa: E501
149
+ response_type='list[InlineResponse20041]') # noqa: E501
150
150
 
151
151
  def update(self, body = {}, **kwargs): # noqa: E501
152
152
  """Update metadata field # noqa: E501
@@ -184,4 +184,4 @@ class MetadataApi(object):
184
184
  return self.api_client.call_api(
185
185
  '/metadata/update', 'POST',
186
186
  body=body_params,
187
- response_type='InlineResponse20040') # noqa: E501
187
+ response_type='InlineResponse20043') # noqa: E501
@@ -5,7 +5,7 @@
5
5
 
6
6
  No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
7
 
8
- OpenAPI spec version: 1.1.3
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
  """
@@ -70,7 +70,7 @@ class RejectsApi(object):
70
70
  return self.api_client.call_api(
71
71
  '/rejects/add', 'POST',
72
72
  body=body_params,
73
- response_type='InlineResponse20042') # noqa: E501
73
+ response_type='InlineResponse20045') # noqa: E501
74
74
 
75
75
  def delete(self, body = {}, **kwargs): # noqa: E501
76
76
  """Delete email from denylist # noqa: E501
@@ -108,7 +108,7 @@ class RejectsApi(object):
108
108
  return self.api_client.call_api(
109
109
  '/rejects/delete', 'POST',
110
110
  body=body_params,
111
- response_type='InlineResponse20044') # noqa: E501
111
+ response_type='InlineResponse20047') # noqa: E501
112
112
 
113
113
  def list(self, body = {}, **kwargs): # noqa: E501
114
114
  """List denylisted emails # noqa: E501
@@ -146,4 +146,4 @@ class RejectsApi(object):
146
146
  return self.api_client.call_api(
147
147
  '/rejects/list', 'POST',
148
148
  body=body_params,
149
- response_type='list[InlineResponse20043]') # noqa: E501
149
+ response_type='list[InlineResponse20046]') # noqa: E501
@@ -5,7 +5,7 @@
5
5
 
6
6
  No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
7
 
8
- OpenAPI spec version: 1.1.3
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
  """
@@ -70,7 +70,7 @@ class SendersApi(object):
70
70
  return self.api_client.call_api(
71
71
  '/senders/add-domain', 'POST',
72
72
  body=body_params,
73
- response_type='InlineResponse20047') # noqa: E501
73
+ response_type='InlineResponse20050') # noqa: E501
74
74
 
75
75
  def check_domain(self, body = {}, **kwargs): # noqa: E501
76
76
  """Check domain settings # noqa: E501
@@ -108,7 +108,45 @@ class SendersApi(object):
108
108
  return self.api_client.call_api(
109
109
  '/senders/check-domain', 'POST',
110
110
  body=body_params,
111
- response_type='InlineResponse20048') # noqa: E501
111
+ response_type='InlineResponse20052') # noqa: E501
112
+
113
+ def delete_domain(self, body = {}, **kwargs): # noqa: E501
114
+ """Delete sender domain # noqa: E501
115
+
116
+ Deletes an unverified sender domain from your account. Verified domains cannot be deleted via API and require login confirmation. # noqa: E501
117
+ """
118
+ (data) = self.delete_domain_with_http_info(body, **kwargs) # noqa: E501
119
+ return data
120
+
121
+ def delete_domain_with_http_info(self, body, **kwargs): # noqa: E501
122
+ """Delete sender domain # noqa: E501
123
+
124
+ Deletes an unverified sender domain from your account. Verified domains cannot be deleted via API and require login confirmation. # noqa: E501
125
+ """
126
+
127
+ all_params = ['body'] # noqa: E501
128
+
129
+ params = locals()
130
+ for key, val in six.iteritems(params['kwargs']):
131
+ if key not in all_params:
132
+ raise TypeError(
133
+ "Got an unexpected keyword argument '%s'"
134
+ " to method delete_domain" % key
135
+ )
136
+ params[key] = val
137
+ del params['kwargs']
138
+
139
+ # add api_key to body params
140
+ params['body']['key'] = self.api_key
141
+
142
+ body_params = None
143
+ if 'body' in params:
144
+ body_params = params['body']
145
+
146
+ return self.api_client.call_api(
147
+ '/senders/delete-domain', 'POST',
148
+ body=body_params,
149
+ response_type='InlineResponse20051') # noqa: E501
112
150
 
113
151
  def domains(self, body = {}, **kwargs): # noqa: E501
114
152
  """List sender domains # noqa: E501
@@ -146,7 +184,7 @@ class SendersApi(object):
146
184
  return self.api_client.call_api(
147
185
  '/senders/domains', 'POST',
148
186
  body=body_params,
149
- response_type='list[InlineResponse20046]') # noqa: E501
187
+ response_type='list[InlineResponse20049]') # noqa: E501
150
188
 
151
189
  def info(self, body = {}, **kwargs): # noqa: E501
152
190
  """Get sender info # noqa: E501
@@ -184,7 +222,7 @@ class SendersApi(object):
184
222
  return self.api_client.call_api(
185
223
  '/senders/info', 'POST',
186
224
  body=body_params,
187
- response_type='InlineResponse20050') # noqa: E501
225
+ response_type='InlineResponse20054') # noqa: E501
188
226
 
189
227
  def list(self, body = {}, **kwargs): # noqa: E501
190
228
  """List account senders # noqa: E501
@@ -222,7 +260,7 @@ class SendersApi(object):
222
260
  return self.api_client.call_api(
223
261
  '/senders/list', 'POST',
224
262
  body=body_params,
225
- response_type='list[InlineResponse20045]') # noqa: E501
263
+ response_type='list[InlineResponse20048]') # noqa: E501
226
264
 
227
265
  def time_series(self, body = {}, **kwargs): # noqa: E501
228
266
  """View sender history # noqa: E501
@@ -260,7 +298,7 @@ class SendersApi(object):
260
298
  return self.api_client.call_api(
261
299
  '/senders/time-series', 'POST',
262
300
  body=body_params,
263
- response_type='list[InlineResponse20051]') # noqa: E501
301
+ response_type='list[InlineResponse20055]') # noqa: E501
264
302
 
265
303
  def verify_domain(self, body = {}, **kwargs): # noqa: E501
266
304
  """Verify domain # noqa: E501
@@ -298,4 +336,4 @@ class SendersApi(object):
298
336
  return self.api_client.call_api(
299
337
  '/senders/verify-domain', 'POST',
300
338
  body=body_params,
301
- response_type='InlineResponse20049') # noqa: E501
339
+ response_type='InlineResponse20053') # noqa: E501
@@ -5,7 +5,7 @@
5
5
 
6
6
  No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
7
 
8
- OpenAPI spec version: 1.1.3
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
  """
@@ -70,7 +70,7 @@ class SubaccountsApi(object):
70
70
  return self.api_client.call_api(
71
71
  '/subaccounts/add', 'POST',
72
72
  body=body_params,
73
- response_type='InlineResponse20053') # noqa: E501
73
+ response_type='InlineResponse20057') # noqa: E501
74
74
 
75
75
  def delete(self, body = {}, **kwargs): # noqa: E501
76
76
  """Delete subaccount # noqa: E501
@@ -108,7 +108,7 @@ class SubaccountsApi(object):
108
108
  return self.api_client.call_api(
109
109
  '/subaccounts/delete', 'POST',
110
110
  body=body_params,
111
- response_type='InlineResponse20056') # noqa: E501
111
+ response_type='InlineResponse20060') # noqa: E501
112
112
 
113
113
  def info(self, body = {}, **kwargs): # noqa: E501
114
114
  """Get subaccount info # noqa: E501
@@ -146,7 +146,7 @@ class SubaccountsApi(object):
146
146
  return self.api_client.call_api(
147
147
  '/subaccounts/info', 'POST',
148
148
  body=body_params,
149
- response_type='InlineResponse20054') # noqa: E501
149
+ response_type='InlineResponse20058') # noqa: E501
150
150
 
151
151
  def list(self, body = {}, **kwargs): # noqa: E501
152
152
  """List subaccounts # noqa: E501
@@ -184,7 +184,7 @@ class SubaccountsApi(object):
184
184
  return self.api_client.call_api(
185
185
  '/subaccounts/list', 'POST',
186
186
  body=body_params,
187
- response_type='list[InlineResponse20052]') # noqa: E501
187
+ response_type='list[InlineResponse20056]') # noqa: E501
188
188
 
189
189
  def pause(self, body = {}, **kwargs): # noqa: E501
190
190
  """Pause subaccount # noqa: E501
@@ -222,7 +222,7 @@ class SubaccountsApi(object):
222
222
  return self.api_client.call_api(
223
223
  '/subaccounts/pause', 'POST',
224
224
  body=body_params,
225
- response_type='InlineResponse20057') # noqa: E501
225
+ response_type='InlineResponse20061') # noqa: E501
226
226
 
227
227
  def resume(self, body = {}, **kwargs): # noqa: E501
228
228
  """Resume subaccount # noqa: E501
@@ -260,7 +260,7 @@ class SubaccountsApi(object):
260
260
  return self.api_client.call_api(
261
261
  '/subaccounts/resume', 'POST',
262
262
  body=body_params,
263
- response_type='InlineResponse20058') # noqa: E501
263
+ response_type='InlineResponse20062') # noqa: E501
264
264
 
265
265
  def update(self, body = {}, **kwargs): # noqa: E501
266
266
  """Update subaccount # noqa: E501
@@ -298,4 +298,4 @@ class SubaccountsApi(object):
298
298
  return self.api_client.call_api(
299
299
  '/subaccounts/update', 'POST',
300
300
  body=body_params,
301
- response_type='InlineResponse20055') # noqa: E501
301
+ response_type='InlineResponse20059') # noqa: E501
@@ -5,7 +5,7 @@
5
5
 
6
6
  No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
7
 
8
- OpenAPI spec version: 1.1.3
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
  """
@@ -70,7 +70,7 @@ class TagsApi(object):
70
70
  return self.api_client.call_api(
71
71
  '/tags/all-time-series', 'POST',
72
72
  body=body_params,
73
- response_type='list[InlineResponse20063]') # noqa: E501
73
+ response_type='list[InlineResponse20067]') # noqa: E501
74
74
 
75
75
  def delete(self, body = {}, **kwargs): # noqa: E501
76
76
  """Delete tag # noqa: E501
@@ -108,7 +108,7 @@ class TagsApi(object):
108
108
  return self.api_client.call_api(
109
109
  '/tags/delete', 'POST',
110
110
  body=body_params,
111
- response_type='InlineResponse20060') # noqa: E501
111
+ response_type='InlineResponse20064') # noqa: E501
112
112
 
113
113
  def info(self, body = {}, **kwargs): # noqa: E501
114
114
  """Get tag info # noqa: E501
@@ -146,7 +146,7 @@ class TagsApi(object):
146
146
  return self.api_client.call_api(
147
147
  '/tags/info', 'POST',
148
148
  body=body_params,
149
- response_type='InlineResponse20061') # noqa: E501
149
+ response_type='InlineResponse20065') # noqa: E501
150
150
 
151
151
  def list(self, body = {}, **kwargs): # noqa: E501
152
152
  """List tags # noqa: E501
@@ -184,7 +184,7 @@ class TagsApi(object):
184
184
  return self.api_client.call_api(
185
185
  '/tags/list', 'POST',
186
186
  body=body_params,
187
- response_type='list[InlineResponse20059]') # noqa: E501
187
+ response_type='list[InlineResponse20063]') # noqa: E501
188
188
 
189
189
  def time_series(self, body = {}, **kwargs): # noqa: E501
190
190
  """View tag history # noqa: E501
@@ -222,4 +222,4 @@ class TagsApi(object):
222
222
  return self.api_client.call_api(
223
223
  '/tags/time-series', 'POST',
224
224
  body=body_params,
225
- response_type='list[InlineResponse20062]') # noqa: E501
225
+ response_type='list[InlineResponse20066]') # noqa: E501
@@ -5,7 +5,7 @@
5
5
 
6
6
  No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
7
 
8
- OpenAPI spec version: 1.1.3
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
  """
@@ -70,7 +70,7 @@ class TemplatesApi(object):
70
70
  return self.api_client.call_api(
71
71
  '/templates/add', 'POST',
72
72
  body=body_params,
73
- response_type='InlineResponse20064') # noqa: E501
73
+ response_type='InlineResponse20068') # noqa: E501
74
74
 
75
75
  def delete(self, body = {}, **kwargs): # noqa: E501
76
76
  """Delete template # noqa: E501
@@ -108,7 +108,7 @@ class TemplatesApi(object):
108
108
  return self.api_client.call_api(
109
109
  '/templates/delete', 'POST',
110
110
  body=body_params,
111
- response_type='InlineResponse20068') # noqa: E501
111
+ response_type='InlineResponse20072') # noqa: E501
112
112
 
113
113
  def info(self, body = {}, **kwargs): # noqa: E501
114
114
  """Get template info # noqa: E501
@@ -146,7 +146,7 @@ class TemplatesApi(object):
146
146
  return self.api_client.call_api(
147
147
  '/templates/info', 'POST',
148
148
  body=body_params,
149
- response_type='InlineResponse20065') # noqa: E501
149
+ response_type='InlineResponse20069') # noqa: E501
150
150
 
151
151
  def list(self, body = {}, **kwargs): # noqa: E501
152
152
  """List templates # noqa: E501
@@ -184,7 +184,7 @@ class TemplatesApi(object):
184
184
  return self.api_client.call_api(
185
185
  '/templates/list', 'POST',
186
186
  body=body_params,
187
- response_type='list[InlineResponse20069]') # noqa: E501
187
+ response_type='list[InlineResponse20073]') # noqa: E501
188
188
 
189
189
  def publish(self, body = {}, **kwargs): # noqa: E501
190
190
  """Publish template content # noqa: E501
@@ -222,7 +222,7 @@ class TemplatesApi(object):
222
222
  return self.api_client.call_api(
223
223
  '/templates/publish', 'POST',
224
224
  body=body_params,
225
- response_type='InlineResponse20067') # noqa: E501
225
+ response_type='InlineResponse20071') # noqa: E501
226
226
 
227
227
  def render(self, body = {}, **kwargs): # noqa: E501
228
228
  """Render html template # noqa: E501
@@ -260,7 +260,7 @@ class TemplatesApi(object):
260
260
  return self.api_client.call_api(
261
261
  '/templates/render', 'POST',
262
262
  body=body_params,
263
- response_type='InlineResponse20071') # noqa: E501
263
+ response_type='InlineResponse20075') # noqa: E501
264
264
 
265
265
  def time_series(self, body = {}, **kwargs): # noqa: E501
266
266
  """Get template history # noqa: E501
@@ -298,7 +298,7 @@ class TemplatesApi(object):
298
298
  return self.api_client.call_api(
299
299
  '/templates/time-series', 'POST',
300
300
  body=body_params,
301
- response_type='list[InlineResponse20070]') # noqa: E501
301
+ response_type='list[InlineResponse20074]') # noqa: E501
302
302
 
303
303
  def update(self, body = {}, **kwargs): # noqa: E501
304
304
  """Update template # noqa: E501
@@ -336,4 +336,4 @@ class TemplatesApi(object):
336
336
  return self.api_client.call_api(
337
337
  '/templates/update', 'POST',
338
338
  body=body_params,
339
- response_type='InlineResponse20066') # noqa: E501
339
+ response_type='InlineResponse20070') # noqa: E501
@@ -5,7 +5,7 @@
5
5
 
6
6
  No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
7
 
8
- OpenAPI spec version: 1.1.3
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
  """
@@ -70,7 +70,7 @@ class UrlsApi(object):
70
70
  return self.api_client.call_api(
71
71
  '/urls/add-tracking-domain', 'POST',
72
72
  body=body_params,
73
- response_type='InlineResponse20076') # noqa: E501
73
+ response_type='InlineResponse20080') # noqa: E501
74
74
 
75
75
  def check_tracking_domain(self, body = {}, **kwargs): # noqa: E501
76
76
  """Check cname settings # noqa: E501
@@ -108,7 +108,45 @@ class UrlsApi(object):
108
108
  return self.api_client.call_api(
109
109
  '/urls/check-tracking-domain', 'POST',
110
110
  body=body_params,
111
- response_type='InlineResponse20077') # noqa: E501
111
+ response_type='InlineResponse20082') # noqa: E501
112
+
113
+ def delete_tracking_domain(self, body = {}, **kwargs): # noqa: E501
114
+ """Delete tracking domain # noqa: E501
115
+
116
+ Deletes an unverified tracking domain from your account. Valid tracking domains cannot be deleted via API and require login confirmation. # noqa: E501
117
+ """
118
+ (data) = self.delete_tracking_domain_with_http_info(body, **kwargs) # noqa: E501
119
+ return data
120
+
121
+ def delete_tracking_domain_with_http_info(self, body, **kwargs): # noqa: E501
122
+ """Delete tracking domain # noqa: E501
123
+
124
+ Deletes an unverified tracking domain from your account. Valid tracking domains cannot be deleted via API and require login confirmation. # noqa: E501
125
+ """
126
+
127
+ all_params = ['body'] # noqa: E501
128
+
129
+ params = locals()
130
+ for key, val in six.iteritems(params['kwargs']):
131
+ if key not in all_params:
132
+ raise TypeError(
133
+ "Got an unexpected keyword argument '%s'"
134
+ " to method delete_tracking_domain" % key
135
+ )
136
+ params[key] = val
137
+ del params['kwargs']
138
+
139
+ # add api_key to body params
140
+ params['body']['key'] = self.api_key
141
+
142
+ body_params = None
143
+ if 'body' in params:
144
+ body_params = params['body']
145
+
146
+ return self.api_client.call_api(
147
+ '/urls/delete-tracking-domain', 'POST',
148
+ body=body_params,
149
+ response_type='InlineResponse20081') # noqa: E501
112
150
 
113
151
  def list(self, body = {}, **kwargs): # noqa: E501
114
152
  """List most clicked urls # noqa: E501
@@ -146,7 +184,7 @@ class UrlsApi(object):
146
184
  return self.api_client.call_api(
147
185
  '/urls/list', 'POST',
148
186
  body=body_params,
149
- response_type='list[InlineResponse20072]') # noqa: E501
187
+ response_type='list[InlineResponse20076]') # noqa: E501
150
188
 
151
189
  def search(self, body = {}, **kwargs): # noqa: E501
152
190
  """Search most clicked urls # noqa: E501
@@ -184,7 +222,7 @@ class UrlsApi(object):
184
222
  return self.api_client.call_api(
185
223
  '/urls/search', 'POST',
186
224
  body=body_params,
187
- response_type='list[InlineResponse20073]') # noqa: E501
225
+ response_type='list[InlineResponse20077]') # noqa: E501
188
226
 
189
227
  def time_series(self, body = {}, **kwargs): # noqa: E501
190
228
  """Get url history # noqa: E501
@@ -222,7 +260,7 @@ class UrlsApi(object):
222
260
  return self.api_client.call_api(
223
261
  '/urls/time-series', 'POST',
224
262
  body=body_params,
225
- response_type='list[InlineResponse20074]') # noqa: E501
263
+ response_type='list[InlineResponse20078]') # noqa: E501
226
264
 
227
265
  def tracking_domains(self, body = {}, **kwargs): # noqa: E501
228
266
  """List tracking domains # noqa: E501
@@ -260,4 +298,4 @@ class UrlsApi(object):
260
298
  return self.api_client.call_api(
261
299
  '/urls/tracking-domains', 'POST',
262
300
  body=body_params,
263
- response_type='list[InlineResponse20075]') # noqa: E501
301
+ response_type='list[InlineResponse20079]') # noqa: E501
@@ -5,7 +5,7 @@
5
5
 
6
6
  No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
7
 
8
- OpenAPI spec version: 1.1.3
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
  """
@@ -70,7 +70,7 @@ class UsersApi(object):
70
70
  return self.api_client.call_api(
71
71
  '/users/info', 'POST',
72
72
  body=body_params,
73
- response_type='InlineResponse20078') # noqa: E501
73
+ response_type='InlineResponse20083') # noqa: E501
74
74
 
75
75
  def ping(self, body = {}, **kwargs): # noqa: E501
76
76
  """Ping # noqa: E501
@@ -146,7 +146,7 @@ class UsersApi(object):
146
146
  return self.api_client.call_api(
147
147
  '/users/ping2', 'POST',
148
148
  body=body_params,
149
- response_type='InlineResponse20079') # noqa: E501
149
+ response_type='InlineResponse20084') # noqa: E501
150
150
 
151
151
  def senders(self, body = {}, **kwargs): # noqa: E501
152
152
  """List account senders # noqa: E501
@@ -184,4 +184,4 @@ class UsersApi(object):
184
184
  return self.api_client.call_api(
185
185
  '/users/senders', 'POST',
186
186
  body=body_params,
187
- response_type='list[InlineResponse20080]') # noqa: E501
187
+ response_type='list[InlineResponse20085]') # noqa: E501
@@ -5,7 +5,7 @@
5
5
 
6
6
  No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
7
 
8
- OpenAPI spec version: 1.1.3
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
  """
@@ -70,7 +70,7 @@ class WebhooksApi(object):
70
70
  return self.api_client.call_api(
71
71
  '/webhooks/add', 'POST',
72
72
  body=body_params,
73
- response_type='InlineResponse20082') # noqa: E501
73
+ response_type='InlineResponse20087') # noqa: E501
74
74
 
75
75
  def delete(self, body = {}, **kwargs): # noqa: E501
76
76
  """Delete webhook # noqa: E501
@@ -108,7 +108,7 @@ class WebhooksApi(object):
108
108
  return self.api_client.call_api(
109
109
  '/webhooks/delete', 'POST',
110
110
  body=body_params,
111
- response_type='InlineResponse20085') # noqa: E501
111
+ response_type='InlineResponse20090') # noqa: E501
112
112
 
113
113
  def info(self, body = {}, **kwargs): # noqa: E501
114
114
  """Get webhook info # noqa: E501
@@ -146,7 +146,7 @@ class WebhooksApi(object):
146
146
  return self.api_client.call_api(
147
147
  '/webhooks/info', 'POST',
148
148
  body=body_params,
149
- response_type='InlineResponse20083') # noqa: E501
149
+ response_type='InlineResponse20088') # noqa: E501
150
150
 
151
151
  def list(self, body = {}, **kwargs): # noqa: E501
152
152
  """List webhooks # noqa: E501
@@ -184,7 +184,7 @@ class WebhooksApi(object):
184
184
  return self.api_client.call_api(
185
185
  '/webhooks/list', 'POST',
186
186
  body=body_params,
187
- response_type='list[InlineResponse20081]') # noqa: E501
187
+ response_type='list[InlineResponse20086]') # noqa: E501
188
188
 
189
189
  def update(self, body = {}, **kwargs): # noqa: E501
190
190
  """Update webhook # noqa: E501
@@ -222,4 +222,4 @@ class WebhooksApi(object):
222
222
  return self.api_client.call_api(
223
223
  '/webhooks/update', 'POST',
224
224
  body=body_params,
225
- response_type='InlineResponse20084') # noqa: E501
225
+ response_type='InlineResponse20089') # noqa: E501
@@ -5,7 +5,7 @@
5
5
 
6
6
  No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
7
 
8
- OpenAPI spec version: 1.1.3
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
  """
@@ -108,7 +108,7 @@ class WhitelistsApi(object):
108
108
  return self.api_client.call_api(
109
109
  '/whitelists/delete', 'POST',
110
110
  body=body_params,
111
- response_type='InlineResponse20087') # noqa: E501
111
+ response_type='InlineResponse20092') # noqa: E501
112
112
 
113
113
  def list(self, body = {}, **kwargs): # noqa: E501
114
114
  """List allowlisted emails # noqa: E501
@@ -146,4 +146,4 @@ class WhitelistsApi(object):
146
146
  return self.api_client.call_api(
147
147
  '/whitelists/list', 'POST',
148
148
  body=body_params,
149
- response_type='list[InlineResponse20086]') # noqa: E501
149
+ response_type='list[InlineResponse20091]') # noqa: E501
@@ -4,7 +4,7 @@
4
4
 
5
5
  No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
6
6
 
7
- OpenAPI spec version: 1.1.3
7
+ OpenAPI spec version: 1.3.0
8
8
  Contact: apihelp@mailchimp.com
9
9
  Generated by: https://github.com/swagger-api/swagger-codegen.git
10
10
  """
@@ -22,8 +22,8 @@ class ApiClientError(Exception):
22
22
 
23
23
  class ApiClient(object):
24
24
  def __init__(self):
25
- self.host = "https://mandrillapp.com/api/1.0"
26
- self.user_agent = 'MailchimpTransactional-python/1.1.3'
25
+ self.host = "https://mandrillapp.com/api/1.3"
26
+ self.user_agent = 'MailchimpTransactional-python/1.3.0'
27
27
  self.format_list = ['json', 'xml', 'php', 'yaml']
28
28
  self.content_type = 'application/json'
29
29
  self.default_output_format = 'json'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mailchimp_transactional
3
- Version: 1.1.3
3
+ Version: 1.3.0
4
4
  Summary: Mailchimp Transactional API
5
5
  Home-page:
6
6
  Author-email: apihelp@mailchimp.com
@@ -0,0 +1,24 @@
1
+ mailchimp_transactional/__init__.py,sha256=S30ZBeWChke3duEgOy3-YfzsXBJThkRdidXUT79-TBk,3854
2
+ mailchimp_transactional/api_client.py,sha256=TfXjxEbAupTpmoP2aa6g0zi6IE6YoNcXyDnPPo-xTFs,2898
3
+ mailchimp_transactional/api/__init__.py,sha256=4BnDica8LZaYVGVFvzEh2ipRA8RM9tyvNp89AVIBYwM,1109
4
+ mailchimp_transactional/api/allowlists_api.py,sha256=sFCGTY-fM5nLtJaEsJg4aKmkGRRiPyKKJqFBHDqL_Gk,4955
5
+ mailchimp_transactional/api/exports_api.py,sha256=k9LQhwHDzd32AZ6Cu4Apk0zLsabIdrv0G7KxPy6rNXE,10552
6
+ mailchimp_transactional/api/inbound_api.py,sha256=4BsZvQC4C4_rggj8iIUDrDeqjQAvWVDQmpxjlIuRMEw,12839
7
+ mailchimp_transactional/api/ips_api.py,sha256=aJxnyM6IcEh0IAfiqccrD0k1PyQndZ2ythd6AEt8skI,17821
8
+ mailchimp_transactional/api/mctemplates_api.py,sha256=0ut6xa1PFpxMjsAomgGnbB33k1DIpCreeMM8sfrying,6618
9
+ mailchimp_transactional/api/messages_api.py,sha256=tcukFRrfFhm8AnvWHEX2ftYXF2e3wv0zXmSt_JD_dmc,18283
10
+ mailchimp_transactional/api/metadata_api.py,sha256=Eif1TDm6Z_EBwbw4xc3hz-wenfBDeXPpxp0XyDk9dKs,6075
11
+ mailchimp_transactional/api/rejects_api.py,sha256=F0xheCPddN--oudvPJrKEMamLkkktiu4oLATgakKQSY,5625
12
+ mailchimp_transactional/api/senders_api.py,sha256=pV6lTEZgLuIQj_ueVa8tSvNJqF3235Xmkw8mjFJCc60,12255
13
+ mailchimp_transactional/api/subaccounts_api.py,sha256=d4ugaUmHwvw7ldV2lFH_ESAOZZi4TqqLDR88k9iZB7Y,9828
14
+ mailchimp_transactional/api/tags_api.py,sha256=FPfI_TlXOuHwz8UpL_EJrrCaujHDZA3E75V7NAT3tDk,7464
15
+ mailchimp_transactional/api/templates_api.py,sha256=my5uzsOVamQpYUqEbGIVopkxPNHysRVVdPQQZ20TFUA,10992
16
+ mailchimp_transactional/api/urls_api.py,sha256=C96Ob14zTYfV-FOy-9uWFpLceWD4swIajmg28ngHaTw,10113
17
+ mailchimp_transactional/api/users_api.py,sha256=9uONeYFE1e0S_GnxmWKpJ8BrQGxO7qhpp_qMJqiwedE,5777
18
+ mailchimp_transactional/api/webhooks_api.py,sha256=me6f7RQrd3aokLx2svTFa7dTOOmKva6UcxfFWtoFDt0,6813
19
+ mailchimp_transactional/api/whitelists_api.py,sha256=f49C_kw-33DlpcNb0hMCCXktHuSJCgJrig-wFfDbs1M,4957
20
+ mailchimp_transactional-1.3.0.dist-info/licenses/LICENSE,sha256=jgtd6JlUIQB7jQ2E-FfMRAj9eQC5CeKgFrUMPMnMSD4,11975
21
+ mailchimp_transactional-1.3.0.dist-info/METADATA,sha256=dh_g2vOZ4Iefv27IORHOrHzLV0A9SQBuHMQtdRNwqQY,623
22
+ mailchimp_transactional-1.3.0.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
23
+ mailchimp_transactional-1.3.0.dist-info/top_level.txt,sha256=i3I2SH3R40NEBuSMDtyBGolKTXlu72f4EmGipI0S96A,24
24
+ mailchimp_transactional-1.3.0.dist-info/RECORD,,
@@ -1,23 +0,0 @@
1
- mailchimp_transactional/__init__.py,sha256=KOaN9BPp-UOotSbeyJOSGP1sbJtxqCGD7EeDl_4v3xo,3645
2
- mailchimp_transactional/api_client.py,sha256=6mm9DsW8p2AvlkMmkFCRsnxaGyF7daKkAPi0HemqUu8,2898
3
- mailchimp_transactional/api/__init__.py,sha256=UFDfkc5MkPwpAUrHPWbpgR6T8uw_uJrnHJ5FXvbVj_o,1038
4
- mailchimp_transactional/api/allowlists_api.py,sha256=F28QL2M4QsWFEOcj4TKU0pJ756bHUxtAJWDbUiTKiaI,4955
5
- mailchimp_transactional/api/exports_api.py,sha256=gjVYD8lgvn7OiwPLIqwKy43CTvrpQjEdrkgrrf3RbVs,10552
6
- mailchimp_transactional/api/inbound_api.py,sha256=R49_1u8lakZdBy4F7Qt_bd4RhPzctpfd8uqyutk6fpk,12671
7
- mailchimp_transactional/api/ips_api.py,sha256=f2bMFZtzd88NbO-RwULgHOpsXXo0lYiE5NF7oRA-SyQ,17821
8
- mailchimp_transactional/api/messages_api.py,sha256=b236DwI1Y15Zff42WT6bePUoKbJKMxRlzWtesDaojdQ,16903
9
- mailchimp_transactional/api/metadata_api.py,sha256=wthgkfgJETeYfAIXJU94kWvo6xpBg88EF4LSwz3Cngk,6075
10
- mailchimp_transactional/api/rejects_api.py,sha256=x3zwPG5-HCJF237KMOzYb2iTxmN6Sk_5BFUK0IUykHY,5625
11
- mailchimp_transactional/api/senders_api.py,sha256=cZdmytSaVdb6qIzyEEHOcwj92xM5k_68m1mzz7vbh_Q,10839
12
- mailchimp_transactional/api/subaccounts_api.py,sha256=13245dT3kTdcPgdDOTTiqh6j72i1GD1rl2noYLmlBuQ,9828
13
- mailchimp_transactional/api/tags_api.py,sha256=2iJTbLFfq95OiJdi9WoxtPpUdb6BRrmjZ14ikDxZiFI,7464
14
- mailchimp_transactional/api/templates_api.py,sha256=LvnvRq51BKiOIRownmuaNI_xHuCSSqqbgbAhUjFhDUI,10992
15
- mailchimp_transactional/api/urls_api.py,sha256=1-N20xFpZSwqvjSmsVQ8-TXlAHJpHCjHI1kuAi0JfUY,8635
16
- mailchimp_transactional/api/users_api.py,sha256=USWxrQAC16cVj26W7Q82fc5yoXbvk3cBrcfXh7wGAaQ,5777
17
- mailchimp_transactional/api/webhooks_api.py,sha256=_0AdmML6M8d8By_5zorqJtlQ-heH5F-zTSRL5Lh2MAI,6813
18
- mailchimp_transactional/api/whitelists_api.py,sha256=efoNv5pW1i-K4aTAaReQytjS5ceO7dRC3kTCeewfZRk,4957
19
- mailchimp_transactional-1.1.3.dist-info/licenses/LICENSE,sha256=jgtd6JlUIQB7jQ2E-FfMRAj9eQC5CeKgFrUMPMnMSD4,11975
20
- mailchimp_transactional-1.1.3.dist-info/METADATA,sha256=Ugh-dd4JkjPMJIRI-h7fFfpWWnYSaofO7j9rlenjM4g,623
21
- mailchimp_transactional-1.1.3.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
22
- mailchimp_transactional-1.1.3.dist-info/top_level.txt,sha256=i3I2SH3R40NEBuSMDtyBGolKTXlu72f4EmGipI0S96A,24
23
- mailchimp_transactional-1.1.3.dist-info/RECORD,,