import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { Modifier, ListModifiersOptions, ListModifiersResponse, UpdateModifier, BulkCreateModifiersOptions, BulkCreateModifiersResponse, MaskedModifier, BulkUpdateModifiersOptions, BulkUpdateModifiersResponse, CountModifiersOptions, CountModifiersResponse, CountModifiersApplicationErrors, BulkDeleteModifiersResponse, ItemModifierCreatedEnvelope, ItemModifierDeletedEnvelope, ItemModifierUpdatedEnvelope, ModifiersQueryBuilder, ModifierQuery, typedQueryModifiers } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, App, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkCreateModifierResult, BulkCreateModifiersRequest, BulkDeleteModifiersRequest, BulkDeleteModifiersResult, BulkItemResult, BulkUpdateAttachedToOrphanItemRequest, BulkUpdateAttachedToOrphanItemResponse, BulkUpdateBusinessLocationIdsPerEntityRequest, BulkUpdateBusinessLocationIdsPerEntityResponse, BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResult, BulkUpdateBusinessLocationIdsRequest, BulkUpdateBusinessLocationIdsResponse, BulkUpdateBusinessLocationIdsResponseBulkItemResult, BulkUpdateModifierResult, BulkUpdateModifiersRequest, CloneModifiersRequest, CloneModifiersResponse, CommonQueryWithEntityContext, CountModifiersRequest, CreateModifierRequest, CreateModifierResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, DeleteModifierRequest, DeleteModifierResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReferenceInfo, File, GetModifierRequest, GetModifierResponse, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, ListModifiersRequest, MessageEnvelope, ModifierIdAttachedToOrphanItem, ModifierIdLocationIds, ModifierQuerySpec, ModifiersQueryResult, Page, Pages, QueryModifiersRequest, QueryModifiersResponse, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, SyncContentToMultilingualRequest, SyncContentToMultilingualResponse, URI, URIs, UpdateModifierRequest, UpdateModifierResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js'; declare function createModifier$1(httpClient: HttpClient): CreateModifierSignature; interface CreateModifierSignature { /** * > **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). * @param - Item modifier to create. * @returns Created item modifier. */ (modifier: NonNullablePaths): Promise>; } declare function getModifier$1(httpClient: HttpClient): GetModifierSignature; interface GetModifierSignature { /** * > **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. * @param - ID of the item modifier to retrieve. * @returns Retrieved item modifier. */ (modifierId: string): Promise>; } declare function listModifiers$1(httpClient: HttpClient): ListModifiersSignature; interface ListModifiersSignature { /** * > **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 500 item modifiers. */ (options?: ListModifiersOptions): Promise>; } declare function updateModifier$1(httpClient: HttpClient): UpdateModifierSignature; interface UpdateModifierSignature { /** * > **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. * @param - Item modifier ID. * @returns Updated item modifier. */ (_id: string, modifier: NonNullablePaths): Promise>; } declare function bulkCreateModifiers$1(httpClient: HttpClient): BulkCreateModifiersSignature; interface BulkCreateModifiersSignature { /** * > **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. * @param - List of item modifiers to create. */ (modifiers: Modifier[], options?: BulkCreateModifiersOptions): Promise>; } declare function bulkUpdateModifiers$1(httpClient: HttpClient): BulkUpdateModifiersSignature; interface BulkUpdateModifiersSignature { /** * > **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. * @param - List of item modifiers to update. */ (modifiers: MaskedModifier[], options?: BulkUpdateModifiersOptions): Promise>; } declare function deleteModifier$1(httpClient: HttpClient): DeleteModifierSignature; interface DeleteModifierSignature { /** * > **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. * @param - ID of the item modifier to delete. */ (modifierId: string): Promise; } declare function countModifiers$1(httpClient: HttpClient): CountModifiersSignature; interface CountModifiersSignature { /** * > **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. */ (options?: CountModifiersOptions): Promise & { __applicationErrorsType?: CountModifiersApplicationErrors; }>; } declare function bulkDeleteModifiers$1(httpClient: HttpClient): BulkDeleteModifiersSignature; interface BulkDeleteModifiersSignature { /** * > **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. * @param - Item Modifier IDs. */ (ids: string[]): Promise>; } declare const onItemModifierCreated$1: EventDefinition; declare const onItemModifierDeleted$1: EventDefinition; declare const onItemModifierUpdated$1: EventDefinition; declare function customQueryModifiers(httpClient: HttpClient): { (): ModifiersQueryBuilder; (query: ModifierQuery): ReturnType; }; declare const createModifier: MaybeContext & typeof createModifier$1>; declare const getModifier: MaybeContext & typeof getModifier$1>; declare const listModifiers: MaybeContext & typeof listModifiers$1>; declare const updateModifier: MaybeContext & typeof updateModifier$1>; declare const bulkCreateModifiers: MaybeContext & typeof bulkCreateModifiers$1>; declare const bulkUpdateModifiers: MaybeContext & typeof bulkUpdateModifiers$1>; declare const deleteModifier: MaybeContext & typeof deleteModifier$1>; declare const countModifiers: MaybeContext & typeof countModifiers$1>; declare const bulkDeleteModifiers: MaybeContext & typeof bulkDeleteModifiers$1>; declare const queryModifiers: MaybeContext & typeof customQueryModifiers>; /** */ declare const onItemModifierCreated: BuildEventDefinition & typeof onItemModifierCreated$1; /** */ declare const onItemModifierDeleted: BuildEventDefinition & typeof onItemModifierDeleted$1; /** */ declare const onItemModifierUpdated: BuildEventDefinition & typeof onItemModifierUpdated$1; export { BulkCreateModifiersOptions, BulkCreateModifiersResponse, BulkDeleteModifiersResponse, BulkUpdateModifiersOptions, BulkUpdateModifiersResponse, CountModifiersApplicationErrors, CountModifiersOptions, CountModifiersResponse, ItemModifierCreatedEnvelope, ItemModifierDeletedEnvelope, ItemModifierUpdatedEnvelope, ListModifiersOptions, ListModifiersResponse, MaskedModifier, Modifier, ModifierQuery, ModifiersQueryBuilder, UpdateModifier, bulkCreateModifiers, bulkDeleteModifiers, bulkUpdateModifiers, countModifiers, createModifier, deleteModifier, getModifier, listModifiers, onItemModifierCreated, onItemModifierDeleted, onItemModifierUpdated, queryModifiers, updateModifier };