text: /**
   * KIP-7 API
   * # Introduction KIP-7 API is a RESTful API for managing KIP-7 contracts and tokens that follow the [KIP-7 Fungible Token Standard](https://kips.klaytn.com/KIPs/kip-7).   You can deploy contracts and send tokens using the default contract managing account (`deployer`) and an `alias`. And by using SDK like caver,  you can manage your contracts and tokens using [Wallet API](https://refs.klaytnapi.com/en/wallet/latest) for contracts created on the Klaytn Network.    # Error Codes  ## 400: Bad Request  | Code | Messages | | --- | --- | | 1130050 | incorrect request; spender | | 1130107 | incorrect bookmark | | 1134410 | invalid address; to</br>invalid address; owner</br>invalid address; address | | 1134411 | invalid amount; amount |  ## 404: Not Found  | Code | Messages | | --- | --- | | 1134504 | contract not found | | 1134506 | deployer not found |  ## 409: Conflict   | Code | Messages |   | --- | --- |   | 1134900 | duplicate alias 1134902 | contract already paused 1134903 | contract already unpaused |
   *
   * OpenAPI spec version: 1.0
   *
   *
   * 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.
   *
   */
  
  const ApiClient = require('../../ApiClient')
  const ErrorResponse = require('../model/ErrorResponse')
  const Kip7DeployerResponse = require('../model/Kip7DeployerResponse')
  
  /**
   * KIP7Deployer service.
   * @class KIP7DeployerApi
   * @version 1.0
   */
  class KIP7DeployerApi {
      /**
       * Constructs a new KIP7DeployerApi.
       * @alias KIP7DeployerApi
       * @class
       * @param {ApiClient} [apiClient] Optional API client implementation to use,
       * default to {@link ApiClient#instance} if unspecified.
       */
      constructor(apiClient) {
          this.apiClient = apiClient || ApiClient.instance
      }
  
      /**
       * Callback function to receive the result of the getDefaultDeployer operation.
       * @callback KIP7DeployerApi~getDefaultDeployerCallback
       * @param {String} error Error message, if any.
       * @param {Kip7DeployerResponse} data The data returned by the service call.
       * @param {String} response The complete HTTP response.
       */
  
      /**
       * Retrieves the default contract deployer account
       * Queries the account that deploys and manages the KIP-7 contracts.  &#x60;deployer&#x60; will automatically be created during the initial contract deployment.&lt;p&gt;&lt;/p&gt;
       * @param {KIP7DeployerApi~getDefaultDeployerCallback} callback The callback function, accepting three arguments: error, data, response
       * data is of type: {@link Kip7DeployerResponse}
       */
      getDefaultDeployer(xChainId, callback) {
          const postBody = null
  
          const pathParams = {}
          const queryParams = {}
          const headerParams = {
              'x-chain-id': xChainId,
          }
          const formParams = {}
  
          const authNames = ['basic']
          const contentTypes = []
          const accepts = ['application/json']
          const returnType = Kip7DeployerResponse
  
          return this.apiClient.callApi(
              '/v1/deployer/default',
              'GET',
              pathParams,
              queryParams,
              headerParams,
              formParams,
              postBody,
              authNames,
              contentTypes,
              accepts,
              returnType,
              callback
          )
      }
  }
  module.exports = KIP7DeployerApi
  