import { RequestOptionsFactory } from '@wix/sdk-types'; /** Creates a new operation. */ export declare function createOperation(payload: object): RequestOptionsFactory; /** Retrieves an operation. */ export declare function getOperation(payload: object): RequestOptionsFactory; /** * Updates an operation. * * If you update part of the `orderScheduling` property, the whole object is overwritten, * so you must include the entire object unless you are not updating `orderScheduling` at all.
* * Each time the operation is updated, * `revision` increments by 1. * The current `revision` must be passed when updating the operation. * This ensures you're working with the latest operation * and prevents unintended overwrites. */ export declare function updateOperation(payload: object): RequestOptionsFactory; /** Deletes an operation. */ export declare function deleteOperation(payload: object): RequestOptionsFactory; /** * Creates a query to retrieve a list of operations. * * The `queryOperations()` function builds a query to retrieve a list of operations and returns an `OperationsQueryBuilder` object. * * The returned object contains the query definition, which is used to run the query using the [`find()`](/operations/operations-query-builder/find) function. * * You can refine the query by chaining `OperationsQueryBuilder` functions onto the query. `OperationsQueryBuilder` functions enable you to filter, sort, and control the results that `queryOperations()` returns. * * `queryOperations()` runs with the following `OperationsQueryBuilder` defaults, which you can override: * * * [`limit(50)`](/operations/operations-query-builder/limit) * * [`ascending('entityId')`](/operations/operations-methods-query-builder/ascending) * * The following `OperationsQueryBuilder` functions are supported for `queryOperations()`. For a full description of the operations object, see the object returned for the [`items`](/operations/operations-query-result/items) property in `OperationsQueryResult`. */ export declare function queryOperation(payload: object): RequestOptionsFactory; /** * Retrieves a list of operations. * The result will be sorted by created date in ascending order. */ export declare function listOperations(payload: object): RequestOptionsFactory; /** * Retrieves a list of available fulfillment options. * * What makes a fulfillment option available is whether you can submit an order given the scheduling configurations and the fulfillment method's availability. * When a delivery address is not provided in the input, our system retrieves a list encompassing all types of fulfillment methods. * Conversely, if a delivery address` is given, the response may includes non-delivery fulfillment options along with delivery fulfillment methods that are applicable to the given address, ensuring the address falls within the defined delivery area of these methods. */ export declare function listAvailableFulfillmentOptions(payload: object): RequestOptionsFactory; /** * Retrieves a list of available time slots for each fulfillment type. * * Each time slot is the first available time slot for the given fulfillment type. */ export declare function listFirstAvailableTimeSlotForFulfillmentTypes(payload: object): RequestOptionsFactory; /** * Retrieves a list of available time slots for each fulfillment type. * * Each time slot is the first available time slot for the given fulfillment type. */ export declare function listFirstAvailableTimeSlotsForOperations(payload: object): RequestOptionsFactory; /** For each menu, retrieves the first available time slots for each fulfillment type. */ export declare function listFirstAvailableTimeSlotsForMenus(payload: object): RequestOptionsFactory; /** Retrieves a list of the available time slots for a given date. */ export declare function listAvailableTimeSlotsForDate(payload: object): RequestOptionsFactory; /** * Retrieves a list of the available dates in a given time range. * * A date is considered available if it has at least one available time slot. */ export declare function listAvailableDatesInRange(payload: object): RequestOptionsFactory;