import { gql,TypedDocumentNode } from "@apollo/client";
import { CreateCancelOrderData } from "@/types/checkout/type";

export const CREATE_CANCEL_ORDER: TypedDocumentNode<CreateCancelOrderData> = gql`
  mutation CreateCancelOrder(
      $orderId: Int
  ) {
      createCancelOrder(
        input: {
          orderId: $orderId
        }
      ) {
          cancelOrder {
            success
            message
            orderId
            status
            id
          }
      }
  }
`;