{"version":3,"sources":["../../src/search-v1-sitedocument-site-search.universal.ts","../../src/search-v1-sitedocument-site-search.http.ts","../../src/search-v1-sitedocument-site-search.public.ts","../../src/search-v1-sitedocument-site-search.context.ts"],"sourcesContent":["import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport {\n  renameKeysFromSDKRequestToRESTRequest,\n  renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport * as ambassadorWixSearchV1Sitedocument from './search-v1-sitedocument-site-search.http.js';\n\n/** API is not yet fully migrated to FQDN entity */\nexport interface SiteDocument {\n  /** the document payload */\n  document?: Record<string, any> | null;\n}\n\nexport interface UpdateInternalDocumentsEvent\n  extends UpdateInternalDocumentsEventOperationOneOf {\n  /** insert/update documents */\n  update?: InternalDocumentUpdateOperation;\n  /** delete by document ids */\n  deleteByIds?: DeleteByIdsOperation;\n  /** delete documents matching filter */\n  deleteByFilter?: DeleteByFilterOperation;\n  /** update internal documents matching filter */\n  updateByFilter?: InternalDocumentUpdateByFilterOperation;\n  /** update only existing documents */\n  updateExisting?: InternalUpdateExistingOperation;\n  /** insert/update documents with versioning */\n  versionedUpdate?: VersionedDocumentUpdateOperation;\n  /** delete by document ids with versioning */\n  versionedDeleteByIds?: VersionedDeleteByIdsOperation;\n  /**\n   * type of the documents\n   * @minLength 2\n   */\n  documentType?: string;\n  /**\n   * language of the documents (mandatory)\n   * @minLength 2\n   */\n  language?: string | null;\n  /**\n   * one or more search documents\n   * @deprecated\n   */\n  addDocuments?: InternalDocument[];\n  /**\n   * one or more ids of indexed documents to be removed. Removal will happen before addition (if both provided)\n   * @deprecated\n   */\n  removeDocumentIds?: string[];\n  /** id to pass to processing notification */\n  correlationId?: string | null;\n  /** when event was created / issued */\n  issuedAt?: Date | null;\n}\n\n/** @oneof */\nexport interface UpdateInternalDocumentsEventOperationOneOf {\n  /** insert/update documents */\n  update?: InternalDocumentUpdateOperation;\n  /** delete by document ids */\n  deleteByIds?: DeleteByIdsOperation;\n  /** delete documents matching filter */\n  deleteByFilter?: DeleteByFilterOperation;\n  /** update internal documents matching filter */\n  updateByFilter?: InternalDocumentUpdateByFilterOperation;\n  /** update only existing documents */\n  updateExisting?: InternalUpdateExistingOperation;\n  /** insert/update documents with versioning */\n  versionedUpdate?: VersionedDocumentUpdateOperation;\n  /** delete by document ids with versioning */\n  versionedDeleteByIds?: VersionedDeleteByIdsOperation;\n}\n\nexport interface InternalDocument {\n  /** document with mandatory fields (id) and with fields specific to the type of the document */\n  document?: Record<string, any> | null;\n}\n\nexport interface InternalDocumentUpdateOperation {\n  /** documents to index or update */\n  documents?: InternalDocument[];\n}\n\nexport interface DeleteByIdsOperation {\n  /** ids of the documents to delete */\n  documentIds?: string[];\n  /**\n   * tenant id for custom tenancy strategy\n   * @minLength 2\n   * @maxLength 300\n   */\n  tenantId?: string | null;\n}\n\nexport interface DeleteByFilterOperation {\n  /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */\n  filter?: Record<string, any> | null;\n  /**\n   * tenant id for custom tenancy strategy\n   * @minLength 2\n   * @maxLength 300\n   */\n  tenantId?: string | null;\n}\n\nexport interface InternalDocumentUpdateByFilterOperation {\n  /** documents matching this filter will be updated */\n  filter?: Record<string, any> | null;\n  /** partial document to apply */\n  document?: InternalDocument;\n  /**\n   * tenant id for custom tenancy strategy\n   * @minLength 2\n   * @maxLength 300\n   */\n  tenantId?: string | null;\n}\n\nexport interface InternalUpdateExistingOperation {\n  /** documents to update */\n  documents?: InternalDocument[];\n}\n\nexport interface VersionedDocumentUpdateOperation {\n  /** documents to create or overwrite */\n  documents?: InternalDocument[];\n  /** versioning mode to use instead of default */\n  versioningMode?: VersioningModeWithLiterals;\n}\n\nexport enum VersioningMode {\n  /** use default versioning mode agreed with search team */\n  DEFAULT = 'DEFAULT',\n  /** execute only if version is greater than existing */\n  GREATER_THAN = 'GREATER_THAN',\n  /** execute only if version is greater or equal to existing */\n  GREATER_OR_EQUAL = 'GREATER_OR_EQUAL',\n}\n\n/** @enumType */\nexport type VersioningModeWithLiterals =\n  | VersioningMode\n  | 'DEFAULT'\n  | 'GREATER_THAN'\n  | 'GREATER_OR_EQUAL';\n\nexport interface VersionedDeleteByIdsOperation {\n  /** ids with version of the documents to delete */\n  documentIds?: VersionedDocumentId[];\n  /**\n   * tenant id for custom tenancy strategy\n   * @minLength 2\n   * @maxLength 300\n   */\n  tenantId?: string | null;\n}\n\nexport interface VersionedDocumentId {\n  /** document id */\n  documentId?: string;\n  /** document version */\n  version?: string;\n  /** versioning mode to use instead of default */\n  versioningMode?: VersioningModeWithLiterals;\n}\n\nexport interface UpdateDocumentsEvent\n  extends UpdateDocumentsEventOperationOneOf {\n  /** insert/update documents */\n  update?: DocumentUpdateOperation;\n  /** delete by document ids */\n  deleteByIds?: V1DeleteByIdsOperation;\n  /** delete documents matching filter */\n  deleteByFilter?: V1DeleteByFilterOperation;\n  /** update documents matching filter */\n  updateByFilter?: UpdateByFilterOperation;\n  /** update only existing documents */\n  updateExisting?: UpdateExistingOperation;\n  /**\n   * application which owns documents\n   * @minLength 2\n   */\n  appDefId?: string | null;\n  /**\n   * type of the documents\n   * @minLength 2\n   */\n  documentType?: string | null;\n  /**\n   * language of the documents\n   * @minLength 2\n   */\n  language?: string | null;\n  /**\n   * site documents belong to\n   * @minLength 2\n   */\n  msId?: string | null;\n}\n\n/** @oneof */\nexport interface UpdateDocumentsEventOperationOneOf {\n  /** insert/update documents */\n  update?: DocumentUpdateOperation;\n  /** delete by document ids */\n  deleteByIds?: V1DeleteByIdsOperation;\n  /** delete documents matching filter */\n  deleteByFilter?: V1DeleteByFilterOperation;\n  /** update documents matching filter */\n  updateByFilter?: UpdateByFilterOperation;\n  /** update only existing documents */\n  updateExisting?: UpdateExistingOperation;\n}\n\nexport interface DocumentUpdateOperation {\n  /** documents to index or update */\n  documents?: IndexDocument[];\n}\n\nexport interface IndexDocument {\n  /** data bag with non-searchable fields (url, image) */\n  payload?: DocumentPayload;\n  /** what type of users should documents be visible to */\n  exposure?: EnumWithLiterals;\n  /** document with mandatory fields (id, title, description) and with fields specific to the type of the document */\n  document?: Record<string, any> | null;\n  /** what member groups is the document exposed to. Used only with GROUP_PROTECTED exposure */\n  permittedMemberGroups?: string[];\n  /** if true SEO is disabled for this document */\n  seoHidden?: boolean | null;\n  /** if true the page is a lightbox popup */\n  isPopup?: boolean | null;\n}\n\nexport interface DocumentPayload {\n  /** url of the page representing the document */\n  url?: string | null;\n  /** image which represents the document */\n  documentImage?: DocumentImage;\n}\n\nexport interface DocumentImage {\n  /** the name of the image */\n  name?: string;\n  /** the width of the image */\n  width?: number;\n  /** the height of the image */\n  height?: number;\n}\n\nexport enum Enum {\n  /** Default value. Means that permission not set */\n  UNKNOWN = 'UNKNOWN',\n  /** Protected exposure. Exposed to members and owners */\n  PROTECTED = 'PROTECTED',\n  /** Private exposure. Exposed to owners */\n  PRIVATE = 'PRIVATE',\n  /** Public exposure. Visible to everyone */\n  PUBLIC = 'PUBLIC',\n  /** Used for partial updates, to state that exposure is not changing */\n  UNCHANGED = 'UNCHANGED',\n  /** Protected to members of permitted groups and owners */\n  GROUP_PROTECTED = 'GROUP_PROTECTED',\n}\n\n/** @enumType */\nexport type EnumWithLiterals =\n  | Enum\n  | 'UNKNOWN'\n  | 'PROTECTED'\n  | 'PRIVATE'\n  | 'PUBLIC'\n  | 'UNCHANGED'\n  | 'GROUP_PROTECTED';\n\nexport interface V1DeleteByIdsOperation {\n  /** ids of the documents to delete */\n  documentIds?: string[];\n}\n\nexport interface V1DeleteByFilterOperation {\n  /** documents matching this filter wil be deleted. only filterable documents defined in document_type can be used for filtering */\n  filter?: Record<string, any> | null;\n}\n\nexport interface UpdateByFilterOperation {\n  /** documents matching this filter will be updated */\n  filter?: Record<string, any> | null;\n  /** partial document to apply */\n  document?: IndexDocument;\n}\n\nexport interface UpdateExistingOperation {\n  /** documents to update */\n  documents?: IndexDocument[];\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\nexport interface SearchRequest {\n  /**\n   * Text to search for. All searchable fields will be searched.\n   * @maxLength 100\n   */\n  query?: string | null;\n  /**\n   * Document type of documents to search for. All document types are searched if not provided.\n   * @minLength 2\n   */\n  documentType?: string | null;\n  /** Fields to order by. */\n  ordering?: OrderingClauses;\n  /** Paging parameters. */\n  paging?: SearchPaging;\n  /**\n   * Language to search in.\n   * @minLength 2\n   */\n  language?: string | null;\n  /** Filter in platformized query language (for example {'field': {'$eq': 'value'}}) */\n  filter?: Record<string, any> | null;\n  /** The facets to retrieve. */\n  facets?: FacetClauses;\n  /** Enable fuzzy search (eg. query 'kalvin clein' will match document with 'calvin klein' in title). */\n  fuzzy?: boolean | null;\n  /** Highlight texts matching the query. Highlighted text will be wrapped with <mark/> tag. Defaults to true if not provided. */\n  highlight?: boolean | null;\n  /** Searchable fields to search in. If not provided, search is executed on all searchable fields in schema */\n  searchFields?: string[];\n  /** A list of fields to include in the result set. If not provided, all fields of schema will be included. */\n  fields?: string[];\n  /**\n   * The properties/overrides/experiments to enable for this request. Currently supported: `scoring_profile`, `result-format`.\n   * @maxSize 10\n   */\n  properties?: SearchProperty[];\n  /** Include seo hidden documents. Defaults to false if not provided. */\n  includeSeoHidden?: boolean | null;\n}\n\nexport interface OrderingClauses {\n  ordering?: OrderingClause[];\n}\n\nexport interface OrderingClause {\n  /** @minLength 2 */\n  fieldName?: string | null;\n  direction?: DirectionWithLiterals;\n}\n\nexport enum Direction {\n  UninitializedDirection = 'UninitializedDirection',\n  ASC = 'ASC',\n  DESC = 'DESC',\n}\n\n/** @enumType */\nexport type DirectionWithLiterals =\n  | Direction\n  | 'UninitializedDirection'\n  | 'ASC'\n  | 'DESC';\n\nexport interface SearchPaging {\n  /**\n   * Number of items to skip in the result set.\n   * @max 100000\n   * @deprecated\n   */\n  skip?: number;\n  /**\n   * Number of items to fetch (effectively page size).\n   * @max 1000\n   */\n  limit?: number;\n  /**\n   * Number of items to skip in the result set.\n   * @max 100000\n   */\n  offset?: number;\n}\n\nexport interface FacetClauses {\n  /** Each entry represents a single facet with parameters. */\n  clauses?: FacetClause[];\n}\n\nexport interface FacetClause extends FacetClauseClauseOneOf {\n  term?: TermFacet;\n  aggregation?: AggregationFacet;\n  hierarchical?: HierarchicalFacet;\n}\n\n/** @oneof */\nexport interface FacetClauseClauseOneOf {\n  term?: TermFacet;\n  aggregation?: AggregationFacet;\n  hierarchical?: HierarchicalFacet;\n}\n\nexport enum Aggregation {\n  MIN = 'MIN',\n  MAX = 'MAX',\n  SUM = 'SUM',\n}\n\n/** @enumType */\nexport type AggregationWithLiterals = Aggregation | 'MIN' | 'MAX' | 'SUM';\n\nexport interface HierarchicalFacet extends HierarchicalFacetClauseOneOf {\n  term?: TermFacet;\n  aggregation?: AggregationFacet;\n  nestedAggregation?: HierarchicalFacet;\n}\n\n/** @oneof */\nexport interface HierarchicalFacetClauseOneOf {\n  term?: TermFacet;\n  aggregation?: AggregationFacet;\n}\n\nexport interface TermFacet {\n  /** The name of the faceted attribute. */\n  name?: string;\n  /** Limit the number of facet values returned. Default is 10. */\n  limit?: number | null;\n}\n\nexport interface AggregationFacet {\n  /** The name of the faceted attribute. */\n  name?: string;\n  /** Aggregation type. */\n  aggregation?: AggregationWithLiterals;\n}\n\nexport interface SearchProperty {\n  name?: string;\n  value?: any;\n}\n\nexport interface SearchResponse {\n  /** Documents matching filter and query. */\n  documents?: Record<string, any>[] | null;\n  nextPage?: NextPageResponse;\n  /**\n   * Facets provide \"counts in categories\" view. For example searching for \"Nike\" would return\n   * (Shoes, 5), (Socks, 2) indicating numbers for matching by each faceted field.\n   */\n  facets?: FacetsResponse[];\n}\n\nexport interface NextPageResponse {\n  /** Total number of items across all pages */\n  total?: number;\n  /** The number of items to skip */\n  skip?: number;\n  /** The number of items to retrieve in one page */\n  limit?: number;\n}\n\nexport interface FacetsResponse extends FacetsResponseResponseOneOf {\n  terms?: TermAggregationResponse;\n  minAggregation?: MinAggregationResponse;\n  maxAggregation?: MaxAggregationResponse;\n  minMaxAggregation?: MinMaxAggregationResponse;\n  hierarchicalAggregation?: HierarchicalAggregationResponse;\n  sumAggregation?: SumAggregationResponse;\n}\n\n/** @oneof */\nexport interface FacetsResponseResponseOneOf {\n  terms?: TermAggregationResponse;\n  minAggregation?: MinAggregationResponse;\n  maxAggregation?: MaxAggregationResponse;\n  minMaxAggregation?: MinMaxAggregationResponse;\n  hierarchicalAggregation?: HierarchicalAggregationResponse;\n  sumAggregation?: SumAggregationResponse;\n}\n\nexport interface FacetCountResponse {\n  /** Facet field value (for example \"Shoes\", \"Socks\") */\n  facetValue?: string;\n  /** Document count within the group */\n  count?: number;\n}\n\nexport interface Value {\n  value?: string;\n  facets?: FacetsResponse;\n  count?: number;\n}\n\nexport interface TermAggregationResponse {\n  /** Facet field (for example productCategory) */\n  facet?: string;\n  /** Facet values and document counts */\n  facets?: FacetCountResponse[];\n}\n\nexport interface MinAggregationResponse {\n  /** Facet field (for example productPrice) */\n  facet?: string;\n  /** The minimum value across all documents */\n  minValue?: number | null;\n}\n\nexport interface MaxAggregationResponse {\n  /** Facet field (for example productPrice) */\n  facet?: string;\n  /** The maximum value across all documents */\n  maxValue?: number | null;\n}\n\nexport interface MinMaxAggregationResponse {\n  /** Facet field (for example productPrice) */\n  facet?: string;\n  /** The minimum value across all documents */\n  minValue?: number | null;\n  /** The maximum value across all documents */\n  maxValue?: number | null;\n}\n\nexport interface HierarchicalAggregationResponse {\n  facet?: string;\n  values?: Value[];\n}\n\nexport interface SumAggregationResponse {\n  /** Facet field (for example productPrice) */\n  facet?: string;\n  /** The sum value across all documents */\n  value?: number | null;\n}\n\nexport interface FederatedSearchRequest {\n  /**\n   * Query phrase to use.\n   * @maxLength 100\n   */\n  query?: string | null;\n  /**\n   * Language to search in.\n   * @minLength 2\n   */\n  language?: string | null;\n  /**\n   * Limit of documents to return per document type.\n   * @min 1\n   * @max 100\n   */\n  limit?: number | null;\n  /** Enable fuzzy search (for example query 'kalvin clein' will match document with 'calvin klein' in title). */\n  fuzzy?: boolean | null;\n  /** Highlight texts matching the query. Highlighted text will be wrapped with <mark/> tag. Defaults to true if not provided. */\n  highlight?: boolean | null;\n  /** Searchable fields to search in. If not provided, search is executed on all searchable fields in schemas */\n  searchFields?: string[];\n  /** Document types to search in. If not provided, search is executed on all document types enabled for the site */\n  documentTypes?: string[];\n  /** Include seo hidden documents. Defaults to false if not provided. */\n  includeSeoHidden?: boolean | null;\n  /**\n   * The properties/overrides/experiments to enable for this request. Currently supported: `scoring_profile`, `result-format`.\n   * @maxSize 10\n   */\n  properties?: SearchProperty[];\n}\n\nexport interface FederatedSearchResponse {\n  /** Search results from multiple indexes. */\n  results?: FederatedSearchDocuments[];\n}\n\nexport interface FederatedSearchDocuments {\n  /** Document type of documents */\n  documentType?: string | null;\n  /** Documents of document type */\n  documents?: Record<string, any>[] | null;\n  /** Total count of matching documents for document type */\n  total?: number;\n}\n\nexport interface SuggestRequest {\n  /**\n   * Text to search for. Fields configured in suggester configuration will be searched.\n   * @maxLength 50\n   */\n  query?: string | null;\n  /**\n   * Document type of documents to search for. All document types are searched if not provided.\n   * @minLength 2\n   */\n  documentType?: string | null;\n  /** Fields to order by. */\n  ordering?: OrderingClauses;\n  /**\n   * Number of suggested document to return.\n   * @min 1\n   * @max 100\n   */\n  limit?: number;\n  /**\n   * Language to search in.\n   * @minLength 2\n   */\n  language?: string | null;\n  /** Filter in platformized query language (for example {'field': {'$eq': 'value'}}) */\n  filter?: Record<string, any> | null;\n  /** Searchable fields to search in. If not provided, search is executed on all suggestable fields in schema */\n  searchFields?: string[];\n  /** A list of fields to include in the result set. If not provided, all fields of schema will be included. */\n  fields?: string[];\n  /** Include seo hidden documents. Defaults to false if not provided. */\n  includeSeoHidden?: boolean | null;\n  /**\n   * The properties/overrides/experiments to enable for this request. Currently supported: `scoring_profile`, `result-format`.\n   * @maxSize 10\n   */\n  properties?: SearchProperty[];\n}\n\nexport interface SuggestResponse {\n  /** Suggested documents. */\n  documents?: Record<string, any>[] | null;\n}\n\nexport interface FederatedSuggestRequest {\n  /**\n   * Text to search for. Fields configured in suggester configuration will be searched.\n   * @maxLength 50\n   */\n  query?: string | null;\n  /**\n   * Language to search in.\n   * @minLength 2\n   */\n  language?: string | null;\n  /**\n   * Number of suggested document to return per document type.\n   * @min 1\n   * @max 100\n   */\n  limit?: number;\n  /** Searchable fields to search in. If not provided, search is executed on all suggestable fields in schemas */\n  searchFields?: string[];\n  /** Document types to search in. If not provided, search is executed on all document types enabled for the site */\n  documentTypes?: string[];\n  /** Include seo hidden documents. Defaults to false if not provided. */\n  includeSeoHidden?: boolean | null;\n  /**\n   * The properties/overrides/experiments to enable for this request. Currently supported: `scoring_profile`, `result-format`.\n   * @maxSize 10\n   */\n  properties?: SearchProperty[];\n}\n\nexport interface FederatedSuggestResponse {\n  /** Suggest results from multiple indexes. */\n  results?: FederatedSuggestDocuments[];\n}\n\nexport interface FederatedSuggestDocuments {\n  /** Document type of documents */\n  documentType?: string | null;\n  /** Documents of document type */\n  documents?: Record<string, any>[] | null;\n}\n\nexport interface RelatedRequest {\n  /**\n   * ID of the document to fetch related documents for.\n   * @minLength 1\n   */\n  documentId?: string | null;\n  /**\n   * Document type of the document.\n   * @minLength 2\n   */\n  documentType?: string | null;\n  /** Fields to order by. */\n  ordering?: OrderingClauses;\n  /**\n   * Language to search in.\n   * @minLength 2\n   */\n  language?: string | null;\n  /** Filter in platformized query language (for example {'field': {'$eq': 'value'}}). */\n  filter?: Record<string, any> | null;\n  /** Searchable fields to compare documents by. If not provided, all searchable fields in schema are used */\n  searchFields?: string[];\n  /** A list of fields to include in the result set. If not provided, all fields of schema will be included. */\n  fields?: string[];\n  /** Number of related documents to return */\n  limit?: number;\n  /**\n   * The properties/overrides/experiments to enable for this request. Currently supported: `scoring_profile`.\n   * @maxSize 10\n   */\n  properties?: SearchProperty[];\n  /** Include seo hidden documents. Defaults to false if not provided. */\n  includeSeoHidden?: boolean | null;\n}\n\nexport interface RelatedResponse {\n  /** Documents matching filter and query. */\n  documents?: Record<string, any>[] | null;\n}\n\nexport interface AutocompleteRequest {\n  /**\n   * Query phrase to fetch completions for.\n   * @maxLength 50\n   */\n  query?: string | null;\n  /**\n   * Document type to use to search for phrases.\n   * @minLength 2\n   */\n  documentType?: string | null;\n  /**\n   * Limit of phrases to fetch.\n   * @min 1\n   * @max 100\n   */\n  limit?: number;\n  /**\n   * Language to search in.\n   * @minLength 2\n   */\n  language?: string | null;\n  /** Filter in platfromized query language (for example {'field': {'$eq': 'value'}}) */\n  filter?: Record<string, any> | null;\n  /** Searchable fields to use for query completion. If not provided, all searchable fields in schema are used */\n  searchFields?: string[];\n  /** Include seo hidden documents. Defaults to false if not provided. */\n  includeSeoHidden?: boolean | null;\n}\n\nexport interface AutocompleteResponse {\n  /** Suggested phrases. */\n  values?: AutocompleteResponseValue[];\n}\n\nexport interface AutocompleteResponseValue {\n  /** Suggested phrase. */\n  query?: string;\n}\n\nexport interface FederatedAutocompleteRequest {\n  /**\n   * Query phrase to fetch completions for.\n   * @maxLength 50\n   */\n  query?: string | null;\n  /**\n   * Language to search in.\n   * @minLength 2\n   */\n  language?: string | null;\n  /**\n   * Number of queries to return per document type.\n   * @min 1\n   * @max 100\n   */\n  limit?: number;\n  /** Searchable fields to search in. If not provided, search is executed on all autocompletable fields in schemas */\n  searchFields?: string[];\n  /** Document types to autocomplete in. If not provided, autocomplete is executed on all document types enabled for the site */\n  documentTypes?: string[];\n  /** Include seo hidden documents. Defaults to false if not provided. */\n  includeSeoHidden?: boolean | null;\n}\n\nexport interface FederatedAutocompleteResponse {\n  /** Suggested phrases from multiple indexes */\n  results?: FederatedAutocompleteResults[];\n}\n\nexport interface FederatedAutocompleteResults {\n  /** Document type of queries */\n  documentType?: string | null;\n  /** Suggested phrases */\n  values?: AutocompleteResponseValue[];\n}\n\nexport interface TrendingRequest {\n  documentTypes?: string[];\n  /** @minLength 2 */\n  language?: string | null;\n  /** Include seo hidden documents. Defaults to false if not provided. */\n  includeSeoHidden?: boolean | null;\n  /**\n   * The properties/overrides/experiments to enable for this request. Currently supported: `scoring_profile`, `result-format`.\n   * @maxSize 10\n   */\n  properties?: SearchProperty[];\n}\n\nexport interface TrendingResponse {\n  results?: TrendingItems[];\n}\n\nexport interface TrendingItems {\n  documentType?: string;\n  documents?: Record<string, any>[] | null;\n}\n\n/**\n * Executes a regular search query.\n * If you are unsure, this is likely the search method you want to used.\n * @public\n * @documentationMaturity preview\n * @fqn wix.search.v1.SiteSearchService.Search\n */\nexport async function search(\n  options?: SearchOptions\n): Promise<\n  NonNullablePaths<\n    SearchResponse,\n    | `documents`\n    | `nextPage.total`\n    | `nextPage.skip`\n    | `nextPage.limit`\n    | `facets`\n    | `facets.${number}.terms.facet`\n    | `facets.${number}.minAggregation.facet`\n    | `facets.${number}.maxAggregation.facet`\n    | `facets.${number}.minMaxAggregation.facet`\n    | `facets.${number}.hierarchicalAggregation.facet`\n    | `facets.${number}.sumAggregation.facet`,\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    documentType: options?.documentType,\n    ordering: options?.ordering,\n    paging: options?.paging,\n    language: options?.language,\n    filter: options?.filter,\n    facets: options?.facets,\n    fuzzy: options?.fuzzy,\n    highlight: options?.highlight,\n    searchFields: options?.searchFields,\n    fields: options?.fields,\n    properties: options?.properties,\n    includeSeoHidden: options?.includeSeoHidden,\n  });\n\n  const reqOpts = ambassadorWixSearchV1Sitedocument.search(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: {\n          query: '$[0].query',\n          documentType: '$[0].documentType',\n          ordering: '$[0].ordering',\n          paging: '$[0].paging',\n          language: '$[0].language',\n          filter: '$[0].filter',\n          facets: '$[0].facets',\n          fuzzy: '$[0].fuzzy',\n          highlight: '$[0].highlight',\n          searchFields: '$[0].searchFields',\n          fields: '$[0].fields',\n          properties: '$[0].properties',\n          includeSeoHidden: '$[0].includeSeoHidden',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface SearchOptions {\n  /**\n   * Text to search for. All searchable fields will be searched.\n   * @maxLength 100\n   */\n  query?: string | null;\n  /**\n   * Document type of documents to search for. All document types are searched if not provided.\n   * @minLength 2\n   */\n  documentType?: string | null;\n  /** Fields to order by. */\n  ordering?: OrderingClauses;\n  /** Paging parameters. */\n  paging?: SearchPaging;\n  /**\n   * Language to search in.\n   * @minLength 2\n   */\n  language?: string | null;\n  /** Filter in platformized query language (for example {'field': {'$eq': 'value'}}) */\n  filter?: Record<string, any> | null;\n  /** The facets to retrieve. */\n  facets?: FacetClauses;\n  /** Enable fuzzy search (eg. query 'kalvin clein' will match document with 'calvin klein' in title). */\n  fuzzy?: boolean | null;\n  /** Highlight texts matching the query. Highlighted text will be wrapped with <mark/> tag. Defaults to true if not provided. */\n  highlight?: boolean | null;\n  /** Searchable fields to search in. If not provided, search is executed on all searchable fields in schema */\n  searchFields?: string[];\n  /** A list of fields to include in the result set. If not provided, all fields of schema will be included. */\n  fields?: string[];\n  /**\n   * The properties/overrides/experiments to enable for this request. Currently supported: `scoring_profile`, `result-format`.\n   * @maxSize 10\n   */\n  properties?: SearchProperty[];\n  /** Include seo hidden documents. Defaults to false if not provided. */\n  includeSeoHidden?: boolean | null;\n}\n\n/**\n * Searches in multiple document types at once.\n * @public\n * @documentationMaturity preview\n * @fqn wix.search.v1.SiteSearchService.FederatedSearch\n */\nexport async function federatedSearch(\n  options?: FederatedSearchOptions\n): Promise<\n  NonNullablePaths<\n    FederatedSearchResponse,\n    `results` | `results.${number}.total`,\n    4\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    language: options?.language,\n    limit: options?.limit,\n    fuzzy: options?.fuzzy,\n    highlight: options?.highlight,\n    searchFields: options?.searchFields,\n    documentTypes: options?.documentTypes,\n    includeSeoHidden: options?.includeSeoHidden,\n    properties: options?.properties,\n  });\n\n  const reqOpts = ambassadorWixSearchV1Sitedocument.federatedSearch(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: {\n          query: '$[0].query',\n          language: '$[0].language',\n          limit: '$[0].limit',\n          fuzzy: '$[0].fuzzy',\n          highlight: '$[0].highlight',\n          searchFields: '$[0].searchFields',\n          documentTypes: '$[0].documentTypes',\n          includeSeoHidden: '$[0].includeSeoHidden',\n          properties: '$[0].properties',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface FederatedSearchOptions {\n  /**\n   * Query phrase to use.\n   * @maxLength 100\n   */\n  query?: string | null;\n  /**\n   * Language to search in.\n   * @minLength 2\n   */\n  language?: string | null;\n  /**\n   * Limit of documents to return per document type.\n   * @min 1\n   * @max 100\n   */\n  limit?: number | null;\n  /** Enable fuzzy search (for example query 'kalvin clein' will match document with 'calvin klein' in title). */\n  fuzzy?: boolean | null;\n  /** Highlight texts matching the query. Highlighted text will be wrapped with <mark/> tag. Defaults to true if not provided. */\n  highlight?: boolean | null;\n  /** Searchable fields to search in. If not provided, search is executed on all searchable fields in schemas */\n  searchFields?: string[];\n  /** Document types to search in. If not provided, search is executed on all document types enabled for the site */\n  documentTypes?: string[];\n  /** Include seo hidden documents. Defaults to false if not provided. */\n  includeSeoHidden?: boolean | null;\n  /**\n   * The properties/overrides/experiments to enable for this request. Currently supported: `scoring_profile`, `result-format`.\n   * @maxSize 10\n   */\n  properties?: SearchProperty[];\n}\n\n/**\n * Executes search query to fetch suggested items. Unlike search query suggest will match\n * partial phrases (for example \"blu\" will match documents containing \"blue\", \"blues\" and \"blunt\").\n * Phrase needs to be at least 3 symbols long. Suggestions can also perform optimisations in search\n * results and generally do not guarantee the same level of quality as regular Search endpoint.\n * @public\n * @documentationMaturity preview\n * @fqn wix.search.v1.SiteSearchService.Suggest\n */\nexport async function suggest(\n  options?: SuggestOptions\n): Promise<NonNullablePaths<SuggestResponse, `documents`, 2>> {\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    documentType: options?.documentType,\n    ordering: options?.ordering,\n    limit: options?.limit,\n    language: options?.language,\n    filter: options?.filter,\n    searchFields: options?.searchFields,\n    fields: options?.fields,\n    includeSeoHidden: options?.includeSeoHidden,\n    properties: options?.properties,\n  });\n\n  const reqOpts = ambassadorWixSearchV1Sitedocument.suggest(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: {\n          query: '$[0].query',\n          documentType: '$[0].documentType',\n          ordering: '$[0].ordering',\n          limit: '$[0].limit',\n          language: '$[0].language',\n          filter: '$[0].filter',\n          searchFields: '$[0].searchFields',\n          fields: '$[0].fields',\n          includeSeoHidden: '$[0].includeSeoHidden',\n          properties: '$[0].properties',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface SuggestOptions {\n  /**\n   * Text to search for. Fields configured in suggester configuration will be searched.\n   * @maxLength 50\n   */\n  query?: string | null;\n  /**\n   * Document type of documents to search for. All document types are searched if not provided.\n   * @minLength 2\n   */\n  documentType?: string | null;\n  /** Fields to order by. */\n  ordering?: OrderingClauses;\n  /**\n   * Number of suggested document to return.\n   * @min 1\n   * @max 100\n   */\n  limit?: number;\n  /**\n   * Language to search in.\n   * @minLength 2\n   */\n  language?: string | null;\n  /** Filter in platformized query language (for example {'field': {'$eq': 'value'}}) */\n  filter?: Record<string, any> | null;\n  /** Searchable fields to search in. If not provided, search is executed on all suggestable fields in schema */\n  searchFields?: string[];\n  /** A list of fields to include in the result set. If not provided, all fields of schema will be included. */\n  fields?: string[];\n  /** Include seo hidden documents. Defaults to false if not provided. */\n  includeSeoHidden?: boolean | null;\n  /**\n   * The properties/overrides/experiments to enable for this request. Currently supported: `scoring_profile`, `result-format`.\n   * @maxSize 10\n   */\n  properties?: SearchProperty[];\n}\n\n/**\n * Searches for suggestions in multiple document types at once.\n * @public\n * @documentationMaturity preview\n * @fqn wix.search.v1.SiteSearchService.FederatedSuggest\n */\nexport async function federatedSuggest(\n  options?: FederatedSuggestOptions\n): Promise<NonNullablePaths<FederatedSuggestResponse, `results`, 2>> {\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    language: options?.language,\n    limit: options?.limit,\n    searchFields: options?.searchFields,\n    documentTypes: options?.documentTypes,\n    includeSeoHidden: options?.includeSeoHidden,\n    properties: options?.properties,\n  });\n\n  const reqOpts = ambassadorWixSearchV1Sitedocument.federatedSuggest(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: {\n          query: '$[0].query',\n          language: '$[0].language',\n          limit: '$[0].limit',\n          searchFields: '$[0].searchFields',\n          documentTypes: '$[0].documentTypes',\n          includeSeoHidden: '$[0].includeSeoHidden',\n          properties: '$[0].properties',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface FederatedSuggestOptions {\n  /**\n   * Text to search for. Fields configured in suggester configuration will be searched.\n   * @maxLength 50\n   */\n  query?: string | null;\n  /**\n   * Language to search in.\n   * @minLength 2\n   */\n  language?: string | null;\n  /**\n   * Number of suggested document to return per document type.\n   * @min 1\n   * @max 100\n   */\n  limit?: number;\n  /** Searchable fields to search in. If not provided, search is executed on all suggestable fields in schemas */\n  searchFields?: string[];\n  /** Document types to search in. If not provided, search is executed on all document types enabled for the site */\n  documentTypes?: string[];\n  /** Include seo hidden documents. Defaults to false if not provided. */\n  includeSeoHidden?: boolean | null;\n  /**\n   * The properties/overrides/experiments to enable for this request. Currently supported: `scoring_profile`, `result-format`.\n   * @maxSize 10\n   */\n  properties?: SearchProperty[];\n}\n\n/**\n * Fetches documents similar to one single document.\n * This is typically used to implement \"related to\" scenarios (for example to fetch related store products when\n * consumer is already viewing one).\n * @public\n * @documentationMaturity preview\n * @fqn wix.search.v1.SiteSearchService.Related\n */\nexport async function related(\n  options?: RelatedOptions\n): Promise<NonNullablePaths<RelatedResponse, `documents`, 2>> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    documentId: options?.documentId,\n    documentType: options?.documentType,\n    ordering: options?.ordering,\n    language: options?.language,\n    filter: options?.filter,\n    searchFields: options?.searchFields,\n    fields: options?.fields,\n    limit: options?.limit,\n    properties: options?.properties,\n    includeSeoHidden: options?.includeSeoHidden,\n  });\n\n  const reqOpts = ambassadorWixSearchV1Sitedocument.related(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: {\n          documentId: '$[0].documentId',\n          documentType: '$[0].documentType',\n          ordering: '$[0].ordering',\n          language: '$[0].language',\n          filter: '$[0].filter',\n          searchFields: '$[0].searchFields',\n          fields: '$[0].fields',\n          limit: '$[0].limit',\n          properties: '$[0].properties',\n          includeSeoHidden: '$[0].includeSeoHidden',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface RelatedOptions {\n  /**\n   * ID of the document to fetch related documents for.\n   * @minLength 1\n   */\n  documentId?: string | null;\n  /**\n   * Document type of the document.\n   * @minLength 2\n   */\n  documentType?: string | null;\n  /** Fields to order by. */\n  ordering?: OrderingClauses;\n  /**\n   * Language to search in.\n   * @minLength 2\n   */\n  language?: string | null;\n  /** Filter in platformized query language (for example {'field': {'$eq': 'value'}}). */\n  filter?: Record<string, any> | null;\n  /** Searchable fields to compare documents by. If not provided, all searchable fields in schema are used */\n  searchFields?: string[];\n  /** A list of fields to include in the result set. If not provided, all fields of schema will be included. */\n  fields?: string[];\n  /** Number of related documents to return */\n  limit?: number;\n  /**\n   * The properties/overrides/experiments to enable for this request. Currently supported: `scoring_profile`.\n   * @maxSize 10\n   */\n  properties?: SearchProperty[];\n  /** Include seo hidden documents. Defaults to false if not provided. */\n  includeSeoHidden?: boolean | null;\n}\n\n/**\n * Provides phrase completion. For example \"blu\" could return \"blue\", \"blues\" and \"blunt\" as candidate phrases. This operation is resource heavy at index time and is reserved for special use cases.\n * @public\n * @documentationMaturity preview\n * @fqn wix.search.v1.SiteSearchService.Autocomplete\n */\nexport async function autocomplete(\n  options?: AutocompleteOptions\n): Promise<\n  NonNullablePaths<AutocompleteResponse, `values` | `values.${number}.query`, 4>\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    documentType: options?.documentType,\n    limit: options?.limit,\n    language: options?.language,\n    filter: options?.filter,\n    searchFields: options?.searchFields,\n    includeSeoHidden: options?.includeSeoHidden,\n  });\n\n  const reqOpts = ambassadorWixSearchV1Sitedocument.autocomplete(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: {\n          query: '$[0].query',\n          documentType: '$[0].documentType',\n          limit: '$[0].limit',\n          language: '$[0].language',\n          filter: '$[0].filter',\n          searchFields: '$[0].searchFields',\n          includeSeoHidden: '$[0].includeSeoHidden',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface AutocompleteOptions {\n  /**\n   * Query phrase to fetch completions for.\n   * @maxLength 50\n   */\n  query?: string | null;\n  /**\n   * Document type to use to search for phrases.\n   * @minLength 2\n   */\n  documentType?: string | null;\n  /**\n   * Limit of phrases to fetch.\n   * @min 1\n   * @max 100\n   */\n  limit?: number;\n  /**\n   * Language to search in.\n   * @minLength 2\n   */\n  language?: string | null;\n  /** Filter in platfromized query language (for example {'field': {'$eq': 'value'}}) */\n  filter?: Record<string, any> | null;\n  /** Searchable fields to use for query completion. If not provided, all searchable fields in schema are used */\n  searchFields?: string[];\n  /** Include seo hidden documents. Defaults to false if not provided. */\n  includeSeoHidden?: boolean | null;\n}\n\n/**\n * Provides phrase completion from multiple document types at once\n * @public\n * @documentationMaturity preview\n * @fqn wix.search.v1.SiteSearchService.FederatedAutocomplete\n */\nexport async function federatedAutocomplete(\n  options?: FederatedAutocompleteOptions\n): Promise<NonNullablePaths<FederatedAutocompleteResponse, `results`, 2>> {\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    language: options?.language,\n    limit: options?.limit,\n    searchFields: options?.searchFields,\n    documentTypes: options?.documentTypes,\n    includeSeoHidden: options?.includeSeoHidden,\n  });\n\n  const reqOpts =\n    ambassadorWixSearchV1Sitedocument.federatedAutocomplete(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: {\n          query: '$[0].query',\n          language: '$[0].language',\n          limit: '$[0].limit',\n          searchFields: '$[0].searchFields',\n          documentTypes: '$[0].documentTypes',\n          includeSeoHidden: '$[0].includeSeoHidden',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface FederatedAutocompleteOptions {\n  /**\n   * Query phrase to fetch completions for.\n   * @maxLength 50\n   */\n  query?: string | null;\n  /**\n   * Language to search in.\n   * @minLength 2\n   */\n  language?: string | null;\n  /**\n   * Number of queries to return per document type.\n   * @min 1\n   * @max 100\n   */\n  limit?: number;\n  /** Searchable fields to search in. If not provided, search is executed on all autocompletable fields in schemas */\n  searchFields?: string[];\n  /** Document types to autocomplete in. If not provided, autocomplete is executed on all document types enabled for the site */\n  documentTypes?: string[];\n  /** Include seo hidden documents. Defaults to false if not provided. */\n  includeSeoHidden?: boolean | null;\n}\n\n/**\n * Returns trending documents for given document types\n * @public\n * @documentationMaturity preview\n * @fqn wix.search.v1.SiteSearchService.Trending\n */\nexport async function trending(\n  options?: TrendingOptions\n): Promise<\n  NonNullablePaths<\n    TrendingResponse,\n    `results` | `results.${number}.documentType`,\n    4\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    documentTypes: options?.documentTypes,\n    language: options?.language,\n    includeSeoHidden: options?.includeSeoHidden,\n    properties: options?.properties,\n  });\n\n  const reqOpts = ambassadorWixSearchV1Sitedocument.trending(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: {\n          documentTypes: '$[0].documentTypes',\n          language: '$[0].language',\n          includeSeoHidden: '$[0].includeSeoHidden',\n          properties: '$[0].properties',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface TrendingOptions {\n  documentTypes?: string[];\n  /** @minLength 2 */\n  language?: string | null;\n  /** Include seo hidden documents. Defaults to false if not provided. */\n  includeSeoHidden?: boolean | null;\n  /**\n   * The properties/overrides/experiments to enable for this request. Currently supported: `scoring_profile`, `result-format`.\n   * @maxSize 10\n   */\n  properties?: SearchProperty[];\n}\n","import { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\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 resolveWixSearchV1SiteSearchServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/search-services-sitesearch',\n        destPath: '/api',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/search-services-sitesearch',\n        destPath: '/api',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/search-services-sitesearch',\n        destPath: '/api',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/search-services-sitesearch',\n        destPath: '/api',\n      },\n    ],\n    'editor.wixapps.net': [\n      {\n        srcPath: '/_api/search-services-sitesearch',\n        destPath: '/api',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/search-services-sitesearch',\n        destPath: '/api',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/search-services-sitesearch',\n        destPath: '/api',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/search-services-sitesearch',\n        destPath: '/api',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/sitesearch',\n        destPath: '/api',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/search-services-sitesearch-server',\n        destPath: '',\n      },\n    ],\n    'apps._base_domain_': [\n      {\n        srcPath: '/_api/search-services-sitesearch-server',\n        destPath: '/api',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_search_site-search';\n\n/**\n * Executes a regular search query.\n * If you are unsure, this is likely the search method you want to used.\n */\nexport function search(payload: object): RequestOptionsFactory<any> {\n  function __search({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.search.v1.sitedocument',\n      method: 'POST' as any,\n      methodFqn: 'wix.search.v1.SiteSearchService.Search',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSearchV1SiteSearchServiceUrl({\n        protoPath: '/api/v1/search',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'facets.minAggregation.minValue' },\n              { path: 'facets.maxAggregation.maxValue' },\n              { path: 'facets.minMaxAggregation.minValue' },\n              { path: 'facets.minMaxAggregation.maxValue' },\n              { path: 'facets.sumAggregation.value' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __search;\n}\n\n/** Searches in multiple document types at once. */\nexport function federatedSearch(payload: object): RequestOptionsFactory<any> {\n  function __federatedSearch({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.search.v1.sitedocument',\n      method: 'POST' as any,\n      methodFqn: 'wix.search.v1.SiteSearchService.FederatedSearch',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSearchV1SiteSearchServiceUrl({\n        protoPath: '/api/v1/search/federated',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __federatedSearch;\n}\n\n/**\n * Executes search query to fetch suggested items. Unlike search query suggest will match\n * partial phrases (for example \"blu\" will match documents containing \"blue\", \"blues\" and \"blunt\").\n * Phrase needs to be at least 3 symbols long. Suggestions can also perform optimisations in search\n * results and generally do not guarantee the same level of quality as regular Search endpoint.\n */\nexport function suggest(payload: object): RequestOptionsFactory<any> {\n  function __suggest({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.search.v1.sitedocument',\n      method: 'POST' as any,\n      methodFqn: 'wix.search.v1.SiteSearchService.Suggest',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSearchV1SiteSearchServiceUrl({\n        protoPath: '/api/v1/suggest',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __suggest;\n}\n\n/** Searches for suggestions in multiple document types at once. */\nexport function federatedSuggest(payload: object): RequestOptionsFactory<any> {\n  function __federatedSuggest({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.search.v1.sitedocument',\n      method: 'POST' as any,\n      methodFqn: 'wix.search.v1.SiteSearchService.FederatedSuggest',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSearchV1SiteSearchServiceUrl({\n        protoPath: '/api/v1/suggest/federated',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __federatedSuggest;\n}\n\n/**\n * Fetches documents similar to one single document.\n * This is typically used to implement \"related to\" scenarios (for example to fetch related store products when\n * consumer is already viewing one).\n */\nexport function related(payload: object): RequestOptionsFactory<any> {\n  function __related({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.search.v1.sitedocument',\n      method: 'POST' as any,\n      methodFqn: 'wix.search.v1.SiteSearchService.Related',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSearchV1SiteSearchServiceUrl({\n        protoPath: '/api/v1/related',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __related;\n}\n\n/** Provides phrase completion. For example \"blu\" could return \"blue\", \"blues\" and \"blunt\" as candidate phrases. This operation is resource heavy at index time and is reserved for special use cases. */\nexport function autocomplete(payload: object): RequestOptionsFactory<any> {\n  function __autocomplete({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.search.v1.sitedocument',\n      method: 'POST' as any,\n      methodFqn: 'wix.search.v1.SiteSearchService.Autocomplete',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSearchV1SiteSearchServiceUrl({\n        protoPath: '/api/v1/autocomplete',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __autocomplete;\n}\n\n/** Provides phrase completion from multiple document types at once */\nexport function federatedAutocomplete(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __federatedAutocomplete({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.search.v1.sitedocument',\n      method: 'POST' as any,\n      methodFqn: 'wix.search.v1.SiteSearchService.FederatedAutocomplete',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSearchV1SiteSearchServiceUrl({\n        protoPath: '/api/v1/autocomplete/federated',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __federatedAutocomplete;\n}\n\n/** Returns trending documents for given document types */\nexport function trending(payload: object): RequestOptionsFactory<any> {\n  function __trending({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.search.v1.sitedocument',\n      method: 'POST' as any,\n      methodFqn: 'wix.search.v1.SiteSearchService.Trending',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixSearchV1SiteSearchServiceUrl({\n        protoPath: '/api/v1/trending',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __trending;\n}\n","import { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n  AutocompleteOptions,\n  AutocompleteResponse,\n  FederatedAutocompleteOptions,\n  FederatedAutocompleteResponse,\n  FederatedSearchOptions,\n  FederatedSearchResponse,\n  FederatedSuggestOptions,\n  FederatedSuggestResponse,\n  RelatedOptions,\n  RelatedResponse,\n  SearchOptions,\n  SearchResponse,\n  SuggestOptions,\n  SuggestResponse,\n  TrendingOptions,\n  TrendingResponse,\n  autocomplete as universalAutocomplete,\n  federatedAutocomplete as universalFederatedAutocomplete,\n  federatedSearch as universalFederatedSearch,\n  federatedSuggest as universalFederatedSuggest,\n  related as universalRelated,\n  search as universalSearch,\n  suggest as universalSuggest,\n  trending as universalTrending,\n} from './search-v1-sitedocument-site-search.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/search' };\n\nexport function search(httpClient: HttpClient): SearchSignature {\n  return (options?: SearchOptions) =>\n    universalSearch(\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface SearchSignature {\n  /**\n   * Executes a regular search query.\n   * If you are unsure, this is likely the search method you want to used.\n   */\n  (options?: SearchOptions): Promise<\n    NonNullablePaths<\n      SearchResponse,\n      | `documents`\n      | `nextPage.total`\n      | `nextPage.skip`\n      | `nextPage.limit`\n      | `facets`\n      | `facets.${number}.terms.facet`\n      | `facets.${number}.minAggregation.facet`\n      | `facets.${number}.maxAggregation.facet`\n      | `facets.${number}.minMaxAggregation.facet`\n      | `facets.${number}.hierarchicalAggregation.facet`\n      | `facets.${number}.sumAggregation.facet`,\n      5\n    >\n  >;\n}\n\nexport function federatedSearch(\n  httpClient: HttpClient\n): FederatedSearchSignature {\n  return (options?: FederatedSearchOptions) =>\n    universalFederatedSearch(\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface FederatedSearchSignature {\n  /**\n   * Searches in multiple document types at once.\n   */\n  (options?: FederatedSearchOptions): Promise<\n    NonNullablePaths<\n      FederatedSearchResponse,\n      `results` | `results.${number}.total`,\n      4\n    >\n  >;\n}\n\nexport function suggest(httpClient: HttpClient): SuggestSignature {\n  return (options?: SuggestOptions) =>\n    universalSuggest(\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface SuggestSignature {\n  /**\n   * Executes search query to fetch suggested items. Unlike search query suggest will match\n   * partial phrases (for example \"blu\" will match documents containing \"blue\", \"blues\" and \"blunt\").\n   * Phrase needs to be at least 3 symbols long. Suggestions can also perform optimisations in search\n   * results and generally do not guarantee the same level of quality as regular Search endpoint.\n   */\n  (options?: SuggestOptions): Promise<\n    NonNullablePaths<SuggestResponse, `documents`, 2>\n  >;\n}\n\nexport function federatedSuggest(\n  httpClient: HttpClient\n): FederatedSuggestSignature {\n  return (options?: FederatedSuggestOptions) =>\n    universalFederatedSuggest(\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface FederatedSuggestSignature {\n  /**\n   * Searches for suggestions in multiple document types at once.\n   */\n  (options?: FederatedSuggestOptions): Promise<\n    NonNullablePaths<FederatedSuggestResponse, `results`, 2>\n  >;\n}\n\nexport function related(httpClient: HttpClient): RelatedSignature {\n  return (options?: RelatedOptions) =>\n    universalRelated(\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface RelatedSignature {\n  /**\n   * Fetches documents similar to one single document.\n   * This is typically used to implement \"related to\" scenarios (for example to fetch related store products when\n   * consumer is already viewing one).\n   */\n  (options?: RelatedOptions): Promise<\n    NonNullablePaths<RelatedResponse, `documents`, 2>\n  >;\n}\n\nexport function autocomplete(httpClient: HttpClient): AutocompleteSignature {\n  return (options?: AutocompleteOptions) =>\n    universalAutocomplete(\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface AutocompleteSignature {\n  /**\n   * Provides phrase completion. For example \"blu\" could return \"blue\", \"blues\" and \"blunt\" as candidate phrases. This operation is resource heavy at index time and is reserved for special use cases.\n   */\n  (options?: AutocompleteOptions): Promise<\n    NonNullablePaths<\n      AutocompleteResponse,\n      `values` | `values.${number}.query`,\n      4\n    >\n  >;\n}\n\nexport function federatedAutocomplete(\n  httpClient: HttpClient\n): FederatedAutocompleteSignature {\n  return (options?: FederatedAutocompleteOptions) =>\n    universalFederatedAutocomplete(\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface FederatedAutocompleteSignature {\n  /**\n   * Provides phrase completion from multiple document types at once\n   */\n  (options?: FederatedAutocompleteOptions): Promise<\n    NonNullablePaths<FederatedAutocompleteResponse, `results`, 2>\n  >;\n}\n\nexport function trending(httpClient: HttpClient): TrendingSignature {\n  return (options?: TrendingOptions) =>\n    universalTrending(\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface TrendingSignature {\n  /**\n   * Returns trending documents for given document types\n   */\n  (options?: TrendingOptions): Promise<\n    NonNullablePaths<\n      TrendingResponse,\n      `results` | `results.${number}.documentType`,\n      4\n    >\n  >;\n}\n\nexport {\n  AccountInfo,\n  Aggregation,\n  AggregationFacet,\n  AutocompleteOptions,\n  AutocompleteRequest,\n  AutocompleteResponse,\n  AutocompleteResponseValue,\n  DeleteByFilterOperation,\n  DeleteByIdsOperation,\n  Direction,\n  DocumentImage,\n  DocumentPayload,\n  DocumentUpdateOperation,\n  Empty,\n  Enum,\n  FacetClause,\n  FacetClauseClauseOneOf,\n  FacetClauses,\n  FacetCountResponse,\n  FacetsResponse,\n  FacetsResponseResponseOneOf,\n  FederatedAutocompleteOptions,\n  FederatedAutocompleteRequest,\n  FederatedAutocompleteResponse,\n  FederatedAutocompleteResults,\n  FederatedSearchDocuments,\n  FederatedSearchOptions,\n  FederatedSearchRequest,\n  FederatedSearchResponse,\n  FederatedSuggestDocuments,\n  FederatedSuggestOptions,\n  FederatedSuggestRequest,\n  FederatedSuggestResponse,\n  HierarchicalAggregationResponse,\n  HierarchicalFacet,\n  HierarchicalFacetClauseOneOf,\n  IdentificationData,\n  IdentificationDataIdOneOf,\n  IndexDocument,\n  InternalDocument,\n  InternalDocumentUpdateByFilterOperation,\n  InternalDocumentUpdateOperation,\n  InternalUpdateExistingOperation,\n  MaxAggregationResponse,\n  MessageEnvelope,\n  MinAggregationResponse,\n  MinMaxAggregationResponse,\n  NextPageResponse,\n  OrderingClause,\n  OrderingClauses,\n  RelatedOptions,\n  RelatedRequest,\n  RelatedResponse,\n  SearchOptions,\n  SearchPaging,\n  SearchProperty,\n  SearchRequest,\n  SearchResponse,\n  SiteDocument,\n  SuggestOptions,\n  SuggestRequest,\n  SuggestResponse,\n  SumAggregationResponse,\n  TermAggregationResponse,\n  TermFacet,\n  TrendingItems,\n  TrendingOptions,\n  TrendingRequest,\n  TrendingResponse,\n  UpdateByFilterOperation,\n  UpdateDocumentsEvent,\n  UpdateDocumentsEventOperationOneOf,\n  UpdateExistingOperation,\n  UpdateInternalDocumentsEvent,\n  UpdateInternalDocumentsEventOperationOneOf,\n  V1DeleteByFilterOperation,\n  V1DeleteByIdsOperation,\n  Value,\n  VersionedDeleteByIdsOperation,\n  VersionedDocumentId,\n  VersionedDocumentUpdateOperation,\n  VersioningMode,\n  WebhookIdentityType,\n} from './search-v1-sitedocument-site-search.universal.js';\n","import {\n  search as publicSearch,\n  federatedSearch as publicFederatedSearch,\n  suggest as publicSuggest,\n  federatedSuggest as publicFederatedSuggest,\n  related as publicRelated,\n  autocomplete as publicAutocomplete,\n  federatedAutocomplete as publicFederatedAutocomplete,\n  trending as publicTrending,\n} from './search-v1-sitedocument-site-search.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';\n\nexport const search: MaybeContext<\n  BuildRESTFunction<typeof publicSearch> & typeof publicSearch\n> = /*#__PURE__*/ createRESTModule(publicSearch);\nexport const federatedSearch: MaybeContext<\n  BuildRESTFunction<typeof publicFederatedSearch> & typeof publicFederatedSearch\n> = /*#__PURE__*/ createRESTModule(publicFederatedSearch);\nexport const suggest: MaybeContext<\n  BuildRESTFunction<typeof publicSuggest> & typeof publicSuggest\n> = /*#__PURE__*/ createRESTModule(publicSuggest);\nexport const federatedSuggest: MaybeContext<\n  BuildRESTFunction<typeof publicFederatedSuggest> &\n    typeof publicFederatedSuggest\n> = /*#__PURE__*/ createRESTModule(publicFederatedSuggest);\nexport const related: MaybeContext<\n  BuildRESTFunction<typeof publicRelated> & typeof publicRelated\n> = /*#__PURE__*/ createRESTModule(publicRelated);\nexport const autocomplete: MaybeContext<\n  BuildRESTFunction<typeof publicAutocomplete> & typeof publicAutocomplete\n> = /*#__PURE__*/ createRESTModule(publicAutocomplete);\nexport const federatedAutocomplete: MaybeContext<\n  BuildRESTFunction<typeof publicFederatedAutocomplete> &\n    typeof publicFederatedAutocomplete\n> = /*#__PURE__*/ createRESTModule(publicFederatedAutocomplete);\nexport const trending: MaybeContext<\n  BuildRESTFunction<typeof publicTrending> & typeof publicTrending\n> = /*#__PURE__*/ createRESTModule(publicTrending);\n\nexport {\n  VersioningMode,\n  Enum,\n  WebhookIdentityType,\n  Direction,\n  Aggregation,\n} from './search-v1-sitedocument-site-search.universal.js';\nexport {\n  SiteDocument,\n  UpdateInternalDocumentsEvent,\n  UpdateInternalDocumentsEventOperationOneOf,\n  InternalDocument,\n  InternalDocumentUpdateOperation,\n  DeleteByIdsOperation,\n  DeleteByFilterOperation,\n  InternalDocumentUpdateByFilterOperation,\n  InternalUpdateExistingOperation,\n  VersionedDocumentUpdateOperation,\n  VersionedDeleteByIdsOperation,\n  VersionedDocumentId,\n  UpdateDocumentsEvent,\n  UpdateDocumentsEventOperationOneOf,\n  DocumentUpdateOperation,\n  IndexDocument,\n  DocumentPayload,\n  DocumentImage,\n  V1DeleteByIdsOperation,\n  V1DeleteByFilterOperation,\n  UpdateByFilterOperation,\n  UpdateExistingOperation,\n  Empty,\n  MessageEnvelope,\n  IdentificationData,\n  IdentificationDataIdOneOf,\n  AccountInfo,\n  SearchRequest,\n  OrderingClauses,\n  OrderingClause,\n  SearchPaging,\n  FacetClauses,\n  FacetClause,\n  FacetClauseClauseOneOf,\n  HierarchicalFacet,\n  HierarchicalFacetClauseOneOf,\n  TermFacet,\n  AggregationFacet,\n  SearchProperty,\n  SearchResponse,\n  NextPageResponse,\n  FacetsResponse,\n  FacetsResponseResponseOneOf,\n  FacetCountResponse,\n  Value,\n  TermAggregationResponse,\n  MinAggregationResponse,\n  MaxAggregationResponse,\n  MinMaxAggregationResponse,\n  HierarchicalAggregationResponse,\n  SumAggregationResponse,\n  FederatedSearchRequest,\n  FederatedSearchResponse,\n  FederatedSearchDocuments,\n  SuggestRequest,\n  SuggestResponse,\n  FederatedSuggestRequest,\n  FederatedSuggestResponse,\n  FederatedSuggestDocuments,\n  RelatedRequest,\n  RelatedResponse,\n  AutocompleteRequest,\n  AutocompleteResponse,\n  AutocompleteResponseValue,\n  FederatedAutocompleteRequest,\n  FederatedAutocompleteResponse,\n  FederatedAutocompleteResults,\n  TrendingRequest,\n  TrendingResponse,\n  TrendingItems,\n  SearchOptions,\n  FederatedSearchOptions,\n  SuggestOptions,\n  FederatedSuggestOptions,\n  RelatedOptions,\n  AutocompleteOptions,\n  FederatedAutocompleteOptions,\n  TrendingOptions,\n} from './search-v1-sitedocument-site-search.universal.js';\nexport {\n  VersioningModeWithLiterals,\n  EnumWithLiterals,\n  WebhookIdentityTypeWithLiterals,\n  DirectionWithLiterals,\n  AggregationWithLiterals,\n} from './search-v1-sitedocument-site-search.universal.js';\n"],"mappings":";AAAA,SAAS,kBAAkB,yBAAyB;AACpD;AAAA,EACE;AAAA,EACA;AAAA,OACK;;;ACJP,SAAS,oCAAoC;AAC7C,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,uCACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,kBAAkB;AAAA,MAChB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QACT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;AAChC,SAAO,CAAC,YACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AAWO,SAASC,UAAS,YAA2C;AAClE,SAAO,CAAC,YACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;;;AC3LA,SAAS,wBAAwB;AAG1B,IAAMC,UAEK,iCAAiBA,OAAY;AACxC,IAAMC,mBAEK,iCAAiBA,gBAAqB;AACjD,IAAMC,WAEK,iCAAiBA,QAAa;AACzC,IAAMC,oBAGK,iCAAiBA,iBAAsB;AAClD,IAAMC,WAEK,iCAAiBA,QAAa;AACzC,IAAMC,gBAEK,iCAAiBA,aAAkB;AAC9C,IAAMC,yBAGK,iCAAiBA,sBAA2B;AACvD,IAAMC,YAEK,iCAAiBA,SAAc;","names":["payload","VersioningMode","Enum","WebhookIdentityType","Direction","Aggregation","search","federatedSearch","suggest","federatedSuggest","related","autocomplete","federatedAutocomplete","trending","search","federatedSearch","suggest","federatedSuggest","related","autocomplete","federatedAutocomplete","trending","search","federatedSearch","suggest","federatedSuggest","related","autocomplete","federatedAutocomplete","trending"]}