{"version":3,"sources":["../../src/restaurants-catalogs-v3-catalog-catalogs.http.ts","../../src/restaurants-catalogs-v3-catalog-catalogs.types.ts","../../src/restaurants-catalogs-v3-catalog-catalogs.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\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 resolveComWixpressRestaurantsCatalogsV3DraftCatalogsApiUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'www.wixapis.com': [\n      {\n        srcPath: '/restaurants/v3/catalogs',\n        destPath: '/v3/catalogs',\n      },\n      {\n        srcPath: '/restaurants/v3/catalog',\n        destPath: '/v3/catalog',\n      },\n      {\n        srcPath: '/restaurants/v3/draft-catalogs',\n        destPath: '/v3/draft-catalogs',\n      },\n      {\n        srcPath: '/restaurants/v3/catalogs_test',\n        destPath: '/v3/catalogs',\n      },\n      {\n        srcPath: '/_api/restaurants/v3/catalogs_test',\n        destPath: '/v3/catalogs',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/restaurants/v3/catalogs',\n        destPath: '/v3/catalogs',\n      },\n    ],\n    'users._base_domain_': [\n      {\n        srcPath: '/_api/restaurants/v3/catalogs',\n        destPath: '/v3/catalogs',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/restaurants/v3/catalogs',\n        destPath: '/v3/catalogs',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/restaurants/v3/catalogs',\n        destPath: '/v3/catalogs',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/restaurants/v3/catalogs',\n        destPath: '/v3/catalogs',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/restaurants/v3/catalogs',\n        destPath: '/v3/catalogs',\n      },\n      {\n        srcPath: '/restaurants/v3/catalog',\n        destPath: '/v3/catalog',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/restaurants/v3/catalogs',\n        destPath: '/v3/catalogs',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/restaurants/v3/catalogs',\n        destPath: '/v3/catalogs',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/restaurants/v3/catalogs',\n        destPath: '/v3/catalogs',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveComWixpressRestaurantsCatalogsV3CatalogsApiUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'www.wixapis.com': [\n      {\n        srcPath: '/restaurants/v3/catalogs',\n        destPath: '/v3/catalogs',\n      },\n      {\n        srcPath: '/restaurants/v3/catalog',\n        destPath: '/v3/catalog',\n      },\n      {\n        srcPath: '/restaurants/v3/draft-catalogs',\n        destPath: '/v3/draft-catalogs',\n      },\n      {\n        srcPath: '/restaurants/v3/catalogs_test',\n        destPath: '/v3/catalogs',\n      },\n      {\n        srcPath: '/_api/restaurants/v3/catalogs_test',\n        destPath: '/v3/catalogs',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/restaurants/v3/catalogs',\n        destPath: '/v3/catalogs',\n      },\n    ],\n    'users._base_domain_': [\n      {\n        srcPath: '/_api/restaurants/v3/catalogs',\n        destPath: '/v3/catalogs',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/restaurants/v3/catalogs',\n        destPath: '/v3/catalogs',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/restaurants/v3/catalogs',\n        destPath: '/v3/catalogs',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/restaurants/v3/catalogs',\n        destPath: '/v3/catalogs',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/restaurants/v3/catalogs',\n        destPath: '/v3/catalogs',\n      },\n      {\n        srcPath: '/restaurants/v3/catalog',\n        destPath: '/v3/catalog',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/restaurants/v3/catalogs',\n        destPath: '/v3/catalogs',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/restaurants/v3/catalogs',\n        destPath: '/v3/catalogs',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/restaurants/v3/catalogs',\n        destPath: '/v3/catalogs',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_restaurants_catalogs';\n\n/**\n * Retrieves catalogs, given the provided filtering, sorting and paging.\n * Note that there is a single catalog per location.\n * @deprecated It has been replaced with com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.ListMenus(), and will be removed on 2025-09-30.\n */\nexport function listCatalogs(payload: object): RequestOptionsFactory<any> {\n  function __listCatalogs({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wixpress.restaurants.catalogs.v3.CatalogsApi.ListCatalogs',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3CatalogsApiUrl({\n        protoPath: '/v3/catalogs',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload, true),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [{ path: 'catalogs.draftPublishedDate' }],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __listCatalogs;\n}\n\n/**\n * Retrieves a menu.\n * @deprecated It has been replaced with com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.GetMenu(), and will be removed on 2025-09-30.\n */\nexport function getMenu(payload: object): RequestOptionsFactory<any> {\n  function __getMenu({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'GET' as any,\n      methodFqn: 'com.wixpress.restaurants.catalogs.v3.CatalogsApi.GetMenu',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3CatalogsApiUrl({\n        protoPath: '/v3/catalogs/{catalogId}/menus/{menuId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __getMenu;\n}\n\n/**\n * Retrieves a section.\n * @deprecated It has been replaced with com.wixpress.restaurants.menus_section.v1.RestaurantsMenusSection.GetSection(), and will be removed on 2025-09-30.\n */\nexport function getSection(payload: object): RequestOptionsFactory<any> {\n  function __getSection({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'GET' as any,\n      methodFqn: 'com.wixpress.restaurants.catalogs.v3.CatalogsApi.GetSection',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3CatalogsApiUrl({\n        protoPath:\n          '/v3/catalogs/{catalogId}/menus/{menuId}/sections/{sectionId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __getSection;\n}\n\n/**\n * Updates a menu.\n * You can't update archived menus.\n * @deprecated It has been replaced with com.wixpress.restaurants.menus_section.v1.RestaurantsMenusSection.GetSection(), and will be removed on 2025-09-30.\n */\nexport function updateMenu(payload: object): RequestOptionsFactory<any> {\n  function __updateMenu({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'PATCH' as any,\n      methodFqn: 'com.wixpress.restaurants.catalogs.v3.CatalogsApi.UpdateMenu',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3CatalogsApiUrl({\n        protoPath: '/v3/catalogs/{catalogId}/menus/{menu.id}',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __updateMenu;\n}\n\n/**\n * Updates a section.\n * You can't update archived sections. Note that every section belongs to a single menu, you can't add it to another menu.\n * @deprecated It has been replaced with com.wixpress.restaurants.menus_section.v1.RestaurantsMenusSection.UpdateSection(), and will be removed on 2025-09-30.\n */\nexport function updateSection(payload: object): RequestOptionsFactory<any> {\n  function __updateSection({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'PATCH' as any,\n      methodFqn:\n        'com.wixpress.restaurants.catalogs.v3.CatalogsApi.UpdateSection',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3CatalogsApiUrl({\n        protoPath:\n          '/v3/catalogs/{catalogId}/menus/{menuId}/sections/{section.id}',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __updateSection;\n}\n\n/**\n * Retrieves menus, given the provided filtering, sorting and paging.\n * @deprecated It has been replaced with com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.ListMenus(), and will be removed on 2025-09-30.\n */\nexport function listMenus(payload: object): RequestOptionsFactory<any> {\n  function __listMenus({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'fieldMask' }],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'GET' as any,\n      methodFqn: 'com.wixpress.restaurants.catalogs.v3.CatalogsApi.ListMenus',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3CatalogsApiUrl({\n        protoPath: '/v3/catalogs/{catalogId}/menus',\n        data: serializedData,\n        host,\n      }),\n      params: toURLSearchParams(serializedData),\n    };\n\n    return metadata;\n  }\n\n  return __listMenus;\n}\n\n/**\n * Retrieves sections, given the provided filtering, sorting and paging.\n * @deprecated It has been replaced with com.wixpress.restaurants.menus_section.v1.RestaurantsMenusSection.ListSections(), and will be removed on 2025-09-30.\n */\nexport function listSections(payload: object): RequestOptionsFactory<any> {\n  function __listSections({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'fieldMask' }],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wixpress.restaurants.catalogs.v3.CatalogsApi.ListSections',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3CatalogsApiUrl({\n        protoPath: '/v3/catalogs/{catalogId}/sections',\n        data: serializedData,\n        host,\n      }),\n      params: toURLSearchParams(serializedData),\n    };\n\n    return metadata;\n  }\n\n  return __listSections;\n}\n\n/**\n * Creates a menu.\n * @deprecated It has been replaced with com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.CreateMenu(), and will be removed on 2025-09-30.\n */\nexport function createMenu(payload: object): RequestOptionsFactory<any> {\n  function __createMenu({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'POST' as any,\n      methodFqn: 'com.wixpress.restaurants.catalogs.v3.CatalogsApi.CreateMenu',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3CatalogsApiUrl({\n        protoPath: '/v3/catalogs/{catalogId}/menus',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __createMenu;\n}\n\n/**\n * Archives a menu. You can't update archived menus.\n * @deprecated Will be removed on 2025-09-30.\n */\nexport function archiveMenu(payload: object): RequestOptionsFactory<any> {\n  function __archiveMenu({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'POST' as any,\n      methodFqn: 'com.wixpress.restaurants.catalogs.v3.CatalogsApi.ArchiveMenu',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3CatalogsApiUrl({\n        protoPath: '/v3/catalogs/{catalogId}/menus/{menuId}/archive',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __archiveMenu;\n}\n\n/**\n * Unarchives a menu.\n * @deprecated Will be removed on 2025-09-30.\n */\nexport function unarchiveMenu(payload: object): RequestOptionsFactory<any> {\n  function __unarchiveMenu({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.catalogs.v3.CatalogsApi.UnarchiveMenu',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3CatalogsApiUrl({\n        protoPath: '/v3/catalogs/{catalogId}/menus/{menuId}/unarchive',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __unarchiveMenu;\n}\n\n/**\n * Creates a section.\n * You can't add the section to multiple menus, since every section belongs to a single menu.\n * @deprecated It has been replaced with com.wixpress.restaurants.menus_section.v1.RestaurantsMenusSection.CreateSection(), and will be removed on 2025-09-30.\n */\nexport function createSection(payload: object): RequestOptionsFactory<any> {\n  function __createSection({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.catalogs.v3.CatalogsApi.CreateSection',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3CatalogsApiUrl({\n        protoPath: '/v3/catalogs/{catalogId}/menus/{menuId}/sections',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __createSection;\n}\n\n/**\n * Retrieves an item.\n * @deprecated It has been replaced with com.wixpress.restaurants.menus_item.v1.RestaurantsMenusItem.GetItem(), and will be removed on 2025-09-30.\n */\nexport function getItem(payload: object): RequestOptionsFactory<any> {\n  function __getItem({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'GET' as any,\n      methodFqn: 'com.wixpress.restaurants.catalogs.v3.CatalogsApi.GetItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3CatalogsApiUrl({\n        protoPath: '/v3/catalogs/{catalogId}/items/{itemId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __getItem;\n}\n\n/**\n * Retrieves items, given the provided filtering, sorting and paging.\n * @deprecated It has been replaced with com.wixpress.restaurants.menus_item.v1.RestaurantsMenusItem.ListItems(), and will be removed on 2025-09-30.\n */\nexport function listItems(payload: object): RequestOptionsFactory<any> {\n  function __listItems({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'fieldMask' }],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'GET' as any,\n      methodFqn: 'com.wixpress.restaurants.catalogs.v3.CatalogsApi.ListItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3CatalogsApiUrl({\n        protoPath: '/v3/catalogs/{catalogId}/items',\n        data: serializedData,\n        host,\n      }),\n      params: toURLSearchParams(serializedData),\n    };\n\n    return metadata;\n  }\n\n  return __listItems;\n}\n\n/**\n * Updates an item.\n * You can't update archived items.\n * @deprecated It has been replaced with com.wixpress.restaurants.menus_item.v1.RestaurantsMenusItem.UpdateItem(), and will be removed on 2025-09-30.\n */\nexport function updateItem(payload: object): RequestOptionsFactory<any> {\n  function __updateItem({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'PATCH' as any,\n      methodFqn: 'com.wixpress.restaurants.catalogs.v3.CatalogsApi.UpdateItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3CatalogsApiUrl({\n        protoPath: '/v3/catalogs/{catalogId}/items/{item.id}',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __updateItem;\n}\n\n/**\n * Creates a dish.\n * @deprecated It has been replaced with com.wixpress.restaurants.menus_item.v1.RestaurantsMenusItem.CreateItem(), and will be removed on 2025-09-30.\n */\nexport function createDish(payload: object): RequestOptionsFactory<any> {\n  function __createDish({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'POST' as any,\n      methodFqn: 'com.wixpress.restaurants.catalogs.v3.CatalogsApi.CreateDish',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3CatalogsApiUrl({\n        protoPath:\n          '/v3/catalogs/{catalogId}/menus/{menuId}/sections/{sectionId}/items',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __createDish;\n}\n\n/**\n * Creates a variation.\n * @deprecated It has been replaced with wix.restaurants.menus_item_variant.v1.VariantsService.CreateVariant(), and will be removed on 2025-09-30.\n */\nexport function createVariation(payload: object): RequestOptionsFactory<any> {\n  function __createVariation({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.catalogs.v3.CatalogsApi.CreateVariation',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3CatalogsApiUrl({\n        protoPath: '/v3/catalogs/{catalogId}/variations',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __createVariation;\n}\n\n/**\n * Creates a draft version of the specified catalog.\n * Then you can update and publish the draft catalog by using the endpoints in the [Draft Catalogs category](https://dev.wix.com/api/rest/wix-restaurants/catalogs/draft-catalogs).\n *\n * > **Note:** You can't create more than one draft catalog per location.\n * @deprecated Will be removed on 2025-09-30.\n */\nexport function createDraftCatalog(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __createDraftCatalog({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.catalogs.v3.DraftCatalogsApi.CreateDraftCatalog',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3DraftCatalogsApiUrl({\n        protoPath: '/v3/draft-catalogs/{catalogId}/create',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [{ path: 'catalog.draftPublishedDate' }],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createDraftCatalog;\n}\n\n/**\n * Publishes a draft catalog to the live site by replacing the existing catalog.\n * @deprecated Will be removed on 2025-09-30.\n */\nexport function publishDraftCatalog(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __publishDraftCatalog({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.catalogs.v3.DraftCatalogsApi.PublishDraftCatalog',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3DraftCatalogsApiUrl({\n        protoPath: '/v3/draft-catalogs/{catalogId}/publish',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [{ path: 'catalog.draftPublishedDate' }],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __publishDraftCatalog;\n}\n\n/**\n * Discards a draft catalog. If you want to continue using [Bulk endpoints](https://dev.wix.com/api/rest/wix-restaurants/catalogs/draft-catalogs) for this catalog, you must first call the [Create Draft Catalog](https://dev.wix.com/api/rest/wix-restaurants/catalogs/draft-catalogs/create-draft-catalog) endpoint again.\n * @deprecated Will be removed on 2025-09-30.\n */\nexport function discardDraftCatalog(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __discardDraftCatalog({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'DELETE' as any,\n      methodFqn:\n        'com.wixpress.restaurants.catalogs.v3.DraftCatalogsApi.DiscardDraftCatalog',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3DraftCatalogsApiUrl({\n        protoPath: '/v3/draft-catalogs/{catalogId}/discard',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __discardDraftCatalog;\n}\n\n/**\n * Adds multiple variations to a draft catalog.\n * @deprecated Will be removed on 2025-09-30.\n */\nexport function bulkCreateVariations(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkCreateVariations({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.catalogs.v3.DraftCatalogsApi.BulkCreateVariations',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3DraftCatalogsApiUrl({\n        protoPath: '/v3/draft-catalogs/{catalogId}/bulk/variations/create',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkCreateVariations;\n}\n\n/**\n * Updates multiple items in a draft catalog.\n * You can't update archived items.\n * @deprecated Will be removed on 2025-09-30.\n */\nexport function bulkUpdateItems(payload: object): RequestOptionsFactory<any> {\n  function __bulkUpdateItems({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.catalogs.v3.DraftCatalogsApi.BulkUpdateItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3DraftCatalogsApiUrl({\n        protoPath: '/v3/draft-catalogs/{catalogId}/bulk/items/update',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateItems;\n}\n\n/**\n * Adds multiple dishes to a draft catalog.\n * @deprecated Will be removed on 2025-09-30.\n */\nexport function bulkCreateDishes(payload: object): RequestOptionsFactory<any> {\n  function __bulkCreateDishes({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.catalogs.v3.DraftCatalogsApi.BulkCreateDishes',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3DraftCatalogsApiUrl({\n        protoPath: '/v3/draft-catalogs/{catalogId}/bulk/dishes/create',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkCreateDishes;\n}\n\n/**\n * Adds multiple menus to a draft catalog.\n * @deprecated Will be removed on 2025-09-30.\n */\nexport function bulkCreateMenus(payload: object): RequestOptionsFactory<any> {\n  function __bulkCreateMenus({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.catalogs.v3.DraftCatalogsApi.BulkCreateMenus',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3DraftCatalogsApiUrl({\n        protoPath: '/v3/draft-catalogs/{catalogId}/bulk/menus/create',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkCreateMenus;\n}\n\n/**\n * Updates multiple menus in a draft catalog.\n * You can't update archived menus.\n * @deprecated Will be removed on 2025-09-30.\n */\nexport function bulkUpdateMenus(payload: object): RequestOptionsFactory<any> {\n  function __bulkUpdateMenus({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.catalogs.v3.DraftCatalogsApi.BulkUpdateMenus',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3DraftCatalogsApiUrl({\n        protoPath: '/v3/draft-catalogs/{catalogId}/bulk/menus/update',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateMenus;\n}\n\n/**\n * Adds multiple sections to a draft catalog.\n * @deprecated Will be removed on 2025-09-30.\n */\nexport function bulkCreateSections(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkCreateSections({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.catalogs.v3.DraftCatalogsApi.BulkCreateSections',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3DraftCatalogsApiUrl({\n        protoPath: '/v3/draft-catalogs/{catalogId}/bulk/sections/create',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkCreateSections;\n}\n\n/**\n * Updates multiple sections in a draft catalog.\n * You can't update archived sections.\n * @deprecated Will be removed on 2025-09-30.\n */\nexport function bulkUpdateSections(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkUpdateSections({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.catalogs.v3.DraftCatalogsApi.BulkUpdateSections',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3DraftCatalogsApiUrl({\n        protoPath: '/v3/draft-catalogs/{catalogId}/bulk/sections/update',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateSections;\n}\n\n/**\n * Changes the `archived` boolean to `true` for multiple menus in a draft catalog.\n * @deprecated Will be removed on 2025-09-30.\n */\nexport function bulkArchiveMenus(payload: object): RequestOptionsFactory<any> {\n  function __bulkArchiveMenus({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.catalogs.v3.DraftCatalogsApi.BulkArchiveMenus',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3DraftCatalogsApiUrl({\n        protoPath: '/v3/draft-catalogs/{catalogId}/bulk/menus/archive',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkArchiveMenus;\n}\n\n/**\n * Changes the `archived` boolean to `false` for multiple menus in a draft catalog.\n * @deprecated Will be removed on 2025-09-30.\n */\nexport function bulkUnarchiveMenus(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkUnarchiveMenus({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.catalogs.v3.catalog',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.catalogs.v3.DraftCatalogsApi.BulkUnarchiveMenus',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsCatalogsV3DraftCatalogsApiUrl({\n        protoPath: '/v3/draft-catalogs/{catalogId}/bulk/menus/unarchive',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkUnarchiveMenus;\n}\n","/**\n * Collection of menus and discounts available in a specific location.\n * Use a [draft catalog](https://dev.wix.com/api/rest/wix-restaurants/catalogs/draft-catalogs) to publish multiple changes to a catalog at the same time.\n * You can read more about catalogs in the [introduction](https://dev.wix.com/api/rest/wix-restaurants/catalogs/introduction).\n */\nexport interface Catalog {\n  /**\n   * Catalog ID.\n   * @readonly\n   */\n  id?: string | null;\n  /**\n   * ID of the location the catalog belongs to. See the [Locations API](https://dev.wix.com/api/rest/business-info/locations/introduction) for more details.\n   * @readonly\n   * @format GUID\n   */\n  locationId?: string | null;\n  /**\n   * Whether the catalog is archived.\n   * __Note:__ Archived catalogs can't be updated.\n   * @readonly\n   */\n  archived?: boolean;\n  /**\n   * Date and time the last time a draft catalog has been published in `yyyy-mm-ddThh:mm:sssZ` format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).\n   * @readonly\n   */\n  draftPublishedDate?: Date | 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 CatalogUpdated {\n  /** @format GUID */\n  metaSiteId?: string;\n  /** @format GUID */\n  locationId?: string | null;\n  /** @format GUID */\n  catalogId?: string | null;\n  archived?: boolean;\n  catalogItems?: Item[];\n  catalogSections?: Section[];\n  catalogMenus?: Menu[];\n  catalogDiscounts?: Discount[];\n}\n\n/**\n * Anything that customers can buy in the restaurant. Items can be of type `DISH` or `VARIATION`.\n * You can read more about items in the [introduction](https://dev.wix.com/api/rest/wix-restaurants/catalogs/introduction).\n */\nexport interface Item {\n  /**\n   * Item ID.\n   * @readonly\n   */\n  itemId?: string | null;\n  /** Item name. */\n  name?: string | null;\n  /** Item description. */\n  description?: string | null;\n  /** Item price. */\n  price?: Money;\n  /** URL of the item's image file. */\n  imageUrl?: string | null;\n  /** Item labels. For example spicy, hot, vegan, gluten-free, or organic. */\n  labels?: Labels;\n  /** Whether the item is in stock. */\n  inStock?: boolean | null;\n  /**\n   * Tax rate of the item in percent.\n   * @decimalValue options { maxScale:3 }\n   */\n  taxRate?: string | null;\n  /**\n   * Whether the item is archived. Defaults to `false`. **Note:** Archived items can't be updated.\n   * @readonly\n   */\n  archived?: boolean | null;\n  /**\n   * Visibility criteria that must be met for the item to appear in the live site.\n   * In case of multiple visibility criteria, every criterion must be fulfilled.\n   */\n  visibilityCriteria?: VisibilityCriteria;\n  /** Items customers can choose to modify a dish. Can be an extra, selection, or deselection. */\n  dishOptions?: DishOptions;\n  /** Whether a customer can add a special request when ordering this item. Defaults to `true`. */\n  acceptSpecialRequest?: boolean | null;\n  /**\n   * Item type.\n   * @readonly\n   */\n  type?: ItemTypeWithLiterals;\n}\n\n/**\n * Money.\n * Default format to use. Sufficiently compliant with majority of standards: w3c, ISO 4217, ISO 20022, ISO 8583:2003.\n */\nexport interface Money {\n  /**\n   * Monetary amount in decimal string format. For example, `3.99`, `6`, and `10.5` are all accepted values.\n   * @format DECIMAL_VALUE\n   */\n  value?: string;\n  /**\n   * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.\n   * @format CURRENCY\n   * @readonly\n   */\n  currency?: string;\n}\n\nexport interface Labels {\n  values?: string[];\n}\n\nexport interface VisibilityCriteria {\n  /**\n   * Whether the entity appears in the live site. Defaults to `true`.\n   * If `false`, the entity isn't rendered in the live site, even if each visibility criterion is fulfilled.\n   */\n  visible?: boolean | null;\n  /**\n   * Fulfillment types.\n   * @minSize 1\n   * @maxSize 2\n   */\n  fulfillmentTypes?: FulfillmentTypeWithLiterals[];\n  /**\n   * Ordering platforms.\n   * @minSize 1\n   * @maxSize 5\n   */\n  platforms?: PlatformWithLiterals[];\n  /** Time periods when the entity is available. */\n  availability?: Availability;\n}\n\nexport enum FulfillmentType {\n  UNSPECIFIED_FULFILLMENT_TYPE = 'UNSPECIFIED_FULFILLMENT_TYPE',\n  DELIVERY = 'DELIVERY',\n  PICKUP_OR_DINE_IN = 'PICKUP_OR_DINE_IN',\n}\n\n/** @enumType */\nexport type FulfillmentTypeWithLiterals =\n  | FulfillmentType\n  | 'UNSPECIFIED_FULFILLMENT_TYPE'\n  | 'DELIVERY'\n  | 'PICKUP_OR_DINE_IN';\n\nexport enum Platform {\n  UNSPECIFIED_PLATFORM = 'UNSPECIFIED_PLATFORM',\n  SITE = 'SITE',\n  MOBILE_SITE = 'MOBILE_SITE',\n  WIX_APP = 'WIX_APP',\n  CALL_CENTER = 'CALL_CENTER',\n  CHAT_BOT = 'CHAT_BOT',\n}\n\n/** @enumType */\nexport type PlatformWithLiterals =\n  | Platform\n  | 'UNSPECIFIED_PLATFORM'\n  | 'SITE'\n  | 'MOBILE_SITE'\n  | 'WIX_APP'\n  | 'CALL_CENTER'\n  | 'CHAT_BOT';\n\nexport interface Availability {\n  /**\n   * Weekly recurring time periods when the entity is available.\n   * Limited to 100 time periods.\n   */\n  periods?: TimePeriod[];\n  /** Exceptions to the entity's regular availability. The entity can be available or not available during the special hour period. */\n  specialHourPeriods?: SpecialHourPeriod[];\n}\n\n/** Weekly recurring time periods when the entity is available. */\nexport interface TimePeriod {\n  /** Day of the week the period starts on. */\n  openDay?: DayOfWeekWithLiterals;\n  /**\n   * Time the period starts in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are 00:00-24:00, where 24:00 represents\n   * midnight at the end of the specified day.\n   */\n  openTime?: string;\n  /** Day of the week the period ends on. */\n  closeDay?: DayOfWeekWithLiterals;\n  /**\n   * Time the period ends in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are 00:00-24:00, where 24:00 represents\n   * midnight at the end of the specified day.\n   * __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.\n   */\n  closeTime?: string;\n}\n\nexport enum DayOfWeek {\n  UNDEFINED = 'UNDEFINED',\n  SUN = 'SUN',\n  MON = 'MON',\n  TUE = 'TUE',\n  WED = 'WED',\n  THU = 'THU',\n  FRI = 'FRI',\n  SAT = 'SAT',\n}\n\n/** @enumType */\nexport type DayOfWeekWithLiterals =\n  | DayOfWeek\n  | 'UNDEFINED'\n  | 'SUN'\n  | 'MON'\n  | 'TUE'\n  | 'WED'\n  | 'THU'\n  | 'FRI'\n  | 'SAT';\n\n/** Exception to the business's regular hours. The business can be open or closed during the exception. */\nexport interface SpecialHourPeriod {\n  /** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */\n  startDate?: string;\n  /** End date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */\n  endDate?: string;\n  /** Whether the item is available during the exception. Defaults to `true`. */\n  available?: boolean;\n  /** Name of the special hour period. In the dashboard, the special hour period is called event. */\n  eventName?: string | null;\n}\n\nexport interface DishOptions {\n  values?: DishOption[];\n}\n\nexport interface DishOption extends DishOptionMethodOneOf {\n  /** Item of type `DISH` or `VARIATION` that customers can select. For example a dish size. Customers can choose only a single selection per dish. */\n  selection?: Selection;\n  /** Item of type `DISH` or `VARIATION` that customers can add to a dish. For example a topping. Customers can add multiple extras per dish. */\n  extras?: Extras;\n  /** Item of type `DISH` or `VARIATION` that customers can remove from a dish. For example a specific ingredient. Customers can remove multiple deselections per dish. */\n  deselection?: Deselection;\n  /** Dish option name. */\n  name?: string;\n  /** @readonly */\n  type?: TypeWithLiterals;\n}\n\n/** @oneof */\nexport interface DishOptionMethodOneOf {\n  /** Item of type `DISH` or `VARIATION` that customers can select. For example a dish size. Customers can choose only a single selection per dish. */\n  selection?: Selection;\n  /** Item of type `DISH` or `VARIATION` that customers can add to a dish. For example a topping. Customers can add multiple extras per dish. */\n  extras?: Extras;\n  /** Item of type `DISH` or `VARIATION` that customers can remove from a dish. For example a specific ingredient. Customers can remove multiple deselections per dish. */\n  deselection?: Deselection;\n}\n\nexport interface DishOptionItem {\n  /** Item ID of the dish option. */\n  itemId?: string;\n  /** Dish option price. `0` for free choices that are included in the dish's price. */\n  price?: Money;\n}\n\nexport interface Selection {\n  /** Item ID of the default choice. */\n  defaultChoice?: string | null;\n  /** Item IDs of the available choices. */\n  availableChoices?: DishOptionItem[];\n}\n\nexport interface Extras {\n  /** Item IDs of the default choices. */\n  defaultChoices?: string[];\n  /**\n   * Minimum number of extras a customer must choose. Defaults to `0`. Must be lower than or equal to the value of `availableChoices`.\n   * @max 2147483647\n   */\n  minChoices?: number | null;\n  /**\n   * Maximum number of extras a customer can choose. Defaults to the value of `availableChoices`. Must be greater than or equal to the value of `minChoices`.\n   * @max 2147483647\n   */\n  maxChoices?: number | null;\n  /** Item IDs of the available choices. */\n  availableChoices?: DishOptionItem[];\n}\n\nexport interface Deselection {\n  /** Item IDs of the available choices. */\n  availableChoices?: DishOptionItem[];\n}\n\nexport enum Type {\n  UNSPECIFIED_DISH_OPTION_TYPE = 'UNSPECIFIED_DISH_OPTION_TYPE',\n  SELECTION = 'SELECTION',\n  EXTRAS = 'EXTRAS',\n  DESELECTION = 'DESELECTION',\n}\n\n/** @enumType */\nexport type TypeWithLiterals =\n  | Type\n  | 'UNSPECIFIED_DISH_OPTION_TYPE'\n  | 'SELECTION'\n  | 'EXTRAS'\n  | 'DESELECTION';\n\nexport enum ItemType {\n  UNSPECIFIED_ITEM_TYPE = 'UNSPECIFIED_ITEM_TYPE',\n  DISH = 'DISH',\n  VARIATION = 'VARIATION',\n}\n\n/** @enumType */\nexport type ItemTypeWithLiterals =\n  | ItemType\n  | 'UNSPECIFIED_ITEM_TYPE'\n  | 'DISH'\n  | 'VARIATION';\n\n/**\n * Collection of dishes that customers can buy in the restaurant.\n * You can read more about sections in the [introduction](https://dev.wix.com/api/rest/wix-restaurants/catalogs/introduction).\n */\nexport interface Section {\n  /**\n   * Section ID.\n   * @readonly\n   */\n  sectionId?: string | null;\n  /**\n   * ID of the menu the section belongs to.\n   * @readonly\n   */\n  menuId?: string | null;\n  /** Section name. */\n  name?: string | null;\n  /** Section description. */\n  description?: string | null;\n  /** URL of the section's image file. */\n  imageUrl?: string | null;\n  /** IDs of the items that belong to the section. */\n  itemIds?: SectionItemIds;\n  /**\n   * Visibility criteria that must be met for the section to appear in the live site.\n   * In case of multiple visibility criteria, every criterion must be fulfilled.\n   */\n  visibilityCriteria?: VisibilityCriteria;\n  /**\n   * Whether the section is archived. Defaults to `false`. **Note:** Archived sections can't be updated.\n   * @readonly\n   */\n  archived?: boolean | null;\n}\n\n/** Item IDs of the dishes that belong to this section. */\nexport interface SectionItemIds {\n  values?: string[];\n}\n\n/**\n * Collection of sections that show what customers can buy in the restaurant.\n * You can read more about menus in the [introduction](https://dev.wix.com/api/rest/wix-restaurants/catalogs/introduction).\n */\nexport interface Menu {\n  /**\n   * Menu ID.\n   * @readonly\n   */\n  menuId?: string | null;\n  /** Menu name. */\n  name?: string | null;\n  /** Menu description. */\n  description?: string | null;\n  /** URL of the menu's image file. */\n  imageUrl?: string | null;\n  /**\n   * Visibility criteria that must be met for the menu to appear in the live site.\n   * In case of multiple visibility criteria, every criterion must be fulfilled.\n   */\n  visibilityCriteria?: VisibilityCriteria;\n  /** IDs of the sections that are included in the menu. */\n  sectionIds?: MenuSectionIds;\n  /**\n   * Whether the menu is archived. Defaults to `false`. **Note:** Archived menus can't be updated.\n   * @readonly\n   */\n  archived?: boolean | null;\n}\n\nexport interface MenuSectionIds {\n  values?: string[];\n}\n\n/**\n * Customers can use a discount to pay less. Can be an amount or a percentage.\n * You can read more about discounts in the [introduction](https://dev.wix.com/api/rest/wix-restaurants/catalogs/introduction).\n */\nexport interface Discount\n  extends DiscountValueOneOf,\n    DiscountApplyToFilterOneOf {\n  /** Discount amount. */\n  amount?: Money;\n  /**\n   * Discount percentage.\n   * @decimalValue options { maxScale:3 }\n   */\n  percentage?: string | null;\n  /** IDs of the sections the discount applies to. */\n  sectionIds?: SectionIds;\n  /** IDs of the items the discount applies to. **Note:** The items must be of type `dish`. */\n  itemIds?: ItemIds;\n  /**\n   * Discount ID.\n   * @readonly\n   */\n  id?: string | null;\n  /** Discount name. */\n  name?: string | null;\n  /** Discount description. */\n  description?: string | null;\n  /** Whether the discount is active. Defaults to `true`. */\n  active?: boolean | null;\n  /** Discount type. */\n  type?: DiscountTypeWithLiterals;\n  /**\n   * Discount condition.\n   * All conditions must be met so that a customer can apply the discount.\n   */\n  condition?: DiscountCondition;\n}\n\n/** @oneof */\nexport interface DiscountValueOneOf {\n  /** Discount amount. */\n  amount?: Money;\n  /**\n   * Discount percentage.\n   * @decimalValue options { maxScale:3 }\n   */\n  percentage?: string | null;\n}\n\n/** @oneof */\nexport interface DiscountApplyToFilterOneOf {\n  /** IDs of the sections the discount applies to. */\n  sectionIds?: SectionIds;\n  /** IDs of the items the discount applies to. **Note:** The items must be of type `dish`. */\n  itemIds?: ItemIds;\n}\n\nexport enum DiscountType {\n  UNSPECIFIED_TYPE = 'UNSPECIFIED_TYPE',\n  OFF_ITEM = 'OFF_ITEM',\n  OFF_ORDER = 'OFF_ORDER',\n}\n\n/** @enumType */\nexport type DiscountTypeWithLiterals =\n  | DiscountType\n  | 'UNSPECIFIED_TYPE'\n  | 'OFF_ITEM'\n  | 'OFF_ORDER';\n\nexport interface SectionIds {\n  values?: string[];\n}\n\nexport interface ItemIds {\n  values?: string[];\n}\n\nexport interface DiscountCondition {\n  /**\n   * Which fulfillment types the discount applies to.\n   * @minSize 1\n   * @maxSize 2\n   */\n  fulfillmentTypes?: FulfillmentTypeWithLiterals[];\n  /**\n   * Which ordering platforms the discount applies to.\n   * @minSize 1\n   * @maxSize 3\n   */\n  platforms?: DiscountPlatformWithLiterals[];\n  /** List of times when the discount is available. */\n  availability?: Availability;\n  /** Minimum order price for the discount. */\n  minOrderPrice?: Money;\n  /**\n   * Coupon associated with the discount.\n   * @readonly\n   */\n  coupon?: Coupon;\n}\n\nexport enum DiscountPlatform {\n  UNSPECIFIED_PLATFORM = 'UNSPECIFIED_PLATFORM',\n  SITE = 'SITE',\n  MOBILE_SITE = 'MOBILE_SITE',\n  CALL_CENTER = 'CALL_CENTER',\n}\n\n/** @enumType */\nexport type DiscountPlatformWithLiterals =\n  | DiscountPlatform\n  | 'UNSPECIFIED_PLATFORM'\n  | 'SITE'\n  | 'MOBILE_SITE'\n  | 'CALL_CENTER';\n\nexport interface Coupon {\n  /**\n   * Whether the customer needs to enter the coupon code to receive the discount. Defaults to `true`.\n   * @readonly\n   */\n  applied?: boolean | null;\n  /**\n   * Coupon code.\n   * @readonly\n   */\n  code?: string | null;\n}\n\nexport interface PublishCatalogUpdated {\n  /** @format GUID */\n  metaSiteId?: string;\n  /** @format GUID */\n  locationId?: string | null;\n  /** @format GUID */\n  catalogId?: string | null;\n  archived?: boolean;\n}\n\nexport interface IndexCacheCmd {\n  /** @format GUID */\n  catalogId?: string;\n  orgId?: string;\n  orgLocale?: string;\n  /** @format GUID */\n  metaSiteId?: string | null;\n}\n\nexport interface CatalogChanged {\n  /** Changed Catalog. */\n  catalog?: Catalog;\n}\n\nexport interface ListCatalogsRequest {\n  /** Sort order. Defaults to `ASC`. */\n  sort?: Sorting;\n  /** Paging information. `offset` defaults to `0` and `limit` defaults to `50`. The maximum for limit is `1,000`. */\n  paging?: Paging;\n  /** Whether archived catalogs are returned. Defaults to `false`. */\n  archived?: boolean;\n  /**\n   * IDs of the locations for which the catalog will be returned. See the [Locations API](https://dev.wix.com/api/rest/business-info/locations/introduction) for more details.\n   * @format GUID\n   */\n  locationIds?: string[];\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 Paging {\n  /** Number of items to load. */\n  limit?: number | null;\n  /** Number of items to skip in the current sort order. */\n  offset?: number | null;\n}\n\nexport interface ListCatalogsResponse {\n  /** Retrieved catalogs. */\n  catalogs?: Catalog[];\n}\n\nexport interface GetMenuRequest {\n  /**\n   * ID of the catalog the menu belongs to.\n   * @format GUID\n   */\n  catalogId: string;\n  /** Menu ID. */\n  menuId: string;\n}\n\nexport interface GetMenuResponse {\n  /** Retrieved menu. */\n  menu?: Menu;\n}\n\nexport interface GetSectionRequest {\n  /**\n   * ID of the catalog the section belongs to.\n   * @format GUID\n   */\n  catalogId: string;\n  /** ID of the menu the catalog belongs to. */\n  menuId: string;\n  /** Section ID. */\n  sectionId: string;\n}\n\nexport interface GetSectionResponse {\n  /** Retrieved section. */\n  section?: Section;\n}\n\nexport interface UpdateMenuRequest {\n  /**\n   * ID of the catalog the menu belongs to.\n   * @format GUID\n   */\n  catalogId: string;\n  /** Menu to update. */\n  menu?: Menu;\n}\n\nexport interface UpdateMenuResponse {\n  /** Updated Menu. */\n  menu?: Menu;\n}\n\nexport interface V3UpdateSectionRequest {\n  /**\n   * ID of the catalog the section belongs to.\n   * @format GUID\n   */\n  catalogId: string;\n  /** Menu ID. */\n  menuId: string;\n  /** Section to update. */\n  section?: Section;\n}\n\nexport interface UpdateSectionResponse {\n  /** Updated section. */\n  section?: Section;\n}\n\nexport interface ListMenusRequest {\n  /**\n   * ID of the catalog the menus belong to.\n   * @format GUID\n   */\n  catalogId: string;\n  /** Field mask path. */\n  fieldMask?: string[];\n  /** Whether archived menus are returned. Defaults to `false`. */\n  archived?: boolean;\n}\n\nexport interface ListMenusResponse {\n  /** Retrieved menus. */\n  menus?: Menu[];\n}\n\nexport interface ListSectionsRequest {\n  /**\n   * ID of the catalog the sections belong to.\n   * @format GUID\n   */\n  catalogId: string;\n  /** Field mask path. */\n  fieldMask?: string[];\n  /** Whether archived sections are returned. Defaults to `false`. */\n  archived?: boolean;\n}\n\nexport interface ListSectionsResponse {\n  /** Sections list. */\n  sections?: Section[];\n}\n\nexport interface CreateMenuRequest {\n  /**\n   * ID of the catalog the menu will belong to.\n   * @format GUID\n   */\n  catalogId: string;\n  /** Menu to create. */\n  menu: Menu;\n}\n\nexport interface CreateMenuResponse {\n  /** Created Menu. */\n  menu?: Menu;\n}\n\nexport interface ArchiveMenuRequest {\n  /**\n   * ID of the catalog the menu belongs to.\n   * @format GUID\n   */\n  catalogId: string;\n  /** Menu ID. */\n  menuId: string;\n}\n\nexport interface ArchiveMenuResponse {\n  /** Archived menu. */\n  menu?: Menu;\n}\n\nexport interface UnarchiveMenuRequest {\n  /**\n   * ID of the catalog the menu belongs to.\n   * @format GUID\n   */\n  catalogId: string;\n  /** Menu ID. */\n  menuId: string;\n}\n\nexport interface UnarchiveMenuResponse {\n  /** Unarchived menu. */\n  menu?: Menu;\n}\n\nexport interface ArchiveSectionRequest {\n  /**\n   * ID of the catalog the menu belongs to.\n   * @format GUID\n   */\n  catalogId?: string;\n  /** Menu ID. */\n  menuId?: string;\n  /** Section ID. */\n  sectionId?: string;\n}\n\nexport interface ArchiveSectionResponse {\n  /** Archived section. */\n  section?: Section;\n}\n\nexport interface RemoveDishFromSectionRequest {\n  /**\n   * ID of the catalog the menu belongs to.\n   * @format GUID\n   */\n  catalogId?: string;\n  /** Menu ID. */\n  menuId?: string;\n  /** Section ID. */\n  sectionId?: string;\n  /** Item ID. */\n  itemId?: string;\n}\n\nexport interface RemoveDishFromSectionResponse {}\n\nexport interface V3CreateSectionRequest {\n  /**\n   * ID of the catalog the section will belong to.\n   * @format GUID\n   */\n  catalogId: string;\n  /** ID of the menu the section will belong to. */\n  menuId: string;\n  /** Section to create. */\n  section: Section;\n}\n\nexport interface CreateSectionResponse {\n  /** Created section. */\n  section?: Section;\n}\n\nexport interface GetItemRequest {\n  /**\n   * ID of the catalog the item belongs to.\n   * @format GUID\n   */\n  catalogId: string;\n  /** Item ID. */\n  itemId: string;\n  /** Whether `visibilityCriteria` is returned. Defaults to `false`. */\n  includeVisibilityCriteria?: boolean;\n}\n\nexport interface GetItemResponse {\n  /** Retrieved item. */\n  item?: Item;\n}\n\nexport interface ListItemsRequest {\n  /** Field mask path. */\n  fieldMask?: string[];\n  /**\n   * ID of the catalog the items belong to.\n   * @format GUID\n   */\n  catalogId: string;\n  /** Whether archived items are returned. Defaults to `false`. */\n  archived?: boolean;\n}\n\nexport interface ListItemsResponse {\n  /** Retrieved items. */\n  items?: Item[];\n}\n\nexport interface UpdateItemRequest {\n  /**\n   * ID of the catalog the item belongs to.\n   * @format GUID\n   */\n  catalogId: string;\n  /** Item to update. */\n  item?: Item;\n}\n\nexport interface UpdateItemResponse {\n  /** Updated Item. */\n  item?: Item;\n}\n\nexport interface V3CreateDishRequest {\n  /**\n   * ID of the catalog the dish will belong to.\n   * @format GUID\n   */\n  catalogId: string;\n  /** ID of the menu the dish will belong to. */\n  menuId: string;\n  /** ID of the section the dish will belong to. */\n  sectionId: string;\n  /** Item of type `dish` to create. */\n  dish: Item;\n}\n\nexport interface CreateDishResponse {\n  /** Created Dish. */\n  dish?: Item;\n}\n\nexport interface CreateVariationRequest {\n  /**\n   * ID of the catalog the variation will belong to.\n   * @format GUID\n   */\n  catalogId: string;\n  /** Variation name. */\n  name: string;\n}\n\nexport interface CreateVariationResponse {\n  /** Created Variation. */\n  variation?: Item;\n}\n\nexport interface BulkCreateVariationsRequest {\n  /** ID of the catalog the variations will belong to. */\n  catalogId: string;\n  /**\n   * Variations to create. Limited to 20 variations.\n   * @minSize 1\n   * @maxSize 20\n   */\n  variations?: NewVariation[];\n  /** Whether the full variation entity is returned. Defaults to `true`. */\n  returnFullEntity?: boolean;\n}\n\nexport interface NewVariation {\n  /**\n   * Variation name.\n   * @minLength 1\n   */\n  name?: string;\n}\n\nexport interface BulkCreateVariationsResponse {\n  /** Information about the created variations. */\n  results?: BulkItemResult[];\n  /** Bulk Create Variations metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkItemResult {\n  /** Metadata of the item. */\n  entityMetadata?: ItemMetadata;\n  /** Item. */\n  entity?: Item;\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 BulkArchiveMenusRequest {\n  /** ID of the catalog the menus belong to. */\n  catalogId: string;\n  /**\n   * IDs of the menus to archive.\n   * @minSize 1\n   * @maxSize 20\n   */\n  ids?: string[];\n  /** Whether the full menu entity is returned. Defaults to `true`. */\n  returnFullEntity?: boolean;\n}\n\nexport interface BulkArchiveMenusResponse {\n  /** Information about the archived menus. */\n  results?: BulkMenuResult[];\n  /** Bulk Archive Menus metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkMenuResult {\n  /** Menu metadata. */\n  entityMetadata?: ItemMetadata;\n  /** Menu. */\n  entity?: Menu;\n}\n\nexport interface MenuUpdated {\n  /** @format GUID */\n  metaSiteId?: string;\n  organizationId?: string;\n  /** @format GUID */\n  locationId?: string | null;\n}\n\nexport interface Empty {}\n\nexport interface BulkCreateDishesRequest {\n  /** ID of the catalog the dishes will belong to. */\n  catalogId: string;\n  /**\n   * Information about the dishes to create. Limited to 20 dishes.\n   * @minSize 1\n   * @maxSize 20\n   */\n  createDishRequests?: CreateDishRequest[];\n  /** Whether the full item entity is returned. Defaults to `true`. */\n  returnFullEntity?: boolean;\n}\n\nexport interface CreateDishRequest {\n  /** ID of the menu the dish will belong to. */\n  menuId?: string;\n  /** ID of the section the dish will belong to. */\n  sectionId?: string;\n  /** Dish to create. */\n  dish?: Item;\n}\n\nexport interface BulkCreateDishesResponse {\n  /** Information about the created dishes. */\n  results?: BulkItemResult[];\n  /** Bulk Create Dishes metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkCreateSectionsRequest {\n  /** ID of the catalog the sections will belong to. */\n  catalogId: string;\n  /**\n   * Information about the sections to create. Limited to 20 sections.\n   * @minSize 1\n   * @maxSize 20\n   */\n  createSectionRequests?: CreateSectionRequest[];\n  /** Whether the full section entity is returned. Defaults to `true`. */\n  returnFullEntity?: boolean;\n}\n\nexport interface CreateSectionRequest {\n  /** ID of the menu the section will belong to. */\n  menuId?: string;\n  /** Section to create. */\n  section?: Section;\n}\n\nexport interface BulkCreateSectionsResponse {\n  /** Information about the created sections. */\n  results?: BulkSectionResult[];\n  /** Bulk Create Sections metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkSectionResult {\n  /** Section metadata. */\n  entityMetadata?: ItemMetadata;\n  /** Section. */\n  entity?: Section;\n}\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  entityAsJson?: string;\n  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n  restoreInfo?: RestoreInfo;\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  currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n  /** Entity that was deleted. */\n  deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n  bodyAsJson?: string;\n}\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 CreateDraftCatalogRequest {\n  /**\n   * ID of the catalog to create a draft version for.\n   * @format GUID\n   */\n  catalogId: string;\n}\n\nexport interface CreateDraftCatalogResponse {\n  /** Created draft catalog. */\n  catalog?: Catalog;\n}\n\nexport interface PublishDraftCatalogRequest {\n  /**\n   * ID of the draft catalog to publish.\n   * @format GUID\n   */\n  catalogId: string;\n}\n\nexport interface PublishDraftCatalogResponse {\n  /** Published catalog. */\n  catalog?: Catalog;\n}\n\nexport interface DiscardDraftCatalogRequest {\n  /**\n   * ID of the draft catalog to discard.\n   * @format GUID\n   */\n  catalogId: string;\n}\n\nexport interface DiscardDraftCatalogResponse {}\n\nexport interface BulkUpdateItemsRequest {\n  /** ID of the catalog the items belong to. */\n  catalogId: string;\n  /**\n   * Items to update. Limited to 20 items.\n   * @minSize 1\n   * @maxSize 20\n   */\n  items?: Item[];\n  /** Whether the full item entity is returned. Defaults to `true`. */\n  returnFullEntity?: boolean;\n}\n\nexport interface BulkUpdateItemsResponse {\n  /** Information about the updated items. */\n  results?: BulkItemResult[];\n  /** Bulk Update Items metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkCreateMenusRequest {\n  /** ID of the catalog the menus will belong to. */\n  catalogId: string;\n  /**\n   * Information about the menus to create. Limited to 20 menus.\n   * @minSize 1\n   * @maxSize 20\n   */\n  menus?: Menu[];\n  /** Whether the full menu entity is returned. Defaults to `true`. */\n  returnFullEntity?: boolean;\n}\n\nexport interface BulkCreateMenusResponse {\n  /** Information about the created menus. */\n  results?: BulkMenuResult[];\n  /** Bulk Create Menus metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateMenusRequest {\n  /** ID of the catalog the menus belong to. */\n  catalogId: string;\n  /**\n   * Menus to update.\n   * @minSize 1\n   * @maxSize 20\n   */\n  menus?: Menu[];\n  /** Whether the full menu entity is returned. Defaults to `true`. */\n  returnFullEntity?: boolean;\n}\n\nexport interface BulkUpdateMenusResponse {\n  /** Information about the updated menus. */\n  results?: BulkMenuResult[];\n  /** Bulk Update Menus metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateSectionsRequest {\n  /** ID of the catalog the sections belong to. */\n  catalogId: string;\n  /**\n   * Information about the sections to update. Limited to 20 sections.\n   * @minSize 1\n   * @maxSize 20\n   */\n  updateSectionsRequests?: UpdateSectionRequest[];\n  /** Whether the full section entity is returned. Defaults to `true`. */\n  returnFullEntity?: boolean;\n}\n\nexport interface UpdateSectionRequest {\n  /** ID of the menu the section will belong to. */\n  menuId?: string;\n  /** Section to update. */\n  section?: Section;\n}\n\nexport interface BulkUpdateSectionsResponse {\n  /** Information about the updated sections. */\n  results?: BulkSectionResult[];\n  /** Bulk Update Sections metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUnarchiveMenusRequest {\n  /** ID of the catalog the menus belong to. */\n  catalogId: string;\n  /**\n   * IDs of the menus to unarchive.\n   * @minSize 1\n   * @maxSize 20\n   */\n  ids?: string[];\n  /** Whether the full menu entity is returned. Defaults to `true`. */\n  returnFullEntity?: boolean;\n}\n\nexport interface BulkUnarchiveMenusResponse {\n  /** Information about the unarchived menus. */\n  results?: BulkMenuResult[];\n  /** Bulk Unarchive Menus metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n","import * as ambassadorWixRestaurantsCatalogsV3Catalog from './restaurants-catalogs-v3-catalog-catalogs.http.js';\nimport * as ambassadorWixRestaurantsCatalogsV3CatalogTypes from './restaurants-catalogs-v3-catalog-catalogs.types.js';\nimport * as ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes from './restaurants-catalogs-v3-catalog-catalogs.universal.js';\n\nexport type __PublicMethodMetaInfo<\n  K = string,\n  M = unknown,\n  T = unknown,\n  S = unknown,\n  Q = unknown,\n  R = unknown\n> = {\n  getUrl: (context: any) => string;\n  httpMethod: K;\n  path: string;\n  pathParams: M;\n  __requestType: T;\n  __originalRequestType: S;\n  __responseType: Q;\n  __originalResponseType: R;\n};\n\nexport function listCatalogs(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.ListCatalogsRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.ListCatalogsRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.ListCatalogsResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.ListCatalogsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.listCatalogs(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v3/catalogs',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function getMenu(): __PublicMethodMetaInfo<\n  'GET',\n  { catalogId: string; menuId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.GetMenuRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.GetMenuRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.GetMenuResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.GetMenuResponse\n> {\n  const payload = { catalogId: ':catalogId', menuId: ':menuId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.getMenu(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v3/catalogs/{catalogId}/menus/{menuId}',\n    pathParams: { catalogId: 'catalogId', menuId: 'menuId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function getSection(): __PublicMethodMetaInfo<\n  'GET',\n  { catalogId: string; menuId: string; sectionId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.GetSectionRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.GetSectionRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.GetSectionResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.GetSectionResponse\n> {\n  const payload = {\n    catalogId: ':catalogId',\n    menuId: ':menuId',\n    sectionId: ':sectionId',\n  } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.getSection(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v3/catalogs/{catalogId}/menus/{menuId}/sections/{sectionId}',\n    pathParams: {\n      catalogId: 'catalogId',\n      menuId: 'menuId',\n      sectionId: 'sectionId',\n    },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function updateMenu(): __PublicMethodMetaInfo<\n  'PATCH',\n  { catalogId: string; menuId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.UpdateMenuRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.UpdateMenuRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.UpdateMenuResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.UpdateMenuResponse\n> {\n  const payload = { catalogId: ':catalogId', menu: { id: ':menuId' } } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.updateMenu(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'PATCH',\n    path: '/v3/catalogs/{catalogId}/menus/{menu.id}',\n    pathParams: { catalogId: 'catalogId', menuId: 'menuId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function updateSection(): __PublicMethodMetaInfo<\n  'PATCH',\n  { catalogId: string; menuId: string; sectionId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.V3UpdateSectionRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.V3UpdateSectionRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.UpdateSectionResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.UpdateSectionResponse\n> {\n  const payload = {\n    catalogId: ':catalogId',\n    menuId: ':menuId',\n    section: { id: ':sectionId' },\n  } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.updateSection(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'PATCH',\n    path: '/v3/catalogs/{catalogId}/menus/{menuId}/sections/{section.id}',\n    pathParams: {\n      catalogId: 'catalogId',\n      menuId: 'menuId',\n      sectionId: 'sectionId',\n    },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function listMenus(): __PublicMethodMetaInfo<\n  'GET',\n  { catalogId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.ListMenusRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.ListMenusRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.ListMenusResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.ListMenusResponse\n> {\n  const payload = { catalogId: ':catalogId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.listMenus(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v3/catalogs/{catalogId}/menus',\n    pathParams: { catalogId: 'catalogId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function listSections(): __PublicMethodMetaInfo<\n  'GET',\n  { catalogId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.ListSectionsRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.ListSectionsRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.ListSectionsResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.ListSectionsResponse\n> {\n  const payload = { catalogId: ':catalogId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.listSections(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v3/catalogs/{catalogId}/sections',\n    pathParams: { catalogId: 'catalogId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function createMenu(): __PublicMethodMetaInfo<\n  'POST',\n  { catalogId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.CreateMenuRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.CreateMenuRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.CreateMenuResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.CreateMenuResponse\n> {\n  const payload = { catalogId: ':catalogId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.createMenu(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/catalogs/{catalogId}/menus',\n    pathParams: { catalogId: 'catalogId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function archiveMenu(): __PublicMethodMetaInfo<\n  'POST',\n  { catalogId: string; menuId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.ArchiveMenuRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.ArchiveMenuRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.ArchiveMenuResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.ArchiveMenuResponse\n> {\n  const payload = { catalogId: ':catalogId', menuId: ':menuId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.archiveMenu(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/catalogs/{catalogId}/menus/{menuId}/archive',\n    pathParams: { catalogId: 'catalogId', menuId: 'menuId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function unarchiveMenu(): __PublicMethodMetaInfo<\n  'POST',\n  { catalogId: string; menuId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.UnarchiveMenuRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.UnarchiveMenuRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.UnarchiveMenuResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.UnarchiveMenuResponse\n> {\n  const payload = { catalogId: ':catalogId', menuId: ':menuId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.unarchiveMenu(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/catalogs/{catalogId}/menus/{menuId}/unarchive',\n    pathParams: { catalogId: 'catalogId', menuId: 'menuId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function createSection(): __PublicMethodMetaInfo<\n  'POST',\n  { catalogId: string; menuId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.V3CreateSectionRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.V3CreateSectionRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.CreateSectionResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.CreateSectionResponse\n> {\n  const payload = { catalogId: ':catalogId', menuId: ':menuId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.createSection(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/catalogs/{catalogId}/menus/{menuId}/sections',\n    pathParams: { catalogId: 'catalogId', menuId: 'menuId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function getItem(): __PublicMethodMetaInfo<\n  'GET',\n  { catalogId: string; itemId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.GetItemRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.GetItemRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.GetItemResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.GetItemResponse\n> {\n  const payload = { catalogId: ':catalogId', itemId: ':itemId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.getItem(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v3/catalogs/{catalogId}/items/{itemId}',\n    pathParams: { catalogId: 'catalogId', itemId: 'itemId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function listItems(): __PublicMethodMetaInfo<\n  'GET',\n  { catalogId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.ListItemsRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.ListItemsRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.ListItemsResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.ListItemsResponse\n> {\n  const payload = { catalogId: ':catalogId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.listItems(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v3/catalogs/{catalogId}/items',\n    pathParams: { catalogId: 'catalogId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function updateItem(): __PublicMethodMetaInfo<\n  'PATCH',\n  { catalogId: string; itemId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.UpdateItemRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.UpdateItemRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.UpdateItemResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.UpdateItemResponse\n> {\n  const payload = { catalogId: ':catalogId', item: { id: ':itemId' } } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.updateItem(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'PATCH',\n    path: '/v3/catalogs/{catalogId}/items/{item.id}',\n    pathParams: { catalogId: 'catalogId', itemId: 'itemId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function createDish(): __PublicMethodMetaInfo<\n  'POST',\n  { catalogId: string; menuId: string; sectionId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.V3CreateDishRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.V3CreateDishRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.CreateDishResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.CreateDishResponse\n> {\n  const payload = {\n    catalogId: ':catalogId',\n    menuId: ':menuId',\n    sectionId: ':sectionId',\n  } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.createDish(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/catalogs/{catalogId}/menus/{menuId}/sections/{sectionId}/items',\n    pathParams: {\n      catalogId: 'catalogId',\n      menuId: 'menuId',\n      sectionId: 'sectionId',\n    },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function createVariation(): __PublicMethodMetaInfo<\n  'POST',\n  { catalogId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.CreateVariationRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.CreateVariationRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.CreateVariationResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.CreateVariationResponse\n> {\n  const payload = { catalogId: ':catalogId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.createVariation(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/catalogs/{catalogId}/variations',\n    pathParams: { catalogId: 'catalogId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function createDraftCatalog(): __PublicMethodMetaInfo<\n  'POST',\n  { catalogId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.CreateDraftCatalogRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.CreateDraftCatalogRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.CreateDraftCatalogResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.CreateDraftCatalogResponse\n> {\n  const payload = { catalogId: ':catalogId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.createDraftCatalog(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/draft-catalogs/{catalogId}/create',\n    pathParams: { catalogId: 'catalogId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function publishDraftCatalog(): __PublicMethodMetaInfo<\n  'POST',\n  { catalogId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.PublishDraftCatalogRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.PublishDraftCatalogRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.PublishDraftCatalogResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.PublishDraftCatalogResponse\n> {\n  const payload = { catalogId: ':catalogId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.publishDraftCatalog(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/draft-catalogs/{catalogId}/publish',\n    pathParams: { catalogId: 'catalogId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function discardDraftCatalog(): __PublicMethodMetaInfo<\n  'DELETE',\n  { catalogId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.DiscardDraftCatalogRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.DiscardDraftCatalogRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.DiscardDraftCatalogResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.DiscardDraftCatalogResponse\n> {\n  const payload = { catalogId: ':catalogId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.discardDraftCatalog(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'DELETE',\n    path: '/v3/draft-catalogs/{catalogId}/discard',\n    pathParams: { catalogId: 'catalogId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function bulkCreateVariations(): __PublicMethodMetaInfo<\n  'POST',\n  { catalogId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.BulkCreateVariationsRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.BulkCreateVariationsRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.BulkCreateVariationsResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.BulkCreateVariationsResponse\n> {\n  const payload = { catalogId: ':catalogId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.bulkCreateVariations(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/draft-catalogs/{catalogId}/bulk/variations/create',\n    pathParams: { catalogId: 'catalogId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function bulkUpdateItems(): __PublicMethodMetaInfo<\n  'POST',\n  { catalogId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.BulkUpdateItemsRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.BulkUpdateItemsRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.BulkUpdateItemsResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.BulkUpdateItemsResponse\n> {\n  const payload = { catalogId: ':catalogId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.bulkUpdateItems(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/draft-catalogs/{catalogId}/bulk/items/update',\n    pathParams: { catalogId: 'catalogId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function bulkCreateDishes(): __PublicMethodMetaInfo<\n  'POST',\n  { catalogId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.BulkCreateDishesRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.BulkCreateDishesRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.BulkCreateDishesResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.BulkCreateDishesResponse\n> {\n  const payload = { catalogId: ':catalogId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.bulkCreateDishes(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/draft-catalogs/{catalogId}/bulk/dishes/create',\n    pathParams: { catalogId: 'catalogId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function bulkCreateMenus(): __PublicMethodMetaInfo<\n  'POST',\n  { catalogId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.BulkCreateMenusRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.BulkCreateMenusRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.BulkCreateMenusResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.BulkCreateMenusResponse\n> {\n  const payload = { catalogId: ':catalogId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.bulkCreateMenus(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/draft-catalogs/{catalogId}/bulk/menus/create',\n    pathParams: { catalogId: 'catalogId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function bulkUpdateMenus(): __PublicMethodMetaInfo<\n  'POST',\n  { catalogId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.BulkUpdateMenusRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.BulkUpdateMenusRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.BulkUpdateMenusResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.BulkUpdateMenusResponse\n> {\n  const payload = { catalogId: ':catalogId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.bulkUpdateMenus(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/draft-catalogs/{catalogId}/bulk/menus/update',\n    pathParams: { catalogId: 'catalogId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function bulkCreateSections(): __PublicMethodMetaInfo<\n  'POST',\n  { catalogId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.BulkCreateSectionsRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.BulkCreateSectionsRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.BulkCreateSectionsResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.BulkCreateSectionsResponse\n> {\n  const payload = { catalogId: ':catalogId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.bulkCreateSections(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/draft-catalogs/{catalogId}/bulk/sections/create',\n    pathParams: { catalogId: 'catalogId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function bulkUpdateSections(): __PublicMethodMetaInfo<\n  'POST',\n  { catalogId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.BulkUpdateSectionsRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.BulkUpdateSectionsRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.BulkUpdateSectionsResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.BulkUpdateSectionsResponse\n> {\n  const payload = { catalogId: ':catalogId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.bulkUpdateSections(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/draft-catalogs/{catalogId}/bulk/sections/update',\n    pathParams: { catalogId: 'catalogId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function bulkArchiveMenus(): __PublicMethodMetaInfo<\n  'POST',\n  { catalogId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.BulkArchiveMenusRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.BulkArchiveMenusRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.BulkArchiveMenusResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.BulkArchiveMenusResponse\n> {\n  const payload = { catalogId: ':catalogId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.bulkArchiveMenus(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/draft-catalogs/{catalogId}/bulk/menus/archive',\n    pathParams: { catalogId: 'catalogId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function bulkUnarchiveMenus(): __PublicMethodMetaInfo<\n  'POST',\n  { catalogId: string },\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.BulkUnarchiveMenusRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.BulkUnarchiveMenusRequest,\n  ambassadorWixRestaurantsCatalogsV3CatalogUniversalTypes.BulkUnarchiveMenusResponse,\n  ambassadorWixRestaurantsCatalogsV3CatalogTypes.BulkUnarchiveMenusResponse\n> {\n  const payload = { catalogId: ':catalogId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsCatalogsV3Catalog.bulkUnarchiveMenus(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/draft-catalogs/{catalogId}/bulk/menus/unarchive',\n    pathParams: { catalogId: 'catalogId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport {\n  Catalog as CatalogOriginal,\n  InvalidateCache as InvalidateCacheOriginal,\n  InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal,\n  App as AppOriginal,\n  Page as PageOriginal,\n  URI as URIOriginal,\n  File as FileOriginal,\n  CustomTag as CustomTagOriginal,\n  Pages as PagesOriginal,\n  URIs as URIsOriginal,\n  CatalogUpdated as CatalogUpdatedOriginal,\n  Item as ItemOriginal,\n  Money as MoneyOriginal,\n  Labels as LabelsOriginal,\n  VisibilityCriteria as VisibilityCriteriaOriginal,\n  FulfillmentType as FulfillmentTypeOriginal,\n  FulfillmentTypeWithLiterals as FulfillmentTypeWithLiteralsOriginal,\n  Platform as PlatformOriginal,\n  PlatformWithLiterals as PlatformWithLiteralsOriginal,\n  Availability as AvailabilityOriginal,\n  TimePeriod as TimePeriodOriginal,\n  DayOfWeek as DayOfWeekOriginal,\n  DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal,\n  SpecialHourPeriod as SpecialHourPeriodOriginal,\n  DishOptions as DishOptionsOriginal,\n  DishOption as DishOptionOriginal,\n  DishOptionMethodOneOf as DishOptionMethodOneOfOriginal,\n  DishOptionItem as DishOptionItemOriginal,\n  Selection as SelectionOriginal,\n  Extras as ExtrasOriginal,\n  Deselection as DeselectionOriginal,\n  Type as TypeOriginal,\n  TypeWithLiterals as TypeWithLiteralsOriginal,\n  ItemType as ItemTypeOriginal,\n  ItemTypeWithLiterals as ItemTypeWithLiteralsOriginal,\n  Section as SectionOriginal,\n  SectionItemIds as SectionItemIdsOriginal,\n  Menu as MenuOriginal,\n  MenuSectionIds as MenuSectionIdsOriginal,\n  Discount as DiscountOriginal,\n  DiscountValueOneOf as DiscountValueOneOfOriginal,\n  DiscountApplyToFilterOneOf as DiscountApplyToFilterOneOfOriginal,\n  DiscountType as DiscountTypeOriginal,\n  DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal,\n  SectionIds as SectionIdsOriginal,\n  ItemIds as ItemIdsOriginal,\n  DiscountCondition as DiscountConditionOriginal,\n  DiscountPlatform as DiscountPlatformOriginal,\n  DiscountPlatformWithLiterals as DiscountPlatformWithLiteralsOriginal,\n  Coupon as CouponOriginal,\n  PublishCatalogUpdated as PublishCatalogUpdatedOriginal,\n  IndexCacheCmd as IndexCacheCmdOriginal,\n  CatalogChanged as CatalogChangedOriginal,\n  ListCatalogsRequest as ListCatalogsRequestOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  Paging as PagingOriginal,\n  ListCatalogsResponse as ListCatalogsResponseOriginal,\n  GetMenuRequest as GetMenuRequestOriginal,\n  GetMenuResponse as GetMenuResponseOriginal,\n  GetSectionRequest as GetSectionRequestOriginal,\n  GetSectionResponse as GetSectionResponseOriginal,\n  UpdateMenuRequest as UpdateMenuRequestOriginal,\n  UpdateMenuResponse as UpdateMenuResponseOriginal,\n  V3UpdateSectionRequest as V3UpdateSectionRequestOriginal,\n  UpdateSectionResponse as UpdateSectionResponseOriginal,\n  ListMenusRequest as ListMenusRequestOriginal,\n  ListMenusResponse as ListMenusResponseOriginal,\n  ListSectionsRequest as ListSectionsRequestOriginal,\n  ListSectionsResponse as ListSectionsResponseOriginal,\n  CreateMenuRequest as CreateMenuRequestOriginal,\n  CreateMenuResponse as CreateMenuResponseOriginal,\n  ArchiveMenuRequest as ArchiveMenuRequestOriginal,\n  ArchiveMenuResponse as ArchiveMenuResponseOriginal,\n  UnarchiveMenuRequest as UnarchiveMenuRequestOriginal,\n  UnarchiveMenuResponse as UnarchiveMenuResponseOriginal,\n  ArchiveSectionRequest as ArchiveSectionRequestOriginal,\n  ArchiveSectionResponse as ArchiveSectionResponseOriginal,\n  RemoveDishFromSectionRequest as RemoveDishFromSectionRequestOriginal,\n  RemoveDishFromSectionResponse as RemoveDishFromSectionResponseOriginal,\n  V3CreateSectionRequest as V3CreateSectionRequestOriginal,\n  CreateSectionResponse as CreateSectionResponseOriginal,\n  GetItemRequest as GetItemRequestOriginal,\n  GetItemResponse as GetItemResponseOriginal,\n  ListItemsRequest as ListItemsRequestOriginal,\n  ListItemsResponse as ListItemsResponseOriginal,\n  UpdateItemRequest as UpdateItemRequestOriginal,\n  UpdateItemResponse as UpdateItemResponseOriginal,\n  V3CreateDishRequest as V3CreateDishRequestOriginal,\n  CreateDishResponse as CreateDishResponseOriginal,\n  CreateVariationRequest as CreateVariationRequestOriginal,\n  CreateVariationResponse as CreateVariationResponseOriginal,\n  BulkCreateVariationsRequest as BulkCreateVariationsRequestOriginal,\n  NewVariation as NewVariationOriginal,\n  BulkCreateVariationsResponse as BulkCreateVariationsResponseOriginal,\n  BulkItemResult as BulkItemResultOriginal,\n  ItemMetadata as ItemMetadataOriginal,\n  ApplicationError as ApplicationErrorOriginal,\n  BulkActionMetadata as BulkActionMetadataOriginal,\n  BulkArchiveMenusRequest as BulkArchiveMenusRequestOriginal,\n  BulkArchiveMenusResponse as BulkArchiveMenusResponseOriginal,\n  BulkMenuResult as BulkMenuResultOriginal,\n  MenuUpdated as MenuUpdatedOriginal,\n  Empty as EmptyOriginal,\n  BulkCreateDishesRequest as BulkCreateDishesRequestOriginal,\n  CreateDishRequest as CreateDishRequestOriginal,\n  BulkCreateDishesResponse as BulkCreateDishesResponseOriginal,\n  BulkCreateSectionsRequest as BulkCreateSectionsRequestOriginal,\n  CreateSectionRequest as CreateSectionRequestOriginal,\n  BulkCreateSectionsResponse as BulkCreateSectionsResponseOriginal,\n  BulkSectionResult as BulkSectionResultOriginal,\n  DomainEvent as DomainEventOriginal,\n  DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n  EntityCreatedEvent as EntityCreatedEventOriginal,\n  RestoreInfo as RestoreInfoOriginal,\n  EntityUpdatedEvent as EntityUpdatedEventOriginal,\n  EntityDeletedEvent as EntityDeletedEventOriginal,\n  ActionEvent as ActionEventOriginal,\n  MessageEnvelope as MessageEnvelopeOriginal,\n  IdentificationData as IdentificationDataOriginal,\n  IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n  WebhookIdentityType as WebhookIdentityTypeOriginal,\n  WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n  AccountInfo as AccountInfoOriginal,\n  CreateDraftCatalogRequest as CreateDraftCatalogRequestOriginal,\n  CreateDraftCatalogResponse as CreateDraftCatalogResponseOriginal,\n  PublishDraftCatalogRequest as PublishDraftCatalogRequestOriginal,\n  PublishDraftCatalogResponse as PublishDraftCatalogResponseOriginal,\n  DiscardDraftCatalogRequest as DiscardDraftCatalogRequestOriginal,\n  DiscardDraftCatalogResponse as DiscardDraftCatalogResponseOriginal,\n  BulkUpdateItemsRequest as BulkUpdateItemsRequestOriginal,\n  BulkUpdateItemsResponse as BulkUpdateItemsResponseOriginal,\n  BulkCreateMenusRequest as BulkCreateMenusRequestOriginal,\n  BulkCreateMenusResponse as BulkCreateMenusResponseOriginal,\n  BulkUpdateMenusRequest as BulkUpdateMenusRequestOriginal,\n  BulkUpdateMenusResponse as BulkUpdateMenusResponseOriginal,\n  BulkUpdateSectionsRequest as BulkUpdateSectionsRequestOriginal,\n  UpdateSectionRequest as UpdateSectionRequestOriginal,\n  BulkUpdateSectionsResponse as BulkUpdateSectionsResponseOriginal,\n  BulkUnarchiveMenusRequest as BulkUnarchiveMenusRequestOriginal,\n  BulkUnarchiveMenusResponse as BulkUnarchiveMenusResponseOriginal,\n} from './restaurants-catalogs-v3-catalog-catalogs.types.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C,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,sBAOd;AACA,QAAM,UAAU,EAAE,WAAW,aAAa;AAE1C,QAAM,oBACsC,mBAAmB,OAAO;AAEtE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,WAAW,YAAY;AAAA,IACrC,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","FulfillmentType","Platform","DayOfWeek","Type","ItemType","DiscountType","DiscountPlatform","SortOrder","WebhookIdentityType","listCatalogs","getMenu","getSection","updateMenu","updateSection","listMenus","listSections","createMenu","archiveMenu","unarchiveMenu","createSection","getItem","listItems","updateItem","createDish","createVariation","createDraftCatalog","publishDraftCatalog","discardDraftCatalog","bulkCreateVariations","bulkUpdateItems","bulkCreateDishes","bulkCreateMenus","bulkUpdateMenus","bulkCreateSections","bulkUpdateSections","bulkArchiveMenus","bulkUnarchiveMenus"]}