MailchimpMarketing 3.0.8 → 3.0.9
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/MailchimpMarketing.gemspec +2 -2
- data/README.md +2 -2
- data/lib/MailchimpMarketing.rb +1 -1
- data/lib/MailchimpMarketing/api/activity_feed_api.rb +1 -6
- data/lib/MailchimpMarketing/api/authorized_apps_api.rb +1 -8
- data/lib/MailchimpMarketing/api/automations_api.rb +1 -40
- data/lib/MailchimpMarketing/api/batch_webhooks_api.rb +1 -12
- data/lib/MailchimpMarketing/api/batches_api.rb +1 -10
- data/lib/MailchimpMarketing/api/campaign_folders_api.rb +1 -12
- data/lib/MailchimpMarketing/api/campaigns_api.rb +1 -46
- data/lib/MailchimpMarketing/api/connected_sites_api.rb +1 -12
- data/lib/MailchimpMarketing/api/conversations_api.rb +1 -12
- data/lib/MailchimpMarketing/api/dashboard_api.rb +1 -14
- data/lib/MailchimpMarketing/api/ecommerce_api.rb +1 -120
- data/lib/MailchimpMarketing/api/external_auths_api.rb +1 -8
- data/lib/MailchimpMarketing/api/facebook_ads_api.rb +1 -6
- data/lib/MailchimpMarketing/api/file_manager_api.rb +1 -24
- data/lib/MailchimpMarketing/api/landing_pages_api.rb +1 -18
- data/lib/MailchimpMarketing/api/lists_api.rb +1 -134
- data/lib/MailchimpMarketing/api/ping_api.rb +1 -4
- data/lib/MailchimpMarketing/api/postcards_api.rb +1 -4
- data/lib/MailchimpMarketing/api/reporting_api.rb +1 -14
- data/lib/MailchimpMarketing/api/reports_api.rb +1 -46
- data/lib/MailchimpMarketing/api/root_api.rb +1 -4
- data/lib/MailchimpMarketing/api/search_campaigns_api.rb +1 -4
- data/lib/MailchimpMarketing/api/search_members_api.rb +1 -4
- data/lib/MailchimpMarketing/api/template_folders_api.rb +1 -12
- data/lib/MailchimpMarketing/api/templates_api.rb +1 -14
- data/lib/MailchimpMarketing/api/verified_domains_api.rb +1 -12
- data/lib/MailchimpMarketing/api_client.rb +16 -118
- data/lib/MailchimpMarketing/api_error.rb +1 -1
- data/lib/MailchimpMarketing/configuration.rb +1 -1
- data/lib/MailchimpMarketing/version.rb +2 -2
- metadata +4 -10
| @@ -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.9
         | 
| 7 7 | 
             
            Contact: apihelp@mailchimp.com
         | 
| 8 8 | 
             
            Generated by: https://github.com/swagger-api/swagger-codegen.git
         | 
| 9 9 | 
             
            Swagger Codegen version: 2.4.12
         | 
| @@ -11,7 +11,6 @@ Swagger Codegen version: 2.4.12 | |
| 11 11 | 
             
            =end
         | 
| 12 12 |  | 
| 13 13 | 
             
            require 'uri'
         | 
| 14 | 
            -
            require 'json'
         | 
| 15 14 |  | 
| 16 15 | 
             
            module MailchimpMarketing
         | 
| 17 16 | 
             
              class PingApi
         | 
| @@ -25,13 +24,11 @@ module MailchimpMarketing | |
| 25 24 | 
             
                def get(opts = {})
         | 
| 26 25 |  | 
| 27 26 | 
             
                  query_params = {}
         | 
| 28 | 
            -
                  form_params = {}
         | 
| 29 27 | 
             
                  post_body = nil
         | 
| 30 28 |  | 
| 31 29 | 
             
                  local_var_path = '/ping'
         | 
| 32 30 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 33 31 | 
             
                    :query_params => query_params,
         | 
| 34 | 
            -
                    :form_params => form_params,
         | 
| 35 32 | 
             
                    :body => post_body)
         | 
| 36 33 | 
             
                  return data, status_code, headers
         | 
| 37 34 | 
             
                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.9
         | 
| 7 7 | 
             
            Contact: apihelp@mailchimp.com
         | 
| 8 8 | 
             
            Generated by: https://github.com/swagger-api/swagger-codegen.git
         | 
| 9 9 | 
             
            Swagger Codegen version: 2.4.12
         | 
| @@ -11,7 +11,6 @@ Swagger Codegen version: 2.4.12 | |
| 11 11 | 
             
            =end
         | 
| 12 12 |  | 
| 13 13 | 
             
            require 'uri'
         | 
| 14 | 
            -
            require 'json'
         | 
| 15 14 |  | 
| 16 15 | 
             
            module MailchimpMarketing
         | 
| 17 16 | 
             
              class PostcardsApi
         | 
| @@ -31,13 +30,11 @@ module MailchimpMarketing | |
| 31 30 | 
             
                  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
         | 
| 32 31 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 33 32 | 
             
                  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
         | 
| 34 | 
            -
                  form_params = {}
         | 
| 35 33 | 
             
                  post_body = nil
         | 
| 36 34 |  | 
| 37 35 | 
             
                  local_var_path = '/postcards'
         | 
| 38 36 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 39 37 | 
             
                    :query_params => query_params,
         | 
| 40 | 
            -
                    :form_params => form_params,
         | 
| 41 38 | 
             
                    :body => post_body)
         | 
| 42 39 | 
             
                  return data, status_code, headers
         | 
| 43 40 | 
             
                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.9
         | 
| 7 7 | 
             
            Contact: apihelp@mailchimp.com
         | 
| 8 8 | 
             
            Generated by: https://github.com/swagger-api/swagger-codegen.git
         | 
| 9 9 | 
             
            Swagger Codegen version: 2.4.12
         | 
| @@ -11,7 +11,6 @@ Swagger Codegen version: 2.4.12 | |
| 11 11 | 
             
            =end
         | 
| 12 12 |  | 
| 13 13 | 
             
            require 'uri'
         | 
| 14 | 
            -
            require 'json'
         | 
| 15 14 |  | 
| 16 15 | 
             
            module MailchimpMarketing
         | 
| 17 16 | 
             
              class ReportingApi
         | 
| @@ -25,13 +24,11 @@ module MailchimpMarketing | |
| 25 24 | 
             
                def info(opts = {})
         | 
| 26 25 |  | 
| 27 26 | 
             
                  query_params = {}
         | 
| 28 | 
            -
                  form_params = {}
         | 
| 29 27 | 
             
                  post_body = nil
         | 
| 30 28 |  | 
| 31 29 | 
             
                  local_var_path = '/reporting'
         | 
| 32 30 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 33 31 | 
             
                    :query_params => query_params,
         | 
| 34 | 
            -
                    :form_params => form_params,
         | 
| 35 32 | 
             
                    :body => post_body)
         | 
| 36 33 | 
             
                  return data, status_code, headers
         | 
| 37 34 | 
             
                end
         | 
| @@ -49,13 +46,11 @@ module MailchimpMarketing | |
| 49 46 | 
             
                  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
         | 
| 50 47 | 
             
                  query_params[:'sort_field'] = opts[:'sort_field'] if !opts[:'sort_field'].nil?
         | 
| 51 48 | 
             
                  query_params[:'sort_dir'] = opts[:'sort_dir'] if !opts[:'sort_dir'].nil?
         | 
| 52 | 
            -
                  form_params = {}
         | 
| 53 49 | 
             
                  post_body = nil
         | 
| 54 50 |  | 
| 55 51 | 
             
                  local_var_path = '/reporting/facebook-ads'
         | 
| 56 52 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 57 53 | 
             
                    :query_params => query_params,
         | 
| 58 | 
            -
                    :form_params => form_params,
         | 
| 59 54 | 
             
                    :body => post_body)
         | 
| 60 55 | 
             
                  return data, status_code, headers
         | 
| 61 56 | 
             
                end
         | 
| @@ -67,13 +62,11 @@ module MailchimpMarketing | |
| 67 62 | 
             
                  query_params = {}
         | 
| 68 63 | 
             
                  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
         | 
| 69 64 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 70 | 
            -
                  form_params = {}
         | 
| 71 65 | 
             
                  post_body = nil
         | 
| 72 66 |  | 
| 73 67 | 
             
                  local_var_path = '/reporting/facebook-ads/{outreach_id}'.sub('{' + 'outreach_id' + '}', outreach_id.to_s)
         | 
| 74 68 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 75 69 | 
             
                    :query_params => query_params,
         | 
| 76 | 
            -
                    :form_params => form_params,
         | 
| 77 70 | 
             
                    :body => post_body)
         | 
| 78 71 | 
             
                  return data, status_code, headers
         | 
| 79 72 | 
             
                end
         | 
| @@ -90,13 +83,11 @@ module MailchimpMarketing | |
| 90 83 | 
             
                  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
         | 
| 91 84 | 
             
                  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
         | 
| 92 85 | 
             
                  query_params[:'sort_field'] = opts[:'sort_field'] if !opts[:'sort_field'].nil?
         | 
| 93 | 
            -
                  form_params = {}
         | 
| 94 86 | 
             
                  post_body = nil
         | 
| 95 87 |  | 
| 96 88 | 
             
                  local_var_path = '/reporting/facebook-ads/{outreach_id}/ecommerce-product-activity'.sub('{' + 'outreach_id' + '}', outreach_id.to_s)
         | 
| 97 89 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 98 90 | 
             
                    :query_params => query_params,
         | 
| 99 | 
            -
                    :form_params => form_params,
         | 
| 100 91 | 
             
                    :body => post_body)
         | 
| 101 92 | 
             
                  return data, status_code, headers
         | 
| 102 93 | 
             
                end
         | 
| @@ -110,13 +101,11 @@ module MailchimpMarketing | |
| 110 101 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 111 102 | 
             
                  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
         | 
| 112 103 | 
             
                  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
         | 
| 113 | 
            -
                  form_params = {}
         | 
| 114 104 | 
             
                  post_body = nil
         | 
| 115 105 |  | 
| 116 106 | 
             
                  local_var_path = '/reporting/landing-pages'
         | 
| 117 107 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 118 108 | 
             
                    :query_params => query_params,
         | 
| 119 | 
            -
                    :form_params => form_params,
         | 
| 120 109 | 
             
                    :body => post_body)
         | 
| 121 110 | 
             
                  return data, status_code, headers
         | 
| 122 111 | 
             
                end
         | 
| @@ -128,13 +117,11 @@ module MailchimpMarketing | |
| 128 117 | 
             
                  query_params = {}
         | 
| 129 118 | 
             
                  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
         | 
| 130 119 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 131 | 
            -
                  form_params = {}
         | 
| 132 120 | 
             
                  post_body = nil
         | 
| 133 121 |  | 
| 134 122 | 
             
                  local_var_path = '/reporting/landing-pages/{outreach_id}'.sub('{' + 'outreach_id' + '}', outreach_id.to_s)
         | 
| 135 123 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 136 124 | 
             
                    :query_params => query_params,
         | 
| 137 | 
            -
                    :form_params => form_params,
         | 
| 138 125 | 
             
                    :body => post_body)
         | 
| 139 126 | 
             
                  return data, status_code, headers
         | 
| 140 127 | 
             
                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.9
         | 
| 7 7 | 
             
            Contact: apihelp@mailchimp.com
         | 
| 8 8 | 
             
            Generated by: https://github.com/swagger-api/swagger-codegen.git
         | 
| 9 9 | 
             
            Swagger Codegen version: 2.4.12
         | 
| @@ -11,7 +11,6 @@ Swagger Codegen version: 2.4.12 | |
| 11 11 | 
             
            =end
         | 
| 12 12 |  | 
| 13 13 | 
             
            require 'uri'
         | 
| 14 | 
            -
            require 'json'
         | 
| 15 14 |  | 
| 16 15 | 
             
            module MailchimpMarketing
         | 
| 17 16 | 
             
              class ReportsApi
         | 
| @@ -34,13 +33,11 @@ module MailchimpMarketing | |
| 34 33 | 
             
                  query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
         | 
| 35 34 | 
             
                  query_params[:'before_send_time'] = opts[:'before_send_time'] if !opts[:'before_send_time'].nil?
         | 
| 36 35 | 
             
                  query_params[:'since_send_time'] = opts[:'since_send_time'] if !opts[:'since_send_time'].nil?
         | 
| 37 | 
            -
                  form_params = {}
         | 
| 38 36 | 
             
                  post_body = nil
         | 
| 39 37 |  | 
| 40 38 | 
             
                  local_var_path = '/reports'
         | 
| 41 39 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 42 40 | 
             
                    :query_params => query_params,
         | 
| 43 | 
            -
                    :form_params => form_params,
         | 
| 44 41 | 
             
                    :body => post_body)
         | 
| 45 42 | 
             
                  return data, status_code, headers
         | 
| 46 43 | 
             
                end
         | 
| @@ -52,13 +49,11 @@ module MailchimpMarketing | |
| 52 49 | 
             
                  query_params = {}
         | 
| 53 50 | 
             
                  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
         | 
| 54 51 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 55 | 
            -
                  form_params = {}
         | 
| 56 52 | 
             
                  post_body = nil
         | 
| 57 53 |  | 
| 58 54 | 
             
                  local_var_path = '/reports/{campaign_id}'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
         | 
| 59 55 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 60 56 | 
             
                    :query_params => query_params,
         | 
| 61 | 
            -
                    :form_params => form_params,
         | 
| 62 57 | 
             
                    :body => post_body)
         | 
| 63 58 | 
             
                  return data, status_code, headers
         | 
| 64 59 | 
             
                end
         | 
| @@ -70,13 +65,11 @@ module MailchimpMarketing | |
| 70 65 | 
             
                  query_params = {}
         | 
| 71 66 | 
             
                  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
         | 
| 72 67 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 73 | 
            -
                  form_params = {}
         | 
| 74 68 | 
             
                  post_body = nil
         | 
| 75 69 |  | 
| 76 70 | 
             
                  local_var_path = '/reports/{campaign_id}/abuse-reports'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
         | 
| 77 71 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 78 72 | 
             
                    :query_params => query_params,
         | 
| 79 | 
            -
                    :form_params => form_params,
         | 
| 80 73 | 
             
                    :body => post_body)
         | 
| 81 74 | 
             
                  return data, status_code, headers
         | 
| 82 75 | 
             
                end
         | 
| @@ -89,13 +82,11 @@ module MailchimpMarketing | |
| 89 82 | 
             
                  query_params = {}
         | 
| 90 83 | 
             
                  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
         | 
| 91 84 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 92 | 
            -
                  form_params = {}
         | 
| 93 85 | 
             
                  post_body = nil
         | 
| 94 86 |  | 
| 95 87 | 
             
                  local_var_path = '/reports/{campaign_id}/abuse-reports/{report_id}'.sub('{' + 'campaign_id' + '}', campaign_id.to_s).sub('{' + 'report_id' + '}', report_id.to_s)
         | 
| 96 88 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 97 89 | 
             
                    :query_params => query_params,
         | 
| 98 | 
            -
                    :form_params => form_params,
         | 
| 99 90 | 
             
                    :body => post_body)
         | 
| 100 91 | 
             
                  return data, status_code, headers
         | 
| 101 92 | 
             
                end
         | 
| @@ -107,13 +98,11 @@ module MailchimpMarketing | |
| 107 98 | 
             
                  query_params = {}
         | 
| 108 99 | 
             
                  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
         | 
| 109 100 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 110 | 
            -
                  form_params = {}
         | 
| 111 101 | 
             
                  post_body = nil
         | 
| 112 102 |  | 
| 113 103 | 
             
                  local_var_path = '/reports/{campaign_id}/advice'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
         | 
| 114 104 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 115 105 | 
             
                    :query_params => query_params,
         | 
| 116 | 
            -
                    :form_params => form_params,
         | 
| 117 106 | 
             
                    :body => post_body)
         | 
| 118 107 | 
             
                  return data, status_code, headers
         | 
| 119 108 | 
             
                end
         | 
| @@ -128,13 +117,11 @@ module MailchimpMarketing | |
| 128 117 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 129 118 | 
             
                  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
         | 
| 130 119 | 
             
                  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
         | 
| 131 | 
            -
                  form_params = {}
         | 
| 132 120 | 
             
                  post_body = nil
         | 
| 133 121 |  | 
| 134 122 | 
             
                  local_var_path = '/reports/{campaign_id}/click-details'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
         | 
| 135 123 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 136 124 | 
             
                    :query_params => query_params,
         | 
| 137 | 
            -
                    :form_params => form_params,
         | 
| 138 125 | 
             
                    :body => post_body)
         | 
| 139 126 | 
             
                  return data, status_code, headers
         | 
| 140 127 | 
             
                end
         | 
| @@ -147,13 +134,11 @@ module MailchimpMarketing | |
| 147 134 | 
             
                  query_params = {}
         | 
| 148 135 | 
             
                  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
         | 
| 149 136 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 150 | 
            -
                  form_params = {}
         | 
| 151 137 | 
             
                  post_body = nil
         | 
| 152 138 |  | 
| 153 139 | 
             
                  local_var_path = '/reports/{campaign_id}/click-details/{link_id}'.sub('{' + 'campaign_id' + '}', campaign_id.to_s).sub('{' + 'link_id' + '}', link_id.to_s)
         | 
| 154 140 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 155 141 | 
             
                    :query_params => query_params,
         | 
| 156 | 
            -
                    :form_params => form_params,
         | 
| 157 142 | 
             
                    :body => post_body)
         | 
| 158 143 | 
             
                  return data, status_code, headers
         | 
| 159 144 | 
             
                end
         | 
| @@ -169,13 +154,11 @@ module MailchimpMarketing | |
| 169 154 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 170 155 | 
             
                  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
         | 
| 171 156 | 
             
                  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
         | 
| 172 | 
            -
                  form_params = {}
         | 
| 173 157 | 
             
                  post_body = nil
         | 
| 174 158 |  | 
| 175 159 | 
             
                  local_var_path = '/reports/{campaign_id}/click-details/{link_id}/members'.sub('{' + 'campaign_id' + '}', campaign_id.to_s).sub('{' + 'link_id' + '}', link_id.to_s)
         | 
| 176 160 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 177 161 | 
             
                    :query_params => query_params,
         | 
| 178 | 
            -
                    :form_params => form_params,
         | 
| 179 162 | 
             
                    :body => post_body)
         | 
| 180 163 | 
             
                  return data, status_code, headers
         | 
| 181 164 | 
             
                end
         | 
| @@ -189,13 +172,11 @@ module MailchimpMarketing | |
| 189 172 | 
             
                  query_params = {}
         | 
| 190 173 | 
             
                  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
         | 
| 191 174 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 192 | 
            -
                  form_params = {}
         | 
| 193 175 | 
             
                  post_body = nil
         | 
| 194 176 |  | 
| 195 177 | 
             
                  local_var_path = '/reports/{campaign_id}/click-details/{link_id}/members/{subscriber_hash}'.sub('{' + 'campaign_id' + '}', campaign_id.to_s).sub('{' + 'link_id' + '}', link_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         | 
| 196 178 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 197 179 | 
             
                    :query_params => query_params,
         | 
| 198 | 
            -
                    :form_params => form_params,
         | 
| 199 180 | 
             
                    :body => post_body)
         | 
| 200 181 | 
             
                  return data, status_code, headers
         | 
| 201 182 | 
             
                end
         | 
| @@ -207,13 +188,11 @@ module MailchimpMarketing | |
| 207 188 | 
             
                  query_params = {}
         | 
| 208 189 | 
             
                  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
         | 
| 209 190 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 210 | 
            -
                  form_params = {}
         | 
| 211 191 | 
             
                  post_body = nil
         | 
| 212 192 |  | 
| 213 193 | 
             
                  local_var_path = '/reports/{campaign_id}/domain-performance'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
         | 
| 214 194 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 215 195 | 
             
                    :query_params => query_params,
         | 
| 216 | 
            -
                    :form_params => form_params,
         | 
| 217 196 | 
             
                    :body => post_body)
         | 
| 218 197 | 
             
                  return data, status_code, headers
         | 
| 219 198 | 
             
                end
         | 
| @@ -230,13 +209,11 @@ module MailchimpMarketing | |
| 230 209 | 
             
                  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
         | 
| 231 210 | 
             
                  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
         | 
| 232 211 | 
             
                  query_params[:'sort_field'] = opts[:'sort_field'] if !opts[:'sort_field'].nil?
         | 
| 233 | 
            -
                  form_params = {}
         | 
| 234 212 | 
             
                  post_body = nil
         | 
| 235 213 |  | 
| 236 214 | 
             
                  local_var_path = '/reports/{campaign_id}/ecommerce-product-activity'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
         | 
| 237 215 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 238 216 | 
             
                    :query_params => query_params,
         | 
| 239 | 
            -
                    :form_params => form_params,
         | 
| 240 217 | 
             
                    :body => post_body)
         | 
| 241 218 | 
             
                  return data, status_code, headers
         | 
| 242 219 | 
             
                end
         | 
| @@ -248,13 +225,11 @@ module MailchimpMarketing | |
| 248 225 | 
             
                  query_params = {}
         | 
| 249 226 | 
             
                  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
         | 
| 250 227 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 251 | 
            -
                  form_params = {}
         | 
| 252 228 | 
             
                  post_body = nil
         | 
| 253 229 |  | 
| 254 230 | 
             
                  local_var_path = '/reports/{campaign_id}/eepurl'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
         | 
| 255 231 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 256 232 | 
             
                    :query_params => query_params,
         | 
| 257 | 
            -
                    :form_params => form_params,
         | 
| 258 233 | 
             
                    :body => post_body)
         | 
| 259 234 | 
             
                  return data, status_code, headers
         | 
| 260 235 | 
             
                end
         | 
| @@ -270,13 +245,11 @@ module MailchimpMarketing | |
| 270 245 | 
             
                  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
         | 
| 271 246 | 
             
                  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
         | 
| 272 247 | 
             
                  query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
         | 
| 273 | 
            -
                  form_params = {}
         | 
| 274 248 | 
             
                  post_body = nil
         | 
| 275 249 |  | 
| 276 250 | 
             
                  local_var_path = '/reports/{campaign_id}/email-activity'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
         | 
| 277 251 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 278 252 | 
             
                    :query_params => query_params,
         | 
| 279 | 
            -
                    :form_params => form_params,
         | 
| 280 253 | 
             
                    :body => post_body)
         | 
| 281 254 | 
             
                  return data, status_code, headers
         | 
| 282 255 | 
             
                end
         | 
| @@ -290,13 +263,11 @@ module MailchimpMarketing | |
| 290 263 | 
             
                  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
         | 
| 291 264 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 292 265 | 
             
                  query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
         | 
| 293 | 
            -
                  form_params = {}
         | 
| 294 266 | 
             
                  post_body = nil
         | 
| 295 267 |  | 
| 296 268 | 
             
                  local_var_path = '/reports/{campaign_id}/email-activity/{subscriber_hash}'.sub('{' + 'campaign_id' + '}', campaign_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         | 
| 297 269 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 298 270 | 
             
                    :query_params => query_params,
         | 
| 299 | 
            -
                    :form_params => form_params,
         | 
| 300 271 | 
             
                    :body => post_body)
         | 
| 301 272 | 
             
                  return data, status_code, headers
         | 
| 302 273 | 
             
                end
         | 
| @@ -311,13 +282,11 @@ module MailchimpMarketing | |
| 311 282 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 312 283 | 
             
                  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
         | 
| 313 284 | 
             
                  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
         | 
| 314 | 
            -
                  form_params = {}
         | 
| 315 285 | 
             
                  post_body = nil
         | 
| 316 286 |  | 
| 317 287 | 
             
                  local_var_path = '/reports/{campaign_id}/locations'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
         | 
| 318 288 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 319 289 | 
             
                    :query_params => query_params,
         | 
| 320 | 
            -
                    :form_params => form_params,
         | 
| 321 290 | 
             
                    :body => post_body)
         | 
| 322 291 | 
             
                  return data, status_code, headers
         | 
| 323 292 | 
             
                end
         | 
| @@ -333,13 +302,11 @@ module MailchimpMarketing | |
| 333 302 | 
             
                  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
         | 
| 334 303 | 
             
                  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
         | 
| 335 304 | 
             
                  query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
         | 
| 336 | 
            -
                  form_params = {}
         | 
| 337 305 | 
             
                  post_body = nil
         | 
| 338 306 |  | 
| 339 307 | 
             
                  local_var_path = '/reports/{campaign_id}/open-details'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
         | 
| 340 308 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 341 309 | 
             
                    :query_params => query_params,
         | 
| 342 | 
            -
                    :form_params => form_params,
         | 
| 343 310 | 
             
                    :body => post_body)
         | 
| 344 311 | 
             
                  return data, status_code, headers
         | 
| 345 312 | 
             
                end
         | 
| @@ -352,13 +319,11 @@ module MailchimpMarketing | |
| 352 319 | 
             
                  query_params = {}
         | 
| 353 320 | 
             
                  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
         | 
| 354 321 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 355 | 
            -
                  form_params = {}
         | 
| 356 322 | 
             
                  post_body = nil
         | 
| 357 323 |  | 
| 358 324 | 
             
                  local_var_path = '/reports/{campaign_id}/open-details/{subscriber_hash}'.sub('{' + 'campaign_id' + '}', campaign_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         | 
| 359 325 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 360 326 | 
             
                    :query_params => query_params,
         | 
| 361 | 
            -
                    :form_params => form_params,
         | 
| 362 327 | 
             
                    :body => post_body)
         | 
| 363 328 | 
             
                  return data, status_code, headers
         | 
| 364 329 | 
             
                end
         | 
| @@ -373,13 +338,11 @@ module MailchimpMarketing | |
| 373 338 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 374 339 | 
             
                  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
         | 
| 375 340 | 
             
                  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
         | 
| 376 | 
            -
                  form_params = {}
         | 
| 377 341 | 
             
                  post_body = nil
         | 
| 378 342 |  | 
| 379 343 | 
             
                  local_var_path = '/reports/{campaign_id}/sent-to'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
         | 
| 380 344 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 381 345 | 
             
                    :query_params => query_params,
         | 
| 382 | 
            -
                    :form_params => form_params,
         | 
| 383 346 | 
             
                    :body => post_body)
         | 
| 384 347 | 
             
                  return data, status_code, headers
         | 
| 385 348 | 
             
                end
         | 
| @@ -392,13 +355,11 @@ module MailchimpMarketing | |
| 392 355 | 
             
                  query_params = {}
         | 
| 393 356 | 
             
                  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
         | 
| 394 357 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 395 | 
            -
                  form_params = {}
         | 
| 396 358 | 
             
                  post_body = nil
         | 
| 397 359 |  | 
| 398 360 | 
             
                  local_var_path = '/reports/{campaign_id}/sent-to/{subscriber_hash}'.sub('{' + 'campaign_id' + '}', campaign_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         | 
| 399 361 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 400 362 | 
             
                    :query_params => query_params,
         | 
| 401 | 
            -
                    :form_params => form_params,
         | 
| 402 363 | 
             
                    :body => post_body)
         | 
| 403 364 | 
             
                  return data, status_code, headers
         | 
| 404 365 | 
             
                end
         | 
| @@ -410,13 +371,11 @@ module MailchimpMarketing | |
| 410 371 | 
             
                  query_params = {}
         | 
| 411 372 | 
             
                  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
         | 
| 412 373 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 413 | 
            -
                  form_params = {}
         | 
| 414 374 | 
             
                  post_body = nil
         | 
| 415 375 |  | 
| 416 376 | 
             
                  local_var_path = '/reports/{campaign_id}/sub-reports'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
         | 
| 417 377 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 418 378 | 
             
                    :query_params => query_params,
         | 
| 419 | 
            -
                    :form_params => form_params,
         | 
| 420 379 | 
             
                    :body => post_body)
         | 
| 421 380 | 
             
                  return data, status_code, headers
         | 
| 422 381 | 
             
                end
         | 
| @@ -431,13 +390,11 @@ module MailchimpMarketing | |
| 431 390 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 432 391 | 
             
                  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
         | 
| 433 392 | 
             
                  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
         | 
| 434 | 
            -
                  form_params = {}
         | 
| 435 393 | 
             
                  post_body = nil
         | 
| 436 394 |  | 
| 437 395 | 
             
                  local_var_path = '/reports/{campaign_id}/unsubscribed'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
         | 
| 438 396 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 439 397 | 
             
                    :query_params => query_params,
         | 
| 440 | 
            -
                    :form_params => form_params,
         | 
| 441 398 | 
             
                    :body => post_body)
         | 
| 442 399 | 
             
                  return data, status_code, headers
         | 
| 443 400 | 
             
                end
         | 
| @@ -450,13 +407,11 @@ module MailchimpMarketing | |
| 450 407 | 
             
                  query_params = {}
         | 
| 451 408 | 
             
                  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
         | 
| 452 409 | 
             
                  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
         | 
| 453 | 
            -
                  form_params = {}
         | 
| 454 410 | 
             
                  post_body = nil
         | 
| 455 411 |  | 
| 456 412 | 
             
                  local_var_path = '/reports/{campaign_id}/unsubscribed/{subscriber_hash}'.sub('{' + 'campaign_id' + '}', campaign_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         | 
| 457 413 | 
             
                  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
         | 
| 458 414 | 
             
                    :query_params => query_params,
         | 
| 459 | 
            -
                    :form_params => form_params,
         | 
| 460 415 | 
             
                    :body => post_body)
         | 
| 461 416 | 
             
                  return data, status_code, headers
         | 
| 462 417 | 
             
                end
         |