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
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 24e0647e4e49e74d15565347b826cf998cd427adf59ccdc0aab797a81e1db322
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 842d46ff68601816df6f7bf4ca11d63c60cc7b3d61a6adbc4bbb910b8a9ec971
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: f073124ae0db353decb8b7aa0f092690f6b30fd52d03f254a475b836cee94988a4c555c7e99e6a1d441477b0730c709ce5d8d46b350c0043ece4d45e3ada6e16
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: e4f43cd32f62126506a81a956f466506777a714f8f0a0688481cd5bc2c0e860cd8e752b3f1a7783ee055911c96ac64552f769389d320204bc3b14123a06d8a94
         
     | 
    
        data/LICENSE
    ADDED
    
    | 
         @@ -0,0 +1,53 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            Mailchimp Client Library License Agreement
         
     | 
| 
      
 2 
     | 
    
         
            +
             
         
     | 
| 
      
 3 
     | 
    
         
            +
            IMPORTANT- PLEASE READ CAREFULLY BEFORE OPENING, INSTALLING, COPYING OR USING THE CLIENT LIBRARY.  This Client Library License Agreement (“Agreement”) is a legal document by and between you (hereinafter referred to as “You” “Your” or “Licensee”) and The Rocket Science Group LLC (“Mailchimp”) (each a “Party” and collectively, “Parties”) for the client library, including any upgrades, modified versions, updates, additions, and copies of the foregoing, including the software and related documentation (the “Mailchimp Client Library”).
         
     | 
| 
      
 4 
     | 
    
         
            +
             
         
     | 
| 
      
 5 
     | 
    
         
            +
            BY OPENING, INSTALLING, COPYING OR USING THE MAILCHIMP CLIENT LIBRARY OR ANY PORTION THEREOF, YOU AGREE TO ALL THE TERMS OF THIS AGREEMENT.  IF YOU ARE AGREEING TO THIS AGREEMENT AS AN INDIVIDUAL, “YOU” “YOUR” AND “LICENSEE” REFERS TO YOU INDIVIDUALLY.  IF YOU ARE AGREEING TO THIS AGREEMENT AS A REPRESENTATIVE OF A LEGAL ENTITY, YOU REPRESENT THAT YOU HAVE THE AUTHORITY TO BIND THAT ENTITY AND “YOU” “YOUR” AND “LICENSEE” REFERS TO THAT LEGAL ENTITY AND ALL THE USERS ACCESSING THE SOFTWARE BY, THROUGH OR ON BEHALF OF THAT LEGAL ENTITY. IF YOU DO NOT AGREE WITH ALL OF THE TERMS OF THIS AGREEMENT, DO NOT (AND ENSURE THAT YOUR END USERS DO NOT) OPEN, INSTALL, COPY OR USE THE MAILCHIMP CLIENT LIBRARY.
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
         
     | 
| 
      
 8 
     | 
    
         
            +
            1. Definitions.
         
     | 
| 
      
 9 
     | 
    
         
            +
            “License” shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 10 of these Terms and Conditions for Use, Reproduction and Distribution.
         
     | 
| 
      
 10 
     | 
    
         
            +
            “Legal Entity” shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, “control” means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
         
     | 
| 
      
 11 
     | 
    
         
            +
            “You” (or “Your”) shall mean an individual or Legal Entity exercising permissions granted by this License.
         
     | 
| 
      
 12 
     | 
    
         
            +
            “Source” form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
         
     | 
| 
      
 13 
     | 
    
         
            +
            “Object” form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
         
     | 
| 
      
 14 
     | 
    
         
            +
            “Work” shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work.
         
     | 
| 
      
 15 
     | 
    
         
            +
            “Derivative Works” shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
         
     | 
| 
      
 16 
     | 
    
         
            +
            “Contribution” shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Mailchimp for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, “submitted” means any form of electronic, verbal, or written communication sent to Mailchimp or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, Mailchimp for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as “Not a Contribution.”
         
     | 
| 
      
 17 
     | 
    
         
            +
            “Contributor” shall mean Mailchimp and any individual or Legal Entity on behalf of whom a Contribution has been received by Mailchimp and subsequently incorporated within the Work.
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            2. Grant of Copyright License. Subject to the terms and conditions of this Agreement, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
            4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
         
     | 
| 
      
 24 
     | 
    
         
            +
            a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
         
     | 
| 
      
 25 
     | 
    
         
            +
            b) You must cause any modified files to carry prominent notices stating that You changed the files; and
         
     | 
| 
      
 26 
     | 
    
         
            +
            c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
         
     | 
| 
      
 27 
     | 
    
         
            +
            d) If the Work includes a “NOTICE” text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
         
     | 
| 
      
 28 
     | 
    
         
            +
            You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
            5. Submission of Contributions. Any Contribution submitted for inclusion in the Work by You to Mailchimp shall be made under the terms and conditions of the Individual Contributor License Agreement or the  Software Grant and Corporate Contributor License Agreement, as applicable.
         
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
            6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of Mailchimp, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
            7. Export controls. The Mailchimp Client Library is subject to united states export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the Mailchimp Client Library. These laws include restrictions on destinations, end-users and end use. 
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
      
 36 
     | 
    
         
            +
            8. Disclaimer of Warranty.    Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
         
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
      
 38 
     | 
    
         
            +
            9. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
            10. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
         
     | 
| 
      
 41 
     | 
    
         
            +
             
     | 
| 
      
 42 
     | 
    
         
            +
            Copyright 2020, The Rocket Science Group LLC
         
     | 
| 
      
 43 
     | 
    
         
            +
             
     | 
| 
      
 44 
     | 
    
         
            +
            Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
         
     | 
| 
      
 45 
     | 
    
         
            +
             
     | 
| 
      
 46 
     | 
    
         
            +
            You should include a copy of the License, typically in a file called LICENSE, in your work, and consider also including a NOTICE file.
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
      
 48 
     | 
    
         
            +
            To apply the License to specific files in your work, attach the following boilerplate declaration, with the fields enclosed by brackets “[]” replaced with your own identifying information. (Don’t include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same “printed page” as the copyright notice for easier identification within third-party archives.
         
     | 
| 
      
 49 
     | 
    
         
            +
            Copyright [yyyy] [name of copyright owner]
         
     | 
| 
      
 50 
     | 
    
         
            +
             
     | 
| 
      
 51 
     | 
    
         
            +
            Licensed under the Mailchimp Client Library License Agreement (the “License”); you may not use this file except in compliance with the License. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either or express or implied.
         
     | 
| 
      
 52 
     | 
    
         
            +
            See the License for the specific language governing permissions and
         
     | 
| 
      
 53 
     | 
    
         
            +
            limitations under the License.
         
     | 
    
        data/MailchimpMarketing.gemspec
    CHANGED
    
    | 
         @@ -5,7 +5,7 @@ 
     | 
|
| 
       5 
5 
     | 
    
         | 
| 
       6 
6 
     | 
    
         
             
            #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
     | 
    
         
            -
            OpenAPI spec version: 3.0. 
     | 
| 
      
 8 
     | 
    
         
            +
            OpenAPI spec version: 3.0.15
         
     | 
| 
       9 
9 
     | 
    
         
             
            Contact: apihelp@mailchimp.com
         
     | 
| 
       10 
10 
     | 
    
         
             
            Generated by: https://github.com/swagger-api/swagger-codegen.git
         
     | 
| 
       11 
11 
     | 
    
         
             
            Swagger Codegen version: 2.4.12
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -20,8 +20,8 @@ gem 'MailchimpMarketing', :git => 'https://github.com/mailchimp/mailchimp-market 
     | 
|
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
            ```shell
         
     | 
| 
       22 
22 
     | 
    
         
             
            gem build MailchimpMarketing.gemspec
         
     | 
| 
       23 
     | 
    
         
            -
            gem install ./MailchimpMarketing-3.0. 
     | 
| 
       24 
     | 
    
         
            -
            gem 'MailchimpMarketing', '~> 3.0. 
     | 
| 
      
 23 
     | 
    
         
            +
            gem install ./MailchimpMarketing-3.0.15.gem
         
     | 
| 
      
 24 
     | 
    
         
            +
            gem 'MailchimpMarketing', '~> 3.0.15'
         
     | 
| 
       25 
25 
     | 
    
         
             
            ```
         
     | 
| 
       26 
26 
     | 
    
         | 
| 
       27 
27 
     | 
    
         
             
            ## Quick Start
         
     | 
    
        data/lib/MailchimpMarketing.rb
    CHANGED
    
    | 
         @@ -3,7 +3,7 @@ 
     | 
|
| 
       3 
3 
     | 
    
         | 
| 
       4 
4 
     | 
    
         
             
            #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
       6 
     | 
    
         
            -
            OpenAPI spec version: 3.0. 
     | 
| 
      
 6 
     | 
    
         
            +
            OpenAPI spec version: 3.0.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
         
     | 
| 
         @@ -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
         
     | 
| 
         @@ -27,10 +27,10 @@ module MailchimpMarketing 
     | 
|
| 
       27 
27 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       28 
28 
     | 
    
         | 
| 
       29 
29 
     | 
    
         
             
                  local_var_path = '/activity-feed'
         
     | 
| 
       30 
     | 
    
         
            -
                  data 
     | 
| 
      
 30 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       31 
31 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       32 
32 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       33 
     | 
    
         
            -
                  return data 
     | 
| 
      
 33 
     | 
    
         
            +
                  return data
         
     | 
| 
       34 
34 
     | 
    
         
             
                end
         
     | 
| 
       35 
35 
     | 
    
         | 
| 
       36 
36 
     | 
    
         
             
                # Get latest chimp chatter
         
     | 
| 
         @@ -43,10 +43,10 @@ module MailchimpMarketing 
     | 
|
| 
       43 
43 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       44 
44 
     | 
    
         | 
| 
       45 
45 
     | 
    
         
             
                  local_var_path = '/activity-feed/chimp-chatter'
         
     | 
| 
       46 
     | 
    
         
            -
                  data 
     | 
| 
      
 46 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, 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 
     | 
    
         
             
              end
         
     | 
| 
       52 
52 
     | 
    
         
             
            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
         
     | 
| 
         @@ -32,10 +32,10 @@ module MailchimpMarketing 
     | 
|
| 
       32 
32 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       33 
33 
     | 
    
         | 
| 
       34 
34 
     | 
    
         
             
                  local_var_path = '/authorized-apps'
         
     | 
| 
       35 
     | 
    
         
            -
                  data 
     | 
| 
      
 35 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       36 
36 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       37 
37 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       38 
     | 
    
         
            -
                  return data 
     | 
| 
      
 38 
     | 
    
         
            +
                  return data
         
     | 
| 
       39 
39 
     | 
    
         
             
                end
         
     | 
| 
       40 
40 
     | 
    
         | 
| 
       41 
41 
     | 
    
         
             
                # Get authorized app info
         
     | 
| 
         @@ -48,10 +48,10 @@ module MailchimpMarketing 
     | 
|
| 
       48 
48 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       49 
49 
     | 
    
         | 
| 
       50 
50 
     | 
    
         
             
                  local_var_path = '/authorized-apps/{app_id}'.sub('{' + 'app_id' + '}', app_id.to_s)
         
     | 
| 
       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 
     | 
    
         
             
                # Link application
         
     | 
| 
         @@ -62,10 +62,10 @@ module MailchimpMarketing 
     | 
|
| 
       62 
62 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(client_details)
         
     | 
| 
       63 
63 
     | 
    
         | 
| 
       64 
64 
     | 
    
         
             
                  local_var_path = '/authorized-apps'
         
     | 
| 
       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
         
     | 
| 
         @@ -28,10 +28,10 @@ module MailchimpMarketing 
     | 
|
| 
       28 
28 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       29 
29 
     | 
    
         | 
| 
       30 
30 
     | 
    
         
             
                  local_var_path = '/automations/{workflow_id}/actions/archive'.sub('{' + 'workflow_id' + '}', workflow_id.to_s)
         
     | 
| 
       31 
     | 
    
         
            -
                  data 
     | 
| 
      
 31 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, 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 workflow email
         
     | 
| 
         @@ -43,10 +43,10 @@ module MailchimpMarketing 
     | 
|
| 
       43 
43 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       44 
44 
     | 
    
         | 
| 
       45 
45 
     | 
    
         
             
                  local_var_path = '/automations/{workflow_id}/emails/{workflow_email_id}'.sub('{' + 'workflow_id' + '}', workflow_id.to_s).sub('{' + 'workflow_email_id' + '}', workflow_email_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 
     | 
    
         
             
                # List automations
         
     | 
| 
         @@ -64,10 +64,10 @@ module MailchimpMarketing 
     | 
|
| 
       64 
64 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       65 
65 
     | 
    
         | 
| 
       66 
66 
     | 
    
         
             
                  local_var_path = '/automations'
         
     | 
| 
       67 
     | 
    
         
            -
                  data 
     | 
| 
      
 67 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       68 
68 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       69 
69 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       70 
     | 
    
         
            -
                  return data 
     | 
| 
      
 70 
     | 
    
         
            +
                  return data
         
     | 
| 
       71 
71 
     | 
    
         
             
                end
         
     | 
| 
       72 
72 
     | 
    
         | 
| 
       73 
73 
     | 
    
         
             
                # Get automation info
         
     | 
| 
         @@ -80,10 +80,10 @@ module MailchimpMarketing 
     | 
|
| 
       80 
80 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       81 
81 
     | 
    
         | 
| 
       82 
82 
     | 
    
         
             
                  local_var_path = '/automations/{workflow_id}'.sub('{' + 'workflow_id' + '}', workflow_id.to_s)
         
     | 
| 
       83 
     | 
    
         
            -
                  data 
     | 
| 
      
 83 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       84 
84 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       85 
85 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       86 
     | 
    
         
            -
                  return data 
     | 
| 
      
 86 
     | 
    
         
            +
                  return data
         
     | 
| 
       87 
87 
     | 
    
         
             
                end
         
     | 
| 
       88 
88 
     | 
    
         | 
| 
       89 
89 
     | 
    
         
             
                # List automated emails
         
     | 
| 
         @@ -94,10 +94,10 @@ module MailchimpMarketing 
     | 
|
| 
       94 
94 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       95 
95 
     | 
    
         | 
| 
       96 
96 
     | 
    
         
             
                  local_var_path = '/automations/{workflow_id}/emails'.sub('{' + 'workflow_id' + '}', workflow_id.to_s)
         
     | 
| 
       97 
     | 
    
         
            -
                  data 
     | 
| 
      
 97 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       98 
98 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       99 
99 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       100 
     | 
    
         
            -
                  return data 
     | 
| 
      
 100 
     | 
    
         
            +
                  return data
         
     | 
| 
       101 
101 
     | 
    
         
             
                end
         
     | 
| 
       102 
102 
     | 
    
         | 
| 
       103 
103 
     | 
    
         
             
                # Get workflow email info
         
     | 
| 
         @@ -109,10 +109,10 @@ module MailchimpMarketing 
     | 
|
| 
       109 
109 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       110 
110 
     | 
    
         | 
| 
       111 
111 
     | 
    
         
             
                  local_var_path = '/automations/{workflow_id}/emails/{workflow_email_id}'.sub('{' + 'workflow_id' + '}', workflow_id.to_s).sub('{' + 'workflow_email_id' + '}', workflow_email_id.to_s)
         
     | 
| 
       112 
     | 
    
         
            -
                  data 
     | 
| 
      
 112 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       113 
113 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       114 
114 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       115 
     | 
    
         
            -
                  return data 
     | 
| 
      
 115 
     | 
    
         
            +
                  return data
         
     | 
| 
       116 
116 
     | 
    
         
             
                end
         
     | 
| 
       117 
117 
     | 
    
         | 
| 
       118 
118 
     | 
    
         
             
                # List automated email subscribers
         
     | 
| 
         @@ -124,10 +124,10 @@ module MailchimpMarketing 
     | 
|
| 
       124 
124 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       125 
125 
     | 
    
         | 
| 
       126 
126 
     | 
    
         
             
                  local_var_path = '/automations/{workflow_id}/emails/{workflow_email_id}/queue'.sub('{' + 'workflow_id' + '}', workflow_id.to_s).sub('{' + 'workflow_email_id' + '}', workflow_email_id.to_s)
         
     | 
| 
       127 
     | 
    
         
            -
                  data 
     | 
| 
      
 127 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, 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 
     | 
    
         
             
                # Get automated email subscriber
         
     | 
| 
         @@ -140,10 +140,10 @@ module MailchimpMarketing 
     | 
|
| 
       140 
140 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       141 
141 
     | 
    
         | 
| 
       142 
142 
     | 
    
         
             
                  local_var_path = '/automations/{workflow_id}/emails/{workflow_email_id}/queue/{subscriber_hash}'.sub('{' + 'workflow_id' + '}', workflow_id.to_s).sub('{' + 'workflow_email_id' + '}', workflow_email_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         
     | 
| 
       143 
     | 
    
         
            -
                  data 
     | 
| 
      
 143 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       144 
144 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       145 
145 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       146 
     | 
    
         
            -
                  return data 
     | 
| 
      
 146 
     | 
    
         
            +
                  return data
         
     | 
| 
       147 
147 
     | 
    
         
             
                end
         
     | 
| 
       148 
148 
     | 
    
         | 
| 
       149 
149 
     | 
    
         
             
                # List subscribers removed from workflow
         
     | 
| 
         @@ -154,10 +154,10 @@ module MailchimpMarketing 
     | 
|
| 
       154 
154 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       155 
155 
     | 
    
         | 
| 
       156 
156 
     | 
    
         
             
                  local_var_path = '/automations/{workflow_id}/removed-subscribers'.sub('{' + 'workflow_id' + '}', workflow_id.to_s)
         
     | 
| 
       157 
     | 
    
         
            -
                  data 
     | 
| 
      
 157 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       158 
158 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       159 
159 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       160 
     | 
    
         
            -
                  return data 
     | 
| 
      
 160 
     | 
    
         
            +
                  return data
         
     | 
| 
       161 
161 
     | 
    
         
             
                end
         
     | 
| 
       162 
162 
     | 
    
         | 
| 
       163 
163 
     | 
    
         
             
                # Get subscriber removed from workflow
         
     | 
| 
         @@ -169,10 +169,10 @@ module MailchimpMarketing 
     | 
|
| 
       169 
169 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       170 
170 
     | 
    
         | 
| 
       171 
171 
     | 
    
         
             
                  local_var_path = '/automations/{workflow_id}/removed-subscribers/{subscriber_hash}'.sub('{' + 'workflow_id' + '}', workflow_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
         
     | 
| 
       172 
     | 
    
         
            -
                  data 
     | 
| 
      
 172 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       173 
173 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       174 
174 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       175 
     | 
    
         
            -
                  return data 
     | 
| 
      
 175 
     | 
    
         
            +
                  return data
         
     | 
| 
       176 
176 
     | 
    
         
             
                end
         
     | 
| 
       177 
177 
     | 
    
         | 
| 
       178 
178 
     | 
    
         
             
                # Update workflow email
         
     | 
| 
         @@ -185,10 +185,10 @@ module MailchimpMarketing 
     | 
|
| 
       185 
185 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       186 
186 
     | 
    
         | 
| 
       187 
187 
     | 
    
         
             
                  local_var_path = '/automations/{workflow_id}/emails/{workflow_email_id}'.sub('{' + 'workflow_id' + '}', workflow_id.to_s).sub('{' + 'workflow_email_id' + '}', workflow_email_id.to_s)
         
     | 
| 
       188 
     | 
    
         
            -
                  data 
     | 
| 
      
 188 
     | 
    
         
            +
                  data = @api_client.call_api(:PATCH, local_var_path,
         
     | 
| 
       189 
189 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       190 
190 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       191 
     | 
    
         
            -
                  return data 
     | 
| 
      
 191 
     | 
    
         
            +
                  return data
         
     | 
| 
       192 
192 
     | 
    
         
             
                end
         
     | 
| 
       193 
193 
     | 
    
         | 
| 
       194 
194 
     | 
    
         
             
                # Update automation
         
     | 
| 
         @@ -200,10 +200,10 @@ module MailchimpMarketing 
     | 
|
| 
       200 
200 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       201 
201 
     | 
    
         | 
| 
       202 
202 
     | 
    
         
             
                  local_var_path = '/automations/{workflow_id}'.sub('{' + 'workflow_id' + '}', workflow_id.to_s)
         
     | 
| 
       203 
     | 
    
         
            -
                  data 
     | 
| 
      
 203 
     | 
    
         
            +
                  data = @api_client.call_api(:PATCH, local_var_path,
         
     | 
| 
       204 
204 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       205 
205 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       206 
     | 
    
         
            -
                  return data 
     | 
| 
      
 206 
     | 
    
         
            +
                  return data
         
     | 
| 
       207 
207 
     | 
    
         
             
                end
         
     | 
| 
       208 
208 
     | 
    
         | 
| 
       209 
209 
     | 
    
         
             
                # Add automation
         
     | 
| 
         @@ -214,10 +214,10 @@ module MailchimpMarketing 
     | 
|
| 
       214 
214 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       215 
215 
     | 
    
         | 
| 
       216 
216 
     | 
    
         
             
                  local_var_path = '/automations'
         
     | 
| 
       217 
     | 
    
         
            -
                  data 
     | 
| 
      
 217 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, 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 
     | 
    
         
             
                # Pause automation emails
         
     | 
| 
         @@ -228,10 +228,10 @@ module MailchimpMarketing 
     | 
|
| 
       228 
228 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       229 
229 
     | 
    
         | 
| 
       230 
230 
     | 
    
         
             
                  local_var_path = '/automations/{workflow_id}/actions/pause-all-emails'.sub('{' + 'workflow_id' + '}', workflow_id.to_s)
         
     | 
| 
       231 
     | 
    
         
            -
                  data 
     | 
| 
      
 231 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       232 
232 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       233 
233 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       234 
     | 
    
         
            -
                  return data 
     | 
| 
      
 234 
     | 
    
         
            +
                  return data
         
     | 
| 
       235 
235 
     | 
    
         
             
                end
         
     | 
| 
       236 
236 
     | 
    
         | 
| 
       237 
237 
     | 
    
         
             
                # Start automation emails
         
     | 
| 
         @@ -242,10 +242,10 @@ module MailchimpMarketing 
     | 
|
| 
       242 
242 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       243 
243 
     | 
    
         | 
| 
       244 
244 
     | 
    
         
             
                  local_var_path = '/automations/{workflow_id}/actions/start-all-emails'.sub('{' + 'workflow_id' + '}', workflow_id.to_s)
         
     | 
| 
       245 
     | 
    
         
            -
                  data 
     | 
| 
      
 245 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       246 
246 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       247 
247 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       248 
     | 
    
         
            -
                  return data 
     | 
| 
      
 248 
     | 
    
         
            +
                  return data
         
     | 
| 
       249 
249 
     | 
    
         
             
                end
         
     | 
| 
       250 
250 
     | 
    
         | 
| 
       251 
251 
     | 
    
         
             
                # Pause automated email
         
     | 
| 
         @@ -257,10 +257,10 @@ module MailchimpMarketing 
     | 
|
| 
       257 
257 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       258 
258 
     | 
    
         | 
| 
       259 
259 
     | 
    
         
             
                  local_var_path = '/automations/{workflow_id}/emails/{workflow_email_id}/actions/pause'.sub('{' + 'workflow_id' + '}', workflow_id.to_s).sub('{' + 'workflow_email_id' + '}', workflow_email_id.to_s)
         
     | 
| 
       260 
     | 
    
         
            -
                  data 
     | 
| 
      
 260 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       261 
261 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       262 
262 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       263 
     | 
    
         
            -
                  return data 
     | 
| 
      
 263 
     | 
    
         
            +
                  return data
         
     | 
| 
       264 
264 
     | 
    
         
             
                end
         
     | 
| 
       265 
265 
     | 
    
         | 
| 
       266 
266 
     | 
    
         
             
                # Start automated email
         
     | 
| 
         @@ -272,10 +272,10 @@ module MailchimpMarketing 
     | 
|
| 
       272 
272 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       273 
273 
     | 
    
         | 
| 
       274 
274 
     | 
    
         
             
                  local_var_path = '/automations/{workflow_id}/emails/{workflow_email_id}/actions/start'.sub('{' + 'workflow_id' + '}', workflow_id.to_s).sub('{' + 'workflow_email_id' + '}', workflow_email_id.to_s)
         
     | 
| 
       275 
     | 
    
         
            -
                  data 
     | 
| 
      
 275 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       276 
276 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       277 
277 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       278 
     | 
    
         
            -
                  return data 
     | 
| 
      
 278 
     | 
    
         
            +
                  return data
         
     | 
| 
       279 
279 
     | 
    
         
             
                end
         
     | 
| 
       280 
280 
     | 
    
         | 
| 
       281 
281 
     | 
    
         
             
                # Add subscriber to workflow email
         
     | 
| 
         @@ -288,10 +288,10 @@ module MailchimpMarketing 
     | 
|
| 
       288 
288 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       289 
289 
     | 
    
         | 
| 
       290 
290 
     | 
    
         
             
                  local_var_path = '/automations/{workflow_id}/emails/{workflow_email_id}/queue'.sub('{' + 'workflow_id' + '}', workflow_id.to_s).sub('{' + 'workflow_email_id' + '}', workflow_email_id.to_s)
         
     | 
| 
       291 
     | 
    
         
            -
                  data 
     | 
| 
      
 291 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       292 
292 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       293 
293 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       294 
     | 
    
         
            -
                  return data 
     | 
| 
      
 294 
     | 
    
         
            +
                  return data
         
     | 
| 
       295 
295 
     | 
    
         
             
                end
         
     | 
| 
       296 
296 
     | 
    
         | 
| 
       297 
297 
     | 
    
         
             
                # Remove subscriber from workflow
         
     | 
| 
         @@ -303,10 +303,10 @@ module MailchimpMarketing 
     | 
|
| 
       303 
303 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       304 
304 
     | 
    
         | 
| 
       305 
305 
     | 
    
         
             
                  local_var_path = '/automations/{workflow_id}/removed-subscribers'.sub('{' + 'workflow_id' + '}', workflow_id.to_s)
         
     | 
| 
       306 
     | 
    
         
            -
                  data 
     | 
| 
      
 306 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       307 
307 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       308 
308 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       309 
     | 
    
         
            -
                  return data 
     | 
| 
      
 309 
     | 
    
         
            +
                  return data
         
     | 
| 
       310 
310 
     | 
    
         
             
                end
         
     | 
| 
       311 
311 
     | 
    
         
             
              end
         
     | 
| 
       312 
312 
     | 
    
         
             
            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 = '/batch-webhooks/{batch_webhook_id}'.sub('{' + 'batch_webhook_id' + '}', batch_webhook_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 
     | 
    
         
             
                # Get batch webhook info
         
     | 
| 
         @@ -44,10 +44,10 @@ module MailchimpMarketing 
     | 
|
| 
       44 
44 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       45 
45 
     | 
    
         | 
| 
       46 
46 
     | 
    
         
             
                  local_var_path = '/batch-webhooks/{batch_webhook_id}'.sub('{' + 'batch_webhook_id' + '}', batch_webhook_id.to_s)
         
     | 
| 
       47 
     | 
    
         
            -
                  data 
     | 
| 
      
 47 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, local_var_path,
         
     | 
| 
       48 
48 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       49 
49 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       50 
     | 
    
         
            -
                  return data 
     | 
| 
      
 50 
     | 
    
         
            +
                  return data
         
     | 
| 
       51 
51 
     | 
    
         
             
                end
         
     | 
| 
       52 
52 
     | 
    
         | 
| 
       53 
53 
     | 
    
         
             
                # List batch webhooks
         
     | 
| 
         @@ -62,10 +62,10 @@ module MailchimpMarketing 
     | 
|
| 
       62 
62 
     | 
    
         
             
                  post_body = nil
         
     | 
| 
       63 
63 
     | 
    
         | 
| 
       64 
64 
     | 
    
         
             
                  local_var_path = '/batch-webhooks'
         
     | 
| 
       65 
     | 
    
         
            -
                  data 
     | 
| 
      
 65 
     | 
    
         
            +
                  data = @api_client.call_api(:GET, 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 
     | 
    
         | 
| 
       71 
71 
     | 
    
         
             
                # Update batch webhook
         
     | 
| 
         @@ -77,10 +77,10 @@ module MailchimpMarketing 
     | 
|
| 
       77 
77 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       78 
78 
     | 
    
         | 
| 
       79 
79 
     | 
    
         
             
                  local_var_path = '/batch-webhooks/{batch_webhook_id}'.sub('{' + 'batch_webhook_id' + '}', batch_webhook_id.to_s)
         
     | 
| 
       80 
     | 
    
         
            -
                  data 
     | 
| 
      
 80 
     | 
    
         
            +
                  data = @api_client.call_api(:PATCH, local_var_path,
         
     | 
| 
       81 
81 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       82 
82 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       83 
     | 
    
         
            -
                  return data 
     | 
| 
      
 83 
     | 
    
         
            +
                  return data
         
     | 
| 
       84 
84 
     | 
    
         
             
                end
         
     | 
| 
       85 
85 
     | 
    
         | 
| 
       86 
86 
     | 
    
         
             
                # Add batch webhook
         
     | 
| 
         @@ -91,10 +91,10 @@ module MailchimpMarketing 
     | 
|
| 
       91 
91 
     | 
    
         
             
                  post_body = @api_client.object_to_http_body(body)
         
     | 
| 
       92 
92 
     | 
    
         | 
| 
       93 
93 
     | 
    
         
             
                  local_var_path = '/batch-webhooks'
         
     | 
| 
       94 
     | 
    
         
            -
                  data 
     | 
| 
      
 94 
     | 
    
         
            +
                  data = @api_client.call_api(:POST, local_var_path,
         
     | 
| 
       95 
95 
     | 
    
         
             
                    :query_params => query_params,
         
     | 
| 
       96 
96 
     | 
    
         
             
                    :body => post_body)
         
     | 
| 
       97 
     | 
    
         
            -
                  return data 
     | 
| 
      
 97 
     | 
    
         
            +
                  return data
         
     | 
| 
       98 
98 
     | 
    
         
             
                end
         
     | 
| 
       99 
99 
     | 
    
         
             
              end
         
     | 
| 
       100 
100 
     | 
    
         
             
            end
         
     |