import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { ListCatalogsOptions, ListCatalogsResponse, GetMenuIdentifiers, GetMenuResponse, GetSectionIdentifiers, GetSectionResponse, UpdateMenuIdentifiers, UpdateMenuOptions, UpdateMenuResponse, UpdateSectionIdentifiers, UpdateSectionOptions, UpdateSectionResponse, ListMenusOptions, ListMenusResponse, ListSectionsOptions, ListSectionsResponse, Menu, CreateMenuResponse, ArchiveMenuIdentifiers, ArchiveMenuResponse, UnarchiveMenuIdentifiers, UnarchiveMenuResponse, CreateSectionIdentifiers, Section, CreateSectionResponse, GetItemIdentifiers, GetItemOptions, GetItemResponse, ListItemsOptions, ListItemsResponse, UpdateItemIdentifiers, UpdateItemOptions, UpdateItemResponse, CreateDishIdentifiers, Item, CreateDishResponse, CreateVariationResponse, CreateDraftCatalogResponse, PublishDraftCatalogResponse, BulkCreateVariationsOptions, BulkCreateVariationsResponse, BulkUpdateItemsOptions, BulkUpdateItemsResponse, BulkCreateDishesOptions, BulkCreateDishesResponse, BulkCreateMenusOptions, BulkCreateMenusResponse, BulkUpdateMenusOptions, BulkUpdateMenusResponse, BulkCreateSectionsOptions, BulkCreateSectionsResponse, BulkUpdateSectionsOptions, BulkUpdateSectionsResponse, BulkArchiveMenusOptions, BulkArchiveMenusResponse, BulkUnarchiveMenusOptions, BulkUnarchiveMenusResponse, CatalogChangedEnvelope, CatalogCreatedEnvelope } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, App, ApplicationError, ArchiveMenuRequest, ArchiveSectionRequest, ArchiveSectionResponse, Availability, BaseEventMetadata, BulkActionMetadata, BulkArchiveMenusRequest, BulkCreateDishesRequest, BulkCreateMenusRequest, BulkCreateSectionsRequest, BulkCreateVariationsRequest, BulkItemResult, BulkMenuResult, BulkSectionResult, BulkUnarchiveMenusRequest, BulkUpdateItemsRequest, BulkUpdateMenusRequest, BulkUpdateSectionsRequest, Catalog, CatalogChanged, CatalogUpdated, Coupon, CreateDishRequest, CreateDraftCatalogRequest, CreateMenuRequest, CreateSectionRequest, CreateVariationRequest, CustomTag, DayOfWeek, DayOfWeekWithLiterals, Deselection, DiscardDraftCatalogRequest, DiscardDraftCatalogResponse, Discount, DiscountApplyToFilterOneOf, DiscountCondition, DiscountPlatform, DiscountPlatformWithLiterals, DiscountType, DiscountTypeWithLiterals, DiscountValueOneOf, DishOption, DishOptionItem, DishOptionMethodOneOf, DishOptions, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, Extras, File, FulfillmentType, FulfillmentTypeWithLiterals, GetItemRequest, GetMenuRequest, GetSectionRequest, IdentificationData, IdentificationDataIdOneOf, IndexCacheCmd, InvalidateCache, InvalidateCacheGetByOneOf, ItemIds, ItemMetadata, ItemType, ItemTypeWithLiterals, Labels, ListCatalogsRequest, ListItemsRequest, ListMenusRequest, ListSectionsRequest, MenuSectionIds, MenuUpdated, MessageEnvelope, Money, NewVariation, Page, Pages, Paging, Platform, PlatformWithLiterals, PublishCatalogUpdated, PublishDraftCatalogRequest, RemoveDishFromSectionRequest, RemoveDishFromSectionResponse, RestoreInfo, SectionIds, SectionItemIds, Selection, SortOrder, SortOrderWithLiterals, Sorting, SpecialHourPeriod, TimePeriod, Type, TypeWithLiterals, URI, URIs, UnarchiveMenuRequest, UpdateItemRequest, UpdateMenuRequest, UpdateSectionRequest, V3CreateDishRequest, V3CreateSectionRequest, V3UpdateSectionRequest, VisibilityCriteria, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js'; declare function listCatalogs$1(httpClient: HttpClient): ListCatalogsSignature; interface ListCatalogsSignature { /** * Retrieves catalogs, given the provided filtering, sorting and paging. * Note that there is a single catalog per location. * @deprecated */ (options?: ListCatalogsOptions): Promise>; } declare function getMenu$1(httpClient: HttpClient): GetMenuSignature; interface GetMenuSignature { /** * Retrieves a menu. * @deprecated */ (identifiers: NonNullablePaths): Promise>; } declare function getSection$1(httpClient: HttpClient): GetSectionSignature; interface GetSectionSignature { /** * Retrieves a section. * @deprecated */ (identifiers: NonNullablePaths): Promise>; } declare function updateMenu$1(httpClient: HttpClient): UpdateMenuSignature; interface UpdateMenuSignature { /** * Updates a menu. * You can't update archived menus. * @deprecated */ (identifiers: NonNullablePaths, options: NonNullablePaths): Promise>; } declare function updateSection$1(httpClient: HttpClient): UpdateSectionSignature; interface UpdateSectionSignature { /** * Updates a section. * You can't update archived sections. Note that every section belongs to a single menu, you can't add it to another menu. * @deprecated */ (identifiers: NonNullablePaths, options: NonNullablePaths): Promise>; } declare function listMenus$1(httpClient: HttpClient): ListMenusSignature; interface ListMenusSignature { /** * Retrieves menus, given the provided filtering, sorting and paging. * @param - ID of the catalog the menus belong to. * @deprecated */ (catalogId: string, options?: ListMenusOptions): Promise>; } declare function listSections$1(httpClient: HttpClient): ListSectionsSignature; interface ListSectionsSignature { /** * Retrieves sections, given the provided filtering, sorting and paging. * @param - ID of the catalog the sections belong to. * @deprecated */ (catalogId: string, options?: ListSectionsOptions): Promise>; } declare function createMenu$1(httpClient: HttpClient): CreateMenuSignature; interface CreateMenuSignature { /** * Creates a menu. * @param - ID of the catalog the menu will belong to. * @param - Menu to create. * @deprecated */ (catalogId: string, menu: Menu): Promise>; } declare function archiveMenu$1(httpClient: HttpClient): ArchiveMenuSignature; interface ArchiveMenuSignature { /** * Archives a menu. You can't update archived menus. * @deprecated */ (identifiers: NonNullablePaths): Promise>; } declare function unarchiveMenu$1(httpClient: HttpClient): UnarchiveMenuSignature; interface UnarchiveMenuSignature { /** * Unarchives a menu. * @deprecated */ (identifiers: NonNullablePaths): Promise>; } declare function createSection$1(httpClient: HttpClient): CreateSectionSignature; interface CreateSectionSignature { /** * Creates a section. * You can't add the section to multiple menus, since every section belongs to a single menu. * @param - Section to create. * @deprecated */ (identifiers: NonNullablePaths, section: Section): Promise>; } declare function getItem$1(httpClient: HttpClient): GetItemSignature; interface GetItemSignature { /** * Retrieves an item. * @deprecated */ (identifiers: NonNullablePaths, options?: GetItemOptions): Promise>; } declare function listItems$1(httpClient: HttpClient): ListItemsSignature; interface ListItemsSignature { /** * Retrieves items, given the provided filtering, sorting and paging. * @param - ID of the catalog the items belong to. * @deprecated */ (catalogId: string, options?: ListItemsOptions): Promise>; } declare function updateItem$1(httpClient: HttpClient): UpdateItemSignature; interface UpdateItemSignature { /** * Updates an item. * You can't update archived items. * @deprecated */ (identifiers: NonNullablePaths, options: NonNullablePaths): Promise>; } declare function createDish$1(httpClient: HttpClient): CreateDishSignature; interface CreateDishSignature { /** * Creates a dish. * @param - Item of type `dish` to create. * @deprecated */ (identifiers: NonNullablePaths, dish: Item): Promise>; } declare function createVariation$1(httpClient: HttpClient): CreateVariationSignature; interface CreateVariationSignature { /** * Creates a variation. * @param - ID of the catalog the variation will belong to. * @param - Variation name. * @deprecated */ (catalogId: string, name: string): Promise>; } declare function createDraftCatalog$1(httpClient: HttpClient): CreateDraftCatalogSignature; interface CreateDraftCatalogSignature { /** * Creates a draft version of the specified catalog. * Then you can update and publish the draft catalog by using the endpoints in the [Draft Catalogs category](https://dev.wix.com/api/rest/wix-restaurants/catalogs/draft-catalogs). * * > **Note:** You can't create more than one draft catalog per location. * @param - ID of the catalog to create a draft version for. * @deprecated */ (catalogId: string): Promise>; } declare function publishDraftCatalog$1(httpClient: HttpClient): PublishDraftCatalogSignature; interface PublishDraftCatalogSignature { /** * Publishes a draft catalog to the live site by replacing the existing catalog. * @param - ID of the draft catalog to publish. * @deprecated */ (catalogId: string): Promise>; } declare function discardDraftCatalog$1(httpClient: HttpClient): DiscardDraftCatalogSignature; interface DiscardDraftCatalogSignature { /** * Discards a draft catalog. If you want to continue using [Bulk endpoints](https://dev.wix.com/api/rest/wix-restaurants/catalogs/draft-catalogs) for this catalog, you must first call the [Create Draft Catalog](https://dev.wix.com/api/rest/wix-restaurants/catalogs/draft-catalogs/create-draft-catalog) endpoint again. * @param - ID of the draft catalog to discard. * @deprecated */ (catalogId: string): Promise; } declare function bulkCreateVariations$1(httpClient: HttpClient): BulkCreateVariationsSignature; interface BulkCreateVariationsSignature { /** * Adds multiple variations to a draft catalog. * @param - ID of the catalog the variations will belong to. * @deprecated */ (catalogId: string, options?: BulkCreateVariationsOptions): Promise>; } declare function bulkUpdateItems$1(httpClient: HttpClient): BulkUpdateItemsSignature; interface BulkUpdateItemsSignature { /** * Updates multiple items in a draft catalog. * You can't update archived items. * @param - ID of the catalog the items belong to. * @deprecated */ (catalogId: string, options?: BulkUpdateItemsOptions): Promise>; } declare function bulkCreateDishes$1(httpClient: HttpClient): BulkCreateDishesSignature; interface BulkCreateDishesSignature { /** * Adds multiple dishes to a draft catalog. * @param - ID of the catalog the dishes will belong to. * @deprecated */ (catalogId: string, options?: BulkCreateDishesOptions): Promise>; } declare function bulkCreateMenus$1(httpClient: HttpClient): BulkCreateMenusSignature; interface BulkCreateMenusSignature { /** * Adds multiple menus to a draft catalog. * @param - ID of the catalog the menus will belong to. * @deprecated */ (catalogId: string, options?: BulkCreateMenusOptions): Promise>; } declare function bulkUpdateMenus$1(httpClient: HttpClient): BulkUpdateMenusSignature; interface BulkUpdateMenusSignature { /** * Updates multiple menus in a draft catalog. * You can't update archived menus. * @param - ID of the catalog the menus belong to. * @deprecated */ (catalogId: string, options?: BulkUpdateMenusOptions): Promise>; } declare function bulkCreateSections$1(httpClient: HttpClient): BulkCreateSectionsSignature; interface BulkCreateSectionsSignature { /** * Adds multiple sections to a draft catalog. * @param - ID of the catalog the sections will belong to. * @deprecated */ (catalogId: string, options?: BulkCreateSectionsOptions): Promise>; } declare function bulkUpdateSections$1(httpClient: HttpClient): BulkUpdateSectionsSignature; interface BulkUpdateSectionsSignature { /** * Updates multiple sections in a draft catalog. * You can't update archived sections. * @param - ID of the catalog the sections belong to. * @deprecated */ (catalogId: string, options?: BulkUpdateSectionsOptions): Promise>; } declare function bulkArchiveMenus$1(httpClient: HttpClient): BulkArchiveMenusSignature; interface BulkArchiveMenusSignature { /** * Changes the `archived` boolean to `true` for multiple menus in a draft catalog. * @param - ID of the catalog the menus belong to. * @deprecated */ (catalogId: string, options?: BulkArchiveMenusOptions): Promise>; } declare function bulkUnarchiveMenus$1(httpClient: HttpClient): BulkUnarchiveMenusSignature; interface BulkUnarchiveMenusSignature { /** * Changes the `archived` boolean to `false` for multiple menus in a draft catalog. * @param - ID of the catalog the menus belong to. * @deprecated */ (catalogId: string, options?: BulkUnarchiveMenusOptions): Promise>; } declare const onCatalogChanged$1: EventDefinition; declare const onCatalogCreated$1: EventDefinition; declare const listCatalogs: MaybeContext & typeof listCatalogs$1>; declare const getMenu: MaybeContext & typeof getMenu$1>; declare const getSection: MaybeContext & typeof getSection$1>; declare const updateMenu: MaybeContext & typeof updateMenu$1>; declare const updateSection: MaybeContext & typeof updateSection$1>; declare const listMenus: MaybeContext & typeof listMenus$1>; declare const listSections: MaybeContext & typeof listSections$1>; declare const createMenu: MaybeContext & typeof createMenu$1>; declare const archiveMenu: MaybeContext & typeof archiveMenu$1>; declare const unarchiveMenu: MaybeContext & typeof unarchiveMenu$1>; declare const createSection: MaybeContext & typeof createSection$1>; declare const getItem: MaybeContext & typeof getItem$1>; declare const listItems: MaybeContext & typeof listItems$1>; declare const updateItem: MaybeContext & typeof updateItem$1>; declare const createDish: MaybeContext & typeof createDish$1>; declare const createVariation: MaybeContext & typeof createVariation$1>; declare const createDraftCatalog: MaybeContext & typeof createDraftCatalog$1>; declare const publishDraftCatalog: MaybeContext & typeof publishDraftCatalog$1>; declare const discardDraftCatalog: MaybeContext & typeof discardDraftCatalog$1>; declare const bulkCreateVariations: MaybeContext & typeof bulkCreateVariations$1>; declare const bulkUpdateItems: MaybeContext & typeof bulkUpdateItems$1>; declare const bulkCreateDishes: MaybeContext & typeof bulkCreateDishes$1>; declare const bulkCreateMenus: MaybeContext & typeof bulkCreateMenus$1>; declare const bulkUpdateMenus: MaybeContext & typeof bulkUpdateMenus$1>; declare const bulkCreateSections: MaybeContext & typeof bulkCreateSections$1>; declare const bulkUpdateSections: MaybeContext & typeof bulkUpdateSections$1>; declare const bulkArchiveMenus: MaybeContext & typeof bulkArchiveMenus$1>; declare const bulkUnarchiveMenus: MaybeContext & typeof bulkUnarchiveMenus$1>; /** * Triggered when a catalog is changed. * * > __Note:__ The webhook doesn't return information about what has changed. In order to update an external POS upon changes to a Wix Restaurants catalog you may need to create your own logic to identify the changes. * @deprecated */ declare const onCatalogChanged: BuildEventDefinition & typeof onCatalogChanged$1; /** * Triggered when a catalog is created. * * > __Note:__ The webhook doesn't return information about the entities belonging to the catalog. You may need to create your own logic to retrieve the catalog's content. * @deprecated */ declare const onCatalogCreated: BuildEventDefinition & typeof onCatalogCreated$1; export { ArchiveMenuIdentifiers, ArchiveMenuResponse, BulkArchiveMenusOptions, BulkArchiveMenusResponse, BulkCreateDishesOptions, BulkCreateDishesResponse, BulkCreateMenusOptions, BulkCreateMenusResponse, BulkCreateSectionsOptions, BulkCreateSectionsResponse, BulkCreateVariationsOptions, BulkCreateVariationsResponse, BulkUnarchiveMenusOptions, BulkUnarchiveMenusResponse, BulkUpdateItemsOptions, BulkUpdateItemsResponse, BulkUpdateMenusOptions, BulkUpdateMenusResponse, BulkUpdateSectionsOptions, BulkUpdateSectionsResponse, CatalogChangedEnvelope, CatalogCreatedEnvelope, CreateDishIdentifiers, CreateDishResponse, CreateDraftCatalogResponse, CreateMenuResponse, CreateSectionIdentifiers, CreateSectionResponse, CreateVariationResponse, GetItemIdentifiers, GetItemOptions, GetItemResponse, GetMenuIdentifiers, GetMenuResponse, GetSectionIdentifiers, GetSectionResponse, Item, ListCatalogsOptions, ListCatalogsResponse, ListItemsOptions, ListItemsResponse, ListMenusOptions, ListMenusResponse, ListSectionsOptions, ListSectionsResponse, Menu, PublishDraftCatalogResponse, Section, UnarchiveMenuIdentifiers, UnarchiveMenuResponse, UpdateItemIdentifiers, UpdateItemOptions, UpdateItemResponse, UpdateMenuIdentifiers, UpdateMenuOptions, UpdateMenuResponse, UpdateSectionIdentifiers, UpdateSectionOptions, UpdateSectionResponse, archiveMenu, bulkArchiveMenus, bulkCreateDishes, bulkCreateMenus, bulkCreateSections, bulkCreateVariations, bulkUnarchiveMenus, bulkUpdateItems, bulkUpdateMenus, bulkUpdateSections, createDish, createDraftCatalog, createMenu, createSection, createVariation, discardDraftCatalog, getItem, getMenu, getSection, listCatalogs, listItems, listMenus, listSections, onCatalogChanged, onCatalogCreated, publishDraftCatalog, unarchiveMenu, updateItem, updateMenu, updateSection };