import "vue";
import { o as e } from "./start-BYfL32Oe.mjs";
import "vue-i18n";
import "pinia";
import "vue-router";
import "./header-Droxy2Kd.mjs";
import "./moment-h96o7c8I.mjs";
import { B as o } from "./base-CZBAM3Up.mjs";
const s = `${o}ETLAttributeMaps.`, m = {
  /** List all ETLAttributeMaps for a given ETLAttributeSetMap */
  async getList(t) {
    return e.post(`${s}get`, t);
  },
  /** Add attribute from destination set to source set and map with SelfMappableExtension */
  async addSourceAndMap(t, r) {
    return e.post(`${s}addSourceAndMap`, {
      etlAttributeSetMapId: t,
      attributeId: r
    });
  },
  /** List possible extensions */
  async getPossibleExtensions(t) {
    return e.post(`${s}getPossibleExtensions`, t);
  },
  /** List possible source attributes */
  async getPossibleSourceAttributes(t) {
    return e.post(
      `${s}getPossibleSourceAttributes`,
      t
    );
  },
  /** Creates an ETLAttributeMap */
  async create(t) {
    return e.post(`${s}create`, t);
  },
  /** Updates and ETLAttributeMap, no selective updates */
  async update(t) {
    return e.post(`${s}update`, t);
  },
  /** Deletes an ETL attribute map */
  async delete(t) {
    return e.post(`${s}delete`, { id: t });
  },
  /** getValueMaps */
  async getValueMaps(t) {
    return e.post(`${s}getValueMaps`, {
      etlAttributeMapId: t
    });
  }
};
export {
  m as e
};
