/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */

import type { CancelablePromise } from "../core/CancelablePromise";
import { OpenAPI } from "../core/OpenAPI";
import { request as __request } from "../core/request";
export class XeraQueueService {
  /**
   * @returns any
   * @throws ApiError
   */
  public static xeraQueueControllerGetStats(): CancelablePromise<any> {
    return __request(OpenAPI, {
      method: "GET",
      url: "/v1/xera-queue/stats",
    });
  }
  /**
   * @returns any
   * @throws ApiError
   */
  public static xeraQueueControllerStopQueue(): CancelablePromise<any> {
    return __request(OpenAPI, {
      method: "POST",
      url: "/v1/xera-queue/stop",
    });
  }
  /**
   * @returns any
   * @throws ApiError
   */
  public static xeraQueueControllerRestartQueue(): CancelablePromise<any> {
    return __request(OpenAPI, {
      method: "POST",
      url: "/v1/xera-queue/restart",
    });
  }
}
