/* eslint-disable */
import request from "@workspace/ui/lib/request";

/** Get global invite list GET /v1/admin/invite/list */
export async function getAdminInviteList(
  params: API.GetAdminInviteListParams,
  options?: Record<string, unknown>
) {
  return request<API.Response & { data?: API.GetAdminInviteListResponse }>(
    `${import.meta.env.VITE_API_PREFIX || ""}/v1/admin/invite/list`,
    {
      method: "GET",
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}
