{"version":3,"sources":["../../src/fastgallery-item-v1-item-items.universal.ts","../../src/fastgallery-item-v1-item-items.http.ts","../../src/fastgallery-item-v1-item-items.public.ts","../../src/fastgallery-item-v1-item-items.context.ts"],"sourcesContent":["import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n  renameKeysFromSDKRequestToRESTRequest,\n  renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport {\n  HttpClient,\n  HttpResponse,\n  NonNullablePaths,\n  QuerySpec,\n  Query as QuerySdkType,\n} from '@wix/sdk-types';\nimport * as ambassadorWixFastgalleryItemV1Item from './fastgallery-item-v1-item-items.http.js';\n// @ts-ignore\nimport { transformSDKImageToRESTImage } from '@wix/sdk-runtime/transformations/image';\nimport { transformRESTImageToSDKImage } from '@wix/sdk-runtime/transformations/image';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { createQueryUtils } from '@wix/sdk-runtime/query-builder-utils';\n\n/**\n * A Item is a ...\n * You can ...\n * Read more about Items\n * in this [article](<LINK_TO_KB_ARTICLE>).\n */\nexport interface Item {\n  /**\n   * Item ID.\n   * @format GUID\n   * @readonly\n   */\n  _id?: string | null;\n  /** @readonly */\n  revision?: string | null;\n  /**\n   * Draft Item ID that this item originated from\n   * @format GUID\n   * @readonly\n   */\n  draftItemId?: string | null;\n  /**\n   * Gallery ID that the item is part of\n   * @format GUID\n   * @immutable\n   */\n  galleryId?: string | null;\n  /**\n   * Represents the site version when the item was published\n   * @readonly\n   * @immutable\n   */\n  siteVersion?: string | null;\n  /** @maxLength 50 */\n  title?: string | null;\n  /** Link to an internal or external page */\n  link?: Link;\n  /** media of the item */\n  media?: MediaItem;\n  /** @readonly */\n  _createdDate?: Date | null;\n  /** @readonly */\n  _updatedDate?: Date | null;\n  /** @maxLength 1500 */\n  description?: string | null;\n  /** Data Extensions */\n  extendedFields?: ExtendedFields;\n}\n\nexport interface Link {\n  /**\n   * Display text of the link.\n   * `referenced_entity_field` carries this field's translations from a source entity onto an entity\n   * that references it - concretely, DraftItem -> the published Item, whose translations are synced\n   * from DraftItem rather than owned locally. Without it the translated label is served on the draft\n   * read (so the editor looks right) and silently falls back to the origin language on the published\n   * read, which is what site visitors get. It must be declared on this leaf: the collector only\n   * honours the annotation on STRING / StringValue / RichContent and ignores it on message fields.\n   * The path is the field's location in the source entity; every embedder of this type - pro-gallery\n   * and fast-gallery, draft and published - places it at `link`, so one path is correct for all.\n   * @maxLength 1000\n   */\n  text?: string | null;\n  /**\n   * Target URL of the link.\n   * @format WEB_URL\n   */\n  url?: string | null;\n}\n\nexport enum LinkType {\n  UNDEFINED = 'UNDEFINED',\n  /** external link */\n  EXTERNAL = 'EXTERNAL',\n  /** for internal usage using wixLinkData */\n  INTERNAL = 'INTERNAL',\n}\n\n/** @enumType */\nexport type LinkTypeWithLiterals =\n  | LinkType\n  | 'UNDEFINED'\n  | 'EXTERNAL'\n  | 'INTERNAL';\n\n/** The link object generated by panels in the editor and used by applications in Wix */\nexport interface WixLink extends WixLinkLinkOneOf {\n  /** External link type */\n  external?: ExternalLink;\n  /** Page link type */\n  page?: PageLink;\n  /** Anchor link type */\n  anchor?: AnchorLink;\n  /** Dynamic page link type */\n  dynamicPage?: DynamicPageLink;\n  /** Document link type */\n  document?: DocumentLink;\n  /** Email link type */\n  email?: EmailLink;\n  /** Phone link type */\n  phone?: PhoneLink;\n  /** Address link type */\n  address?: AddressLink;\n  /** WhatsApp link type */\n  whatsApp?: WhatsAppLink;\n  /** TPA link type */\n  tpaPage?: TpaPageLink;\n}\n\n/** @oneof */\nexport interface WixLinkLinkOneOf {\n  /** External link type */\n  external?: ExternalLink;\n  /** Page link type */\n  page?: PageLink;\n  /** Anchor link type */\n  anchor?: AnchorLink;\n  /** Dynamic page link type */\n  dynamicPage?: DynamicPageLink;\n  /** Document link type */\n  document?: DocumentLink;\n  /** Email link type */\n  email?: EmailLink;\n  /** Phone link type */\n  phone?: PhoneLink;\n  /** Address link type */\n  address?: AddressLink;\n  /** WhatsApp link type */\n  whatsApp?: WhatsAppLink;\n  /** TPA link type */\n  tpaPage?: TpaPageLink;\n}\n\nexport interface ExternalLink {\n  /**\n   * The url of the page\n   * @format WEB_URL\n   */\n  url?: string;\n  /**\n   * Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page.\n   * @maxLength 1000\n   */\n  target?: string | null;\n  /** @maxSize 20 */\n  rel?: LinkRelWithLiterals[];\n}\n\n/**\n * The 'rel' attribute of the link. The rel attribute defines the relationship between a linked resource and the current document.\n * Further reading (also about different possible rel types): https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel\n * Following are the accepted 'rel' types by Wix applications.\n */\nexport enum LinkRel {\n  /** Indicates that the current document's original author or publisher does not endorse the referenced document. */\n  nofollow = 'nofollow',\n  /** Instructs the browser to navigate to the target resource without granting the new browsing context access to the document that opened it. */\n  noopener = 'noopener',\n  /** No Referer header will be included. Additionally, has the same effect as noopener. */\n  noreferrer = 'noreferrer',\n  /** Indicates a link that resulted from advertisements or paid placements. */\n  sponsored = 'sponsored',\n}\n\n/** @enumType */\nexport type LinkRelWithLiterals =\n  | LinkRel\n  | 'nofollow'\n  | 'noopener'\n  | 'noreferrer'\n  | 'sponsored';\n\nexport interface PageLink {\n  /**\n   * The page id we want from the site\n   * @maxLength 1000\n   */\n  pageId?: string;\n  /**\n   * Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page.\n   * @maxLength 1000\n   */\n  target?: string | null;\n  /**\n   * rel of link\n   * @maxSize 20\n   */\n  rel?: LinkRelWithLiterals[];\n}\n\nexport interface AnchorLink {\n  /**\n   * The name of the anchor\n   * @maxLength 1000\n   */\n  anchorName?: string;\n  /**\n   * The data id (from the JSON page) of the anchor that should be used\n   * @maxLength 1000\n   */\n  anchorDataId?: string;\n  /**\n   * The page id we want from the site\n   * @maxLength 1000\n   */\n  pageId?: string;\n  /**\n   * rel of link\n   * @maxSize 20\n   */\n  rel?: LinkRelWithLiterals[];\n}\n\nexport interface DynamicPageLink {\n  /**\n   * The router that handles this link\n   * @maxLength 1000\n   */\n  routerId?: string;\n  /**\n   * The path data we'd like\n   * @maxLength 1000\n   */\n  innerRoute?: string;\n  /**\n   * The data id (from the JSON page) of the anchor that should be used\n   * @maxLength 1000\n   */\n  anchorDataId?: string | null;\n  /**\n   * rel of link\n   * @maxSize 20\n   */\n  rel?: LinkRelWithLiterals[];\n}\n\nexport interface DocumentLink {\n  /**\n   * The id of the document\n   * @maxLength 1000\n   */\n  docId?: string;\n  /**\n   * The name of the document for download purposes\n   * @maxLength 1000\n   */\n  name?: string | null;\n  /** If this document can be indexed by scrapers, default is false */\n  indexable?: boolean;\n}\n\nexport interface EmailLink {\n  /**\n   * The email we will be sending a message to\n   * @format EMAIL\n   */\n  recipient?: string;\n  /**\n   * The subject of the email\n   * @maxLength 1000\n   */\n  subject?: string | null;\n  /**\n   * The body of the email\n   * @maxLength 100000\n   */\n  body?: string | null;\n}\n\nexport interface PhoneLink {\n  /**\n   * The phone number we want to link to\n   * @format PHONE\n   * @maxLength 100\n   */\n  phoneNumber?: string;\n}\n\nexport interface AddressLink {\n  /**\n   * An address that we can link to\n   * @maxLength 1000\n   */\n  address?: string;\n}\n\nexport interface WhatsAppLink {\n  /**\n   * The whatsApp phone number we want to connect with\n   * @format PHONE\n   */\n  phoneNumber?: string;\n}\n\n/** Link to a TPA page */\nexport interface TpaPageLink {\n  /**\n   * Type of item (e.g. 'wix.stores.sub_pages.product')\n   * @maxLength 1000\n   */\n  itemTypeIdentifier?: string;\n  /**\n   * Id of linked item\n   * @maxLength 1000\n   */\n  itemId?: string;\n  /**\n   * Id of linked page\n   * @maxLength 1000\n   */\n  pageId?: string;\n  /**\n   * Id of app being linked to (AppDefId)\n   * @maxLength 1000\n   */\n  appDefinitionId?: string;\n  /**\n   * The relativepath of linked page\n   * @maxLength 10000\n   */\n  path?: string;\n  /**\n   * rel of link\n   * @maxSize 20\n   */\n  rel?: LinkRelWithLiterals[];\n}\n\nexport interface MediaItem extends MediaItemMediaOneOf {\n  /** image item */\n  imageOptions?: Image;\n  /** item's media type */\n  type?: TypeWithLiterals;\n}\n\n/** @oneof */\nexport interface MediaItemMediaOneOf {\n  /** image item */\n  imageOptions?: Image;\n}\n\nexport enum Type {\n  /** undefined type */\n  UNDEFINED = 'UNDEFINED',\n  /** image */\n  IMAGE = 'IMAGE',\n}\n\n/** @enumType */\nexport type TypeWithLiterals = Type | 'UNDEFINED' | 'IMAGE';\n\nexport interface Image {\n  /** Information about the Wix Media image. */\n  imageInfo?: string;\n  /** Focal point of the image. */\n  focalPoint?: Point;\n  /** Set of key-value pairs describing the media in [Exchangeable Image File format](https://en.wikipedia.org/wiki/Exif). */\n  exif?: Record<string, any> | null;\n  /**\n   * Image compression level. <br />\n   *\n   * Min: `30` <br />\n   * Max: `100`\n   * @min 30\n   * @max 100\n   */\n  quality?: number | null;\n  /** [Unsharp masking](https://en.wikipedia.org/wiki/Unsharp_masking) values of the image. */\n  unsharpMasking?: UnsharpMasking;\n  /**\n   * Image alt text, translatable.\n   * @maxLength 5000\n   */\n  altText?: string | null;\n}\n\nexport interface FocalPoint {\n  /** X-coordinate of the focal point. */\n  x?: number;\n  /** Y-coordinate of the focal point. */\n  y?: number;\n}\n\nexport interface Point {\n  /** X-coordinate of the focal point. */\n  x?: number;\n  /** Y-coordinate of the focal point. */\n  y?: number;\n}\n\nexport interface UnsharpMasking {\n  /**\n   * Unsharp masking amount. Controls the sharpening strength. <br />\n   *\n   * Min: `0` <br />\n   * Max: `5`\n   * @max 5\n   */\n  amount?: number | null;\n  /** Unsharp masking radius in pixels. Controls the sharpening width. */\n  radius?: number | null;\n  /**\n   * Unsharp masking threshold. Controls how different neighboring pixels must be for shapening to apply. <br />\n   *\n   * Min: `0` <br />\n   * Max: `1`\n   * @max 1\n   */\n  threshold?: 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 CreateItemRequest {\n  /** Item to be created. */\n  item: Item;\n}\n\nexport interface CreateItemResponse {\n  /** The created Item. */\n  item?: Item;\n}\n\nexport interface GetItemRequest {\n  /**\n   * ID of the Item to retrieve.\n   * @format GUID\n   */\n  itemId: string;\n}\n\nexport interface GetItemResponse {\n  /** The requested Item. */\n  item?: Item;\n}\n\nexport interface UpdateItemRequest {\n  /** Item to be updated, may be partial. */\n  item: Item;\n}\n\nexport interface UpdateItemResponse {\n  /** Updated Item. */\n  item?: Item;\n}\n\nexport interface DeleteItemRequest {\n  /**\n   * Id of the Item to delete.\n   * @format GUID\n   */\n  itemId: string;\n}\n\nexport interface DeleteItemResponse {}\n\nexport interface QueryItemsRequest {\n  /** WQL expression. */\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   * @maxSize 5\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 CursorPaging {\n  /**\n   * Maximum number of items to return in the results.\n   * @max 100\n   */\n  limit?: number | null;\n  /**\n   * Pointer to the next or previous page in the list of results.\n   *\n   * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n   * Not relevant for the first request.\n   * @maxLength 16000\n   */\n  cursor?: string | null;\n}\n\nexport interface QueryItemsResponse {\n  /** List of Items. */\n  items?: Item[];\n  /** Paging metadata */\n  pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n  /** Number of items returned in the response. */\n  count?: number | null;\n  /** Cursor strings that point to the next page, previous page, or both. */\n  cursors?: Cursors;\n  /**\n   * Whether there are more pages to retrieve following the current page.\n   *\n   * + `true`: Another page of results can be retrieved.\n   * + `false`: This is the last page.\n   */\n  hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n  /**\n   * Cursor string pointing to the next page in the list of results.\n   * @maxLength 16000\n   */\n  next?: string | null;\n  /**\n   * Cursor pointing to the previous page in the list of results.\n   * @maxLength 16000\n   */\n  prev?: string | null;\n}\n\nexport interface UpdateExtendedFieldsRequest {\n  /** ID of the entity to update. */\n  _id: string;\n  /** Identifier for the app whose extended fields are being updated. */\n  namespace: string;\n  /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */\n  namespaceData: Record<string, any> | null;\n}\n\nexport interface UpdateExtendedFieldsResponse {\n  /** Updated Item. */\n  item?: Item;\n}\n\nexport interface BulkCreateItemsRequest {\n  /**\n   * List of Items to be created\n   * @minSize 1\n   * @maxSize 100\n   */\n  items: Item[];\n  /** set to `true` if you wish to receive back the created Items in the response */\n  returnEntity?: boolean;\n}\n\nexport interface BulkCreateItemsResponse {\n  /**\n   * List of the bulk create operation results including the Items and metadata.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkItemResult[];\n  /** Metadata regarding the bulk create operation */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ItemMetadata {\n  /**\n   * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\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 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 BulkItemResult {\n  /** Metadata regarding the specific single create operation */\n  itemMetadata?: ItemMetadata;\n  /** Only exists if `returnEntity` was set to true in the request */\n  item?: Item;\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 BulkUpdateItemsRequest {\n  /**\n   * List of Items to be updated.\n   * @minSize 1\n   * @maxSize 100\n   */\n  items: MaskedItem[];\n  /** set to `true` if you wish to receive back the updated Items in the response */\n  returnEntity?: boolean;\n}\n\nexport interface MaskedItem {\n  /** Item to be updated, may be partial */\n  item?: Item;\n}\n\nexport interface BulkUpdateItemsResponse {\n  /**\n   * Results\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkUpdateItemsResponseBulkItemResult[];\n  /** Metadata regarding the bulk update operation */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateItemsResponseBulkItemResult {\n  /** Metadata regarding the specific single update operation */\n  itemMetadata?: ItemMetadata;\n  /** Only exists if `returnEntity` was set to true in the request */\n  item?: Item;\n}\n\nexport interface BulkDeleteItemsRequest {\n  /**\n   * Item ids to be deleted\n   * @minSize 1\n   * @maxSize 100\n   * @format GUID\n   */\n  itemIds: string[];\n}\n\nexport interface BulkDeleteItemsResponse {\n  /**\n   * Results\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkDeleteItemsResponseBulkItemResult[];\n  /** Metadata regarding the bulk delete operation */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkDeleteItemsResponseBulkItemResult {\n  /** Metadata regarding the specific single delete operation */\n  itemMetadata?: ItemMetadata;\n}\n\nexport interface RemoveItemFromTrashBinRequest {\n  /**\n   * ID of the Item to remove from TrashBin.\n   * @format GUID\n   */\n  itemId: string;\n}\n\nexport interface RemoveItemFromTrashBinResponse {}\n\nexport interface RestoreItemFromTrashBinRequest {\n  /**\n   * ID of the Item to restore from TrashBin.\n   * @format GUID\n   */\n  itemId: string;\n}\n\nexport interface RestoreItemFromTrashBinResponse {\n  /** Restored Item. */\n  item?: Item;\n}\n\nexport interface GetDeletedItemRequest {\n  /**\n   * ID of the Item to retrieve from TrashBin.\n   * @format GUID\n   */\n  itemId: string;\n}\n\nexport interface GetDeletedItemResponse {\n  /** Deleted Item. */\n  item?: Item;\n}\n\nexport interface ListDeletedItemsRequest {\n  /** WQL query to run against TrashBin items */\n  query?: CursorQuery;\n  /**\n   * List of Item IDs to retrieve from TrashBin. Supersedes query if both are present.\n   * @format GUID\n   * @maxSize 100\n   */\n  itemIds?: string[];\n}\n\nexport interface ListDeletedItemsResponse {\n  /** List of Items in TrashBin. */\n  items?: Item[];\n  /** Paging metadata */\n  pagingMetadata?: CursorPagingMetadata;\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  entity?: string;\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  currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n  /** Entity that was deleted. */\n  deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n  body?: string;\n}\n\nexport interface Empty {}\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/**\n * create item (todo: tech writer to add more details)\n * @param item - Item to be created.\n * @public\n * @documentationMaturity preview\n * @requiredField item\n * @permissionId FAST_GALLERY.MANAGE\n * @applicableIdentity APP\n * @returns The created Item.\n * @fqn wix.fastgallery.item.v1.ItemService.CreateItem\n */\nexport async function createItem(\n  item: Item\n): Promise<\n  NonNullablePaths<\n    Item,\n    | `media.imageOptions.focalPoint.x`\n    | `media.imageOptions.focalPoint.y`\n    | `media.type`,\n    5\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = transformPaths(\n    renameKeysFromSDKRequestToRESTRequest({ item: item }),\n    [\n      {\n        transformFn: transformSDKImageToRESTImage,\n        paths: [{ path: 'item.media.imageOptions.imageInfo' }],\n      },\n    ]\n  );\n\n  const reqOpts = ambassadorWixFastgalleryItemV1Item.createItem(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(\n      transformPaths(result.data, [\n        {\n          transformFn: transformRESTImageToSDKImage,\n          paths: [{ path: 'item.media.imageOptions.imageInfo' }],\n        },\n      ])\n    )?.item!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { item: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['item']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\n/**\n * Retrieves a Item.\n * @param itemId - ID of the Item to retrieve.\n * @public\n * @documentationMaturity preview\n * @requiredField itemId\n * @permissionId FAST_GALLERY.READ\n * @applicableIdentity APP\n * @returns The requested Item.\n * @fqn wix.fastgallery.item.v1.ItemService.GetItem\n */\nexport async function getItem(\n  itemId: string\n): Promise<\n  NonNullablePaths<\n    Item,\n    | `media.imageOptions.focalPoint.x`\n    | `media.imageOptions.focalPoint.y`\n    | `media.type`,\n    5\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({ itemId: itemId });\n\n  const reqOpts = ambassadorWixFastgalleryItemV1Item.getItem(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(\n      transformPaths(result.data, [\n        {\n          transformFn: transformRESTImageToSDKImage,\n          paths: [{ path: 'item.media.imageOptions.imageInfo' }],\n        },\n      ])\n    )?.item!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { itemId: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['itemId']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\n/**\n * Updates a Item.\n *\n * Each time the Item is updated,\n * `revision` increments by 1.\n * The current `revision` must be passed when updating the Item.\n * This ensures you're working with the latest Item\n * and prevents unintended overwrites.\n * @param _id - Item ID.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @requiredField item\n * @requiredField item.revision\n * @permissionId FAST_GALLERY.MANAGE\n * @applicableIdentity APP\n * @returns Updated Item.\n * @fqn wix.fastgallery.item.v1.ItemService.UpdateItem\n */\nexport async function updateItem(\n  _id: string,\n  item: NonNullablePaths<UpdateItem, `revision`, 2>\n): Promise<\n  NonNullablePaths<\n    Item,\n    | `media.imageOptions.focalPoint.x`\n    | `media.imageOptions.focalPoint.y`\n    | `media.type`,\n    5\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[2] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = transformPaths(\n    renameKeysFromSDKRequestToRESTRequest({ item: { ...item, id: _id } }),\n    [\n      {\n        transformFn: transformSDKImageToRESTImage,\n        paths: [{ path: 'item.media.imageOptions.imageInfo' }],\n      },\n    ]\n  );\n\n  const reqOpts = ambassadorWixFastgalleryItemV1Item.updateItem(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(\n      transformPaths(result.data, [\n        {\n          transformFn: transformRESTImageToSDKImage,\n          paths: [{ path: 'item.media.imageOptions.imageInfo' }],\n        },\n      ])\n    )?.item!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: { item: '$[1]' },\n        explicitPathsToArguments: { 'item.id': '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['_id', 'item']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface UpdateItem {\n  /**\n   * Item ID.\n   * @format GUID\n   * @readonly\n   */\n  _id?: string | null;\n  /** @readonly */\n  revision?: string | null;\n  /**\n   * Draft Item ID that this item originated from\n   * @format GUID\n   * @readonly\n   */\n  draftItemId?: string | null;\n  /**\n   * Gallery ID that the item is part of\n   * @format GUID\n   * @immutable\n   */\n  galleryId?: string | null;\n  /**\n   * Represents the site version when the item was published\n   * @readonly\n   * @immutable\n   */\n  siteVersion?: string | null;\n  /** @maxLength 50 */\n  title?: string | null;\n  /** Link to an internal or external page */\n  link?: Link;\n  /** media of the item */\n  media?: MediaItem;\n  /** @readonly */\n  _createdDate?: Date | null;\n  /** @readonly */\n  _updatedDate?: Date | null;\n  /** @maxLength 1500 */\n  description?: string | null;\n  /** Data Extensions */\n  extendedFields?: ExtendedFields;\n}\n\n/**\n * delete item (todo: tech writer to add more details)\n * @param itemId - Id of the Item to delete.\n * @public\n * @documentationMaturity preview\n * @requiredField itemId\n * @permissionId FAST_GALLERY.MANAGE\n * @applicableIdentity APP\n * @fqn wix.fastgallery.item.v1.ItemService.DeleteItem\n */\nexport async function deleteItem(itemId: string): Promise<void> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({ itemId: itemId });\n\n  const reqOpts = ambassadorWixFastgalleryItemV1Item.deleteItem(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { itemId: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['itemId']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\n/**\n * Creates a query to retrieve a list of gallery items.\n *\n * The `queryItems()` method builds a query to retrieve a list of gallery items and returns an `ItemsQueryBuilder` object.\n *\n * The returned object contains the query definition, which is used to run the query using the `find()` method.\n *\n * You can refine the query by chaining `ItemsQueryBuilder` methods onto the query. `ItemsQueryBuilder` methods enable you to filter, sort, and control the results that `queryItems()` returns.\n * @public\n * @documentationMaturity preview\n * @permissionId FAST_GALLERY.READ\n * @applicableIdentity APP\n * @fqn wix.fastgallery.item.v1.ItemService.QueryItems\n */\nexport function queryItems(): ItemsQueryBuilder {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[0] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  return queryBuilder<Item, 'CURSOR', QueryItemsRequest, QueryItemsResponse>({\n    func: async (payload: QueryItemsRequest) => {\n      const reqOpts = ambassadorWixFastgalleryItemV1Item.queryItems(payload);\n\n      sideEffects?.onSiteCall?.();\n      try {\n        const result = await httpClient.request(reqOpts);\n        sideEffects?.onSuccess?.(result);\n        return result;\n      } catch (err) {\n        sideEffects?.onError?.(err);\n        throw err;\n      }\n    },\n    requestTransformer: (query: QueryItemsRequest['query']) => {\n      const args = [query, {}] as [QueryItemsRequest['query'], {}];\n      return renameKeysFromSDKRequestToRESTRequest({\n        ...args?.[1],\n        query: args?.[0],\n      });\n    },\n    responseTransformer: ({ data }: HttpResponse<QueryItemsResponse>) => {\n      const transformedData = renameKeysFromRESTResponseToSDKResponse(\n        transformPaths(data, [\n          {\n            transformFn: transformRESTImageToSDKImage,\n            paths: [{ path: 'items.media.imageOptions.imageInfo' }],\n          },\n        ])\n      );\n\n      return {\n        items: transformedData?.items,\n        pagingMetadata: transformedData?.pagingMetadata,\n      };\n    },\n    errorTransformer: (err: unknown) => {\n      const transformedError = sdkTransformError(err, {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { query: '$[0]' },\n        singleArgumentUnchanged: false,\n      });\n\n      throw transformedError;\n    },\n    pagingMethod: 'CURSOR',\n    transformationPaths: {},\n  });\n}\n\ninterface QueryCursorResult {\n  cursors: Cursors;\n  hasNext: () => boolean;\n  hasPrev: () => boolean;\n  length: number;\n  pageSize: number;\n}\n\nexport interface ItemsQueryResult extends QueryCursorResult {\n  items: Item[];\n  query: ItemsQueryBuilder;\n  next: () => Promise<ItemsQueryResult>;\n  prev: () => Promise<ItemsQueryResult>;\n}\n\nexport interface ItemsQueryBuilder {\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  eq: (\n    propertyName:\n      | '_id'\n      | 'draftItemId'\n      | 'galleryId'\n      | 'title'\n      | '_createdDate'\n      | '_updatedDate',\n    value: any\n  ) => ItemsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  ne: (\n    propertyName:\n      | '_id'\n      | 'draftItemId'\n      | 'galleryId'\n      | 'title'\n      | '_createdDate'\n      | '_updatedDate',\n    value: any\n  ) => ItemsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  ge: (\n    propertyName:\n      | '_id'\n      | 'draftItemId'\n      | 'galleryId'\n      | 'title'\n      | '_createdDate'\n      | '_updatedDate',\n    value: any\n  ) => ItemsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  gt: (\n    propertyName:\n      | '_id'\n      | 'draftItemId'\n      | 'galleryId'\n      | 'title'\n      | '_createdDate'\n      | '_updatedDate',\n    value: any\n  ) => ItemsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  le: (\n    propertyName:\n      | '_id'\n      | 'draftItemId'\n      | 'galleryId'\n      | 'title'\n      | '_createdDate'\n      | '_updatedDate',\n    value: any\n  ) => ItemsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  lt: (\n    propertyName:\n      | '_id'\n      | 'draftItemId'\n      | 'galleryId'\n      | 'title'\n      | '_createdDate'\n      | '_updatedDate',\n    value: any\n  ) => ItemsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `string`.\n   * @param string - String to compare against. Case-insensitive.\n   * @documentationMaturity preview\n   */\n  startsWith: (\n    propertyName: '_id' | 'draftItemId' | 'galleryId' | 'title',\n    value: string\n  ) => ItemsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `values`.\n   * @param values - List of values to compare against.\n   * @documentationMaturity preview\n   */\n  hasSome: (\n    propertyName:\n      | '_id'\n      | 'draftItemId'\n      | 'galleryId'\n      | 'title'\n      | '_createdDate'\n      | '_updatedDate',\n    value: any[]\n  ) => ItemsQueryBuilder;\n  /** @documentationMaturity preview */\n  in: (\n    propertyName:\n      | '_id'\n      | 'draftItemId'\n      | 'galleryId'\n      | 'title'\n      | '_createdDate'\n      | '_updatedDate',\n    value: any\n  ) => ItemsQueryBuilder;\n  /** @documentationMaturity preview */\n  exists: (\n    propertyName:\n      | '_id'\n      | 'draftItemId'\n      | 'galleryId'\n      | 'title'\n      | '_createdDate'\n      | '_updatedDate',\n    value: boolean\n  ) => ItemsQueryBuilder;\n  /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n   * @documentationMaturity preview\n   */\n  ascending: (\n    ...propertyNames: Array<\n      | '_id'\n      | 'draftItemId'\n      | 'galleryId'\n      | 'title'\n      | 'sortOrder'\n      | '_createdDate'\n      | '_updatedDate'\n    >\n  ) => ItemsQueryBuilder;\n  /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n   * @documentationMaturity preview\n   */\n  descending: (\n    ...propertyNames: Array<\n      | '_id'\n      | 'draftItemId'\n      | 'galleryId'\n      | 'title'\n      | 'sortOrder'\n      | '_createdDate'\n      | '_updatedDate'\n    >\n  ) => ItemsQueryBuilder;\n  /** @param limit - Number of items to return, which is also the `pageSize` of the results object.\n   * @documentationMaturity preview\n   */\n  limit: (limit: number) => ItemsQueryBuilder;\n  /** @param cursor - A pointer to specific record\n   * @documentationMaturity preview\n   */\n  skipTo: (cursor: string) => ItemsQueryBuilder;\n  /** @documentationMaturity preview */\n  find: () => Promise<ItemsQueryResult>;\n}\n\n/**\n * @hidden\n * @fqn wix.fastgallery.item.v1.ItemService.QueryItems\n * @requiredField query\n */\nexport async function typedQueryItems(\n  query: ItemQuery\n): Promise<\n  NonNullablePaths<\n    QueryItemsResponse,\n    `items` | `items.${number}.media.type`,\n    5\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({ query: query });\n\n  const reqOpts = ambassadorWixFastgalleryItemV1Item.queryItems(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(\n      transformPaths(result.data, [\n        {\n          transformFn: transformRESTImageToSDKImage,\n          paths: [{ path: 'items.media.imageOptions.imageInfo' }],\n        },\n      ])\n    )!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { query: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['query']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface ItemQuerySpec extends QuerySpec {\n  paging: 'cursor';\n  wql: [\n    {\n      fields: [\n        '_createdDate',\n        '_id',\n        '_updatedDate',\n        'draftItemId',\n        'galleryId',\n        'title'\n      ];\n      operators: '*';\n      sort: 'BOTH';\n    }\n  ];\n}\n\nexport type CommonQueryWithEntityContext = QuerySdkType<Item, ItemQuerySpec>;\nexport type ItemQuery = {\n  /** \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  */\n  cursorPaging?: {\n    /** \n  Maximum number of items to return in the results. \n  @max: 100 \n  */\n    limit?:\n      | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit']\n      | null;\n    /** \n  Pointer to the next or previous page in the list of results.\n\n  Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n  Not relevant for the first request. \n  @maxLength: 16000 \n  */\n    cursor?:\n      | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor']\n      | null;\n  };\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?: CommonQueryWithEntityContext['filter'] | null;\n  /** \n  Sort object in the following format:\n  `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]` \n  @maxSize: 5 \n  */\n  sort?: {\n    /** \n  Name of the field to sort by. \n  @maxLength: 512 \n  */\n    fieldName?: NonNullable<\n      CommonQueryWithEntityContext['sort']\n    >[number]['fieldName'];\n    /** \n  Sort order.  \n  */\n    order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];\n  }[];\n};\n\nexport const utils = {\n  query: {\n    ...createQueryUtils<Item, ItemQuerySpec, ItemQuery>(),\n  },\n};\n\n/**\n * Updates extended fields of a Item without incrementing revision\n * @param _id - ID of the entity to update.\n * @param namespace - Identifier for the app whose extended fields are being updated.\n * @public\n * @documentationMaturity preview\n * @requiredField _id\n * @requiredField namespace\n * @requiredField options\n * @requiredField options.namespaceData\n * @permissionId FAST_GALLERY.MANAGE\n * @applicableIdentity APP\n * @fqn wix.fastgallery.item.v1.ItemService.UpdateExtendedFields\n */\nexport async function updateExtendedFields(\n  _id: string,\n  namespace: string,\n  options: NonNullablePaths<UpdateExtendedFieldsOptions, `namespaceData`, 2>\n): Promise<\n  NonNullablePaths<\n    UpdateExtendedFieldsResponse,\n    | `item.media.imageOptions.focalPoint.x`\n    | `item.media.imageOptions.focalPoint.y`\n    | `item.media.type`,\n    6\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[3] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    id: _id,\n    namespace: namespace,\n    namespaceData: options?.namespaceData,\n  });\n\n  const reqOpts =\n    ambassadorWixFastgalleryItemV1Item.updateExtendedFields(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(\n      transformPaths(result.data, [\n        {\n          transformFn: transformRESTImageToSDKImage,\n          paths: [{ path: 'item.media.imageOptions.imageInfo' }],\n        },\n      ])\n    )!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          id: '$[0]',\n          namespace: '$[1]',\n          namespaceData: '$[2].namespaceData',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['_id', 'namespace', 'options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface UpdateExtendedFieldsOptions {\n  /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */\n  namespaceData: Record<string, any> | null;\n}\n\n/**\n * Create multiple Items in a single request. Works synchronously.\n * @param items - List of Items to be created\n * @public\n * @documentationMaturity preview\n * @requiredField items\n * @permissionId FAST_GALLERY.MANAGE\n * @applicableIdentity APP\n * @fqn wix.fastgallery.item.v1.ItemService.BulkCreateItems\n */\nexport async function bulkCreateItems(\n  items: Item[],\n  options?: BulkCreateItemsOptions\n): Promise<\n  NonNullablePaths<\n    BulkCreateItemsResponse,\n    | `results`\n    | `results.${number}.itemMetadata.originalIndex`\n    | `results.${number}.itemMetadata.success`\n    | `results.${number}.itemMetadata.error.code`\n    | `results.${number}.itemMetadata.error.description`\n    | `results.${number}.item.media.type`\n    | `bulkActionMetadata.totalSuccesses`\n    | `bulkActionMetadata.totalFailures`\n    | `bulkActionMetadata.undetailedFailures`,\n    6\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[2] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = transformPaths(\n    renameKeysFromSDKRequestToRESTRequest({\n      items: items,\n      returnEntity: options?.returnEntity,\n    }),\n    [\n      {\n        transformFn: transformSDKImageToRESTImage,\n        paths: [{ path: 'items.media.imageOptions.imageInfo' }],\n      },\n    ]\n  );\n\n  const reqOpts = ambassadorWixFastgalleryItemV1Item.bulkCreateItems(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(\n      transformPaths(result.data, [\n        {\n          transformFn: transformRESTImageToSDKImage,\n          paths: [{ path: 'results.item.media.imageOptions.imageInfo' }],\n        },\n      ])\n    )!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          items: '$[0]',\n          returnEntity: '$[1].returnEntity',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['items', 'options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface BulkCreateItemsOptions {\n  /** set to `true` if you wish to receive back the created Items in the response */\n  returnEntity?: boolean;\n}\n\n/**\n * Update multiple Items in a single request. Works synchronously.\n * @param items - List of Items to be updated.\n * @public\n * @documentationMaturity preview\n * @requiredField items\n * @requiredField items.item.revision\n * @permissionId FAST_GALLERY.MANAGE\n * @applicableIdentity APP\n * @fqn wix.fastgallery.item.v1.ItemService.BulkUpdateItems\n */\nexport async function bulkUpdateItems(\n  items: NonNullablePaths<MaskedItem, `item.revision`, 3>[],\n  options?: BulkUpdateItemsOptions\n): Promise<\n  NonNullablePaths<\n    BulkUpdateItemsResponse,\n    | `results`\n    | `results.${number}.itemMetadata.originalIndex`\n    | `results.${number}.itemMetadata.success`\n    | `results.${number}.itemMetadata.error.code`\n    | `results.${number}.itemMetadata.error.description`\n    | `results.${number}.item.media.type`\n    | `bulkActionMetadata.totalSuccesses`\n    | `bulkActionMetadata.totalFailures`\n    | `bulkActionMetadata.undetailedFailures`,\n    6\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[2] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = transformPaths(\n    renameKeysFromSDKRequestToRESTRequest({\n      items: items,\n      returnEntity: options?.returnEntity,\n    }),\n    [\n      {\n        transformFn: transformSDKImageToRESTImage,\n        paths: [{ path: 'items.item.media.imageOptions.imageInfo' }],\n      },\n    ]\n  );\n\n  const reqOpts = ambassadorWixFastgalleryItemV1Item.bulkUpdateItems(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(\n      transformPaths(result.data, [\n        {\n          transformFn: transformRESTImageToSDKImage,\n          paths: [{ path: 'results.item.media.imageOptions.imageInfo' }],\n        },\n      ])\n    )!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          items: '$[0]',\n          returnEntity: '$[1].returnEntity',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['items', 'options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface BulkUpdateItemsOptions {\n  /** set to `true` if you wish to receive back the updated Items in the response */\n  returnEntity?: boolean;\n}\n\n/**\n * Delete multiple Items in a single request. Works synchronously.\n * @param itemIds - Item ids to be deleted\n * @public\n * @documentationMaturity preview\n * @requiredField itemIds\n * @permissionId FAST_GALLERY.MANAGE\n * @applicableIdentity APP\n * @fqn wix.fastgallery.item.v1.ItemService.BulkDeleteItems\n */\nexport async function bulkDeleteItems(\n  itemIds: string[]\n): Promise<\n  NonNullablePaths<\n    BulkDeleteItemsResponse,\n    | `results`\n    | `results.${number}.itemMetadata.originalIndex`\n    | `results.${number}.itemMetadata.success`\n    | `results.${number}.itemMetadata.error.code`\n    | `results.${number}.itemMetadata.error.description`\n    | `bulkActionMetadata.totalSuccesses`\n    | `bulkActionMetadata.totalFailures`\n    | `bulkActionMetadata.undetailedFailures`,\n    6\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({ itemIds: itemIds });\n\n  const reqOpts = ambassadorWixFastgalleryItemV1Item.bulkDeleteItems(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { itemIds: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['itemIds']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\n/**\n * Removes deleted Item from TrashBin\n * @param itemId - ID of the Item to remove from TrashBin.\n * @public\n * @documentationMaturity preview\n * @requiredField itemId\n * @permissionId FAST_GALLERY.MANAGE\n * @applicableIdentity APP\n * @fqn wix.fastgallery.item.v1.ItemService.RemoveItemFromTrashBin\n */\nexport async function removeItemFromTrashBin(itemId: string): Promise<void> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({ itemId: itemId });\n\n  const reqOpts =\n    ambassadorWixFastgalleryItemV1Item.removeItemFromTrashBin(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { itemId: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['itemId']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\n/**\n * Restores an Item from TrashBin\n * @param itemId - ID of the Item to restore from TrashBin.\n * @public\n * @documentationMaturity preview\n * @requiredField itemId\n * @permissionId FAST_GALLERY.MANAGE\n * @applicableIdentity APP\n * @fqn wix.fastgallery.item.v1.ItemService.RestoreItemFromTrashBin\n */\nexport async function restoreItemFromTrashBin(\n  itemId: string\n): Promise<\n  NonNullablePaths<\n    RestoreItemFromTrashBinResponse,\n    | `item.media.imageOptions.focalPoint.x`\n    | `item.media.imageOptions.focalPoint.y`\n    | `item.media.type`,\n    6\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({ itemId: itemId });\n\n  const reqOpts =\n    ambassadorWixFastgalleryItemV1Item.restoreItemFromTrashBin(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(\n      transformPaths(result.data, [\n        {\n          transformFn: transformRESTImageToSDKImage,\n          paths: [{ path: 'item.media.imageOptions.imageInfo' }],\n        },\n      ])\n    )!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { itemId: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['itemId']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\n/**\n * Get deleted Item from TrashBin\n * @param itemId - ID of the Item to retrieve from TrashBin.\n * @public\n * @documentationMaturity preview\n * @requiredField itemId\n * @permissionId FAST_GALLERY.MANAGE\n * @applicableIdentity APP\n * @fqn wix.fastgallery.item.v1.ItemService.GetDeletedItem\n */\nexport async function getDeletedItem(\n  itemId: string\n): Promise<\n  NonNullablePaths<\n    GetDeletedItemResponse,\n    | `item.media.imageOptions.focalPoint.x`\n    | `item.media.imageOptions.focalPoint.y`\n    | `item.media.type`,\n    6\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({ itemId: itemId });\n\n  const reqOpts = ambassadorWixFastgalleryItemV1Item.getDeletedItem(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(\n      transformPaths(result.data, [\n        {\n          transformFn: transformRESTImageToSDKImage,\n          paths: [{ path: 'item.media.imageOptions.imageInfo' }],\n        },\n      ])\n    )!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { itemId: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['itemId']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\n/**\n * List deleted Items which are in TrashBin\n * @public\n * @documentationMaturity preview\n * @permissionId FAST_GALLERY.MANAGE\n * @applicableIdentity APP\n * @fqn wix.fastgallery.item.v1.ItemService.ListDeletedItems\n */\nexport async function listDeletedItems(\n  options?: ListDeletedItemsOptions\n): Promise<\n  NonNullablePaths<\n    ListDeletedItemsResponse,\n    `items` | `items.${number}.media.type`,\n    5\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    query: options?.query,\n    itemIds: options?.itemIds,\n  });\n\n  const reqOpts = ambassadorWixFastgalleryItemV1Item.listDeletedItems(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(\n      transformPaths(result.data, [\n        {\n          transformFn: transformRESTImageToSDKImage,\n          paths: [{ path: 'items.media.imageOptions.imageInfo' }],\n        },\n      ])\n    )!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          query: '$[0].query',\n          itemIds: '$[0].itemIds',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface ListDeletedItemsOptions {\n  /** WQL query to run against TrashBin items */\n  query?: CursorQuery;\n  /**\n   * List of Item IDs to retrieve from TrashBin. Supersedes query if both are present.\n   * @format GUID\n   * @maxSize 100\n   */\n  itemIds?: string[];\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixFastgalleryItemV1ItemServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/item',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/item',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/item',\n        destPath: '',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/item',\n        destPath: '',\n      },\n      {\n        srcPath: '/fastgallery/item/v1/bulk/items',\n        destPath: '/v1/bulk/items',\n      },\n      {\n        srcPath: '/fastgallery/item/v1/items',\n        destPath: '/v1/items',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/item',\n        destPath: '',\n      },\n      {\n        srcPath: '/fastgallery/item/v1/bulk/items',\n        destPath: '/v1/bulk/items',\n      },\n      {\n        srcPath: '/fastgallery/item/v1/items',\n        destPath: '/v1/items',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/fastgallery/item/v1/items',\n        destPath: '/v1/items',\n      },\n      {\n        srcPath: '/fastgallery/item/v1/bulk/items',\n        destPath: '/v1/bulk/items',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_fast-gallery_items';\n\n/** create item (todo: tech writer to add more details) */\nexport function createItem(payload: object): RequestOptionsFactory<any> {\n  function __createItem({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: [\n          { path: 'item.sortOrder' },\n          { path: 'item.media.imageOptions.imageInfo.focalPoint.x' },\n          { path: 'item.media.imageOptions.imageInfo.focalPoint.y' },\n          { path: 'item.media.imageOptions.focalPoint.x' },\n          { path: 'item.media.imageOptions.focalPoint.y' },\n          { path: 'item.media.imageOptions.unsharpMasking.amount' },\n          { path: 'item.media.imageOptions.unsharpMasking.radius' },\n          { path: 'item.media.imageOptions.unsharpMasking.threshold' },\n        ],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'item.createdDate' },\n          { path: 'item.updatedDate' },\n          { path: 'item.media.imageOptions.imageInfo.urlExpirationDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.fastgallery.item.v1.item',\n      method: 'POST' as any,\n      methodFqn: 'wix.fastgallery.item.v1.ItemService.CreateItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFastgalleryItemV1ItemServiceUrl({\n        protoPath: '/v1/items',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'item.sortOrder' },\n              { path: 'item.media.imageOptions.imageInfo.focalPoint.x' },\n              { path: 'item.media.imageOptions.imageInfo.focalPoint.y' },\n              { path: 'item.media.imageOptions.focalPoint.x' },\n              { path: 'item.media.imageOptions.focalPoint.y' },\n              { path: 'item.media.imageOptions.unsharpMasking.amount' },\n              { path: 'item.media.imageOptions.unsharpMasking.radius' },\n              { path: 'item.media.imageOptions.unsharpMasking.threshold' },\n            ],\n          },\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'item.createdDate' },\n              { path: 'item.updatedDate' },\n              { path: 'item.media.imageOptions.imageInfo.urlExpirationDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createItem;\n}\n\n/** Retrieves a Item. */\nexport function getItem(payload: object): RequestOptionsFactory<any> {\n  function __getItem({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.fastgallery.item.v1.item',\n      method: 'GET' as any,\n      methodFqn: 'wix.fastgallery.item.v1.ItemService.GetItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFastgalleryItemV1ItemServiceUrl({\n        protoPath: '/v1/items/{itemId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'item.sortOrder' },\n              { path: 'item.media.imageOptions.imageInfo.focalPoint.x' },\n              { path: 'item.media.imageOptions.imageInfo.focalPoint.y' },\n              { path: 'item.media.imageOptions.focalPoint.x' },\n              { path: 'item.media.imageOptions.focalPoint.y' },\n              { path: 'item.media.imageOptions.unsharpMasking.amount' },\n              { path: 'item.media.imageOptions.unsharpMasking.radius' },\n              { path: 'item.media.imageOptions.unsharpMasking.threshold' },\n            ],\n          },\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'item.createdDate' },\n              { path: 'item.updatedDate' },\n              { path: 'item.media.imageOptions.imageInfo.urlExpirationDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getItem;\n}\n\n/**\n * Updates a Item.\n *\n * Each time the Item is updated,\n * `revision` increments by 1.\n * The current `revision` must be passed when updating the Item.\n * This ensures you're working with the latest Item\n * and prevents unintended overwrites.\n */\nexport function updateItem(payload: object): RequestOptionsFactory<any> {\n  function __updateItem({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'fieldMask' }],\n      },\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: [\n          { path: 'item.sortOrder' },\n          { path: 'item.media.imageOptions.imageInfo.focalPoint.x' },\n          { path: 'item.media.imageOptions.imageInfo.focalPoint.y' },\n          { path: 'item.media.imageOptions.focalPoint.x' },\n          { path: 'item.media.imageOptions.focalPoint.y' },\n          { path: 'item.media.imageOptions.unsharpMasking.amount' },\n          { path: 'item.media.imageOptions.unsharpMasking.radius' },\n          { path: 'item.media.imageOptions.unsharpMasking.threshold' },\n        ],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'item.createdDate' },\n          { path: 'item.updatedDate' },\n          { path: 'item.media.imageOptions.imageInfo.urlExpirationDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.fastgallery.item.v1.item',\n      method: 'PATCH' as any,\n      methodFqn: 'wix.fastgallery.item.v1.ItemService.UpdateItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFastgalleryItemV1ItemServiceUrl({\n        protoPath: '/v1/items/{item.id}',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'item.sortOrder' },\n              { path: 'item.media.imageOptions.imageInfo.focalPoint.x' },\n              { path: 'item.media.imageOptions.imageInfo.focalPoint.y' },\n              { path: 'item.media.imageOptions.focalPoint.x' },\n              { path: 'item.media.imageOptions.focalPoint.y' },\n              { path: 'item.media.imageOptions.unsharpMasking.amount' },\n              { path: 'item.media.imageOptions.unsharpMasking.radius' },\n              { path: 'item.media.imageOptions.unsharpMasking.threshold' },\n            ],\n          },\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'item.createdDate' },\n              { path: 'item.updatedDate' },\n              { path: 'item.media.imageOptions.imageInfo.urlExpirationDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateItem;\n}\n\n/** delete item (todo: tech writer to add more details) */\nexport function deleteItem(payload: object): RequestOptionsFactory<any> {\n  function __deleteItem({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.fastgallery.item.v1.item',\n      method: 'DELETE' as any,\n      methodFqn: 'wix.fastgallery.item.v1.ItemService.DeleteItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFastgalleryItemV1ItemServiceUrl({\n        protoPath: '/v1/items/{itemId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteItem;\n}\n\n/**\n * Creates a query to retrieve a list of gallery items.\n *\n * The `queryItems()` method builds a query to retrieve a list of gallery items and returns an `ItemsQueryBuilder` object.\n *\n * The returned object contains the query definition, which is used to run the query using the `find()` method.\n *\n * You can refine the query by chaining `ItemsQueryBuilder` methods onto the query. `ItemsQueryBuilder` methods enable you to filter, sort, and control the results that `queryItems()` returns.\n */\nexport function queryItems(payload: object): RequestOptionsFactory<any> {\n  function __queryItems({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.fastgallery.item.v1.item',\n      method: 'GET' as any,\n      methodFqn: 'wix.fastgallery.item.v1.ItemService.QueryItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFastgalleryItemV1ItemServiceUrl({\n        protoPath: '/v1/items/query',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload, true),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'items.sortOrder' },\n              { path: 'items.media.imageOptions.imageInfo.focalPoint.x' },\n              { path: 'items.media.imageOptions.imageInfo.focalPoint.y' },\n              { path: 'items.media.imageOptions.focalPoint.x' },\n              { path: 'items.media.imageOptions.focalPoint.y' },\n              { path: 'items.media.imageOptions.unsharpMasking.amount' },\n              { path: 'items.media.imageOptions.unsharpMasking.radius' },\n              { path: 'items.media.imageOptions.unsharpMasking.threshold' },\n            ],\n          },\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'items.createdDate' },\n              { path: 'items.updatedDate' },\n              { path: 'items.media.imageOptions.imageInfo.urlExpirationDate' },\n            ],\n          },\n        ]),\n      fallback: [\n        {\n          method: 'POST' as any,\n          url: resolveWixFastgalleryItemV1ItemServiceUrl({\n            protoPath: '/v1/items/query',\n            data: payload,\n            host,\n          }),\n          data: payload,\n        },\n      ],\n    };\n\n    return metadata;\n  }\n\n  return __queryItems;\n}\n\n/** Updates extended fields of a Item without incrementing revision */\nexport function updateExtendedFields(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __updateExtendedFields({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.fastgallery.item.v1.item',\n      method: 'POST' as any,\n      methodFqn: 'wix.fastgallery.item.v1.ItemService.UpdateExtendedFields',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFastgalleryItemV1ItemServiceUrl({\n        protoPath: '/v1/items/{id}/update-extended-fields',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'item.sortOrder' },\n              { path: 'item.media.imageOptions.imageInfo.focalPoint.x' },\n              { path: 'item.media.imageOptions.imageInfo.focalPoint.y' },\n              { path: 'item.media.imageOptions.focalPoint.x' },\n              { path: 'item.media.imageOptions.focalPoint.y' },\n              { path: 'item.media.imageOptions.unsharpMasking.amount' },\n              { path: 'item.media.imageOptions.unsharpMasking.radius' },\n              { path: 'item.media.imageOptions.unsharpMasking.threshold' },\n            ],\n          },\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'item.createdDate' },\n              { path: 'item.updatedDate' },\n              { path: 'item.media.imageOptions.imageInfo.urlExpirationDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateExtendedFields;\n}\n\n/** Create multiple Items in a single request. Works synchronously. */\nexport function bulkCreateItems(payload: object): RequestOptionsFactory<any> {\n  function __bulkCreateItems({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: [\n          { path: 'items.sortOrder' },\n          { path: 'items.media.imageOptions.imageInfo.focalPoint.x' },\n          { path: 'items.media.imageOptions.imageInfo.focalPoint.y' },\n          { path: 'items.media.imageOptions.focalPoint.x' },\n          { path: 'items.media.imageOptions.focalPoint.y' },\n          { path: 'items.media.imageOptions.unsharpMasking.amount' },\n          { path: 'items.media.imageOptions.unsharpMasking.radius' },\n          { path: 'items.media.imageOptions.unsharpMasking.threshold' },\n        ],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'items.createdDate' },\n          { path: 'items.updatedDate' },\n          { path: 'items.media.imageOptions.imageInfo.urlExpirationDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.fastgallery.item.v1.item',\n      method: 'POST' as any,\n      methodFqn: 'wix.fastgallery.item.v1.ItemService.BulkCreateItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFastgalleryItemV1ItemServiceUrl({\n        protoPath: '/v1/bulk/items/create',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'results.item.sortOrder' },\n              {\n                path: 'results.item.media.imageOptions.imageInfo.focalPoint.x',\n              },\n              {\n                path: 'results.item.media.imageOptions.imageInfo.focalPoint.y',\n              },\n              { path: 'results.item.media.imageOptions.focalPoint.x' },\n              { path: 'results.item.media.imageOptions.focalPoint.y' },\n              { path: 'results.item.media.imageOptions.unsharpMasking.amount' },\n              { path: 'results.item.media.imageOptions.unsharpMasking.radius' },\n              {\n                path: 'results.item.media.imageOptions.unsharpMasking.threshold',\n              },\n            ],\n          },\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'results.item.createdDate' },\n              { path: 'results.item.updatedDate' },\n              {\n                path: 'results.item.media.imageOptions.imageInfo.urlExpirationDate',\n              },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkCreateItems;\n}\n\n/** Update multiple Items in a single request. Works synchronously. */\nexport function bulkUpdateItems(payload: object): RequestOptionsFactory<any> {\n  function __bulkUpdateItems({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'items.fieldMask' }],\n      },\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: [\n          { path: 'items.item.sortOrder' },\n          { path: 'items.item.media.imageOptions.imageInfo.focalPoint.x' },\n          { path: 'items.item.media.imageOptions.imageInfo.focalPoint.y' },\n          { path: 'items.item.media.imageOptions.focalPoint.x' },\n          { path: 'items.item.media.imageOptions.focalPoint.y' },\n          { path: 'items.item.media.imageOptions.unsharpMasking.amount' },\n          { path: 'items.item.media.imageOptions.unsharpMasking.radius' },\n          { path: 'items.item.media.imageOptions.unsharpMasking.threshold' },\n        ],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'items.item.createdDate' },\n          { path: 'items.item.updatedDate' },\n          { path: 'items.item.media.imageOptions.imageInfo.urlExpirationDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.fastgallery.item.v1.item',\n      method: 'POST' as any,\n      methodFqn: 'wix.fastgallery.item.v1.ItemService.BulkUpdateItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFastgalleryItemV1ItemServiceUrl({\n        protoPath: '/v1/bulk/items/update',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'results.item.sortOrder' },\n              {\n                path: 'results.item.media.imageOptions.imageInfo.focalPoint.x',\n              },\n              {\n                path: 'results.item.media.imageOptions.imageInfo.focalPoint.y',\n              },\n              { path: 'results.item.media.imageOptions.focalPoint.x' },\n              { path: 'results.item.media.imageOptions.focalPoint.y' },\n              { path: 'results.item.media.imageOptions.unsharpMasking.amount' },\n              { path: 'results.item.media.imageOptions.unsharpMasking.radius' },\n              {\n                path: 'results.item.media.imageOptions.unsharpMasking.threshold',\n              },\n            ],\n          },\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'results.item.createdDate' },\n              { path: 'results.item.updatedDate' },\n              {\n                path: 'results.item.media.imageOptions.imageInfo.urlExpirationDate',\n              },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateItems;\n}\n\n/** Delete multiple Items in a single request. Works synchronously. */\nexport function bulkDeleteItems(payload: object): RequestOptionsFactory<any> {\n  function __bulkDeleteItems({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.fastgallery.item.v1.item',\n      method: 'POST' as any,\n      methodFqn: 'wix.fastgallery.item.v1.ItemService.BulkDeleteItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFastgalleryItemV1ItemServiceUrl({\n        protoPath: '/v1/bulk/items/delete',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkDeleteItems;\n}\n\n/** Removes deleted Item from TrashBin */\nexport function removeItemFromTrashBin(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __removeItemFromTrashBin({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.fastgallery.item.v1.item',\n      method: 'DELETE' as any,\n      methodFqn: 'wix.fastgallery.item.v1.ItemService.RemoveItemFromTrashBin',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFastgalleryItemV1ItemServiceUrl({\n        protoPath: '/v1/items/trash-bin/{itemId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __removeItemFromTrashBin;\n}\n\n/** Restores an Item from TrashBin */\nexport function restoreItemFromTrashBin(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __restoreItemFromTrashBin({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.fastgallery.item.v1.item',\n      method: 'POST' as any,\n      methodFqn: 'wix.fastgallery.item.v1.ItemService.RestoreItemFromTrashBin',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFastgalleryItemV1ItemServiceUrl({\n        protoPath: '/v1/items/trash-bin/{itemId}/restore',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'item.sortOrder' },\n              { path: 'item.media.imageOptions.imageInfo.focalPoint.x' },\n              { path: 'item.media.imageOptions.imageInfo.focalPoint.y' },\n              { path: 'item.media.imageOptions.focalPoint.x' },\n              { path: 'item.media.imageOptions.focalPoint.y' },\n              { path: 'item.media.imageOptions.unsharpMasking.amount' },\n              { path: 'item.media.imageOptions.unsharpMasking.radius' },\n              { path: 'item.media.imageOptions.unsharpMasking.threshold' },\n            ],\n          },\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'item.createdDate' },\n              { path: 'item.updatedDate' },\n              { path: 'item.media.imageOptions.imageInfo.urlExpirationDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __restoreItemFromTrashBin;\n}\n\n/** Get deleted Item from TrashBin */\nexport function getDeletedItem(payload: object): RequestOptionsFactory<any> {\n  function __getDeletedItem({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.fastgallery.item.v1.item',\n      method: 'GET' as any,\n      methodFqn: 'wix.fastgallery.item.v1.ItemService.GetDeletedItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFastgalleryItemV1ItemServiceUrl({\n        protoPath: '/v1/items/trash-bin/{itemId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'item.sortOrder' },\n              { path: 'item.media.imageOptions.imageInfo.focalPoint.x' },\n              { path: 'item.media.imageOptions.imageInfo.focalPoint.y' },\n              { path: 'item.media.imageOptions.focalPoint.x' },\n              { path: 'item.media.imageOptions.focalPoint.y' },\n              { path: 'item.media.imageOptions.unsharpMasking.amount' },\n              { path: 'item.media.imageOptions.unsharpMasking.radius' },\n              { path: 'item.media.imageOptions.unsharpMasking.threshold' },\n            ],\n          },\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'item.createdDate' },\n              { path: 'item.updatedDate' },\n              { path: 'item.media.imageOptions.imageInfo.urlExpirationDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getDeletedItem;\n}\n\n/** List deleted Items which are in TrashBin */\nexport function listDeletedItems(payload: object): RequestOptionsFactory<any> {\n  function __listDeletedItems({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.fastgallery.item.v1.item',\n      method: 'GET' as any,\n      methodFqn: 'wix.fastgallery.item.v1.ItemService.ListDeletedItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFastgalleryItemV1ItemServiceUrl({\n        protoPath: '/v1/items/trash-bin',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload, true),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'items.sortOrder' },\n              { path: 'items.media.imageOptions.imageInfo.focalPoint.x' },\n              { path: 'items.media.imageOptions.imageInfo.focalPoint.y' },\n              { path: 'items.media.imageOptions.focalPoint.x' },\n              { path: 'items.media.imageOptions.focalPoint.y' },\n              { path: 'items.media.imageOptions.unsharpMasking.amount' },\n              { path: 'items.media.imageOptions.unsharpMasking.radius' },\n              { path: 'items.media.imageOptions.unsharpMasking.threshold' },\n            ],\n          },\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'items.createdDate' },\n              { path: 'items.updatedDate' },\n              { path: 'items.media.imageOptions.imageInfo.urlExpirationDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __listDeletedItems;\n}\n","import { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n  BulkCreateItemsOptions,\n  BulkCreateItemsResponse,\n  BulkDeleteItemsResponse,\n  BulkUpdateItemsOptions,\n  BulkUpdateItemsResponse,\n  GetDeletedItemResponse,\n  Item,\n  ItemQuery,\n  ItemsQueryBuilder,\n  ListDeletedItemsOptions,\n  ListDeletedItemsResponse,\n  MaskedItem,\n  QueryItemsResponse,\n  RestoreItemFromTrashBinResponse,\n  UpdateExtendedFieldsOptions,\n  UpdateExtendedFieldsResponse,\n  UpdateItem,\n  bulkCreateItems as universalBulkCreateItems,\n  bulkDeleteItems as universalBulkDeleteItems,\n  bulkUpdateItems as universalBulkUpdateItems,\n  createItem as universalCreateItem,\n  deleteItem as universalDeleteItem,\n  getDeletedItem as universalGetDeletedItem,\n  getItem as universalGetItem,\n  listDeletedItems as universalListDeletedItems,\n  queryItems as universalQueryItems,\n  removeItemFromTrashBin as universalRemoveItemFromTrashBin,\n  restoreItemFromTrashBin as universalRestoreItemFromTrashBin,\n  typedQueryItems as universalTypedQueryItems,\n  updateExtendedFields as universalUpdateExtendedFields,\n  updateItem as universalUpdateItem,\n} from './fastgallery-item-v1-item-items.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/fast-gallery' };\n\nexport function createItem(httpClient: HttpClient): CreateItemSignature {\n  return (item: Item) =>\n    universalCreateItem(\n      item,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface CreateItemSignature {\n  /**\n   * create item (todo: tech writer to add more details)\n   * @param - Item to be created.\n   * @returns The created Item.\n   */\n  (item: Item): Promise<\n    NonNullablePaths<\n      Item,\n      | `media.imageOptions.focalPoint.x`\n      | `media.imageOptions.focalPoint.y`\n      | `media.type`,\n      5\n    >\n  >;\n}\n\nexport function getItem(httpClient: HttpClient): GetItemSignature {\n  return (itemId: string) =>\n    universalGetItem(\n      itemId,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface GetItemSignature {\n  /**\n   * Retrieves a Item.\n   * @param - ID of the Item to retrieve.\n   * @returns The requested Item.\n   */\n  (itemId: string): Promise<\n    NonNullablePaths<\n      Item,\n      | `media.imageOptions.focalPoint.x`\n      | `media.imageOptions.focalPoint.y`\n      | `media.type`,\n      5\n    >\n  >;\n}\n\nexport function updateItem(httpClient: HttpClient): UpdateItemSignature {\n  return (_id: string, item: NonNullablePaths<UpdateItem, `revision`, 2>) =>\n    universalUpdateItem(\n      _id,\n      item,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface UpdateItemSignature {\n  /**\n   * Updates a Item.\n   *\n   * Each time the Item is updated,\n   * `revision` increments by 1.\n   * The current `revision` must be passed when updating the Item.\n   * This ensures you're working with the latest Item\n   * and prevents unintended overwrites.\n   * @param - Item ID.\n   * @returns Updated Item.\n   */\n  (_id: string, item: NonNullablePaths<UpdateItem, `revision`, 2>): Promise<\n    NonNullablePaths<\n      Item,\n      | `media.imageOptions.focalPoint.x`\n      | `media.imageOptions.focalPoint.y`\n      | `media.type`,\n      5\n    >\n  >;\n}\n\nexport function deleteItem(httpClient: HttpClient): DeleteItemSignature {\n  return (itemId: string) =>\n    universalDeleteItem(\n      itemId,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface DeleteItemSignature {\n  /**\n   * delete item (todo: tech writer to add more details)\n   * @param - Id of the Item to delete.\n   */\n  (itemId: string): Promise<void>;\n}\n\nexport function queryItems(httpClient: HttpClient): QueryItemsSignature {\n  return () =>\n    universalQueryItems(\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface QueryItemsSignature {\n  /**\n   * Creates a query to retrieve a list of gallery items.\n   *\n   * The `queryItems()` method builds a query to retrieve a list of gallery items and returns an `ItemsQueryBuilder` object.\n   *\n   * The returned object contains the query definition, which is used to run the query using the `find()` method.\n   *\n   * You can refine the query by chaining `ItemsQueryBuilder` methods onto the query. `ItemsQueryBuilder` methods enable you to filter, sort, and control the results that `queryItems()` returns.\n   */\n  (): ItemsQueryBuilder;\n}\n\nexport function typedQueryItems(\n  httpClient: HttpClient\n): TypedQueryItemsSignature {\n  return (query: ItemQuery) =>\n    universalTypedQueryItems(\n      query,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface TypedQueryItemsSignature {\n  /** */\n  (query: ItemQuery): Promise<\n    NonNullablePaths<\n      QueryItemsResponse,\n      `items` | `items.${number}.media.type`,\n      5\n    >\n  >;\n}\n\nexport function updateExtendedFields(\n  httpClient: HttpClient\n): UpdateExtendedFieldsSignature {\n  return (\n    _id: string,\n    namespace: string,\n    options: NonNullablePaths<UpdateExtendedFieldsOptions, `namespaceData`, 2>\n  ) =>\n    universalUpdateExtendedFields(\n      _id,\n      namespace,\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface UpdateExtendedFieldsSignature {\n  /**\n   * Updates extended fields of a Item without incrementing revision\n   * @param - ID of the entity to update.\n   * @param - Identifier for the app whose extended fields are being updated.\n   */\n  (\n    _id: string,\n    namespace: string,\n    options: NonNullablePaths<UpdateExtendedFieldsOptions, `namespaceData`, 2>\n  ): Promise<\n    NonNullablePaths<\n      UpdateExtendedFieldsResponse,\n      | `item.media.imageOptions.focalPoint.x`\n      | `item.media.imageOptions.focalPoint.y`\n      | `item.media.type`,\n      6\n    >\n  >;\n}\n\nexport function bulkCreateItems(\n  httpClient: HttpClient\n): BulkCreateItemsSignature {\n  return (items: Item[], options?: BulkCreateItemsOptions) =>\n    universalBulkCreateItems(\n      items,\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface BulkCreateItemsSignature {\n  /**\n   * Create multiple Items in a single request. Works synchronously.\n   * @param - List of Items to be created\n   */\n  (items: Item[], options?: BulkCreateItemsOptions): Promise<\n    NonNullablePaths<\n      BulkCreateItemsResponse,\n      | `results`\n      | `results.${number}.itemMetadata.originalIndex`\n      | `results.${number}.itemMetadata.success`\n      | `results.${number}.itemMetadata.error.code`\n      | `results.${number}.itemMetadata.error.description`\n      | `results.${number}.item.media.type`\n      | `bulkActionMetadata.totalSuccesses`\n      | `bulkActionMetadata.totalFailures`\n      | `bulkActionMetadata.undetailedFailures`,\n      6\n    >\n  >;\n}\n\nexport function bulkUpdateItems(\n  httpClient: HttpClient\n): BulkUpdateItemsSignature {\n  return (\n    items: NonNullablePaths<MaskedItem, `item.revision`, 3>[],\n    options?: BulkUpdateItemsOptions\n  ) =>\n    universalBulkUpdateItems(\n      items,\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface BulkUpdateItemsSignature {\n  /**\n   * Update multiple Items in a single request. Works synchronously.\n   * @param - List of Items to be updated.\n   */\n  (\n    items: NonNullablePaths<MaskedItem, `item.revision`, 3>[],\n    options?: BulkUpdateItemsOptions\n  ): Promise<\n    NonNullablePaths<\n      BulkUpdateItemsResponse,\n      | `results`\n      | `results.${number}.itemMetadata.originalIndex`\n      | `results.${number}.itemMetadata.success`\n      | `results.${number}.itemMetadata.error.code`\n      | `results.${number}.itemMetadata.error.description`\n      | `results.${number}.item.media.type`\n      | `bulkActionMetadata.totalSuccesses`\n      | `bulkActionMetadata.totalFailures`\n      | `bulkActionMetadata.undetailedFailures`,\n      6\n    >\n  >;\n}\n\nexport function bulkDeleteItems(\n  httpClient: HttpClient\n): BulkDeleteItemsSignature {\n  return (itemIds: string[]) =>\n    universalBulkDeleteItems(\n      itemIds,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface BulkDeleteItemsSignature {\n  /**\n   * Delete multiple Items in a single request. Works synchronously.\n   * @param - Item ids to be deleted\n   */\n  (itemIds: string[]): Promise<\n    NonNullablePaths<\n      BulkDeleteItemsResponse,\n      | `results`\n      | `results.${number}.itemMetadata.originalIndex`\n      | `results.${number}.itemMetadata.success`\n      | `results.${number}.itemMetadata.error.code`\n      | `results.${number}.itemMetadata.error.description`\n      | `bulkActionMetadata.totalSuccesses`\n      | `bulkActionMetadata.totalFailures`\n      | `bulkActionMetadata.undetailedFailures`,\n      6\n    >\n  >;\n}\n\nexport function removeItemFromTrashBin(\n  httpClient: HttpClient\n): RemoveItemFromTrashBinSignature {\n  return (itemId: string) =>\n    universalRemoveItemFromTrashBin(\n      itemId,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface RemoveItemFromTrashBinSignature {\n  /**\n   * Removes deleted Item from TrashBin\n   * @param - ID of the Item to remove from TrashBin.\n   */\n  (itemId: string): Promise<void>;\n}\n\nexport function restoreItemFromTrashBin(\n  httpClient: HttpClient\n): RestoreItemFromTrashBinSignature {\n  return (itemId: string) =>\n    universalRestoreItemFromTrashBin(\n      itemId,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface RestoreItemFromTrashBinSignature {\n  /**\n   * Restores an Item from TrashBin\n   * @param - ID of the Item to restore from TrashBin.\n   */\n  (itemId: string): Promise<\n    NonNullablePaths<\n      RestoreItemFromTrashBinResponse,\n      | `item.media.imageOptions.focalPoint.x`\n      | `item.media.imageOptions.focalPoint.y`\n      | `item.media.type`,\n      6\n    >\n  >;\n}\n\nexport function getDeletedItem(\n  httpClient: HttpClient\n): GetDeletedItemSignature {\n  return (itemId: string) =>\n    universalGetDeletedItem(\n      itemId,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface GetDeletedItemSignature {\n  /**\n   * Get deleted Item from TrashBin\n   * @param - ID of the Item to retrieve from TrashBin.\n   */\n  (itemId: string): Promise<\n    NonNullablePaths<\n      GetDeletedItemResponse,\n      | `item.media.imageOptions.focalPoint.x`\n      | `item.media.imageOptions.focalPoint.y`\n      | `item.media.type`,\n      6\n    >\n  >;\n}\n\nexport function listDeletedItems(\n  httpClient: HttpClient\n): ListDeletedItemsSignature {\n  return (options?: ListDeletedItemsOptions) =>\n    universalListDeletedItems(\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface ListDeletedItemsSignature {\n  /**\n   * List deleted Items which are in TrashBin\n   */\n  (options?: ListDeletedItemsOptions): Promise<\n    NonNullablePaths<\n      ListDeletedItemsResponse,\n      `items` | `items.${number}.media.type`,\n      5\n    >\n  >;\n}\n\nexport {\n  AccountInfo,\n  ActionEvent,\n  AddressLink,\n  AnchorLink,\n  ApplicationError,\n  BulkActionMetadata,\n  BulkCreateItemsOptions,\n  BulkCreateItemsRequest,\n  BulkCreateItemsResponse,\n  BulkDeleteItemsRequest,\n  BulkDeleteItemsResponse,\n  BulkDeleteItemsResponseBulkItemResult,\n  BulkItemResult,\n  BulkUpdateItemsOptions,\n  BulkUpdateItemsRequest,\n  BulkUpdateItemsResponse,\n  BulkUpdateItemsResponseBulkItemResult,\n  CreateItemRequest,\n  CreateItemResponse,\n  CursorPaging,\n  CursorPagingMetadata,\n  CursorQuery,\n  CursorQueryPagingMethodOneOf,\n  Cursors,\n  DeleteItemRequest,\n  DeleteItemResponse,\n  DocumentLink,\n  DomainEvent,\n  DomainEventBodyOneOf,\n  DynamicPageLink,\n  EmailLink,\n  Empty,\n  EntityCreatedEvent,\n  EntityDeletedEvent,\n  EntityUpdatedEvent,\n  ExtendedFields,\n  ExternalLink,\n  FocalPoint,\n  GetDeletedItemRequest,\n  GetDeletedItemResponse,\n  GetItemRequest,\n  GetItemResponse,\n  IdentificationData,\n  IdentificationDataIdOneOf,\n  Image,\n  Item,\n  ItemMetadata,\n  ItemQuerySpec,\n  ItemsQueryBuilder,\n  ItemsQueryResult,\n  Link,\n  LinkRel,\n  LinkType,\n  ListDeletedItemsOptions,\n  ListDeletedItemsRequest,\n  ListDeletedItemsResponse,\n  MaskedItem,\n  MediaItem,\n  MediaItemMediaOneOf,\n  MessageEnvelope,\n  PageLink,\n  PhoneLink,\n  Point,\n  QueryItemsRequest,\n  QueryItemsResponse,\n  RemoveItemFromTrashBinRequest,\n  RemoveItemFromTrashBinResponse,\n  RestoreInfo,\n  RestoreItemFromTrashBinRequest,\n  RestoreItemFromTrashBinResponse,\n  SortOrder,\n  Sorting,\n  TpaPageLink,\n  Type,\n  UnsharpMasking,\n  UpdateExtendedFieldsOptions,\n  UpdateExtendedFieldsRequest,\n  UpdateExtendedFieldsResponse,\n  UpdateItem,\n  UpdateItemRequest,\n  UpdateItemResponse,\n  WebhookIdentityType,\n  WhatsAppLink,\n  WixLink,\n  WixLinkLinkOneOf,\n  utils,\n} from './fastgallery-item-v1-item-items.universal.js';\n","import {\n  createItem as publicCreateItem,\n  getItem as publicGetItem,\n  updateItem as publicUpdateItem,\n  deleteItem as publicDeleteItem,\n  queryItems as publicQueryItems,\n  typedQueryItems as publicTypedQueryItems,\n  updateExtendedFields as publicUpdateExtendedFields,\n  bulkCreateItems as publicBulkCreateItems,\n  bulkUpdateItems as publicBulkUpdateItems,\n  bulkDeleteItems as publicBulkDeleteItems,\n  removeItemFromTrashBin as publicRemoveItemFromTrashBin,\n  restoreItemFromTrashBin as publicRestoreItemFromTrashBin,\n  getDeletedItem as publicGetDeletedItem,\n  listDeletedItems as publicListDeletedItems,\n} from './fastgallery-item-v1-item-items.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';\nimport { HttpClient } from '@wix/sdk-types';\nimport { createQueryOverloadRouter } from '@wix/sdk-runtime/query-method-router';\nimport {\n  ItemQuery,\n  ItemsQueryBuilder,\n  typedQueryItems as universalTypedQueryItems,\n} from './fastgallery-item-v1-item-items.universal.js';\n\nfunction customQueryItems(httpClient: HttpClient) {\n  const router = createQueryOverloadRouter({\n    builderQueryFunction: () => publicQueryItems(httpClient)(),\n    typedQueryFunction: (query: ItemQuery) =>\n      publicTypedQueryItems(httpClient)(query),\n    hasOptionsParameter: false,\n  });\n\n  function overloadedQuery(): ItemsQueryBuilder;\n  function overloadedQuery(\n    query: ItemQuery\n  ): ReturnType<typeof universalTypedQueryItems>;\n  function overloadedQuery(query?: ItemQuery): any {\n    return router(...arguments);\n  }\n\n  return overloadedQuery;\n}\n\nexport const createItem: MaybeContext<\n  BuildRESTFunction<typeof publicCreateItem> & typeof publicCreateItem\n> = /*#__PURE__*/ createRESTModule(publicCreateItem);\nexport const getItem: MaybeContext<\n  BuildRESTFunction<typeof publicGetItem> & typeof publicGetItem\n> = /*#__PURE__*/ createRESTModule(publicGetItem);\nexport const updateItem: MaybeContext<\n  BuildRESTFunction<typeof publicUpdateItem> & typeof publicUpdateItem\n> = /*#__PURE__*/ createRESTModule(publicUpdateItem);\nexport const deleteItem: MaybeContext<\n  BuildRESTFunction<typeof publicDeleteItem> & typeof publicDeleteItem\n> = /*#__PURE__*/ createRESTModule(publicDeleteItem);\nexport const updateExtendedFields: MaybeContext<\n  BuildRESTFunction<typeof publicUpdateExtendedFields> &\n    typeof publicUpdateExtendedFields\n> = /*#__PURE__*/ createRESTModule(publicUpdateExtendedFields);\nexport const bulkCreateItems: MaybeContext<\n  BuildRESTFunction<typeof publicBulkCreateItems> & typeof publicBulkCreateItems\n> = /*#__PURE__*/ createRESTModule(publicBulkCreateItems);\nexport const bulkUpdateItems: MaybeContext<\n  BuildRESTFunction<typeof publicBulkUpdateItems> & typeof publicBulkUpdateItems\n> = /*#__PURE__*/ createRESTModule(publicBulkUpdateItems);\nexport const bulkDeleteItems: MaybeContext<\n  BuildRESTFunction<typeof publicBulkDeleteItems> & typeof publicBulkDeleteItems\n> = /*#__PURE__*/ createRESTModule(publicBulkDeleteItems);\nexport const removeItemFromTrashBin: MaybeContext<\n  BuildRESTFunction<typeof publicRemoveItemFromTrashBin> &\n    typeof publicRemoveItemFromTrashBin\n> = /*#__PURE__*/ createRESTModule(publicRemoveItemFromTrashBin);\nexport const restoreItemFromTrashBin: MaybeContext<\n  BuildRESTFunction<typeof publicRestoreItemFromTrashBin> &\n    typeof publicRestoreItemFromTrashBin\n> = /*#__PURE__*/ createRESTModule(publicRestoreItemFromTrashBin);\nexport const getDeletedItem: MaybeContext<\n  BuildRESTFunction<typeof publicGetDeletedItem> & typeof publicGetDeletedItem\n> = /*#__PURE__*/ createRESTModule(publicGetDeletedItem);\nexport const listDeletedItems: MaybeContext<\n  BuildRESTFunction<typeof publicListDeletedItems> &\n    typeof publicListDeletedItems\n> = /*#__PURE__*/ createRESTModule(publicListDeletedItems);\nexport const queryItems: MaybeContext<\n  BuildRESTFunction<typeof customQueryItems> & typeof customQueryItems\n> = /*#__PURE__*/ createRESTModule(customQueryItems);\n\nexport {\n  LinkType,\n  LinkRel,\n  Type,\n  SortOrder,\n  WebhookIdentityType,\n} from './fastgallery-item-v1-item-items.universal.js';\nexport {\n  Item,\n  Link,\n  WixLink,\n  WixLinkLinkOneOf,\n  ExternalLink,\n  PageLink,\n  AnchorLink,\n  DynamicPageLink,\n  DocumentLink,\n  EmailLink,\n  PhoneLink,\n  AddressLink,\n  WhatsAppLink,\n  TpaPageLink,\n  MediaItem,\n  MediaItemMediaOneOf,\n  Image,\n  FocalPoint,\n  Point,\n  UnsharpMasking,\n  ExtendedFields,\n  CreateItemRequest,\n  CreateItemResponse,\n  GetItemRequest,\n  GetItemResponse,\n  UpdateItemRequest,\n  UpdateItemResponse,\n  DeleteItemRequest,\n  DeleteItemResponse,\n  QueryItemsRequest,\n  CursorQuery,\n  CursorQueryPagingMethodOneOf,\n  Sorting,\n  CursorPaging,\n  QueryItemsResponse,\n  CursorPagingMetadata,\n  Cursors,\n  UpdateExtendedFieldsRequest,\n  UpdateExtendedFieldsResponse,\n  BulkCreateItemsRequest,\n  BulkCreateItemsResponse,\n  ItemMetadata,\n  ApplicationError,\n  BulkItemResult,\n  BulkActionMetadata,\n  BulkUpdateItemsRequest,\n  MaskedItem,\n  BulkUpdateItemsResponse,\n  BulkUpdateItemsResponseBulkItemResult,\n  BulkDeleteItemsRequest,\n  BulkDeleteItemsResponse,\n  BulkDeleteItemsResponseBulkItemResult,\n  RemoveItemFromTrashBinRequest,\n  RemoveItemFromTrashBinResponse,\n  RestoreItemFromTrashBinRequest,\n  RestoreItemFromTrashBinResponse,\n  GetDeletedItemRequest,\n  GetDeletedItemResponse,\n  ListDeletedItemsRequest,\n  ListDeletedItemsResponse,\n  DomainEvent,\n  DomainEventBodyOneOf,\n  EntityCreatedEvent,\n  RestoreInfo,\n  EntityUpdatedEvent,\n  EntityDeletedEvent,\n  ActionEvent,\n  Empty,\n  MessageEnvelope,\n  IdentificationData,\n  IdentificationDataIdOneOf,\n  AccountInfo,\n  UpdateItem,\n  ItemsQueryResult,\n  ItemsQueryBuilder,\n  ItemQuerySpec,\n  UpdateExtendedFieldsOptions,\n  BulkCreateItemsOptions,\n  BulkUpdateItemsOptions,\n  ListDeletedItemsOptions,\n} from './fastgallery-item-v1-item-items.universal.js';\nexport { utils } from './fastgallery-item-v1-item-items.universal.js';\nexport {\n  LinkTypeWithLiterals,\n  LinkRelWithLiterals,\n  TypeWithLiterals,\n  SortOrderWithLiterals,\n  WebhookIdentityTypeWithLiterals,\n  CommonQueryWithEntityContext,\n  ItemQuery,\n} from './fastgallery-item-v1-item-items.universal.js';\n"],"mappings":";AAAA,SAAS,kBAAkB,yBAAyB;AACpD,SAAS,oBAAoB;AAC7B;AAAA,EACE;AAAA,EACA;AAAA,OACK;;;ACLP,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,0CACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,kBAAkB;AAAA,MAChB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,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,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAA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B;AAC3B,SAAO,CAAC,YACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;;;ACxYA,SAAS,wBAAwB;AAGjC,SAAS,iCAAiC;AAO1C,SAAS,iBAAiB,YAAwB;AAChD,QAAM,SAAS,0BAA0B;AAAA,IACvC,sBAAsB,MAAMC,YAAiB,UAAU,EAAE;AAAA,IACzD,oBAAoB,CAAC,UACnBC,iBAAsB,UAAU,EAAE,KAAK;AAAA,IACzC,qBAAqB;AAAA,EACvB,CAAC;AAMD,WAAS,gBAAgB,OAAwB;AAC/C,WAAO,OAAO,GAAG,SAAS;AAAA,EAC5B;AAEA,SAAO;AACT;AAEO,IAAMC,cAEK,iCAAiBA,WAAgB;AAC5C,IAAMC,WAEK,iCAAiBA,QAAa;AACzC,IAAMC,cAEK,iCAAiBA,WAAgB;AAC5C,IAAMC,cAEK,iCAAiBA,WAAgB;AAC5C,IAAMC,wBAGK,iCAAiBA,qBAA0B;AACtD,IAAMC,mBAEK,iCAAiBA,gBAAqB;AACjD,IAAMC,mBAEK,iCAAiBA,gBAAqB;AACjD,IAAMC,mBAEK,iCAAiBA,gBAAqB;AACjD,IAAMC,0BAGK,iCAAiBA,uBAA4B;AACxD,IAAMC,2BAGK,iCAAiBA,wBAA6B;AACzD,IAAMC,kBAEK,iCAAiBA,eAAoB;AAChD,IAAMC,oBAGK,iCAAiBA,iBAAsB;AAClD,IAAMb,cAEK,iCAAiB,gBAAgB;","names":["payload","transformPaths","LinkType","LinkRel","Type","SortOrder","WebhookIdentityType","createItem","getItem","updateItem","deleteItem","queryItems","updateExtendedFields","bulkCreateItems","bulkUpdateItems","bulkDeleteItems","removeItemFromTrashBin","restoreItemFromTrashBin","getDeletedItem","listDeletedItems","createItem","getItem","updateItem","deleteItem","queryItems","typedQueryItems","updateExtendedFields","bulkCreateItems","bulkUpdateItems","bulkDeleteItems","removeItemFromTrashBin","restoreItemFromTrashBin","getDeletedItem","listDeletedItems","queryItems","typedQueryItems","createItem","getItem","updateItem","deleteItem","updateExtendedFields","bulkCreateItems","bulkUpdateItems","bulkDeleteItems","removeItemFromTrashBin","restoreItemFromTrashBin","getDeletedItem","listDeletedItems"]}