import PropTypes from 'prop-types'; const T = {}; T['com.hbc.api.product.recommendations.lat.v1.models.price'] = PropTypes.exact({ was: PropTypes.string.isRequired, now: PropTypes.string.isRequired, onSale: PropTypes.bool.isRequired, }); T['com.hbc.api.product.recommendations.lat.v1.models.recommendation'] = PropTypes.exact({ productId: PropTypes.string.isRequired, productName: PropTypes.string.isRequired, productUrl: PropTypes.string.isRequired, productImageUrl: PropTypes.string.isRequired, brandName: PropTypes.string.isRequired, price: T['com.hbc.api.product.recommendations.lat.v1.models.price'].isRequired, rating: PropTypes.number, numReviews: PropTypes.number, }); T['com.hbc.api.product.recommendations.lat.v1.models.similarProductRecommendation'] = PropTypes.exact({ recommendations: PropTypes.arrayOf(T['com.hbc.api.product.recommendations.lat.v1.models.recommendation']).isRequired, }); T['com.hbc.api.product.recommendations.lat.v1.enums.similarProductContext'] = PropTypes.oneOf(['pdp']); export const price = T['com.hbc.api.product.recommendations.lat.v1.models.price']; export const recommendation = T['com.hbc.api.product.recommendations.lat.v1.models.recommendation']; export const similarProductContext = T['com.hbc.api.product.recommendations.lat.v1.enums.similarProductContext']; export const similarProductRecommendation = T['com.hbc.api.product.recommendations.lat.v1.models.similarProductRecommendation'];