/**
 * Warning: This is an autogenerated file.
 *
 * Changes in this file won't take effect and will be overwritten
 */ export type SearchQueryQueryVariables = Exact < { fullText : Maybe < Scalars [ 'String' ] > ; selectedFacets : Maybe < Array < Vtex_SelectedFacetInput > | Vtex_SelectedFacetInput > ; from : Maybe < Scalars [ 'Int' ] > ; to : Maybe < Scalars [ 'Int' ] > ; sort : Maybe < Scalars [ 'String' ] > ; hideUnavailableItems ? : Maybe < Scalars [ 'Boolean' ] > ; } > ; export type SearchQueryQuery = { vtex : { productSearch : Maybe < { products : Maybe < Array < Maybe < { productName : Maybe < string > ; linkText : Maybe < string > ; brand : Maybe < string > ; productReference : Maybe < string > ; id : Maybe < string > ; categoryTree : Maybe < Array < Maybe < { name : Maybe < string > ; } > > > ; productClusters : Maybe < Array < Maybe < { id : Maybe < string > ; name : Maybe < string > ; } > > > ; properties : Maybe < Array < Maybe < { name : Maybe < string > ; originalName : Maybe < string > ; values : Maybe < Array < Maybe < string > > > ; } > > > ; items : Maybe < Array < Maybe < { itemId : Maybe < string > ; name : Maybe < string > ; referenceId : Maybe < Array < Maybe < { value : Maybe < string > ; } > > > ; images : Maybe < Array < Maybe < { imageUrl : Maybe < string > ; imageText : Maybe < string > ; } > > > ; sellers : Maybe < Array < Maybe < { sellerId : Maybe < string > ; commercialOffer : Maybe < { spotPrice : Maybe < number > ; availableQuantity : Maybe < number > ; price : Maybe < number > ; listPrice : Maybe < number > ; maxInstallments : Maybe < Array < Maybe < { value : Maybe < number > ; numberOfInstallments : Maybe < number > ; } > > > ; installments : Maybe < Array < Maybe < { value : Maybe < number > ; numberOfInstallments : Maybe < number > ; interestRate : Maybe < number > ; } > > > ; teasers : Maybe < Array < { name : Maybe < string > ; } > > ; } > ; } > > > ; } > > > ; } > > > ; } > ; } ; } ; export const SearchQuery = { query : process . env . NODE_ENV === 'production' ? undefined : "query SearchQuery($fullText: String, $selectedFacets: [VTEX_SelectedFacetInput!], $from: Int, $to: Int, $sort: String, $hideUnavailableItems: Boolean = false) {\n  vtex {\n    productSearch(\n      hideUnavailableItems: $hideUnavailableItems\n      selectedFacets: $selectedFacets\n      fullText: $fullText\n      from: $from\n      to: $to\n      orderBy: $sort\n    ) {\n      products {\n        id: productId\n        productName\n        linkText\n        brand\n        productReference\n        categoryTree {\n          name\n        }\n        productClusters {\n          id\n          name\n        }\n        properties {\n          name\n          originalName\n          values\n        }\n        items {\n          itemId\n          name\n          referenceId {\n            value: Value\n          }\n          images {\n            imageUrl\n            imageText\n          }\n          sellers {\n            sellerId\n            commercialOffer: commertialOffer {\n              maxInstallments: Installments(criteria: MAX_WITHOUT_INTEREST) {\n                value: Value\n                numberOfInstallments: NumberOfInstallments\n              }\n              installments: Installments(criteria: ALL) {\n                value: Value\n                numberOfInstallments: NumberOfInstallments\n                interestRate: InterestRate\n              }\n              availableQuantity: AvailableQuantity\n              price: Price\n              listPrice: ListPrice\n              spotPrice\n              teasers {\n                name\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n}\n" , sha256Hash : "ebe61d9e7086693cd857c14fe6d60afe17ca0597610e79322dd48733e2842fad" , operationName : "SearchQuery" , } ;