@@ -1850,6 +1850,82 @@ instance ToJSON VolumeAccessInfo where
1850 ("viewOrderUrl" .=) <$> _vaiViewOrderURL,
1850 ("viewOrderUrl" .=) <$> _vaiViewOrderURL,
1851 ("publicDomain" .=) <$> _vaiPublicDomain])
1851 ("publicDomain" .=) <$> _vaiPublicDomain])
1853+-- | A top-level summary of the panelization info in this volume.
1855+-- /See:/ 'volumeVolumeInfoPanelizationSummary' smart constructor.
1856+data VolumeVolumeInfoPanelizationSummary = VolumeVolumeInfoPanelizationSummary'
1857+ { _vvipsEpubBubbleVersion :: !(Maybe Text)
1858+ , _vvipsContainsImageBubbles :: !(Maybe Bool)
1859+ , _vvipsContainsEpubBubbles :: !(Maybe Bool)
1860+ , _vvipsImageBubbleVersion :: !(Maybe Text)
1861+ } deriving (Eq,Show,Data,Typeable,Generic)
1863+-- | Creates a value of 'VolumeVolumeInfoPanelizationSummary' with the minimum fields required to make a request.
1865+-- Use one of the following lenses to modify other fields as desired:
1867+-- * 'vvipsEpubBubbleVersion'
1869+-- * 'vvipsContainsImageBubbles'
1871+-- * 'vvipsContainsEpubBubbles'
1873+-- * 'vvipsImageBubbleVersion'
1874+volumeVolumeInfoPanelizationSummary
1875+ :: VolumeVolumeInfoPanelizationSummary
1876+volumeVolumeInfoPanelizationSummary =
1877+ VolumeVolumeInfoPanelizationSummary'
1878+ { _vvipsEpubBubbleVersion = Nothing
1879+ , _vvipsContainsImageBubbles = Nothing
1880+ , _vvipsContainsEpubBubbles = Nothing
1881+ , _vvipsImageBubbleVersion = Nothing
1884+vvipsEpubBubbleVersion :: Lens' VolumeVolumeInfoPanelizationSummary (Maybe Text)
1885+vvipsEpubBubbleVersion
1886+ = lens _vvipsEpubBubbleVersion
1887+ (\ s a -> s{_vvipsEpubBubbleVersion = a})
1889+vvipsContainsImageBubbles :: Lens' VolumeVolumeInfoPanelizationSummary (Maybe Bool)
1890+vvipsContainsImageBubbles
1891+ = lens _vvipsContainsImageBubbles
1892+ (\ s a -> s{_vvipsContainsImageBubbles = a})
1894+vvipsContainsEpubBubbles :: Lens' VolumeVolumeInfoPanelizationSummary (Maybe Bool)
1895+vvipsContainsEpubBubbles
1896+ = lens _vvipsContainsEpubBubbles
1897+ (\ s a -> s{_vvipsContainsEpubBubbles = a})
1899+vvipsImageBubbleVersion :: Lens' VolumeVolumeInfoPanelizationSummary (Maybe Text)
1900+vvipsImageBubbleVersion
1901+ = lens _vvipsImageBubbleVersion
1902+ (\ s a -> s{_vvipsImageBubbleVersion = a})
1904+instance FromJSON VolumeVolumeInfoPanelizationSummary
1907+ = withObject "VolumeVolumeInfoPanelizationSummary"
1909+ VolumeVolumeInfoPanelizationSummary' <$>
1910+ (o .:? "epubBubbleVersion") <*>
1911+ (o .:? "containsImageBubbles")
1912+ <*> (o .:? "containsEpubBubbles")
1913+ <*> (o .:? "imageBubbleVersion"))
1915+instance ToJSON VolumeVolumeInfoPanelizationSummary
1917+ toJSON VolumeVolumeInfoPanelizationSummary'{..}
1920+ [("epubBubbleVersion" .=) <$>
1921+ _vvipsEpubBubbleVersion,
1922+ ("containsImageBubbles" .=) <$>
1923+ _vvipsContainsImageBubbles,
1924+ ("containsEpubBubbles" .=) <$>
1925+ _vvipsContainsEpubBubbles,
1926+ ("imageBubbleVersion" .=) <$>
1927+ _vvipsImageBubbleVersion])
1853-- | A list of image links for all the sizes that are available. (In LITE
1929-- | A list of image links for all the sizes that are available. (In LITE
1854-- projection.)
1930-- projection.)
@@ -3224,6 +3300,8 @@ series =
3224sKind :: Lens' Series Text
3300sKind :: Lens' Series Text
3225sKind = lens _sKind (\ s a -> s{_sKind = a})
3301sKind = lens _sKind (\ s a -> s{_sKind = a})
3303+-- | Series info list. The client always expects this element in the JSON
3304+-- output, hence declared here as OutputAlways.
3227sSeries :: Lens' Series [SeriesSeriesItem]
3305sSeries :: Lens' Series [SeriesSeriesItem]
3229 = lens _sSeries (\ s a -> s{_sSeries = a}) . _Default
3307 = lens _sSeries (\ s a -> s{_sSeries = a}) . _Default
@@ -4130,8 +4208,9 @@ instance ToJSON Seriesmembership where
4132-- /See:/ 'userSettingsNotification' smart constructor.
4210-- /See:/ 'userSettingsNotification' smart constructor.
4133−newtype UserSettingsNotification = UserSettingsNotification'
4211+data UserSettingsNotification = UserSettingsNotification'
4134− { _usnMoreFromAuthors :: Maybe UserSettingsNotificationMoreFromAuthors
4212+ { _usnMoreFromAuthors :: !(Maybe UserSettingsNotificationMoreFromAuthors)
4213+ , _usnMoreFromSeries :: !(Maybe UserSettingsNotificationMoreFromSeries)
4135 } deriving (Eq,Show,Data,Typeable,Generic)
4214 } deriving (Eq,Show,Data,Typeable,Generic)
4137-- | Creates a value of 'UserSettingsNotification' with the minimum fields required to make a request.
4216-- | Creates a value of 'UserSettingsNotification' with the minimum fields required to make a request.
@@ -4139,11 +4218,14 @@ newtype UserSettingsNotification = UserSettingsNotification'
4139-- Use one of the following lenses to modify other fields as desired:
4218-- Use one of the following lenses to modify other fields as desired:
4141-- * 'usnMoreFromAuthors'
4220-- * 'usnMoreFromAuthors'
4222+-- * 'usnMoreFromSeries'
4142userSettingsNotification
4223userSettingsNotification
4143 :: UserSettingsNotification
4224 :: UserSettingsNotification
4144userSettingsNotification =
4225userSettingsNotification =
4145 UserSettingsNotification'
4226 UserSettingsNotification'
4146 { _usnMoreFromAuthors = Nothing
4227 { _usnMoreFromAuthors = Nothing
4228+ , _usnMoreFromSeries = Nothing
4149usnMoreFromAuthors :: Lens' UserSettingsNotification (Maybe UserSettingsNotificationMoreFromAuthors)
4231usnMoreFromAuthors :: Lens' UserSettingsNotification (Maybe UserSettingsNotificationMoreFromAuthors)
@@ -4151,18 +4233,25 @@ usnMoreFromAuthors
4151 = lens _usnMoreFromAuthors
4233 = lens _usnMoreFromAuthors
4152 (\ s a -> s{_usnMoreFromAuthors = a})
4234 (\ s a -> s{_usnMoreFromAuthors = a})
4236+usnMoreFromSeries :: Lens' UserSettingsNotification (Maybe UserSettingsNotificationMoreFromSeries)
4238+ = lens _usnMoreFromSeries
4239+ (\ s a -> s{_usnMoreFromSeries = a})
4154instance FromJSON UserSettingsNotification where
4241instance FromJSON UserSettingsNotification where
4155 parseJSON
4242 parseJSON
4156 = withObject "UserSettingsNotification"
4243 = withObject "UserSettingsNotification"
4158 UserSettingsNotification' <$>
4245 UserSettingsNotification' <$>
4159− (o .:? "moreFromAuthors"))
4246+ (o .:? "moreFromAuthors") <*>
4247+ (o .:? "moreFromSeries"))
4161instance ToJSON UserSettingsNotification where
4249instance ToJSON UserSettingsNotification where
4162 toJSON UserSettingsNotification'{..}
4250 toJSON UserSettingsNotification'{..}
4163 = object
4251 = object
4164 (catMaybes
4252 (catMaybes
4165− [("moreFromAuthors" .=) <$> _usnMoreFromAuthors])
4253+ [("moreFromAuthors" .=) <$> _usnMoreFromAuthors,
4254+ ("moreFromSeries" .=) <$> _usnMoreFromSeries])
4168-- /See:/ 'dictlayerDataDictWordsItemSensesItemSynonymsItem' smart constructor.
4257-- /See:/ 'dictlayerDataDictWordsItemSensesItemSynonymsItem' smart constructor.
@@ -5959,6 +6048,7 @@ data VolumeSaleInfoOffersItem = VolumeSaleInfoOffersItem'
5959 , _vsioiRentalDuration :: !(Maybe VolumeSaleInfoOffersItemRentalDuration)
6048 , _vsioiRentalDuration :: !(Maybe VolumeSaleInfoOffersItemRentalDuration)
5960 , _vsioiListPrice :: !(Maybe VolumeSaleInfoOffersItemListPrice)
6049 , _vsioiListPrice :: !(Maybe VolumeSaleInfoOffersItemListPrice)
5961 , _vsioiRetailPrice :: !(Maybe VolumeSaleInfoOffersItemRetailPrice)
6050 , _vsioiRetailPrice :: !(Maybe VolumeSaleInfoOffersItemRetailPrice)
6051+ , _vsioiGiftable :: !(Maybe Bool)
5962 } deriving (Eq,Show,Data,Typeable,Generic)
6052 } deriving (Eq,Show,Data,Typeable,Generic)
5964-- | Creates a value of 'VolumeSaleInfoOffersItem' with the minimum fields required to make a request.
6054-- | Creates a value of 'VolumeSaleInfoOffersItem' with the minimum fields required to make a request.
@@ -5972,6 +6062,8 @@ data VolumeSaleInfoOffersItem = VolumeSaleInfoOffersItem'
5972-- * 'vsioiListPrice'
6062-- * 'vsioiListPrice'
5974-- * 'vsioiRetailPrice'
6064-- * 'vsioiRetailPrice'
6066+-- * 'vsioiGiftable'
5975volumeSaleInfoOffersItem
6067volumeSaleInfoOffersItem
5976 :: VolumeSaleInfoOffersItem
6068 :: VolumeSaleInfoOffersItem
5977volumeSaleInfoOffersItem =
6069volumeSaleInfoOffersItem =
@@ -5980,6 +6072,7 @@ volumeSaleInfoOffersItem =
5980 , _vsioiRentalDuration = Nothing
6072 , _vsioiRentalDuration = Nothing
5981 , _vsioiListPrice = Nothing
6073 , _vsioiListPrice = Nothing
5982 , _vsioiRetailPrice = Nothing
6074 , _vsioiRetailPrice = Nothing
6075+ , _vsioiGiftable = Nothing
5985-- | The finsky offer type (e.g., PURCHASE=0 RENTAL=3)
6078-- | The finsky offer type (e.g., PURCHASE=0 RENTAL=3)
@@ -6007,6 +6100,12 @@ vsioiRetailPrice
6007 = lens _vsioiRetailPrice
6100 = lens _vsioiRetailPrice
6008 (\ s a -> s{_vsioiRetailPrice = a})
6101 (\ s a -> s{_vsioiRetailPrice = a})
6103+-- | Indicates whether the offer is giftable.
6104+vsioiGiftable :: Lens' VolumeSaleInfoOffersItem (Maybe Bool)
6106+ = lens _vsioiGiftable
6107+ (\ s a -> s{_vsioiGiftable = a})
6010instance FromJSON VolumeSaleInfoOffersItem where
6109instance FromJSON VolumeSaleInfoOffersItem where
6011 parseJSON
6110 parseJSON
6012 = withObject "VolumeSaleInfoOffersItem"
6111 = withObject "VolumeSaleInfoOffersItem"
@@ -6015,7 +6114,8 @@ instance FromJSON VolumeSaleInfoOffersItem where
6015 (o .:? "finskyOfferType") <*>
6114 (o .:? "finskyOfferType") <*>
6016 (o .:? "rentalDuration")
6115 (o .:? "rentalDuration")
6017 <*> (o .:? "listPrice")
6116 <*> (o .:? "listPrice")
6018− <*> (o .:? "retailPrice"))
6117+ <*> (o .:? "retailPrice")
6118+ <*> (o .:? "giftable"))
6020instance ToJSON VolumeSaleInfoOffersItem where
6120instance ToJSON VolumeSaleInfoOffersItem where
6021 toJSON VolumeSaleInfoOffersItem'{..}
6121 toJSON VolumeSaleInfoOffersItem'{..}
@@ -6024,7 +6124,8 @@ instance ToJSON VolumeSaleInfoOffersItem where
6024 [("finskyOfferType" .=) <$> _vsioiFinskyOfferType,
6124 [("finskyOfferType" .=) <$> _vsioiFinskyOfferType,
6025 ("rentalDuration" .=) <$> _vsioiRentalDuration,
6125 ("rentalDuration" .=) <$> _vsioiRentalDuration,
6026 ("listPrice" .=) <$> _vsioiListPrice,
6126 ("listPrice" .=) <$> _vsioiListPrice,
6027− ("retailPrice" .=) <$> _vsioiRetailPrice])
6127+ ("retailPrice" .=) <$> _vsioiRetailPrice,
6128+ ("giftable" .=) <$> _vsioiGiftable])
6030-- /See:/ 'dictlayerDataDict' smart constructor.
6131-- /See:/ 'dictlayerDataDict' smart constructor.
@@ -6870,6 +6971,7 @@ instance ToJSON GeolayerDataGeoViewportHi where
6870-- /See:/ 'volumeVolumeInfo' smart constructor.
6971-- /See:/ 'volumeVolumeInfo' smart constructor.
6871data VolumeVolumeInfo = VolumeVolumeInfo'
6972data VolumeVolumeInfo = VolumeVolumeInfo'
6872 { _vviImageLinks :: !(Maybe VolumeVolumeInfoImageLinks)
6973 { _vviImageLinks :: !(Maybe VolumeVolumeInfoImageLinks)
6974+ , _vviPanelizationSummary :: !(Maybe VolumeVolumeInfoPanelizationSummary)
6873 , _vviAverageRating :: !(Maybe (Textual Double))
6975 , _vviAverageRating :: !(Maybe (Textual Double))
6874 , _vviRatingsCount :: !(Maybe (Textual Int32))
6976 , _vviRatingsCount :: !(Maybe (Textual Int32))
6875 , _vviCanonicalVolumeLink :: !(Maybe Text)
6977 , _vviCanonicalVolumeLink :: !(Maybe Text)
@@ -6903,6 +7005,8 @@ data VolumeVolumeInfo = VolumeVolumeInfo'
6904-- * 'vviImageLinks'
7006-- * 'vviImageLinks'
7008+-- * 'vviPanelizationSummary'
6906-- * 'vviAverageRating'
7010-- * 'vviAverageRating'
6908-- * 'vviRatingsCount'
7012-- * 'vviRatingsCount'
@@ -6957,6 +7061,7 @@ volumeVolumeInfo
6957volumeVolumeInfo =
7061volumeVolumeInfo =
6958 VolumeVolumeInfo'
7062 VolumeVolumeInfo'
6959 { _vviImageLinks = Nothing
7063 { _vviImageLinks = Nothing
7064+ , _vviPanelizationSummary = Nothing
6960 , _vviAverageRating = Nothing
7065 , _vviAverageRating = Nothing
6961 , _vviRatingsCount = Nothing
7066 , _vviRatingsCount = Nothing
6962 , _vviCanonicalVolumeLink = Nothing
7067 , _vviCanonicalVolumeLink = Nothing
@@ -6991,6 +7096,12 @@ vviImageLinks
6991 = lens _vviImageLinks
7096 = lens _vviImageLinks
6992 (\ s a -> s{_vviImageLinks = a})
7097 (\ s a -> s{_vviImageLinks = a})
7099+-- | A top-level summary of the panelization info in this volume.
7100+vviPanelizationSummary :: Lens' VolumeVolumeInfo (Maybe VolumeVolumeInfoPanelizationSummary)
7101+vviPanelizationSummary
7102+ = lens _vviPanelizationSummary
7103+ (\ s a -> s{_vviPanelizationSummary = a})
6994-- | The mean review rating for this volume. (min = 1.0, max = 5.0)
7105-- | The mean review rating for this volume. (min = 1.0, max = 5.0)
6995vviAverageRating :: Lens' VolumeVolumeInfo (Maybe Double)
7106vviAverageRating :: Lens' VolumeVolumeInfo (Maybe Double)
6996vviAverageRating
7107vviAverageRating
@@ -7154,8 +7265,10 @@ instance FromJSON VolumeVolumeInfo where
7154 = withObject "VolumeVolumeInfo"
7265 = withObject "VolumeVolumeInfo"
7156 VolumeVolumeInfo' <$>
7267 VolumeVolumeInfo' <$>
7268+ (o .:? "imageLinks") <*>
7269+ (o .:? "panelizationSummary")
7157− (o .:? "imageLinks") <*> (o .:? "averageRating") <*>
7270+ <*> (o .:? "averageRating")
7158− (o .:? "ratingsCount")
7271+ <*> (o .:? "ratingsCount")
7159 <*> (o .:? "canonicalVolumeLink")
7272 <*> (o .:? "canonicalVolumeLink")
7160 <*> (o .:? "readingModes")
7273 <*> (o .:? "readingModes")
7161 <*> (o .:? "industryIdentifiers" .!= mempty)
7274 <*> (o .:? "industryIdentifiers" .!= mempty)
@@ -7185,6 +7298,8 @@ instance ToJSON VolumeVolumeInfo where
7185 = object
7298 = object
7186 (catMaybes
7299 (catMaybes
7187 [("imageLinks" .=) <$> _vviImageLinks,
7300 [("imageLinks" .=) <$> _vviImageLinks,
7301+ ("panelizationSummary" .=) <$>
7302+ _vviPanelizationSummary,
7188 ("averageRating" .=) <$> _vviAverageRating,
7303 ("averageRating" .=) <$> _vviAverageRating,
7189 ("ratingsCount" .=) <$> _vviRatingsCount,
7304 ("ratingsCount" .=) <$> _vviRatingsCount,
7190 ("canonicalVolumeLink" .=) <$>
7305 ("canonicalVolumeLink" .=) <$>
@@ -7455,6 +7570,44 @@ instance ToJSON VolumeUserInfoFamilySharing where
7455 ("isSharingDisabledByFop" .=) <$>
7570 ("isSharingDisabledByFop" .=) <$>
7456 _vuifsIsSharingDisabledByFop])
7571 _vuifsIsSharingDisabledByFop])
7574+-- /See:/ 'userSettingsNotificationMoreFromSeries' smart constructor.
7575+newtype UserSettingsNotificationMoreFromSeries = UserSettingsNotificationMoreFromSeries'
7576+ { _usnmfsOptedState :: Maybe Text
7577+ } deriving (Eq,Show,Data,Typeable,Generic)
7579+-- | Creates a value of 'UserSettingsNotificationMoreFromSeries' with the minimum fields required to make a request.
7581+-- Use one of the following lenses to modify other fields as desired:
7583+-- * 'usnmfsOptedState'
7584+userSettingsNotificationMoreFromSeries
7585+ :: UserSettingsNotificationMoreFromSeries
7586+userSettingsNotificationMoreFromSeries =
7587+ UserSettingsNotificationMoreFromSeries'
7588+ { _usnmfsOptedState = Nothing
7591+usnmfsOptedState :: Lens' UserSettingsNotificationMoreFromSeries (Maybe Text)
7593+ = lens _usnmfsOptedState
7594+ (\ s a -> s{_usnmfsOptedState = a})
7597+ UserSettingsNotificationMoreFromSeries where
7599+ = withObject "UserSettingsNotificationMoreFromSeries"
7601+ UserSettingsNotificationMoreFromSeries' <$>
7602+ (o .:? "opted_state"))
7605+ UserSettingsNotificationMoreFromSeries where
7606+ toJSON UserSettingsNotificationMoreFromSeries'{..}
7609+ [("opted_state" .=) <$> _usnmfsOptedState])
7459-- /See:/ 'volumeVolumeInfoIndustryIdentifiersItem' smart constructor.
7612-- /See:/ 'volumeVolumeInfoIndustryIdentifiersItem' smart constructor.
7460data VolumeVolumeInfoIndustryIdentifiersItem = VolumeVolumeInfoIndustryIdentifiersItem'
7613data VolumeVolumeInfoIndustryIdentifiersItem = VolumeVolumeInfoIndustryIdentifiersItem'