{"version":3,"sources":["../../../src/ecom-v1-wishlist-wishlists.http.ts","../../../src/ecom-v1-wishlist-wishlists.types.ts","../../../src/ecom-v1-wishlist-wishlists.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\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 resolveWixEcomWishlistV1WishlistsUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    _: [\n      {\n        srcPath: '/_api/wishlist',\n        destPath: '',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/wishlist',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/wishlist',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/wishlist',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/ecom/v1/wishlists',\n        destPath: '/v1/wishlists',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_ecom_wishlists';\n\n/** Returns the caller's default wishlist. Empty representation if none exists. */\nexport function getDefaultWishlist(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __getDefaultWishlist({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.wishlist',\n      method: 'GET' as any,\n      methodFqn: 'wix.ecom.wishlist.v1.Wishlists.GetDefaultWishlist',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEcomWishlistV1WishlistsUrl({\n        protoPath: '/v1/wishlists/get-default',\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: 'wishlist.createdDate' },\n              { path: 'wishlist.updatedDate' },\n              { path: 'wishlist.items.addedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getDefaultWishlist;\n}\n\n/**\n * Adds items to the caller's wishlist (auto-created on first use). Duplicates are skipped;\n * exceeding the 100-item cap returns WISHLIST_ITEMS_LIMIT_EXCEEDED.\n */\nexport function addItem(payload: object): RequestOptionsFactory<any> {\n  function __addItem({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.wishlist',\n      method: 'POST' as any,\n      methodFqn: 'wix.ecom.wishlist.v1.Wishlists.AddItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEcomWishlistV1WishlistsUrl({\n        protoPath: '/v1/wishlists/add-item',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'wishlist.createdDate' },\n              { path: 'wishlist.updatedDate' },\n              { path: 'wishlist.items.addedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __addItem;\n}\n\n/** Removes an item from the caller's wishlist. Absent item / no wishlist is a silent no-op. */\nexport function removeItem(payload: object): RequestOptionsFactory<any> {\n  function __removeItem({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.wishlist',\n      method: 'POST' as any,\n      methodFqn: 'wix.ecom.wishlist.v1.Wishlists.RemoveItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEcomWishlistV1WishlistsUrl({\n        protoPath: '/v1/wishlists/remove-item',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'wishlist.createdDate' },\n              { path: 'wishlist.updatedDate' },\n              { path: 'wishlist.items.addedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __removeItem;\n}\n\n/** Synchronously assigns/unassigns tags on wishlists by ID. */\nexport function bulkUpdateWishlistTags(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkUpdateWishlistTags({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.wishlist',\n      method: 'POST' as any,\n      methodFqn: 'wix.ecom.wishlist.v1.Wishlists.BulkUpdateWishlistTags',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEcomWishlistV1WishlistsUrl({\n        protoPath: '/v1/bulk/wishlists/update-tags',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateWishlistTags;\n}\n\n/**\n * Asynchronously assigns/unassigns tags on wishlists matching a filter\n * (empty filter = all wishlists belonging to the site_member_id). Returns a job_id.\n */\nexport function bulkUpdateWishlistTagsByFilter(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkUpdateWishlistTagsByFilter({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.wishlist',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.ecom.wishlist.v1.Wishlists.BulkUpdateWishlistTagsByFilter',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEcomWishlistV1WishlistsUrl({\n        protoPath: '/v1/bulk/wishlists/update-tags-by-filter',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateWishlistTagsByFilter;\n}\n","/**\n * A Wishlist is a collection of catalog items saved by a site member.\n * Items are embedded (capped at 100) and identified by a CatalogReference\n * (catalog_item_id + app_id + options), so different variants are distinct. See:\n * https://dev.wix.com/docs/rest/business-solutions/e-commerce/catalog-service-plugin/handle-item-variants\n */\nexport interface Wishlist {\n  /**\n   * Wishlist ID.\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /**\n   * The ID of the wishlist owner.\n   * @readonly\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * Saved items. Managed via AddItem / RemoveItem.\n   * @maxSize 100\n   * @readonly\n   */\n  items?: WishlistItem[];\n  /**\n   * Date and time the wishlist was created.\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Date and time the wishlist was last updated.\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /** Data Extensions */\n  extendedFields?: ExtendedFields;\n  /** Tags */\n  tags?: Tags;\n}\n\n/**\n * A single item saved in a wishlist.\n * Managed via Wishlists.AddItem / RemoveItem.\n */\nexport interface WishlistItem {\n  /** Catalog reference identifying the saved item (the uniqueness key within a wishlist). */\n  catalogReference?: CatalogReference;\n  /**\n   * When the item was added to the wishlist.\n   * @readonly\n   */\n  addedDate?: Date | null;\n}\n\n/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */\nexport interface CatalogReference {\n  /**\n   * ID of the item within the catalog it belongs to.\n   * @minLength 1\n   * @maxLength 36\n   */\n  catalogItemId?: string;\n  /**\n   * ID of the app providing the catalog.\n   *\n   * You can get your app's ID from its page in the [app dashboard](https://dev.wix.com/dc3/my-apps/).\n   *\n   * For items from Wix catalogs, the following values always apply:\n   * + Wix Stores: `\"215238eb-22a5-4c36-9e7b-e7c08025e04e\"`\n   * + Wix Bookings: `\"13d21c63-b5ec-5912-8397-c3a5ddb27a97\"`\n   * + Wix Restaurants: `\"9a5d83fd-8570-482e-81ab-cfa88942ee60\"`\n   * @minLength 1\n   */\n  appId?: string;\n  /**\n   * Additional item details in `key:value` pairs.\n   *\n   * Use this optional field for more specificity with item selection. The values of the `options` field differ depending on which catalog is providing the items.\n   *\n   * For Wix Stores products, learn more about integrating with [Catalog V3](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration)\n   * or [Catalog V1](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v1/catalog/e-commerce-integration), depending on [the version the site uses](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-versioning/introduction).\n   */\n  options?: Record<string, any> | null;\n}\n\nexport interface ExtendedFields {\n  /**\n   * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n   * The value of each key is structured according to the schema defined when the extended fields were configured.\n   *\n   * You can only access fields for which you have the appropriate permissions.\n   *\n   * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n   */\n  namespaces?: Record<string, Record<string, any>>;\n}\n\n/**\n * Common object for tags.\n * Should be use as in this example:\n * message Foo {\n * option (.wix.api.decomposite_of) = \"wix.commons.v2.tags.Foo\";\n * string id = 1;\n * ...\n * Tags tags = 5\n * }\n *\n * example of taggable entity\n * {\n * id: \"123\"\n * tags: {\n * public_tags: {\n * tag_ids:[\"11\",\"22\"]\n * },\n * private_tags: {\n * tag_ids: [\"33\", \"44\"]\n * }\n * }\n * }\n */\nexport interface Tags {\n  /** Tags that require an additional permission in order to access them, normally not given to site members or visitors. */\n  privateTags?: TagList;\n  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */\n  publicTags?: TagList;\n}\n\nexport interface TagList {\n  /**\n   * List of tag IDs.\n   * @maxSize 100\n   * @maxLength 5\n   */\n  tagIds?: string[];\n}\n\n/** Payload for the WishlistItemAdded ACTION domain event. */\nexport interface WishlistItemAdded {\n  /**\n   * ID of the wishlist the item was added to.\n   * @format GUID\n   */\n  wishlistId?: string;\n  /** The item that was added. */\n  item?: WishlistItem;\n}\n\n/** Payload for the WishlistItemRemoved ACTION domain event. */\nexport interface WishlistItemRemoved {\n  /**\n   * ID of the wishlist the item was removed from.\n   * @format GUID\n   */\n  wishlistId?: string;\n  /** The item that was removed. */\n  item?: WishlistItem;\n}\n\n/** Payload for the WishlistTagsModified ACTION domain event. */\nexport interface WishlistTagsModified {\n  /** The wishlist whose tags changed. */\n  wishlist?: Wishlist;\n  /** Tags assigned in this change. */\n  assignedTags?: Tags;\n  /** Tags unassigned in this change. */\n  unassignedTags?: Tags;\n}\n\n/** Empty — resolves the caller's wishlist from request context. */\nexport interface GetDefaultWishlistRequest {}\n\nexport interface GetDefaultWishlistResponse {\n  /** The caller's wishlist (empty representation if none exists). */\n  wishlist?: Wishlist;\n}\n\nexport interface AddItemRequest {\n  /** Item to add. Already present items (full three-field equality) are silently skipped. */\n  catalogReference: CatalogReference;\n  /** Whether to return the updated wishlist in the response. */\n  returnEntity?: boolean;\n}\n\nexport interface AddItemResponse {\n  /** The updated wishlist. */\n  wishlist?: Wishlist;\n}\n\nexport interface RemoveItemRequest {\n  /** Item to remove. Absent items are silently skipped. */\n  catalogReference: CatalogReference;\n  /** Whether to return the updated wishlist in the response. */\n  returnEntity?: boolean;\n}\n\nexport interface RemoveItemResponse {\n  /** The updated wishlist. */\n  wishlist?: Wishlist;\n}\n\n/** Tags by wishlist ID. assign_tags or unassign_tags (or both) must be non-empty. */\nexport interface BulkUpdateWishlistTagsRequest {\n  /**\n   * Wishlist IDs to update (1–100).\n   * @minSize 1\n   * @maxSize 100\n   * @format GUID\n   */\n  wishlistIds: string[];\n  /** Tags to assign. A tag present in both lists is assigned. */\n  assignTags?: Tags;\n  /** Tags to unassign. */\n  unassignTags?: Tags;\n}\n\nexport interface BulkUpdateWishlistTagsResponse {\n  /**\n   * Per-wishlist results.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkUpdateWishlistTagsResult[];\n  /** Aggregate metadata for the bulk action. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ItemMetadata {\n  /**\n   * Item ID. Provided only whenever possible. For example, `itemId` can't be provided when item creation has failed.\n   * @format GUID\n   */\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 for this item was successful. When `false`, the `error` field is returned. */\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 BulkUpdateWishlistTagsResult {\n  /** Per-item result metadata (success/failure). */\n  itemMetadata?: ItemMetadata;\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\n/**\n * Tags by filter (empty filter = all wishlists belonging to the site_member_id).\n * assign_tags or unassign_tags (or both) must be non-empty.\n */\nexport interface BulkUpdateWishlistTagsByFilterRequest {\n  /** WQL filter selecting wishlists (empty = all belonging to the site_member_id). */\n  filter: Record<string, any> | null;\n  /** Tags to assign. A tag present in both lists is assigned. */\n  assignTags?: Tags;\n  /** Tags to unassign. */\n  unassignTags?: Tags;\n}\n\nexport interface BulkUpdateWishlistTagsByFilterResponse {\n  /**\n   * Async job ID for tracking the operation.\n   * @format GUID\n   */\n  jobId?: string;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n  id?: string;\n  /**\n   * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n   * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n   */\n  entityFqdn?: string;\n  /**\n   * Event action name, placed at the top level to make it easier for users to dispatch messages.\n   * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n   */\n  slug?: string;\n  /** ID of the entity associated with the event. */\n  entityId?: string;\n  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n  eventTime?: Date | null;\n  /**\n   * Whether the event was triggered as a result of a privacy regulation application\n   * (for example, GDPR).\n   */\n  triggeredByAnonymizeRequest?: boolean | null;\n  /** If present, indicates the action that triggered the event. */\n  originatedFrom?: string | null;\n  /**\n   * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n   * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n   */\n  entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n  entityAsJson?: string;\n  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n  restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n  deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n  /**\n   * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n   * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n   * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n   */\n  currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n  /** Entity that was deleted. */\n  deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n  bodyAsJson?: string;\n}\n\nexport interface MessageEnvelope {\n  /**\n   * App instance ID.\n   * @format GUID\n   */\n  instanceId?: string | null;\n  /**\n   * Event type.\n   * @maxLength 150\n   */\n  eventType?: string;\n  /** The identification type and identity data. */\n  identity?: IdentificationData;\n  /** Stringify payload. */\n  data?: string;\n  /** Details related to the account */\n  accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n  /** @readonly */\n  identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n}\n\nexport enum WebhookIdentityType {\n  UNKNOWN = 'UNKNOWN',\n  ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n  MEMBER = 'MEMBER',\n  WIX_USER = 'WIX_USER',\n  APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n  | WebhookIdentityType\n  | 'UNKNOWN'\n  | 'ANONYMOUS_VISITOR'\n  | 'MEMBER'\n  | 'WIX_USER'\n  | 'APP';\n\nexport interface AccountInfo {\n  /**\n   * ID of the Wix account associated with the event.\n   * @format GUID\n   */\n  accountId?: string | null;\n  /**\n   * ID of the parent Wix account. Only included when accountId belongs to a child account.\n   * @format GUID\n   */\n  parentAccountId?: string | null;\n  /**\n   * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n   * @format GUID\n   */\n  siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type AddItemApplicationErrors = {\n  code?: 'WISHLIST_ITEMS_LIMIT_EXCEEDED';\n  description?: string;\n  data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkUpdateWishlistTagsApplicationErrors = {\n  code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n  description?: string;\n  data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkUpdateWishlistTagsByFilterApplicationErrors = {\n  code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n  description?: string;\n  data?: Record<string, any>;\n};\n","import * as ambassadorWixEcomV1Wishlist from './ecom-v1-wishlist-wishlists.http.js';\nimport * as ambassadorWixEcomV1WishlistTypes from './ecom-v1-wishlist-wishlists.types.js';\nimport * as ambassadorWixEcomV1WishlistUniversalTypes from './ecom-v1-wishlist-wishlists.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 getDefaultWishlist(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixEcomV1WishlistUniversalTypes.GetDefaultWishlistRequest,\n  ambassadorWixEcomV1WishlistTypes.GetDefaultWishlistRequest,\n  ambassadorWixEcomV1WishlistUniversalTypes.GetDefaultWishlistResponse,\n  ambassadorWixEcomV1WishlistTypes.GetDefaultWishlistResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEcomV1Wishlist.getDefaultWishlist(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/wishlists/get-default',\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 addItem(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixEcomV1WishlistUniversalTypes.AddItemRequest,\n  ambassadorWixEcomV1WishlistTypes.AddItemRequest,\n  ambassadorWixEcomV1WishlistUniversalTypes.AddItemResponse,\n  ambassadorWixEcomV1WishlistTypes.AddItemResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions = ambassadorWixEcomV1Wishlist.addItem(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/wishlists/add-item',\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 removeItem(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixEcomV1WishlistUniversalTypes.RemoveItemRequest,\n  ambassadorWixEcomV1WishlistTypes.RemoveItemRequest,\n  ambassadorWixEcomV1WishlistUniversalTypes.RemoveItemResponse,\n  ambassadorWixEcomV1WishlistTypes.RemoveItemResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions = ambassadorWixEcomV1Wishlist.removeItem(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/wishlists/remove-item',\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 bulkUpdateWishlistTags(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixEcomV1WishlistUniversalTypes.BulkUpdateWishlistTagsRequest,\n  ambassadorWixEcomV1WishlistTypes.BulkUpdateWishlistTagsRequest,\n  ambassadorWixEcomV1WishlistUniversalTypes.BulkUpdateWishlistTagsResponse,\n  ambassadorWixEcomV1WishlistTypes.BulkUpdateWishlistTagsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEcomV1Wishlist.bulkUpdateWishlistTags(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/bulk/wishlists/update-tags',\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 bulkUpdateWishlistTagsByFilter(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixEcomV1WishlistUniversalTypes.BulkUpdateWishlistTagsByFilterRequest,\n  ambassadorWixEcomV1WishlistTypes.BulkUpdateWishlistTagsByFilterRequest,\n  ambassadorWixEcomV1WishlistUniversalTypes.BulkUpdateWishlistTagsByFilterResponse,\n  ambassadorWixEcomV1WishlistTypes.BulkUpdateWishlistTagsByFilterResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEcomV1Wishlist.bulkUpdateWishlistTagsByFilter(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/bulk/wishlists/update-tags-by-filter',\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  Wishlist as WishlistOriginal,\n  WishlistItem as WishlistItemOriginal,\n  CatalogReference as CatalogReferenceOriginal,\n  ExtendedFields as ExtendedFieldsOriginal,\n  Tags as TagsOriginal,\n  TagList as TagListOriginal,\n  WishlistItemAdded as WishlistItemAddedOriginal,\n  WishlistItemRemoved as WishlistItemRemovedOriginal,\n  WishlistTagsModified as WishlistTagsModifiedOriginal,\n  GetDefaultWishlistRequest as GetDefaultWishlistRequestOriginal,\n  GetDefaultWishlistResponse as GetDefaultWishlistResponseOriginal,\n  AddItemRequest as AddItemRequestOriginal,\n  AddItemResponse as AddItemResponseOriginal,\n  RemoveItemRequest as RemoveItemRequestOriginal,\n  RemoveItemResponse as RemoveItemResponseOriginal,\n  BulkUpdateWishlistTagsRequest as BulkUpdateWishlistTagsRequestOriginal,\n  BulkUpdateWishlistTagsResponse as BulkUpdateWishlistTagsResponseOriginal,\n  ItemMetadata as ItemMetadataOriginal,\n  ApplicationError as ApplicationErrorOriginal,\n  BulkUpdateWishlistTagsResult as BulkUpdateWishlistTagsResultOriginal,\n  BulkActionMetadata as BulkActionMetadataOriginal,\n  BulkUpdateWishlistTagsByFilterRequest as BulkUpdateWishlistTagsByFilterRequestOriginal,\n  BulkUpdateWishlistTagsByFilterResponse as BulkUpdateWishlistTagsByFilterResponseOriginal,\n  DomainEvent as DomainEventOriginal,\n  DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n  EntityCreatedEvent as EntityCreatedEventOriginal,\n  RestoreInfo as RestoreInfoOriginal,\n  EntityUpdatedEvent as EntityUpdatedEventOriginal,\n  EntityDeletedEvent as EntityDeletedEventOriginal,\n  ActionEvent as ActionEventOriginal,\n  MessageEnvelope as MessageEnvelopeOriginal,\n  IdentificationData as IdentificationDataOriginal,\n  IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n  WebhookIdentityType as WebhookIdentityTypeOriginal,\n  WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n  AccountInfo as AccountInfoOriginal,\n  AddItemApplicationErrors as AddItemApplicationErrorsOriginal,\n  BulkUpdateWishlistTagsApplicationErrors as BulkUpdateWishlistTagsApplicationErrorsOriginal,\n  BulkUpdateWishlistTagsByFilterApplicationErrors as BulkUpdateWishlistTagsByFilterApplicationErrorsOriginal,\n} from './ecom-v1-wishlist-wishlists.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,qCACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,I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entityType","getDefaultWishlist","addItem","removeItem","bulkUpdateWishlistTags","bulkUpdateWishlistTagsByFilter"]}