docs: function(apiClient) {
      this.apiClient = apiClient || ApiClient.instance;
  
  
  
      /**
       * Find organization
       * Find organization
       * @param {String} organizationId organization id
       * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Organization}
       */
      this.findOrganization = function(organizationId) {
        var postBody = null;
  
        // verify the required parameter 'organizationId' is set
        if (organizationId == undefined || organizationId == null) {
          throw "Missing the required parameter 'organizationId' when calling findOrganization";
        }
  
  
        var pathParams = {
          'organizationId': organizationId
        };
        var queryParams = {
        };
        var headerParams = {
        };
        var formParams = {
        };
  
        var authNames = ['basicAuth'];
        var contentTypes = ['application/json;charset=utf-8'];
        var accepts = ['application/json;charset=utf-8'];
        var returnType = Organization;
  
        return this.apiClient.callApi(
          '/organizations/{organizationId}', 'GET',
          pathParams, queryParams, headerParams, formParams, postBody,
          authNames, contentTypes, accepts, returnType
        );
      }
  
  
      /**
       * List organizations
       * List organizations
       * @param {Object} opts Optional parameters
       * @param {String} opts.businessName Filter by organization&#39;s business name
       * @param {String} opts.businessCode Filter by organization&#39;s business code
       * @param {String} opts.search Search organizations by free-text query
       * @param {String} opts.sortBy define order (NATURAL or SCORE). Default is NATURAL
       * @param {String} opts.sortDir ASC or DESC. Default is ASC
       * @param {Integer} opts.firstResult First result
       * @param {Integer} opts.maxResults Max results
       * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/Organization>}
       */
      this.listOrganizations = function(opts) {
        opts = opts || {};
        var postBody = null;
  
  
        var pathParams = {
        };
        var queryParams = {
          'businessName': opts['businessName'],
          'businessCode': opts['businessCode'],
          'search': opts['search'],
          'sortBy': opts['sortBy'],
          'sortDir': opts['sortDir'],
          'firstResult': opts['firstResult'],
          'maxResults': opts['maxResults']
        };
        var headerParams = {
        };
        var formParams = {
        };
  
        var authNames = ['basicAuth'];
        var contentTypes = ['application/json;charset=utf-8'];
        var accepts = ['application/json;charset=utf-8'];
        var returnType = [Organization];
  
        return this.apiClient.callApi(
          '/organizations', 'GET',
          pathParams, queryParams, headerParams, formParams, postBody,
          authNames, contentTypes, accepts, returnType
        );
      }
    }