MailchimpMarketing 3.0.10 → 3.0.15
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/LICENSE +53 -0
 - data/MailchimpMarketing.gemspec +1 -1
 - data/README.md +2 -2
 - data/lib/MailchimpMarketing.rb +1 -1
 - data/lib/MailchimpMarketing/api/activity_feed_api.rb +5 -5
 - data/lib/MailchimpMarketing/api/authorized_apps_api.rb +7 -7
 - data/lib/MailchimpMarketing/api/automations_api.rb +39 -39
 - data/lib/MailchimpMarketing/api/batch_webhooks_api.rb +11 -11
 - data/lib/MailchimpMarketing/api/batches_api.rb +9 -9
 - data/lib/MailchimpMarketing/api/campaign_folders_api.rb +11 -11
 - data/lib/MailchimpMarketing/api/campaigns_api.rb +45 -45
 - data/lib/MailchimpMarketing/api/connected_sites_api.rb +11 -11
 - data/lib/MailchimpMarketing/api/conversations_api.rb +11 -11
 - data/lib/MailchimpMarketing/api/dashboard_api.rb +13 -13
 - data/lib/MailchimpMarketing/api/ecommerce_api.rb +119 -119
 - data/lib/MailchimpMarketing/api/external_auths_api.rb +7 -7
 - data/lib/MailchimpMarketing/api/facebook_ads_api.rb +5 -5
 - data/lib/MailchimpMarketing/api/file_manager_api.rb +23 -23
 - data/lib/MailchimpMarketing/api/landing_pages_api.rb +17 -17
 - data/lib/MailchimpMarketing/api/lists_api.rb +133 -133
 - data/lib/MailchimpMarketing/api/ping_api.rb +3 -3
 - data/lib/MailchimpMarketing/api/postcards_api.rb +3 -3
 - data/lib/MailchimpMarketing/api/reporting_api.rb +13 -13
 - data/lib/MailchimpMarketing/api/reports_api.rb +45 -45
 - data/lib/MailchimpMarketing/api/root_api.rb +3 -3
 - data/lib/MailchimpMarketing/api/search_campaigns_api.rb +3 -3
 - data/lib/MailchimpMarketing/api/search_members_api.rb +3 -3
 - data/lib/MailchimpMarketing/api/template_folders_api.rb +11 -11
 - data/lib/MailchimpMarketing/api/templates_api.rb +13 -13
 - data/lib/MailchimpMarketing/api/verified_domains_api.rb +11 -11
 - data/lib/MailchimpMarketing/api_client.rb +11 -9
 - data/lib/MailchimpMarketing/api_error.rb +1 -1
 - data/lib/MailchimpMarketing/configuration.rb +1 -1
 - data/lib/MailchimpMarketing/version.rb +2 -2
 - metadata +3 -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: 3.0. 
     | 
| 
      
 6 
     | 
    
         
            +
            OpenAPI spec version: 3.0.15
         
     | 
| 
       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
         
     | 
| 
         @@ -30,10 +30,10 @@ module MailchimpMarketing 
     | 
|
| 
       30 
30 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       31 
31 
     | 
    
         | 
| 
       32 
32 
     | 
    
         
             
                  local_var_path = '/external-auths/{system_id}'.sub('{' + 'system_id' + '}', system_id.to_s)
         
     | 
| 
       33 
     | 
    
         
            -
                  data 
     | 
| 
      
 33 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       34 
34 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       35 
35 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       36 
     | 
    
         
            -
                  return data 
     | 
| 
      
 36 
     | 
    
         
            +
                  return data
         
     | 
| 
       37 
37 
     | 
    
         
             
                end
         
     | 
| 
       38 
38 
     | 
    
         | 
| 
       39 
39 
     | 
    
         
             
                # List external authentications
         
     | 
| 
         @@ -48,10 +48,10 @@ module MailchimpMarketing 
     | 
|
| 
       48 
48 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       49 
49 
     | 
    
         | 
| 
       50 
50 
     | 
    
         
             
                  local_var_path = '/external-auths'
         
     | 
| 
       51 
     | 
    
         
            -
                  data 
     | 
| 
      
 51 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       52 
52 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       53 
53 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       54 
     | 
    
         
            -
                  return data 
     | 
| 
      
 54 
     | 
    
         
            +
                  return data
         
     | 
| 
       55 
55 
     | 
    
         
             
                end
         
     | 
| 
       56 
56 
     | 
    
         | 
| 
       57 
57 
     | 
    
         
             
                # Add external authentication
         
     | 
| 
         @@ -62,10 +62,10 @@ module MailchimpMarketing 
     | 
|
| 
       62 
62 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       63 
63 
     | 
    
         | 
| 
       64 
64 
     | 
    
         
             
                  local_var_path = '/external-auths'
         
     | 
| 
       65 
     | 
    
         
            -
                  data 
     | 
| 
      
 65 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       66 
66 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       67 
67 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       68 
     | 
    
         
            -
                  return data 
     | 
| 
      
 68 
     | 
    
         
            +
                  return data
         
     | 
| 
       69 
69 
     | 
    
         
             
                end
         
     | 
| 
       70 
70 
     | 
    
         
             
              end
         
     | 
| 
       71 
71 
     | 
    
         
             
            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.15
         
     | 
| 
       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
         
     | 
| 
         @@ -36,10 +36,10 @@ module MailchimpMarketing 
     | 
|
| 
       36 
36 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       37 
37 
     | 
    
         | 
| 
       38 
38 
     | 
    
         
             
                  local_var_path = '/facebook-ads'
         
     | 
| 
       39 
     | 
    
         
            -
                  data 
     | 
| 
      
 39 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       40 
40 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       41 
41 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       42 
     | 
    
         
            -
                  return data 
     | 
| 
      
 42 
     | 
    
         
            +
                  return data
         
     | 
| 
       43 
43 
     | 
    
         
             
                end
         
     | 
| 
       44 
44 
     | 
    
         | 
| 
       45 
45 
     | 
    
         
             
                # Get facebook ad info
         
     | 
| 
         @@ -52,10 +52,10 @@ module MailchimpMarketing 
     | 
|
| 
       52 
52 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       53 
53 
     | 
    
         | 
| 
       54 
54 
     | 
    
         
             
                  local_var_path = '/facebook-ads/{outreach_id}'.sub('{' + 'outreach_id' + '}', outreach_id.to_s)
         
     | 
| 
       55 
     | 
    
         
            -
                  data 
     | 
| 
      
 55 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       56 
56 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       57 
57 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       58 
     | 
    
         
            -
                  return data 
     | 
| 
      
 58 
     | 
    
         
            +
                  return data
         
     | 
| 
       59 
59 
     | 
    
         
             
                end
         
     | 
| 
       60 
60 
     | 
    
         
             
              end
         
     | 
| 
       61 
61 
     | 
    
         
             
            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.15
         
     | 
| 
       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
         
     | 
| 
         @@ -28,10 +28,10 @@ module MailchimpMarketing 
     | 
|
| 
       28 
28 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       29 
29 
     | 
    
         | 
| 
       30 
30 
     | 
    
         
             
                  local_var_path = '/file-manager/files/{file_id}'.sub('{' + 'file_id' + '}', file_id.to_s)
         
     | 
| 
       31 
     | 
    
         
            -
                  data 
     | 
| 
      
 31 
     | 
    
         
            +
                  data = @api_client.call_api(:DELETE, local_var_path,
         
     | 
| 
       32 
32 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       33 
33 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       34 
     | 
    
         
            -
                  return data 
     | 
| 
      
 34 
     | 
    
         
            +
                  return data
         
     | 
| 
       35 
35 
     | 
    
         
             
                end
         
     | 
| 
       36 
36 
     | 
    
         | 
| 
       37 
37 
     | 
    
         
             
                # Delete folder
         
     | 
| 
         @@ -42,10 +42,10 @@ module MailchimpMarketing 
     | 
|
| 
       42 
42 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       43 
43 
     | 
    
         | 
| 
       44 
44 
     | 
    
         
             
                  local_var_path = '/file-manager/folders/{folder_id}'.sub('{' + 'folder_id' + '}', folder_id.to_s)
         
     | 
| 
       45 
     | 
    
         
            -
                  data 
     | 
| 
      
 45 
     | 
    
         
            +
                  data = @api_client.call_api(:DELETE, local_var_path,
         
     | 
| 
       46 
46 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       47 
47 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       48 
     | 
    
         
            -
                  return data 
     | 
| 
      
 48 
     | 
    
         
            +
                  return data
         
     | 
| 
       49 
49 
     | 
    
         
             
                end
         
     | 
| 
       50 
50 
     | 
    
         | 
| 
       51 
51 
     | 
    
         
             
                # List file manager resources
         
     | 
| 
         @@ -55,10 +55,10 @@ module MailchimpMarketing 
     | 
|
| 
       55 
55 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       56 
56 
     | 
    
         | 
| 
       57 
57 
     | 
    
         
             
                  local_var_path = '/file-manager'
         
     | 
| 
       58 
     | 
    
         
            -
                  data 
     | 
| 
      
 58 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       59 
59 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       60 
60 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       61 
     | 
    
         
            -
                  return data 
     | 
| 
      
 61 
     | 
    
         
            +
                  return data
         
     | 
| 
       62 
62 
     | 
    
         
             
                end
         
     | 
| 
       63 
63 
     | 
    
         | 
| 
       64 
64 
     | 
    
         
             
                # List stored files
         
     | 
| 
         @@ -81,10 +81,10 @@ module MailchimpMarketing 
     | 
|
| 
       81 
81 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       82 
82 
     | 
    
         | 
| 
       83 
83 
     | 
    
         
             
                  local_var_path = '/file-manager/files'
         
     | 
| 
       84 
     | 
    
         
            -
                  data 
     | 
| 
      
 84 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       85 
85 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       86 
86 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       87 
     | 
    
         
            -
                  return data 
     | 
| 
      
 87 
     | 
    
         
            +
                  return data
         
     | 
| 
       88 
88 
     | 
    
         
             
                end
         
     | 
| 
       89 
89 
     | 
    
         | 
| 
       90 
90 
     | 
    
         
             
                # Get file
         
     | 
| 
         @@ -97,10 +97,10 @@ module MailchimpMarketing 
     | 
|
| 
       97 
97 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       98 
98 
     | 
    
         | 
| 
       99 
99 
     | 
    
         
             
                  local_var_path = '/file-manager/files/{file_id}'.sub('{' + 'file_id' + '}', file_id.to_s)
         
     | 
| 
       100 
     | 
    
         
            -
                  data 
     | 
| 
      
 100 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       101 
101 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       102 
102 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       103 
     | 
    
         
            -
                  return data 
     | 
| 
      
 103 
     | 
    
         
            +
                  return data
         
     | 
| 
       104 
104 
     | 
    
         
             
                end
         
     | 
| 
       105 
105 
     | 
    
         | 
| 
       106 
106 
     | 
    
         
             
                # List folders
         
     | 
| 
         @@ -118,10 +118,10 @@ module MailchimpMarketing 
     | 
|
| 
       118 
118 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       119 
119 
     | 
    
         | 
| 
       120 
120 
     | 
    
         
             
                  local_var_path = '/file-manager/folders'
         
     | 
| 
       121 
     | 
    
         
            -
                  data 
     | 
| 
      
 121 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       122 
122 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       123 
123 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       124 
     | 
    
         
            -
                  return data 
     | 
| 
      
 124 
     | 
    
         
            +
                  return data
         
     | 
| 
       125 
125 
     | 
    
         
             
                end
         
     | 
| 
       126 
126 
     | 
    
         | 
| 
       127 
127 
     | 
    
         
             
                # Get folder
         
     | 
| 
         @@ -134,10 +134,10 @@ module MailchimpMarketing 
     | 
|
| 
       134 
134 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       135 
135 
     | 
    
         | 
| 
       136 
136 
     | 
    
         
             
                  local_var_path = '/file-manager/folders/{folder_id}'.sub('{' + 'folder_id' + '}', folder_id.to_s)
         
     | 
| 
       137 
     | 
    
         
            -
                  data 
     | 
| 
      
 137 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       138 
138 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       139 
139 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       140 
     | 
    
         
            -
                  return data 
     | 
| 
      
 140 
     | 
    
         
            +
                  return data
         
     | 
| 
       141 
141 
     | 
    
         
             
                end
         
     | 
| 
       142 
142 
     | 
    
         | 
| 
       143 
143 
     | 
    
         
             
                # Update file
         
     | 
| 
         @@ -149,10 +149,10 @@ module MailchimpMarketing 
     | 
|
| 
       149 
149 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       150 
150 
     | 
    
         | 
| 
       151 
151 
     | 
    
         
             
                  local_var_path = '/file-manager/files/{file_id}'.sub('{' + 'file_id' + '}', file_id.to_s)
         
     | 
| 
       152 
     | 
    
         
            -
                  data 
     | 
| 
      
 152 
     | 
    
         
            +
                  data = @api_client.call_api(:PATCH, local_var_path,
         
     | 
| 
       153 
153 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       154 
154 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       155 
     | 
    
         
            -
                  return data 
     | 
| 
      
 155 
     | 
    
         
            +
                  return data
         
     | 
| 
       156 
156 
     | 
    
         
             
                end
         
     | 
| 
       157 
157 
     | 
    
         | 
| 
       158 
158 
     | 
    
         
             
                # Update folder
         
     | 
| 
         @@ -164,10 +164,10 @@ module MailchimpMarketing 
     | 
|
| 
       164 
164 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       165 
165 
     | 
    
         | 
| 
       166 
166 
     | 
    
         
             
                  local_var_path = '/file-manager/folders/{folder_id}'.sub('{' + 'folder_id' + '}', folder_id.to_s)
         
     | 
| 
       167 
     | 
    
         
            -
                  data 
     | 
| 
      
 167 
     | 
    
         
            +
                  data = @api_client.call_api(:PATCH, local_var_path,
         
     | 
| 
       168 
168 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       169 
169 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       170 
     | 
    
         
            -
                  return data 
     | 
| 
      
 170 
     | 
    
         
            +
                  return data
         
     | 
| 
       171 
171 
     | 
    
         
             
                end
         
     | 
| 
       172 
172 
     | 
    
         | 
| 
       173 
173 
     | 
    
         
             
                # Add file
         
     | 
| 
         @@ -178,10 +178,10 @@ module MailchimpMarketing 
     | 
|
| 
       178 
178 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       179 
179 
     | 
    
         | 
| 
       180 
180 
     | 
    
         
             
                  local_var_path = '/file-manager/files'
         
     | 
| 
       181 
     | 
    
         
            -
                  data 
     | 
| 
      
 181 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       182 
182 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       183 
183 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       184 
     | 
    
         
            -
                  return data 
     | 
| 
      
 184 
     | 
    
         
            +
                  return data
         
     | 
| 
       185 
185 
     | 
    
         
             
                end
         
     | 
| 
       186 
186 
     | 
    
         | 
| 
       187 
187 
     | 
    
         
             
                # Add folder
         
     | 
| 
         @@ -192,10 +192,10 @@ module MailchimpMarketing 
     | 
|
| 
       192 
192 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       193 
193 
     | 
    
         | 
| 
       194 
194 
     | 
    
         
             
                  local_var_path = '/file-manager/folders'
         
     | 
| 
       195 
     | 
    
         
            -
                  data 
     | 
| 
      
 195 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       196 
196 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       197 
197 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       198 
     | 
    
         
            -
                  return data 
     | 
| 
      
 198 
     | 
    
         
            +
                  return data
         
     | 
| 
       199 
199 
     | 
    
         
             
                end
         
     | 
| 
       200 
200 
     | 
    
         
             
              end
         
     | 
| 
       201 
201 
     | 
    
         
             
            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.15
         
     | 
| 
       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
         
     | 
| 
         @@ -28,10 +28,10 @@ module MailchimpMarketing 
     | 
|
| 
       28 
28 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       29 
29 
     | 
    
         | 
| 
       30 
30 
     | 
    
         
             
                  local_var_path = '/landing-pages/{page_id}'.sub('{' + 'page_id' + '}', page_id.to_s)
         
     | 
| 
       31 
     | 
    
         
            -
                  data 
     | 
| 
      
 31 
     | 
    
         
            +
                  data = @api_client.call_api(:DELETE, local_var_path,
         
     | 
| 
       32 
32 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       33 
33 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       34 
     | 
    
         
            -
                  return data 
     | 
| 
      
 34 
     | 
    
         
            +
                  return data
         
     | 
| 
       35 
35 
     | 
    
         
             
                end
         
     | 
| 
       36 
36 
     | 
    
         | 
| 
       37 
37 
     | 
    
         
             
                # List landing pages
         
     | 
| 
         @@ -49,10 +49,10 @@ module MailchimpMarketing 
     | 
|
| 
       49 
49 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       50 
50 
     | 
    
         | 
| 
       51 
51 
     | 
    
         
             
                  local_var_path = '/landing-pages'
         
     | 
| 
       52 
     | 
    
         
            -
                  data 
     | 
| 
      
 52 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       53 
53 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       54 
54 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       55 
     | 
    
         
            -
                  return data 
     | 
| 
      
 55 
     | 
    
         
            +
                  return data
         
     | 
| 
       56 
56 
     | 
    
         
             
                end
         
     | 
| 
       57 
57 
     | 
    
         | 
| 
       58 
58 
     | 
    
         
             
                # Get landing page info
         
     | 
| 
         @@ -65,10 +65,10 @@ module MailchimpMarketing 
     | 
|
| 
       65 
65 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       66 
66 
     | 
    
         | 
| 
       67 
67 
     | 
    
         
             
                  local_var_path = '/landing-pages/{page_id}'.sub('{' + 'page_id' + '}', page_id.to_s)
         
     | 
| 
       68 
     | 
    
         
            -
                  data 
     | 
| 
      
 68 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       69 
69 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       70 
70 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       71 
     | 
    
         
            -
                  return data 
     | 
| 
      
 71 
     | 
    
         
            +
                  return data
         
     | 
| 
       72 
72 
     | 
    
         
             
                end
         
     | 
| 
       73 
73 
     | 
    
         | 
| 
       74 
74 
     | 
    
         
             
                # Get landing page content
         
     | 
| 
         @@ -81,10 +81,10 @@ module MailchimpMarketing 
     | 
|
| 
       81 
81 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       82 
82 
     | 
    
         | 
| 
       83 
83 
     | 
    
         
             
                  local_var_path = '/landing-pages/{page_id}/content'.sub('{' + 'page_id' + '}', page_id.to_s)
         
     | 
| 
       84 
     | 
    
         
            -
                  data 
     | 
| 
      
 84 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       85 
85 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       86 
86 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       87 
     | 
    
         
            -
                  return data 
     | 
| 
      
 87 
     | 
    
         
            +
                  return data
         
     | 
| 
       88 
88 
     | 
    
         
             
                end
         
     | 
| 
       89 
89 
     | 
    
         | 
| 
       90 
90 
     | 
    
         
             
                # Update landing page
         
     | 
| 
         @@ -96,10 +96,10 @@ module MailchimpMarketing 
     | 
|
| 
       96 
96 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       97 
97 
     | 
    
         | 
| 
       98 
98 
     | 
    
         
             
                  local_var_path = '/landing-pages/{page_id}'.sub('{' + 'page_id' + '}', page_id.to_s)
         
     | 
| 
       99 
     | 
    
         
            -
                  data 
     | 
| 
      
 99 
     | 
    
         
            +
                  data = @api_client.call_api(:PATCH, local_var_path,
         
     | 
| 
       100 
100 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       101 
101 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       102 
     | 
    
         
            -
                  return data 
     | 
| 
      
 102 
     | 
    
         
            +
                  return data
         
     | 
| 
       103 
103 
     | 
    
         
             
                end
         
     | 
| 
       104 
104 
     | 
    
         | 
| 
       105 
105 
     | 
    
         
             
                # Add landing page
         
     | 
| 
         @@ -110,10 +110,10 @@ module MailchimpMarketing 
     | 
|
| 
       110 
110 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       111 
111 
     | 
    
         | 
| 
       112 
112 
     | 
    
         
             
                  local_var_path = '/landing-pages'
         
     | 
| 
       113 
     | 
    
         
            -
                  data 
     | 
| 
      
 113 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       114 
114 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       115 
115 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       116 
     | 
    
         
            -
                  return data 
     | 
| 
      
 116 
     | 
    
         
            +
                  return data
         
     | 
| 
       117 
117 
     | 
    
         
             
                end
         
     | 
| 
       118 
118 
     | 
    
         | 
| 
       119 
119 
     | 
    
         
             
                # Publish landing page
         
     | 
| 
         @@ -124,10 +124,10 @@ module MailchimpMarketing 
     | 
|
| 
       124 
124 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       125 
125 
     | 
    
         | 
| 
       126 
126 
     | 
    
         
             
                  local_var_path = '/landing-pages/{page_id}/actions/publish'.sub('{' + 'page_id' + '}', page_id.to_s)
         
     | 
| 
       127 
     | 
    
         
            -
                  data 
     | 
| 
      
 127 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       128 
128 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       129 
129 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       130 
     | 
    
         
            -
                  return data 
     | 
| 
      
 130 
     | 
    
         
            +
                  return data
         
     | 
| 
       131 
131 
     | 
    
         
             
                end
         
     | 
| 
       132 
132 
     | 
    
         | 
| 
       133 
133 
     | 
    
         
             
                # Unpublish landing page
         
     | 
| 
         @@ -138,10 +138,10 @@ module MailchimpMarketing 
     | 
|
| 
       138 
138 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       139 
139 
     | 
    
         | 
| 
       140 
140 
     | 
    
         
             
                  local_var_path = '/landing-pages/{page_id}/actions/unpublish'.sub('{' + 'page_id' + '}', page_id.to_s)
         
     | 
| 
       141 
     | 
    
         
            -
                  data 
     | 
| 
      
 141 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       142 
142 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       143 
143 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       144 
     | 
    
         
            -
                  return data 
     | 
| 
      
 144 
     | 
    
         
            +
                  return data
         
     | 
| 
       145 
145 
     | 
    
         
             
                end
         
     | 
| 
       146 
146 
     | 
    
         
             
              end
         
     | 
| 
       147 
147 
     | 
    
         
             
            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.15
         
     | 
| 
       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
         
     | 
| 
         @@ -28,10 +28,10 @@ module MailchimpMarketing 
     | 
|
| 
       28 
28 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       29 
29 
     | 
    
         | 
| 
       30 
30 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       31 
     | 
    
         
            -
                  data 
     | 
| 
      
 31 
     | 
    
         
            +
                  data = @api_client.call_api(:DELETE, local_var_path,
         
     | 
| 
       32 
32 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       33 
33 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       34 
     | 
    
         
            -
                  return data 
     | 
| 
      
 34 
     | 
    
         
            +
                  return data
         
     | 
| 
       35 
35 
     | 
    
         
             
                end
         
     | 
| 
       36 
36 
     | 
    
         | 
| 
       37 
37 
     | 
    
         
             
                # Delete interest category
         
     | 
| 
         @@ -43,10 +43,10 @@ module MailchimpMarketing 
     | 
|
| 
       43 
43 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       44 
44 
     | 
    
         | 
| 
       45 
45 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/interest-categories/{interest_category_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'interest_category_id' + '}', interest_category_id.to_s)
         
     | 
| 
       46 
     | 
    
         
            -
                  data 
     | 
| 
      
 46 
     | 
    
         
            +
                  data = @api_client.call_api(:DELETE, local_var_path,
         
     | 
| 
       47 
47 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       48 
48 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       49 
     | 
    
         
            -
                  return data 
     | 
| 
      
 49 
     | 
    
         
            +
                  return data
         
     | 
| 
       50 
50 
     | 
    
         
             
                end
         
     | 
| 
       51 
51 
     | 
    
         | 
| 
       52 
52 
     | 
    
         
             
                # Delete interest in category
         
     | 
| 
         @@ -59,10 +59,10 @@ module MailchimpMarketing 
     | 
|
| 
       59 
59 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       60 
60 
     | 
    
         | 
| 
       61 
61 
     | 
    
         
             
                  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)
         
     | 
| 
       62 
     | 
    
         
            -
                  data 
     | 
| 
      
 62 
     | 
    
         
            +
                  data = @api_client.call_api(:DELETE, local_var_path,
         
     | 
| 
       63 
63 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       64 
64 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       65 
     | 
    
         
            -
                  return data 
     | 
| 
      
 65 
     | 
    
         
            +
                  return data
         
     | 
| 
       66 
66 
     | 
    
         
             
                end
         
     | 
| 
       67 
67 
     | 
    
         | 
| 
       68 
68 
     | 
    
         
             
                # Archive list member
         
     | 
| 
         @@ -74,10 +74,10 @@ module MailchimpMarketing 
     | 
|
| 
       74 
74 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       75 
75 
     | 
    
         | 
| 
       76 
76 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/members/{subscriber_hash}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         
     | 
| 
       77 
     | 
    
         
            -
                  data 
     | 
| 
      
 77 
     | 
    
         
            +
                  data = @api_client.call_api(:DELETE, local_var_path,
         
     | 
| 
       78 
78 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       79 
79 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       80 
     | 
    
         
            -
                  return data 
     | 
| 
      
 80 
     | 
    
         
            +
                  return data
         
     | 
| 
       81 
81 
     | 
    
         
             
                end
         
     | 
| 
       82 
82 
     | 
    
         | 
| 
       83 
83 
     | 
    
         
             
                # Delete note
         
     | 
| 
         @@ -90,10 +90,10 @@ module MailchimpMarketing 
     | 
|
| 
       90 
90 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       91 
91 
     | 
    
         | 
| 
       92 
92 
     | 
    
         
             
                  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)
         
     | 
| 
       93 
     | 
    
         
            -
                  data 
     | 
| 
      
 93 
     | 
    
         
            +
                  data = @api_client.call_api(:DELETE, local_var_path,
         
     | 
| 
       94 
94 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       95 
95 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       96 
     | 
    
         
            -
                  return data 
     | 
| 
      
 96 
     | 
    
         
            +
                  return data
         
     | 
| 
       97 
97 
     | 
    
         
             
                end
         
     | 
| 
       98 
98 
     | 
    
         | 
| 
       99 
99 
     | 
    
         
             
                # Delete merge field
         
     | 
| 
         @@ -105,10 +105,10 @@ module MailchimpMarketing 
     | 
|
| 
       105 
105 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       106 
106 
     | 
    
         | 
| 
       107 
107 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/merge-fields/{merge_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'merge_id' + '}', merge_id.to_s)
         
     | 
| 
       108 
     | 
    
         
            -
                  data 
     | 
| 
      
 108 
     | 
    
         
            +
                  data = @api_client.call_api(:DELETE, local_var_path,
         
     | 
| 
       109 
109 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       110 
110 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       111 
     | 
    
         
            -
                  return data 
     | 
| 
      
 111 
     | 
    
         
            +
                  return data
         
     | 
| 
       112 
112 
     | 
    
         
             
                end
         
     | 
| 
       113 
113 
     | 
    
         | 
| 
       114 
114 
     | 
    
         
             
                # Delete segment
         
     | 
| 
         @@ -120,10 +120,10 @@ module MailchimpMarketing 
     | 
|
| 
       120 
120 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       121 
121 
     | 
    
         | 
| 
       122 
122 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/segments/{segment_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'segment_id' + '}', segment_id.to_s)
         
     | 
| 
       123 
     | 
    
         
            -
                  data 
     | 
| 
      
 123 
     | 
    
         
            +
                  data = @api_client.call_api(:DELETE, local_var_path,
         
     | 
| 
       124 
124 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       125 
125 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       126 
     | 
    
         
            -
                  return data 
     | 
| 
      
 126 
     | 
    
         
            +
                  return data
         
     | 
| 
       127 
127 
     | 
    
         
             
                end
         
     | 
| 
       128 
128 
     | 
    
         | 
| 
       129 
129 
     | 
    
         
             
                # Remove list member from segment
         
     | 
| 
         @@ -136,10 +136,10 @@ module MailchimpMarketing 
     | 
|
| 
       136 
136 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       137 
137 
     | 
    
         | 
| 
       138 
138 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/segments/{segment_id}/members/{subscriber_hash}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'segment_id' + '}', segment_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         
     | 
| 
       139 
     | 
    
         
            -
                  data 
     | 
| 
      
 139 
     | 
    
         
            +
                  data = @api_client.call_api(:DELETE, local_var_path,
         
     | 
| 
       140 
140 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       141 
141 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       142 
     | 
    
         
            -
                  return data 
     | 
| 
      
 142 
     | 
    
         
            +
                  return data
         
     | 
| 
       143 
143 
     | 
    
         
             
                end
         
     | 
| 
       144 
144 
     | 
    
         | 
| 
       145 
145 
     | 
    
         
             
                # Delete webhook
         
     | 
| 
         @@ -151,10 +151,10 @@ module MailchimpMarketing 
     | 
|
| 
       151 
151 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       152 
152 
     | 
    
         | 
| 
       153 
153 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/webhooks/{webhook_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'webhook_id' + '}', webhook_id.to_s)
         
     | 
| 
       154 
     | 
    
         
            -
                  data 
     | 
| 
      
 154 
     | 
    
         
            +
                  data = @api_client.call_api(:DELETE, local_var_path,
         
     | 
| 
       155 
155 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       156 
156 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       157 
     | 
    
         
            -
                  return data 
     | 
| 
      
 157 
     | 
    
         
            +
                  return data
         
     | 
| 
       158 
158 
     | 
    
         
             
                end
         
     | 
| 
       159 
159 
     | 
    
         | 
| 
       160 
160 
     | 
    
         
             
                # List member tags
         
     | 
| 
         @@ -171,10 +171,10 @@ module MailchimpMarketing 
     | 
|
| 
       171 
171 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       172 
172 
     | 
    
         | 
| 
       173 
173 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/tags'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         
     | 
| 
       174 
     | 
    
         
            -
                  data 
     | 
| 
      
 174 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       175 
175 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       176 
176 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       177 
     | 
    
         
            -
                  return data 
     | 
| 
      
 177 
     | 
    
         
            +
                  return data
         
     | 
| 
       178 
178 
     | 
    
         
             
                end
         
     | 
| 
       179 
179 
     | 
    
         | 
| 
       180 
180 
     | 
    
         
             
                # Get lists info
         
     | 
| 
         @@ -198,10 +198,10 @@ module MailchimpMarketing 
     | 
|
| 
       198 
198 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       199 
199 
     | 
    
         | 
| 
       200 
200 
     | 
    
         
             
                  local_var_path = '/lists'
         
     | 
| 
       201 
     | 
    
         
            -
                  data 
     | 
| 
      
 201 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       202 
202 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       203 
203 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       204 
     | 
    
         
            -
                  return data 
     | 
| 
      
 204 
     | 
    
         
            +
                  return data
         
     | 
| 
       205 
205 
     | 
    
         
             
                end
         
     | 
| 
       206 
206 
     | 
    
         | 
| 
       207 
207 
     | 
    
         
             
                # Get list info
         
     | 
| 
         @@ -214,10 +214,10 @@ module MailchimpMarketing 
     | 
|
| 
       214 
214 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       215 
215 
     | 
    
         | 
| 
       216 
216 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       217 
     | 
    
         
            -
                  data 
     | 
| 
      
 217 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       218 
218 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       219 
219 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       220 
     | 
    
         
            -
                  return data 
     | 
| 
      
 220 
     | 
    
         
            +
                  return data
         
     | 
| 
       221 
221 
     | 
    
         
             
                end
         
     | 
| 
       222 
222 
     | 
    
         | 
| 
       223 
223 
     | 
    
         
             
                # List abuse reports
         
     | 
| 
         @@ -233,10 +233,10 @@ module MailchimpMarketing 
     | 
|
| 
       233 
233 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       234 
234 
     | 
    
         | 
| 
       235 
235 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/abuse-reports'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       236 
     | 
    
         
            -
                  data 
     | 
| 
      
 236 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       237 
237 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       238 
238 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       239 
     | 
    
         
            -
                  return data 
     | 
| 
      
 239 
     | 
    
         
            +
                  return data
         
     | 
| 
       240 
240 
     | 
    
         
             
                end
         
     | 
| 
       241 
241 
     | 
    
         | 
| 
       242 
242 
     | 
    
         
             
                # Get abuse report
         
     | 
| 
         @@ -253,10 +253,10 @@ module MailchimpMarketing 
     | 
|
| 
       253 
253 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       254 
254 
     | 
    
         | 
| 
       255 
255 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/abuse-reports/{report_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'report_id' + '}', report_id.to_s)
         
     | 
| 
       256 
     | 
    
         
            -
                  data 
     | 
| 
      
 256 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       257 
257 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       258 
258 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       259 
     | 
    
         
            -
                  return data 
     | 
| 
      
 259 
     | 
    
         
            +
                  return data
         
     | 
| 
       260 
260 
     | 
    
         
             
                end
         
     | 
| 
       261 
261 
     | 
    
         | 
| 
       262 
262 
     | 
    
         
             
                # List recent activity
         
     | 
| 
         @@ -269,10 +269,10 @@ module MailchimpMarketing 
     | 
|
| 
       269 
269 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       270 
270 
     | 
    
         | 
| 
       271 
271 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/activity'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       272 
     | 
    
         
            -
                  data 
     | 
| 
      
 272 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       273 
273 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       274 
274 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       275 
     | 
    
         
            -
                  return data 
     | 
| 
      
 275 
     | 
    
         
            +
                  return data
         
     | 
| 
       276 
276 
     | 
    
         
             
                end
         
     | 
| 
       277 
277 
     | 
    
         | 
| 
       278 
278 
     | 
    
         
             
                # List top email clients
         
     | 
| 
         @@ -285,10 +285,10 @@ module MailchimpMarketing 
     | 
|
| 
       285 
285 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       286 
286 
     | 
    
         | 
| 
       287 
287 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/clients'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       288 
     | 
    
         
            -
                  data 
     | 
| 
      
 288 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       289 
289 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       290 
290 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       291 
     | 
    
         
            -
                  return data 
     | 
| 
      
 291 
     | 
    
         
            +
                  return data
         
     | 
| 
       292 
292 
     | 
    
         
             
                end
         
     | 
| 
       293 
293 
     | 
    
         | 
| 
       294 
294 
     | 
    
         
             
                # List external i ds
         
     | 
| 
         @@ -302,10 +302,10 @@ module MailchimpMarketing 
     | 
|
| 
       302 
302 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       303 
303 
     | 
    
         | 
| 
       304 
304 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/external-ids'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       305 
     | 
    
         
            -
                  data 
     | 
| 
      
 305 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       306 
306 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       307 
307 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       308 
     | 
    
         
            -
                  return data 
     | 
| 
      
 308 
     | 
    
         
            +
                  return data
         
     | 
| 
       309 
309 
     | 
    
         
             
                end
         
     | 
| 
       310 
310 
     | 
    
         | 
| 
       311 
311 
     | 
    
         
             
                # List growth history data
         
     | 
| 
         @@ -325,10 +325,10 @@ module MailchimpMarketing 
     | 
|
| 
       325 
325 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       326 
326 
     | 
    
         | 
| 
       327 
327 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/growth-history'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       328 
     | 
    
         
            -
                  data 
     | 
| 
      
 328 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       329 
329 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       330 
330 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       331 
     | 
    
         
            -
                  return data 
     | 
| 
      
 331 
     | 
    
         
            +
                  return data
         
     | 
| 
       332 
332 
     | 
    
         
             
                end
         
     | 
| 
       333 
333 
     | 
    
         | 
| 
       334 
334 
     | 
    
         
             
                # Get growth history by month
         
     | 
| 
         @@ -342,10 +342,10 @@ module MailchimpMarketing 
     | 
|
| 
       342 
342 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       343 
343 
     | 
    
         | 
| 
       344 
344 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/growth-history/{month}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'month' + '}', month.to_s)
         
     | 
| 
       345 
     | 
    
         
            -
                  data 
     | 
| 
      
 345 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       346 
346 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       347 
347 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       348 
     | 
    
         
            -
                  return data 
     | 
| 
      
 348 
     | 
    
         
            +
                  return data
         
     | 
| 
       349 
349 
     | 
    
         
             
                end
         
     | 
| 
       350 
350 
     | 
    
         | 
| 
       351 
351 
     | 
    
         
             
                # List interest categories
         
     | 
| 
         @@ -362,10 +362,10 @@ module MailchimpMarketing 
     | 
|
| 
       362 
362 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       363 
363 
     | 
    
         | 
| 
       364 
364 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/interest-categories'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       365 
     | 
    
         
            -
                  data 
     | 
| 
      
 365 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       366 
366 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       367 
367 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       368 
     | 
    
         
            -
                  return data 
     | 
| 
      
 368 
     | 
    
         
            +
                  return data
         
     | 
| 
       369 
369 
     | 
    
         
             
                end
         
     | 
| 
       370 
370 
     | 
    
         | 
| 
       371 
371 
     | 
    
         
             
                # Get interest category info
         
     | 
| 
         @@ -379,10 +379,10 @@ module MailchimpMarketing 
     | 
|
| 
       379 
379 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       380 
380 
     | 
    
         | 
| 
       381 
381 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/interest-categories/{interest_category_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'interest_category_id' + '}', interest_category_id.to_s)
         
     | 
| 
       382 
     | 
    
         
            -
                  data 
     | 
| 
      
 382 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       383 
383 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       384 
384 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       385 
     | 
    
         
            -
                  return data 
     | 
| 
      
 385 
     | 
    
         
            +
                  return data
         
     | 
| 
       386 
386 
     | 
    
         
             
                end
         
     | 
| 
       387 
387 
     | 
    
         | 
| 
       388 
388 
     | 
    
         
             
                # List interests in category
         
     | 
| 
         @@ -399,10 +399,10 @@ module MailchimpMarketing 
     | 
|
| 
       399 
399 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       400 
400 
     | 
    
         | 
| 
       401 
401 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/interest-categories/{interest_category_id}/interests'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'interest_category_id' + '}', interest_category_id.to_s)
         
     | 
| 
       402 
     | 
    
         
            -
                  data 
     | 
| 
      
 402 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       403 
403 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       404 
404 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       405 
     | 
    
         
            -
                  return data 
     | 
| 
      
 405 
     | 
    
         
            +
                  return data
         
     | 
| 
       406 
406 
     | 
    
         
             
                end
         
     | 
| 
       407 
407 
     | 
    
         | 
| 
       408 
408 
     | 
    
         
             
                # Get interest in category
         
     | 
| 
         @@ -417,10 +417,10 @@ module MailchimpMarketing 
     | 
|
| 
       417 
417 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       418 
418 
     | 
    
         | 
| 
       419 
419 
     | 
    
         
             
                  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)
         
     | 
| 
       420 
     | 
    
         
            -
                  data 
     | 
| 
      
 420 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       421 
421 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       422 
422 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       423 
     | 
    
         
            -
                  return data 
     | 
| 
      
 423 
     | 
    
         
            +
                  return data
         
     | 
| 
       424 
424 
     | 
    
         
             
                end
         
     | 
| 
       425 
425 
     | 
    
         | 
| 
       426 
426 
     | 
    
         
             
                # List locations
         
     | 
| 
         @@ -433,10 +433,10 @@ module MailchimpMarketing 
     | 
|
| 
       433 
433 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       434 
434 
     | 
    
         | 
| 
       435 
435 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/locations'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       436 
     | 
    
         
            -
                  data 
     | 
| 
      
 436 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       437 
437 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       438 
438 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       439 
     | 
    
         
            -
                  return data 
     | 
| 
      
 439 
     | 
    
         
            +
                  return data
         
     | 
| 
       440 
440 
     | 
    
         
             
                end
         
     | 
| 
       441 
441 
     | 
    
         | 
| 
       442 
442 
     | 
    
         
             
                # List members info
         
     | 
| 
         @@ -471,10 +471,10 @@ module MailchimpMarketing 
     | 
|
| 
       471 
471 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       472 
472 
     | 
    
         | 
| 
       473 
473 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/members'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       474 
     | 
    
         
            -
                  data 
     | 
| 
      
 474 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       475 
475 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       476 
476 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       477 
     | 
    
         
            -
                  return data 
     | 
| 
      
 477 
     | 
    
         
            +
                  return data
         
     | 
| 
       478 
478 
     | 
    
         
             
                end
         
     | 
| 
       479 
479 
     | 
    
         | 
| 
       480 
480 
     | 
    
         
             
                # Get member info
         
     | 
| 
         @@ -488,10 +488,10 @@ module MailchimpMarketing 
     | 
|
| 
       488 
488 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       489 
489 
     | 
    
         | 
| 
       490 
490 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/members/{subscriber_hash}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         
     | 
| 
       491 
     | 
    
         
            -
                  data 
     | 
| 
      
 491 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       492 
492 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       493 
493 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       494 
     | 
    
         
            -
                  return data 
     | 
| 
      
 494 
     | 
    
         
            +
                  return data
         
     | 
| 
       495 
495 
     | 
    
         
             
                end
         
     | 
| 
       496 
496 
     | 
    
         | 
| 
       497 
497 
     | 
    
         
             
                # View recent activity 50
         
     | 
| 
         @@ -506,10 +506,10 @@ module MailchimpMarketing 
     | 
|
| 
       506 
506 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       507 
507 
     | 
    
         | 
| 
       508 
508 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/activity'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         
     | 
| 
       509 
     | 
    
         
            -
                  data 
     | 
| 
      
 509 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       510 
510 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       511 
511 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       512 
     | 
    
         
            -
                  return data 
     | 
| 
      
 512 
     | 
    
         
            +
                  return data
         
     | 
| 
       513 
513 
     | 
    
         
             
                end
         
     | 
| 
       514 
514 
     | 
    
         | 
| 
       515 
515 
     | 
    
         
             
                # View recent activity 10
         
     | 
| 
         @@ -527,10 +527,10 @@ module MailchimpMarketing 
     | 
|
| 
       527 
527 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       528 
528 
     | 
    
         | 
| 
       529 
529 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/activity-feed'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         
     | 
| 
       530 
     | 
    
         
            -
                  data 
     | 
| 
      
 530 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       531 
531 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       532 
532 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       533 
     | 
    
         
            -
                  return data 
     | 
| 
      
 533 
     | 
    
         
            +
                  return data
         
     | 
| 
       534 
534 
     | 
    
         
             
                end
         
     | 
| 
       535 
535 
     | 
    
         | 
| 
       536 
536 
     | 
    
         
             
                # List member events
         
     | 
| 
         @@ -547,10 +547,10 @@ module MailchimpMarketing 
     | 
|
| 
       547 
547 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       548 
548 
     | 
    
         | 
| 
       549 
549 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/events'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         
     | 
| 
       550 
     | 
    
         
            -
                  data 
     | 
| 
      
 550 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       551 
551 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       552 
552 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       553 
     | 
    
         
            -
                  return data 
     | 
| 
      
 553 
     | 
    
         
            +
                  return data
         
     | 
| 
       554 
554 
     | 
    
         
             
                end
         
     | 
| 
       555 
555 
     | 
    
         | 
| 
       556 
556 
     | 
    
         
             
                # List member goal events
         
     | 
| 
         @@ -564,10 +564,10 @@ module MailchimpMarketing 
     | 
|
| 
       564 
564 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       565 
565 
     | 
    
         | 
| 
       566 
566 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/goals'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         
     | 
| 
       567 
     | 
    
         
            -
                  data 
     | 
| 
      
 567 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       568 
568 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       569 
569 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       570 
     | 
    
         
            -
                  return data 
     | 
| 
      
 570 
     | 
    
         
            +
                  return data
         
     | 
| 
       571 
571 
     | 
    
         
             
                end
         
     | 
| 
       572 
572 
     | 
    
         | 
| 
       573 
573 
     | 
    
         
             
                # List recent member notes
         
     | 
| 
         @@ -588,10 +588,10 @@ module MailchimpMarketing 
     | 
|
| 
       588 
588 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       589 
589 
     | 
    
         | 
| 
       590 
590 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/notes'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         
     | 
| 
       591 
     | 
    
         
            -
                  data 
     | 
| 
      
 591 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       592 
592 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       593 
593 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       594 
     | 
    
         
            -
                  return data 
     | 
| 
      
 594 
     | 
    
         
            +
                  return data
         
     | 
| 
       595 
595 
     | 
    
         
             
                end
         
     | 
| 
       596 
596 
     | 
    
         | 
| 
       597 
597 
     | 
    
         
             
                # Get member note
         
     | 
| 
         @@ -606,10 +606,10 @@ module MailchimpMarketing 
     | 
|
| 
       606 
606 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       607 
607 
     | 
    
         | 
| 
       608 
608 
     | 
    
         
             
                  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)
         
     | 
| 
       609 
     | 
    
         
            -
                  data 
     | 
| 
      
 609 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       610 
610 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       611 
611 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       612 
     | 
    
         
            -
                  return data 
     | 
| 
      
 612 
     | 
    
         
            +
                  return data
         
     | 
| 
       613 
613 
     | 
    
         
             
                end
         
     | 
| 
       614 
614 
     | 
    
         | 
| 
       615 
615 
     | 
    
         
             
                # List merge fields
         
     | 
| 
         @@ -627,10 +627,10 @@ module MailchimpMarketing 
     | 
|
| 
       627 
627 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       628 
628 
     | 
    
         | 
| 
       629 
629 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/merge-fields'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       630 
     | 
    
         
            -
                  data 
     | 
| 
      
 630 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       631 
631 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       632 
632 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       633 
     | 
    
         
            -
                  return data 
     | 
| 
      
 633 
     | 
    
         
            +
                  return data
         
     | 
| 
       634 
634 
     | 
    
         
             
                end
         
     | 
| 
       635 
635 
     | 
    
         | 
| 
       636 
636 
     | 
    
         
             
                # Get merge field
         
     | 
| 
         @@ -644,10 +644,10 @@ module MailchimpMarketing 
     | 
|
| 
       644 
644 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       645 
645 
     | 
    
         | 
| 
       646 
646 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/merge-fields/{merge_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'merge_id' + '}', merge_id.to_s)
         
     | 
| 
       647 
     | 
    
         
            -
                  data 
     | 
| 
      
 647 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       648 
648 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       649 
649 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       650 
     | 
    
         
            -
                  return data 
     | 
| 
      
 650 
     | 
    
         
            +
                  return data
         
     | 
| 
       651 
651 
     | 
    
         
             
                end
         
     | 
| 
       652 
652 
     | 
    
         | 
| 
       653 
653 
     | 
    
         
             
                # Get segment info
         
     | 
| 
         @@ -664,10 +664,10 @@ module MailchimpMarketing 
     | 
|
| 
       664 
664 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       665 
665 
     | 
    
         | 
| 
       666 
666 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/segments/{segment_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'segment_id' + '}', segment_id.to_s)
         
     | 
| 
       667 
     | 
    
         
            -
                  data 
     | 
| 
      
 667 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       668 
668 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       669 
669 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       670 
     | 
    
         
            -
                  return data 
     | 
| 
      
 670 
     | 
    
         
            +
                  return data
         
     | 
| 
       671 
671 
     | 
    
         
             
                end
         
     | 
| 
       672 
672 
     | 
    
         | 
| 
       673 
673 
     | 
    
         
             
                # List members in segment
         
     | 
| 
         @@ -687,10 +687,10 @@ module MailchimpMarketing 
     | 
|
| 
       687 
687 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       688 
688 
     | 
    
         | 
| 
       689 
689 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/segments/{segment_id}/members'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'segment_id' + '}', segment_id.to_s)
         
     | 
| 
       690 
     | 
    
         
            -
                  data 
     | 
| 
      
 690 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       691 
691 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       692 
692 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       693 
     | 
    
         
            -
                  return data 
     | 
| 
      
 693 
     | 
    
         
            +
                  return data
         
     | 
| 
       694 
694 
     | 
    
         
             
                end
         
     | 
| 
       695 
695 
     | 
    
         | 
| 
       696 
696 
     | 
    
         
             
                # List signup forms
         
     | 
| 
         @@ -701,10 +701,10 @@ module MailchimpMarketing 
     | 
|
| 
       701 
701 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       702 
702 
     | 
    
         | 
| 
       703 
703 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/signup-forms'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       704 
     | 
    
         
            -
                  data 
     | 
| 
      
 704 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       705 
705 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       706 
706 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       707 
     | 
    
         
            -
                  return data 
     | 
| 
      
 707 
     | 
    
         
            +
                  return data
         
     | 
| 
       708 
708 
     | 
    
         
             
                end
         
     | 
| 
       709 
709 
     | 
    
         | 
| 
       710 
710 
     | 
    
         
             
                # List webhooks
         
     | 
| 
         @@ -715,10 +715,10 @@ module MailchimpMarketing 
     | 
|
| 
       715 
715 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       716 
716 
     | 
    
         | 
| 
       717 
717 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/webhooks'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       718 
     | 
    
         
            -
                  data 
     | 
| 
      
 718 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       719 
719 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       720 
720 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       721 
     | 
    
         
            -
                  return data 
     | 
| 
      
 721 
     | 
    
         
            +
                  return data
         
     | 
| 
       722 
722 
     | 
    
         
             
                end
         
     | 
| 
       723 
723 
     | 
    
         | 
| 
       724 
724 
     | 
    
         
             
                # Get webhook info
         
     | 
| 
         @@ -730,10 +730,10 @@ module MailchimpMarketing 
     | 
|
| 
       730 
730 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       731 
731 
     | 
    
         | 
| 
       732 
732 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/webhooks/{webhook_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'webhook_id' + '}', webhook_id.to_s)
         
     | 
| 
       733 
     | 
    
         
            -
                  data 
     | 
| 
      
 733 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       734 
734 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       735 
735 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       736 
     | 
    
         
            -
                  return data 
     | 
| 
      
 736 
     | 
    
         
            +
                  return data
         
     | 
| 
       737 
737 
     | 
    
         
             
                end
         
     | 
| 
       738 
738 
     | 
    
         | 
| 
       739 
739 
     | 
    
         
             
                # Update lists
         
     | 
| 
         @@ -745,10 +745,10 @@ module MailchimpMarketing 
     | 
|
| 
       745 
745 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       746 
746 
     | 
    
         | 
| 
       747 
747 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       748 
     | 
    
         
            -
                  data 
     | 
| 
      
 748 
     | 
    
         
            +
                  data = @api_client.call_api(:PATCH, local_var_path,
         
     | 
| 
       749 
749 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       750 
750 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       751 
     | 
    
         
            -
                  return data 
     | 
| 
      
 751 
     | 
    
         
            +
                  return data
         
     | 
| 
       752 
752 
     | 
    
         
             
                end
         
     | 
| 
       753 
753 
     | 
    
         | 
| 
       754 
754 
     | 
    
         
             
                # Update interest category
         
     | 
| 
         @@ -761,10 +761,10 @@ module MailchimpMarketing 
     | 
|
| 
       761 
761 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       762 
762 
     | 
    
         | 
| 
       763 
763 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/interest-categories/{interest_category_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'interest_category_id' + '}', interest_category_id.to_s)
         
     | 
| 
       764 
     | 
    
         
            -
                  data 
     | 
| 
      
 764 
     | 
    
         
            +
                  data = @api_client.call_api(:PATCH, local_var_path,
         
     | 
| 
       765 
765 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       766 
766 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       767 
     | 
    
         
            -
                  return data 
     | 
| 
      
 767 
     | 
    
         
            +
                  return data
         
     | 
| 
       768 
768 
     | 
    
         
             
                end
         
     | 
| 
       769 
769 
     | 
    
         | 
| 
       770 
770 
     | 
    
         
             
                # Update interest in category
         
     | 
| 
         @@ -777,10 +777,10 @@ module MailchimpMarketing 
     | 
|
| 
       777 
777 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(opts[:'body'])
         
     | 
| 
       778 
778 
     | 
    
         | 
| 
       779 
779 
     | 
    
         
             
                  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)
         
     | 
| 
       780 
     | 
    
         
            -
                  data 
     | 
| 
      
 780 
     | 
    
         
            +
                  data = @api_client.call_api(:PATCH, local_var_path,
         
     | 
| 
       781 
781 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       782 
782 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       783 
     | 
    
         
            -
                  return data 
     | 
| 
      
 783 
     | 
    
         
            +
                  return data
         
     | 
| 
       784 
784 
     | 
    
         
             
                end
         
     | 
| 
       785 
785 
     | 
    
         | 
| 
       786 
786 
     | 
    
         
             
                # Update list member
         
     | 
| 
         @@ -794,10 +794,10 @@ module MailchimpMarketing 
     | 
|
| 
       794 
794 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       795 
795 
     | 
    
         | 
| 
       796 
796 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/members/{subscriber_hash}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         
     | 
| 
       797 
     | 
    
         
            -
                  data 
     | 
| 
      
 797 
     | 
    
         
            +
                  data = @api_client.call_api(:PATCH, local_var_path,
         
     | 
| 
       798 
798 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       799 
799 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       800 
     | 
    
         
            -
                  return data 
     | 
| 
      
 800 
     | 
    
         
            +
                  return data
         
     | 
| 
       801 
801 
     | 
    
         
             
                end
         
     | 
| 
       802 
802 
     | 
    
         | 
| 
       803 
803 
     | 
    
         
             
                # Update note
         
     | 
| 
         @@ -810,10 +810,10 @@ module MailchimpMarketing 
     | 
|
| 
       810 
810 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(opts[:'body'])
         
     | 
| 
       811 
811 
     | 
    
         | 
| 
       812 
812 
     | 
    
         
             
                  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)
         
     | 
| 
       813 
     | 
    
         
            -
                  data 
     | 
| 
      
 813 
     | 
    
         
            +
                  data = @api_client.call_api(:PATCH, local_var_path,
         
     | 
| 
       814 
814 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       815 
815 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       816 
     | 
    
         
            -
                  return data 
     | 
| 
      
 816 
     | 
    
         
            +
                  return data
         
     | 
| 
       817 
817 
     | 
    
         
             
                end
         
     | 
| 
       818 
818 
     | 
    
         | 
| 
       819 
819 
     | 
    
         
             
                # Update merge field
         
     | 
| 
         @@ -826,10 +826,10 @@ module MailchimpMarketing 
     | 
|
| 
       826 
826 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       827 
827 
     | 
    
         | 
| 
       828 
828 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/merge-fields/{merge_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'merge_id' + '}', merge_id.to_s)
         
     | 
| 
       829 
     | 
    
         
            -
                  data 
     | 
| 
      
 829 
     | 
    
         
            +
                  data = @api_client.call_api(:PATCH, local_var_path,
         
     | 
| 
       830 
830 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       831 
831 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       832 
     | 
    
         
            -
                  return data 
     | 
| 
      
 832 
     | 
    
         
            +
                  return data
         
     | 
| 
       833 
833 
     | 
    
         
             
                end
         
     | 
| 
       834 
834 
     | 
    
         | 
| 
       835 
835 
     | 
    
         
             
                # Update segment
         
     | 
| 
         @@ -842,10 +842,10 @@ module MailchimpMarketing 
     | 
|
| 
       842 
842 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       843 
843 
     | 
    
         | 
| 
       844 
844 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/segments/{segment_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'segment_id' + '}', segment_id.to_s)
         
     | 
| 
       845 
     | 
    
         
            -
                  data 
     | 
| 
      
 845 
     | 
    
         
            +
                  data = @api_client.call_api(:PATCH, local_var_path,
         
     | 
| 
       846 
846 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       847 
847 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       848 
     | 
    
         
            -
                  return data 
     | 
| 
      
 848 
     | 
    
         
            +
                  return data
         
     | 
| 
       849 
849 
     | 
    
         
             
                end
         
     | 
| 
       850 
850 
     | 
    
         | 
| 
       851 
851 
     | 
    
         
             
                # Update webhook
         
     | 
| 
         @@ -858,10 +858,10 @@ module MailchimpMarketing 
     | 
|
| 
       858 
858 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       859 
859 
     | 
    
         | 
| 
       860 
860 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/webhooks/{webhook_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'webhook_id' + '}', webhook_id.to_s)
         
     | 
| 
       861 
     | 
    
         
            -
                  data 
     | 
| 
      
 861 
     | 
    
         
            +
                  data = @api_client.call_api(:PATCH, local_var_path,
         
     | 
| 
       862 
862 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       863 
863 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       864 
     | 
    
         
            -
                  return data 
     | 
| 
      
 864 
     | 
    
         
            +
                  return data
         
     | 
| 
       865 
865 
     | 
    
         
             
                end
         
     | 
| 
       866 
866 
     | 
    
         | 
| 
       867 
867 
     | 
    
         
             
                # Add event
         
     | 
| 
         @@ -874,10 +874,10 @@ module MailchimpMarketing 
     | 
|
| 
       874 
874 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       875 
875 
     | 
    
         | 
| 
       876 
876 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/events'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         
     | 
| 
       877 
     | 
    
         
            -
                  data 
     | 
| 
      
 877 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       878 
878 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       879 
879 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       880 
     | 
    
         
            -
                  return data 
     | 
| 
      
 880 
     | 
    
         
            +
                  return data
         
     | 
| 
       881 
881 
     | 
    
         
             
                end
         
     | 
| 
       882 
882 
     | 
    
         | 
| 
       883 
883 
     | 
    
         
             
                # Add or remove member tags
         
     | 
| 
         @@ -889,10 +889,10 @@ module MailchimpMarketing 
     | 
|
| 
       889 
889 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(opts[:'body'])
         
     | 
| 
       890 
890 
     | 
    
         | 
| 
       891 
891 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/tags'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         
     | 
| 
       892 
     | 
    
         
            -
                  data 
     | 
| 
      
 892 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       893 
893 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       894 
894 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       895 
     | 
    
         
            -
                  return data 
     | 
| 
      
 895 
     | 
    
         
            +
                  return data
         
     | 
| 
       896 
896 
     | 
    
         
             
                end
         
     | 
| 
       897 
897 
     | 
    
         | 
| 
       898 
898 
     | 
    
         
             
                # Add list
         
     | 
| 
         @@ -903,10 +903,10 @@ module MailchimpMarketing 
     | 
|
| 
       903 
903 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       904 
904 
     | 
    
         | 
| 
       905 
905 
     | 
    
         
             
                  local_var_path = '/lists'
         
     | 
| 
       906 
     | 
    
         
            -
                  data 
     | 
| 
      
 906 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       907 
907 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       908 
908 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       909 
     | 
    
         
            -
                  return data 
     | 
| 
      
 909 
     | 
    
         
            +
                  return data
         
     | 
| 
       910 
910 
     | 
    
         
             
                end
         
     | 
| 
       911 
911 
     | 
    
         | 
| 
       912 
912 
     | 
    
         
             
                # Batch subscribe or unsubscibe
         
     | 
| 
         @@ -920,10 +920,10 @@ module MailchimpMarketing 
     | 
|
| 
       920 
920 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       921 
921 
     | 
    
         | 
| 
       922 
922 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       923 
     | 
    
         
            -
                  data 
     | 
| 
      
 923 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       924 
924 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       925 
925 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       926 
     | 
    
         
            -
                  return data 
     | 
| 
      
 926 
     | 
    
         
            +
                  return data
         
     | 
| 
       927 
927 
     | 
    
         
             
                end
         
     | 
| 
       928 
928 
     | 
    
         | 
| 
       929 
929 
     | 
    
         
             
                # Add external id
         
     | 
| 
         @@ -934,10 +934,10 @@ module MailchimpMarketing 
     | 
|
| 
       934 
934 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(opts[:'body'])
         
     | 
| 
       935 
935 
     | 
    
         | 
| 
       936 
936 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/external-ids'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       937 
     | 
    
         
            -
                  data 
     | 
| 
      
 937 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       938 
938 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       939 
939 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       940 
     | 
    
         
            -
                  return data 
     | 
| 
      
 940 
     | 
    
         
            +
                  return data
         
     | 
| 
       941 
941 
     | 
    
         
             
                end
         
     | 
| 
       942 
942 
     | 
    
         | 
| 
       943 
943 
     | 
    
         
             
                # Add interest category
         
     | 
| 
         @@ -949,10 +949,10 @@ module MailchimpMarketing 
     | 
|
| 
       949 
949 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       950 
950 
     | 
    
         | 
| 
       951 
951 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/interest-categories'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       952 
     | 
    
         
            -
                  data 
     | 
| 
      
 952 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       953 
953 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       954 
954 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       955 
     | 
    
         
            -
                  return data 
     | 
| 
      
 955 
     | 
    
         
            +
                  return data
         
     | 
| 
       956 
956 
     | 
    
         
             
                end
         
     | 
| 
       957 
957 
     | 
    
         | 
| 
       958 
958 
     | 
    
         
             
                # Add interest in category
         
     | 
| 
         @@ -965,10 +965,10 @@ module MailchimpMarketing 
     | 
|
| 
       965 
965 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       966 
966 
     | 
    
         | 
| 
       967 
967 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/interest-categories/{interest_category_id}/interests'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'interest_category_id' + '}', interest_category_id.to_s)
         
     | 
| 
       968 
     | 
    
         
            -
                  data 
     | 
| 
      
 968 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       969 
969 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       970 
970 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       971 
     | 
    
         
            -
                  return data 
     | 
| 
      
 971 
     | 
    
         
            +
                  return data
         
     | 
| 
       972 
972 
     | 
    
         
             
                end
         
     | 
| 
       973 
973 
     | 
    
         | 
| 
       974 
974 
     | 
    
         
             
                # Add member to list
         
     | 
| 
         @@ -981,10 +981,10 @@ module MailchimpMarketing 
     | 
|
| 
       981 
981 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       982 
982 
     | 
    
         | 
| 
       983 
983 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/members'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       984 
     | 
    
         
            -
                  data 
     | 
| 
      
 984 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       985 
985 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       986 
986 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       987 
     | 
    
         
            -
                  return data 
     | 
| 
      
 987 
     | 
    
         
            +
                  return data
         
     | 
| 
       988 
988 
     | 
    
         
             
                end
         
     | 
| 
       989 
989 
     | 
    
         | 
| 
       990 
990 
     | 
    
         
             
                # Delete list member
         
     | 
| 
         @@ -996,10 +996,10 @@ module MailchimpMarketing 
     | 
|
| 
       996 
996 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       997 
997 
     | 
    
         | 
| 
       998 
998 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/actions/delete-permanent'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         
     | 
| 
       999 
     | 
    
         
            -
                  data 
     | 
| 
      
 999 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       1000 
1000 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       1001 
1001 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       1002 
     | 
    
         
            -
                  return data 
     | 
| 
      
 1002 
     | 
    
         
            +
                  return data
         
     | 
| 
       1003 
1003 
     | 
    
         
             
                end
         
     | 
| 
       1004 
1004 
     | 
    
         | 
| 
       1005 
1005 
     | 
    
         
             
                # Add member note
         
     | 
| 
         @@ -1011,10 +1011,10 @@ module MailchimpMarketing 
     | 
|
| 
       1011 
1011 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(opts[:'body'])
         
     | 
| 
       1012 
1012 
     | 
    
         | 
| 
       1013 
1013 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/notes'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         
     | 
| 
       1014 
     | 
    
         
            -
                  data 
     | 
| 
      
 1014 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       1015 
1015 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       1016 
1016 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       1017 
     | 
    
         
            -
                  return data 
     | 
| 
      
 1017 
     | 
    
         
            +
                  return data
         
     | 
| 
       1018 
1018 
     | 
    
         
             
                end
         
     | 
| 
       1019 
1019 
     | 
    
         | 
| 
       1020 
1020 
     | 
    
         
             
                # Add merge field
         
     | 
| 
         @@ -1026,10 +1026,10 @@ module MailchimpMarketing 
     | 
|
| 
       1026 
1026 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       1027 
1027 
     | 
    
         | 
| 
       1028 
1028 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/merge-fields'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       1029 
     | 
    
         
            -
                  data 
     | 
| 
      
 1029 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       1030 
1030 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       1031 
1031 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       1032 
     | 
    
         
            -
                  return data 
     | 
| 
      
 1032 
     | 
    
         
            +
                  return data
         
     | 
| 
       1033 
1033 
     | 
    
         
             
                end
         
     | 
| 
       1034 
1034 
     | 
    
         | 
| 
       1035 
1035 
     | 
    
         
             
                # Add segment
         
     | 
| 
         @@ -1041,10 +1041,10 @@ module MailchimpMarketing 
     | 
|
| 
       1041 
1041 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       1042 
1042 
     | 
    
         | 
| 
       1043 
1043 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/segments'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       1044 
     | 
    
         
            -
                  data 
     | 
| 
      
 1044 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       1045 
1045 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       1046 
1046 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       1047 
     | 
    
         
            -
                  return data 
     | 
| 
      
 1047 
     | 
    
         
            +
                  return data
         
     | 
| 
       1048 
1048 
     | 
    
         
             
                end
         
     | 
| 
       1049 
1049 
     | 
    
         | 
| 
       1050 
1050 
     | 
    
         
             
                # Batch add or remove members
         
     | 
| 
         @@ -1057,10 +1057,10 @@ module MailchimpMarketing 
     | 
|
| 
       1057 
1057 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       1058 
1058 
     | 
    
         | 
| 
       1059 
1059 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/segments/{segment_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'segment_id' + '}', segment_id.to_s)
         
     | 
| 
       1060 
     | 
    
         
            -
                  data 
     | 
| 
      
 1060 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       1061 
1061 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       1062 
1062 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       1063 
     | 
    
         
            -
                  return data 
     | 
| 
      
 1063 
     | 
    
         
            +
                  return data
         
     | 
| 
       1064 
1064 
     | 
    
         
             
                end
         
     | 
| 
       1065 
1065 
     | 
    
         | 
| 
       1066 
1066 
     | 
    
         
             
                # Add member to segment
         
     | 
| 
         @@ -1073,10 +1073,10 @@ module MailchimpMarketing 
     | 
|
| 
       1073 
1073 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       1074 
1074 
     | 
    
         | 
| 
       1075 
1075 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/segments/{segment_id}/members'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'segment_id' + '}', segment_id.to_s)
         
     | 
| 
       1076 
     | 
    
         
            -
                  data 
     | 
| 
      
 1076 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       1077 
1077 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       1078 
1078 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       1079 
     | 
    
         
            -
                  return data 
     | 
| 
      
 1079 
     | 
    
         
            +
                  return data
         
     | 
| 
       1080 
1080 
     | 
    
         
             
                end
         
     | 
| 
       1081 
1081 
     | 
    
         | 
| 
       1082 
1082 
     | 
    
         
             
                # Customize signup form
         
     | 
| 
         @@ -1088,10 +1088,10 @@ module MailchimpMarketing 
     | 
|
| 
       1088 
1088 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       1089 
1089 
     | 
    
         | 
| 
       1090 
1090 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/signup-forms'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       1091 
     | 
    
         
            -
                  data 
     | 
| 
      
 1091 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       1092 
1092 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       1093 
1093 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       1094 
     | 
    
         
            -
                  return data 
     | 
| 
      
 1094 
     | 
    
         
            +
                  return data
         
     | 
| 
       1095 
1095 
     | 
    
         
             
                end
         
     | 
| 
       1096 
1096 
     | 
    
         | 
| 
       1097 
1097 
     | 
    
         
             
                # Add webhook
         
     | 
| 
         @@ -1103,10 +1103,10 @@ module MailchimpMarketing 
     | 
|
| 
       1103 
1103 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       1104 
1104 
     | 
    
         | 
| 
       1105 
1105 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/webhooks'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       1106 
     | 
    
         
            -
                  data 
     | 
| 
      
 1106 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       1107 
1107 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       1108 
1108 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       1109 
     | 
    
         
            -
                  return data 
     | 
| 
      
 1109 
     | 
    
         
            +
                  return data
         
     | 
| 
       1110 
1110 
     | 
    
         
             
                end
         
     | 
| 
       1111 
1111 
     | 
    
         | 
| 
       1112 
1112 
     | 
    
         
             
                # List segments
         
     | 
| 
         @@ -1130,10 +1130,10 @@ module MailchimpMarketing 
     | 
|
| 
       1130 
1130 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       1131 
1131 
     | 
    
         | 
| 
       1132 
1132 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/segments'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       1133 
     | 
    
         
            -
                  data 
     | 
| 
      
 1133 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       1134 
1134 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       1135 
1135 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       1136 
     | 
    
         
            -
                  return data 
     | 
| 
      
 1136 
     | 
    
         
            +
                  return data
         
     | 
| 
       1137 
1137 
     | 
    
         
             
                end
         
     | 
| 
       1138 
1138 
     | 
    
         | 
| 
       1139 
1139 
     | 
    
         
             
                # Preview segment
         
     | 
| 
         @@ -1144,10 +1144,10 @@ module MailchimpMarketing 
     | 
|
| 
       1144 
1144 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(opts[:'body'])
         
     | 
| 
       1145 
1145 
     | 
    
         | 
| 
       1146 
1146 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/preview-segment'.sub('{' + 'list_id' + '}', list_id.to_s)
         
     | 
| 
       1147 
     | 
    
         
            -
                  data 
     | 
| 
      
 1147 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       1148 
1148 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       1149 
1149 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       1150 
     | 
    
         
            -
                  return data 
     | 
| 
      
 1150 
     | 
    
         
            +
                  return data
         
     | 
| 
       1151 
1151 
     | 
    
         
             
                end
         
     | 
| 
       1152 
1152 
     | 
    
         | 
| 
       1153 
1153 
     | 
    
         
             
                # Add or update list member
         
     | 
| 
         @@ -1161,10 +1161,10 @@ module MailchimpMarketing 
     | 
|
| 
       1161 
1161 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       1162 
1162 
     | 
    
         | 
| 
       1163 
1163 
     | 
    
         
             
                  local_var_path = '/lists/{list_id}/members/{subscriber_hash}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         
     | 
| 
       1164 
     | 
    
         
            -
                  data 
     | 
| 
      
 1164 
     | 
    
         
            +
                  data = @api_client.call_api(:PUT, local_var_path,
         
     | 
| 
       1165 
1165 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       1166 
1166 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       1167 
     | 
    
         
            -
                  return data 
     | 
| 
      
 1167 
     | 
    
         
            +
                  return data
         
     | 
| 
       1168 
1168 
     | 
    
         
             
                end
         
     | 
| 
       1169 
1169 
     | 
    
         
             
              end
         
     | 
| 
       1170 
1170 
     | 
    
         
             
            end
         
     |