@wix/auto_sdk_restaurants_menus 1.0.84 → 1.0.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -816,6 +816,29 @@ interface DeleteMenuRequest {
816
816
  }
817
817
  interface DeleteMenuResponse {
818
818
  }
819
+ interface RestoreMenusFromTrashRequest {
820
+ /**
821
+ * Menu IDs to restore from the trash bin.
822
+ * @format GUID
823
+ * @minSize 1
824
+ * @maxSize 100
825
+ */
826
+ menuIds?: string[];
827
+ }
828
+ interface RestoreMenusFromTrashResponse {
829
+ /**
830
+ * Menu IDs that were successfully restored.
831
+ * @format GUID
832
+ * @maxSize 100
833
+ */
834
+ restoredMenuIds?: string[];
835
+ /**
836
+ * Menu IDs that failed to restore.
837
+ * @format GUID
838
+ * @maxSize 100
839
+ */
840
+ failedMenuIds?: string[];
841
+ }
819
842
  interface RunMenusMultiLocationMigrationRequest {
820
843
  /**
821
844
  * business location id
@@ -891,4 +914,4 @@ declare function deleteMenu(): __PublicMethodMetaInfo<'DELETE', {
891
914
  menuId: string;
892
915
  }, DeleteMenuRequest$1, DeleteMenuRequest, DeleteMenuResponse$1, DeleteMenuResponse>;
893
916
 
894
- export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, type App as AppOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateMenuResult as BulkCreateMenuResultOriginal, type BulkCreateMenusRequest as BulkCreateMenusRequestOriginal, type BulkCreateMenusResponse as BulkCreateMenusResponseOriginal, type BulkMenuResult as BulkMenuResultOriginal, type BulkUpdateMenuRequest as BulkUpdateMenuRequestOriginal, type BulkUpdateMenuResponse as BulkUpdateMenuResponseOriginal, type BusinessLocationDetails as BusinessLocationDetailsOriginal, type CloneMenusRequest as CloneMenusRequestOriginal, type CloneMenusResponse as CloneMenusResponseOriginal, type CreateMenuRequest as CreateMenuRequestOriginal, type CreateMenuResponse as CreateMenuResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomTag as CustomTagOriginal, type DeleteMenuRequest as DeleteMenuRequestOriginal, type DeleteMenuResponse as DeleteMenuResponseOriginal, type DeleteOrphanSections as DeleteOrphanSectionsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DuplicateMenuRequest as DuplicateMenuRequestOriginal, type DuplicateMenuResponse as DuplicateMenuResponseOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalReferenceInfo as ExternalReferenceInfoOriginal, type File as FileOriginal, type GetMenuRequest as GetMenuRequestOriginal, type GetMenuResponse as GetMenuResponseOriginal, type GetMenuSiteUrlRequest as GetMenuSiteUrlRequestOriginal, type GetMenuSiteUrlResponse as GetMenuSiteUrlResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal, type InvalidateCache as InvalidateCacheOriginal, type ItemMetadata as ItemMetadataOriginal, type Keyword as KeywordOriginal, type ListMenusRequest as ListMenusRequestOriginal, type ListMenusResponse as ListMenusResponseOriginal, type MaskedMenu as MaskedMenuOriginal, type Menu as MenuOriginal, type MenuSiteUrl as MenuSiteUrlOriginal, type MenusDataCloningCompleted as MenusDataCloningCompletedOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Page as PageOriginal, type Pages as PagesOriginal, type QueryMenusRequest as QueryMenusRequestOriginal, type QueryMenusResponse as QueryMenusResponseOriginal, type QueryMenusSiteUrlRequest as QueryMenusSiteUrlRequestOriginal, type QueryMenusSiteUrlResponse as QueryMenusSiteUrlResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RunMenusMultiLocationMigrationRequest as RunMenusMultiLocationMigrationRequestOriginal, type RunMenusMultiLocationMigrationResponse as RunMenusMultiLocationMigrationResponseOriginal, type SeoSchema as SeoSchemaOriginal, type Settings as SettingsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SyncContentToMultilingualRequest as SyncContentToMultilingualRequestOriginal, type SyncContentToMultilingualResponse as SyncContentToMultilingualResponseOriginal, type Tag as TagOriginal, type URI as URIOriginal, type URIs as URIsOriginal, type UpdateBusinessLocationIdRequest as UpdateBusinessLocationIdRequestOriginal, type UpdateBusinessLocationIdResponse as UpdateBusinessLocationIdResponseOriginal, type UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal, type UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal, type UpdateMenuRequest as UpdateMenuRequestOriginal, type UpdateMenuResponse as UpdateMenuResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCreateMenus, bulkUpdateMenu, createMenu, deleteMenu, duplicateMenu, getMenu, getMenuSiteUrl, listMenus, queryMenus, queryMenusSiteUrl, updateExtendedFields, updateMenu };
917
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, type App as AppOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateMenuResult as BulkCreateMenuResultOriginal, type BulkCreateMenusRequest as BulkCreateMenusRequestOriginal, type BulkCreateMenusResponse as BulkCreateMenusResponseOriginal, type BulkMenuResult as BulkMenuResultOriginal, type BulkUpdateMenuRequest as BulkUpdateMenuRequestOriginal, type BulkUpdateMenuResponse as BulkUpdateMenuResponseOriginal, type BusinessLocationDetails as BusinessLocationDetailsOriginal, type CloneMenusRequest as CloneMenusRequestOriginal, type CloneMenusResponse as CloneMenusResponseOriginal, type CreateMenuRequest as CreateMenuRequestOriginal, type CreateMenuResponse as CreateMenuResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomTag as CustomTagOriginal, type DeleteMenuRequest as DeleteMenuRequestOriginal, type DeleteMenuResponse as DeleteMenuResponseOriginal, type DeleteOrphanSections as DeleteOrphanSectionsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DuplicateMenuRequest as DuplicateMenuRequestOriginal, type DuplicateMenuResponse as DuplicateMenuResponseOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalReferenceInfo as ExternalReferenceInfoOriginal, type File as FileOriginal, type GetMenuRequest as GetMenuRequestOriginal, type GetMenuResponse as GetMenuResponseOriginal, type GetMenuSiteUrlRequest as GetMenuSiteUrlRequestOriginal, type GetMenuSiteUrlResponse as GetMenuSiteUrlResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal, type InvalidateCache as InvalidateCacheOriginal, type ItemMetadata as ItemMetadataOriginal, type Keyword as KeywordOriginal, type ListMenusRequest as ListMenusRequestOriginal, type ListMenusResponse as ListMenusResponseOriginal, type MaskedMenu as MaskedMenuOriginal, type Menu as MenuOriginal, type MenuSiteUrl as MenuSiteUrlOriginal, type MenusDataCloningCompleted as MenusDataCloningCompletedOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Page as PageOriginal, type Pages as PagesOriginal, type QueryMenusRequest as QueryMenusRequestOriginal, type QueryMenusResponse as QueryMenusResponseOriginal, type QueryMenusSiteUrlRequest as QueryMenusSiteUrlRequestOriginal, type QueryMenusSiteUrlResponse as QueryMenusSiteUrlResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RestoreMenusFromTrashRequest as RestoreMenusFromTrashRequestOriginal, type RestoreMenusFromTrashResponse as RestoreMenusFromTrashResponseOriginal, type RunMenusMultiLocationMigrationRequest as RunMenusMultiLocationMigrationRequestOriginal, type RunMenusMultiLocationMigrationResponse as RunMenusMultiLocationMigrationResponseOriginal, type SeoSchema as SeoSchemaOriginal, type Settings as SettingsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SyncContentToMultilingualRequest as SyncContentToMultilingualRequestOriginal, type SyncContentToMultilingualResponse as SyncContentToMultilingualResponseOriginal, type Tag as TagOriginal, type URI as URIOriginal, type URIs as URIsOriginal, type UpdateBusinessLocationIdRequest as UpdateBusinessLocationIdRequestOriginal, type UpdateBusinessLocationIdResponse as UpdateBusinessLocationIdResponseOriginal, type UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal, type UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal, type UpdateMenuRequest as UpdateMenuRequestOriginal, type UpdateMenuResponse as UpdateMenuResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCreateMenus, bulkUpdateMenu, createMenu, deleteMenu, duplicateMenu, getMenu, getMenuSiteUrl, listMenus, queryMenus, queryMenusSiteUrl, updateExtendedFields, updateMenu };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/restaurants-menus-v1-menu-menus.http.ts","../../src/restaurants-menus-v1-menu-menus.types.ts","../../src/restaurants-menus-v1-menu-menus.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nconst TRANSFORM_PATHS_0 = [\n { path: 'query.sort.origin.latitude' },\n { path: 'query.sort.origin.longitude' },\n];\nconst TRANSFORM_PATHS_1 = [\n { path: 'menu.createdDate' },\n { path: 'menu.updatedDate' },\n { path: 'menu.externalReferenceInfo.lastSyncDate' },\n];\nconst TRANSFORM_PATHS_2 = [\n { path: 'menus.createdDate' },\n { path: 'menus.updatedDate' },\n { path: 'menus.externalReferenceInfo.lastSyncDate' },\n];\nconst TRANSFORM_PATHS_3 = [\n { path: 'results.menu.createdDate' },\n { path: 'results.menu.updatedDate' },\n { path: 'results.menu.externalReferenceInfo.lastSyncDate' },\n];\nconst TRANSFORM_PATHS_4 = [{ path: 'mask' }];\nconst TRANSFORM_PATHS_5 = [{ path: 'menus.mask' }];\nconst TRANSFORM_PATHS_6 = [\n { path: 'menus.menu.createdDate' },\n { path: 'menus.menu.updatedDate' },\n { path: 'menus.menu.externalReferenceInfo.lastSyncDate' },\n];\n\nfunction resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/menus',\n destPath: '/v1/menus',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/menus',\n destPath: '/v1/bulk/menus',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/menus',\n destPath: '/v1/menus',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/menus',\n destPath: '/v1/bulk/menus',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/restaurants/menus-menu',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/menus',\n destPath: '/v1/bulk/menus',\n },\n {\n srcPath: '/restaurants/menus/v1/menus',\n destPath: '/v1/menus',\n },\n ],\n 'apps._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaurantsMenusSiteUrlUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/menus',\n destPath: '/v1/menus',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/menus',\n destPath: '/v1/bulk/menus',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/menus',\n destPath: '/v1/menus',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/menus',\n destPath: '/v1/bulk/menus',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/restaurants/menus-menu',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/menus',\n destPath: '/v1/bulk/menus',\n },\n {\n srcPath: '/restaurants/menus/v1/menus',\n destPath: '/v1/menus',\n },\n ],\n 'apps._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveComWixpressRestaurantsMenusMenuV1RestaurantsDuplicateMenuRestaurantsDuplicateMenuUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/menus',\n destPath: '/v1/menus',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/menus',\n destPath: '/v1/bulk/menus',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/menus',\n destPath: '/v1/menus',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/menus',\n destPath: '/v1/bulk/menus',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/restaurants/menus-menu',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/menus',\n destPath: '/v1/bulk/menus',\n },\n {\n srcPath: '/restaurants/menus/v1/menus',\n destPath: '/v1/menus',\n },\n ],\n 'apps._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_restaurants_menus';\n\nexport function duplicateMenu(payload: object): RequestOptionsFactory<any> {\n function __duplicateMenu({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.restaurants_duplicate_menu.RestaurantsDuplicateMenu.DuplicateMenu',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsDuplicateMenuRestaurantsDuplicateMenuUrl(\n { protoPath: '/v1/menus/{id}/duplicate', data: payload, host }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __duplicateMenu;\n}\n\n/** Get menu details and path URL by menu ID. */\nexport function getMenuSiteUrl(payload: object): RequestOptionsFactory<any> {\n function __getMenuSiteUrl({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.restaurants_menus_site_url.RestaurantsMenusSiteUrl.GetMenuSiteUrl',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaurantsMenusSiteUrlUrl(\n { protoPath: '/v1/menus-site-url/menus/{id}', data: payload, host }\n ),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getMenuSiteUrl;\n}\n\n/** Query menu details and path URL */\nexport function queryMenusSiteUrl(payload: object): RequestOptionsFactory<any> {\n function __queryMenusSiteUrl({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: TRANSFORM_PATHS_0,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.restaurants_menus_site_url.RestaurantsMenusSiteUrl.QueryMenusSiteUrl',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaurantsMenusSiteUrlUrl(\n {\n protoPath: '/v1/menus-site-url/menus/query',\n data: serializedData,\n host,\n }\n ),\n data: serializedData,\n };\n\n return metadata;\n }\n\n return __queryMenusSiteUrl;\n}\n\n/**\n * > **Note:** The Menus API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Creates a menu.\n *\n * To create multiple menus at once, use [Bulk Create Menus](https://dev.wix.com/docs/rest/business-solutions/restaurants/menus/menu/bulk-create-menus).\n */\nexport function createMenu(payload: object): RequestOptionsFactory<any> {\n function __createMenu({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_1,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.CreateMenu',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n protoPath: '/v1/menus',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createMenu;\n}\n\n/**\n * > **Note:** The Menu API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Creates multiple menus at once.\n */\nexport function bulkCreateMenus(payload: object): RequestOptionsFactory<any> {\n function __bulkCreateMenus({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_2,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.BulkCreateMenus',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n protoPath: '/v1/bulk/menus/create',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_3,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateMenus;\n}\n\n/**\n * > **Note:** The Menu API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Retrieves a menu by ID.\n */\nexport function getMenu(payload: object): RequestOptionsFactory<any> {\n function __getMenu({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.GetMenu',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n protoPath: '/v1/menus/{menuId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getMenu;\n}\n\n/**\n * > **Note:** The Menu API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Retrieves a list of up to 500 menus.\n */\nexport function listMenus(payload: object): RequestOptionsFactory<any> {\n function __listMenus({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.ListMenus',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n protoPath: '/v1/menus',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_2,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listMenus;\n}\n\n/**\n * Creates a query to retrieve a list of menus.\n *\n * The `queryMenus()` function builds a query to retrieve a list of menus and returns a `MenusQueryBuilder` object.\n *\n * The returned object contains the query definition, which is used to run the query using the [`find()`](/menus/menus-query-builder/find) function.\n *\n * You can refine the query by chaining `MenusQueryBuilder` functions onto the query. `MenusQueryBuilder` functions enable you to filter, sort, and control the results that `queryMenus()` returns.\n *\n * `queryMenus()` runs with the following `MenusQueryBuilder` defaults, which you can override:\n *\n * * [`limit(100)`](/menus/menus-query-builder/limit)\n *\n * The following `MenusQueryBuilder` functions are supported for `queryMenus()`. For a full description of the menu object, see the object returned for the [`items`](/menus/menus-query-result/items) property in `MenusQueryResult`.\n */\nexport function queryMenus(payload: object): RequestOptionsFactory<any> {\n function __queryMenus({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: TRANSFORM_PATHS_0,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.QueryMenus',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n protoPath: '/v1/menus/query',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_2,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryMenus;\n}\n\n/**\n * > **Note:** The Menu API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Updates a menu.\n *\n * To update multiple menus at once, use [Bulk Update Menu](https://dev.wix.com/docs/rest/business-solutions/restaurants/menus/menu/bulk-update-menu).\n *\n * Each time a menu is updated, its revision increments by 1. The existing revision must be included when updating a menu. This ensures you're working with the latest menu information, and it prevents unintended overwrites.\n */\nexport function updateMenu(payload: object): RequestOptionsFactory<any> {\n function __updateMenu({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: TRANSFORM_PATHS_4,\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_1,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.UpdateMenu',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n protoPath: '/v1/menus/{menu.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateMenu;\n}\n\n/**\n * > **Note:** The Menu API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Updates multiple menus at once.\n *\n * Each time a menu is updated, its revision increments by 1. The existing revision must be included when updating the menu. This ensures you're working with the latest menu information, and it prevents unintended overwrites.\n */\nexport function bulkUpdateMenu(payload: object): RequestOptionsFactory<any> {\n function __bulkUpdateMenu({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: TRANSFORM_PATHS_5,\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_6,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.BulkUpdateMenu',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n protoPath: '/v1/bulk/menus/update',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_3,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateMenu;\n}\n\n/**\n * > **Note:** The Menu API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Updates only the `extendedFields` field.\n */\nexport function updateExtendedFields(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateExtendedFields({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.UpdateExtendedFields',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n protoPath: '/v1/menus/{id}/updateExtendedFields',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __updateExtendedFields;\n}\n\n/**\n * > **Note:** The Menu API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Deletes a menu.\n */\nexport function deleteMenu(payload: object): RequestOptionsFactory<any> {\n function __deleteMenu({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.DeleteMenu',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n protoPath: '/v1/menus/{menuId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteMenu;\n}\n","export interface Menu {\n /**\n * Menu ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Revision number, which increments by 1 each time the menu is updated. To prevent conflicting changes, the current revision must be passed when updating the menu. Ignored when creating a menu.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the menu was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the menu was updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Menu name.\n * @minLength 1\n * @maxLength 500\n */\n name?: string;\n /**\n * Menu description.\n * @maxLength 1500\n */\n description?: string | null;\n /** Whether the menu visible to site visitors. */\n visible?: boolean | null;\n /**\n * Menu section IDs.\n * @format GUID\n * @maxSize 100\n */\n sectionIds?: string[];\n /** Extended fields. */\n extendedFields?: ExtendedFields;\n /**\n * Part of the site URL, that redirects to the menu. For example, in the URL `www.mywebsite.com/our-menus/dinner-menu`, `dinner-menu` is the field value.\n * @maxLength 500\n */\n urlQueryParam?: string | null;\n /** Custom SEO data for the menu. */\n seoData?: SeoSchema;\n /**\n * Information about the business location where this menu is available. This information is taken from the `Location` object ([SDK](https://dev.wix.com/docs/sdk/backend-modules/restaurants/wix-restaurants-new/about-business-locations) | [REST](https://dev.wix.com/docs/rest/business-solutions/restaurants/wix-restaurants-new/about-business-locations)) corresponding with this menu's `businessLocationId`.\n * @internal\n * @readonly\n */\n businessLocationDetails?: BusinessLocationDetails;\n /**\n * ID of the business location ([SDK](https://dev.wix.com/docs/sdk/backend-modules/restaurants/wix-restaurants-new/about-business-locations) | [REST](https://dev.wix.com/docs/rest/business-solutions/restaurants/wix-restaurants-new/about-business-locations)) where this menu is available.\n * @format GUID\n * @immutable\n * @readonly\n */\n businessLocationId?: string | null;\n /**\n * @internal\n * @readonly\n * @maxLength 150\n */\n oloMigrationMenuId?: string | null;\n /**\n * References to an external app and resource associated with this object. Used for integration and tracking across different platforms.\n * @internal\n */\n externalReferenceInfo?: ExternalReferenceInfo;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\n/**\n * The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.\n * The search engines use this information for ranking purposes, or to display snippets in the search results.\n * This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.\n */\nexport interface SeoSchema {\n /** SEO tag information. */\n tags?: Tag[];\n /** SEO general settings. */\n settings?: Settings;\n}\n\nexport interface Keyword {\n /** Keyword value. */\n term?: string;\n /** Whether the keyword is the main focus keyword. */\n isMain?: boolean;\n /**\n * The source that added the keyword terms to the SEO settings.\n * @maxLength 1000\n */\n origin?: string | null;\n}\n\nexport interface Tag {\n /**\n * SEO tag type.\n *\n *\n * Supported values: `title`, `meta`, `script`, `link`.\n *\n * Which of these an API actually accepts depends on where the tag is being set: this\n * list is not a blanket guarantee across every API that reuses this message. Site SEO\n * Tags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\n * `title`/`script`/`link` with a validation error even though they appear here —\n * check the field description of the specific `tags`-typed field you're writing to\n * for the types it actually supports and the error it returns.\n *\n * Limitation: `title` and `script` (e.g. a `script` tag with `props.type`\n * `\"application/ld+json\"` carrying structured data) are supported only when\n * `custom` is unset or `false`. Setting `custom: true` on a `title` or `script`\n * tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the\n * write through the site's Advanced/Custom Tags list. To write structured data,\n * omit `custom` (or set it to `false`).\n */\n type?: string;\n /**\n * A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\n * For example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.\n */\n props?: Record<string, any> | null;\n /** SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`. */\n meta?: Record<string, any> | null;\n /** SEO tag inner content. For example, `<title> inner content </title>`. */\n children?: string;\n /**\n * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\n * i.e. an entry from the site's Advanced/Custom Tags list.\n *\n * Setting this to `true` on a write restricts which `type` values are accepted\n * — the same restriction the Advanced/Custom Tags UI enforces. `title` and\n * `script` tags (including JSON-LD structured data) must be sent with `custom`\n * omitted or `false`; sending them with `custom: true` is rejected with\n * `TAG_TYPE_NOT_ALLOWED`.\n *\n * Note this is a separate restriction from Site SEO Tags' own type restriction on\n * `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\n * for site-wide structured data) unconditionally. There is currently no way to set\n * site-wide, every-page structured data through any of these APIs — write a per-page\n * `script` tag through the Item SEO Tags API instead.\n *\n * This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\n * (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\n * default/pattern — standard tags always resolve with `custom: false`, even when their content comes\n * from a page's manually saved SEO title/description override. Don't use this field to verify whether\n * a live page reflects a manual per-page SEO edit.\n *\n * Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\n * only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\n * or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\n * response entirely — there, `false` means this API could not tell, not that no custom tag exists.\n * Pass `seoData` explicitly to resolve against a known set of tags.\n */\n custom?: boolean;\n /** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */\n disabled?: boolean;\n}\n\nexport interface Settings {\n /**\n * Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\n *\n *\n * Default: `false` (automatical redirect is enabled).\n */\n preventAutoRedirect?: boolean;\n /**\n * User-selected keyword terms for a specific page.\n * @maxSize 5\n */\n keywords?: Keyword[];\n}\n\nexport interface BusinessLocationDetails {\n /**\n * Location name.\n * @maxLength 150\n * @readonly\n */\n name?: string | null;\n /**\n * Whether the location is archived.\n *\n * Archived locations are hidden and ignored on restaurants site pages, and marked as archived in the dashboard.\n * @readonly\n */\n archived?: boolean | null;\n /**\n * Whether this location is the default location for the business.\n * @readonly\n */\n default?: boolean | null;\n}\n\nexport interface ExternalReferenceInfo {\n /**\n * ID of the external integrator app\\system associated with this object.\n * @format GUID\n */\n externalAppId?: string | null;\n /**\n * Reference to an external resource ID. Used to link this object to a specific entity in an external system.\n * @maxLength 100\n */\n externalEntityId?: string | null;\n /** Last time this menu was synced with the external app. */\n lastSyncDate?: Date | null;\n /** Whether the connection to the external system is currently active. */\n connected?: boolean | null;\n}\n\nexport interface DuplicateMenuRequest {\n /**\n * Menu id to be duplicated.\n * @format GUID\n */\n id: string;\n /**\n * Business location ids to duplicate the menu to.\n * @format GUID\n * @maxSize 100\n */\n businessLocationIds?: string[] | null;\n /** Indicates whether sub-entities (such as items) should be duplicated as well. */\n duplicateSubEntities?: boolean | null;\n /**\n * The new name of the duplicated menu.\n * @maxLength 500\n */\n menuName?: string | null;\n}\n\nexport interface DuplicateMenuResponse {\n /** @format GUID */\n menuIds?: string[];\n}\n\nexport interface 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 /**\n * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity\n * @internal\n */\n triggeredByUndelete?: boolean | null;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\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 * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard\n * wont populate it / have any reference to it in the API.\n * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,\n * the developer should send only the new (current) entity.\n * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big\n * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.\n * @internal\n * @deprecated\n */\n previousEntityAsJson?: string | null;\n /**\n * Map of fully qualified field paths to their previous values for fields that changed.\n * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)\n * @internal\n */\n modifiedFields?: Record<string, any>;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface EntityDeletedEvent {\n /**\n * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled\n * @internal\n */\n movedToTrash?: boolean | null;\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: 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 GetMenuSiteUrlRequest {\n /**\n * Menu ID.\n * @format GUID\n * @readonly\n */\n id: string | null;\n}\n\nexport interface GetMenuSiteUrlResponse {\n /** Retrieved menuInfo with path url. */\n menuSiteUrl?: MenuSiteUrl;\n}\n\nexport interface MenuSiteUrl {\n /**\n * Path URL.\n * @minLength 1\n * @maxLength 1000\n */\n path?: string;\n}\n\nexport interface QueryMenusSiteUrlRequest {\n /** Query options */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n /**\n * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by\n * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.\n *\n * If multiple filters are provided, they are combined with AND operator.\n *\n * Example:\n * Given we have document like {\"id\": \"1\", \"nestedField\": [{\"price\": 10, \"region\": \"EU\"}, {\"price\": 20, \"region\": \"US\"}]}\n * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be\n * { fieldName: \"nestedField.price\", \"select_items_by\": [{\"nestedField.region\": \"US\"}] }\n * @internal\n * @maxSize 10\n */\n selectItemsBy?: Record<string, any>[] | null;\n /**\n * Origin point for geo-distance sorting on a GEO field\n * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).\n */\n origin?: AddressLocation;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface AddressLocation {\n /** Address latitude. */\n latitude?: number | null;\n /** Address longitude. */\n longitude?: number | null;\n}\n\nexport interface CursorPaging {\n /**\n * Number of items to load.\n * @max 500\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * You can get the relevant cursor token\n * from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n */\n cursor?: string | null;\n}\n\nexport interface QueryMenusSiteUrlResponse {\n /** Retrieved menuInfos with path urls. */\n menuSiteUrls?: MenuSiteUrl[];\n /** The metadata of the paginated results. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Offset that was requested. */\n cursors?: Cursors;\n /**\n * Indicates if there are more results after the current page.\n * If `true`, another page of results can be retrieved.\n * If `false`, this is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /** Cursor pointing to next page in the list of results. */\n next?: string | null;\n /** Cursor pointing to previous page in the list of results. */\n prev?: string | null;\n}\n\nexport interface InvalidateCache extends InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /** Invalidate by multiple page ids */\n pages?: Pages;\n /** Invalidate by multiple URI paths */\n uris?: URIs;\n /**\n * tell us why you're invalidating the cache. You don't need to add your app name\n * @maxLength 256\n */\n reason?: string | null;\n /** Is local DS */\n localDc?: boolean;\n hardPurge?: boolean;\n /**\n * Optional caller-provided ID for tracking this invalidation through the system.\n * When set, the corresponding CDN purge completion event will include this ID,\n * allowing you to confirm when the invalidation has fully propagated.\n * Example: generate a UUID, pass it here, and later match it in the CDN purge completion event.\n * @maxLength 256\n */\n correlationId?: string | null;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /** Invalidate by multiple page ids */\n pages?: Pages;\n /** Invalidate by multiple URI paths */\n uris?: URIs;\n}\n\nexport interface App {\n /**\n * The AppDefId\n * @minLength 1\n */\n appDefId?: string;\n /**\n * The instance Id\n * @format GUID\n */\n instanceId?: string;\n}\n\nexport interface Page {\n /**\n * the msid the page is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Page ID\n * @minLength 1\n */\n pageId?: string;\n}\n\nexport interface URI {\n /**\n * the msid the URI is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @minLength 1\n */\n uriPath?: string;\n}\n\nexport interface File {\n /**\n * the msid the file is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by filename (for media files such as PDFs)\n * @minLength 1\n * @maxLength 256\n */\n fileName?: string;\n}\n\nexport interface CustomTag {\n /**\n * the msid the tag is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Tag to invalidate by\n * @minLength 1\n * @maxLength 256\n */\n tag?: string;\n}\n\nexport interface Pages {\n /**\n * the msid the pages are on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by multiple Page IDs in a single message\n * @maxSize 100\n * @minLength 1\n */\n pageIds?: string[];\n}\n\nexport interface URIs {\n /**\n * the msid the URIs are on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI paths to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @maxSize 100\n * @minLength 1\n */\n uriPaths?: string[];\n}\n\nexport interface DeleteOrphanSections {\n /** Menu id */\n menuId?: string;\n}\n\nexport interface MenusDataCloningCompleted {}\n\nexport interface CreateMenuRequest {\n /** Menu details. */\n menu: Menu;\n}\n\nexport interface CreateMenuResponse {\n /** Menu. */\n menu?: Menu;\n}\n\nexport interface BulkCreateMenusRequest {\n /**\n * Menu details.\n * @maxSize 100\n */\n menus: Menu[];\n /** Whether to receive the created menus in the response. */\n returnEntity?: boolean;\n}\n\nexport interface BulkCreateMenusResponse {\n /** Information about the created menus. */\n results?: BulkCreateMenuResult[];\n /** Metadata for the API call. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkCreateMenuResult {\n /** Whether to receive the created menus in the response. */\n menuMetadata?: ItemMetadata;\n /** Created menu. */\n menu?: Menu;\n}\n\nexport interface ItemMetadata {\n /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */\n id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface GetMenuRequest {\n /**\n * Menu ID.\n * @format GUID\n */\n menuId: string;\n}\n\nexport interface GetMenuResponse {\n /** Menu. */\n menu?: Menu;\n}\n\nexport interface ListMenusRequest {\n /**\n * Menu IDs.\n * @format GUID\n * @maxSize 500\n */\n menuIds?: string[];\n /** The metadata of the paginated results. */\n paging?: CursorPaging;\n /** Whether to return only menus that are visible to site visitors. */\n onlyVisible?: boolean | null;\n}\n\nexport interface ListMenusResponse {\n /** Retrieved menus. */\n menus?: Menu[];\n /** The metadata of the paginated results. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface QueryMenusRequest {\n /** Query options. */\n query?: CursorQuery;\n}\n\nexport interface QueryMenusResponse {\n /** Retrieved menus. */\n menus?: Menu[];\n /** The metadata of the paginated results. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface UpdateMenuRequest {\n /** Menu to update. */\n menu: Menu;\n /**\n * Explicit list of fields to update.\n * @internal\n */\n mask?: string[];\n}\n\nexport interface UpdateMenuResponse {\n /** Updated menu. */\n menu?: Menu;\n}\n\nexport interface BulkUpdateMenuRequest {\n /**\n * Menus to update.\n * @minSize 1\n * @maxSize 100\n */\n menus: MaskedMenu[];\n /** Whether to receive the entity in the response. */\n returnEntity?: boolean;\n}\n\nexport interface MaskedMenu {\n /** Menu to updated. */\n menu?: Menu;\n /** Explicit list of fields to update. */\n mask?: string[];\n}\n\nexport interface BulkUpdateMenuResponse {\n /**\n * Results of bulk menu update.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkMenuResult[];\n /** Metadata for the API call. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkMenuResult {\n /** Metadata for menu update. */\n menuMetadata?: ItemMetadata;\n /** Updated menu. Only returned if `returnEntity` is set to `true`. */\n menu?: Menu;\n}\n\nexport interface UpdateExtendedFieldsRequest {\n /** ID of the entity to update. */\n id: string;\n /** Identifier for the app whose extended fields are being updated. */\n namespace: string;\n /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */\n namespaceData: Record<string, any> | null;\n}\n\nexport interface UpdateExtendedFieldsResponse {\n /** Namespace of the app. */\n namespace?: string;\n /** Updated extended fields data. */\n namespaceData?: Record<string, any> | null;\n}\n\nexport interface DeleteMenuRequest {\n /**\n * Menu ID.\n * @format GUID\n */\n menuId: string;\n}\n\nexport interface DeleteMenuResponse {}\n\nexport interface RunMenusMultiLocationMigrationRequest {\n /**\n * business location id\n * @format GUID\n */\n businessLocationId?: string;\n}\n\nexport interface RunMenusMultiLocationMigrationResponse {\n /** Whether menus multi-location migration finished successfully */\n success?: boolean;\n}\n\nexport interface UpdateBusinessLocationIdRequest {\n /** @format GUID */\n menuId?: string;\n /** @format GUID */\n businessLocationId?: string | null;\n}\n\nexport interface UpdateBusinessLocationIdResponse {}\n\nexport interface CloneMenusRequest {\n /**\n * The MetaSiteId to clone from.\n * @format GUID\n */\n metaSiteId?: string;\n}\n\nexport interface CloneMenusResponse {}\n\nexport interface Empty {}\n\nexport interface SyncContentToMultilingualRequest {\n /**\n * MetaSite ID\n * @format GUID\n */\n metaSiteId?: string;\n}\n\nexport interface SyncContentToMultilingualResponse {}\n","import * as ambassadorWixRestaurantsMenusV1Menu from './restaurants-menus-v1-menu-menus.http.js';\nimport * as ambassadorWixRestaurantsMenusV1MenuTypes from './restaurants-menus-v1-menu-menus.types.js';\nimport * as ambassadorWixRestaurantsMenusV1MenuUniversalTypes from './restaurants-menus-v1-menu-menus.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 duplicateMenu(): __PublicMethodMetaInfo<\n 'POST',\n { id: string },\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.DuplicateMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.DuplicateMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.DuplicateMenuResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.DuplicateMenuResponse\n> {\n const payload = { id: ':id' } as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.duplicateMenu(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: '/v1/menus/{id}/duplicate',\n pathParams: { id: 'id' },\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 getMenuSiteUrl(): __PublicMethodMetaInfo<\n 'GET',\n { id: string },\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.GetMenuSiteUrlRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.GetMenuSiteUrlRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.GetMenuSiteUrlResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.GetMenuSiteUrlResponse\n> {\n const payload = { id: ':id' } as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.getMenuSiteUrl(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: '/v1/menus-site-url/menus/{id}',\n pathParams: { id: 'id' },\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 queryMenusSiteUrl(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.QueryMenusSiteUrlRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.QueryMenusSiteUrlRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.QueryMenusSiteUrlResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.QueryMenusSiteUrlResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.queryMenusSiteUrl(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: '/v1/menus-site-url/menus/query',\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 createMenu(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.CreateMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.CreateMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.CreateMenuResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.CreateMenuResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.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: '/v1/menus',\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 bulkCreateMenus(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.BulkCreateMenusRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.BulkCreateMenusRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.BulkCreateMenusResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.BulkCreateMenusResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.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: '/v1/bulk/menus/create',\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 { menuId: string },\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.GetMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.GetMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.GetMenuResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.GetMenuResponse\n> {\n const payload = { menuId: ':menuId' } as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.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: '/v1/menus/{menuId}',\n pathParams: { 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 listMenus(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.ListMenusRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.ListMenusRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.ListMenusResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.ListMenusResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.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: '/v1/menus',\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 queryMenus(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.QueryMenusRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.QueryMenusRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.QueryMenusResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.QueryMenusResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.queryMenus(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: '/v1/menus/query',\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 updateMenu(): __PublicMethodMetaInfo<\n 'PATCH',\n { menuId: string },\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.UpdateMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.UpdateMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.UpdateMenuResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.UpdateMenuResponse\n> {\n const payload = { menu: { id: ':menuId' } } as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.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: '/v1/menus/{menu.id}',\n pathParams: { 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 bulkUpdateMenu(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.BulkUpdateMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.BulkUpdateMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.BulkUpdateMenuResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.BulkUpdateMenuResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.bulkUpdateMenu(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: '/v1/bulk/menus/update',\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 updateExtendedFields(): __PublicMethodMetaInfo<\n 'POST',\n { id: string },\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.UpdateExtendedFieldsRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.UpdateExtendedFieldsRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.UpdateExtendedFieldsResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.UpdateExtendedFieldsResponse\n> {\n const payload = { id: ':id' } as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.updateExtendedFields(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: '/v1/menus/{id}/updateExtendedFields',\n pathParams: { id: 'id' },\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 deleteMenu(): __PublicMethodMetaInfo<\n 'DELETE',\n { menuId: string },\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.DeleteMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.DeleteMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.DeleteMenuResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.DeleteMenuResponse\n> {\n const payload = { menuId: ':menuId' } as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.deleteMenu(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: '/v1/menus/{menuId}',\n pathParams: { 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 {\n Menu as MenuOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n SeoSchema as SeoSchemaOriginal,\n Keyword as KeywordOriginal,\n Tag as TagOriginal,\n Settings as SettingsOriginal,\n BusinessLocationDetails as BusinessLocationDetailsOriginal,\n ExternalReferenceInfo as ExternalReferenceInfoOriginal,\n DuplicateMenuRequest as DuplicateMenuRequestOriginal,\n DuplicateMenuResponse as DuplicateMenuResponseOriginal,\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 GetMenuSiteUrlRequest as GetMenuSiteUrlRequestOriginal,\n GetMenuSiteUrlResponse as GetMenuSiteUrlResponseOriginal,\n MenuSiteUrl as MenuSiteUrlOriginal,\n QueryMenusSiteUrlRequest as QueryMenusSiteUrlRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n AddressLocation as AddressLocationOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryMenusSiteUrlResponse as QueryMenusSiteUrlResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\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 DeleteOrphanSections as DeleteOrphanSectionsOriginal,\n MenusDataCloningCompleted as MenusDataCloningCompletedOriginal,\n CreateMenuRequest as CreateMenuRequestOriginal,\n CreateMenuResponse as CreateMenuResponseOriginal,\n BulkCreateMenusRequest as BulkCreateMenusRequestOriginal,\n BulkCreateMenusResponse as BulkCreateMenusResponseOriginal,\n BulkCreateMenuResult as BulkCreateMenuResultOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n GetMenuRequest as GetMenuRequestOriginal,\n GetMenuResponse as GetMenuResponseOriginal,\n ListMenusRequest as ListMenusRequestOriginal,\n ListMenusResponse as ListMenusResponseOriginal,\n QueryMenusRequest as QueryMenusRequestOriginal,\n QueryMenusResponse as QueryMenusResponseOriginal,\n UpdateMenuRequest as UpdateMenuRequestOriginal,\n UpdateMenuResponse as UpdateMenuResponseOriginal,\n BulkUpdateMenuRequest as BulkUpdateMenuRequestOriginal,\n MaskedMenu as MaskedMenuOriginal,\n BulkUpdateMenuResponse as BulkUpdateMenuResponseOriginal,\n BulkMenuResult as BulkMenuResultOriginal,\n UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal,\n UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal,\n DeleteMenuRequest as DeleteMenuRequestOriginal,\n DeleteMenuResponse as DeleteMenuResponseOriginal,\n RunMenusMultiLocationMigrationRequest as RunMenusMultiLocationMigrationRequestOriginal,\n RunMenusMultiLocationMigrationResponse as RunMenusMultiLocationMigrationResponseOriginal,\n UpdateBusinessLocationIdRequest as UpdateBusinessLocationIdRequestOriginal,\n UpdateBusinessLocationIdResponse as UpdateBusinessLocationIdResponseOriginal,\n CloneMenusRequest as CloneMenusRequestOriginal,\n CloneMenusResponse as CloneMenusResponseOriginal,\n Empty as EmptyOriginal,\n SyncContentToMultilingualRequest as SyncContentToMultilingualRequestOriginal,\n SyncContentToMultilingualResponse as SyncCont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AO;AAE5D,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,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,wBAOd;AACA,QAAM,UAAU,EAAE,IAAI,MAAM;AAE5B,QAAM,oBACgC,qBAAqB,OAAO;AAElE,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,IAAI,KAAK;AAAA,IACvB,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,cAOd;AACA,QAAM,UAAU,EAAE,QAAQ,UAAU;AAEpC,QAAM,oBACgC,WAAW,OAAO;AAExD,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,QAAQ,SAAS;AAAA,IAC/B,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","WebhookIdentityType","SortOrder","duplicateMenu","getMenuSiteUrl","queryMenusSiteUrl","createMenu","bulkCreateMenus","getMenu","listMenus","queryMenus","updateMenu","bulkUpdateMenu","updateExtendedFields","deleteMenu"]}
1
+ {"version":3,"sources":["../../src/restaurants-menus-v1-menu-menus.http.ts","../../src/restaurants-menus-v1-menu-menus.types.ts","../../src/restaurants-menus-v1-menu-menus.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nconst TRANSFORM_PATHS_0 = [\n { path: 'query.sort.origin.latitude' },\n { path: 'query.sort.origin.longitude' },\n];\nconst TRANSFORM_PATHS_1 = [\n { path: 'menu.createdDate' },\n { path: 'menu.updatedDate' },\n { path: 'menu.externalReferenceInfo.lastSyncDate' },\n];\nconst TRANSFORM_PATHS_2 = [\n { path: 'menus.createdDate' },\n { path: 'menus.updatedDate' },\n { path: 'menus.externalReferenceInfo.lastSyncDate' },\n];\nconst TRANSFORM_PATHS_3 = [\n { path: 'results.menu.createdDate' },\n { path: 'results.menu.updatedDate' },\n { path: 'results.menu.externalReferenceInfo.lastSyncDate' },\n];\nconst TRANSFORM_PATHS_4 = [{ path: 'mask' }];\nconst TRANSFORM_PATHS_5 = [{ path: 'menus.mask' }];\nconst TRANSFORM_PATHS_6 = [\n { path: 'menus.menu.createdDate' },\n { path: 'menus.menu.updatedDate' },\n { path: 'menus.menu.externalReferenceInfo.lastSyncDate' },\n];\n\nfunction resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/menus',\n destPath: '/v1/menus',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/menus',\n destPath: '/v1/bulk/menus',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/menus',\n destPath: '/v1/menus',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/menus',\n destPath: '/v1/bulk/menus',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/restaurants/menus-menu',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/menus',\n destPath: '/v1/bulk/menus',\n },\n {\n srcPath: '/restaurants/menus/v1/menus',\n destPath: '/v1/menus',\n },\n ],\n 'apps._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaurantsMenusSiteUrlUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/menus',\n destPath: '/v1/menus',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/menus',\n destPath: '/v1/bulk/menus',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/menus',\n destPath: '/v1/menus',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/menus',\n destPath: '/v1/bulk/menus',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/restaurants/menus-menu',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/menus',\n destPath: '/v1/bulk/menus',\n },\n {\n srcPath: '/restaurants/menus/v1/menus',\n destPath: '/v1/menus',\n },\n ],\n 'apps._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveComWixpressRestaurantsMenusMenuV1RestaurantsDuplicateMenuRestaurantsDuplicateMenuUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/menus',\n destPath: '/v1/menus',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/menus',\n destPath: '/v1/bulk/menus',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/menus',\n destPath: '/v1/menus',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/menus',\n destPath: '/v1/bulk/menus',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/restaurants-menus-menu',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/restaurants/menus-menu',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/menus',\n destPath: '/v1/bulk/menus',\n },\n {\n srcPath: '/restaurants/menus/v1/menus',\n destPath: '/v1/menus',\n },\n ],\n 'apps._base_domain_': [\n {\n srcPath: '/_api/restaurants-menus-menu',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_restaurants_menus';\n\nexport function duplicateMenu(payload: object): RequestOptionsFactory<any> {\n function __duplicateMenu({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.restaurants_duplicate_menu.RestaurantsDuplicateMenu.DuplicateMenu',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsDuplicateMenuRestaurantsDuplicateMenuUrl(\n { protoPath: '/v1/menus/{id}/duplicate', data: payload, host }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __duplicateMenu;\n}\n\n/** Get menu details and path URL by menu ID. */\nexport function getMenuSiteUrl(payload: object): RequestOptionsFactory<any> {\n function __getMenuSiteUrl({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.restaurants_menus_site_url.RestaurantsMenusSiteUrl.GetMenuSiteUrl',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaurantsMenusSiteUrlUrl(\n { protoPath: '/v1/menus-site-url/menus/{id}', data: payload, host }\n ),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getMenuSiteUrl;\n}\n\n/** Query menu details and path URL */\nexport function queryMenusSiteUrl(payload: object): RequestOptionsFactory<any> {\n function __queryMenusSiteUrl({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: TRANSFORM_PATHS_0,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.restaurants_menus_site_url.RestaurantsMenusSiteUrl.QueryMenusSiteUrl',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaurantsMenusSiteUrlUrl(\n {\n protoPath: '/v1/menus-site-url/menus/query',\n data: serializedData,\n host,\n }\n ),\n data: serializedData,\n };\n\n return metadata;\n }\n\n return __queryMenusSiteUrl;\n}\n\n/**\n * > **Note:** The Menus API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Creates a menu.\n *\n * To create multiple menus at once, use [Bulk Create Menus](https://dev.wix.com/docs/rest/business-solutions/restaurants/menus/menu/bulk-create-menus).\n */\nexport function createMenu(payload: object): RequestOptionsFactory<any> {\n function __createMenu({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_1,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.CreateMenu',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n protoPath: '/v1/menus',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createMenu;\n}\n\n/**\n * > **Note:** The Menu API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Creates multiple menus at once.\n */\nexport function bulkCreateMenus(payload: object): RequestOptionsFactory<any> {\n function __bulkCreateMenus({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_2,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.BulkCreateMenus',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n protoPath: '/v1/bulk/menus/create',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_3,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateMenus;\n}\n\n/**\n * > **Note:** The Menu API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Retrieves a menu by ID.\n */\nexport function getMenu(payload: object): RequestOptionsFactory<any> {\n function __getMenu({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.GetMenu',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n protoPath: '/v1/menus/{menuId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getMenu;\n}\n\n/**\n * > **Note:** The Menu API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Retrieves a list of up to 500 menus.\n */\nexport function listMenus(payload: object): RequestOptionsFactory<any> {\n function __listMenus({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.ListMenus',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n protoPath: '/v1/menus',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_2,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listMenus;\n}\n\n/**\n * Creates a query to retrieve a list of menus.\n *\n * The `queryMenus()` function builds a query to retrieve a list of menus and returns a `MenusQueryBuilder` object.\n *\n * The returned object contains the query definition, which is used to run the query using the [`find()`](/menus/menus-query-builder/find) function.\n *\n * You can refine the query by chaining `MenusQueryBuilder` functions onto the query. `MenusQueryBuilder` functions enable you to filter, sort, and control the results that `queryMenus()` returns.\n *\n * `queryMenus()` runs with the following `MenusQueryBuilder` defaults, which you can override:\n *\n * * [`limit(100)`](/menus/menus-query-builder/limit)\n *\n * The following `MenusQueryBuilder` functions are supported for `queryMenus()`. For a full description of the menu object, see the object returned for the [`items`](/menus/menus-query-result/items) property in `MenusQueryResult`.\n */\nexport function queryMenus(payload: object): RequestOptionsFactory<any> {\n function __queryMenus({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: TRANSFORM_PATHS_0,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.QueryMenus',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n protoPath: '/v1/menus/query',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_2,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryMenus;\n}\n\n/**\n * > **Note:** The Menu API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Updates a menu.\n *\n * To update multiple menus at once, use [Bulk Update Menu](https://dev.wix.com/docs/rest/business-solutions/restaurants/menus/menu/bulk-update-menu).\n *\n * Each time a menu is updated, its revision increments by 1. The existing revision must be included when updating a menu. This ensures you're working with the latest menu information, and it prevents unintended overwrites.\n */\nexport function updateMenu(payload: object): RequestOptionsFactory<any> {\n function __updateMenu({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: TRANSFORM_PATHS_4,\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_1,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.UpdateMenu',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n protoPath: '/v1/menus/{menu.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateMenu;\n}\n\n/**\n * > **Note:** The Menu API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Updates multiple menus at once.\n *\n * Each time a menu is updated, its revision increments by 1. The existing revision must be included when updating the menu. This ensures you're working with the latest menu information, and it prevents unintended overwrites.\n */\nexport function bulkUpdateMenu(payload: object): RequestOptionsFactory<any> {\n function __bulkUpdateMenu({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: TRANSFORM_PATHS_5,\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_6,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.BulkUpdateMenu',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n protoPath: '/v1/bulk/menus/update',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_3,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateMenu;\n}\n\n/**\n * > **Note:** The Menu API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Updates only the `extendedFields` field.\n */\nexport function updateExtendedFields(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateExtendedFields({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.UpdateExtendedFields',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n protoPath: '/v1/menus/{id}/updateExtendedFields',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __updateExtendedFields;\n}\n\n/**\n * > **Note:** The Menu API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Deletes a menu.\n */\nexport function deleteMenu(payload: object): RequestOptionsFactory<any> {\n function __deleteMenu({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.menu',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.restaurants.menus_menu.v1.RestaurantsMenusMenu.DeleteMenu',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl({\n protoPath: '/v1/menus/{menuId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteMenu;\n}\n","export interface Menu {\n /**\n * Menu ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Revision number, which increments by 1 each time the menu is updated. To prevent conflicting changes, the current revision must be passed when updating the menu. Ignored when creating a menu.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the menu was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the menu was updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Menu name.\n * @minLength 1\n * @maxLength 500\n */\n name?: string;\n /**\n * Menu description.\n * @maxLength 1500\n */\n description?: string | null;\n /** Whether the menu visible to site visitors. */\n visible?: boolean | null;\n /**\n * Menu section IDs.\n * @format GUID\n * @maxSize 100\n */\n sectionIds?: string[];\n /** Extended fields. */\n extendedFields?: ExtendedFields;\n /**\n * Part of the site URL, that redirects to the menu. For example, in the URL `www.mywebsite.com/our-menus/dinner-menu`, `dinner-menu` is the field value.\n * @maxLength 500\n */\n urlQueryParam?: string | null;\n /** Custom SEO data for the menu. */\n seoData?: SeoSchema;\n /**\n * Information about the business location where this menu is available. This information is taken from the `Location` object ([SDK](https://dev.wix.com/docs/sdk/backend-modules/restaurants/wix-restaurants-new/about-business-locations) | [REST](https://dev.wix.com/docs/rest/business-solutions/restaurants/wix-restaurants-new/about-business-locations)) corresponding with this menu's `businessLocationId`.\n * @internal\n * @readonly\n */\n businessLocationDetails?: BusinessLocationDetails;\n /**\n * ID of the business location ([SDK](https://dev.wix.com/docs/sdk/backend-modules/restaurants/wix-restaurants-new/about-business-locations) | [REST](https://dev.wix.com/docs/rest/business-solutions/restaurants/wix-restaurants-new/about-business-locations)) where this menu is available.\n * @format GUID\n * @immutable\n * @readonly\n */\n businessLocationId?: string | null;\n /**\n * @internal\n * @readonly\n * @maxLength 150\n */\n oloMigrationMenuId?: string | null;\n /**\n * References to an external app and resource associated with this object. Used for integration and tracking across different platforms.\n * @internal\n */\n externalReferenceInfo?: ExternalReferenceInfo;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\n/**\n * The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.\n * The search engines use this information for ranking purposes, or to display snippets in the search results.\n * This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.\n */\nexport interface SeoSchema {\n /** SEO tag information. */\n tags?: Tag[];\n /** SEO general settings. */\n settings?: Settings;\n}\n\nexport interface Keyword {\n /** Keyword value. */\n term?: string;\n /** Whether the keyword is the main focus keyword. */\n isMain?: boolean;\n /**\n * The source that added the keyword terms to the SEO settings.\n * @maxLength 1000\n */\n origin?: string | null;\n}\n\nexport interface Tag {\n /**\n * SEO tag type.\n *\n *\n * Supported values: `title`, `meta`, `script`, `link`.\n *\n * Which of these an API actually accepts depends on where the tag is being set: this\n * list is not a blanket guarantee across every API that reuses this message. Site SEO\n * Tags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\n * `title`/`script`/`link` with a validation error even though they appear here —\n * check the field description of the specific `tags`-typed field you're writing to\n * for the types it actually supports and the error it returns.\n *\n * Limitation: `title` and `script` (e.g. a `script` tag with `props.type`\n * `\"application/ld+json\"` carrying structured data) are supported only when\n * `custom` is unset or `false`. Setting `custom: true` on a `title` or `script`\n * tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the\n * write through the site's Advanced/Custom Tags list. To write structured data,\n * omit `custom` (or set it to `false`).\n */\n type?: string;\n /**\n * A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\n * For example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.\n */\n props?: Record<string, any> | null;\n /** SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`. */\n meta?: Record<string, any> | null;\n /** SEO tag inner content. For example, `<title> inner content </title>`. */\n children?: string;\n /**\n * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\n * i.e. an entry from the site's Advanced/Custom Tags list.\n *\n * Setting this to `true` on a write restricts which `type` values are accepted\n * — the same restriction the Advanced/Custom Tags UI enforces. `title` and\n * `script` tags (including JSON-LD structured data) must be sent with `custom`\n * omitted or `false`; sending them with `custom: true` is rejected with\n * `TAG_TYPE_NOT_ALLOWED`.\n *\n * Note this is a separate restriction from Site SEO Tags' own type restriction on\n * `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\n * for site-wide structured data) unconditionally. There is currently no way to set\n * site-wide, every-page structured data through any of these APIs — write a per-page\n * `script` tag through the Item SEO Tags API instead.\n *\n * This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\n * (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\n * default/pattern — standard tags always resolve with `custom: false`, even when their content comes\n * from a page's manually saved SEO title/description override. Don't use this field to verify whether\n * a live page reflects a manual per-page SEO edit.\n *\n * Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\n * only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\n * or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\n * response entirely — there, `false` means this API could not tell, not that no custom tag exists.\n * Pass `seoData` explicitly to resolve against a known set of tags.\n */\n custom?: boolean;\n /** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */\n disabled?: boolean;\n}\n\nexport interface Settings {\n /**\n * Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.\n *\n *\n * Default: `false` (automatical redirect is enabled).\n */\n preventAutoRedirect?: boolean;\n /**\n * User-selected keyword terms for a specific page.\n * @maxSize 5\n */\n keywords?: Keyword[];\n}\n\nexport interface BusinessLocationDetails {\n /**\n * Location name.\n * @maxLength 150\n * @readonly\n */\n name?: string | null;\n /**\n * Whether the location is archived.\n *\n * Archived locations are hidden and ignored on restaurants site pages, and marked as archived in the dashboard.\n * @readonly\n */\n archived?: boolean | null;\n /**\n * Whether this location is the default location for the business.\n * @readonly\n */\n default?: boolean | null;\n}\n\nexport interface ExternalReferenceInfo {\n /**\n * ID of the external integrator app\\system associated with this object.\n * @format GUID\n */\n externalAppId?: string | null;\n /**\n * Reference to an external resource ID. Used to link this object to a specific entity in an external system.\n * @maxLength 100\n */\n externalEntityId?: string | null;\n /** Last time this menu was synced with the external app. */\n lastSyncDate?: Date | null;\n /** Whether the connection to the external system is currently active. */\n connected?: boolean | null;\n}\n\nexport interface DuplicateMenuRequest {\n /**\n * Menu id to be duplicated.\n * @format GUID\n */\n id: string;\n /**\n * Business location ids to duplicate the menu to.\n * @format GUID\n * @maxSize 100\n */\n businessLocationIds?: string[] | null;\n /** Indicates whether sub-entities (such as items) should be duplicated as well. */\n duplicateSubEntities?: boolean | null;\n /**\n * The new name of the duplicated menu.\n * @maxLength 500\n */\n menuName?: string | null;\n}\n\nexport interface DuplicateMenuResponse {\n /** @format GUID */\n menuIds?: string[];\n}\n\nexport interface 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 /**\n * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity\n * @internal\n */\n triggeredByUndelete?: boolean | null;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\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 * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard\n * wont populate it / have any reference to it in the API.\n * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,\n * the developer should send only the new (current) entity.\n * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big\n * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.\n * @internal\n * @deprecated\n */\n previousEntityAsJson?: string | null;\n /**\n * Map of fully qualified field paths to their previous values for fields that changed.\n * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)\n * @internal\n */\n modifiedFields?: Record<string, any>;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface EntityDeletedEvent {\n /**\n * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled\n * @internal\n */\n movedToTrash?: boolean | null;\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: 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 GetMenuSiteUrlRequest {\n /**\n * Menu ID.\n * @format GUID\n * @readonly\n */\n id: string | null;\n}\n\nexport interface GetMenuSiteUrlResponse {\n /** Retrieved menuInfo with path url. */\n menuSiteUrl?: MenuSiteUrl;\n}\n\nexport interface MenuSiteUrl {\n /**\n * Path URL.\n * @minLength 1\n * @maxLength 1000\n */\n path?: string;\n}\n\nexport interface QueryMenusSiteUrlRequest {\n /** Query options */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n /**\n * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by\n * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.\n *\n * If multiple filters are provided, they are combined with AND operator.\n *\n * Example:\n * Given we have document like {\"id\": \"1\", \"nestedField\": [{\"price\": 10, \"region\": \"EU\"}, {\"price\": 20, \"region\": \"US\"}]}\n * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be\n * { fieldName: \"nestedField.price\", \"select_items_by\": [{\"nestedField.region\": \"US\"}] }\n * @internal\n * @maxSize 10\n */\n selectItemsBy?: Record<string, any>[] | null;\n /**\n * Origin point for geo-distance sorting on a GEO field\n * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).\n */\n origin?: AddressLocation;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface AddressLocation {\n /** Address latitude. */\n latitude?: number | null;\n /** Address longitude. */\n longitude?: number | null;\n}\n\nexport interface CursorPaging {\n /**\n * Number of items to load.\n * @max 500\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * You can get the relevant cursor token\n * from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n */\n cursor?: string | null;\n}\n\nexport interface QueryMenusSiteUrlResponse {\n /** Retrieved menuInfos with path urls. */\n menuSiteUrls?: MenuSiteUrl[];\n /** The metadata of the paginated results. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Offset that was requested. */\n cursors?: Cursors;\n /**\n * Indicates if there are more results after the current page.\n * If `true`, another page of results can be retrieved.\n * If `false`, this is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /** Cursor pointing to next page in the list of results. */\n next?: string | null;\n /** Cursor pointing to previous page in the list of results. */\n prev?: string | null;\n}\n\nexport interface InvalidateCache extends InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /** Invalidate by multiple page ids */\n pages?: Pages;\n /** Invalidate by multiple URI paths */\n uris?: URIs;\n /**\n * tell us why you're invalidating the cache. You don't need to add your app name\n * @maxLength 256\n */\n reason?: string | null;\n /** Is local DS */\n localDc?: boolean;\n hardPurge?: boolean;\n /**\n * Optional caller-provided ID for tracking this invalidation through the system.\n * When set, the corresponding CDN purge completion event will include this ID,\n * allowing you to confirm when the invalidation has fully propagated.\n * Example: generate a UUID, pass it here, and later match it in the CDN purge completion event.\n * @maxLength 256\n */\n correlationId?: string | null;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /** Invalidate by multiple page ids */\n pages?: Pages;\n /** Invalidate by multiple URI paths */\n uris?: URIs;\n}\n\nexport interface App {\n /**\n * The AppDefId\n * @minLength 1\n */\n appDefId?: string;\n /**\n * The instance Id\n * @format GUID\n */\n instanceId?: string;\n}\n\nexport interface Page {\n /**\n * the msid the page is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Page ID\n * @minLength 1\n */\n pageId?: string;\n}\n\nexport interface URI {\n /**\n * the msid the URI is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @minLength 1\n */\n uriPath?: string;\n}\n\nexport interface File {\n /**\n * the msid the file is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by filename (for media files such as PDFs)\n * @minLength 1\n * @maxLength 256\n */\n fileName?: string;\n}\n\nexport interface CustomTag {\n /**\n * the msid the tag is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Tag to invalidate by\n * @minLength 1\n * @maxLength 256\n */\n tag?: string;\n}\n\nexport interface Pages {\n /**\n * the msid the pages are on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by multiple Page IDs in a single message\n * @maxSize 100\n * @minLength 1\n */\n pageIds?: string[];\n}\n\nexport interface URIs {\n /**\n * the msid the URIs are on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI paths to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @maxSize 100\n * @minLength 1\n */\n uriPaths?: string[];\n}\n\nexport interface DeleteOrphanSections {\n /** Menu id */\n menuId?: string;\n}\n\nexport interface MenusDataCloningCompleted {}\n\nexport interface CreateMenuRequest {\n /** Menu details. */\n menu: Menu;\n}\n\nexport interface CreateMenuResponse {\n /** Menu. */\n menu?: Menu;\n}\n\nexport interface BulkCreateMenusRequest {\n /**\n * Menu details.\n * @maxSize 100\n */\n menus: Menu[];\n /** Whether to receive the created menus in the response. */\n returnEntity?: boolean;\n}\n\nexport interface BulkCreateMenusResponse {\n /** Information about the created menus. */\n results?: BulkCreateMenuResult[];\n /** Metadata for the API call. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkCreateMenuResult {\n /** Whether to receive the created menus in the response. */\n menuMetadata?: ItemMetadata;\n /** Created menu. */\n menu?: Menu;\n}\n\nexport interface ItemMetadata {\n /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */\n id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface GetMenuRequest {\n /**\n * Menu ID.\n * @format GUID\n */\n menuId: string;\n}\n\nexport interface GetMenuResponse {\n /** Menu. */\n menu?: Menu;\n}\n\nexport interface ListMenusRequest {\n /**\n * Menu IDs.\n * @format GUID\n * @maxSize 500\n */\n menuIds?: string[];\n /** The metadata of the paginated results. */\n paging?: CursorPaging;\n /** Whether to return only menus that are visible to site visitors. */\n onlyVisible?: boolean | null;\n}\n\nexport interface ListMenusResponse {\n /** Retrieved menus. */\n menus?: Menu[];\n /** The metadata of the paginated results. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface QueryMenusRequest {\n /** Query options. */\n query?: CursorQuery;\n}\n\nexport interface QueryMenusResponse {\n /** Retrieved menus. */\n menus?: Menu[];\n /** The metadata of the paginated results. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface UpdateMenuRequest {\n /** Menu to update. */\n menu: Menu;\n /**\n * Explicit list of fields to update.\n * @internal\n */\n mask?: string[];\n}\n\nexport interface UpdateMenuResponse {\n /** Updated menu. */\n menu?: Menu;\n}\n\nexport interface BulkUpdateMenuRequest {\n /**\n * Menus to update.\n * @minSize 1\n * @maxSize 100\n */\n menus: MaskedMenu[];\n /** Whether to receive the entity in the response. */\n returnEntity?: boolean;\n}\n\nexport interface MaskedMenu {\n /** Menu to updated. */\n menu?: Menu;\n /** Explicit list of fields to update. */\n mask?: string[];\n}\n\nexport interface BulkUpdateMenuResponse {\n /**\n * Results of bulk menu update.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkMenuResult[];\n /** Metadata for the API call. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkMenuResult {\n /** Metadata for menu update. */\n menuMetadata?: ItemMetadata;\n /** Updated menu. Only returned if `returnEntity` is set to `true`. */\n menu?: Menu;\n}\n\nexport interface UpdateExtendedFieldsRequest {\n /** ID of the entity to update. */\n id: string;\n /** Identifier for the app whose extended fields are being updated. */\n namespace: string;\n /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */\n namespaceData: Record<string, any> | null;\n}\n\nexport interface UpdateExtendedFieldsResponse {\n /** Namespace of the app. */\n namespace?: string;\n /** Updated extended fields data. */\n namespaceData?: Record<string, any> | null;\n}\n\nexport interface DeleteMenuRequest {\n /**\n * Menu ID.\n * @format GUID\n */\n menuId: string;\n}\n\nexport interface DeleteMenuResponse {}\n\nexport interface RestoreMenusFromTrashRequest {\n /**\n * Menu IDs to restore from the trash bin.\n * @format GUID\n * @minSize 1\n * @maxSize 100\n */\n menuIds?: string[];\n}\n\nexport interface RestoreMenusFromTrashResponse {\n /**\n * Menu IDs that were successfully restored.\n * @format GUID\n * @maxSize 100\n */\n restoredMenuIds?: string[];\n /**\n * Menu IDs that failed to restore.\n * @format GUID\n * @maxSize 100\n */\n failedMenuIds?: string[];\n}\n\nexport interface RunMenusMultiLocationMigrationRequest {\n /**\n * business location id\n * @format GUID\n */\n businessLocationId?: string;\n}\n\nexport interface RunMenusMultiLocationMigrationResponse {\n /** Whether menus multi-location migration finished successfully */\n success?: boolean;\n}\n\nexport interface UpdateBusinessLocationIdRequest {\n /** @format GUID */\n menuId?: string;\n /** @format GUID */\n businessLocationId?: string | null;\n}\n\nexport interface UpdateBusinessLocationIdResponse {}\n\nexport interface CloneMenusRequest {\n /**\n * The MetaSiteId to clone from.\n * @format GUID\n */\n metaSiteId?: string;\n}\n\nexport interface CloneMenusResponse {}\n\nexport interface Empty {}\n\nexport interface SyncContentToMultilingualRequest {\n /**\n * MetaSite ID\n * @format GUID\n */\n metaSiteId?: string;\n}\n\nexport interface SyncContentToMultilingualResponse {}\n","import * as ambassadorWixRestaurantsMenusV1Menu from './restaurants-menus-v1-menu-menus.http.js';\nimport * as ambassadorWixRestaurantsMenusV1MenuTypes from './restaurants-menus-v1-menu-menus.types.js';\nimport * as ambassadorWixRestaurantsMenusV1MenuUniversalTypes from './restaurants-menus-v1-menu-menus.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 duplicateMenu(): __PublicMethodMetaInfo<\n 'POST',\n { id: string },\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.DuplicateMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.DuplicateMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.DuplicateMenuResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.DuplicateMenuResponse\n> {\n const payload = { id: ':id' } as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.duplicateMenu(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: '/v1/menus/{id}/duplicate',\n pathParams: { id: 'id' },\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 getMenuSiteUrl(): __PublicMethodMetaInfo<\n 'GET',\n { id: string },\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.GetMenuSiteUrlRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.GetMenuSiteUrlRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.GetMenuSiteUrlResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.GetMenuSiteUrlResponse\n> {\n const payload = { id: ':id' } as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.getMenuSiteUrl(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: '/v1/menus-site-url/menus/{id}',\n pathParams: { id: 'id' },\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 queryMenusSiteUrl(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.QueryMenusSiteUrlRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.QueryMenusSiteUrlRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.QueryMenusSiteUrlResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.QueryMenusSiteUrlResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.queryMenusSiteUrl(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: '/v1/menus-site-url/menus/query',\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 createMenu(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.CreateMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.CreateMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.CreateMenuResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.CreateMenuResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.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: '/v1/menus',\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 bulkCreateMenus(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.BulkCreateMenusRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.BulkCreateMenusRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.BulkCreateMenusResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.BulkCreateMenusResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.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: '/v1/bulk/menus/create',\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 { menuId: string },\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.GetMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.GetMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.GetMenuResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.GetMenuResponse\n> {\n const payload = { menuId: ':menuId' } as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.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: '/v1/menus/{menuId}',\n pathParams: { 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 listMenus(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.ListMenusRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.ListMenusRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.ListMenusResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.ListMenusResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.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: '/v1/menus',\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 queryMenus(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.QueryMenusRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.QueryMenusRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.QueryMenusResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.QueryMenusResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.queryMenus(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: '/v1/menus/query',\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 updateMenu(): __PublicMethodMetaInfo<\n 'PATCH',\n { menuId: string },\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.UpdateMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.UpdateMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.UpdateMenuResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.UpdateMenuResponse\n> {\n const payload = { menu: { id: ':menuId' } } as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.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: '/v1/menus/{menu.id}',\n pathParams: { 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 bulkUpdateMenu(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.BulkUpdateMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.BulkUpdateMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.BulkUpdateMenuResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.BulkUpdateMenuResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.bulkUpdateMenu(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: '/v1/bulk/menus/update',\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 updateExtendedFields(): __PublicMethodMetaInfo<\n 'POST',\n { id: string },\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.UpdateExtendedFieldsRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.UpdateExtendedFieldsRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.UpdateExtendedFieldsResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.UpdateExtendedFieldsResponse\n> {\n const payload = { id: ':id' } as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.updateExtendedFields(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: '/v1/menus/{id}/updateExtendedFields',\n pathParams: { id: 'id' },\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 deleteMenu(): __PublicMethodMetaInfo<\n 'DELETE',\n { menuId: string },\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.DeleteMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuTypes.DeleteMenuRequest,\n ambassadorWixRestaurantsMenusV1MenuUniversalTypes.DeleteMenuResponse,\n ambassadorWixRestaurantsMenusV1MenuTypes.DeleteMenuResponse\n> {\n const payload = { menuId: ':menuId' } as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1Menu.deleteMenu(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: '/v1/menus/{menuId}',\n pathParams: { 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 {\n Menu as MenuOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n SeoSchema as SeoSchemaOriginal,\n Keyword as KeywordOriginal,\n Tag as TagOriginal,\n Settings as SettingsOriginal,\n BusinessLocationDetails as BusinessLocationDetailsOriginal,\n ExternalReferenceInfo as ExternalReferenceInfoOriginal,\n DuplicateMenuRequest as DuplicateMenuRequestOriginal,\n DuplicateMenuResponse as DuplicateMenuResponseOriginal,\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 GetMenuSiteUrlRequest as GetMenuSiteUrlRequestOriginal,\n GetMenuSiteUrlResponse as GetMenuSiteUrlResponseOriginal,\n MenuSiteUrl as MenuSiteUrlOriginal,\n QueryMenusSiteUrlRequest as QueryMenusSiteUrlRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n AddressLocation as AddressLocationOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryMenusSiteUrlResponse as QueryMenusSiteUrlResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\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 DeleteOrphanSections as DeleteOrphanSectionsOriginal,\n MenusDataCloningCompleted as MenusDataCloningCompletedOriginal,\n CreateMenuRequest as CreateMenuRequestOriginal,\n CreateMenuResponse as CreateMenuResponseOriginal,\n BulkCreateMenusRequest as BulkCreateMenusRequestOriginal,\n BulkCreateMenusResponse as BulkCreateMenusResponseOriginal,\n BulkCreateMenuResult as BulkCreateMenuResultOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n GetMenuRequest as GetMenuRequestOriginal,\n GetMenuResponse as GetMenuResponseOriginal,\n ListMenusRequest as ListMenusRequestOriginal,\n ListMenusResponse as ListMenusResponseOriginal,\n QueryMenusRequest as QueryMenusRequestOriginal,\n QueryMenusResponse as QueryMenusResponseOriginal,\n UpdateMenuRequest as UpdateMenuRequestOriginal,\n UpdateMenuResponse as UpdateMenuResponseOriginal,\n BulkUpdateMenuRequest as BulkUpdateMenuRequestOriginal,\n MaskedMenu as MaskedMenuOriginal,\n BulkUpdateMenuResponse as BulkUpdateMenuResponseOriginal,\n BulkMenuResult as BulkMenuResultOriginal,\n UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal,\n UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal,\n DeleteMenuRequest as DeleteMenuRequestOriginal,\n DeleteMenuResponse as DeleteMenuResponseOriginal,\n RestoreMenusFromTrashRequest as RestoreMenusFromTrashRequestOriginal,\n RestoreMenusFromTrashResponse as RestoreMenusFromTrashResponseOriginal,\n RunMenusMultiLocationMigrationRequest as RunMenusMultiLocationMigrationRequestOriginal,\n RunMenusMultiLocationMigrationResponse as RunMenusMultiLocationMigrationResponseOriginal,\n UpdateBusinessLocationIdRequest as UpdateBusinessLocationIdRequestOriginal,\n UpdateBusinessLocationIdResponse as UpdateBusinessLocationIdResponseOriginal,\n CloneMenusRequest as CloneMenusRequestOriginal,\n CloneMenusResponse as CloneMenusResponseOriginal,\n Empty as EmptyOriginal,\n SyncContentToMultilingualRequest as SyncContentToMultilingualRequestOriginal,\n SyncContentToMultilingualResponse as SyncContentToMultilingualResponseOriginal,\n} from './restaurants-menus-v1-menu-menus.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,6BAA6B;AAAA,EACrC,EAAE,MAAM,8BAA8B;AACxC;AACA,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,mBAAmB;AAAA,EAC3B,EAAE,MAAM,mBAAmB;AAAA,EAC3B,EAAE,MAAM,0CAA0C;AACpD;AACA,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,oBAAoB;AAAA,EAC5B,EAAE,MAAM,oBAAoB;AAAA,EAC5B,EAAE,MAAM,2CAA2C;AACrD;AACA,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,2BAA2B;AAAA,EACnC,EAAE,MAAM,2BAA2B;AAAA,EACnC,EAAE,MAAM,kDAAkD;AAC5D;AACA,IAAM,oBAAoB,CAAC,EAAE,MAAM,OAAO,CAAC;AAC3C,IAAM,oBAAoB,CAAC,EAAE,MAAM,aAAa,CAAC;AACjD,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,yBAAyB;AAAA,EACj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ACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,QAAQ,SAAS;AAAA,IAC/B,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","WebhookIdentityType","SortOrder","duplicateMenu","getMenuSiteUrl","queryMenusSiteUrl","createMenu","bulkCreateMenus","getMenu","listMenus","queryMenus","updateMenu","bulkUpdateMenu","updateExtendedFields","deleteMenu"]}
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
2
  import { DuplicateMenuOptions, DuplicateMenuResponse, GetMenuSiteUrlResponse, QueryMenusSiteUrlOptions, QueryMenusSiteUrlResponse, Menu, BulkCreateMenusOptions, BulkCreateMenusResponse, ListMenusOptions, ListMenusResponse, UpdateMenu, MaskedMenu, BulkUpdateMenuOptions, BulkUpdateMenuResponse, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, MenuUpdatedEnvelope, MenuCreatedEnvelope, MenuDeletedEnvelope, MenusQueryBuilder, MenuQuery, typedQueryMenus } from './index.typings.js';
3
- export { AccountInfo, AccountInfoMetadata, ActionEvent, AddressLocation, App, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkCreateMenuResult, BulkCreateMenusRequest, BulkMenuResult, BulkUpdateMenuRequest, BusinessLocationDetails, CloneMenusRequest, CloneMenusResponse, CommonQueryWithEntityContext, CreateMenuRequest, CreateMenuResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, DeleteMenuRequest, DeleteMenuResponse, DeleteOrphanSections, DomainEvent, DomainEventBodyOneOf, DuplicateMenuRequest, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReferenceInfo, File, GetMenuRequest, GetMenuResponse, GetMenuSiteUrlRequest, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, Keyword, ListMenusRequest, MenuQuerySpec, MenuSiteUrl, MenusDataCloningCompleted, MenusQueryResult, MessageEnvelope, Page, Pages, QueryMenusRequest, QueryMenusResponse, QueryMenusSiteUrlRequest, RestoreInfo, RunMenusMultiLocationMigrationRequest, RunMenusMultiLocationMigrationResponse, SeoSchema, Settings, SortOrder, SortOrderWithLiterals, Sorting, SyncContentToMultilingualRequest, SyncContentToMultilingualResponse, Tag, URI, URIs, UpdateBusinessLocationIdRequest, UpdateBusinessLocationIdResponse, UpdateExtendedFieldsRequest, UpdateMenuRequest, UpdateMenuResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
3
+ export { AccountInfo, AccountInfoMetadata, ActionEvent, AddressLocation, App, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkCreateMenuResult, BulkCreateMenusRequest, BulkMenuResult, BulkUpdateMenuRequest, BusinessLocationDetails, CloneMenusRequest, CloneMenusResponse, CommonQueryWithEntityContext, CreateMenuRequest, CreateMenuResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, DeleteMenuRequest, DeleteMenuResponse, DeleteOrphanSections, DomainEvent, DomainEventBodyOneOf, DuplicateMenuRequest, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReferenceInfo, File, GetMenuRequest, GetMenuResponse, GetMenuSiteUrlRequest, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, Keyword, ListMenusRequest, MenuQuerySpec, MenuSiteUrl, MenusDataCloningCompleted, MenusQueryResult, MessageEnvelope, Page, Pages, QueryMenusRequest, QueryMenusResponse, QueryMenusSiteUrlRequest, RestoreInfo, RestoreMenusFromTrashRequest, RestoreMenusFromTrashResponse, RunMenusMultiLocationMigrationRequest, RunMenusMultiLocationMigrationResponse, SeoSchema, Settings, SortOrder, SortOrderWithLiterals, Sorting, SyncContentToMultilingualRequest, SyncContentToMultilingualResponse, Tag, URI, URIs, UpdateBusinessLocationIdRequest, UpdateBusinessLocationIdResponse, UpdateExtendedFieldsRequest, UpdateMenuRequest, UpdateMenuResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
4
4
 
5
5
  declare function duplicateMenu$1(httpClient: HttpClient): DuplicateMenuSignature;
6
6
  interface DuplicateMenuSignature {
@@ -850,6 +850,29 @@ interface DeleteMenuRequest {
850
850
  }
851
851
  interface DeleteMenuResponse {
852
852
  }
853
+ interface RestoreMenusFromTrashRequest {
854
+ /**
855
+ * Menu IDs to restore from the trash bin.
856
+ * @format GUID
857
+ * @minSize 1
858
+ * @maxSize 100
859
+ */
860
+ menuIds?: string[];
861
+ }
862
+ interface RestoreMenusFromTrashResponse {
863
+ /**
864
+ * Menu IDs that were successfully restored.
865
+ * @format GUID
866
+ * @maxSize 100
867
+ */
868
+ restoredMenuIds?: string[];
869
+ /**
870
+ * Menu IDs that failed to restore.
871
+ * @format GUID
872
+ * @maxSize 100
873
+ */
874
+ failedMenuIds?: string[];
875
+ }
853
876
  interface RunMenusMultiLocationMigrationRequest {
854
877
  /**
855
878
  * business location id
@@ -1454,4 +1477,4 @@ interface UpdateExtendedFieldsOptions {
1454
1477
  */
1455
1478
  declare function deleteMenu(menuId: string): Promise<void>;
1456
1479
 
1457
- export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddressLocation, type App, type ApplicationError, type BaseEventMetadata, type BulkActionMetadata, type BulkCreateMenuResult, type BulkCreateMenusOptions, type BulkCreateMenusRequest, type BulkCreateMenusResponse, type BulkMenuResult, type BulkUpdateMenuOptions, type BulkUpdateMenuRequest, type BulkUpdateMenuResponse, type BusinessLocationDetails, type CloneMenusRequest, type CloneMenusResponse, type CommonQueryWithEntityContext, type CreateMenuRequest, type CreateMenuResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomTag, type DeleteMenuRequest, type DeleteMenuResponse, type DeleteOrphanSections, type DomainEvent, type DomainEventBodyOneOf, type DuplicateMenuOptions, type DuplicateMenuRequest, type DuplicateMenuResponse, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReferenceInfo, type File, type GetMenuRequest, type GetMenuResponse, type GetMenuSiteUrlRequest, type GetMenuSiteUrlResponse, type IdentificationData, type IdentificationDataIdOneOf, type InvalidateCache, type InvalidateCacheGetByOneOf, type ItemMetadata, type Keyword, type ListMenusOptions, type ListMenusRequest, type ListMenusResponse, type MaskedMenu, type Menu, type MenuCreatedEnvelope, type MenuDeletedEnvelope, type MenuQuery, type MenuQuerySpec, type MenuSiteUrl, type MenuUpdatedEnvelope, type MenusDataCloningCompleted, type MenusQueryBuilder, type MenusQueryResult, type MessageEnvelope, type Page, type Pages, type QueryMenusRequest, type QueryMenusResponse, type QueryMenusSiteUrlOptions, type QueryMenusSiteUrlRequest, type QueryMenusSiteUrlResponse, type RestoreInfo, type RunMenusMultiLocationMigrationRequest, type RunMenusMultiLocationMigrationResponse, type SeoSchema, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, type SyncContentToMultilingualRequest, type SyncContentToMultilingualResponse, type Tag, type URI, type URIs, type UpdateBusinessLocationIdRequest, type UpdateBusinessLocationIdResponse, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateMenu, type UpdateMenuRequest, type UpdateMenuResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkCreateMenus, bulkUpdateMenu, createMenu, deleteMenu, duplicateMenu, getMenu, getMenuSiteUrl, listMenus, onMenuCreated, onMenuDeleted, onMenuUpdated, queryMenus, queryMenusSiteUrl, typedQueryMenus, updateExtendedFields, updateMenu, utils };
1480
+ export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddressLocation, type App, type ApplicationError, type BaseEventMetadata, type BulkActionMetadata, type BulkCreateMenuResult, type BulkCreateMenusOptions, type BulkCreateMenusRequest, type BulkCreateMenusResponse, type BulkMenuResult, type BulkUpdateMenuOptions, type BulkUpdateMenuRequest, type BulkUpdateMenuResponse, type BusinessLocationDetails, type CloneMenusRequest, type CloneMenusResponse, type CommonQueryWithEntityContext, type CreateMenuRequest, type CreateMenuResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomTag, type DeleteMenuRequest, type DeleteMenuResponse, type DeleteOrphanSections, type DomainEvent, type DomainEventBodyOneOf, type DuplicateMenuOptions, type DuplicateMenuRequest, type DuplicateMenuResponse, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReferenceInfo, type File, type GetMenuRequest, type GetMenuResponse, type GetMenuSiteUrlRequest, type GetMenuSiteUrlResponse, type IdentificationData, type IdentificationDataIdOneOf, type InvalidateCache, type InvalidateCacheGetByOneOf, type ItemMetadata, type Keyword, type ListMenusOptions, type ListMenusRequest, type ListMenusResponse, type MaskedMenu, type Menu, type MenuCreatedEnvelope, type MenuDeletedEnvelope, type MenuQuery, type MenuQuerySpec, type MenuSiteUrl, type MenuUpdatedEnvelope, type MenusDataCloningCompleted, type MenusQueryBuilder, type MenusQueryResult, type MessageEnvelope, type Page, type Pages, type QueryMenusRequest, type QueryMenusResponse, type QueryMenusSiteUrlOptions, type QueryMenusSiteUrlRequest, type QueryMenusSiteUrlResponse, type RestoreInfo, type RestoreMenusFromTrashRequest, type RestoreMenusFromTrashResponse, type RunMenusMultiLocationMigrationRequest, type RunMenusMultiLocationMigrationResponse, type SeoSchema, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, type SyncContentToMultilingualRequest, type SyncContentToMultilingualResponse, type Tag, type URI, type URIs, type UpdateBusinessLocationIdRequest, type UpdateBusinessLocationIdResponse, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateMenu, type UpdateMenuRequest, type UpdateMenuResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkCreateMenus, bulkUpdateMenu, createMenu, deleteMenu, duplicateMenu, getMenu, getMenuSiteUrl, listMenus, onMenuCreated, onMenuDeleted, onMenuUpdated, queryMenus, queryMenusSiteUrl, typedQueryMenus, updateExtendedFields, updateMenu, utils };
@@ -894,6 +894,29 @@ interface DeleteMenuRequest {
894
894
  }
895
895
  interface DeleteMenuResponse {
896
896
  }
897
+ interface RestoreMenusFromTrashRequest {
898
+ /**
899
+ * Menu IDs to restore from the trash bin.
900
+ * @format GUID
901
+ * @minSize 1
902
+ * @maxSize 100
903
+ */
904
+ menuIds?: string[];
905
+ }
906
+ interface RestoreMenusFromTrashResponse {
907
+ /**
908
+ * Menu IDs that were successfully restored.
909
+ * @format GUID
910
+ * @maxSize 100
911
+ */
912
+ restoredMenuIds?: string[];
913
+ /**
914
+ * Menu IDs that failed to restore.
915
+ * @format GUID
916
+ * @maxSize 100
917
+ */
918
+ failedMenuIds?: string[];
919
+ }
897
920
  interface RunMenusMultiLocationMigrationRequest {
898
921
  /**
899
922
  * business location id
@@ -969,4 +992,4 @@ declare function deleteMenu(): __PublicMethodMetaInfo<'DELETE', {
969
992
  menuId: string;
970
993
  }, DeleteMenuRequest$1, DeleteMenuRequest, DeleteMenuResponse$1, DeleteMenuResponse>;
971
994
 
972
- export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, type App as AppOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateMenuResult as BulkCreateMenuResultOriginal, type BulkCreateMenusRequest as BulkCreateMenusRequestOriginal, type BulkCreateMenusResponse as BulkCreateMenusResponseOriginal, type BulkMenuResult as BulkMenuResultOriginal, type BulkUpdateMenuRequest as BulkUpdateMenuRequestOriginal, type BulkUpdateMenuResponse as BulkUpdateMenuResponseOriginal, type BusinessLocationDetails as BusinessLocationDetailsOriginal, type CloneMenusRequest as CloneMenusRequestOriginal, type CloneMenusResponse as CloneMenusResponseOriginal, type CreateMenuRequest as CreateMenuRequestOriginal, type CreateMenuResponse as CreateMenuResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomTag as CustomTagOriginal, type DeleteMenuRequest as DeleteMenuRequestOriginal, type DeleteMenuResponse as DeleteMenuResponseOriginal, type DeleteOrphanSections as DeleteOrphanSectionsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DuplicateMenuRequest as DuplicateMenuRequestOriginal, type DuplicateMenuResponse as DuplicateMenuResponseOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalReferenceInfo as ExternalReferenceInfoOriginal, type File as FileOriginal, type GetMenuRequest as GetMenuRequestOriginal, type GetMenuResponse as GetMenuResponseOriginal, type GetMenuSiteUrlRequest as GetMenuSiteUrlRequestOriginal, type GetMenuSiteUrlResponse as GetMenuSiteUrlResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal, type InvalidateCache as InvalidateCacheOriginal, type ItemMetadata as ItemMetadataOriginal, type Keyword as KeywordOriginal, type ListMenusRequest as ListMenusRequestOriginal, type ListMenusResponse as ListMenusResponseOriginal, type MaskedMenu as MaskedMenuOriginal, type Menu as MenuOriginal, type MenuSiteUrl as MenuSiteUrlOriginal, type MenusDataCloningCompleted as MenusDataCloningCompletedOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Page as PageOriginal, type Pages as PagesOriginal, type QueryMenusRequest as QueryMenusRequestOriginal, type QueryMenusResponse as QueryMenusResponseOriginal, type QueryMenusSiteUrlRequest as QueryMenusSiteUrlRequestOriginal, type QueryMenusSiteUrlResponse as QueryMenusSiteUrlResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RunMenusMultiLocationMigrationRequest as RunMenusMultiLocationMigrationRequestOriginal, type RunMenusMultiLocationMigrationResponse as RunMenusMultiLocationMigrationResponseOriginal, type SeoSchema as SeoSchemaOriginal, type Settings as SettingsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SyncContentToMultilingualRequest as SyncContentToMultilingualRequestOriginal, type SyncContentToMultilingualResponse as SyncContentToMultilingualResponseOriginal, type Tag as TagOriginal, type URI as URIOriginal, type URIs as URIsOriginal, type UpdateBusinessLocationIdRequest as UpdateBusinessLocationIdRequestOriginal, type UpdateBusinessLocationIdResponse as UpdateBusinessLocationIdResponseOriginal, type UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal, type UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal, type UpdateMenuRequest as UpdateMenuRequestOriginal, type UpdateMenuResponse as UpdateMenuResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCreateMenus, bulkUpdateMenu, createMenu, deleteMenu, duplicateMenu, getMenu, getMenuSiteUrl, listMenus, queryMenus, queryMenusSiteUrl, updateExtendedFields, updateMenu };
995
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, type App as AppOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateMenuResult as BulkCreateMenuResultOriginal, type BulkCreateMenusRequest as BulkCreateMenusRequestOriginal, type BulkCreateMenusResponse as BulkCreateMenusResponseOriginal, type BulkMenuResult as BulkMenuResultOriginal, type BulkUpdateMenuRequest as BulkUpdateMenuRequestOriginal, type BulkUpdateMenuResponse as BulkUpdateMenuResponseOriginal, type BusinessLocationDetails as BusinessLocationDetailsOriginal, type CloneMenusRequest as CloneMenusRequestOriginal, type CloneMenusResponse as CloneMenusResponseOriginal, type CreateMenuRequest as CreateMenuRequestOriginal, type CreateMenuResponse as CreateMenuResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomTag as CustomTagOriginal, type DeleteMenuRequest as DeleteMenuRequestOriginal, type DeleteMenuResponse as DeleteMenuResponseOriginal, type DeleteOrphanSections as DeleteOrphanSectionsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DuplicateMenuRequest as DuplicateMenuRequestOriginal, type DuplicateMenuResponse as DuplicateMenuResponseOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalReferenceInfo as ExternalReferenceInfoOriginal, type File as FileOriginal, type GetMenuRequest as GetMenuRequestOriginal, type GetMenuResponse as GetMenuResponseOriginal, type GetMenuSiteUrlRequest as GetMenuSiteUrlRequestOriginal, type GetMenuSiteUrlResponse as GetMenuSiteUrlResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal, type InvalidateCache as InvalidateCacheOriginal, type ItemMetadata as ItemMetadataOriginal, type Keyword as KeywordOriginal, type ListMenusRequest as ListMenusRequestOriginal, type ListMenusResponse as ListMenusResponseOriginal, type MaskedMenu as MaskedMenuOriginal, type Menu as MenuOriginal, type MenuSiteUrl as MenuSiteUrlOriginal, type MenusDataCloningCompleted as MenusDataCloningCompletedOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Page as PageOriginal, type Pages as PagesOriginal, type QueryMenusRequest as QueryMenusRequestOriginal, type QueryMenusResponse as QueryMenusResponseOriginal, type QueryMenusSiteUrlRequest as QueryMenusSiteUrlRequestOriginal, type QueryMenusSiteUrlResponse as QueryMenusSiteUrlResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RestoreMenusFromTrashRequest as RestoreMenusFromTrashRequestOriginal, type RestoreMenusFromTrashResponse as RestoreMenusFromTrashResponseOriginal, type RunMenusMultiLocationMigrationRequest as RunMenusMultiLocationMigrationRequestOriginal, type RunMenusMultiLocationMigrationResponse as RunMenusMultiLocationMigrationResponseOriginal, type SeoSchema as SeoSchemaOriginal, type Settings as SettingsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SyncContentToMultilingualRequest as SyncContentToMultilingualRequestOriginal, type SyncContentToMultilingualResponse as SyncContentToMultilingualResponseOriginal, type Tag as TagOriginal, type URI as URIOriginal, type URIs as URIsOriginal, type UpdateBusinessLocationIdRequest as UpdateBusinessLocationIdRequestOriginal, type UpdateBusinessLocationIdResponse as UpdateBusinessLocationIdResponseOriginal, type UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal, type UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal, type UpdateMenuRequest as UpdateMenuRequestOriginal, type UpdateMenuResponse as UpdateMenuResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCreateMenus, bulkUpdateMenu, createMenu, deleteMenu, duplicateMenu, getMenu, getMenuSiteUrl, listMenus, queryMenus, queryMenusSiteUrl, updateExtendedFields, updateMenu };