/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { OrderConfirmationEmailDto } from "../models/OrderConfirmationEmailDto";
import type { CancelablePromise } from "../core/CancelablePromise";
import { OpenAPI } from "../core/OpenAPI";
import { request as __request } from "../core/request";
export class OrderEmailsService {
  /**
   * @param requestBody
   * @returns any
   * @throws ApiError
   */
  public static orderEmailControllerOrderConfirmationByCard(
    requestBody: OrderConfirmationEmailDto,
  ): CancelablePromise<any> {
    return __request(OpenAPI, {
      method: "POST",
      url: "/v1/order-emails/pay-by-card/order-confirmation",
      body: requestBody,
      mediaType: "application/json",
    });
  }
  /**
   * @param requestBody
   * @returns any
   * @throws ApiError
   */
  public static orderEmailControllerOrderConfirmationByWallet(
    requestBody: OrderConfirmationEmailDto,
  ): CancelablePromise<any> {
    return __request(OpenAPI, {
      method: "POST",
      url: "/v1/order-emails/pay-by-wallet/order-confirmation",
      body: requestBody,
      mediaType: "application/json",
    });
  }
}
