/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { PlaceOrderDto } from "../models/PlaceOrderDto";
import type { CancelablePromise } from "../core/CancelablePromise";
import { OpenAPI } from "../core/OpenAPI";
import { request as __request } from "../core/request";
export class UpgradeOrdersService {
  /**
   * @param requestBody
   * @returns any
   * @throws ApiError
   */
  public static upgradeOrdersControllerPlaceOrder(
    requestBody: PlaceOrderDto,
  ): CancelablePromise<any> {
    return __request(OpenAPI, {
      method: "POST",
      url: "/v1/upgrade-orders",
      body: requestBody,
      mediaType: "application/json",
      isServerAction: true,
    });
  }
}
