import { RequestOptionsFactory } from '@wix/sdk-types'; /** * > **Note:** The Item Modifiers API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new). * * Creates an item modifier. * * To create multiple item modifiers at once, use [Bulk Create Modifiers](https://dev.wix.com/docs/rest/business-solutions/restaurants/menus/item-modifiers/bulk-create-modifiers). */ export declare function createModifier(payload: object): RequestOptionsFactory; /** * > **Note:** The Item Modifier API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new). * * Retrieves an item modifier by ID. */ export declare function getModifier(payload: object): RequestOptionsFactory; /** * > **Note:** The Item Modifier API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new). * * Retrieves a list of up to 100 item modifiers. */ export declare function listModifiers(payload: object): RequestOptionsFactory; /** * > **Note:** The Item Modifier API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new). * * Updates an item modifier. * * To update multiple item modifiers at once, use [Bulk Update Item Modifiers](https://dev.wix.com/docs/rest/business-solutions/restaurants/menus/item-modifiers/bulk-update-modifiers). * * Each time an item modifier is updated, its revision increments by 1. The existing revision must be included when updating an item modifier. This ensures you're working with the latest item modifier information, and it prevents unintended overwrites. */ export declare function updateModifier(payload: object): RequestOptionsFactory; /** * > **Note:** The Item Modifier API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new). * * Creates multiple item modifiers. */ export declare function bulkCreateModifiers(payload: object): RequestOptionsFactory; /** * > **Note:** The Item modifier API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new). * * Updates multiple item modifiers at once. * Each time an item modifier is updated, its revision increments by 1. The existing revision must be included when updating the item modifier. This ensures you're working with the latest item modifier information, and prevents unintended overwrites. */ export declare function bulkUpdateModifiers(payload: object): RequestOptionsFactory; /** * > **Note:** The Item modifier API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new). * Deletes an item modifier. */ export declare function deleteModifier(payload: object): RequestOptionsFactory; /** * Creates a query to retrieve a list of item modifiers. * * The `queryModifiers()` function builds a query to retrieve a list of item modifiers and returns a `ModifiersQueryBuilder` object. * * The returned object contains the query definition, which is used to run the query using the [`find()`](/item-modifiers/modifiers-query-builder/find) function. * * You can refine the query by chaining `ModifiersQueryBuilder` functions onto the query. `ModifiersQueryBuilder` functions enable you to filter, sort, and control the results that `queryModifiers()` returns. * * `queryModifiers()` runs with the following `ModifiersQueryBuilder` defaults, which you can override: * * * [`limit(200)`](/item-modifiers/modifiers-query-builder/limit) * * [`ascending('entityId')`](/item-modifiers/modifiers-query-builder/ascending) * * The following `ModifiersQueryBuilder` functions are supported for `queryModifiers()`. For a full description of the item modifier object, see the object returned for the [`items`](/item-modifiers/modifiers-query-builder/items) property in `ModifiersQueryResult`. */ export declare function queryModifiers(payload: object): RequestOptionsFactory; /** * > **Note:** The Item API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new). * * Retrieves the number of modifiers that match a specified filter. * * If a filter isn't passed in the request, the endpoint returns the count of all modifiers. */ export declare function countModifiers(payload: object): RequestOptionsFactory; /** * > **Note:** The Item Modifier API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new). * * Deletes multiple item Modifiers at once. */ export declare function bulkDeleteModifiers(payload: object): RequestOptionsFactory;