/* 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 CashBackQueueService {
  /**
   * @returns any
   * @throws ApiError
   */
  public static cashBackQueueControllerGetStats(): CancelablePromise<any> {
    return __request(OpenAPI, {
      method: "GET",
      url: "/v1/cashback-queue/stats",
    });
  }
  /**
   * @returns any
   * @throws ApiError
   */
  public static cashBackQueueControllerStopQueue(): CancelablePromise<any> {
    return __request(OpenAPI, {
      method: "POST",
      url: "/v1/cashback-queue/stop",
    });
  }
  /**
   * @returns any
   * @throws ApiError
   */
  public static cashBackQueueControllerRestartQueue(): CancelablePromise<any> {
    return __request(OpenAPI, {
      method: "POST",
      url: "/v1/cashback-queue/restart",
    });
  }
}
