import { callResponse } from "../utils/connection";
import { getProfileSegmentMatchTypes } from "../utils/helpers";
import { FilteredResponse } from "../../src/types/sdkResponse";

/**
 * @function getAll
 * @returns {FilteredResponse}
 */
export function getAll(): FilteredResponse { // get an array of all match types
    const url = ""; // this function has no url (custom function)

    const body = getProfileSegmentMatchTypes(); // get match types

    return callResponse("GET", url, body, 200); // return result object
}
