import i from "./index.es39.js";
import "./index.es40.js";
import "./index.es41.js";
import "./index.es42.js";
import "./index.es43.js";
import "./index.es44.js";
import "./index.es45.js";
import "./index.es46.js";
import "./index.es47.js";
import "./index.es48.js";
import "./index.es49.js";
import "./index.es50.js";
import "./index.es51.js";
import "./index.es52.js";
import "./index.es53.js";
import "./index.es54.js";
import "./index.es55.js";
import "./index.es56.js";
import "./index.es57.js";
import "./index.es58.js";
import "./index.es59.js";
import "./index.es60.js";
import "./index.es61.js";
import "./index.es62.js";
import "./index.es63.js";
import "./index.es64.js";
import "./index.es65.js";
import "./index.es66.js";
class t {
  /**
   * Constructs a new BaseTransform object. This constructor should never be used directly.
   */
  constructor() {
    if (this.constructor === t)
      throw new TypeError('Abstract class "BaseTransform" cannot be instantiated directly.');
  }
  // protected
  /**
   * Returns the parameter name.
   *
   * @returns {string}
   */
  getParameterName() {
    return "";
  }
  /**
   * Returns the array of payload keys.
   *
   * @returns {*[]}
   */
  getPayloadKeys() {
    return [];
  }
  /**
   * Returns the object for POST/PUT requests as a plain Javascript object.
   *
   * @param item
   * @param attributes
   *
   * @returns any
   */
  toPayload(r, o = {}) {
    return {
      [this.getParameterName()]: {
        ...i.pick(r, this.getPayloadKeys()),
        ...o
      }
    };
  }
}
export {
  t as default
};
//# sourceMappingURL=index.es18.js.map
