MailchimpMarketing 3.0.22 → 3.0.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/MailchimpMarketing.gemspec +1 -1
  3. data/README.md +9 -5
  4. data/lib/MailchimpMarketing.rb +1 -1
  5. data/lib/MailchimpMarketing/api/activity_feed_api.rb +1 -1
  6. data/lib/MailchimpMarketing/api/authorized_apps_api.rb +1 -15
  7. data/lib/MailchimpMarketing/api/automations_api.rb +3 -18
  8. data/lib/MailchimpMarketing/api/batch_webhooks_api.rb +1 -1
  9. data/lib/MailchimpMarketing/api/batches_api.rb +1 -1
  10. data/lib/MailchimpMarketing/api/campaign_folders_api.rb +1 -1
  11. data/lib/MailchimpMarketing/api/campaigns_api.rb +1 -1
  12. data/lib/MailchimpMarketing/api/connected_sites_api.rb +1 -1
  13. data/lib/MailchimpMarketing/api/conversations_api.rb +1 -1
  14. data/lib/MailchimpMarketing/api/ecommerce_api.rb +1 -1
  15. data/lib/MailchimpMarketing/api/facebook_ads_api.rb +1 -1
  16. data/lib/MailchimpMarketing/api/file_manager_api.rb +1 -1
  17. data/lib/MailchimpMarketing/api/landing_pages_api.rb +1 -1
  18. data/lib/MailchimpMarketing/api/lists_api.rb +17 -12
  19. data/lib/MailchimpMarketing/api/ping_api.rb +1 -1
  20. data/lib/MailchimpMarketing/api/reporting_api.rb +1 -1
  21. data/lib/MailchimpMarketing/api/reports_api.rb +1 -1
  22. data/lib/MailchimpMarketing/api/root_api.rb +1 -1
  23. data/lib/MailchimpMarketing/api/search_campaigns_api.rb +1 -1
  24. data/lib/MailchimpMarketing/api/search_members_api.rb +1 -1
  25. data/lib/MailchimpMarketing/api/template_folders_api.rb +1 -1
  26. data/lib/MailchimpMarketing/api/templates_api.rb +6 -4
  27. data/lib/MailchimpMarketing/api/verified_domains_api.rb +1 -1
  28. data/lib/MailchimpMarketing/api_client.rb +1 -1
  29. data/lib/MailchimpMarketing/api_error.rb +1 -1
  30. data/lib/MailchimpMarketing/configuration.rb +1 -1
  31. data/lib/MailchimpMarketing/version.rb +2 -2
  32. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ed83466be85dfa8cb4d170a55d447aedd8fd83d626f741b3a1821f98eddf19a
4
- data.tar.gz: cc5b27f7a7a04f857fbad1e44509465a73df683649adc12c790bc121810d6be3
3
+ metadata.gz: 6d9623cc3fb4f002662f5c6c64a5920b8eb68a5b2ed3866ab662f5c8dc8aab57
4
+ data.tar.gz: 8b04c2ddf38c0991f80ae4b064d67128b1aa19caa2783313432ed90251e4e185
5
5
  SHA512:
6
- metadata.gz: f0bac2ba6e6da598fc6fc8954e66e9966e60bb7bb660c74643d29f9cdf47cd5564bc81ee2833e89eed23d6d23e2c63036c3c8fcd2ac4d8c62c7fe8084d09bfa3
7
- data.tar.gz: 2ee67ebd1f332e83af9b8f8bc7058ae1d5f0e55aa79c2f2725f79beecce86a4f369daa213991ec21c76e71ce57f149ccc635a6ebc3e3d12ad4d23bd36b4295cc
6
+ metadata.gz: a88be8d2300ae37d7687a91fd4cb5f2586e4a923b1581796a5ab9ea7f80eef7915ab0a2551ba6a676f779aaec500eaec7401b74731a8a2c1d73b63e251addbe2
7
+ data.tar.gz: 35f6fa0919cfb958a609067a2cd4cfe25e1a613b0340436fc7d9bc7461eda76b7a6af4416143b0b825aecbd5ae1b1ea5d74029bac62500b2079c9f95bad1805e
@@ -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.22
8
+ OpenAPI spec version: 3.0.27
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.22.gem
24
- gem 'MailchimpMarketing', '~> 3.0.22'
29
+ gem install ./MailchimpMarketing-3.0.27.gem
30
+ gem 'MailchimpMarketing', '~> 3.0.27'
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 |
@@ -96,7 +101,6 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
96
101
  | **automations.list_workflow_email_subscribers_removed** | /automations/{workflow_id}/removed-subscribers |
97
102
  | **automations.get_removed_workflow_email_subscriber** | /automations/{workflow_id}/removed-subscribers/{subscriber_hash} |
98
103
  | **automations.update_workflow_email** | /automations/{workflow_id}/emails/{workflow_email_id} |
99
- | **automations.update** | /automations/{workflow_id} |
100
104
  | **automations.create** | /automations |
101
105
  | **automations.pause_all_emails** | /automations/{workflow_id}/actions/pause-all-emails |
102
106
  | **automations.start_all_emails** | /automations/{workflow_id}/actions/start-all-emails |
@@ -341,7 +345,7 @@ All URIs are relative to *https://server.api.mailchimp.com/3.0*
341
345
  | **verifiedDomains.submit_domain_verification** | /verified-domains/{domain_name}/actions/verify |
342
346
 
343
347
 
344
- ## Additional Client Libraries
348
+ ## Additional Libraries
345
349
 
346
350
  Mailchimp Marketing libraries are available in the following languages:
347
351
 
@@ -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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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
@@ -61,8 +61,8 @@ module MailchimpMarketing
61
61
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
62
62
  query_params[:'before_create_time'] = opts[:'before_create_time'] if !opts[:'before_create_time'].nil?
63
63
  query_params[:'since_create_time'] = opts[:'since_create_time'] if !opts[:'since_create_time'].nil?
64
- query_params[:'before_send_time'] = opts[:'before_send_time'] if !opts[:'before_send_time'].nil?
65
- query_params[:'since_send_time'] = opts[:'since_send_time'] if !opts[:'since_send_time'].nil?
64
+ query_params[:'before_start_time'] = opts[:'before_start_time'] if !opts[:'before_start_time'].nil?
65
+ query_params[:'since_start_time'] = opts[:'since_start_time'] if !opts[:'since_start_time'].nil?
66
66
  query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
67
67
  post_body = nil
68
68
 
@@ -194,21 +194,6 @@ module MailchimpMarketing
194
194
  return data
195
195
  end
196
196
 
197
- # Update automation
198
- def update(workflow_id, body, opts = {})
199
- fail ArgumentError, "Missing required param: 'workflow_id'" if workflow_id.nil?
200
- fail ArgumentError, "Missing required param: 'body'" if body.nil?
201
-
202
- query_params = {}
203
- post_body = @api_client.object_to_http_body(body)
204
-
205
- local_var_path = '/automations/{workflow_id}'.sub('{' + 'workflow_id' + '}', workflow_id.to_s)
206
- data = @api_client.call_api(:PATCH, local_var_path,
207
- :query_params => query_params,
208
- :body => post_body)
209
- return data
210
- end
211
-
212
197
  # Add automation
213
198
  def create(body, opts = {})
214
199
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
@@ -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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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(opts[:'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(opts[:'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(opts[:'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 unsubscibe
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(opts[:'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(opts[:'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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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[:'since_created_at'] = opts[:'since_created_at'] if !opts[:'since_created_at'].nil?
49
- query_params[:'before_created_at'] = opts[:'before_created_at'] if !opts[:'before_created_at'].nil?
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22
6
+ OpenAPI spec version: 3.0.27
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.22'
14
+ VERSION = '3.0.27'
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.22
4
+ version: 3.0.27
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-10-13 00:00:00.000000000 Z
11
+ date: 2020-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon