@wix/auto_sdk_restaurants_item-modifier-groups 1.0.64 → 1.0.65

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.
@@ -130,6 +130,10 @@ interface InvalidateCache extends InvalidateCacheGetByOneOf {
130
130
  file?: File;
131
131
  /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
132
132
  customTag?: CustomTag;
133
+ /** Invalidate by multiple page ids */
134
+ pages?: Pages;
135
+ /** Invalidate by multiple URI paths */
136
+ uris?: URIs;
133
137
  /**
134
138
  * tell us why you're invalidating the cache. You don't need to add your app name
135
139
  * @maxLength 256
@@ -138,6 +142,14 @@ interface InvalidateCache extends InvalidateCacheGetByOneOf {
138
142
  /** Is local DS */
139
143
  localDc?: boolean;
140
144
  hardPurge?: boolean;
145
+ /**
146
+ * Optional caller-provided ID for tracking this invalidation through the system.
147
+ * When set, the corresponding CDN purge completion event will include this ID,
148
+ * allowing you to confirm when the invalidation has fully propagated.
149
+ * Example: generate a UUID, pass it here, and later match it in the CDN purge completion event.
150
+ * @maxLength 256
151
+ */
152
+ correlationId?: string | null;
141
153
  }
142
154
  /** @oneof */
143
155
  interface InvalidateCacheGetByOneOf {
@@ -161,6 +173,10 @@ interface InvalidateCacheGetByOneOf {
161
173
  file?: File;
162
174
  /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */
163
175
  customTag?: CustomTag;
176
+ /** Invalidate by multiple page ids */
177
+ pages?: Pages;
178
+ /** Invalidate by multiple URI paths */
179
+ uris?: URIs;
164
180
  }
165
181
  interface App {
166
182
  /**
@@ -224,6 +240,32 @@ interface CustomTag {
224
240
  */
225
241
  tag?: string;
226
242
  }
243
+ interface Pages {
244
+ /**
245
+ * the msid the pages are on
246
+ * @format GUID
247
+ */
248
+ metaSiteId?: string;
249
+ /**
250
+ * Invalidate by multiple Page IDs in a single message
251
+ * @maxSize 100
252
+ * @minLength 1
253
+ */
254
+ pageIds?: string[];
255
+ }
256
+ interface URIs {
257
+ /**
258
+ * the msid the URIs are on
259
+ * @format GUID
260
+ */
261
+ metaSiteId?: string;
262
+ /**
263
+ * URI paths to invalidate (e.g. page/my/path) - without leading/trailing slashes
264
+ * @maxSize 100
265
+ * @minLength 1
266
+ */
267
+ uriPaths?: string[];
268
+ }
227
269
  interface DeleteLocationIdsFromModifiers {
228
270
  /**
229
271
  * @format GUID
@@ -788,4 +830,4 @@ declare function bulkCreateModifierGroups(): __PublicMethodMetaInfo<'POST', {},
788
830
  declare function bulkUpdateModifierGroups(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateModifierGroupsRequest$1, BulkUpdateModifierGroupsRequest, BulkUpdateModifierGroupsResponse$1, BulkUpdateModifierGroupsResponse>;
789
831
  declare function bulkDeleteModifierGroups(): __PublicMethodMetaInfo<'DELETE', {}, BulkDeleteModifierGroupsRequest$1, BulkDeleteModifierGroupsRequest, BulkDeleteModifierGroupsResponse$1, BulkDeleteModifierGroupsResponse>;
790
832
 
791
- export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddModifiersToGroupUnlimitedRequest as AddModifiersToGroupUnlimitedRequestOriginal, type AddModifiersToGroupUnlimitedResponse as AddModifiersToGroupUnlimitedResponseOriginal, type AdditionalChargeInfo as AdditionalChargeInfoOriginal, type App as AppOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateModifierGroupsRequest as BulkCreateModifierGroupsRequestOriginal, type BulkCreateModifierGroupsResponse as BulkCreateModifierGroupsResponseOriginal, type BulkCreateModifierGroupsResult as BulkCreateModifierGroupsResultOriginal, type BulkDeleteModifierGroupsRequest as BulkDeleteModifierGroupsRequestOriginal, type BulkDeleteModifierGroupsResponse as BulkDeleteModifierGroupsResponseOriginal, type BulkDeleteModifierGroupsResult as BulkDeleteModifierGroupsResultOriginal, type BulkItemResult as BulkItemResultOriginal, type BulkUpdateAttachedToOrphanItemRequest as BulkUpdateAttachedToOrphanItemRequestOriginal, type BulkUpdateAttachedToOrphanItemResponse as BulkUpdateAttachedToOrphanItemResponseOriginal, type BulkUpdateBusinessLocationIdsPerEntityRequest as BulkUpdateBusinessLocationIdsPerEntityRequestOriginal, type BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResult as BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResultOriginal, type BulkUpdateBusinessLocationIdsPerEntityResponse as BulkUpdateBusinessLocationIdsPerEntityResponseOriginal, type BulkUpdateBusinessLocationIdsRequest as BulkUpdateBusinessLocationIdsRequestOriginal, type BulkUpdateBusinessLocationIdsResponseBulkItemResult as BulkUpdateBusinessLocationIdsResponseBulkItemResultOriginal, type BulkUpdateBusinessLocationIdsResponse as BulkUpdateBusinessLocationIdsResponseOriginal, type BulkUpdateModifierGroupsRequest as BulkUpdateModifierGroupsRequestOriginal, type BulkUpdateModifierGroupsResponse as BulkUpdateModifierGroupsResponseOriginal, type BulkUpdateModifierGroupsResult as BulkUpdateModifierGroupsResultOriginal, type CloneModifierGroupsRequest as CloneModifierGroupsRequestOriginal, type CloneModifierGroupsResponse as CloneModifierGroupsResponseOriginal, type CountModifierGroupsApplicationErrors as CountModifierGroupsApplicationErrorsOriginal, type CountModifierGroupsRequest as CountModifierGroupsRequestOriginal, type CountModifierGroupsResponse as CountModifierGroupsResponseOriginal, type CreateModifierGroupRequest as CreateModifierGroupRequestOriginal, type CreateModifierGroupResponse as CreateModifierGroupResponseOriginal, 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 DeleteLocationIdsFromModifiers as DeleteLocationIdsFromModifiersOriginal, type DeleteModifierGroupRequest as DeleteModifierGroupRequestOriginal, type DeleteModifierGroupResponse as DeleteModifierGroupResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, 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 GetModifierGroupRequest as GetModifierGroupRequestOriginal, type GetModifierGroupResponse as GetModifierGroupResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal, type InvalidateCache as InvalidateCacheOriginal, type ItemMetadata as ItemMetadataOriginal, type ListModifierGroupRequest as ListModifierGroupRequestOriginal, type ListModifierGroupResponse as ListModifierGroupResponseOriginal, type MaskedModifierGroup as MaskedModifierGroupOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroupIdAttachedToOrphanItem as ModifierGroupIdAttachedToOrphanItemOriginal, type ModifierGroupIdLocationIds as ModifierGroupIdLocationIdsOriginal, type ModifierGroup as ModifierGroupOriginal, type Modifier as ModifierOriginal, type Page as PageOriginal, type QueryModifierGroupsRequest as QueryModifierGroupsRequestOriginal, type QueryModifierGroupsResponse as QueryModifierGroupsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type Rule as RuleOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SyncContentToMultilingualRequest as SyncContentToMultilingualRequestOriginal, type SyncContentToMultilingualResponse as SyncContentToMultilingualResponseOriginal, type URI as URIOriginal, type UpdateModifierGroupRequest as UpdateModifierGroupRequestOriginal, type UpdateModifierGroupResponse as UpdateModifierGroupResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCreateModifierGroups, bulkDeleteModifierGroups, bulkUpdateModifierGroups, countModifierGroups, createModifierGroup, deleteModifierGroup, getModifierGroup, listModifierGroups, queryModifierGroups, updateModifierGroup };
833
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddModifiersToGroupUnlimitedRequest as AddModifiersToGroupUnlimitedRequestOriginal, type AddModifiersToGroupUnlimitedResponse as AddModifiersToGroupUnlimitedResponseOriginal, type AdditionalChargeInfo as AdditionalChargeInfoOriginal, type App as AppOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateModifierGroupsRequest as BulkCreateModifierGroupsRequestOriginal, type BulkCreateModifierGroupsResponse as BulkCreateModifierGroupsResponseOriginal, type BulkCreateModifierGroupsResult as BulkCreateModifierGroupsResultOriginal, type BulkDeleteModifierGroupsRequest as BulkDeleteModifierGroupsRequestOriginal, type BulkDeleteModifierGroupsResponse as BulkDeleteModifierGroupsResponseOriginal, type BulkDeleteModifierGroupsResult as BulkDeleteModifierGroupsResultOriginal, type BulkItemResult as BulkItemResultOriginal, type BulkUpdateAttachedToOrphanItemRequest as BulkUpdateAttachedToOrphanItemRequestOriginal, type BulkUpdateAttachedToOrphanItemResponse as BulkUpdateAttachedToOrphanItemResponseOriginal, type BulkUpdateBusinessLocationIdsPerEntityRequest as BulkUpdateBusinessLocationIdsPerEntityRequestOriginal, type BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResult as BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResultOriginal, type BulkUpdateBusinessLocationIdsPerEntityResponse as BulkUpdateBusinessLocationIdsPerEntityResponseOriginal, type BulkUpdateBusinessLocationIdsRequest as BulkUpdateBusinessLocationIdsRequestOriginal, type BulkUpdateBusinessLocationIdsResponseBulkItemResult as BulkUpdateBusinessLocationIdsResponseBulkItemResultOriginal, type BulkUpdateBusinessLocationIdsResponse as BulkUpdateBusinessLocationIdsResponseOriginal, type BulkUpdateModifierGroupsRequest as BulkUpdateModifierGroupsRequestOriginal, type BulkUpdateModifierGroupsResponse as BulkUpdateModifierGroupsResponseOriginal, type BulkUpdateModifierGroupsResult as BulkUpdateModifierGroupsResultOriginal, type CloneModifierGroupsRequest as CloneModifierGroupsRequestOriginal, type CloneModifierGroupsResponse as CloneModifierGroupsResponseOriginal, type CountModifierGroupsApplicationErrors as CountModifierGroupsApplicationErrorsOriginal, type CountModifierGroupsRequest as CountModifierGroupsRequestOriginal, type CountModifierGroupsResponse as CountModifierGroupsResponseOriginal, type CreateModifierGroupRequest as CreateModifierGroupRequestOriginal, type CreateModifierGroupResponse as CreateModifierGroupResponseOriginal, 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 DeleteLocationIdsFromModifiers as DeleteLocationIdsFromModifiersOriginal, type DeleteModifierGroupRequest as DeleteModifierGroupRequestOriginal, type DeleteModifierGroupResponse as DeleteModifierGroupResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, 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 GetModifierGroupRequest as GetModifierGroupRequestOriginal, type GetModifierGroupResponse as GetModifierGroupResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal, type InvalidateCache as InvalidateCacheOriginal, type ItemMetadata as ItemMetadataOriginal, type ListModifierGroupRequest as ListModifierGroupRequestOriginal, type ListModifierGroupResponse as ListModifierGroupResponseOriginal, type MaskedModifierGroup as MaskedModifierGroupOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroupIdAttachedToOrphanItem as ModifierGroupIdAttachedToOrphanItemOriginal, type ModifierGroupIdLocationIds as ModifierGroupIdLocationIdsOriginal, type ModifierGroup as ModifierGroupOriginal, type Modifier as ModifierOriginal, type Page as PageOriginal, type Pages as PagesOriginal, type QueryModifierGroupsRequest as QueryModifierGroupsRequestOriginal, type QueryModifierGroupsResponse as QueryModifierGroupsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type Rule as RuleOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SyncContentToMultilingualRequest as SyncContentToMultilingualRequestOriginal, type SyncContentToMultilingualResponse as SyncContentToMultilingualResponseOriginal, type URI as URIOriginal, type URIs as URIsOriginal, type UpdateModifierGroupRequest as UpdateModifierGroupRequestOriginal, type UpdateModifierGroupResponse as UpdateModifierGroupResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCreateModifierGroups, bulkDeleteModifierGroups, bulkUpdateModifierGroups, countModifierGroups, createModifierGroup, deleteModifierGroup, getModifierGroup, listModifierGroups, queryModifierGroups, updateModifierGroup };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.http.ts","../../src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.types.ts","../../src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.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 resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/restaurants-modifier-group',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/modifiers-groups/delete',\n destPath: '/v1/bulk/modifiers-groups/delete',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/modifiers-groups/update',\n destPath: '/v1/bulk/modifiers-groups/update',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/modifier-groups/create',\n destPath: '/v1/bulk/modifier-groups/create',\n },\n {\n srcPath: '/restaurants/menus/v1/modifier-groups',\n destPath: '/v1/modifier-groups',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/restaurants-modifier-group',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/restaurants-modifier-group',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/restaurants-modifier-group',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/restaurants-modifier-group',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/restaurants-modifier-group',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/restaurants-modifier-group',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/modifiers-groups/delete',\n destPath: '/v1/bulk/modifiers-groups/delete',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/modifiers-groups/update',\n destPath: '/v1/bulk/modifiers-groups/update',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/modifier-groups/create',\n destPath: '/v1/bulk/modifier-groups/create',\n },\n {\n srcPath: '/restaurants/menus/v1/modifier-groups',\n destPath: '/v1/modifier-groups',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/restaurants-modifier-group',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/restaurants-modifier-group',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/restaurants/item-modifier-group',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/modifier-groups/create',\n destPath: '/v1/bulk/modifier-groups/create',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/modifiers-groups/delete',\n destPath: '/v1/bulk/modifiers-groups/delete',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/modifiers-groups/update',\n destPath: '/v1/bulk/modifiers-groups/update',\n },\n {\n srcPath: '/restaurants/menus/v1/modifier-groups',\n destPath: '/v1/modifier-groups',\n },\n ],\n 'apps._base_domain_': [\n {\n srcPath: '/_api/restaurants-modifier-group',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_restaurants_item-modifier-groups';\n\n/**\n * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Creates a modifier group.\n *\n * To create multiple modifier groups at once, use [Bulk Create Modifiers](https://dev.wix.com/docs/rest/business-solutions/restaurants/menus/item-modifier-groups/bulk-create-modifier-groups).\n */\nexport function createModifierGroup(\n payload: object\n): RequestOptionsFactory<any> {\n function __createModifierGroup({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'modifierGroup.createdDate' },\n { path: 'modifierGroup.updatedDate' },\n { path: 'modifierGroup.externalReferenceInfo.lastSyncDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.item_modifier_group',\n method: 'POST' as any,\n methodFqn:\n 'wix.restaurants.menus.v1.ModifierGroupsService.CreateModifierGroup',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl({\n protoPath: '/v1/modifier-groups',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'modifierGroup.createdDate' },\n { path: 'modifierGroup.updatedDate' },\n { path: 'modifierGroup.externalReferenceInfo.lastSyncDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createModifierGroup;\n}\n\n/**\n * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Retrieves a modifier group by the ID.\n */\nexport function getModifierGroup(payload: object): RequestOptionsFactory<any> {\n function __getModifierGroup({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.item_modifier_group',\n method: 'GET' as any,\n methodFqn:\n 'wix.restaurants.menus.v1.ModifierGroupsService.GetModifierGroup',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl({\n protoPath: '/v1/modifier-groups/{modifierGroupId}',\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: 'modifierGroup.createdDate' },\n { path: 'modifierGroup.updatedDate' },\n { path: 'modifierGroup.externalReferenceInfo.lastSyncDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getModifierGroup;\n}\n\n/**\n * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Retrieves a list of up to 500 modifier groups.\n */\nexport function listModifierGroups(\n payload: object\n): RequestOptionsFactory<any> {\n function __listModifierGroups({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.item_modifier_group',\n method: 'GET' as any,\n methodFqn:\n 'wix.restaurants.menus.v1.ModifierGroupsService.ListModifierGroups',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl({\n protoPath: '/v1/modifier-groups',\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: 'modifierGroups.createdDate' },\n { path: 'modifierGroups.updatedDate' },\n { path: 'modifierGroups.externalReferenceInfo.lastSyncDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listModifierGroups;\n}\n\n/**\n * Creates a query to retrieve a list of item modifier groups.\n *\n * The `queryModifierGroups()` function builds a query to retrieve a list of item modifier groups and returns a `ModifierGroupsQueryBuilder` object.\n *\n * The returned object contains the query definition, which is used to run the query using the [`find()`](/item-modifier-groups/modifier-groups-query-builder/find) function.\n *\n * You can refine the query by chaining `ModifierGroupsQueryBuilder` functions onto the query. `ModifierGroupsQueryBuilder` functions enable you to filter, sort, and control the results that `queryModifierGroups()` returns.\n *\n * `queryModifierGroups()` runs with the following `ModifierGroupsQueryBuilder` defaults, which you can override:\n *\n * * [`limit(500)`](/item-modifier-groups/modifier-groups-query-builder/limit)\n *\n * The following `ModifierGroupsQueryBuilder` functions are supported for `queryModifierGroups()`. For a full description of the item modifier group object, see the object returned for the [`items`](/item-modifier-groups/modifier-groups-query-result/items) property in `ModifierGroupsQueryResult`.\n */\nexport function queryModifierGroups(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryModifierGroups({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.item_modifier_group',\n method: 'POST' as any,\n methodFqn:\n 'wix.restaurants.menus.v1.ModifierGroupsService.QueryModifierGroups',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl({\n protoPath: '/v1/modifier-groups/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: 'modifierGroups.createdDate' },\n { path: 'modifierGroups.updatedDate' },\n { path: 'modifierGroups.externalReferenceInfo.lastSyncDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryModifierGroups;\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 modifier groups that match a specified filter.\n *\n * If a filter isn't passed in the request, the endpoint returns the count of all modifier groups.\n */\nexport function countModifierGroups(\n payload: object\n): RequestOptionsFactory<any> {\n function __countModifierGroups({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.item_modifier_group',\n method: 'POST' as any,\n methodFqn:\n 'wix.restaurants.menus.v1.ModifierGroupsService.CountModifierGroups',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl({\n protoPath: '/v1/modifier-groups/count',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __countModifierGroups;\n}\n\n/**\n * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Updates a modifier group.\n *\n * Each time a modifier group is updated, its revision increments by 1. The existing revision must be included when updating the modifier group. This ensures you're working with the latest modifier group information, and it prevents unintended overwrites.\n */\nexport function updateModifierGroup(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateModifierGroup({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'mask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'modifierGroup.createdDate' },\n { path: 'modifierGroup.updatedDate' },\n { path: 'modifierGroup.externalReferenceInfo.lastSyncDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.item_modifier_group',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.restaurants.menus.v1.ModifierGroupsService.UpdateModifierGroup',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl({\n protoPath: '/v1/modifier-groups/{modifierGroup.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: 'modifierGroup.createdDate' },\n { path: 'modifierGroup.updatedDate' },\n { path: 'modifierGroup.externalReferenceInfo.lastSyncDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateModifierGroup;\n}\n\n/**\n * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Deletes a modifier group.\n */\nexport function deleteModifierGroup(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteModifierGroup({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.item_modifier_group',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.restaurants.menus.v1.ModifierGroupsService.DeleteModifierGroup',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl({\n protoPath: '/v1/modifier-groups/{modifierGroupId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteModifierGroup;\n}\n\n/**\n * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Creates multiple modifier groups.\n */\nexport function bulkCreateModifierGroups(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateModifierGroups({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'modifierGroups.createdDate' },\n { path: 'modifierGroups.updatedDate' },\n { path: 'modifierGroups.externalReferenceInfo.lastSyncDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.item_modifier_group',\n method: 'POST' as any,\n methodFqn:\n 'wix.restaurants.menus.v1.ModifierGroupsService.BulkCreateModifierGroups',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl({\n protoPath: '/v1/bulk/modifier-groups/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.modifierGroup.createdDate' },\n { path: 'results.modifierGroup.updatedDate' },\n {\n path: 'results.modifierGroup.externalReferenceInfo.lastSyncDate',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateModifierGroups;\n}\n\n/**\n * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Updates multiple item modifier groups at once. This function supports partial updates.\n * Each time a modifier group is updated, its revision increments by 1. The existing revision must be included when updating an item modifier group. This ensures you're working with the latest item information, and prevents unintended overwrites.\n * Up to 100 modifier groups can be returned per request.\n */\nexport function bulkUpdateModifierGroups(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateModifierGroups({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'modifierGroups.mask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'modifierGroups.modifierGroup.createdDate' },\n { path: 'modifierGroups.modifierGroup.updatedDate' },\n {\n path: 'modifierGroups.modifierGroup.externalReferenceInfo.lastSyncDate',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.item_modifier_group',\n method: 'POST' as any,\n methodFqn:\n 'wix.restaurants.menus.v1.ModifierGroupsService.BulkUpdateModifierGroups',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl({\n protoPath: '/v1/bulk/modifiers-groups/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.modifierGroup.createdDate' },\n { path: 'results.modifierGroup.updatedDate' },\n {\n path: 'results.modifierGroup.externalReferenceInfo.lastSyncDate',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateModifierGroups;\n}\n\nexport function bulkDeleteModifierGroups(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteModifierGroups({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.item_modifier_group',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.restaurants.menus.v1.ModifierGroupsService.BulkDeleteModifierGroups',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl({\n protoPath: '/v1/bulk/modifiers-groups/delete',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __bulkDeleteModifierGroups;\n}\n","export interface ModifierGroup {\n /**\n * Modifier group ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Revision number, which increments by 1 each time the modifier group is updated. To prevent conflicting changes, the current revision must be passed when updating the modifier group. Ignored when creating a modifier group.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the modifier group was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the modifier group was updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Modifier group name.\n * @minLength 1\n * @maxLength 100\n */\n name?: string | null;\n /**\n * Group of item modifiers.\n * @maxSize 500\n */\n modifiers?: Modifier[];\n /** Modifier group details. */\n rule?: Rule;\n /** Extended fields. */\n extendedFields?: ExtendedFields;\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 modifier groups are available.\n * @maxSize 100\n * @format GUID\n * @readonly\n */\n businessLocationIds?: string[];\n}\n\nexport interface Modifier {\n /**\n * Item modifier ID.\n * @format GUID\n */\n id?: string;\n /**\n * Whether the item modifier is pre-selected.\n * Default: `false`.\n */\n preSelected?: boolean | null;\n /** Item modifier price details. */\n additionalChargeInfo?: AdditionalChargeInfo;\n}\n\nexport interface AdditionalChargeInfo {\n /**\n * Additional charge for the item modifier. A value of `0` means the item modifier is free.\n * @decimalValue options { gte:0.00, maxScale:3 }\n */\n additionalCharge?: string | null;\n}\n\nexport interface Rule {\n /** Whether the items from the modifier group must be selected. */\n required?: boolean | null;\n /**\n * Minimum number of item modifiers a site visitor must select. The value must be lower or equal to the available item modifiers in the group.\n * Default: `0`.\n * @max 25\n */\n minSelections?: number | null;\n /**\n * Maximum number of item modifiers a site visitor may select. Must be greater than or equal to the value of `minSelections`.\n * @max 25\n */\n maxSelections?: number | null;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\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 modifier group 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 /**\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\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}\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 DeleteLocationIdsFromModifiers {\n /**\n * @format GUID\n * @maxSize 100\n */\n businessLocationIds?: string[];\n /**\n * @format GUID\n * @maxSize 1000\n */\n modifierIds?: string[];\n}\n\nexport interface CreateModifierGroupRequest {\n /** Modifier group details. */\n modifierGroup: ModifierGroup;\n}\n\nexport interface CreateModifierGroupResponse {\n /** Modifier group. */\n modifierGroup?: ModifierGroup;\n}\n\nexport interface GetModifierGroupRequest {\n /**\n * Modifier group ID.\n * @format GUID\n */\n modifierGroupId: string;\n}\n\nexport interface GetModifierGroupResponse {\n /** Modifier group. */\n modifierGroup?: ModifierGroup;\n}\n\nexport interface ListModifierGroupRequest {\n /**\n * Modifier group IDs.\n * @format GUID\n * @maxSize 500\n */\n modifierGroupIds?: string[];\n /** The metadata of the paginated results. */\n paging?: CursorPaging;\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 ListModifierGroupResponse {\n /** Retrieved modifier groups. */\n modifierGroups?: ModifierGroup[];\n /** The 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 /** 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 QueryModifierGroupsRequest {\n /** Query options. */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface QueryModifierGroupsResponse {\n /** Retrieved modifier groups. */\n modifierGroups?: ModifierGroup[];\n /** Metadata of the paginated results. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CountModifierGroupsRequest {\n /** Filter for counting modifier groups. */\n filter?: Record<string, any> | null;\n}\n\nexport interface CountModifierGroupsResponse {\n /** Counted modifier groups. */\n count?: number;\n}\n\nexport interface UpdateModifierGroupRequest {\n /** Modifier group to update. */\n modifierGroup: ModifierGroup;\n}\n\nexport interface UpdateModifierGroupResponse {\n /** Updated modifier group. */\n modifierGroup?: ModifierGroup;\n}\n\nexport interface DeleteModifierGroupRequest {\n /**\n * Modifier group ID.\n * @format GUID\n */\n modifierGroupId: string;\n}\n\nexport interface DeleteModifierGroupResponse {}\n\nexport interface BulkCreateModifierGroupsRequest {\n /**\n * Modifier groups details.\n * @maxSize 100\n */\n modifierGroups: ModifierGroup[];\n /** Whether to receive the created modifier groups in the response. */\n returnEntity?: boolean;\n}\n\nexport interface BulkCreateModifierGroupsResponse {\n /** Information about the created modifier groups. */\n results?: BulkCreateModifierGroupsResult[];\n /** Metadata for the API call. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkCreateModifierGroupsResult {\n /** Metadata for group modifier creation. */\n itemMetadata?: ItemMetadata;\n /** Created modifier group. */\n modifierGroup?: ModifierGroup;\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 BulkUpdateModifierGroupsRequest {\n /**\n * Modifier groups to update.\n * @minSize 1\n * @maxSize 100\n */\n modifierGroups: MaskedModifierGroup[];\n /** Whether to receive the updated modifier groups in the response. */\n returnEntity?: boolean;\n}\n\nexport interface MaskedModifierGroup {\n /** Modifier group to update. */\n modifierGroup?: ModifierGroup;\n /** Explicit list of fields to update. */\n mask?: string[];\n}\n\nexport interface BulkUpdateModifierGroupsResponse {\n /**\n * Information about the updated modifier groups.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdateModifierGroupsResult[];\n /** Metadata for the API call. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateModifierGroupsResult {\n /** Metadata for group modifier update. */\n itemMetadata?: ItemMetadata;\n /** Updated modifier group. Only returned if `returnEntity` is set to `true`. */\n modifierGroup?: ModifierGroup;\n}\n\nexport interface BulkDeleteModifierGroupsRequest {\n /**\n * Modifier Group IDs.\n * @format GUID\n * @maxSize 200\n */\n ids: string[];\n}\n\nexport interface BulkDeleteModifierGroupsResponse {\n /** Information about the deleted modifier group. */\n results?: BulkDeleteModifierGroupsResult[];\n /** Metadata for the API call. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkDeleteModifierGroupsResult {\n /** Metadata for group modifier deletion. */\n itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkUpdateBusinessLocationIdsRequest {\n /**\n * Modifier group IDs\n * @format GUID\n * @minSize 1\n * @maxSize 100\n */\n modifierGroupIds?: string[];\n /**\n * Business Location IDs.\n * @maxSize 100\n * @format GUID\n */\n businessLocationIds?: string[];\n}\n\nexport interface BulkUpdateBusinessLocationIdsResponse {\n /**\n * Information about the updated modifier groups.\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 modifierGroupIdLocationIds?: ModifierGroupIdLocationIds[];\n}\n\nexport interface ModifierGroupIdLocationIds {\n /**\n * Modifier group ID\n * @format GUID\n */\n modifierGroupId?: string;\n /**\n * Business Location IDs\n * @maxSize 100\n * @format GUID\n */\n businessLocationIds?: string[];\n}\n\nexport interface BulkUpdateBusinessLocationIdsPerEntityResponse {\n /**\n * Information about the updated modifier groups.\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 modifierGroupIdAttachedToOrphanItem?: ModifierGroupIdAttachedToOrphanItem[];\n}\n\nexport interface ModifierGroupIdAttachedToOrphanItem {\n /**\n * Modifier group ID\n * @format GUID\n */\n modifierGroupId?: string;\n /** Attached to orphan item */\n attachedToOrphanItem?: boolean;\n}\n\nexport interface BulkUpdateAttachedToOrphanItemResponse {\n /**\n * Information about the updated modifier groups.\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 AddModifiersToGroupUnlimitedRequest {\n /**\n * Modifier group ID to add modifiers to.\n * @format GUID\n */\n modifierGroupId?: string;\n /**\n * List of modifier IDs to add to the modifier group. Limited to 500 items.\n * @format GUID\n * @minSize 1\n * @maxSize 500\n */\n modifierIds?: string[];\n}\n\nexport interface AddModifiersToGroupUnlimitedResponse {\n /** Updated modifier group with the new modifiers added. */\n modifierGroup?: ModifierGroup;\n}\n\nexport interface CloneModifierGroupsRequest {\n /**\n * The MetaSiteId to clone from.\n * @format GUID\n */\n metaSiteId?: string;\n}\n\nexport interface CloneModifierGroupsResponse {}\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 CountModifierGroupsApplicationErrors = {\n code?: 'TOO_MANY_TO_COUNT';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixRestaurantsMenusV1ItemModifierGroup from './restaurants-menus-v1-item-modifier-group-item-modifier-groups.http.js';\nimport * as ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes from './restaurants-menus-v1-item-modifier-group-item-modifier-groups.types.js';\nimport * as ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes from './restaurants-menus-v1-item-modifier-group-item-modifier-groups.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 createModifierGroup(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.CreateModifierGroupRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.CreateModifierGroupRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.CreateModifierGroupResponse,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.CreateModifierGroupResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1ItemModifierGroup.createModifierGroup(\n payload\n );\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/modifier-groups',\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 getModifierGroup(): __PublicMethodMetaInfo<\n 'GET',\n { modifierGroupId: string },\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.GetModifierGroupRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.GetModifierGroupRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.GetModifierGroupResponse,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.GetModifierGroupResponse\n> {\n const payload = { modifierGroupId: ':modifierGroupId' } as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1ItemModifierGroup.getModifierGroup(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/modifier-groups/{modifierGroupId}',\n pathParams: { modifierGroupId: 'modifierGroupId' },\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 listModifierGroups(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.ListModifierGroupRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.ListModifierGroupRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.ListModifierGroupResponse,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.ListModifierGroupResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1ItemModifierGroup.listModifierGroups(\n payload\n );\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/modifier-groups',\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 queryModifierGroups(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.QueryModifierGroupsRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.QueryModifierGroupsRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.QueryModifierGroupsResponse,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.QueryModifierGroupsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1ItemModifierGroup.queryModifierGroups(\n payload\n );\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/modifier-groups/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 countModifierGroups(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.CountModifierGroupsRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.CountModifierGroupsRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.CountModifierGroupsResponse,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.CountModifierGroupsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1ItemModifierGroup.countModifierGroups(\n payload\n );\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/modifier-groups/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 updateModifierGroup(): __PublicMethodMetaInfo<\n 'PATCH',\n { modifierGroupId: string },\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.UpdateModifierGroupRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.UpdateModifierGroupRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.UpdateModifierGroupResponse,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.UpdateModifierGroupResponse\n> {\n const payload = { modifierGroup: { id: ':modifierGroupId' } } as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1ItemModifierGroup.updateModifierGroup(\n payload\n );\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/modifier-groups/{modifierGroup.id}',\n pathParams: { modifierGroupId: 'modifierGroupId' },\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 deleteModifierGroup(): __PublicMethodMetaInfo<\n 'DELETE',\n { modifierGroupId: string },\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.DeleteModifierGroupRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.DeleteModifierGroupRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.DeleteModifierGroupResponse,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.DeleteModifierGroupResponse\n> {\n const payload = { modifierGroupId: ':modifierGroupId' } as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1ItemModifierGroup.deleteModifierGroup(\n payload\n );\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/modifier-groups/{modifierGroupId}',\n pathParams: { modifierGroupId: 'modifierGroupId' },\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 bulkCreateModifierGroups(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.BulkCreateModifierGroupsRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.BulkCreateModifierGroupsRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.BulkCreateModifierGroupsResponse,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.BulkCreateModifierGroupsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1ItemModifierGroup.bulkCreateModifierGroups(\n payload\n );\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/modifier-groups/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 bulkUpdateModifierGroups(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.BulkUpdateModifierGroupsRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.BulkUpdateModifierGroupsRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.BulkUpdateModifierGroupsResponse,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.BulkUpdateModifierGroupsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1ItemModifierGroup.bulkUpdateModifierGroups(\n payload\n );\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-groups/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 bulkDeleteModifierGroups(): __PublicMethodMetaInfo<\n 'DELETE',\n {},\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.BulkDeleteModifierGroupsRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.BulkDeleteModifierGroupsRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.BulkDeleteModifierGroupsResponse,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.BulkDeleteModifierGroupsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1ItemModifierGroup.bulkDeleteModifierGroups(\n payload\n );\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-groups/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 ModifierGroup as ModifierGroupOriginal,\n Modifier as ModifierOriginal,\n AdditionalChargeInfo as AdditionalChargeInfoOriginal,\n Rule as RuleOriginal,\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 DeleteLocationIdsFromModifiers as DeleteLocationIdsFromModifiersOriginal,\n CreateModifierGroupRequest as CreateModifierGroupRequestOriginal,\n CreateModifierGroupResponse as CreateModifierGroupResponseOriginal,\n GetModifierGroupRequest as GetModifierGroupRequestOriginal,\n GetModifierGroupResponse as GetModifierGroupResponseOriginal,\n ListModifierGroupRequest as ListModifierGroupRequestOriginal,\n CursorPaging as CursorPagingOriginal,\n ListModifierGroupResponse as ListModifierGroupResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n QueryModifierGroupsRequest as QueryModifierGroupsRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n QueryModifierGroupsResponse as QueryModifierGroupsResponseOriginal,\n CountModifierGroupsRequest as CountModifierGroupsRequestOriginal,\n CountModifierGroupsResponse as CountModifierGroupsResponseOriginal,\n UpdateModifierGroupRequest as UpdateModifierGroupRequestOriginal,\n UpdateModifierGroupResponse as UpdateModifierGroupResponseOriginal,\n DeleteModifierGroupRequest as DeleteModifierGroupRequestOriginal,\n DeleteModifierGroupResponse as DeleteModifierGroupResponseOriginal,\n BulkCreateModifierGroupsRequest as BulkCreateModifierGroupsRequestOriginal,\n BulkCreateModifierGroupsResponse as BulkCreateModifierGroupsResponseOriginal,\n BulkCreateModifierGroupsResult as BulkCreateModifierGroupsResultOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n BulkUpdateModifierGroupsRequest as BulkUpdateModifierGroupsRequestOriginal,\n MaskedModifierGroup as MaskedModifierGroupOriginal,\n BulkUpdateModifierGroupsResponse as BulkUpdateModifierGroupsResponseOriginal,\n BulkUpdateModifierGroupsResult as BulkUpdateModifierGroupsResultOriginal,\n BulkDeleteModifierGroupsRequest as BulkDeleteModifierGroupsRequestOriginal,\n BulkDeleteModifierGroupsResponse as BulkDeleteModifierGroupsResponseOriginal,\n BulkDeleteModifierGroupsResult as BulkDeleteModifierGroupsResultOriginal,\n BulkUpdateBusinessLocationIdsRequest as BulkUpdateBusinessLocationIdsRequestOriginal,\n BulkUpdateBusinessLocationIdsResponse as BulkUpdateBusinessLocationIdsResponseOriginal,\n BulkUpdateBusinessLocationIdsResponseBulkItemResult as BulkUpdateBusinessLocationIdsResponseBulkItemResultOriginal,\n BulkUpdateBusinessLocationIdsPerEntityRequest as BulkUpdateBusinessLocationIdsPerEntityRequestOriginal,\n ModifierGroupIdLocationIds as ModifierGroupIdLocationIdsOriginal,\n BulkUpdateBusinessLocationIdsPerEntityResponse as BulkUpdateBusinessLocationIdsPerEntityResponseOriginal,\n BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResult as BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResultOriginal,\n BulkUpdateAttachedToOrphanItemRequest as BulkUpdateAttachedToOrphanItemRequestOriginal,\n ModifierGroupIdAttachedToOrphanItem as ModifierGroupIdAttachedToOrphanItemOriginal,\n BulkUpdateAttachedToOrphanItemResponse as BulkUpdateAttachedToOrphanItemResponseOriginal,\n BulkItemResult as BulkItemResultOriginal,\n AddModifiersToGroupUnlimitedRequest as AddModifiersToGroupUnlimitedRequestOriginal,\n AddModifiersToGroupUnlimitedResponse as AddModifiersToGroupUnlimitedResponseOriginal,\n CloneModifierGroupsRequest as CloneModifierGroupsRequestOriginal,\n CloneModifierGroupsResponse as CloneModifierGroupsResponseOriginal,\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 CountModifierGroupsApplicationErrors as CountModifierGroupsApplicationErrorsOriginal,\n} from './restaurants-menus-v1-item-modifier-group-item-modifier-groups.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,qDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,sBAAsB;AAAA,MACpB;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,MACA;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,sBAAsB;AAAA,MACpB;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,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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;","names":["payload","SortOrder","WebhookIdentityType","createModifierGroup","getModifierGroup","listModifierGroups","queryModifierGroups","countModifierGroups","updateModifierGroup","deleteModifierGroup","bulkCreateModifierGroups","bulkUpdateModifierGroups","bulkDeleteModifierGroups"]}
1
+ {"version":3,"sources":["../../src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.http.ts","../../src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.types.ts","../../src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.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 resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/restaurants-modifier-group',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/modifiers-groups/delete',\n destPath: '/v1/bulk/modifiers-groups/delete',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/modifiers-groups/update',\n destPath: '/v1/bulk/modifiers-groups/update',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/modifier-groups/create',\n destPath: '/v1/bulk/modifier-groups/create',\n },\n {\n srcPath: '/restaurants/menus/v1/modifier-groups',\n destPath: '/v1/modifier-groups',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/restaurants-modifier-group',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/restaurants-modifier-group',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/restaurants-modifier-group',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/restaurants-modifier-group',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/restaurants-modifier-group',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/restaurants-modifier-group',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/modifiers-groups/delete',\n destPath: '/v1/bulk/modifiers-groups/delete',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/modifiers-groups/update',\n destPath: '/v1/bulk/modifiers-groups/update',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/modifier-groups/create',\n destPath: '/v1/bulk/modifier-groups/create',\n },\n {\n srcPath: '/restaurants/menus/v1/modifier-groups',\n destPath: '/v1/modifier-groups',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/restaurants-modifier-group',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/restaurants-modifier-group',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/restaurants/item-modifier-group',\n destPath: '',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/modifier-groups/create',\n destPath: '/v1/bulk/modifier-groups/create',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/modifiers-groups/delete',\n destPath: '/v1/bulk/modifiers-groups/delete',\n },\n {\n srcPath: '/restaurants/menus/v1/bulk/modifiers-groups/update',\n destPath: '/v1/bulk/modifiers-groups/update',\n },\n {\n srcPath: '/restaurants/menus/v1/modifier-groups',\n destPath: '/v1/modifier-groups',\n },\n ],\n 'apps._base_domain_': [\n {\n srcPath: '/_api/restaurants-modifier-group',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_restaurants_item-modifier-groups';\n\n/**\n * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Creates a modifier group.\n *\n * To create multiple modifier groups at once, use [Bulk Create Modifiers](https://dev.wix.com/docs/rest/business-solutions/restaurants/menus/item-modifier-groups/bulk-create-modifier-groups).\n */\nexport function createModifierGroup(\n payload: object\n): RequestOptionsFactory<any> {\n function __createModifierGroup({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'modifierGroup.createdDate' },\n { path: 'modifierGroup.updatedDate' },\n { path: 'modifierGroup.externalReferenceInfo.lastSyncDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.item_modifier_group',\n method: 'POST' as any,\n methodFqn:\n 'wix.restaurants.menus.v1.ModifierGroupsService.CreateModifierGroup',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl({\n protoPath: '/v1/modifier-groups',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'modifierGroup.createdDate' },\n { path: 'modifierGroup.updatedDate' },\n { path: 'modifierGroup.externalReferenceInfo.lastSyncDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createModifierGroup;\n}\n\n/**\n * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Retrieves a modifier group by the ID.\n */\nexport function getModifierGroup(payload: object): RequestOptionsFactory<any> {\n function __getModifierGroup({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.item_modifier_group',\n method: 'GET' as any,\n methodFqn:\n 'wix.restaurants.menus.v1.ModifierGroupsService.GetModifierGroup',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl({\n protoPath: '/v1/modifier-groups/{modifierGroupId}',\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: 'modifierGroup.createdDate' },\n { path: 'modifierGroup.updatedDate' },\n { path: 'modifierGroup.externalReferenceInfo.lastSyncDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getModifierGroup;\n}\n\n/**\n * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Retrieves a list of up to 500 modifier groups.\n */\nexport function listModifierGroups(\n payload: object\n): RequestOptionsFactory<any> {\n function __listModifierGroups({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.item_modifier_group',\n method: 'GET' as any,\n methodFqn:\n 'wix.restaurants.menus.v1.ModifierGroupsService.ListModifierGroups',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl({\n protoPath: '/v1/modifier-groups',\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: 'modifierGroups.createdDate' },\n { path: 'modifierGroups.updatedDate' },\n { path: 'modifierGroups.externalReferenceInfo.lastSyncDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listModifierGroups;\n}\n\n/**\n * Creates a query to retrieve a list of item modifier groups.\n *\n * The `queryModifierGroups()` function builds a query to retrieve a list of item modifier groups and returns a `ModifierGroupsQueryBuilder` object.\n *\n * The returned object contains the query definition, which is used to run the query using the [`find()`](/item-modifier-groups/modifier-groups-query-builder/find) function.\n *\n * You can refine the query by chaining `ModifierGroupsQueryBuilder` functions onto the query. `ModifierGroupsQueryBuilder` functions enable you to filter, sort, and control the results that `queryModifierGroups()` returns.\n *\n * `queryModifierGroups()` runs with the following `ModifierGroupsQueryBuilder` defaults, which you can override:\n *\n * * [`limit(500)`](/item-modifier-groups/modifier-groups-query-builder/limit)\n *\n * The following `ModifierGroupsQueryBuilder` functions are supported for `queryModifierGroups()`. For a full description of the item modifier group object, see the object returned for the [`items`](/item-modifier-groups/modifier-groups-query-result/items) property in `ModifierGroupsQueryResult`.\n */\nexport function queryModifierGroups(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryModifierGroups({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.item_modifier_group',\n method: 'POST' as any,\n methodFqn:\n 'wix.restaurants.menus.v1.ModifierGroupsService.QueryModifierGroups',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl({\n protoPath: '/v1/modifier-groups/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: 'modifierGroups.createdDate' },\n { path: 'modifierGroups.updatedDate' },\n { path: 'modifierGroups.externalReferenceInfo.lastSyncDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryModifierGroups;\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 modifier groups that match a specified filter.\n *\n * If a filter isn't passed in the request, the endpoint returns the count of all modifier groups.\n */\nexport function countModifierGroups(\n payload: object\n): RequestOptionsFactory<any> {\n function __countModifierGroups({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.item_modifier_group',\n method: 'POST' as any,\n methodFqn:\n 'wix.restaurants.menus.v1.ModifierGroupsService.CountModifierGroups',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl({\n protoPath: '/v1/modifier-groups/count',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __countModifierGroups;\n}\n\n/**\n * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Updates a modifier group.\n *\n * Each time a modifier group is updated, its revision increments by 1. The existing revision must be included when updating the modifier group. This ensures you're working with the latest modifier group information, and it prevents unintended overwrites.\n */\nexport function updateModifierGroup(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateModifierGroup({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'mask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'modifierGroup.createdDate' },\n { path: 'modifierGroup.updatedDate' },\n { path: 'modifierGroup.externalReferenceInfo.lastSyncDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.item_modifier_group',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.restaurants.menus.v1.ModifierGroupsService.UpdateModifierGroup',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl({\n protoPath: '/v1/modifier-groups/{modifierGroup.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: 'modifierGroup.createdDate' },\n { path: 'modifierGroup.updatedDate' },\n { path: 'modifierGroup.externalReferenceInfo.lastSyncDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateModifierGroup;\n}\n\n/**\n * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Deletes a modifier group.\n */\nexport function deleteModifierGroup(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteModifierGroup({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.item_modifier_group',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.restaurants.menus.v1.ModifierGroupsService.DeleteModifierGroup',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl({\n protoPath: '/v1/modifier-groups/{modifierGroupId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteModifierGroup;\n}\n\n/**\n * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Creates multiple modifier groups.\n */\nexport function bulkCreateModifierGroups(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateModifierGroups({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'modifierGroups.createdDate' },\n { path: 'modifierGroups.updatedDate' },\n { path: 'modifierGroups.externalReferenceInfo.lastSyncDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.item_modifier_group',\n method: 'POST' as any,\n methodFqn:\n 'wix.restaurants.menus.v1.ModifierGroupsService.BulkCreateModifierGroups',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl({\n protoPath: '/v1/bulk/modifier-groups/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.modifierGroup.createdDate' },\n { path: 'results.modifierGroup.updatedDate' },\n {\n path: 'results.modifierGroup.externalReferenceInfo.lastSyncDate',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateModifierGroups;\n}\n\n/**\n * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).\n *\n * Updates multiple item modifier groups at once. This function supports partial updates.\n * Each time a modifier group is updated, its revision increments by 1. The existing revision must be included when updating an item modifier group. This ensures you're working with the latest item information, and prevents unintended overwrites.\n * Up to 100 modifier groups can be returned per request.\n */\nexport function bulkUpdateModifierGroups(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateModifierGroups({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'modifierGroups.mask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'modifierGroups.modifierGroup.createdDate' },\n { path: 'modifierGroups.modifierGroup.updatedDate' },\n {\n path: 'modifierGroups.modifierGroup.externalReferenceInfo.lastSyncDate',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.item_modifier_group',\n method: 'POST' as any,\n methodFqn:\n 'wix.restaurants.menus.v1.ModifierGroupsService.BulkUpdateModifierGroups',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl({\n protoPath: '/v1/bulk/modifiers-groups/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.modifierGroup.createdDate' },\n { path: 'results.modifierGroup.updatedDate' },\n {\n path: 'results.modifierGroup.externalReferenceInfo.lastSyncDate',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateModifierGroups;\n}\n\nexport function bulkDeleteModifierGroups(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteModifierGroups({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.restaurants.menus.v1.item_modifier_group',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.restaurants.menus.v1.ModifierGroupsService.BulkDeleteModifierGroups',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixRestaurantsMenusV1ModifierGroupsServiceUrl({\n protoPath: '/v1/bulk/modifiers-groups/delete',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __bulkDeleteModifierGroups;\n}\n","export interface ModifierGroup {\n /**\n * Modifier group ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Revision number, which increments by 1 each time the modifier group is updated. To prevent conflicting changes, the current revision must be passed when updating the modifier group. Ignored when creating a modifier group.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the modifier group was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the modifier group was updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Modifier group name.\n * @minLength 1\n * @maxLength 100\n */\n name?: string | null;\n /**\n * Group of item modifiers.\n * @maxSize 500\n */\n modifiers?: Modifier[];\n /** Modifier group details. */\n rule?: Rule;\n /** Extended fields. */\n extendedFields?: ExtendedFields;\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 modifier groups are available.\n * @maxSize 100\n * @format GUID\n * @readonly\n */\n businessLocationIds?: string[];\n}\n\nexport interface Modifier {\n /**\n * Item modifier ID.\n * @format GUID\n */\n id?: string;\n /**\n * Whether the item modifier is pre-selected.\n * Default: `false`.\n */\n preSelected?: boolean | null;\n /** Item modifier price details. */\n additionalChargeInfo?: AdditionalChargeInfo;\n}\n\nexport interface AdditionalChargeInfo {\n /**\n * Additional charge for the item modifier. A value of `0` means the item modifier is free.\n * @decimalValue options { gte:0.00, maxScale:3 }\n */\n additionalCharge?: string | null;\n}\n\nexport interface Rule {\n /** Whether the items from the modifier group must be selected. */\n required?: boolean | null;\n /**\n * Minimum number of item modifiers a site visitor must select. The value must be lower or equal to the available item modifiers in the group.\n * Default: `0`.\n * @max 25\n */\n minSelections?: number | null;\n /**\n * Maximum number of item modifiers a site visitor may select. Must be greater than or equal to the value of `minSelections`.\n * @max 25\n */\n maxSelections?: number | null;\n}\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\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 modifier group 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 DeleteLocationIdsFromModifiers {\n /**\n * @format GUID\n * @maxSize 100\n */\n businessLocationIds?: string[];\n /**\n * @format GUID\n * @maxSize 1000\n */\n modifierIds?: string[];\n}\n\nexport interface CreateModifierGroupRequest {\n /** Modifier group details. */\n modifierGroup: ModifierGroup;\n}\n\nexport interface CreateModifierGroupResponse {\n /** Modifier group. */\n modifierGroup?: ModifierGroup;\n}\n\nexport interface GetModifierGroupRequest {\n /**\n * Modifier group ID.\n * @format GUID\n */\n modifierGroupId: string;\n}\n\nexport interface GetModifierGroupResponse {\n /** Modifier group. */\n modifierGroup?: ModifierGroup;\n}\n\nexport interface ListModifierGroupRequest {\n /**\n * Modifier group IDs.\n * @format GUID\n * @maxSize 500\n */\n modifierGroupIds?: string[];\n /** The metadata of the paginated results. */\n paging?: CursorPaging;\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 ListModifierGroupResponse {\n /** Retrieved modifier groups. */\n modifierGroups?: ModifierGroup[];\n /** The 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 /** 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 QueryModifierGroupsRequest {\n /** Query options. */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface QueryModifierGroupsResponse {\n /** Retrieved modifier groups. */\n modifierGroups?: ModifierGroup[];\n /** Metadata of the paginated results. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CountModifierGroupsRequest {\n /** Filter for counting modifier groups. */\n filter?: Record<string, any> | null;\n}\n\nexport interface CountModifierGroupsResponse {\n /** Counted modifier groups. */\n count?: number;\n}\n\nexport interface UpdateModifierGroupRequest {\n /** Modifier group to update. */\n modifierGroup: ModifierGroup;\n}\n\nexport interface UpdateModifierGroupResponse {\n /** Updated modifier group. */\n modifierGroup?: ModifierGroup;\n}\n\nexport interface DeleteModifierGroupRequest {\n /**\n * Modifier group ID.\n * @format GUID\n */\n modifierGroupId: string;\n}\n\nexport interface DeleteModifierGroupResponse {}\n\nexport interface BulkCreateModifierGroupsRequest {\n /**\n * Modifier groups details.\n * @maxSize 100\n */\n modifierGroups: ModifierGroup[];\n /** Whether to receive the created modifier groups in the response. */\n returnEntity?: boolean;\n}\n\nexport interface BulkCreateModifierGroupsResponse {\n /** Information about the created modifier groups. */\n results?: BulkCreateModifierGroupsResult[];\n /** Metadata for the API call. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkCreateModifierGroupsResult {\n /** Metadata for group modifier creation. */\n itemMetadata?: ItemMetadata;\n /** Created modifier group. */\n modifierGroup?: ModifierGroup;\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 BulkUpdateModifierGroupsRequest {\n /**\n * Modifier groups to update.\n * @minSize 1\n * @maxSize 100\n */\n modifierGroups: MaskedModifierGroup[];\n /** Whether to receive the updated modifier groups in the response. */\n returnEntity?: boolean;\n}\n\nexport interface MaskedModifierGroup {\n /** Modifier group to update. */\n modifierGroup?: ModifierGroup;\n /** Explicit list of fields to update. */\n mask?: string[];\n}\n\nexport interface BulkUpdateModifierGroupsResponse {\n /**\n * Information about the updated modifier groups.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdateModifierGroupsResult[];\n /** Metadata for the API call. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateModifierGroupsResult {\n /** Metadata for group modifier update. */\n itemMetadata?: ItemMetadata;\n /** Updated modifier group. Only returned if `returnEntity` is set to `true`. */\n modifierGroup?: ModifierGroup;\n}\n\nexport interface BulkDeleteModifierGroupsRequest {\n /**\n * Modifier Group IDs.\n * @format GUID\n * @maxSize 200\n */\n ids: string[];\n}\n\nexport interface BulkDeleteModifierGroupsResponse {\n /** Information about the deleted modifier group. */\n results?: BulkDeleteModifierGroupsResult[];\n /** Metadata for the API call. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkDeleteModifierGroupsResult {\n /** Metadata for group modifier deletion. */\n itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkUpdateBusinessLocationIdsRequest {\n /**\n * Modifier group IDs\n * @format GUID\n * @minSize 1\n * @maxSize 100\n */\n modifierGroupIds?: string[];\n /**\n * Business Location IDs.\n * @maxSize 100\n * @format GUID\n */\n businessLocationIds?: string[];\n}\n\nexport interface BulkUpdateBusinessLocationIdsResponse {\n /**\n * Information about the updated modifier groups.\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 modifierGroupIdLocationIds?: ModifierGroupIdLocationIds[];\n}\n\nexport interface ModifierGroupIdLocationIds {\n /**\n * Modifier group ID\n * @format GUID\n */\n modifierGroupId?: string;\n /**\n * Business Location IDs\n * @maxSize 100\n * @format GUID\n */\n businessLocationIds?: string[];\n}\n\nexport interface BulkUpdateBusinessLocationIdsPerEntityResponse {\n /**\n * Information about the updated modifier groups.\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 modifierGroupIdAttachedToOrphanItem?: ModifierGroupIdAttachedToOrphanItem[];\n}\n\nexport interface ModifierGroupIdAttachedToOrphanItem {\n /**\n * Modifier group ID\n * @format GUID\n */\n modifierGroupId?: string;\n /** Attached to orphan item */\n attachedToOrphanItem?: boolean;\n}\n\nexport interface BulkUpdateAttachedToOrphanItemResponse {\n /**\n * Information about the updated modifier groups.\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 AddModifiersToGroupUnlimitedRequest {\n /**\n * Modifier group ID to add modifiers to.\n * @format GUID\n */\n modifierGroupId?: string;\n /**\n * List of modifier IDs to add to the modifier group. Limited to 500 items.\n * @format GUID\n * @minSize 1\n * @maxSize 500\n */\n modifierIds?: string[];\n}\n\nexport interface AddModifiersToGroupUnlimitedResponse {\n /** Updated modifier group with the new modifiers added. */\n modifierGroup?: ModifierGroup;\n}\n\nexport interface CloneModifierGroupsRequest {\n /**\n * The MetaSiteId to clone from.\n * @format GUID\n */\n metaSiteId?: string;\n}\n\nexport interface CloneModifierGroupsResponse {}\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 CountModifierGroupsApplicationErrors = {\n code?: 'TOO_MANY_TO_COUNT';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixRestaurantsMenusV1ItemModifierGroup from './restaurants-menus-v1-item-modifier-group-item-modifier-groups.http.js';\nimport * as ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes from './restaurants-menus-v1-item-modifier-group-item-modifier-groups.types.js';\nimport * as ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes from './restaurants-menus-v1-item-modifier-group-item-modifier-groups.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 createModifierGroup(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.CreateModifierGroupRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.CreateModifierGroupRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.CreateModifierGroupResponse,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.CreateModifierGroupResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1ItemModifierGroup.createModifierGroup(\n payload\n );\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/modifier-groups',\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 getModifierGroup(): __PublicMethodMetaInfo<\n 'GET',\n { modifierGroupId: string },\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.GetModifierGroupRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.GetModifierGroupRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.GetModifierGroupResponse,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.GetModifierGroupResponse\n> {\n const payload = { modifierGroupId: ':modifierGroupId' } as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1ItemModifierGroup.getModifierGroup(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/modifier-groups/{modifierGroupId}',\n pathParams: { modifierGroupId: 'modifierGroupId' },\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 listModifierGroups(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.ListModifierGroupRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.ListModifierGroupRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.ListModifierGroupResponse,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.ListModifierGroupResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1ItemModifierGroup.listModifierGroups(\n payload\n );\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/modifier-groups',\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 queryModifierGroups(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.QueryModifierGroupsRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.QueryModifierGroupsRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.QueryModifierGroupsResponse,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.QueryModifierGroupsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1ItemModifierGroup.queryModifierGroups(\n payload\n );\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/modifier-groups/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 countModifierGroups(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.CountModifierGroupsRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.CountModifierGroupsRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.CountModifierGroupsResponse,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.CountModifierGroupsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1ItemModifierGroup.countModifierGroups(\n payload\n );\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/modifier-groups/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 updateModifierGroup(): __PublicMethodMetaInfo<\n 'PATCH',\n { modifierGroupId: string },\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.UpdateModifierGroupRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.UpdateModifierGroupRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.UpdateModifierGroupResponse,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.UpdateModifierGroupResponse\n> {\n const payload = { modifierGroup: { id: ':modifierGroupId' } } as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1ItemModifierGroup.updateModifierGroup(\n payload\n );\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/modifier-groups/{modifierGroup.id}',\n pathParams: { modifierGroupId: 'modifierGroupId' },\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 deleteModifierGroup(): __PublicMethodMetaInfo<\n 'DELETE',\n { modifierGroupId: string },\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.DeleteModifierGroupRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.DeleteModifierGroupRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.DeleteModifierGroupResponse,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.DeleteModifierGroupResponse\n> {\n const payload = { modifierGroupId: ':modifierGroupId' } as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1ItemModifierGroup.deleteModifierGroup(\n payload\n );\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/modifier-groups/{modifierGroupId}',\n pathParams: { modifierGroupId: 'modifierGroupId' },\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 bulkCreateModifierGroups(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.BulkCreateModifierGroupsRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.BulkCreateModifierGroupsRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.BulkCreateModifierGroupsResponse,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.BulkCreateModifierGroupsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1ItemModifierGroup.bulkCreateModifierGroups(\n payload\n );\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/modifier-groups/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 bulkUpdateModifierGroups(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.BulkUpdateModifierGroupsRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.BulkUpdateModifierGroupsRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.BulkUpdateModifierGroupsResponse,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.BulkUpdateModifierGroupsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1ItemModifierGroup.bulkUpdateModifierGroups(\n payload\n );\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-groups/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 bulkDeleteModifierGroups(): __PublicMethodMetaInfo<\n 'DELETE',\n {},\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.BulkDeleteModifierGroupsRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.BulkDeleteModifierGroupsRequest,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupUniversalTypes.BulkDeleteModifierGroupsResponse,\n ambassadorWixRestaurantsMenusV1ItemModifierGroupTypes.BulkDeleteModifierGroupsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixRestaurantsMenusV1ItemModifierGroup.bulkDeleteModifierGroups(\n payload\n );\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-groups/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 ModifierGroup as ModifierGroupOriginal,\n Modifier as ModifierOriginal,\n AdditionalChargeInfo as AdditionalChargeInfoOriginal,\n Rule as RuleOriginal,\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 DeleteLocationIdsFromModifiers as DeleteLocationIdsFromModifiersOriginal,\n CreateModifierGroupRequest as CreateModifierGroupRequestOriginal,\n CreateModifierGroupResponse as CreateModifierGroupResponseOriginal,\n GetModifierGroupRequest as GetModifierGroupRequestOriginal,\n GetModifierGroupResponse as GetModifierGroupResponseOriginal,\n ListModifierGroupRequest as ListModifierGroupRequestOriginal,\n CursorPaging as CursorPagingOriginal,\n ListModifierGroupResponse as ListModifierGroupResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n QueryModifierGroupsRequest as QueryModifierGroupsRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n QueryModifierGroupsResponse as QueryModifierGroupsResponseOriginal,\n CountModifierGroupsRequest as CountModifierGroupsRequestOriginal,\n CountModifierGroupsResponse as CountModifierGroupsResponseOriginal,\n UpdateModifierGroupRequest as UpdateModifierGroupRequestOriginal,\n UpdateModifierGroupResponse as UpdateModifierGroupResponseOriginal,\n DeleteModifierGroupRequest as DeleteModifierGroupRequestOriginal,\n DeleteModifierGroupResponse as DeleteModifierGroupResponseOriginal,\n BulkCreateModifierGroupsRequest as BulkCreateModifierGroupsRequestOriginal,\n BulkCreateModifierGroupsResponse as BulkCreateModifierGroupsResponseOriginal,\n BulkCreateModifierGroupsResult as BulkCreateModifierGroupsResultOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n BulkUpdateModifierGroupsRequest as BulkUpdateModifierGroupsRequestOriginal,\n MaskedModifierGroup as MaskedModifierGroupOriginal,\n BulkUpdateModifierGroupsResponse as BulkUpdateModifierGroupsResponseOriginal,\n BulkUpdateModifierGroupsResult as BulkUpdateModifierGroupsResultOriginal,\n BulkDeleteModifierGroupsRequest as BulkDeleteModifierGroupsRequestOriginal,\n BulkDeleteModifierGroupsResponse as BulkDeleteModifierGroupsResponseOriginal,\n BulkDeleteModifierGroupsResult as BulkDeleteModifierGroupsResultOriginal,\n BulkUpdateBusinessLocationIdsRequest as BulkUpdateBusinessLocationIdsRequestOriginal,\n BulkUpdateBusinessLocationIdsResponse as BulkUpdateBusinessLocationIdsResponseOriginal,\n BulkUpdateBusinessLocationIdsResponseBulkItemResult as BulkUpdateBusinessLocationIdsResponseBulkItemResultOriginal,\n BulkUpdateBusinessLocationIdsPerEntityRequest as BulkUpdateBusinessLocationIdsPerEntityRequestOriginal,\n ModifierGroupIdLocationIds as ModifierGroupIdLocationIdsOriginal,\n BulkUpdateBusinessLocationIdsPerEntityResponse as BulkUpdateBusinessLocationIdsPerEntityResponseOriginal,\n BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResult as BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResultOriginal,\n BulkUpdateAttachedToOrphanItemRequest as BulkUpdateAttachedToOrphanItemRequestOriginal,\n ModifierGroupIdAttachedToOrphanItem as ModifierGroupIdAttachedToOrphanItemOriginal,\n BulkUpdateAttachedToOrphanItemResponse as BulkUpdateAttachedToOrphanItemResponseOriginal,\n BulkItemResult as BulkItemResultOriginal,\n AddModifiersToGroupUnlimitedRequest as AddModifiersToGroupUnlimitedRequestOriginal,\n AddModifiersToGroupUnlimitedResponse as AddModifiersToGroupUnlimitedResponseOriginal,\n CloneModifierGroupsRequest as CloneModifierGroupsRequestOriginal,\n CloneModifierGroupsResponse as CloneModifierGroupsResponseOriginal,\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 CountModifierGroupsApplicationErrors as CountModifierGroupsApplicationErrorsOriginal,\n} from './restaurants-menus-v1-item-modifier-group-item-modifier-groups.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,qDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,sBAAsB;AAAA,MACpB;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,MACA;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,sBAAsB;AAAA,MACpB;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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B,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,4BAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC6C;AAAA,IAC/C;AAAA,EACF;AAEF,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;","names":["payload","SortOrder","WebhookIdentityType","createModifierGroup","getModifierGroup","listModifierGroups","queryModifierGroups","countModifierGroups","updateModifierGroup","deleteModifierGroup","bulkCreateModifierGroups","bulkUpdateModifierGroups","bulkDeleteModifierGroups"]}
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
2
  import { ModifierGroup, ListModifierGroupsOptions, ListModifierGroupResponse, CountModifierGroupsOptions, CountModifierGroupsResponse, CountModifierGroupsApplicationErrors, UpdateModifierGroup, BulkCreateModifierGroupsOptions, BulkCreateModifierGroupsResponse, MaskedModifierGroup, BulkUpdateModifierGroupsOptions, BulkUpdateModifierGroupsResponse, BulkDeleteModifierGroupsResponse, ItemModifierGroupCreatedEnvelope, ItemModifierGroupDeletedEnvelope, ItemModifierGroupUpdatedEnvelope, ModifierGroupsQueryBuilder, ModifierGroupQuery, typedQueryModifierGroups } from './index.typings.js';
3
- export { AccountInfo, AccountInfoMetadata, ActionEvent, AddModifiersToGroupUnlimitedRequest, AddModifiersToGroupUnlimitedResponse, AdditionalChargeInfo, App, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkCreateModifierGroupsRequest, BulkCreateModifierGroupsResult, BulkDeleteModifierGroupsRequest, BulkDeleteModifierGroupsResult, BulkItemResult, BulkUpdateAttachedToOrphanItemRequest, BulkUpdateAttachedToOrphanItemResponse, BulkUpdateBusinessLocationIdsPerEntityRequest, BulkUpdateBusinessLocationIdsPerEntityResponse, BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResult, BulkUpdateBusinessLocationIdsRequest, BulkUpdateBusinessLocationIdsResponse, BulkUpdateBusinessLocationIdsResponseBulkItemResult, BulkUpdateModifierGroupsRequest, BulkUpdateModifierGroupsResult, CloneModifierGroupsRequest, CloneModifierGroupsResponse, CommonQueryWithEntityContext, CountModifierGroupsRequest, CreateModifierGroupRequest, CreateModifierGroupResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, DeleteLocationIdsFromModifiers, DeleteModifierGroupRequest, DeleteModifierGroupResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReferenceInfo, File, GetModifierGroupRequest, GetModifierGroupResponse, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, ListModifierGroupRequest, MessageEnvelope, Modifier, ModifierGroupIdAttachedToOrphanItem, ModifierGroupIdLocationIds, ModifierGroupQuerySpec, ModifierGroupsQueryResult, Page, QueryModifierGroupsRequest, QueryModifierGroupsResponse, RestoreInfo, Rule, SortOrder, SortOrderWithLiterals, Sorting, SyncContentToMultilingualRequest, SyncContentToMultilingualResponse, URI, UpdateModifierGroupRequest, UpdateModifierGroupResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
3
+ export { AccountInfo, AccountInfoMetadata, ActionEvent, AddModifiersToGroupUnlimitedRequest, AddModifiersToGroupUnlimitedResponse, AdditionalChargeInfo, App, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkCreateModifierGroupsRequest, BulkCreateModifierGroupsResult, BulkDeleteModifierGroupsRequest, BulkDeleteModifierGroupsResult, BulkItemResult, BulkUpdateAttachedToOrphanItemRequest, BulkUpdateAttachedToOrphanItemResponse, BulkUpdateBusinessLocationIdsPerEntityRequest, BulkUpdateBusinessLocationIdsPerEntityResponse, BulkUpdateBusinessLocationIdsPerEntityResponseBulkItemResult, BulkUpdateBusinessLocationIdsRequest, BulkUpdateBusinessLocationIdsResponse, BulkUpdateBusinessLocationIdsResponseBulkItemResult, BulkUpdateModifierGroupsRequest, BulkUpdateModifierGroupsResult, CloneModifierGroupsRequest, CloneModifierGroupsResponse, CommonQueryWithEntityContext, CountModifierGroupsRequest, CreateModifierGroupRequest, CreateModifierGroupResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomTag, DeleteLocationIdsFromModifiers, DeleteModifierGroupRequest, DeleteModifierGroupResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReferenceInfo, File, GetModifierGroupRequest, GetModifierGroupResponse, IdentificationData, IdentificationDataIdOneOf, InvalidateCache, InvalidateCacheGetByOneOf, ItemMetadata, ListModifierGroupRequest, MessageEnvelope, Modifier, ModifierGroupIdAttachedToOrphanItem, ModifierGroupIdLocationIds, ModifierGroupQuerySpec, ModifierGroupsQueryResult, Page, Pages, QueryModifierGroupsRequest, QueryModifierGroupsResponse, RestoreInfo, Rule, SortOrder, SortOrderWithLiterals, Sorting, SyncContentToMultilingualRequest, SyncContentToMultilingualResponse, URI, URIs, UpdateModifierGroupRequest, UpdateModifierGroupResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
4
4
 
5
5
  declare function createModifierGroup$1(httpClient: HttpClient): CreateModifierGroupSignature;
6
6
  interface CreateModifierGroupSignature {