{"version":3,"sources":["../../src/restaurants-menus-v1-item-modifier-item-modifiers.http.ts","../../src/restaurants-menus-v1-item-modifier-item-modifiers.types.ts","../../src/restaurants-menus-v1-item-modifier-item-modifiers.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixRestaurantsMenusItemModifierV1ModifiersServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/restaurants-menus-item-modifier',\n        destPath: '',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/restaurants-menus-item-modifier',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/restaurants-menus-item-modifier',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/restaurants-menus-item-modifier',\n        destPath: '',\n      },\n    ],\n    'editor.wixapps.net': [\n      {\n        srcPath: '/_api/restaurants-menus-item-modifier',\n        destPath: '',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/restaurants-menus-item-modifier',\n        destPath: '',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/bulk/modifiers/delete',\n        destPath: '/v1/bulk/modifiers/delete',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/modifiers/count',\n        destPath: '/v1/modifiers/count',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/bulk/modifiers/create',\n        destPath: '/v1/bulk/modifiers/create',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/restaurants-menus-item-modifier',\n        destPath: '',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/bulk/modifiers/delete',\n        destPath: '/v1/bulk/modifiers/delete',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/modifiers/count',\n        destPath: '/v1/modifiers/count',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/bulk/modifiers/create',\n        destPath: '/v1/bulk/modifiers/create',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/restaurants-menus-item-modifier',\n        destPath: '',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/restaurants-menus-item-modifier',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/restaurants/item-modifiers',\n        destPath: '',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/bulk/modifiers/create',\n        destPath: '/v1/bulk/modifiers/create',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/bulk/modifiers/update',\n        destPath: '/v1/bulk/modifiers/update',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/bulk/modifiers/delete',\n        destPath: '/v1/bulk/modifiers/delete',\n      },\n      {\n        srcPath: '/restaurants/menus/v1/modifiers/count',\n        destPath: '/v1/modifiers/count',\n      },\n    ],\n    'apps._base_domain_': [\n      {\n        srcPath: '/_api/restaurants-menus-item-modifier',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_restaurants_item-modifiers';\n\n/**\n * > **Note:** The Item Modifiers API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Creates an item modifier.\n *\n * To create multiple item modifiers at once, use [Bulk Create Modifiers](https://dev.wix.com/docs/rest/business-solutions/restaurants/menus/item-modifiers/bulk-create-modifiers).\n */\nexport function createModifier(payload: object): RequestOptionsFactory<any> {\n  function __createModifier({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'modifier.createdDate' },\n          { path: 'modifier.updatedDate' },\n          { path: 'modifier.externalReferenceInfo.lastSyncDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.item_modifier',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.restaurants.menus_item_modifier.v1.ModifiersService.CreateModifier',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixRestaurantsMenusItemModifierV1ModifiersServiceUrl({\n        protoPath: '/v1/modifiers',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'modifier.createdDate' },\n              { path: 'modifier.updatedDate' },\n              { path: 'modifier.externalReferenceInfo.lastSyncDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createModifier;\n}\n\n/**\n * > **Note:** The Item Modifier API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Retrieves an item modifier by ID.\n */\nexport function getModifier(payload: object): RequestOptionsFactory<any> {\n  function __getModifier({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.item_modifier',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.restaurants.menus_item_modifier.v1.ModifiersService.GetModifier',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixRestaurantsMenusItemModifierV1ModifiersServiceUrl({\n        protoPath: '/v1/modifiers/{modifierId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'modifier.createdDate' },\n              { path: 'modifier.updatedDate' },\n              { path: 'modifier.externalReferenceInfo.lastSyncDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getModifier;\n}\n\n/**\n * > **Note:** The Item Modifier API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Retrieves a list of up to 500 item modifiers.\n */\nexport function listModifiers(payload: object): RequestOptionsFactory<any> {\n  function __listModifiers({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.item_modifier',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.restaurants.menus_item_modifier.v1.ModifiersService.ListModifiers',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixRestaurantsMenusItemModifierV1ModifiersServiceUrl({\n        protoPath: '/v1/modifiers',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'modifiers.createdDate' },\n              { path: 'modifiers.updatedDate' },\n              { path: 'modifiers.externalReferenceInfo.lastSyncDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __listModifiers;\n}\n\n/**\n * > **Note:** The Item Modifier API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Updates an item modifier.\n *\n * To update multiple item modifiers at once, use [Bulk Update Item Modifiers](https://dev.wix.com/docs/rest/business-solutions/restaurants/menus/item-modifiers/bulk-update-modifiers).\n *\n * Each time an item modifier is updated, its revision increments by 1. The existing revision must be included when updating an item modifier. This ensures you're working with the latest item modifier information, and it prevents unintended overwrites.\n */\nexport function updateModifier(payload: object): RequestOptionsFactory<any> {\n  function __updateModifier({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'mask' }],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'modifier.createdDate' },\n          { path: 'modifier.updatedDate' },\n          { path: 'modifier.externalReferenceInfo.lastSyncDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.item_modifier',\n      method: 'PATCH' as any,\n      methodFqn:\n        'wix.restaurants.menus_item_modifier.v1.ModifiersService.UpdateModifier',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixRestaurantsMenusItemModifierV1ModifiersServiceUrl({\n        protoPath: '/v1/modifiers/{modifier.id}',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'modifier.createdDate' },\n              { path: 'modifier.updatedDate' },\n              { path: 'modifier.externalReferenceInfo.lastSyncDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateModifier;\n}\n\n/**\n * > **Note:** The Item Modifier API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Creates multiple item modifiers.\n */\nexport function bulkCreateModifiers(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkCreateModifiers({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'modifiers.createdDate' },\n          { path: 'modifiers.updatedDate' },\n          { path: 'modifiers.externalReferenceInfo.lastSyncDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.item_modifier',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.restaurants.menus_item_modifier.v1.ModifiersService.BulkCreateModifiers',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixRestaurantsMenusItemModifierV1ModifiersServiceUrl({\n        protoPath: '/v1/bulk/modifiers/create',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'results.modifier.createdDate' },\n              { path: 'results.modifier.updatedDate' },\n              { path: 'results.modifier.externalReferenceInfo.lastSyncDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkCreateModifiers;\n}\n\n/**\n * > **Note:** The Item modifier API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Updates multiple item modifiers at once.\n * Each time an item modifier is updated, its revision increments by 1. The existing revision must be included when updating the item modifier. This ensures you're working with the latest item modifier information, and prevents unintended overwrites.\n */\nexport function bulkUpdateModifiers(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkUpdateModifiers({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'modifiers.mask' }],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'modifiers.modifier.createdDate' },\n          { path: 'modifiers.modifier.updatedDate' },\n          { path: 'modifiers.modifier.externalReferenceInfo.lastSyncDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.item_modifier',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.restaurants.menus_item_modifier.v1.ModifiersService.BulkUpdateModifiers',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixRestaurantsMenusItemModifierV1ModifiersServiceUrl({\n        protoPath: '/v1/bulk/modifiers/update',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'results.modifier.createdDate' },\n              { path: 'results.modifier.updatedDate' },\n              { path: 'results.modifier.externalReferenceInfo.lastSyncDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateModifiers;\n}\n\n/**\n * > **Note:** The Item modifier API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n * Deletes an item modifier.\n */\nexport function deleteModifier(payload: object): RequestOptionsFactory<any> {\n  function __deleteModifier({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.item_modifier',\n      method: 'DELETE' as any,\n      methodFqn:\n        'wix.restaurants.menus_item_modifier.v1.ModifiersService.DeleteModifier',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixRestaurantsMenusItemModifierV1ModifiersServiceUrl({\n        protoPath: '/v1/modifiers/{modifierId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteModifier;\n}\n\n/**\n * Creates a query to retrieve a list of item modifiers.\n *\n * The `queryModifiers()` function builds a query to retrieve a list of item modifiers and returns a `ModifiersQueryBuilder` object.\n *\n * The returned object contains the query definition, which is used to run the query using the [`find()`](/item-modifiers/modifiers-query-builder/find) function.\n *\n * You can refine the query by chaining `ModifiersQueryBuilder` functions onto the query. `ModifiersQueryBuilder` functions enable you to filter, sort, and control the results that `queryModifiers()` returns.\n *\n * `queryModifiers()` runs with the following `ModifiersQueryBuilder` defaults, which you can override:\n *\n * * [`limit(500)`](/item-modifiers/modifiers-query-builder/limit)\n *\n * The following `ModifiersQueryBuilder` functions are supported for `queryModifiers()`. For a full description of the item modifier object, see the object returned for the [`items`](/item-modifiers/modifiers-query-result/items) property in `ModifiersQueryResult`.\n */\nexport function queryModifiers(payload: object): RequestOptionsFactory<any> {\n  function __queryModifiers({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.item_modifier',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.restaurants.menus_item_modifier.v1.ModifiersService.QueryModifiers',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixRestaurantsMenusItemModifierV1ModifiersServiceUrl({\n        protoPath: '/v1/modifiers/query',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'modifiers.createdDate' },\n              { path: 'modifiers.updatedDate' },\n              { path: 'modifiers.externalReferenceInfo.lastSyncDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __queryModifiers;\n}\n\n/**\n * > **Note:** The Item API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Retrieves the number of modifiers that match a specified filter.\n *\n * If a filter isn't passed in the request, the endpoint returns the count of all modifiers.\n */\nexport function countModifiers(payload: object): RequestOptionsFactory<any> {\n  function __countModifiers({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.item_modifier',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.restaurants.menus_item_modifier.v1.ModifiersService.CountModifiers',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixRestaurantsMenusItemModifierV1ModifiersServiceUrl({\n        protoPath: '/v1/modifiers/count',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __countModifiers;\n}\n\n/**\n * > **Note:** The Item Modifier API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Deletes multiple item Modifiers at once.\n */\nexport function bulkDeleteModifiers(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkDeleteModifiers({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.menus.v1.item_modifier',\n      method: 'DELETE' as any,\n      methodFqn:\n        'wix.restaurants.menus_item_modifier.v1.ModifiersService.BulkDeleteModifiers',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixRestaurantsMenusItemModifierV1ModifiersServiceUrl({\n        protoPath: '/v1/bulk/modifiers/delete',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __bulkDeleteModifiers;\n}\n","/**\n * An item modifier is a type of menu item that serves as an addition to a menu item.\n * Read more about [item modifiers](https://dev.wix.com/docs/rest/business-solutions/restaurants/menus/item-modifiers/introduction).\n */\nexport interface Modifier {\n  /**\n   * Item modifier ID.\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /**\n   * Revision number, which increments by 1 each time the item modifier is updated.\n   * To prevent conflicting changes,\n   * the current revision must be passed when updating the item modifier. <br />\n   *\n   * Ignored when creating an item modifier.\n   * @readonly\n   */\n  revision?: string | null;\n  /**\n   * Date and time the item modifier was created.\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Date and time the item modifier was updated.\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /**\n   * Item modifier display name.\n   * @minLength 1\n   * @maxLength 200\n   */\n  name?: string | null;\n  /** Extended fields. */\n  extendedFields?: ExtendedFields;\n  /**\n   * Whether the modifier is in stock.\n   * Default: `true`.\n   */\n  inStock?: boolean | null;\n  /**\n   * IDs of the business locations ([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 these item modifiers are available.\n   * @maxSize 100\n   * @format GUID\n   * @readonly\n   */\n  businessLocationIds?: string[];\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\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 item modifier was synced with the external app. */\n  lastSyncDate?: Date | null;\n  /** Whether the connection to the external system is currently active. */\n  connected?: boolean | null;\n}\n\nexport interface InvalidateCache extends InvalidateCacheGetByOneOf {\n  /**\n   * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n   * @format GUID\n   */\n  siteId?: string;\n  /** Invalidate by App */\n  app?: App;\n  /** Invalidate by page id */\n  page?: Page;\n  /** Invalidate by URI path */\n  uri?: URI;\n  /** Invalidate by file (for media files such as PDFs) */\n  file?: File;\n  /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n  customTag?: CustomTag;\n  /** Invalidate by multiple page ids */\n  pages?: Pages;\n  /** Invalidate by multiple URI paths */\n  uris?: URIs;\n  /**\n   * tell us why you're invalidating the cache. You don't need to add your app name\n   * @maxLength 256\n   */\n  reason?: string | null;\n  /** Is local DS */\n  localDc?: boolean;\n  hardPurge?: boolean;\n  /**\n   * Optional caller-provided ID for tracking this invalidation through the system.\n   * When set, the corresponding CDN purge completion event will include this ID,\n   * allowing you to confirm when the invalidation has fully propagated.\n   * Example: generate a UUID, pass it here, and later match it in the CDN purge completion event.\n   * @maxLength 256\n   */\n  correlationId?: string | null;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n  /**\n   * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n   * @format GUID\n   */\n  siteId?: string;\n  /** Invalidate by App */\n  app?: App;\n  /** Invalidate by page id */\n  page?: Page;\n  /** Invalidate by URI path */\n  uri?: URI;\n  /** Invalidate by file (for media files such as PDFs) */\n  file?: File;\n  /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n  customTag?: CustomTag;\n  /** Invalidate by multiple page ids */\n  pages?: Pages;\n  /** Invalidate by multiple URI paths */\n  uris?: URIs;\n}\n\nexport interface App {\n  /**\n   * The AppDefId\n   * @minLength 1\n   */\n  appDefId?: string;\n  /**\n   * The instance Id\n   * @format GUID\n   */\n  instanceId?: string;\n}\n\nexport interface Page {\n  /**\n   * the msid the page is on\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by Page ID\n   * @minLength 1\n   */\n  pageId?: string;\n}\n\nexport interface URI {\n  /**\n   * the msid the URI is on\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n   * @minLength 1\n   */\n  uriPath?: string;\n}\n\nexport interface File {\n  /**\n   * the msid the file is related to\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by filename (for media files such as PDFs)\n   * @minLength 1\n   * @maxLength 256\n   */\n  fileName?: string;\n}\n\nexport interface CustomTag {\n  /**\n   * the msid the tag is related to\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Tag to invalidate by\n   * @minLength 1\n   * @maxLength 256\n   */\n  tag?: string;\n}\n\nexport interface Pages {\n  /**\n   * the msid the pages are on\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by multiple Page IDs in a single message\n   * @maxSize 100\n   * @minLength 1\n   */\n  pageIds?: string[];\n}\n\nexport interface URIs {\n  /**\n   * the msid the URIs are on\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * URI paths to invalidate (e.g. page/my/path) - without leading/trailing slashes\n   * @maxSize 100\n   * @minLength 1\n   */\n  uriPaths?: string[];\n}\n\nexport interface CreateModifierRequest {\n  /** Item modifier to create. */\n  modifier: Modifier;\n}\n\nexport interface CreateModifierResponse {\n  /** Created item modifier. */\n  modifier?: Modifier;\n}\n\nexport interface GetModifierRequest {\n  /**\n   * ID of the item modifier to retrieve.\n   * @format GUID\n   */\n  modifierId: string;\n}\n\nexport interface GetModifierResponse {\n  /** Retrieved item modifier. */\n  modifier?: Modifier;\n}\n\nexport interface ListModifiersRequest {\n  /**\n   * IDs of the item modifiers to retrieve.\n   * @format GUID\n   * @maxSize 500\n   */\n  modifierIds?: string[];\n  /** Metadata of the paginated results. */\n  paging?: CursorPaging;\n}\n\nexport interface CursorPaging {\n  /**\n   * Maximum 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 ListModifiersResponse {\n  /** Retrieved item modifiers. */\n  modifiers?: Modifier[];\n  /** Metadata of the paginated results. */\n  metadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n  /** Number of items returned in the response. */\n  count?: number | null;\n  /** Cursor pointing to the next page and the previous page in the list of results. */\n  cursors?: Cursors;\n  /**\n   * Whether 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 UpdateModifierRequest {\n  /** Item Modifier with updated properties. */\n  modifier: Modifier;\n}\n\nexport interface UpdateModifierResponse {\n  /** Updated item modifier. */\n  modifier?: Modifier;\n}\n\nexport interface BulkCreateModifiersRequest {\n  /**\n   * List of item modifiers to create.\n   * @maxSize 100\n   */\n  modifiers: Modifier[];\n  /**\n   * Whether the created item modifiers are included in the response. <br />\n   * Default: `false`.\n   */\n  returnEntity?: boolean;\n}\n\nexport interface BulkCreateModifiersResponse {\n  /** Information about the created item modifiers. */\n  results?: BulkCreateModifierResult[];\n  /** Metadata for Bulk Create Modifiers API call. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkCreateModifierResult {\n  /** Metadata for creation of the item modifer. */\n  itemMetadata?: ItemMetadata;\n  /** Created item modifier. */\n  modifier?: Modifier;\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 BulkUpdateModifiersRequest {\n  /**\n   * List of item modifiers to update.\n   * @minSize 1\n   * @maxSize 100\n   */\n  modifiers: MaskedModifier[];\n  /** Whether the updated item modifiers are included in the response. */\n  returnEntity?: boolean;\n}\n\nexport interface MaskedModifier {\n  /** Item modifier to update. */\n  modifier?: Modifier;\n  /** Explicit list of fields to update. */\n  mask?: string[];\n}\n\nexport interface BulkUpdateModifiersResponse {\n  /**\n   * Information about the updated item modifiers.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkUpdateModifierResult[];\n  /** Metadata for Bulk Update Modifiers API call. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateModifierResult {\n  /** Metadata for the update of the item modifer. */\n  itemMetadata?: ItemMetadata;\n  /** Updated item modifier. */\n  modifier?: Modifier;\n}\n\nexport interface DeleteModifierRequest {\n  /**\n   * ID of the item modifier to delete.\n   * @format GUID\n   */\n  modifierId: string;\n}\n\nexport interface DeleteModifierResponse {}\n\nexport interface QueryModifiersRequest {\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.\n   * See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language)\n   * for more information.\n   */\n  filter?: Record<string, any> | null;\n  /** Sort object. */\n  sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n  cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n  /**\n   * Name of the field to sort by.\n   * @maxLength 512\n   */\n  fieldName?: string;\n  /** Sort order. */\n  order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n  ASC = 'ASC',\n  DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface QueryModifiersResponse {\n  /** Retrieved item modifiers. */\n  modifiers?: Modifier[];\n  /** Metadata of the paginated results. */\n  pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CountModifiersRequest {\n  /** Filter for counting modifiers. */\n  filter?: Record<string, any> | null;\n}\n\nexport interface CountModifiersResponse {\n  /** Counted modifiers. */\n  count?: number;\n}\n\nexport interface BulkDeleteModifiersRequest {\n  /**\n   * Item Modifier IDs.\n   * @format GUID\n   * @maxSize 200\n   */\n  ids: string[];\n}\n\nexport interface BulkDeleteModifiersResponse {\n  /** Information about the deleted modifiers. */\n  results?: BulkDeleteModifiersResult[];\n  /** Metadata for the API call. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkDeleteModifiersResult {\n  /** Metadata for modifiers deletion. */\n  itemMetadata?: ItemMetadata;\n}\n\nexport interface CloneModifiersRequest {\n  /**\n   * The MetaSiteId to clone from\n   * @format GUID\n   */\n  metaSiteId?: string;\n}\n\nexport interface CloneModifiersResponse {}\n\nexport interface BulkUpdateBusinessLocationIdsRequest {\n  /**\n   * modifier ids\n   * @format GUID\n   * @minSize 1\n   * @maxSize 100\n   */\n  modifierIds?: string[];\n  /**\n   * Business Location Ids.\n   * @maxSize 20\n   * @format GUID\n   */\n  businessLocationIds?: string[];\n}\n\nexport interface BulkUpdateBusinessLocationIdsResponse {\n  /**\n   * Information about the updated modifiers.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkUpdateBusinessLocationIdsResponseBulkItemResult[];\n}\n\nexport interface BulkUpdateBusinessLocationIdsResponseBulkItemResult {\n  /** Metadata for item update. */\n  itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkUpdateBusinessLocationIdsPerEntityRequest {\n  /**\n   * @minSize 1\n   * @maxSize 100\n   */\n  modifierIdLocationIds?: ModifierIdLocationIds[];\n}\n\nexport interface ModifierIdLocationIds {\n  /**\n   * modifier ID\n   * @format GUID\n   */\n  modifierId?: string;\n  /**\n   * Business Location IDs\n   * @maxSize 20\n   * @format GUID\n   */\n  businessLocationIds?: string[];\n}\n\nexport interface BulkUpdateBusinessLocationIdsPerEntityResponse {\n  /**\n   * Information about the updated modifiers.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResult[];\n}\n\nexport interface BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResult {\n  /** Metadata for item update. */\n  itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkUpdateAttachedToOrphanItemRequest {\n  /**\n   * @minSize 1\n   * @maxSize 100\n   */\n  modifierIdAttachedToOrphanItem?: ModifierIdAttachedToOrphanItem[];\n}\n\nexport interface ModifierIdAttachedToOrphanItem {\n  /**\n   * Modifier ID\n   * @format GUID\n   */\n  modifierId?: string;\n  /** Attached to orphan item */\n  attachedToOrphanItem?: boolean;\n}\n\nexport interface BulkUpdateAttachedToOrphanItemResponse {\n  /**\n   * Information about the updated modifiers.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkItemResult[];\n}\n\nexport interface BulkItemResult {\n  /** Metadata for item update. */\n  itemMetadata?: ItemMetadata;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n  id?: string;\n  /**\n   * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n   * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n   */\n  entityFqdn?: string;\n  /**\n   * Event action name, placed at the top level to make it easier for users to dispatch messages.\n   * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n   */\n  slug?: string;\n  /** ID of the entity associated with the event. */\n  entityId?: string;\n  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n  eventTime?: Date | null;\n  /**\n   * Whether the event was triggered as a result of a privacy regulation application\n   * (for example, GDPR).\n   */\n  triggeredByAnonymizeRequest?: boolean | null;\n  /** If present, indicates the action that triggered the event. */\n  originatedFrom?: string | null;\n  /**\n   * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n   * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n   */\n  entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n  entityAsJson?: string;\n  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n  restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n  deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n  /**\n   * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n   * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n   * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n   */\n  currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n  /** Entity that was deleted. */\n  deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n  bodyAsJson?: string;\n}\n\nexport interface Empty {}\n\nexport interface SyncContentToMultilingualRequest {\n  /**\n   * MetaSite ID\n   * @format GUID\n   */\n  metaSiteId?: string;\n}\n\nexport interface SyncContentToMultilingualResponse {}\n\nexport interface MessageEnvelope {\n  /**\n   * App instance ID.\n   * @format GUID\n   */\n  instanceId?: string | null;\n  /**\n   * Event type.\n   * @maxLength 150\n   */\n  eventType?: string;\n  /** The identification type and identity data. */\n  identity?: IdentificationData;\n  /** Stringify payload. */\n  data?: string;\n  /** Details related to the account */\n  accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n  /** @readonly */\n  identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n}\n\nexport enum WebhookIdentityType {\n  UNKNOWN = 'UNKNOWN',\n  ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n  MEMBER = 'MEMBER',\n  WIX_USER = 'WIX_USER',\n  APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n  | WebhookIdentityType\n  | 'UNKNOWN'\n  | 'ANONYMOUS_VISITOR'\n  | 'MEMBER'\n  | 'WIX_USER'\n  | 'APP';\n\nexport interface AccountInfo {\n  /**\n   * ID of the Wix account associated with the event.\n   * @format GUID\n   */\n  accountId?: string | null;\n  /**\n   * ID of the parent Wix account. Only included when accountId belongs to a child account.\n   * @format GUID\n   */\n  parentAccountId?: string | null;\n  /**\n   * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n   * @format GUID\n   */\n  siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type CountModifiersApplicationErrors = {\n  code?: 'TOO_MANY_TO_COUNT';\n  description?: string;\n  data?: Record<string, any>;\n};\n","import * as ambassadorWixRestaurantsMenusV1ItemModifier from './restaurants-menus-v1-item-modifier-item-modifiers.http.js';\nimport * as ambassadorWixRestaurantsMenusV1ItemModifierTypes from './restaurants-menus-v1-item-modifier-item-modifiers.types.js';\nimport * as ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes from './restaurants-menus-v1-item-modifier-item-modifiers.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 createModifier(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes.CreateModifierRequest,\n  ambassadorWixRestaurantsMenusV1ItemModifierTypes.CreateModifierRequest,\n  ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes.CreateModifierResponse,\n  ambassadorWixRestaurantsMenusV1ItemModifierTypes.CreateModifierResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsMenusV1ItemModifier.createModifier(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/modifiers',\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 getModifier(): __PublicMethodMetaInfo<\n  'GET',\n  { modifierId: string },\n  ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes.GetModifierRequest,\n  ambassadorWixRestaurantsMenusV1ItemModifierTypes.GetModifierRequest,\n  ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes.GetModifierResponse,\n  ambassadorWixRestaurantsMenusV1ItemModifierTypes.GetModifierResponse\n> {\n  const payload = { modifierId: ':modifierId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsMenusV1ItemModifier.getModifier(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/modifiers/{modifierId}',\n    pathParams: { modifierId: 'modifierId' },\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 listModifiers(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes.ListModifiersRequest,\n  ambassadorWixRestaurantsMenusV1ItemModifierTypes.ListModifiersRequest,\n  ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes.ListModifiersResponse,\n  ambassadorWixRestaurantsMenusV1ItemModifierTypes.ListModifiersResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsMenusV1ItemModifier.listModifiers(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/modifiers',\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 updateModifier(): __PublicMethodMetaInfo<\n  'PATCH',\n  { modifierId: string },\n  ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes.UpdateModifierRequest,\n  ambassadorWixRestaurantsMenusV1ItemModifierTypes.UpdateModifierRequest,\n  ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes.UpdateModifierResponse,\n  ambassadorWixRestaurantsMenusV1ItemModifierTypes.UpdateModifierResponse\n> {\n  const payload = { modifier: { id: ':modifierId' } } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsMenusV1ItemModifier.updateModifier(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/modifiers/{modifier.id}',\n    pathParams: { modifierId: 'modifierId' },\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 bulkCreateModifiers(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes.BulkCreateModifiersRequest,\n  ambassadorWixRestaurantsMenusV1ItemModifierTypes.BulkCreateModifiersRequest,\n  ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes.BulkCreateModifiersResponse,\n  ambassadorWixRestaurantsMenusV1ItemModifierTypes.BulkCreateModifiersResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsMenusV1ItemModifier.bulkCreateModifiers(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/modifiers/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 bulkUpdateModifiers(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes.BulkUpdateModifiersRequest,\n  ambassadorWixRestaurantsMenusV1ItemModifierTypes.BulkUpdateModifiersRequest,\n  ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes.BulkUpdateModifiersResponse,\n  ambassadorWixRestaurantsMenusV1ItemModifierTypes.BulkUpdateModifiersResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsMenusV1ItemModifier.bulkUpdateModifiers(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/modifiers/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 deleteModifier(): __PublicMethodMetaInfo<\n  'DELETE',\n  { modifierId: string },\n  ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes.DeleteModifierRequest,\n  ambassadorWixRestaurantsMenusV1ItemModifierTypes.DeleteModifierRequest,\n  ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes.DeleteModifierResponse,\n  ambassadorWixRestaurantsMenusV1ItemModifierTypes.DeleteModifierResponse\n> {\n  const payload = { modifierId: ':modifierId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsMenusV1ItemModifier.deleteModifier(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/modifiers/{modifierId}',\n    pathParams: { modifierId: 'modifierId' },\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 queryModifiers(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes.QueryModifiersRequest,\n  ambassadorWixRestaurantsMenusV1ItemModifierTypes.QueryModifiersRequest,\n  ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes.QueryModifiersResponse,\n  ambassadorWixRestaurantsMenusV1ItemModifierTypes.QueryModifiersResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsMenusV1ItemModifier.queryModifiers(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/modifiers/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 countModifiers(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes.CountModifiersRequest,\n  ambassadorWixRestaurantsMenusV1ItemModifierTypes.CountModifiersRequest,\n  ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes.CountModifiersResponse,\n  ambassadorWixRestaurantsMenusV1ItemModifierTypes.CountModifiersResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsMenusV1ItemModifier.countModifiers(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/modifiers/count',\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 bulkDeleteModifiers(): __PublicMethodMetaInfo<\n  'DELETE',\n  {},\n  ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes.BulkDeleteModifiersRequest,\n  ambassadorWixRestaurantsMenusV1ItemModifierTypes.BulkDeleteModifiersRequest,\n  ambassadorWixRestaurantsMenusV1ItemModifierUniversalTypes.BulkDeleteModifiersResponse,\n  ambassadorWixRestaurantsMenusV1ItemModifierTypes.BulkDeleteModifiersResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixRestaurantsMenusV1ItemModifier.bulkDeleteModifiers(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/bulk/modifiers/delete',\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 {\n  Modifier as ModifierOriginal,\n  ExtendedFields as ExtendedFieldsOriginal,\n  ExternalReferenceInfo as ExternalReferenceInfoOriginal,\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  CreateModifierRequest as CreateModifierRequestOriginal,\n  CreateModifierResponse as CreateModifierResponseOriginal,\n  GetModifierRequest as GetModifierRequestOriginal,\n  GetModifierResponse as GetModifierResponseOriginal,\n  ListModifiersRequest as ListModifiersRequestOriginal,\n  CursorPaging as CursorPagingOriginal,\n  ListModifiersResponse as ListModifiersResponseOriginal,\n  CursorPagingMetadata as CursorPagingMetadataOriginal,\n  Cursors as CursorsOriginal,\n  UpdateModifierRequest as UpdateModifierRequestOriginal,\n  UpdateModifierResponse as UpdateModifierResponseOriginal,\n  BulkCreateModifiersRequest as BulkCreateModifiersRequestOriginal,\n  BulkCreateModifiersResponse as BulkCreateModifiersResponseOriginal,\n  BulkCreateModifierResult as BulkCreateModifierResultOriginal,\n  ItemMetadata as ItemMetadataOriginal,\n  ApplicationError as ApplicationErrorOriginal,\n  BulkActionMetadata as BulkActionMetadataOriginal,\n  BulkUpdateModifiersRequest as BulkUpdateModifiersRequestOriginal,\n  MaskedModifier as MaskedModifierOriginal,\n  BulkUpdateModifiersResponse as BulkUpdateModifiersResponseOriginal,\n  BulkUpdateModifierResult as BulkUpdateModifierResultOriginal,\n  DeleteModifierRequest as DeleteModifierRequestOriginal,\n  DeleteModifierResponse as DeleteModifierResponseOriginal,\n  QueryModifiersRequest as QueryModifiersRequestOriginal,\n  CursorQuery as CursorQueryOriginal,\n  CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  QueryModifiersResponse as QueryModifiersResponseOriginal,\n  CountModifiersRequest as CountModifiersRequestOriginal,\n  CountModifiersResponse as CountModifiersResponseOriginal,\n  BulkDeleteModifiersRequest as BulkDeleteModifiersRequestOriginal,\n  BulkDeleteModifiersResponse as BulkDeleteModifiersResponseOriginal,\n  BulkDeleteModifiersResult as BulkDeleteModifiersResultOriginal,\n  CloneModifiersRequest as CloneModifiersRequestOriginal,\n  CloneModifiersResponse as CloneModifiersResponseOriginal,\n  BulkUpdateBusinessLocationIdsRequest as BulkUpdateBusinessLocationIdsRequestOriginal,\n  BulkUpdateBusinessLocationIdsResponse as BulkUpdateBusinessLocationIdsResponseOriginal,\n  BulkUpdateBusinessLocationIdsResponseBulkItemResult as BulkUpdateBusinessLocationIdsResponseBulkItemResultOriginal,\n  BulkUpdateBusinessLocationIdsPerEntityRequest as BulkUpdateBusinessLocationIdsPerEntityRequestOriginal,\n  ModifierIdLocationIds as ModifierIdLocationIdsOriginal,\n  BulkUpdateBusinessLocationIdsPerEntityResponse as BulkUpdateBusinessLocationIdsPerEntityResponseOriginal,\n  BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResult as BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResultOriginal,\n  BulkUpdateAttachedToOrphanItemRequest as BulkUpdateAttachedToOrphanItemRequestOriginal,\n  ModifierIdAttachedToOrphanItem as ModifierIdAttachedToOrphanItemOriginal,\n  BulkUpdateAttachedToOrphanItemResponse as BulkUpdateAttachedToOrphanItemResponseOriginal,\n  BulkItemResult as BulkItemResultOriginal,\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  Empty as EmptyOriginal,\n  SyncContentToMultilingualRequest as SyncContentToMultilingualRequestOriginal,\n  SyncContentToMultilingualResponse as SyncContentToMultilingualResponseOriginal,\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  CountModifiersApplicationErrors as CountModifiersApplicationErrorsOriginal,\n} from './restaurants-menus-v1-item-modifier-item-modifiers.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,4DACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,kBAAkB;AAAA,MAChB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;A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der","WebhookIdentityType","createModifier","getModifier","listModifiers","updateModifier","bulkCreateModifiers","bulkUpdateModifiers","deleteModifier","queryModifiers","countModifiers","bulkDeleteModifiers"]}