MailchimpMarketing 3.0.23 → 3.0.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MailchimpMarketing.gemspec +1 -1
- data/README.md +8 -3
- data/lib/MailchimpMarketing.rb +1 -1
- data/lib/MailchimpMarketing/api/activity_feed_api.rb +1 -1
- data/lib/MailchimpMarketing/api/authorized_apps_api.rb +1 -15
- data/lib/MailchimpMarketing/api/automations_api.rb +1 -1
- data/lib/MailchimpMarketing/api/batch_webhooks_api.rb +1 -1
- data/lib/MailchimpMarketing/api/batches_api.rb +1 -1
- data/lib/MailchimpMarketing/api/campaign_folders_api.rb +1 -1
- data/lib/MailchimpMarketing/api/campaigns_api.rb +1 -1
- data/lib/MailchimpMarketing/api/connected_sites_api.rb +1 -1
- data/lib/MailchimpMarketing/api/conversations_api.rb +1 -1
- data/lib/MailchimpMarketing/api/ecommerce_api.rb +1 -1
- data/lib/MailchimpMarketing/api/facebook_ads_api.rb +1 -1
- data/lib/MailchimpMarketing/api/file_manager_api.rb +1 -1
- data/lib/MailchimpMarketing/api/landing_pages_api.rb +1 -1
- data/lib/MailchimpMarketing/api/lists_api.rb +17 -12
- data/lib/MailchimpMarketing/api/ping_api.rb +1 -1
- data/lib/MailchimpMarketing/api/reporting_api.rb +1 -1
- data/lib/MailchimpMarketing/api/reports_api.rb +1 -1
- data/lib/MailchimpMarketing/api/root_api.rb +1 -1
- data/lib/MailchimpMarketing/api/search_campaigns_api.rb +1 -1
- data/lib/MailchimpMarketing/api/search_members_api.rb +1 -1
- data/lib/MailchimpMarketing/api/template_folders_api.rb +1 -1
- data/lib/MailchimpMarketing/api/templates_api.rb +6 -4
- data/lib/MailchimpMarketing/api/verified_domains_api.rb +1 -1
- data/lib/MailchimpMarketing/api_client.rb +1 -1
- data/lib/MailchimpMarketing/api_error.rb +1 -1
- data/lib/MailchimpMarketing/configuration.rb +1 -1
- data/lib/MailchimpMarketing/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e704bf5f1dd11ab3e4a36fe55f034523568fb04fe5235306577f0e3099d01a3
|
4
|
+
data.tar.gz: f7fb123a54533f1458addadb6e89d7be2cfde248bcdad35d71796ab89ea1b34f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03fc03cf46571267d664ba5d27bc547ad586b6ad5b93cc0c223c5b0af889f7691aff49da030f28e5694ef09f8da0a4a7a283d34b518249ee3f582b5a314386b2
|
7
|
+
data.tar.gz: 794da4314a2c85902c281c9aa70c4dedd200b612d4a8976477e4fa15b4e80c09a2d87d32274549fe958e9ce8f275e163cfe7b2fdb5170fe35a82a4e6f840f556
|
data/MailchimpMarketing.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
7
7
|
|
8
|
-
OpenAPI spec version: 3.0.
|
8
|
+
OpenAPI spec version: 3.0.28
|
9
9
|
Contact: apihelp@mailchimp.com
|
10
10
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
11
|
Swagger Codegen version: 2.4.12
|
data/README.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
<p align="center">
|
2
|
+
<a href="https://mailchimp.com/developer/">
|
3
|
+
<img src="https://raw.githubusercontent.com/mailchimp/mailchimp-client-lib-codegen/master/resources/images/mcdev-banner.png" alt="Mailchimp Developer" width="100%" height="auto">
|
4
|
+
</a>
|
5
|
+
</p>
|
6
|
+
|
1
7
|
# Mailchimp Marketing — Ruby
|
2
8
|
|
3
9
|
The official Ruby client library for the Mailchimp Marketing API (v1)
|
@@ -20,8 +26,8 @@ gem 'MailchimpMarketing', :git => 'https://github.com/mailchimp/mailchimp-market
|
|
20
26
|
|
21
27
|
```shell
|
22
28
|
gem build MailchimpMarketing.gemspec
|
23
|
-
gem install ./MailchimpMarketing-3.0.
|
24
|
-
gem 'MailchimpMarketing', '~> 3.0.
|
29
|
+
gem install ./MailchimpMarketing-3.0.28.gem
|
30
|
+
gem 'MailchimpMarketing', '~> 3.0.28'
|
25
31
|
```
|
26
32
|
|
27
33
|
## Quick Start
|
@@ -84,7 +90,6 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
|
|
84
90
|
| **activityFeed.get_chimp_chatter** | /activity-feed/chimp-chatter |
|
85
91
|
| **authorizedApps.list** | /authorized-apps |
|
86
92
|
| **authorizedApps.get** | /authorized-apps/{app_id} |
|
87
|
-
| **authorizedApps.link** | /authorized-apps |
|
88
93
|
| **automations.archive** | /automations/{workflow_id}/actions/archive |
|
89
94
|
| **automations.delete_workflow_email** | /automations/{workflow_id}/emails/{workflow_email_id} |
|
90
95
|
| **automations.list** | /automations |
|
data/lib/MailchimpMarketing.rb
CHANGED
@@ -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: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -53,19 +53,5 @@ module MailchimpMarketing
|
|
53
53
|
:body => post_body)
|
54
54
|
return data
|
55
55
|
end
|
56
|
-
|
57
|
-
# Link application
|
58
|
-
def link(client_details, opts = {})
|
59
|
-
fail ArgumentError, "Missing required param: 'client_details'" if client_details.nil?
|
60
|
-
|
61
|
-
query_params = {}
|
62
|
-
post_body = @api_client.object_to_http_body(client_details)
|
63
|
-
|
64
|
-
local_var_path = '/authorized-apps'
|
65
|
-
data = @api_client.call_api(:POST, local_var_path,
|
66
|
-
:query_params => query_params,
|
67
|
-
:body => post_body)
|
68
|
-
return data
|
69
|
-
end
|
70
56
|
end
|
71
57
|
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: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -752,13 +752,14 @@ module MailchimpMarketing
|
|
752
752
|
end
|
753
753
|
|
754
754
|
# Update interest in category
|
755
|
-
def update_interest_category_interest(list_id, interest_category_id, interest_id, opts = {})
|
755
|
+
def update_interest_category_interest(list_id, interest_category_id, interest_id, body, opts = {})
|
756
756
|
fail ArgumentError, "Missing required param: 'list_id'" if list_id.nil?
|
757
757
|
fail ArgumentError, "Missing required param: 'interest_category_id'" if interest_category_id.nil?
|
758
758
|
fail ArgumentError, "Missing required param: 'interest_id'" if interest_id.nil?
|
759
|
+
fail ArgumentError, "Missing required param: 'body'" if body.nil?
|
759
760
|
|
760
761
|
query_params = {}
|
761
|
-
post_body = @api_client.object_to_http_body(
|
762
|
+
post_body = @api_client.object_to_http_body(body)
|
762
763
|
|
763
764
|
local_var_path = '/lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'interest_category_id' + '}', interest_category_id.to_s).sub('{' + 'interest_id' + '}', interest_id.to_s)
|
764
765
|
data = @api_client.call_api(:PATCH, local_var_path,
|
@@ -785,13 +786,14 @@ module MailchimpMarketing
|
|
785
786
|
end
|
786
787
|
|
787
788
|
# Update note
|
788
|
-
def update_list_member_note(list_id, subscriber_hash, note_id, opts = {})
|
789
|
+
def update_list_member_note(list_id, subscriber_hash, note_id, body, opts = {})
|
789
790
|
fail ArgumentError, "Missing required param: 'list_id'" if list_id.nil?
|
790
791
|
fail ArgumentError, "Missing required param: 'subscriber_hash'" if subscriber_hash.nil?
|
791
792
|
fail ArgumentError, "Missing required param: 'note_id'" if note_id.nil?
|
793
|
+
fail ArgumentError, "Missing required param: 'body'" if body.nil?
|
792
794
|
|
793
795
|
query_params = {}
|
794
|
-
post_body = @api_client.object_to_http_body(
|
796
|
+
post_body = @api_client.object_to_http_body(body)
|
795
797
|
|
796
798
|
local_var_path = '/lists/{list_id}/members/{subscriber_hash}/notes/{note_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s).sub('{' + 'note_id' + '}', note_id.to_s)
|
797
799
|
data = @api_client.call_api(:PATCH, local_var_path,
|
@@ -865,12 +867,13 @@ module MailchimpMarketing
|
|
865
867
|
end
|
866
868
|
|
867
869
|
# Add or remove member tags
|
868
|
-
def update_list_member_tags(list_id, subscriber_hash, opts = {})
|
870
|
+
def update_list_member_tags(list_id, subscriber_hash, body, opts = {})
|
869
871
|
fail ArgumentError, "Missing required param: 'list_id'" if list_id.nil?
|
870
872
|
fail ArgumentError, "Missing required param: 'subscriber_hash'" if subscriber_hash.nil?
|
873
|
+
fail ArgumentError, "Missing required param: 'body'" if body.nil?
|
871
874
|
|
872
875
|
query_params = {}
|
873
|
-
post_body = @api_client.object_to_http_body(
|
876
|
+
post_body = @api_client.object_to_http_body(body)
|
874
877
|
|
875
878
|
local_var_path = '/lists/{list_id}/members/{subscriber_hash}/tags'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
|
876
879
|
data = @api_client.call_api(:POST, local_var_path,
|
@@ -893,7 +896,7 @@ module MailchimpMarketing
|
|
893
896
|
return data
|
894
897
|
end
|
895
898
|
|
896
|
-
# Batch subscribe or
|
899
|
+
# Batch subscribe or unsubscribe
|
897
900
|
def batch_list_members(list_id, body, opts = {})
|
898
901
|
fail ArgumentError, "Missing required param: 'list_id'" if list_id.nil?
|
899
902
|
fail ArgumentError, "Missing required param: 'body'" if body.nil?
|
@@ -973,12 +976,13 @@ module MailchimpMarketing
|
|
973
976
|
end
|
974
977
|
|
975
978
|
# Add member note
|
976
|
-
def create_list_member_note(list_id, subscriber_hash, opts = {})
|
979
|
+
def create_list_member_note(list_id, subscriber_hash, body, opts = {})
|
977
980
|
fail ArgumentError, "Missing required param: 'list_id'" if list_id.nil?
|
978
981
|
fail ArgumentError, "Missing required param: 'subscriber_hash'" if subscriber_hash.nil?
|
982
|
+
fail ArgumentError, "Missing required param: 'body'" if body.nil?
|
979
983
|
|
980
984
|
query_params = {}
|
981
|
-
post_body = @api_client.object_to_http_body(
|
985
|
+
post_body = @api_client.object_to_http_body(body)
|
982
986
|
|
983
987
|
local_var_path = '/lists/{list_id}/members/{subscriber_hash}/notes'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
|
984
988
|
data = @api_client.call_api(:POST, local_var_path,
|
@@ -1107,11 +1111,12 @@ module MailchimpMarketing
|
|
1107
1111
|
end
|
1108
1112
|
|
1109
1113
|
# Preview segment
|
1110
|
-
def preview_segment(list_id, opts = {})
|
1114
|
+
def preview_segment(list_id, body, opts = {})
|
1111
1115
|
fail ArgumentError, "Missing required param: 'list_id'" if list_id.nil?
|
1116
|
+
fail ArgumentError, "Missing required param: 'body'" if body.nil?
|
1112
1117
|
|
1113
1118
|
query_params = {}
|
1114
|
-
post_body = @api_client.object_to_http_body(
|
1119
|
+
post_body = @api_client.object_to_http_body(body)
|
1115
1120
|
|
1116
1121
|
local_var_path = '/lists/{list_id}/preview-segment'.sub('{' + 'list_id' + '}', list_id.to_s)
|
1117
1122
|
data = @api_client.call_api(:POST, local_var_path,
|
@@ -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: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -37,7 +37,8 @@ module MailchimpMarketing
|
|
37
37
|
# List templates
|
38
38
|
def list(opts = {})
|
39
39
|
fail ArgumentError, 'invalid value for "opts[:"count"]", must be smaller than or equal to 1000.' if !opts[:'count'].nil? && opts[:'count'] > 1000
|
40
|
-
fail ArgumentError, 'invalid value for "sort_field", must be one of date_created, name' if opts[:'sort_field'] && !['date_created', 'name'].include?(opts[:'sort_field'])
|
40
|
+
fail ArgumentError, 'invalid value for "sort_field", must be one of date_created, date_edited, name' if opts[:'sort_field'] && !['date_created', 'date_edited', 'name'].include?(opts[:'sort_field'])
|
41
|
+
fail ArgumentError, 'invalid value for "sort_dir", must be one of ASC, DESC' if opts[:'sort_dir'] && !['ASC', 'DESC'].include?(opts[:'sort_dir'])
|
41
42
|
|
42
43
|
query_params = {}
|
43
44
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
|
@@ -45,12 +46,13 @@ module MailchimpMarketing
|
|
45
46
|
query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
|
46
47
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
47
48
|
query_params[:'created_by'] = opts[:'created_by'] if !opts[:'created_by'].nil?
|
48
|
-
query_params[:'
|
49
|
-
query_params[:'
|
49
|
+
query_params[:'since_date_created'] = opts[:'since_date_created'] if !opts[:'since_date_created'].nil?
|
50
|
+
query_params[:'before_date_created'] = opts[:'before_date_created'] if !opts[:'before_date_created'].nil?
|
50
51
|
query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
|
51
52
|
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
52
53
|
query_params[:'folder_id'] = opts[:'folder_id'] if !opts[:'folder_id'].nil?
|
53
54
|
query_params[:'sort_field'] = opts[:'sort_field'] if !opts[:'sort_field'].nil?
|
55
|
+
query_params[:'sort_dir'] = opts[:'sort_dir'] if !opts[:'sort_dir'].nil?
|
54
56
|
post_body = nil
|
55
57
|
|
56
58
|
local_var_path = '/templates'
|
@@ -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: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.28
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.12
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module MailchimpMarketing
|
14
|
-
VERSION = '3.0.
|
14
|
+
VERSION = '3.0.28'
|
15
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: MailchimpMarketing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.28
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Swagger-Codegen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|