text: /**
   * Selling Partner API for Sellers
   * The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the marketplace such as the default language and the default currency. The API also provides seller-specific information such as whether the seller has suspended listings in that marketplace.
   *
   * OpenAPI spec version: v1
   * 
   *
   * NOTE: This class is auto generated by the swagger code generator program.
   * https://github.com/swagger-api/swagger-codegen.git
   * Do not edit the class manually.
   *
   */
  
  import ApiClient from "../ApiClient";
  import GetMarketplaceParticipationsResponse from '../models/GetMarketplaceParticipationsResponse';
  
  /**
  * Sellers service.
  * @module client/apis/SellersApi
  * @version v1
  */
  export default class SellersApi {
  
      /**
      * Constructs a new SellersApi. 
      * @alias module:client/apis/SellersApi
      * @class
      * @param {module:client/ApiClient} [apiClient] Optional API client implementation to use,
      * default to {@link module:client/ApiClient#instance} if unspecified.
      */
      constructor(apiClient) {
          this.apiClient = apiClient || ApiClient.instance;
      }
  
      /**
       * Callback function to receive the result of the getMarketplaceParticipations operation.
       * @callback module:client/apis/SellersApi~getMarketplaceParticipationsCallback
       * @param {String} error Error message, if any.
       * @param {module:client/models/GetMarketplaceParticipationsResponse} data The data returned by the service call.
       * @param {String} response The complete HTTP response.
       */
  
      /**
       * Returns a list of marketplaces that the seller submitting the request can sell in and information about the seller&#x27;s participation in those marketplaces.  **Usage Plan:**  | Rate (requests per second) | Burst | | ---- | ---- | | .016 | 15 |  For more information, see \&quot;Usage Plans and Rate Limits\&quot; in the Selling Partner API documentation.
       * @param {module:client/apis/SellersApi~getMarketplaceParticipationsCallback} callback The callback function, accepting three arguments: error, data, response
       * data is of type: {@link module:client/models/GetMarketplaceParticipationsResponse}
       */
      getMarketplaceParticipations(callback) {
        let postBody = null;
  
        let pathParams = {
        };
        let queryParams = {
        };
        let headerParams = {
        };
        let formParams = {
        };
  
        let authNames = [];
        let contentTypes = [];
        let accepts = ['application/json', 'payload'];
        let returnType = GetMarketplaceParticipationsResponse;
  
        return this.apiClient.callApi(
          '/sellers/v1/marketplaceParticipations', 'GET',
          pathParams, queryParams, headerParams, formParams, postBody,
          authNames, contentTypes, accepts, returnType, callback
        );
      }
  
  }
  