text: /**
   * BombBomb
   * We make it easy to build relationships using simple videos.
   *
   * OpenAPI spec version: 2.0.831
   *
   * NOTE: This class is auto generated by the swagger code generator program.
   * https://github.com/swagger-api/swagger-codegen.git
   *
   * Swagger Codegen version: 2.3.1
   *
   * Do not edit the class manually.
   *
   */
  
  (function(root, factory) {
    if (typeof define === 'function' && define.amd) {
      // AMD. Register as an anonymous module.
      define(['ApiClient'], factory);
    } else if (typeof module === 'object' && module.exports) {
      // CommonJS-like environments that support module.exports, like Node.
      module.exports = factory(require('../ApiClient'));
    } else {
      // Browser globals (root is window)
      if (!root.Bombbomb) {
        root.Bombbomb = {};
      }
      root.Bombbomb.FormsApi = factory(root.Bombbomb.ApiClient);
    }
  }(this, function(ApiClient) {
    'use strict';
  
    /**
     * Forms service.
     * @module api/FormsApi
     * @version 2.0.25798
     */
  
    /**
     * Constructs a new FormsApi. 
     * @alias module:api/FormsApi
     * @class
     * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
     * default to {@link module:ApiClient#instance} if unspecified.
     */
    var exports = function(apiClient) {
      this.apiClient = apiClient || ApiClient.instance;
  
  
      /**
       * Callback function to receive the result of the getFormTrackingAsCsv operation.
       * @callback module:api/FormsApi~getFormTrackingAsCsvCallback
       * @param {String} error Error message, if any.
       * @param data This operation does not return a value.
       * @param {String} response The complete HTTP response.
       */
  
      /**
       * Get csv
       * Get form tracking as csv
       * @param {String} id Id of the form
       * @param {module:api/FormsApi~getFormTrackingAsCsvCallback} callback The callback function, accepting three arguments: error, data, response
       */
      this.getFormTrackingAsCsv = function(id, callback) {
        var postBody = null;
  
        // verify the required parameter 'id' is set
        if (id === undefined || id === null) {
          throw new Error("Missing the required parameter 'id' when calling getFormTrackingAsCsv");
        }
  
  
        var pathParams = {
          'id': id
        };
        var queryParams = {
        };
        var collectionQueryParams = {
        };
        var headerParams = {
        };
        var formParams = {
        };
  
        var authNames = ['BBOAuth2'];
        var contentTypes = ['application/x-www-form-urlencoded'];
        var accepts = ['application/json'];
        var returnType = null;
  
        return this.apiClient.callApi(
          '/forms/{id}/tracking/export', 'GET',
          pathParams, queryParams, collectionQueryParams, headerParams, formParams, postBody,
          authNames, contentTypes, accepts, returnType, callback
        );
      }
    };
  
    return exports;
  }));
  