import { RequestOptionsFactory } from '@wix/sdk-types'; /** Retrieves a list of orders, including ticket data. */ export declare function listOrders(payload: object): RequestOptionsFactory; /** * Retrieves an order, including ticket data. * */ export declare function getOrder(payload: object): RequestOptionsFactory; /** Updates an order. */ export declare function updateOrder(payload: object): RequestOptionsFactory; /** Archives multiple orders. */ export declare function bulkUpdateOrders(payload: object): RequestOptionsFactory; /** * Confirms an order. * * * This function changes order status from `INITIATED`, `PENDING`, `OFFLINE_PENDING` to `PAID`. * Confirming orders with `INITIATED` or `PENDING` status triggers an email with the tickets to the buyer (and to additional guests, if provided). */ export declare function confirmOrder(payload: object): RequestOptionsFactory; /** * Retrieves a summary of total ticket sales. * */ export declare function getSummary(payload: object): RequestOptionsFactory; /** * Captures authorized payment asynchronously. * Eventually order will become paid. * For orders with non-authorized payments request will fail. */ export declare function captureAuthorizedPayment(payload: object): RequestOptionsFactory; /** * Voids authorized payment asynchronously. * Eventually order will become voided. * For orders with non-authorized payments request will fail. */ export declare function voidAuthorizedPayment(payload: object): RequestOptionsFactory; /** Retrieves checkout details. */ export declare function getCheckoutOptions(payload: object): RequestOptionsFactory; /** * Returns tickets available to reserve. * */ export declare function listAvailableTickets(payload: object): RequestOptionsFactory; /** * Returns tickets available to reserve. * */ export declare function queryAvailableTickets(payload: object): RequestOptionsFactory; /** * Reserves tickets for 20 minutes. * * * Reserved tickets are deducted from ticket stock and cannot be bought by another site visitor. * When the reservation expires, the tickets are added back to the stock. */ export declare function createReservation(payload: object): RequestOptionsFactory; /** * Cancels ticket reservation and returns tickets to stock. * */ export declare function cancelReservation(payload: object): RequestOptionsFactory; /** Generates a preview of an invoice, including the given coupon or pricing plan. */ export declare function getInvoice(payload: object): RequestOptionsFactory; /** * Checkouts the reserved tickets. * * * Creates an order and associates it with a site visitor contact. * Guest details are received from the [Registration Form](https://www.wix.com/velo/reference/wix-events-v2/forms/introduction) input fields. * * There is a possibility to use a separate ready-made Wix checkout form where the user will be redirected from your non-Wix site or a custom ticket picker created with Velo. * To build the checkout form path, get your event base URL by using the [`getEvent()`](https://www.wix.com/velo/reference/wix-events-backend/wixevents/getevent) function and add the following path: * `/{{EVENT_PAGE_SLUG}}/{{SLUG}}/ticket-form?reservationId={{YOUR_RESERVATION_ID}}` * * Example: `https://johndoe.wixsite.com/weddings/event-details/doe-wedding/ticket-form?reservationId=2be6d34a-2a1e-459f-897b-b4a66e73f69a` */ export declare function checkout(payload: object): RequestOptionsFactory; /** * Updates order and tickets. * * * Only applicable for orders with `INITIATED`, `PENDING`, `OFFLINE_PENDING` statuses. */ export declare function updateCheckout(payload: object): RequestOptionsFactory; /** Creates order with payment details already initiated via Cashier Pay API. */ export declare function posCheckout(payload: object): RequestOptionsFactory;