import { getUrl } from "../helper";
import { authedFunction } from "../session";
export const contactActions = {
  getSiteResidents: async site => {
    return authedFunction({
      method: "POST",
      url: getUrl("users", "getexp"),
      data: {
        site
      }
    });
  },
  getSingleExpoResidents: async id => {
    return authedFunction({
      method: "POST",
      url: getUrl("users", "getexpsingle"),
      data: {
        id
      }
    });
  },
  syncContacts: async (userKey, contacts) => {
    // deprecated
    return null;
  }
};
//# sourceMappingURL=contactActions.js.map