mailchimp-transactional 1.2.0__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.
- mailchimp_transactional/__init__.py +4 -1
- mailchimp_transactional/api/__init__.py +1 -0
- mailchimp_transactional/api/allowlists_api.py +1 -1
- mailchimp_transactional/api/exports_api.py +1 -1
- mailchimp_transactional/api/inbound_api.py +1 -1
- mailchimp_transactional/api/ips_api.py +1 -1
- mailchimp_transactional/api/mctemplates_api.py +187 -0
- mailchimp_transactional/api/messages_api.py +51 -13
- mailchimp_transactional/api/metadata_api.py +5 -5
- mailchimp_transactional/api/rejects_api.py +4 -4
- mailchimp_transactional/api/senders_api.py +46 -8
- mailchimp_transactional/api/subaccounts_api.py +8 -8
- mailchimp_transactional/api/tags_api.py +6 -6
- mailchimp_transactional/api/templates_api.py +9 -9
- mailchimp_transactional/api/urls_api.py +45 -7
- mailchimp_transactional/api/users_api.py +4 -4
- mailchimp_transactional/api/webhooks_api.py +6 -6
- mailchimp_transactional/api/whitelists_api.py +3 -3
- mailchimp_transactional/api_client.py +3 -3
- {mailchimp_transactional-1.2.0.dist-info → mailchimp_transactional-1.3.0.dist-info}/METADATA +1 -1
- mailchimp_transactional-1.3.0.dist-info/RECORD +24 -0
- mailchimp_transactional-1.2.0.dist-info/RECORD +0 -23
- {mailchimp_transactional-1.2.0.dist-info → mailchimp_transactional-1.3.0.dist-info}/WHEEL +0 -0
- {mailchimp_transactional-1.2.0.dist-info → mailchimp_transactional-1.3.0.dist-info}/licenses/LICENSE +0 -0
- {mailchimp_transactional-1.2.0.dist-info → mailchimp_transactional-1.3.0.dist-info}/top_level.txt +0 -0
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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[
|
|
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='
|
|
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='
|
|
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[
|
|
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='
|
|
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[
|
|
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[
|
|
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[
|
|
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[
|
|
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[
|
|
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[
|
|
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[
|
|
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.
|
|
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='
|
|
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='
|
|
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[
|
|
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='
|
|
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.
|
|
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='
|
|
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='
|
|
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[
|
|
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.
|
|
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='
|
|
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='
|
|
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[
|
|
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='
|
|
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[
|
|
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[
|
|
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='
|
|
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.
|
|
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='
|
|
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='
|
|
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='
|
|
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[
|
|
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='
|
|
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='
|
|
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='
|
|
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.
|
|
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[
|
|
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='
|
|
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='
|
|
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[
|
|
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[
|
|
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.
|
|
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='
|
|
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='
|
|
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='
|
|
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[
|
|
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='
|
|
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='
|
|
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[
|
|
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='
|
|
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.
|
|
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='
|
|
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='
|
|
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[
|
|
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[
|
|
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[
|
|
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[
|
|
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.
|
|
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='
|
|
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='
|
|
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[
|
|
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.
|
|
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='
|
|
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='
|
|
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='
|
|
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[
|
|
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='
|
|
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.
|
|
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='
|
|
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[
|
|
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.
|
|
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.
|
|
26
|
-
self.user_agent = 'MailchimpTransactional-python/1.
|
|
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'
|
|
@@ -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=guVhCIARGAT2ZT8PoCih4yhVCVaCjju-BG39Yn3QYWo,3645
|
|
2
|
-
mailchimp_transactional/api_client.py,sha256=Hus5wPoM4NIYgTjeNdIF_XReZYs_cKt7ckaQ7YYW9W8,2898
|
|
3
|
-
mailchimp_transactional/api/__init__.py,sha256=UFDfkc5MkPwpAUrHPWbpgR6T8uw_uJrnHJ5FXvbVj_o,1038
|
|
4
|
-
mailchimp_transactional/api/allowlists_api.py,sha256=VmJSWI5e06oJjWfnk31zSSPdkq12iIZzAdEq38upOJo,4955
|
|
5
|
-
mailchimp_transactional/api/exports_api.py,sha256=RRVdheCrqHqzLvacH5ZiwOU7J8irs06UuhsyyvwQqLE,10552
|
|
6
|
-
mailchimp_transactional/api/inbound_api.py,sha256=lRfp7ObxITCEFw4Wvj_15_mTxCz6RSrWJgn3-g_r63E,12839
|
|
7
|
-
mailchimp_transactional/api/ips_api.py,sha256=H39tmR8CKzyvdNr27RpiBOYkFAKUnr6K8VKVfBr5MNQ,17821
|
|
8
|
-
mailchimp_transactional/api/messages_api.py,sha256=X7kZDTXl6x59S5RutorA01jE1QTF1Bo3vuBTvdT2-I8,16903
|
|
9
|
-
mailchimp_transactional/api/metadata_api.py,sha256=OVHNvLuRkCXlx7SfUkri9Pvc3ciTnSRtQ8qAmQTW-V8,6075
|
|
10
|
-
mailchimp_transactional/api/rejects_api.py,sha256=SE1_2eiCLEIS3FJqmyJSataEtIbLzkfM2o-JMlBT2ys,5625
|
|
11
|
-
mailchimp_transactional/api/senders_api.py,sha256=fyfSsMRDRHjqSI7BCsYD1JbSyxNm5aMAb2rweJaCghs,10839
|
|
12
|
-
mailchimp_transactional/api/subaccounts_api.py,sha256=Edw17DI6rqL2PBVJoYGB9diObplkOXfuNPK8Cjzlsbo,9828
|
|
13
|
-
mailchimp_transactional/api/tags_api.py,sha256=VW2hFDAIOMwJZSqDi-ieto5kiSILz7Jbuf9PwdzStls,7464
|
|
14
|
-
mailchimp_transactional/api/templates_api.py,sha256=52om8DO_pdcD3OsqbPH-GPXR_nKiAyQNPfgTq5ExntQ,10992
|
|
15
|
-
mailchimp_transactional/api/urls_api.py,sha256=u0KA73udeIU731XG7VL_mHdars0WP0K6IYHvURqc_so,8635
|
|
16
|
-
mailchimp_transactional/api/users_api.py,sha256=Gg68A2_sohEQyJBwan-eld11k2x3SkVbOSOd3hsSOwQ,5777
|
|
17
|
-
mailchimp_transactional/api/webhooks_api.py,sha256=4I3OXLw86PCuHGnhHlmXdGyM3pIGI4ZQ3XA0ZKQtqxk,6813
|
|
18
|
-
mailchimp_transactional/api/whitelists_api.py,sha256=F4rT5JkCj__dzU1H9xKsGGqlDjEcrVR3TJZMkQ0x2-A,4957
|
|
19
|
-
mailchimp_transactional-1.2.0.dist-info/licenses/LICENSE,sha256=jgtd6JlUIQB7jQ2E-FfMRAj9eQC5CeKgFrUMPMnMSD4,11975
|
|
20
|
-
mailchimp_transactional-1.2.0.dist-info/METADATA,sha256=8-_We83C4-QuoSrxYd7fLQKb8MuHEIjerT5EBfvBm1A,623
|
|
21
|
-
mailchimp_transactional-1.2.0.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
|
|
22
|
-
mailchimp_transactional-1.2.0.dist-info/top_level.txt,sha256=i3I2SH3R40NEBuSMDtyBGolKTXlu72f4EmGipI0S96A,24
|
|
23
|
-
mailchimp_transactional-1.2.0.dist-info/RECORD,,
|
|
File without changes
|
{mailchimp_transactional-1.2.0.dist-info → mailchimp_transactional-1.3.0.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{mailchimp_transactional-1.2.0.dist-info → mailchimp_transactional-1.3.0.dist-info}/top_level.txt
RENAMED
|
File without changes
|