{"version":3,"sources":["../../src/restaurants-menus-v1-menu-menus.public.ts","../../src/restaurants-menus-v1-menu-menus.universal.ts","../../src/restaurants-menus-v1-menu-menus.http.ts","../../src/restaurants-menus-v1-menu-menus.context.ts"],"sourcesContent":["import { renameKeysFromRESTResponseToSDKResponse } from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { EventDefinition, HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n  BulkCreateMenusOptions,\n  BulkCreateMenusResponse,\n  BulkUpdateMenuOptions,\n  BulkUpdateMenuResponse,\n  DuplicateMenuOptions,\n  DuplicateMenuResponse,\n  GetMenuSiteUrlResponse,\n  ListMenusOptions,\n  ListMenusResponse,\n  MaskedMenu,\n  Menu,\n  MenuCreatedEnvelope,\n  MenuDeletedEnvelope,\n  MenuQuery,\n  MenuUpdatedEnvelope,\n  MenusQueryBuilder,\n  QueryMenusResponse,\n  QueryMenusSiteUrlOptions,\n  QueryMenusSiteUrlResponse,\n  UpdateExtendedFieldsOptions,\n  UpdateExtendedFieldsResponse,\n  UpdateMenu,\n  bulkCreateMenus as universalBulkCreateMenus,\n  bulkUpdateMenu as universalBulkUpdateMenu,\n  createMenu as universalCreateMenu,\n  deleteMenu as universalDeleteMenu,\n  duplicateMenu as universalDuplicateMenu,\n  getMenu as universalGetMenu,\n  getMenuSiteUrl as universalGetMenuSiteUrl,\n  listMenus as universalListMenus,\n  queryMenus as universalQueryMenus,\n  queryMenusSiteUrl as universalQueryMenusSiteUrl,\n  typedQueryMenus as universalTypedQueryMenus,\n  updateExtendedFields as universalUpdateExtendedFields,\n  updateMenu as universalUpdateMenu,\n} from './restaurants-menus-v1-menu-menus.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/restaurants' };\n\nexport function createMenu(httpClient: HttpClient): CreateMenuSignature {\n  return (menu: Menu) =>\n    universalCreateMenu(\n      menu,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface CreateMenuSignature {\n  /**\n   * > **Note:** The Menus 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).\n   *\n   * Creates a menu.\n   *\n   * To create multiple menus at once, use [Bulk Create Menus](https://dev.wix.com/docs/rest/business-solutions/restaurants/menus/menu/bulk-create-menus).\n   * @param - Menu details.\n   * @returns Menu.\n   */\n  (menu: Menu): Promise<\n    NonNullablePaths<\n      Menu,\n      | `name`\n      | `sectionIds`\n      | `seoData.tags`\n      | `seoData.tags.${number}.type`\n      | `seoData.tags.${number}.children`\n      | `seoData.tags.${number}.custom`\n      | `seoData.tags.${number}.disabled`\n      | `seoData.settings.preventAutoRedirect`\n      | `seoData.settings.keywords`\n      | `seoData.settings.keywords.${number}.term`\n      | `seoData.settings.keywords.${number}.isMain`,\n      6\n    >\n  >;\n}\n\nexport function bulkCreateMenus(\n  httpClient: HttpClient\n): BulkCreateMenusSignature {\n  return (menus: Menu[], options?: BulkCreateMenusOptions) =>\n    universalBulkCreateMenus(\n      menus,\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface BulkCreateMenusSignature {\n  /**\n   * > **Note:** The Menu 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).\n   *\n   * Creates multiple menus at once.\n   * @param - Menu details.\n   */\n  (menus: Menu[], options?: BulkCreateMenusOptions): Promise<\n    NonNullablePaths<\n      BulkCreateMenusResponse,\n      | `results`\n      | `results.${number}.menuMetadata.originalIndex`\n      | `results.${number}.menuMetadata.success`\n      | `results.${number}.menuMetadata.error.code`\n      | `results.${number}.menuMetadata.error.description`\n      | `results.${number}.menu.name`\n      | `bulkActionMetadata.totalSuccesses`\n      | `bulkActionMetadata.totalFailures`\n      | `bulkActionMetadata.undetailedFailures`,\n      6\n    >\n  >;\n}\n\nexport function getMenu(httpClient: HttpClient): GetMenuSignature {\n  return (menuId: string) =>\n    universalGetMenu(\n      menuId,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface GetMenuSignature {\n  /**\n   * > **Note:** The Menu 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).\n   *\n   * Retrieves a menu by ID.\n   * @param - Menu ID.\n   * @returns Menu.\n   */\n  (menuId: string): Promise<\n    NonNullablePaths<\n      Menu,\n      | `name`\n      | `sectionIds`\n      | `seoData.tags`\n      | `seoData.tags.${number}.type`\n      | `seoData.tags.${number}.children`\n      | `seoData.tags.${number}.custom`\n      | `seoData.tags.${number}.disabled`\n      | `seoData.settings.preventAutoRedirect`\n      | `seoData.settings.keywords`\n      | `seoData.settings.keywords.${number}.term`\n      | `seoData.settings.keywords.${number}.isMain`,\n      6\n    >\n  >;\n}\n\nexport function listMenus(httpClient: HttpClient): ListMenusSignature {\n  return (options?: ListMenusOptions) =>\n    universalListMenus(\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface ListMenusSignature {\n  /**\n   * > **Note:** The Menu 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).\n   *\n   * Retrieves a list of up to 500 menus.\n   */\n  (options?: ListMenusOptions): Promise<\n    NonNullablePaths<\n      ListMenusResponse,\n      | `menus`\n      | `menus.${number}.name`\n      | `menus.${number}.seoData.settings.preventAutoRedirect`,\n      6\n    >\n  >;\n}\n\nexport function queryMenus(httpClient: HttpClient): QueryMenusSignature {\n  return () =>\n    universalQueryMenus(\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface QueryMenusSignature {\n  /**\n   * Creates a query to retrieve a list of menus.\n   *\n   * The `queryMenus()` function builds a query to retrieve a list of menus and returns a `MenusQueryBuilder` object.\n   *\n   * The returned object contains the query definition, which is used to run the query using the [`find()`](/menus/menus-query-builder/find) function.\n   *\n   * You can refine the query by chaining `MenusQueryBuilder` functions onto the query. `MenusQueryBuilder` functions enable you to filter, sort, and control the results that `queryMenus()` returns.\n   *\n   * `queryMenus()` runs with the following `MenusQueryBuilder` defaults, which you can override:\n   *\n   * * [`limit(100)`](/menus/menus-query-builder/limit)\n   *\n   * The following `MenusQueryBuilder` functions are supported for `queryMenus()`. For a full description of the menu object, see the object returned for the [`items`](/menus/menus-query-result/items) property in `MenusQueryResult`.\n   */\n  (): MenusQueryBuilder;\n}\n\nexport function typedQueryMenus(\n  httpClient: HttpClient\n): TypedQueryMenusSignature {\n  return (query: MenuQuery) =>\n    universalTypedQueryMenus(\n      query,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface TypedQueryMenusSignature {\n  /** */\n  (query: MenuQuery): Promise<\n    NonNullablePaths<\n      QueryMenusResponse,\n      | `menus`\n      | `menus.${number}.name`\n      | `menus.${number}.seoData.settings.preventAutoRedirect`,\n      6\n    >\n  >;\n}\n\nexport function updateMenu(httpClient: HttpClient): UpdateMenuSignature {\n  return (_id: string, menu: NonNullablePaths<UpdateMenu, `revision`, 2>) =>\n    universalUpdateMenu(\n      _id,\n      menu,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface UpdateMenuSignature {\n  /**\n   * > **Note:** The Menu 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).\n   *\n   * Updates a menu.\n   *\n   * To update multiple menus at once, use [Bulk Update Menu](https://dev.wix.com/docs/rest/business-solutions/restaurants/menus/menu/bulk-update-menu).\n   *\n   * Each time a menu is updated, its revision increments by 1. The existing revision must be included when updating a menu. This ensures you're working with the latest menu information, and it prevents unintended overwrites.\n   * @param - Menu ID.\n   * @returns Updated menu.\n   */\n  (_id: string, menu: NonNullablePaths<UpdateMenu, `revision`, 2>): Promise<\n    NonNullablePaths<\n      Menu,\n      | `name`\n      | `sectionIds`\n      | `seoData.tags`\n      | `seoData.tags.${number}.type`\n      | `seoData.tags.${number}.children`\n      | `seoData.tags.${number}.custom`\n      | `seoData.tags.${number}.disabled`\n      | `seoData.settings.preventAutoRedirect`\n      | `seoData.settings.keywords`\n      | `seoData.settings.keywords.${number}.term`\n      | `seoData.settings.keywords.${number}.isMain`,\n      6\n    >\n  >;\n}\n\nexport function bulkUpdateMenu(\n  httpClient: HttpClient\n): BulkUpdateMenuSignature {\n  return (\n    menus: NonNullablePaths<MaskedMenu, `menu._id` | `menu.revision`, 3>[],\n    options?: BulkUpdateMenuOptions\n  ) =>\n    universalBulkUpdateMenu(\n      menus,\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface BulkUpdateMenuSignature {\n  /**\n   * > **Note:** The Menu 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).\n   *\n   * Updates multiple menus at once.\n   *\n   * Each time a menu is updated, its revision increments by 1. The existing revision must be included when updating the menu. This ensures you're working with the latest menu information, and it prevents unintended overwrites.\n   * @param - Menus to update.\n   */\n  (\n    menus: NonNullablePaths<MaskedMenu, `menu._id` | `menu.revision`, 3>[],\n    options?: BulkUpdateMenuOptions\n  ): Promise<\n    NonNullablePaths<\n      BulkUpdateMenuResponse,\n      | `results`\n      | `results.${number}.menuMetadata.originalIndex`\n      | `results.${number}.menuMetadata.success`\n      | `results.${number}.menuMetadata.error.code`\n      | `results.${number}.menuMetadata.error.description`\n      | `results.${number}.menu.name`\n      | `bulkActionMetadata.totalSuccesses`\n      | `bulkActionMetadata.totalFailures`\n      | `bulkActionMetadata.undetailedFailures`,\n      6\n    >\n  >;\n}\n\nexport function updateExtendedFields(\n  httpClient: HttpClient\n): UpdateExtendedFieldsSignature {\n  return (\n    _id: string,\n    namespace: string,\n    options: NonNullablePaths<UpdateExtendedFieldsOptions, `namespaceData`, 2>\n  ) =>\n    universalUpdateExtendedFields(\n      _id,\n      namespace,\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface UpdateExtendedFieldsSignature {\n  /**\n   * > **Note:** The Menu 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).\n   *\n   * Updates only the `extendedFields` field.\n   * @param - ID of the entity to update.\n   * @param - Identifier for the app whose extended fields are being updated.\n   */\n  (\n    _id: string,\n    namespace: string,\n    options: NonNullablePaths<UpdateExtendedFieldsOptions, `namespaceData`, 2>\n  ): Promise<NonNullablePaths<UpdateExtendedFieldsResponse, `namespace`, 2>>;\n}\n\nexport function deleteMenu(httpClient: HttpClient): DeleteMenuSignature {\n  return (menuId: string) =>\n    universalDeleteMenu(\n      menuId,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface DeleteMenuSignature {\n  /**\n   * > **Note:** The Menu 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).\n   *\n   * Deletes a menu.\n   * @param - Menu ID.\n   */\n  (menuId: string): Promise<void>;\n}\n\nexport function duplicateMenu(httpClient: HttpClient): DuplicateMenuSignature {\n  return (_id: string, options?: DuplicateMenuOptions) =>\n    universalDuplicateMenu(\n      _id,\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface DuplicateMenuSignature {\n  /** @param - Menu id to be duplicated. */\n  (_id: string, options?: DuplicateMenuOptions): Promise<\n    NonNullablePaths<DuplicateMenuResponse, `menuIds`, 2>\n  >;\n}\n\nexport function getMenuSiteUrl(\n  httpClient: HttpClient\n): GetMenuSiteUrlSignature {\n  return (_id: string) =>\n    universalGetMenuSiteUrl(\n      _id,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface GetMenuSiteUrlSignature {\n  /**\n   * Get menu details and path URL by menu ID.\n   * @param - Menu ID.\n   */\n  (_id: string): Promise<\n    NonNullablePaths<GetMenuSiteUrlResponse, `menuSiteUrl.path`, 3>\n  >;\n}\n\nexport function queryMenusSiteUrl(\n  httpClient: HttpClient\n): QueryMenusSiteUrlSignature {\n  return (options?: QueryMenusSiteUrlOptions) =>\n    universalQueryMenusSiteUrl(\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface QueryMenusSiteUrlSignature {\n  /**\n   * Query menu details and path URL\n   */\n  (options?: QueryMenusSiteUrlOptions): Promise<\n    NonNullablePaths<\n      QueryMenusSiteUrlResponse,\n      `menuSiteUrls` | `menuSiteUrls.${number}.path`,\n      4\n    >\n  >;\n}\n\nexport const onMenuCreated = EventDefinition(\n  'wix.restaurants.menus.v1.menu_created',\n  true,\n  (event: MenuCreatedEnvelope) =>\n    renameKeysFromRESTResponseToSDKResponse(\n      transformPaths(event, [\n        {\n          transformFn: transformRESTTimestampToSDKTimestamp,\n          paths: [\n            { path: 'entity.createdDate' },\n            { path: 'entity.updatedDate' },\n            { path: 'entity.externalReferenceInfo.lastSyncDate' },\n            { path: 'metadata.eventTime' },\n          ],\n        },\n      ])\n    )\n)<MenuCreatedEnvelope>();\nexport const onMenuDeleted = EventDefinition(\n  'wix.restaurants.menus.v1.menu_deleted',\n  true,\n  (event: MenuDeletedEnvelope) =>\n    renameKeysFromRESTResponseToSDKResponse(\n      transformPaths(event, [\n        {\n          transformFn: transformRESTTimestampToSDKTimestamp,\n          paths: [\n            { path: 'undefined.createdDate' },\n            { path: 'undefined.updatedDate' },\n            { path: 'undefined.externalReferenceInfo.lastSyncDate' },\n            { path: 'metadata.eventTime' },\n          ],\n        },\n      ])\n    )\n)<MenuDeletedEnvelope>();\nexport const onMenuUpdated = EventDefinition(\n  'wix.restaurants.menus.v1.menu_updated',\n  true,\n  (event: MenuUpdatedEnvelope) =>\n    renameKeysFromRESTResponseToSDKResponse(\n      transformPaths(event, [\n        {\n          transformFn: transformRESTTimestampToSDKTimestamp,\n          paths: [\n            { path: 'entity.createdDate' },\n            { path: 'entity.updatedDate' },\n            { path: 'entity.externalReferenceInfo.lastSyncDate' },\n            { path: 'metadata.eventTime' },\n            { path: 'modifiedFields.createdDate' },\n            { path: 'modifiedFields.updatedDate' },\n            { path: 'modifiedFields.externalReferenceInfo.lastSyncDate' },\n          ],\n        },\n      ])\n    )\n)<MenuUpdatedEnvelope>();\n\nexport {\n  AccountInfo,\n  AccountInfoMetadata,\n  ActionEvent,\n  App,\n  ApplicationError,\n  BaseEventMetadata,\n  BulkActionMetadata,\n  BulkCreateMenuResult,\n  BulkCreateMenusOptions,\n  BulkCreateMenusRequest,\n  BulkCreateMenusResponse,\n  BulkMenuResult,\n  BulkUpdateMenuOptions,\n  BulkUpdateMenuRequest,\n  BulkUpdateMenuResponse,\n  BusinessLocationDetails,\n  CloneMenusRequest,\n  CloneMenusResponse,\n  CreateMenuRequest,\n  CreateMenuResponse,\n  CursorPaging,\n  CursorPagingMetadata,\n  CursorQuery,\n  CursorQueryPagingMethodOneOf,\n  Cursors,\n  CustomTag,\n  DeleteMenuRequest,\n  DeleteMenuResponse,\n  DeleteOrphanSections,\n  DomainEvent,\n  DomainEventBodyOneOf,\n  DuplicateMenuOptions,\n  DuplicateMenuRequest,\n  DuplicateMenuResponse,\n  Empty,\n  EntityCreatedEvent,\n  EntityDeletedEvent,\n  EntityUpdatedEvent,\n  EventMetadata,\n  ExtendedFields,\n  ExternalReferenceInfo,\n  File,\n  GetMenuRequest,\n  GetMenuResponse,\n  GetMenuSiteUrlRequest,\n  GetMenuSiteUrlResponse,\n  IdentificationData,\n  IdentificationDataIdOneOf,\n  InvalidateCache,\n  InvalidateCacheGetByOneOf,\n  ItemMetadata,\n  Keyword,\n  ListMenusOptions,\n  ListMenusRequest,\n  ListMenusResponse,\n  MaskedMenu,\n  Menu,\n  MenuCreatedEnvelope,\n  MenuDeletedEnvelope,\n  MenuQuerySpec,\n  MenuSiteUrl,\n  MenuUpdatedEnvelope,\n  MenusDataCloningCompleted,\n  MenusQueryBuilder,\n  MenusQueryResult,\n  MessageEnvelope,\n  Page,\n  Pages,\n  QueryMenusRequest,\n  QueryMenusResponse,\n  QueryMenusSiteUrlOptions,\n  QueryMenusSiteUrlRequest,\n  QueryMenusSiteUrlResponse,\n  RestoreInfo,\n  RunMenusMultiLocationMigrationRequest,\n  RunMenusMultiLocationMigrationResponse,\n  SeoSchema,\n  Settings,\n  SortOrder,\n  Sorting,\n  SyncContentToMultilingualRequest,\n  SyncContentToMultilingualResponse,\n  Tag,\n  URI,\n  URIs,\n  UpdateBusinessLocationIdRequest,\n  UpdateBusinessLocationIdResponse,\n  UpdateExtendedFieldsOptions,\n  UpdateExtendedFieldsRequest,\n  UpdateExtendedFieldsResponse,\n  UpdateMenu,\n  UpdateMenuRequest,\n  UpdateMenuResponse,\n  WebhookIdentityType,\n  utils,\n} from './restaurants-menus-v1-menu-menus.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n  renameKeysFromSDKRequestToRESTRequest,\n  renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport {\n  HttpClient,\n  HttpResponse,\n  NonNullablePaths,\n  QuerySpec,\n  Query as QuerySdkType,\n} from '@wix/sdk-types';\nimport * as ambassadorWixRestaurantsMenusV1Menu from './restaurants-menus-v1-menu-menus.http.js';\n// @ts-ignore\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { createQueryUtils } from '@wix/sdk-runtime/query-builder-utils';\n\nexport interface Menu {\n  /**\n   * Menu ID.\n   * @format GUID\n   * @readonly\n   */\n  _id?: string | null;\n  /**\n   * Revision number, which increments by 1 each time the menu is updated. To prevent conflicting changes, the current revision must be passed when updating the menu. Ignored when creating a menu.\n   * @readonly\n   */\n  revision?: string | null;\n  /**\n   * Date and time the menu was created.\n   * @readonly\n   */\n  _createdDate?: Date | null;\n  /**\n   * Date and time the menu was updated.\n   * @readonly\n   */\n  _updatedDate?: Date | null;\n  /**\n   * Menu name.\n   * @minLength 1\n   * @maxLength 500\n   */\n  name?: string;\n  /**\n   * Menu description.\n   * @maxLength 1500\n   */\n  description?: string | null;\n  /** Whether the menu visible to site visitors. */\n  visible?: boolean | null;\n  /**\n   * Menu section IDs.\n   * @format GUID\n   * @maxSize 100\n   */\n  sectionIds?: string[];\n  /** Extended fields. */\n  extendedFields?: ExtendedFields;\n  /**\n   * Part of the site URL, that redirects to the menu. For example, in the URL `www.mywebsite.com/our-menus/dinner-menu`, `dinner-menu` is the field value.\n   * @maxLength 500\n   */\n  urlQueryParam?: string | null;\n  /** Custom SEO data for the menu. */\n  seoData?: SeoSchema;\n  /**\n   * ID of the business location ([SDK](https://dev.wix.com/docs/sdk/backend-modules/restaurants/wix-restaurants-new/about-business-locations) | [REST](https://dev.wix.com/docs/rest/business-solutions/restaurants/wix-restaurants-new/about-business-locations)) where this menu is available.\n   * @format GUID\n   * @immutable\n   * @readonly\n   */\n  businessLocationId?: string | null;\n}\n\nexport interface ExtendedFields {\n  /**\n   * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n   * The value of each key is structured according to the schema defined when the extended fields were configured.\n   *\n   * You can only access fields for which you have the appropriate permissions.\n   *\n   * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n   */\n  namespaces?: Record<string, Record<string, any>>;\n}\n\n/**\n * The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.\n * The search engines use this information for ranking purposes, or to display snippets in the search results.\n * This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.\n */\nexport interface SeoSchema {\n  /** SEO tag information. */\n  tags?: Tag[];\n  /** SEO general settings. */\n  settings?: Settings;\n}\n\nexport interface Keyword {\n  /** Keyword value. */\n  term?: string;\n  /** Whether the keyword is the main focus keyword. */\n  isMain?: boolean;\n  /**\n   * The source that added the keyword terms to the SEO settings.\n   * @maxLength 1000\n   */\n  origin?: string | null;\n}\n\nexport interface Tag {\n  /**\n   * SEO tag type.\n   *\n   *\n   * Supported values: `title`, `meta`, `script`, `link`.\n   */\n  type?: string;\n  /**\n   * A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\n   * For example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.\n   */\n  props?: Record<string, any> | null;\n  /** SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`. */\n  meta?: Record<string, any> | null;\n  /** SEO tag inner content. For example, `<title> inner content </title>`. */\n  children?: string;\n  /** Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages). */\n  custom?: boolean;\n  /** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */\n  disabled?: boolean;\n}\n\nexport interface Settings {\n  /**\n   * Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\n   *\n   *\n   * Default: `false` (automatical redirect is enabled).\n   */\n  preventAutoRedirect?: boolean;\n  /**\n   * User-selected keyword terms for a specific page.\n   * @maxSize 5\n   */\n  keywords?: Keyword[];\n}\n\nexport interface BusinessLocationDetails {\n  /**\n   * Location name.\n   * @maxLength 150\n   * @readonly\n   */\n  name?: string | null;\n  /**\n   * Whether the location is archived.\n   *\n   * Archived locations are hidden and ignored on restaurants site pages, and marked as archived in the dashboard.\n   * @readonly\n   */\n  archived?: boolean | null;\n  /**\n   * Whether this location is the default location for the business.\n   * @readonly\n   */\n  default?: boolean | null;\n}\n\nexport interface ExternalReferenceInfo {\n  /**\n   * ID of the external integrator app\\system associated with this object.\n   * @format GUID\n   */\n  externalAppId?: string | null;\n  /**\n   * Reference to an external resource ID. Used to link this object to a specific entity in an external system.\n   * @maxLength 100\n   */\n  externalEntityId?: string | null;\n  /** Last time this menu was synced with the external app. */\n  lastSyncDate?: Date | null;\n  /** Whether the connection to the external system is currently active. */\n  connected?: boolean | null;\n}\n\nexport interface InvalidateCache extends InvalidateCacheGetByOneOf {\n  /**\n   * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n   * @format GUID\n   */\n  siteId?: string;\n  /** Invalidate by App */\n  app?: App;\n  /** Invalidate by page id */\n  page?: Page;\n  /** Invalidate by URI path */\n  uri?: URI;\n  /** Invalidate by file (for media files such as PDFs) */\n  file?: File;\n  /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n  customTag?: CustomTag;\n  /** Invalidate by multiple page ids */\n  pages?: Pages;\n  /** Invalidate by multiple URI paths */\n  uris?: URIs;\n  /**\n   * tell us why you're invalidating the cache. You don't need to add your app name\n   * @maxLength 256\n   */\n  reason?: string | null;\n  /** Is local DS */\n  localDc?: boolean;\n  hardPurge?: boolean;\n  /**\n   * Optional caller-provided ID for tracking this invalidation through the system.\n   * When set, the corresponding CDN purge completion event will include this ID,\n   * allowing you to confirm when the invalidation has fully propagated.\n   * Example: generate a UUID, pass it here, and later match it in the CDN purge completion event.\n   * @maxLength 256\n   */\n  correlationId?: string | null;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n  /**\n   * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n   * @format GUID\n   */\n  siteId?: string;\n  /** Invalidate by App */\n  app?: App;\n  /** Invalidate by page id */\n  page?: Page;\n  /** Invalidate by URI path */\n  uri?: URI;\n  /** Invalidate by file (for media files such as PDFs) */\n  file?: File;\n  /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n  customTag?: CustomTag;\n  /** Invalidate by multiple page ids */\n  pages?: Pages;\n  /** Invalidate by multiple URI paths */\n  uris?: URIs;\n}\n\nexport interface App {\n  /**\n   * The AppDefId\n   * @minLength 1\n   */\n  appDefId?: string;\n  /**\n   * The instance Id\n   * @format GUID\n   */\n  instanceId?: string;\n}\n\nexport interface Page {\n  /**\n   * the msid the page is on\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by Page ID\n   * @minLength 1\n   */\n  pageId?: string;\n}\n\nexport interface URI {\n  /**\n   * the msid the URI is on\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n   * @minLength 1\n   */\n  uriPath?: string;\n}\n\nexport interface File {\n  /**\n   * the msid the file is related to\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by filename (for media files such as PDFs)\n   * @minLength 1\n   * @maxLength 256\n   */\n  fileName?: string;\n}\n\nexport interface CustomTag {\n  /**\n   * the msid the tag is related to\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Tag to invalidate by\n   * @minLength 1\n   * @maxLength 256\n   */\n  tag?: string;\n}\n\nexport interface Pages {\n  /**\n   * the msid the pages are on\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by multiple Page IDs in a single message\n   * @maxSize 100\n   * @minLength 1\n   */\n  pageIds?: string[];\n}\n\nexport interface URIs {\n  /**\n   * the msid the URIs are on\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * URI paths to invalidate (e.g. page/my/path) - without leading/trailing slashes\n   * @maxSize 100\n   * @minLength 1\n   */\n  uriPaths?: string[];\n}\n\nexport interface DeleteOrphanSections {\n  /** Menu id */\n  menuId?: string;\n}\n\nexport interface MenusDataCloningCompleted {}\n\nexport interface CreateMenuRequest {\n  /** Menu details. */\n  menu: Menu;\n}\n\nexport interface CreateMenuResponse {\n  /** Menu. */\n  menu?: Menu;\n}\n\nexport interface BulkCreateMenusRequest {\n  /**\n   * Menu details.\n   * @maxSize 100\n   */\n  menus: Menu[];\n  /** Whether to receive the created menus in the response. */\n  returnEntity?: boolean;\n}\n\nexport interface BulkCreateMenusResponse {\n  /** Information about the created menus. */\n  results?: BulkCreateMenuResult[];\n  /** Metadata for the API call. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkCreateMenuResult {\n  /** Whether to receive the created menus in the response. */\n  menuMetadata?: ItemMetadata;\n  /** Created menu. */\n  menu?: Menu;\n}\n\nexport interface ItemMetadata {\n  /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */\n  _id?: string | null;\n  /** Index of the item within the request array. Allows for correlation between request and response items. */\n  originalIndex?: number;\n  /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n  success?: boolean;\n  /** Details about the error in case of failure. */\n  error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n  /** Error code. */\n  code?: string;\n  /** Description of the error. */\n  description?: string;\n  /** Data related to the error. */\n  data?: Record<string, any> | null;\n}\n\nexport interface BulkActionMetadata {\n  /** Number of items that were successfully processed. */\n  totalSuccesses?: number;\n  /** Number of items that couldn't be processed. */\n  totalFailures?: number;\n  /** Number of failures without details because detailed failure threshold was exceeded. */\n  undetailedFailures?: number;\n}\n\nexport interface GetMenuRequest {\n  /**\n   * Menu ID.\n   * @format GUID\n   */\n  menuId: string;\n}\n\nexport interface GetMenuResponse {\n  /** Menu. */\n  menu?: Menu;\n}\n\nexport interface ListMenusRequest {\n  /**\n   * Menu IDs.\n   * @format GUID\n   * @maxSize 500\n   */\n  menuIds?: string[];\n  /** The metadata of the paginated results. */\n  paging?: CursorPaging;\n  /** Whether to return only menus that are visible to site visitors. */\n  onlyVisible?: boolean | null;\n}\n\nexport interface CursorPaging {\n  /**\n   * Number of items to load.\n   * @max 500\n   */\n  limit?: number | null;\n  /**\n   * Pointer to the next or previous page in the list of results.\n   *\n   * You can get the relevant cursor token\n   * from the `pagingMetadata` object in the previous call's response.\n   * Not relevant for the first request.\n   */\n  cursor?: string | null;\n}\n\nexport interface ListMenusResponse {\n  /** Retrieved menus. */\n  menus?: Menu[];\n  /** The metadata of the paginated results. */\n  pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n  /** Number of items returned in the response. */\n  count?: number | null;\n  /** Offset that was requested. */\n  cursors?: Cursors;\n  /**\n   * Indicates if there are more results after the current page.\n   * If `true`, another page of results can be retrieved.\n   * If `false`, this is the last page.\n   */\n  hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n  /** Cursor pointing to next page in the list of results. */\n  next?: string | null;\n  /** Cursor pointing to previous page in the list of results. */\n  prev?: string | null;\n}\n\nexport interface QueryMenusRequest {\n  /** Query options. */\n  query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n  cursorPaging?: CursorPaging;\n  /**\n   * Filter object in the following format:\n   * `\"filter\" : {\n   * \"fieldName1\": \"value1\",\n   * \"fieldName2\":{\"$operator\":\"value2\"}\n   * }`\n   * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n   */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object in the following format:\n   * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n   */\n  sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n  cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n  /**\n   * Name of the field to sort by.\n   * @maxLength 512\n   */\n  fieldName?: string;\n  /** Sort order. */\n  order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n  ASC = 'ASC',\n  DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface QueryMenusResponse {\n  /** Retrieved menus. */\n  menus?: Menu[];\n  /** The metadata of the paginated results. */\n  pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface UpdateMenuRequest {\n  /** Menu to update. */\n  menu: Menu;\n}\n\nexport interface UpdateMenuResponse {\n  /** Updated menu. */\n  menu?: Menu;\n}\n\nexport interface BulkUpdateMenuRequest {\n  /**\n   * Menus to update.\n   * @minSize 1\n   * @maxSize 100\n   */\n  menus: MaskedMenu[];\n  /** Whether to receive the entity in the response. */\n  returnEntity?: boolean;\n}\n\nexport interface MaskedMenu {\n  /** Menu to updated. */\n  menu?: Menu;\n  /** Explicit list of fields to update. */\n  mask?: string[];\n}\n\nexport interface BulkUpdateMenuResponse {\n  /**\n   * Results of bulk menu update.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkMenuResult[];\n  /** Metadata for the API call. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkMenuResult {\n  /** Metadata for menu update. */\n  menuMetadata?: ItemMetadata;\n  /** Updated menu. Only returned if `returnEntity` is set to `true`. */\n  menu?: Menu;\n}\n\nexport interface UpdateExtendedFieldsRequest {\n  /** ID of the entity to update. */\n  _id: string;\n  /** Identifier for the app whose extended fields are being updated. */\n  namespace: string;\n  /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */\n  namespaceData: Record<string, any> | null;\n}\n\nexport interface UpdateExtendedFieldsResponse {\n  /** Namespace of the app. */\n  namespace?: string;\n  /** Updated extended fields data. */\n  namespaceData?: Record<string, any> | null;\n}\n\nexport interface DeleteMenuRequest {\n  /**\n   * Menu ID.\n   * @format GUID\n   */\n  menuId: string;\n}\n\nexport interface DeleteMenuResponse {}\n\nexport interface RunMenusMultiLocationMigrationRequest {\n  /**\n   * business location id\n   * @format GUID\n   */\n  businessLocationId?: string;\n}\n\nexport interface RunMenusMultiLocationMigrationResponse {\n  /** Whether menus multi-location migration finished successfully */\n  success?: boolean;\n}\n\nexport interface UpdateBusinessLocationIdRequest {\n  /** @format GUID */\n  menuId?: string;\n  /** @format GUID */\n  businessLocationId?: string | null;\n}\n\nexport interface UpdateBusinessLocationIdResponse {}\n\nexport interface CloneMenusRequest {\n  /**\n   * The MetaSiteId to clone from.\n   * @format GUID\n   */\n  metaSiteId?: string;\n}\n\nexport interface CloneMenusResponse {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n  _id?: string;\n  /**\n   * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n   * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n   */\n  entityFqdn?: string;\n  /**\n   * Event action name, placed at the top level to make it easier for users to dispatch messages.\n   * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n   */\n  slug?: string;\n  /** ID of the entity associated with the event. */\n  entityId?: string;\n  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n  eventTime?: Date | null;\n  /**\n   * Whether the event was triggered as a result of a privacy regulation application\n   * (for example, GDPR).\n   */\n  triggeredByAnonymizeRequest?: boolean | null;\n  /** If present, indicates the action that triggered the event. */\n  originatedFrom?: string | null;\n  /**\n   * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n   * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n   */\n  entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n  entity?: string;\n}\n\nexport interface RestoreInfo {\n  deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n  /**\n   * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n   * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n   * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n   */\n  currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n  /** Entity that was deleted. */\n  deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n  body?: string;\n}\n\nexport interface Empty {}\n\nexport interface SyncContentToMultilingualRequest {\n  /**\n   * MetaSite ID\n   * @format GUID\n   */\n  metaSiteId?: string;\n}\n\nexport interface SyncContentToMultilingualResponse {}\n\nexport interface MessageEnvelope {\n  /**\n   * App instance ID.\n   * @format GUID\n   */\n  instanceId?: string | null;\n  /**\n   * Event type.\n   * @maxLength 150\n   */\n  eventType?: string;\n  /** The identification type and identity data. */\n  identity?: IdentificationData;\n  /** Stringify payload. */\n  data?: string;\n  /** Details related to the account */\n  accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n  /** @readonly */\n  identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n}\n\nexport enum WebhookIdentityType {\n  UNKNOWN = 'UNKNOWN',\n  ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n  MEMBER = 'MEMBER',\n  WIX_USER = 'WIX_USER',\n  APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n  | WebhookIdentityType\n  | 'UNKNOWN'\n  | 'ANONYMOUS_VISITOR'\n  | 'MEMBER'\n  | 'WIX_USER'\n  | 'APP';\n\nexport interface AccountInfo {\n  /**\n   * ID of the Wix account associated with the event.\n   * @format GUID\n   */\n  accountId?: string | null;\n  /**\n   * ID of the parent Wix account. Only included when accountId belongs to a child account.\n   * @format GUID\n   */\n  parentAccountId?: string | null;\n  /**\n   * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n   * @format GUID\n   */\n  siteId?: string | null;\n}\n\nexport interface DuplicateMenuRequest {\n  /**\n   * Menu id to be duplicated.\n   * @format GUID\n   */\n  _id: string;\n  /**\n   * Business location ids to duplicate the menu to.\n   * @format GUID\n   * @maxSize 100\n   */\n  businessLocationIds?: string[] | null;\n  /** Indicates whether sub-entities (such as items) should be duplicated as well. */\n  duplicateSubEntities?: boolean | null;\n  /**\n   * The new name of the duplicated menu.\n   * @maxLength 500\n   */\n  menuName?: string | null;\n}\n\nexport interface DuplicateMenuResponse {\n  /** @format GUID */\n  menuIds?: string[];\n}\n\nexport interface GetMenuSiteUrlRequest {\n  /**\n   * Menu ID.\n   * @format GUID\n   * @readonly\n   */\n  _id: string | null;\n}\n\nexport interface GetMenuSiteUrlResponse {\n  /** Retrieved menuInfo with path url. */\n  menuSiteUrl?: MenuSiteUrl;\n}\n\nexport interface MenuSiteUrl {\n  /**\n   * Path URL.\n   * @minLength 1\n   * @maxLength 1000\n   */\n  path?: string;\n}\n\nexport interface QueryMenusSiteUrlRequest {\n  /** Query options */\n  query?: CursorQuery;\n}\n\nexport interface QueryMenusSiteUrlResponse {\n  /** Retrieved menuInfos with path urls. */\n  menuSiteUrls?: MenuSiteUrl[];\n  /** The metadata of the paginated results. */\n  pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface BaseEventMetadata {\n  /**\n   * App instance ID.\n   * @format GUID\n   */\n  instanceId?: string | null;\n  /**\n   * Event type.\n   * @maxLength 150\n   */\n  eventType?: string;\n  /** The identification type and identity data. */\n  identity?: IdentificationData;\n  /** Details related to the account */\n  accountInfo?: AccountInfo;\n}\n\nexport interface EventMetadata extends BaseEventMetadata {\n  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n  _id?: string;\n  /**\n   * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n   * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n   */\n  entityFqdn?: string;\n  /**\n   * Event action name, placed at the top level to make it easier for users to dispatch messages.\n   * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n   */\n  slug?: string;\n  /** ID of the entity associated with the event. */\n  entityId?: string;\n  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n  eventTime?: Date | null;\n  /**\n   * Whether the event was triggered as a result of a privacy regulation application\n   * (for example, GDPR).\n   */\n  triggeredByAnonymizeRequest?: boolean | null;\n  /** If present, indicates the action that triggered the event. */\n  originatedFrom?: string | null;\n  /**\n   * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n   * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n   */\n  entityEventSequence?: string | null;\n  accountInfo?: AccountInfoMetadata;\n}\n\nexport interface AccountInfoMetadata {\n  /** ID of the Wix account associated with the event */\n  accountId: string;\n  /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */\n  siteId?: string;\n  /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */\n  parentAccountId?: string;\n}\n\nexport interface MenuCreatedEnvelope {\n  entity: Menu;\n  metadata: EventMetadata;\n}\n\n/** @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read\n * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionId RESTAURANTS.MENU_READ\n * @webhook\n * @eventType wix.restaurants.menus.v1.menu_created\n * @serviceIdentifier com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu\n * @slug created\n * @documentationMaturity preview\n */\nexport declare function onMenuCreated(\n  handler: (event: MenuCreatedEnvelope) => void | Promise<void>\n): void;\n\nexport interface MenuDeletedEnvelope {\n  metadata: EventMetadata;\n}\n\n/**\n * Triggered when a menu is deleted.\n * @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read\n * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionId RESTAURANTS.MENU_READ\n * @webhook\n * @eventType wix.restaurants.menus.v1.menu_deleted\n * @serviceIdentifier com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu\n * @slug deleted\n * @documentationMaturity preview\n */\nexport declare function onMenuDeleted(\n  handler: (event: MenuDeletedEnvelope) => void | Promise<void>\n): void;\n\nexport interface MenuUpdatedEnvelope {\n  entity: Menu;\n  metadata: EventMetadata;\n  /** @hidden */\n  modifiedFields: Record<string, any>;\n}\n\n/** @permissionScope Wix Multilingual - Nile Wrapper Domain Events Read\n * @permissionScopeId SCOPE.MULTILINGUAL.NILE_WRAPPER_DOMAIN_EVENTS_READ\n * @permissionScope Manage Restaurants - all permissions\n * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES\n * @permissionId RESTAURANTS.MENU_READ\n * @webhook\n * @eventType wix.restaurants.menus.v1.menu_updated\n * @slug updated\n * @documentationMaturity preview\n */\nexport declare function onMenuUpdated(\n  handler: (event: MenuUpdatedEnvelope) => void | Promise<void>\n): void;\n\n/**\n * > **Note:** The Menus 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).\n *\n * Creates a menu.\n *\n * To create multiple menus at once, use [Bulk Create Menus](https://dev.wix.com/docs/rest/business-solutions/restaurants/menus/menu/bulk-create-menus).\n * @param menu - Menu details.\n * @public\n * @documentationMaturity preview\n * @requiredField menu\n * @permissionId RESTAURANTS.MENU_CREATE\n * @applicableIdentity APP\n * @returns Menu.\n * @fqn com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.CreateMenu\n */\nexport async function createMenu(\n  menu: Menu\n): Promise<\n  NonNullablePaths<\n    Menu,\n    | `name`\n    | `sectionIds`\n    | `seoData.tags`\n    | `seoData.tags.${number}.type`\n    | `seoData.tags.${number}.children`\n    | `seoData.tags.${number}.custom`\n    | `seoData.tags.${number}.disabled`\n    | `seoData.settings.preventAutoRedirect`\n    | `seoData.settings.keywords`\n    | `seoData.settings.keywords.${number}.term`\n    | `seoData.settings.keywords.${number}.isMain`,\n    6\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({ menu: menu });\n\n  const reqOpts = ambassadorWixRestaurantsMenusV1Menu.createMenu(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)?.menu!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { menu: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['menu']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\n/**\n * > **Note:** The Menu 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).\n *\n * Creates multiple menus at once.\n * @param menus - Menu details.\n * @public\n * @documentationMaturity preview\n * @requiredField menus\n * @permissionId RESTAURANTS.MENU_CREATE\n * @applicableIdentity APP\n * @fqn com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.BulkCreateMenus\n */\nexport async function bulkCreateMenus(\n  menus: Menu[],\n  options?: BulkCreateMenusOptions\n): Promise<\n  NonNullablePaths<\n    BulkCreateMenusResponse,\n    | `results`\n    | `results.${number}.menuMetadata.originalIndex`\n    | `results.${number}.menuMetadata.success`\n    | `results.${number}.menuMetadata.error.code`\n    | `results.${number}.menuMetadata.error.description`\n    | `results.${number}.menu.name`\n    | `bulkActionMetadata.totalSuccesses`\n    | `bulkActionMetadata.totalFailures`\n    | `bulkActionMetadata.undetailedFailures`,\n    6\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[2] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    menus: menus,\n    returnEntity: options?.returnEntity,\n  });\n\n  const reqOpts = ambassadorWixRestaurantsMenusV1Menu.bulkCreateMenus(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          menus: '$[0]',\n          returnEntity: '$[1].returnEntity',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['menus', 'options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface BulkCreateMenusOptions {\n  /** Whether to receive the created menus in the response. */\n  returnEntity?: boolean;\n}\n\n/**\n * > **Note:** The Menu 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).\n *\n * Retrieves a menu by ID.\n * @param menuId - Menu ID.\n * @public\n * @documentationMaturity preview\n * @requiredField menuId\n * @permissionId RESTAURANTS.MENU_READ\n * @applicableIdentity APP\n * @returns Menu.\n * @fqn com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.GetMenu\n */\nexport async function getMenu(\n  menuId: string\n): Promise<\n  NonNullablePaths<\n    Menu,\n    | `name`\n    | `sectionIds`\n    | `seoData.tags`\n    | `seoData.tags.${number}.type`\n    | `seoData.tags.${number}.children`\n    | `seoData.tags.${number}.custom`\n    | `seoData.tags.${number}.disabled`\n    | `seoData.settings.preventAutoRedirect`\n    | `seoData.settings.keywords`\n    | `seoData.settings.keywords.${number}.term`\n    | `seoData.settings.keywords.${number}.isMain`,\n    6\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({ menuId: menuId });\n\n  const reqOpts = ambassadorWixRestaurantsMenusV1Menu.getMenu(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)?.menu!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { menuId: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['menuId']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\n/**\n * > **Note:** The Menu 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).\n *\n * Retrieves a list of up to 500 menus.\n * @public\n * @documentationMaturity preview\n * @permissionId RESTAURANTS.MENU_READ\n * @applicableIdentity APP\n * @fqn com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.ListMenus\n */\nexport async function listMenus(\n  options?: ListMenusOptions\n): Promise<\n  NonNullablePaths<\n    ListMenusResponse,\n    | `menus`\n    | `menus.${number}.name`\n    | `menus.${number}.seoData.settings.preventAutoRedirect`,\n    6\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    menuIds: options?.menuIds,\n    paging: options?.paging,\n    onlyVisible: options?.onlyVisible,\n  });\n\n  const reqOpts = ambassadorWixRestaurantsMenusV1Menu.listMenus(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          menuIds: '$[0].menuIds',\n          paging: '$[0].paging',\n          onlyVisible: '$[0].onlyVisible',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface ListMenusOptions {\n  /**\n   * Menu IDs.\n   * @format GUID\n   * @maxSize 500\n   */\n  menuIds?: string[];\n  /** The metadata of the paginated results. */\n  paging?: CursorPaging;\n  /** Whether to return only menus that are visible to site visitors. */\n  onlyVisible?: boolean | null;\n}\n\n/**\n * Creates a query to retrieve a list of menus.\n *\n * The `queryMenus()` function builds a query to retrieve a list of menus and returns a `MenusQueryBuilder` object.\n *\n * The returned object contains the query definition, which is used to run the query using the [`find()`](/menus/menus-query-builder/find) function.\n *\n * You can refine the query by chaining `MenusQueryBuilder` functions onto the query. `MenusQueryBuilder` functions enable you to filter, sort, and control the results that `queryMenus()` returns.\n *\n * `queryMenus()` runs with the following `MenusQueryBuilder` defaults, which you can override:\n *\n * * [`limit(100)`](/menus/menus-query-builder/limit)\n *\n * The following `MenusQueryBuilder` functions are supported for `queryMenus()`. For a full description of the menu object, see the object returned for the [`items`](/menus/menus-query-result/items) property in `MenusQueryResult`.\n * @public\n * @documentationMaturity preview\n * @permissionId RESTAURANTS.MENU_READ\n * @applicableIdentity APP\n * @fqn com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.QueryMenus\n */\nexport function queryMenus(): MenusQueryBuilder {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[0] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  return queryBuilder<Menu, 'CURSOR', QueryMenusRequest, QueryMenusResponse>({\n    func: async (payload: QueryMenusRequest) => {\n      const reqOpts = ambassadorWixRestaurantsMenusV1Menu.queryMenus(payload);\n\n      sideEffects?.onSiteCall?.();\n      try {\n        const result = await httpClient.request(reqOpts);\n        sideEffects?.onSuccess?.(result);\n        return result;\n      } catch (err) {\n        sideEffects?.onError?.(err);\n        throw err;\n      }\n    },\n    requestTransformer: (query: QueryMenusRequest['query']) => {\n      const args = [query, {}] as [QueryMenusRequest['query'], {}];\n      return renameKeysFromSDKRequestToRESTRequest({\n        ...args?.[1],\n        query: args?.[0],\n      });\n    },\n    responseTransformer: ({ data }: HttpResponse<QueryMenusResponse>) => {\n      const transformedData = renameKeysFromRESTResponseToSDKResponse(\n        transformPaths(data, [])\n      );\n\n      return {\n        items: transformedData?.menus,\n        pagingMetadata: transformedData?.pagingMetadata,\n      };\n    },\n    errorTransformer: (err: unknown) => {\n      const transformedError = sdkTransformError(err, {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { query: '$[0]' },\n        singleArgumentUnchanged: false,\n      });\n\n      throw transformedError;\n    },\n    pagingMethod: 'CURSOR',\n    transformationPaths: {},\n  });\n}\n\ninterface QueryCursorResult {\n  cursors: Cursors;\n  hasNext: () => boolean;\n  hasPrev: () => boolean;\n  length: number;\n  pageSize: number;\n}\n\nexport interface MenusQueryResult extends QueryCursorResult {\n  items: Menu[];\n  query: MenusQueryBuilder;\n  next: () => Promise<MenusQueryResult>;\n  prev: () => Promise<MenusQueryResult>;\n}\n\nexport interface MenusQueryBuilder {\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  eq: (\n    propertyName:\n      | '_id'\n      | '_createdDate'\n      | '_updatedDate'\n      | 'name'\n      | 'description'\n      | 'visible'\n      | 'urlQueryParam',\n    value: any\n  ) => MenusQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  ne: (\n    propertyName:\n      | '_id'\n      | '_createdDate'\n      | '_updatedDate'\n      | 'name'\n      | 'description'\n      | 'visible'\n      | 'urlQueryParam',\n    value: any\n  ) => MenusQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  ge: (\n    propertyName: '_createdDate' | '_updatedDate',\n    value: any\n  ) => MenusQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  gt: (\n    propertyName: '_createdDate' | '_updatedDate',\n    value: any\n  ) => MenusQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  le: (\n    propertyName: '_createdDate' | '_updatedDate',\n    value: any\n  ) => MenusQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  lt: (\n    propertyName: '_createdDate' | '_updatedDate',\n    value: any\n  ) => MenusQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `string`.\n   * @param string - String to compare against. Case-insensitive.\n   * @documentationMaturity preview\n   */\n  startsWith: (\n    propertyName: 'name' | 'description' | 'urlQueryParam',\n    value: string\n  ) => MenusQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `values`.\n   * @param values - List of values to compare against.\n   * @documentationMaturity preview\n   */\n  hasSome: (propertyName: string, value: any[]) => MenusQueryBuilder;\n  /** @documentationMaturity preview */\n  in: (\n    propertyName: '_id' | 'name' | 'description' | 'urlQueryParam',\n    value: any\n  ) => MenusQueryBuilder;\n  /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n   * @documentationMaturity preview\n   */\n  ascending: (\n    ...propertyNames: Array<\n      '_createdDate' | '_updatedDate' | 'name' | 'description' | 'urlQueryParam'\n    >\n  ) => MenusQueryBuilder;\n  /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n   * @documentationMaturity preview\n   */\n  descending: (\n    ...propertyNames: Array<\n      '_createdDate' | '_updatedDate' | 'name' | 'description' | 'urlQueryParam'\n    >\n  ) => MenusQueryBuilder;\n  /** @param limit - Number of items to return, which is also the `pageSize` of the results object.\n   * @documentationMaturity preview\n   */\n  limit: (limit: number) => MenusQueryBuilder;\n  /** @param cursor - A pointer to specific record\n   * @documentationMaturity preview\n   */\n  skipTo: (cursor: string) => MenusQueryBuilder;\n  /** @documentationMaturity preview */\n  find: () => Promise<MenusQueryResult>;\n}\n\n/**\n * @hidden\n * @fqn com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.QueryMenus\n * @requiredField query\n */\nexport async function typedQueryMenus(\n  query: MenuQuery\n): Promise<\n  NonNullablePaths<\n    QueryMenusResponse,\n    | `menus`\n    | `menus.${number}.name`\n    | `menus.${number}.seoData.settings.preventAutoRedirect`,\n    6\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({ query: query });\n\n  const reqOpts = ambassadorWixRestaurantsMenusV1Menu.queryMenus(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { query: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['query']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface MenuQuerySpec extends QuerySpec {\n  paging: 'cursor';\n  wql: [\n    {\n      fields: ['_id'];\n      operators: ['$eq', '$in', '$ne', '$nin'];\n      sort: 'NONE';\n    },\n    {\n      fields: ['sectionIds'];\n      operators: ['$hasSome'];\n      sort: 'NONE';\n    },\n    {\n      fields: ['description', 'name', 'urlQueryParam'];\n      operators: ['$eq', '$in', '$ne', '$nin', '$startsWith'];\n      sort: 'BOTH';\n    },\n    {\n      fields: ['_createdDate', '_updatedDate'];\n      operators: ['$eq', '$gt', '$gte', '$lt', '$lte', '$ne'];\n      sort: 'BOTH';\n    },\n    {\n      fields: ['visible'];\n      operators: ['$eq', '$ne'];\n      sort: 'NONE';\n    }\n  ];\n}\n\nexport type CommonQueryWithEntityContext = QuerySdkType<Menu, MenuQuerySpec>;\nexport type MenuQuery = {\n  /** \n  Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`.  \n  */\n  cursorPaging?: {\n    /** \n  Number of items to load. \n  @max: 500 \n  */\n    limit?:\n      | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit']\n      | null;\n    /** \n  Pointer to the next or previous page in the list of results.\n\n  You can get the relevant cursor token\n  from the `pagingMetadata` object in the previous call's response.\n  Not relevant for the first request.  \n  */\n    cursor?:\n      | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor']\n      | null;\n  };\n  /** \n  Filter object in the following format:\n  `\"filter\" : {\n  \"fieldName1\": \"value1\",\n  \"fieldName2\":{\"$operator\":\"value2\"}\n  }`\n  Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`  \n  */\n  filter?: CommonQueryWithEntityContext['filter'] | null;\n  /** \n  Sort object in the following format:\n  `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`  \n  */\n  sort?: {\n    /** \n  Name of the field to sort by. \n  @maxLength: 512 \n  */\n    fieldName?: NonNullable<\n      CommonQueryWithEntityContext['sort']\n    >[number]['fieldName'];\n    /** \n  Sort order.  \n  */\n    order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];\n  }[];\n};\n\nexport const utils = {\n  query: {\n    ...createQueryUtils<Menu, MenuQuerySpec, MenuQuery>(),\n  },\n};\n\n/**\n * > **Note:** The Menu 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).\n *\n * Updates a menu.\n *\n * To update multiple menus at once, use [Bulk Update Menu](https://dev.wix.com/docs/rest/business-solutions/restaurants/menus/menu/bulk-update-menu).\n *\n * Each time a menu is updated, its revision increments by 1. The existing revision must be included when updating a menu. This ensures you're working with the latest menu information, and it prevents unintended overwrites.\n * @param _id - Menu ID.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @requiredField menu\n * @requiredField menu.revision\n * @permissionId RESTAURANTS.MENU_UPDATE\n * @applicableIdentity APP\n * @returns Updated menu.\n * @fqn com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.UpdateMenu\n */\nexport async function updateMenu(\n  _id: string,\n  menu: NonNullablePaths<UpdateMenu, `revision`, 2>\n): Promise<\n  NonNullablePaths<\n    Menu,\n    | `name`\n    | `sectionIds`\n    | `seoData.tags`\n    | `seoData.tags.${number}.type`\n    | `seoData.tags.${number}.children`\n    | `seoData.tags.${number}.custom`\n    | `seoData.tags.${number}.disabled`\n    | `seoData.settings.preventAutoRedirect`\n    | `seoData.settings.keywords`\n    | `seoData.settings.keywords.${number}.term`\n    | `seoData.settings.keywords.${number}.isMain`,\n    6\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[2] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    menu: { ...menu, id: _id },\n  });\n\n  const reqOpts = ambassadorWixRestaurantsMenusV1Menu.updateMenu(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)?.menu!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: { menu: '$[1]' },\n        explicitPathsToArguments: { 'menu.id': '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['_id', 'menu']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface UpdateMenu {\n  /**\n   * Menu ID.\n   * @format GUID\n   * @readonly\n   */\n  _id?: string | null;\n  /**\n   * Revision number, which increments by 1 each time the menu is updated. To prevent conflicting changes, the current revision must be passed when updating the menu. Ignored when creating a menu.\n   * @readonly\n   */\n  revision?: string | null;\n  /**\n   * Date and time the menu was created.\n   * @readonly\n   */\n  _createdDate?: Date | null;\n  /**\n   * Date and time the menu was updated.\n   * @readonly\n   */\n  _updatedDate?: Date | null;\n  /**\n   * Menu name.\n   * @minLength 1\n   * @maxLength 500\n   */\n  name?: string;\n  /**\n   * Menu description.\n   * @maxLength 1500\n   */\n  description?: string | null;\n  /** Whether the menu visible to site visitors. */\n  visible?: boolean | null;\n  /**\n   * Menu section IDs.\n   * @format GUID\n   * @maxSize 100\n   */\n  sectionIds?: string[];\n  /** Extended fields. */\n  extendedFields?: ExtendedFields;\n  /**\n   * Part of the site URL, that redirects to the menu. For example, in the URL `www.mywebsite.com/our-menus/dinner-menu`, `dinner-menu` is the field value.\n   * @maxLength 500\n   */\n  urlQueryParam?: string | null;\n  /** Custom SEO data for the menu. */\n  seoData?: SeoSchema;\n  /**\n   * ID of the business location ([SDK](https://dev.wix.com/docs/sdk/backend-modules/restaurants/wix-restaurants-new/about-business-locations) | [REST](https://dev.wix.com/docs/rest/business-solutions/restaurants/wix-restaurants-new/about-business-locations)) where this menu is available.\n   * @format GUID\n   * @immutable\n   * @readonly\n   */\n  businessLocationId?: string | null;\n}\n\n/**\n * > **Note:** The Menu 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).\n *\n * Updates multiple menus at once.\n *\n * Each time a menu is updated, its revision increments by 1. The existing revision must be included when updating the menu. This ensures you're working with the latest menu information, and it prevents unintended overwrites.\n * @param menus - Menus to update.\n * @public\n * @documentationMaturity preview\n * @requiredField menus\n * @requiredField menus.menu._id\n * @requiredField menus.menu.revision\n * @permissionId RESTAURANTS.MENU_UPDATE\n * @applicableIdentity APP\n * @fqn com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.BulkUpdateMenu\n */\nexport async function bulkUpdateMenu(\n  menus: NonNullablePaths<MaskedMenu, `menu._id` | `menu.revision`, 3>[],\n  options?: BulkUpdateMenuOptions\n): Promise<\n  NonNullablePaths<\n    BulkUpdateMenuResponse,\n    | `results`\n    | `results.${number}.menuMetadata.originalIndex`\n    | `results.${number}.menuMetadata.success`\n    | `results.${number}.menuMetadata.error.code`\n    | `results.${number}.menuMetadata.error.description`\n    | `results.${number}.menu.name`\n    | `bulkActionMetadata.totalSuccesses`\n    | `bulkActionMetadata.totalFailures`\n    | `bulkActionMetadata.undetailedFailures`,\n    6\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[2] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    menus: menus,\n    returnEntity: options?.returnEntity,\n  });\n\n  const reqOpts = ambassadorWixRestaurantsMenusV1Menu.bulkUpdateMenu(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          menus: '$[0]',\n          returnEntity: '$[1].returnEntity',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['menus', 'options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface BulkUpdateMenuOptions {\n  /** Whether to receive the entity in the response. */\n  returnEntity?: boolean;\n}\n\n/**\n * > **Note:** The Menu 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).\n *\n * Updates only the `extendedFields` field.\n * @param _id - ID of the entity to update.\n * @param namespace - Identifier for the app whose extended fields are being updated.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @requiredField namespace\n * @requiredField options\n * @requiredField options.namespaceData\n * @fqn com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.UpdateExtendedFields\n */\nexport async function updateExtendedFields(\n  _id: string,\n  namespace: string,\n  options: NonNullablePaths<UpdateExtendedFieldsOptions, `namespaceData`, 2>\n): Promise<NonNullablePaths<UpdateExtendedFieldsResponse, `namespace`, 2>> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[3] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    id: _id,\n    namespace: namespace,\n    namespaceData: options?.namespaceData,\n  });\n\n  const reqOpts =\n    ambassadorWixRestaurantsMenusV1Menu.updateExtendedFields(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          id: '$[0]',\n          namespace: '$[1]',\n          namespaceData: '$[2].namespaceData',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['_id', 'namespace', 'options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface UpdateExtendedFieldsOptions {\n  /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */\n  namespaceData: Record<string, any> | null;\n}\n\n/**\n * > **Note:** The Menu 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).\n *\n * Deletes a menu.\n * @param menuId - Menu ID.\n * @public\n * @documentationMaturity preview\n * @requiredField menuId\n * @permissionId RESTAURANTS.MENU_DELETE\n * @applicableIdentity APP\n * @fqn com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.DeleteMenu\n */\nexport async function deleteMenu(menuId: string): Promise<void> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({ menuId: menuId });\n\n  const reqOpts = ambassadorWixRestaurantsMenusV1Menu.deleteMenu(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { menuId: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['menuId']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\n/** @param _id - Menu id to be duplicated.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @permissionId RESTAURANTS.MENU_CREATE\n * @applicableIdentity APP\n * @fqn com.wixpress.restaurants.menus_menu.v1.restaurants_duplicate_menu.RestaurantsDuplicateMenu.DuplicateMenu\n */\nexport async function duplicateMenu(\n  _id: string,\n  options?: DuplicateMenuOptions\n): Promise<NonNullablePaths<DuplicateMenuResponse, `menuIds`, 2>> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[2] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    id: _id,\n    businessLocationIds: options?.businessLocationIds,\n    duplicateSubEntities: options?.duplicateSubEntities,\n    menuName: options?.menuName,\n  });\n\n  const reqOpts = ambassadorWixRestaurantsMenusV1Menu.duplicateMenu(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          id: '$[0]',\n          businessLocationIds: '$[1].businessLocationIds',\n          duplicateSubEntities: '$[1].duplicateSubEntities',\n          menuName: '$[1].menuName',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['_id', 'options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface DuplicateMenuOptions {\n  /**\n   * Business location ids to duplicate the menu to.\n   * @format GUID\n   * @maxSize 100\n   */\n  businessLocationIds?: string[] | null;\n  /** Indicates whether sub-entities (such as items) should be duplicated as well. */\n  duplicateSubEntities?: boolean | null;\n  /**\n   * The new name of the duplicated menu.\n   * @maxLength 500\n   */\n  menuName?: string | null;\n}\n\n/**\n * Get menu details and path URL by menu ID.\n * @param _id - Menu ID.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @permissionId RESTAURANTS.MENU_READ\n * @applicableIdentity APP\n * @fqn com.wixpress.restaurants.menus_menu.v1.restaurants_menus_site_url.RestaurantsMenusSiteUrl.GetMenuSiteUrl\n */\nexport async function getMenuSiteUrl(\n  _id: string\n): Promise<NonNullablePaths<GetMenuSiteUrlResponse, `menuSiteUrl.path`, 3>> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({ id: _id });\n\n  const reqOpts = ambassadorWixRestaurantsMenusV1Menu.getMenuSiteUrl(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { id: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['_id']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\n/**\n * Query menu details and path URL\n * @public\n * @documentationMaturity preview\n * @permissionId RESTAURANTS.MENU_READ\n * @applicableIdentity APP\n * @fqn com.wixpress.restaurants.menus_menu.v1.restaurants_menus_site_url.RestaurantsMenusSiteUrl.QueryMenusSiteUrl\n */\nexport async function queryMenusSiteUrl(\n  options?: QueryMenusSiteUrlOptions\n): Promise<\n  NonNullablePaths<\n    QueryMenusSiteUrlResponse,\n    `menuSiteUrls` | `menuSiteUrls.${number}.path`,\n    4\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    query: options?.query,\n  });\n\n  const reqOpts =\n    ambassadorWixRestaurantsMenusV1Menu.queryMenusSiteUrl(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { query: '$[0].query' },\n        singleArgumentUnchanged: false,\n      },\n      ['options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface QueryMenusSiteUrlOptions {\n  /** Query options */\n  query?: CursorQuery;\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaurantsMenusSiteUrlUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/menus',\n        destPath: '/v1/menus',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/bulk/menus',\n        destPath: '/v1/bulk/menus',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    'editor.wixapps.net': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/menus',\n        destPath: '/v1/menus',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/bulk/menus',\n        destPath: '/v1/bulk/menus',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/restaurants/menus-menu',\n        destPath: '',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/bulk/menus',\n        destPath: '/v1/bulk/menus',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/menus',\n        destPath: '/v1/menus',\n      },\n    ],\n    'apps._base_domain_': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveComWixpressRestaurantsMenusMenuV1RestaurantsDuplicateMenuRestaurantsDuplicateMenuUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/menus',\n        destPath: '/v1/menus',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/bulk/menus',\n        destPath: '/v1/bulk/menus',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    'editor.wixapps.net': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/menus',\n        destPath: '/v1/menus',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/bulk/menus',\n        destPath: '/v1/bulk/menus',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/restaurants/menus-menu',\n        destPath: '',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/bulk/menus',\n        destPath: '/v1/bulk/menus',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/menus',\n        destPath: '/v1/menus',\n      },\n    ],\n    'apps._base_domain_': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/menus',\n        destPath: '/v1/menus',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/bulk/menus',\n        destPath: '/v1/bulk/menus',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    'editor.wixapps.net': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/menus',\n        destPath: '/v1/menus',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/bulk/menus',\n        destPath: '/v1/bulk/menus',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/restaurants/menus-menu',\n        destPath: '',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/bulk/menus',\n        destPath: '/v1/bulk/menus',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/menus',\n        destPath: '/v1/menus',\n      },\n    ],\n    'apps._base_domain_': [\n      {\n        srcPath: '/_api/restaurants-menus-menu',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_restaurants_menus';\n\n/**\n * > **Note:** The Menus 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).\n *\n * Creates a menu.\n *\n * To create multiple menus at once, use [Bulk Create Menus](https://dev.wix.com/docs/rest/business-solutions/restaurants/menus/menu/bulk-create-menus).\n */\nexport function createMenu(payload: object): RequestOptionsFactory<any> {\n  function __createMenu({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'menu.createdDate' },\n          { path: 'menu.updatedDate' },\n          { path: 'menu.externalReferenceInfo.lastSyncDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.menu',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.CreateMenu',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n        protoPath: '/v1/menus',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'menu.createdDate' },\n              { path: 'menu.updatedDate' },\n              { path: 'menu.externalReferenceInfo.lastSyncDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createMenu;\n}\n\n/**\n * > **Note:** The Menu 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).\n *\n * Creates multiple menus at once.\n */\nexport function bulkCreateMenus(payload: object): RequestOptionsFactory<any> {\n  function __bulkCreateMenus({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'menus.createdDate' },\n          { path: 'menus.updatedDate' },\n          { path: 'menus.externalReferenceInfo.lastSyncDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.menu',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.BulkCreateMenus',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n        protoPath: '/v1/bulk/menus/create',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'results.menu.createdDate' },\n              { path: 'results.menu.updatedDate' },\n              { path: 'results.menu.externalReferenceInfo.lastSyncDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkCreateMenus;\n}\n\n/**\n * > **Note:** The Menu 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).\n *\n * Retrieves a menu by ID.\n */\nexport function getMenu(payload: object): RequestOptionsFactory<any> {\n  function __getMenu({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.menu',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.GetMenu',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n        protoPath: '/v1/menus/{menuId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'menu.createdDate' },\n              { path: 'menu.updatedDate' },\n              { path: 'menu.externalReferenceInfo.lastSyncDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getMenu;\n}\n\n/**\n * > **Note:** The Menu 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).\n *\n * Retrieves a list of up to 500 menus.\n */\nexport function listMenus(payload: object): RequestOptionsFactory<any> {\n  function __listMenus({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.menu',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.ListMenus',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n        protoPath: '/v1/menus',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'menus.createdDate' },\n              { path: 'menus.updatedDate' },\n              { path: 'menus.externalReferenceInfo.lastSyncDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __listMenus;\n}\n\n/**\n * Creates a query to retrieve a list of menus.\n *\n * The `queryMenus()` function builds a query to retrieve a list of menus and returns a `MenusQueryBuilder` object.\n *\n * The returned object contains the query definition, which is used to run the query using the [`find()`](/menus/menus-query-builder/find) function.\n *\n * You can refine the query by chaining `MenusQueryBuilder` functions onto the query. `MenusQueryBuilder` functions enable you to filter, sort, and control the results that `queryMenus()` returns.\n *\n * `queryMenus()` runs with the following `MenusQueryBuilder` defaults, which you can override:\n *\n * * [`limit(100)`](/menus/menus-query-builder/limit)\n *\n * The following `MenusQueryBuilder` functions are supported for `queryMenus()`. For a full description of the menu object, see the object returned for the [`items`](/menus/menus-query-result/items) property in `MenusQueryResult`.\n */\nexport function queryMenus(payload: object): RequestOptionsFactory<any> {\n  function __queryMenus({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.menu',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.QueryMenus',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n        protoPath: '/v1/menus/query',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'menus.createdDate' },\n              { path: 'menus.updatedDate' },\n              { path: 'menus.externalReferenceInfo.lastSyncDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __queryMenus;\n}\n\n/**\n * > **Note:** The Menu 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).\n *\n * Updates a menu.\n *\n * To update multiple menus at once, use [Bulk Update Menu](https://dev.wix.com/docs/rest/business-solutions/restaurants/menus/menu/bulk-update-menu).\n *\n * Each time a menu is updated, its revision increments by 1. The existing revision must be included when updating a menu. This ensures you're working with the latest menu information, and it prevents unintended overwrites.\n */\nexport function updateMenu(payload: object): RequestOptionsFactory<any> {\n  function __updateMenu({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'mask' }],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'menu.createdDate' },\n          { path: 'menu.updatedDate' },\n          { path: 'menu.externalReferenceInfo.lastSyncDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.menu',\n      method: 'PATCH' as any,\n      methodFqn:\n        'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.UpdateMenu',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n        protoPath: '/v1/menus/{menu.id}',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'menu.createdDate' },\n              { path: 'menu.updatedDate' },\n              { path: 'menu.externalReferenceInfo.lastSyncDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateMenu;\n}\n\n/**\n * > **Note:** The Menu 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).\n *\n * Updates multiple menus at once.\n *\n * Each time a menu is updated, its revision increments by 1. The existing revision must be included when updating the menu. This ensures you're working with the latest menu information, and it prevents unintended overwrites.\n */\nexport function bulkUpdateMenu(payload: object): RequestOptionsFactory<any> {\n  function __bulkUpdateMenu({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'menus.mask' }],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'menus.menu.createdDate' },\n          { path: 'menus.menu.updatedDate' },\n          { path: 'menus.menu.externalReferenceInfo.lastSyncDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.menu',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.BulkUpdateMenu',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n        protoPath: '/v1/bulk/menus/update',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'results.menu.createdDate' },\n              { path: 'results.menu.updatedDate' },\n              { path: 'results.menu.externalReferenceInfo.lastSyncDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateMenu;\n}\n\n/**\n * > **Note:** The Menu 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).\n *\n * Updates only the `extendedFields` field.\n */\nexport function updateExtendedFields(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __updateExtendedFields({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.menu',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.UpdateExtendedFields',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n        protoPath: '/v1/menus/{id}/updateExtendedFields',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __updateExtendedFields;\n}\n\n/**\n * > **Note:** The Menu 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).\n *\n * Deletes a menu.\n */\nexport function deleteMenu(payload: object): RequestOptionsFactory<any> {\n  function __deleteMenu({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.menu',\n      method: 'DELETE' as any,\n      methodFqn:\n        'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.DeleteMenu',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n        protoPath: '/v1/menus/{menuId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteMenu;\n}\n\nexport function duplicateMenu(payload: object): RequestOptionsFactory<any> {\n  function __duplicateMenu({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.menu',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.menus_menu.v1.restaurants_duplicate_menu.RestaurantsDuplicateMenu.DuplicateMenu',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsDuplicateMenuRestaurantsDuplicateMenuUrl(\n        { protoPath: '/v1/menus/{id}/duplicate', data: payload, host }\n      ),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __duplicateMenu;\n}\n\n/** Get menu details and path URL by menu ID. */\nexport function getMenuSiteUrl(payload: object): RequestOptionsFactory<any> {\n  function __getMenuSiteUrl({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.menu',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wixpress.restaurants.menus_menu.v1.restaurants_menus_site_url.RestaurantsMenusSiteUrl.GetMenuSiteUrl',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaurantsMenusSiteUrlUrl(\n        { protoPath: '/v1/menus-site-url/menus/{id}', data: payload, host }\n      ),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __getMenuSiteUrl;\n}\n\n/** Query menu details and path URL */\nexport function queryMenusSiteUrl(payload: object): RequestOptionsFactory<any> {\n  function __queryMenusSiteUrl({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.menu',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.menus_menu.v1.restaurants_menus_site_url.RestaurantsMenusSiteUrl.QueryMenusSiteUrl',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaurantsMenusSiteUrlUrl(\n        { protoPath: '/v1/menus-site-url/menus/query', data: payload, host }\n      ),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __queryMenusSiteUrl;\n}\n","import {\n  createMenu as publicCreateMenu,\n  bulkCreateMenus as publicBulkCreateMenus,\n  getMenu as publicGetMenu,\n  listMenus as publicListMenus,\n  queryMenus as publicQueryMenus,\n  typedQueryMenus as publicTypedQueryMenus,\n  updateMenu as publicUpdateMenu,\n  bulkUpdateMenu as publicBulkUpdateMenu,\n  updateExtendedFields as publicUpdateExtendedFields,\n  deleteMenu as publicDeleteMenu,\n  duplicateMenu as publicDuplicateMenu,\n  getMenuSiteUrl as publicGetMenuSiteUrl,\n  queryMenusSiteUrl as publicQueryMenusSiteUrl,\n} from './restaurants-menus-v1-menu-menus.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { createEventModule } from '@wix/sdk-runtime/event-definition-modules';\nimport {\n  BuildRESTFunction,\n  MaybeContext,\n  BuildEventDefinition,\n} from '@wix/sdk-types';\nimport { HttpClient } from '@wix/sdk-types';\nimport { createQueryOverloadRouter } from '@wix/sdk-runtime/query-method-router';\nimport {\n  MenuQuery,\n  MenusQueryBuilder,\n  typedQueryMenus as universalTypedQueryMenus,\n} from './restaurants-menus-v1-menu-menus.universal.js';\nimport { onMenuCreated as publicOnMenuCreated } from './restaurants-menus-v1-menu-menus.public.js';\nimport { onMenuDeleted as publicOnMenuDeleted } from './restaurants-menus-v1-menu-menus.public.js';\nimport { onMenuUpdated as publicOnMenuUpdated } from './restaurants-menus-v1-menu-menus.public.js';\n\nfunction customQueryMenus(httpClient: HttpClient) {\n  const router = createQueryOverloadRouter({\n    builderQueryFunction: () => publicQueryMenus(httpClient)(),\n    typedQueryFunction: (query: MenuQuery) =>\n      publicTypedQueryMenus(httpClient)(query),\n    hasOptionsParameter: false,\n  });\n\n  function overloadedQuery(): MenusQueryBuilder;\n  function overloadedQuery(\n    query: MenuQuery\n  ): ReturnType<typeof universalTypedQueryMenus>;\n  function overloadedQuery(query?: MenuQuery): any {\n    return router(...arguments);\n  }\n\n  return overloadedQuery;\n}\n\nexport const createMenu: MaybeContext<\n  BuildRESTFunction<typeof publicCreateMenu> & typeof publicCreateMenu\n> = /*#__PURE__*/ createRESTModule(publicCreateMenu);\nexport const bulkCreateMenus: MaybeContext<\n  BuildRESTFunction<typeof publicBulkCreateMenus> & typeof publicBulkCreateMenus\n> = /*#__PURE__*/ createRESTModule(publicBulkCreateMenus);\nexport const getMenu: MaybeContext<\n  BuildRESTFunction<typeof publicGetMenu> & typeof publicGetMenu\n> = /*#__PURE__*/ createRESTModule(publicGetMenu);\nexport const listMenus: MaybeContext<\n  BuildRESTFunction<typeof publicListMenus> & typeof publicListMenus\n> = /*#__PURE__*/ createRESTModule(publicListMenus);\nexport const updateMenu: MaybeContext<\n  BuildRESTFunction<typeof publicUpdateMenu> & typeof publicUpdateMenu\n> = /*#__PURE__*/ createRESTModule(publicUpdateMenu);\nexport const bulkUpdateMenu: MaybeContext<\n  BuildRESTFunction<typeof publicBulkUpdateMenu> & typeof publicBulkUpdateMenu\n> = /*#__PURE__*/ createRESTModule(publicBulkUpdateMenu);\nexport const updateExtendedFields: MaybeContext<\n  BuildRESTFunction<typeof publicUpdateExtendedFields> &\n    typeof publicUpdateExtendedFields\n> = /*#__PURE__*/ createRESTModule(publicUpdateExtendedFields);\nexport const deleteMenu: MaybeContext<\n  BuildRESTFunction<typeof publicDeleteMenu> & typeof publicDeleteMenu\n> = /*#__PURE__*/ createRESTModule(publicDeleteMenu);\nexport const duplicateMenu: MaybeContext<\n  BuildRESTFunction<typeof publicDuplicateMenu> & typeof publicDuplicateMenu\n> = /*#__PURE__*/ createRESTModule(publicDuplicateMenu);\nexport const getMenuSiteUrl: MaybeContext<\n  BuildRESTFunction<typeof publicGetMenuSiteUrl> & typeof publicGetMenuSiteUrl\n> = /*#__PURE__*/ createRESTModule(publicGetMenuSiteUrl);\nexport const queryMenusSiteUrl: MaybeContext<\n  BuildRESTFunction<typeof publicQueryMenusSiteUrl> &\n    typeof publicQueryMenusSiteUrl\n> = /*#__PURE__*/ createRESTModule(publicQueryMenusSiteUrl);\nexport const queryMenus: MaybeContext<\n  BuildRESTFunction<typeof customQueryMenus> & typeof customQueryMenus\n> = /*#__PURE__*/ createRESTModule(customQueryMenus);\n/** */\nexport const onMenuCreated: BuildEventDefinition<typeof publicOnMenuCreated> &\n  typeof publicOnMenuCreated = createEventModule(publicOnMenuCreated);\n/**\n * Triggered when a menu is deleted.\n */\nexport const onMenuDeleted: BuildEventDefinition<typeof publicOnMenuDeleted> &\n  typeof publicOnMenuDeleted = createEventModule(publicOnMenuDeleted);\n/** */\nexport const onMenuUpdated: BuildEventDefinition<typeof publicOnMenuUpdated> &\n  typeof publicOnMenuUpdated = createEventModule(publicOnMenuUpdated);\n\nexport {\n  SortOrder,\n  WebhookIdentityType,\n} from './restaurants-menus-v1-menu-menus.universal.js';\nexport {\n  Menu,\n  ExtendedFields,\n  SeoSchema,\n  Keyword,\n  Tag,\n  Settings,\n  BusinessLocationDetails,\n  ExternalReferenceInfo,\n  InvalidateCache,\n  InvalidateCacheGetByOneOf,\n  App,\n  Page,\n  URI,\n  File,\n  CustomTag,\n  Pages,\n  URIs,\n  DeleteOrphanSections,\n  MenusDataCloningCompleted,\n  CreateMenuRequest,\n  CreateMenuResponse,\n  BulkCreateMenusRequest,\n  BulkCreateMenusResponse,\n  BulkCreateMenuResult,\n  ItemMetadata,\n  ApplicationError,\n  BulkActionMetadata,\n  GetMenuRequest,\n  GetMenuResponse,\n  ListMenusRequest,\n  CursorPaging,\n  ListMenusResponse,\n  CursorPagingMetadata,\n  Cursors,\n  QueryMenusRequest,\n  CursorQuery,\n  CursorQueryPagingMethodOneOf,\n  Sorting,\n  QueryMenusResponse,\n  UpdateMenuRequest,\n  UpdateMenuResponse,\n  BulkUpdateMenuRequest,\n  MaskedMenu,\n  BulkUpdateMenuResponse,\n  BulkMenuResult,\n  UpdateExtendedFieldsRequest,\n  UpdateExtendedFieldsResponse,\n  DeleteMenuRequest,\n  DeleteMenuResponse,\n  RunMenusMultiLocationMigrationRequest,\n  RunMenusMultiLocationMigrationResponse,\n  UpdateBusinessLocationIdRequest,\n  UpdateBusinessLocationIdResponse,\n  CloneMenusRequest,\n  CloneMenusResponse,\n  DomainEvent,\n  DomainEventBodyOneOf,\n  EntityCreatedEvent,\n  RestoreInfo,\n  EntityUpdatedEvent,\n  EntityDeletedEvent,\n  ActionEvent,\n  Empty,\n  SyncContentToMultilingualRequest,\n  SyncContentToMultilingualResponse,\n  MessageEnvelope,\n  IdentificationData,\n  IdentificationDataIdOneOf,\n  AccountInfo,\n  DuplicateMenuRequest,\n  DuplicateMenuResponse,\n  GetMenuSiteUrlRequest,\n  GetMenuSiteUrlResponse,\n  MenuSiteUrl,\n  QueryMenusSiteUrlRequest,\n  QueryMenusSiteUrlResponse,\n  BaseEventMetadata,\n  EventMetadata,\n  AccountInfoMetadata,\n  MenuCreatedEnvelope,\n  MenuDeletedEnvelope,\n  MenuUpdatedEnvelope,\n  BulkCreateMenusOptions,\n  ListMenusOptions,\n  MenusQueryResult,\n  MenusQueryBuilder,\n  MenuQuerySpec,\n  UpdateMenu,\n  BulkUpdateMenuOptions,\n  UpdateExtendedFieldsOptions,\n  DuplicateMenuOptions,\n  QueryMenusSiteUrlOptions,\n} from './restaurants-menus-v1-menu-menus.universal.js';\nexport { utils } from './restaurants-menus-v1-menu-menus.universal.js';\nexport {\n  SortOrderWithLiterals,\n  WebhookIdentityTypeWithLiterals,\n  CommonQueryWithEntityContext,\n  MenuQuery,\n} from './restaurants-menus-v1-menu-menus.universal.js';\n"],"mappings":";AAAA,SAAS,2CAAAA,gDAA+C;AACxD,SAAS,wCAAAC,6CAA4C;AACrD,SAAS,kBAAAC,uBAAsB;AAC/B,SAAS,uBAAqD;;;ACH9D,SAAS,kBAAkB,yBAAyB;AACpD,SAAS,oBAAoB;AAC7B;AAAA,EACE;AAAA,EACA;AAAA,OACK;;;ACLP,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;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kBAAkB,aAAmB;","names":["renameKeysFromRESTResponseToSDKResponse","transformRESTTimestampToSDKTimestamp","transformPaths","payload","transformPaths","SortOrder","WebhookIdentityType","createMenu","bulkCreateMenus","getMenu","listMenus","queryMenus","updateMenu","bulkUpdateMenu","updateExtendedFields","deleteMenu","duplicateMenu","getMenuSiteUrl","queryMenusSiteUrl","createMenu","bulkCreateMenus","getMenu","listMenus","queryMenus","typedQueryMenus","updateMenu","bulkUpdateMenu","updateExtendedFields","deleteMenu","duplicateMenu","getMenuSiteUrl","queryMenusSiteUrl","renameKeysFromRESTResponseToSDKResponse","transformPaths","transformRESTTimestampToSDKTimestamp","queryMenus","typedQueryMenus","createMenu","bulkCreateMenus","getMenu","listMenus","updateMenu","bulkUpdateMenu","updateExtendedFields","deleteMenu","duplicateMenu","getMenuSiteUrl","queryMenusSiteUrl","onMenuCreated","onMenuDeleted","onMenuUpdated"]}