MailchimpTransactional 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/MailchimpTransactional.gemspec +1 -1
- data/README.md +27 -8
- data/lib/MailchimpTransactional.rb +1 -1
- data/lib/MailchimpTransactional/api/exports_api.rb +26 -46
- data/lib/MailchimpTransactional/api/inbound_api.rb +60 -96
- data/lib/MailchimpTransactional/api/ips_api.rb +70 -122
- data/lib/MailchimpTransactional/api/messages_api.rb +74 -118
- data/lib/MailchimpTransactional/api/metadata_api.rb +23 -39
- data/lib/MailchimpTransactional/api/rejects_api.rb +16 -28
- data/lib/MailchimpTransactional/api/senders_api.rb +46 -74
- data/lib/MailchimpTransactional/api/subaccounts_api.rb +46 -74
- data/lib/MailchimpTransactional/api/tags_api.rb +34 -54
- data/lib/MailchimpTransactional/api/templates_api.rb +53 -85
- data/lib/MailchimpTransactional/api/urls_api.rb +43 -67
- data/lib/MailchimpTransactional/api/users_api.rb +29 -45
- data/lib/MailchimpTransactional/api/webhooks_api.rb +36 -56
- data/lib/MailchimpTransactional/api/whitelists_api.rb +16 -28
- data/lib/MailchimpTransactional/api_client.rb +1 -1
- data/lib/MailchimpTransactional/api_error.rb +1 -1
- data/lib/MailchimpTransactional/configuration.rb +1 -1
- data/lib/MailchimpTransactional/version.rb +2 -2
- metadata +2 -2
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 1.0.
|
6
|
+
OpenAPI spec version: 1.0.8
|
7
7
|
Contact: apihelp@mandrill.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -22,17 +22,17 @@ module MailchimpTransactional
|
|
22
22
|
@api_key = api_key
|
23
23
|
@api_client = api_client
|
24
24
|
end
|
25
|
-
#
|
25
|
+
# Add email to whitelist
|
26
26
|
# Adds an email to your email rejection whitelist. If the address is currently on your blacklist, that blacklist entry will be removed automatically.
|
27
27
|
# @param body
|
28
28
|
# @param [Hash] opts the optional parameters
|
29
29
|
# @return [InlineResponse20076]
|
30
30
|
def add(body = {}, opts = {})
|
31
|
-
data
|
31
|
+
data = add_with_http_info(body, opts)
|
32
32
|
data
|
33
33
|
end
|
34
34
|
|
35
|
-
#
|
35
|
+
# Add email to whitelist
|
36
36
|
# Adds an email to your email rejection whitelist. If the address is currently on your blacklist, that blacklist entry will be removed automatically.
|
37
37
|
# @param body
|
38
38
|
# @param [Hash] opts the optional parameters
|
@@ -45,24 +45,20 @@ module MailchimpTransactional
|
|
45
45
|
local_var_path = '/whitelists/add'
|
46
46
|
|
47
47
|
# http body (model)
|
48
|
-
|
49
|
-
data
|
50
|
-
:body => body,
|
51
|
-
:auth_names => auth_names,
|
52
|
-
:return_type => 'InlineResponse20076')
|
53
|
-
return data, status_code, headers
|
48
|
+
data = @api_client.call_api(:POST, local_var_path, :body => body)
|
49
|
+
return data
|
54
50
|
end
|
55
|
-
#
|
51
|
+
# Remove email from whitelist
|
56
52
|
# Removes an email address from the whitelist.
|
57
53
|
# @param body
|
58
54
|
# @param [Hash] opts the optional parameters
|
59
55
|
# @return [InlineResponse20078]
|
60
56
|
def delete(body = {}, opts = {})
|
61
|
-
data
|
57
|
+
data = delete_with_http_info(body, opts)
|
62
58
|
data
|
63
59
|
end
|
64
60
|
|
65
|
-
#
|
61
|
+
# Remove email from whitelist
|
66
62
|
# Removes an email address from the whitelist.
|
67
63
|
# @param body
|
68
64
|
# @param [Hash] opts the optional parameters
|
@@ -75,24 +71,20 @@ module MailchimpTransactional
|
|
75
71
|
local_var_path = '/whitelists/delete'
|
76
72
|
|
77
73
|
# http body (model)
|
78
|
-
|
79
|
-
data
|
80
|
-
:body => body,
|
81
|
-
:auth_names => auth_names,
|
82
|
-
:return_type => 'InlineResponse20078')
|
83
|
-
return data, status_code, headers
|
74
|
+
data = @api_client.call_api(:POST, local_var_path, :body => body)
|
75
|
+
return data
|
84
76
|
end
|
85
|
-
#
|
77
|
+
# List whitelisted emails
|
86
78
|
# Retrieves your email rejection whitelist. You can provide an email address or search prefix to limit the results. Returns up to 1000 results.
|
87
79
|
# @param body
|
88
80
|
# @param [Hash] opts the optional parameters
|
89
81
|
# @return [Array<InlineResponse20077>]
|
90
82
|
def list(body = {}, opts = {})
|
91
|
-
data
|
83
|
+
data = list_with_http_info(body, opts)
|
92
84
|
data
|
93
85
|
end
|
94
86
|
|
95
|
-
#
|
87
|
+
# List whitelisted emails
|
96
88
|
# Retrieves your email rejection whitelist. You can provide an email address or search prefix to limit the results. Returns up to 1000 results.
|
97
89
|
# @param body
|
98
90
|
# @param [Hash] opts the optional parameters
|
@@ -105,12 +97,8 @@ module MailchimpTransactional
|
|
105
97
|
local_var_path = '/whitelists/list'
|
106
98
|
|
107
99
|
# http body (model)
|
108
|
-
|
109
|
-
data
|
110
|
-
:body => body,
|
111
|
-
:auth_names => auth_names,
|
112
|
-
:return_type => 'Array<InlineResponse20077>')
|
113
|
-
return data, status_code, headers
|
100
|
+
data = @api_client.call_api(:POST, local_var_path, :body => body)
|
101
|
+
return data
|
114
102
|
end
|
115
103
|
end
|
116
104
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 1.0.
|
6
|
+
OpenAPI spec version: 1.0.8
|
7
7
|
Contact: apihelp@mandrill.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 1.0.
|
6
|
+
OpenAPI spec version: 1.0.8
|
7
7
|
Contact: apihelp@mandrill.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 1.0.
|
6
|
+
OpenAPI spec version: 1.0.8
|
7
7
|
Contact: apihelp@mandrill.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 1.0.
|
6
|
+
OpenAPI spec version: 1.0.8
|
7
7
|
Contact: apihelp@mandrill.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.12
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module MailchimpTransactional
|
14
|
-
VERSION = '1.0.
|
14
|
+
VERSION = '1.0.8'
|
15
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: MailchimpTransactional
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Swagger-Codegen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|